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

Function summarize_react_trial

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

Source from the content-addressed store, hash-verified

108 f.write('\n')
109
110def summarize_react_trial(agents):
111 correct = [a for a in agents if a.is_correct()]
112 halted = [a for a in agents if a.is_halted()]
113 incorrect = [a for a in agents if a.is_finished() and not a.is_correct()]
114 return correct, incorrect, halted
115
116def summarize_react_trial_detailed(agents):
117 correct = [a.is_correct() for a in agents]

Callers 1

log_react_trialFunction · 0.85

Calls 3

is_correctMethod · 0.80
is_haltedMethod · 0.80
is_finishedMethod · 0.80

Tested by

no test coverage detected