Skip to content

Commit da7a8a9

Browse files
committed
response area testing error
1 parent 44ca7f5 commit da7a8a9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

evaluation_function/evaluation.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,9 @@ def _ok() -> Result:
615615
def _err(msg: str) -> Result:
616616
return Result(is_correct=False, feedback_items=[("error", msg)])
617617

618+
619+
return _err("testing error message!!")
620+
618621
# ── parse & validate inputs ──────────────────────────────────────────
619622

620623
try:
@@ -637,8 +640,6 @@ def _err(msg: str) -> Result:
637640
f"Error: {e}"
638641
)
639642

640-
return _err(str(response))
641-
642643
# ── resolve graphs ───────────────────────────────────────────────────
643644
# student_graph (resp.graph) is always present — the student submits a graph.
644645
# ans.graph is only present for isomorphism / subgraph checks where the

0 commit comments

Comments
 (0)