Create a standardized evaluation result dictionary.
(index, testpoint, prompt, img_path, output_text, result_json=None)
| 259 | |
| 260 | |
| 261 | def 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 | # ============================================================ |
no outgoing calls
no test coverage detected