Contains evaluator to grade chemistry answers

Updated 30 Aug 2024

Use the Contains answer evaluator (expressionOchemEvalContains) to check whether a student’s answer includes a molecule fragment or substructure of an authored molecule.

  • The Contains evaluator does NOT check entire molecules. For full structures, use the Is evaluator.
  • For best results, include only one or two substructures per evaluator. Adding too many substructures negates the benefit of the Contains evaluator.
  • Both skeletal and mechanism questions support the Contains evaluator.

  1. Select Grade as Correct or Grade as Incorrect, then enter the conditions you want to be checked in student answers.
  2. Select an “if” condition option.
  3. Select a “contains” option.
    • substructure
      Any subset of contiguous atoms connected by bonds in the student’s answer is compared to the compound in this evaluator. Some of the connected atoms in the student’s answer, not necessarily all of them, can match the compound in this evaluator.
    • skeleton
      All of the contiguous atoms connected by bonds (complete molecule) in the student’s answer are compared to the compound in this evaluator.
  4. Select a condition for “with charge, radical or isotope state”.

    matching exactly
    The student’s answer matches this evaluator.

    ignored
    The charge, radical, and isotope states of the student’s answer may or may not match this evaluator.

    in author’s structure present in the response
    Some part of the student’s answer matches the answer in this evaluator.

  5. Either draw or copy and paste a molecule fragment or substructure. For instruction, see How to add a molecule/compound for comparison.

 

See also: