Checks provided factoring to see if it matches author’s factoring.
Actual answer should be . [Also stress testing to make sure larger number of factors isn’t an issue.]
Potential Problems and Pitfalls
The current generation of Ximera really isn’t designed to have this level of custom validation check - so the actual validator code is remarkably hacky and intensely exploits how the data was saved in the backend of the javascript libraries at the time I wrote the validator. The current generation of this validator is fairly robust, but future patches to underlying systems may break it. Currently, as long as numeric exponents are actually simplified (e.g. students write an exponent as 2 instead of 1+1) things seem to work pretty much as expected (including correctly handling negative signs, simplified exponents, and fractions). Some irrational and weird numbers might cause issues, but that is more to do with needing to figure out how numbers in weird formats might be submitted or encoded and I don’t have enough data for that yet.