Skip to content

HTML judge - use of any_of function #5419

Discussion options

You must be logged in to vote

You can find the example exercises here: https://github.com/dodona-edu/example-exercises/tree/master/html. Your exercise is similar to https://github.com/dodona-edu/example-exercises/blob/master/html/ugent_faculty_websites/evaluation/evaluator.py.

You need to import the functions you are using from the module e.g. :

from validators.checks import HtmlSuite, CssSuite, TestSuite, ChecklistItem, at_least, all_of, any_of

Is your function any_of underlined or marked in orange (or similar)? For autocomplete you need to add the folder validators with the checks.pyi file at the root of your project in which you write the evaluators. 1

Footnotes

  1. https://github.com/dodona-edu/judge-html?tab=readme…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@heremansgeert
Comment options

Answer selected by heremansgeert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants