Skip to content

Commit

Permalink
ExpResult.status minor fix (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
recursix authored Oct 30, 2024
1 parent 7b8abd3 commit c4f8a95
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion browsergym/experiments/src/browsergym/experiments/loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,11 @@ def status(self):

if summary_info.get("err_msg", None) is not None:
return "error"
return "done"

if summary_info.get("terminated", False) or summary_info.get("truncated", False):
return "done"

return "incomplete"


EXP_RESULT_CACHE = {}
Expand Down

0 comments on commit c4f8a95

Please sign in to comment.