Skip to content

Commit

Permalink
Update run_task.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JackUrb authored Sep 21, 2023
1 parent c9b25c1 commit 624e79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/remote_procedure/mnist/run_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def validate_screening_unit(unit: Unit):
agent = unit.get_assigned_agent()
if agent is not None:
data = agent.state.get_data()
annotation = data["final_submission"]["annotations"][0]
annotation = data["outputs"]["final_submission"]["annotations"][0]
if annotation["isCorrect"] and annotation["currentAnnotation"] == 3:
return True
return False
Expand Down

0 comments on commit 624e79d

Please sign in to comment.