MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / summarize_react_trial_detailed

Function summarize_react_trial_detailed

eval_heldout/hotpotQA/src/utils.py:116–119  ·  view source on GitHub ↗
(agents)

Source from the content-addressed store, hash-verified

114 return correct, incorrect, halted
115
116def summarize_react_trial_detailed(agents):
117 correct = [a.is_correct() for a in agents]
118 reward = [a.reward()[0] for a in agents]
119 return correct, reward
120
121def log_react_trial(agents, trial_n):
122 correct, incorrect, halted = summarize_react_trial(agents)

Callers

nothing calls this directly

Calls 2

is_correctMethod · 0.80
rewardMethod · 0.80

Tested by

no test coverage detected