Build Evaluation Rounds CSV
Use the bundled deterministic script. Do not hand-compose the CSV.
Input modes
Choose one:
- Directory mode: one immediate subfolder per scene; each subfolder contains one JSON list per round.
- Manifest mode: one JSON manifest explicitly declaring scene order, display names, rounds, paths or inline records, and optional dimension configuration.
- Scenario YAML mode: one
scenario_instance_ids.yaml; read each listed instance'stests/rubric.json, merge identicalcase_typevalues, and generate CSV title/header blocks with optional round placeholders.
Read references/format.md when customizing a manifest, field mapping, dimension labels, or failure handling.
Workflow
- Determine the round order. In directory mode the script sorts by timestamps embedded in filenames, then by filename. Use a manifest whenever that order is ambiguous.
- Run one of:
python3 scripts/build_eval_rounds_csv.py \
--input-root "/path/to/scenes" \
--output "/path/to/result.csv"
python3 scripts/build_eval_rounds_csv.py \
--manifest "/path/to/scenes.json" \
--output "/path/to/result.csv"
python3 scripts/build_case_type_headers.py \
--scenario-yaml "/path/to/scenario_instance_ids.yaml" \
--output "/path/to/case_type_template.csv" \
--round-count 3
Add --headers-only in Scenario YAML mode to omit instance/round placeholder rows.
- Inspect the JSON summary printed by the selected script. Confirm group/scene count, task count, data-row count, column counts, round order, and abnormal rows when applicable.
- Inspect the CSV title/header for every group. In data modes, also inspect one complete instance per group and every abnormal row.
- Deliver the CSV and state the grouping rule, round order, and abnormal-row policy when applicable.
Required behavior
- Emit one title row, one group-specific header row, optional round rows per instance, then one blank separator row.
- In Directory/Manifest modes, keep each instance's round rows adjacent and sort instanceID values lexically.
- In Scenario YAML mode, group by the exact rubric
case_type, preserve case_type first-occurrence order and instance order from the YAML, and take a stable first-seen union of displayed dimension names within each case_type. Treat reused positional keys such asdim_002as separate columns when their displayed names differ. - Preserve the exact input instanceID set. Fail when round ID sets differ; never silently add, drop, or rename IDs.
- Keep the fixed 21 base columns and append only that scene/group's Layer2 dimensions.
- Use UTF-8 with BOM and quote every nonblank row field by default.
- Treat numeric zero as valid.
- When
layer2_rubric.errorexists, preserve the exact error text, retain duration/token/credit fields, set评测状态to评测异常, and leave agent/final/dimension scores blank. - Map
durationMs, tokens, credit, pass state, comments, and dimensions according to the format reference. - Do not invent initial-report or re-evaluation report IDs when the source JSON does not contain them.
Validation gates
Do not deliver unless the script exits successfully and its summary confirms:
- every scene has the same instanceID set in every round;
- every data row has the same column count as its scene header;
- every instance has exactly the expected round count;
- the output ID union equals the input ID union;
- every abnormal row retains its source error text and has blank score fields;
- deterministic sample checks pass.
For Scenario YAML mode, additionally confirm:
- every YAML instance resolves to
<benchmark-root>/<instance_id>/tests/rubric.json; - the output contains each unique
case_typeexactly once; - identical
case_typevalues are one contiguous group; - all displayed rubric dimension names in that case_type appear once in first-seen order;
- every placeholder row has the group header width and expected instance/round order.

Scan to join WeChat group