Check Collection Equals Collection
Validates that a student's collection is exactly equal to an instructor-provided collection, optionally enforcing a specific type.
Variables:
| Variable Name | Variable Description | Type | Required? | Default |
|---|
student_collection_variable_name | The name of the student's collection variable. | str | Yes | |
instructor_collection | The collection that the student's collection should match exactly. Provide as JSON (e.g. a list) in test_cases.json. | any | Yes | |
collection_type | Optional: a Python type to enforce (e.g. 'list'). If omitted, only equality is checked. | str | No | |
Examples: