Level definitions for maths questions

From now on every generated question has a level. The level number is based on the school year, so GCSE questions are between 10 and 12. For flexibility it will be a real number, so decimals are allowed. If the question can be done at the beginning of year 10, then it is 10.0. If only by the end of year 10 then it would be 10.9 or higher. It is identified by the level parameter on questionm.

AS questions are from 12-13, and A2 is 13-14.

What about further maths, how does that fit in? And iGCSE?

Level is confusing: there is a difference between syllabus, things you just haven't been taught yet, and difficulty.

There also needs to be a "level of uniqueness". Some questions are good but not generated, and only have one instance. instances is a numeric parameter which approximates how many meaningful variations of the question there are. Any question which is not generated at all has instances=1. It is the weight that the question gets when selecting questions at random. In addition, if instances is 1 then it will not be possible to choose the same question in the same exercise or session.

There is also a calculator value of Y or N.