nasaonacid / abstractAardvark

0 stars 0 forks source link

Answer verification #9

Closed nasaonacid closed 9 years ago

nasaonacid commented 9 years ago

Verify whether the student has chosen the correct answer. Red indicates incorrect and green indicates correct.

nasaonacid commented 9 years ago

Currently implemented so turns green on the correct answer. Implementation only allows snap to on correct answer so will have to be adapted for future version.

jeremysinger commented 9 years ago

We have uncovered a new complication. If we go for instant verification, then earlier placements can change where later placements must go (either above or below) - i.e. we are gradually constraining the structure of the tree - need to represent this dynamically by some backing data structure - e.g. a list of allowable objects at each tree node ?

nasaonacid commented 9 years ago

Creation of a new backend validation which allows for a somewhat variable tree arrangement. The json object sent to the backend is reverified on every post and will check all siblings of a node to see if they are balanced. If they are the node will be verified against either if they contain the right answers.

This does affect the front end however which is only used to one node answer changing at a time. Therefore the front end needs to be redesigned to work with this new method. I have opened a new issue to deal with this #38