Skip to content

Issue with ParserAssignment.pl #607

Description

@dlglin

There is an issue with ParserAssignment.pl when a student enters an answer for which PG can't generate enough points for comparison. This was discovered with Library/FortLewis/DiffEq/1-First-order/05-Substitution-Bernoulli/Lebl-1-5-06.pg. A MWE is attached.

Steps to reproduce:
In one of the above problems, enter an answer that is not defined on the domain (e.g. "y=sqrt(x-5)"), and click either Preview or Submit. Now enter a correct answer and click Submit. You will receive the error "The evaluated answer is not an answer hash : ||.", and the answer will be marked wrong.

It looks like this has something to do with the check for equivalence to the previously submitted answer.

ParserAssignmentMWE.pg.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions