RunestoneInteractive / rs

A New Monorepo structure for Runestone
Other
40 stars 66 forks source link

Updates to support FITB/math problems #520

Closed dbrianwalton closed 1 month ago

dbrianwalton commented 2 months ago

The authored feedback for fillin problems doubles as text for the automatically-generated solution in PreTeXt sources. That feedback does not necessarily have enough context clues to indicate if an answer was correct or not (in the case of multiple blanks), so the addition of a checkmark when correct and and "x" when incorrect should improve visual clues of correctness. The characters match what is used for multiple choice feedback.

The btm-expressions version update facilitates improved automatic simplification of expressions that are used for formulas that are derived from authored formulas so that they can appear cleaner when appearing in solutions.

(Note: I don't know if there is a better way for the btm-expressions library to update. The choice of including it as a Runestone dependency was so that problems always have the resources if the Runestone Component itself loads. But then incremental improvements to the underlying library require an update of package.json without any corresponding actual change to the components. Let me know if we should transition to a different mode.)

dbrianwalton commented 2 months ago

Saw a math reduction that wasn't working so I'll need to make another change to the btm-expressions library before this goes up. Shouldn't be long.

dbrianwalton commented 2 months ago

Okay. The additional case that I'd missed is now included. Should be ready to go.