MCPcopy Create free account
hub / github.com/CodeGoat24/UniGenBench / make_result

Function make_result

eval/src/eval_common.py:261–270  ·  view source on GitHub ↗

Create a standardized evaluation result dictionary.

(index, testpoint, prompt, img_path, output_text, result_json=None)

Source from the content-addressed store, hash-verified

259
260
261def make_result(index, testpoint, prompt, img_path, output_text, result_json=None):
262 """Create a standardized evaluation result dictionary."""
263 return {
264 "index": index,
265 "testpoint": testpoint,
266 "prompt": prompt,
267 "img_path": img_path,
268 "output": output_text,
269 "result_json": result_json,
270 }
271
272
273# ============================================================

Callers 2

call_evaluation_geminiFunction · 0.85
call_evaluation_vllmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected