Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pedal-edu/pedal
Browse files Browse the repository at this point in the history
  • Loading branch information
acbart committed Mar 21, 2024
2 parents efa4e10 + ee6cdb8 commit 54f074a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docsrc/developers/ffs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ actually be activated.
category=Feedback.CATEGORIES.SPECIFICATION
def condition(self):
return "+" in self.report.submission.main_code
return find_matches("___ + ___")
# Then, in your instructor control script, you can just call:
addition_error()
Expand All @@ -152,7 +152,7 @@ non-default keyword arguments will be passed to the ``condition`` method.
category=Feedback.CATEGORIES.SPECIFICATION
def condition(self, operator):
return operator in self.report.submission.main_code
return find_matches(f"___{operator}___")
# Then, in your instructor control script, you can just call:
addition_error("+")
Expand Down

0 comments on commit 54f074a

Please sign in to comment.