Skip to content

Draft: Overuse pages

Colin Macdonald requested to merge overuse into main

We designed some fancy stuff in #2092 (closed), but don't really need any of that.

I'm playing with this spec:


name = "pete"
longName = "Pete the repeat"

numberOfVersions = 2
numberOfPages = 6
numberToProduce = 30
idPage = 1  # must be exactly 1 page
doNotMarkPages = [2] # can be an empty list or omitted

[[question]]
pages = [3]
mark = 1
label = "Q1a"

[[question]]
pages = [3]
mark = 1
label = "Q1b"

[[question]]
pages = [3]
mark = 1
label = "Q1c"

[[question]]
pages = [3]
mark = 2
label = "Q2"

[[question]]
label = "Q3"
pages = [4]
mark = 5

[[question]]
label = "Q4"
pages = [5, 6]
mark = 10

So far you'd have to use a custom version map for this to DTRT (which I think it does in that case but have not fully tested). But that might be a pretty easy fix (making a smarter vmap generator).

Todo:

  • tell people they can do this but must make their own version map.
  • test this
  • improve the version map generate to be smart in the presense of overlapping pages...

Merge request reports