Skip to content

Commit

Permalink
ExpResult.status minor fix (ServiceNow#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
recursix authored and qipeng committed Nov 20, 2024
1 parent f2ed035 commit e7c8e1b
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 e7c8e1b

Please sign in to comment.