Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create summary tables to examine the comparison methods in AssessmentFunction
ResourceFunction["AssessmentFunctionComparisonTable"][answerkey,{ans1,…},{compmeth1,compmeth2,…}] creates a summary table showing the whether each of the ansi would be considered correct answers in AssessmentFunction for each of the specified comparison methods. |
Compare "ArithmeticResult" and "PolynomialResult" comparison methods when distribution is performed:
| In[1]:= | ![]() |
| Out[1]= | ![]() |
Compare "CodeEquivalence" with "HeldExpression " for a coding problem:
| In[2]:= |
| Out[2]= | ![]() |
Compare "ArithmeticResult" and "CalculusResult" when addition is performed:
| In[3]:= |
| Out[3]= | ![]() |
Compare "AlgebraicForm" and "ExponentiationResult" when square roots are is distributed:
| In[4]:= | ![]() |
| Out[4]= | ![]() |
Compare several methods and possible answers for algebraic expressions:
| In[5]:= | ![]() |
| Out[5]= | ![]() |
Compare two mathematical comparison methods, with "HeldExpression" which is not math based:
| In[6]:= | ![]() |
| Out[6]= | ![]() |
Add a customization. The customized method is annotated with a * in the table. Hover over the method to see the full specification:
| In[7]:= |
| Out[7]= | ![]() |
Use a custom comparator function:
| In[8]:= | ![]() |
| Out[8]= | ![]() |
"Expression" supports patterns including Blank:
| In[9]:= |
| Out[9]= | ![]() |
"CodeEquivalence" treats undefined global symbols as equivalent:
| In[10]:= |
| Out[10]= | ![]() |
Use a "Quantity" comparison for physical quantities. The default Tolerance of zero is applied:
| In[11]:= | ![]() |
| Out[11]= | ![]() |
Wolfram Language 14.0 (January 2024) or above
This work is licensed under a Creative Commons Attribution 4.0 International License