Datasets:
Add Chinese-SG rerun correction results
#2
by molleyang - opened
Files changed (24)
- chinese_sg_rerun_correction/README.mdAdded+55
- chinese_sg_rerun_correction/case_audit/README.mdAdded+8
- chinese_sg_rerun_correction/case_audit/case_index.csvAdded+7
- chinese_sg_rerun_correction/case_audit/chinese_long_label_or_document_style_failure__csg_campus_student_affairs_001_td_slash_enumeration_v00.mdAdded+95
- chinese_sg_rerun_correction/case_audit/direct_nonempty_but_render_fail__csg_campus_student_affairs_001_td_combined_hard_v00.mdAdded+95
- chinese_sg_rerun_correction/case_audit/direct_render_fail_but_repair_success__csg_campus_student_affairs_001_td_combined_hard_v00.mdAdded+95
- chinese_sg_rerun_correction/case_audit/graph_first_positive__csg_campus_student_affairs_001_td_slash_enumeration_v00.mdAdded+95
- chinese_sg_rerun_correction/case_audit/graph_first_residual_failure__csg_campus_student_affairs_001_td_combined_hard_v00.mdAdded+95
- chinese_sg_rerun_correction/case_audit/repair_success_but_path_wrong__csg_campus_student_affairs_001_td_combined_hard_v00.mdAdded+95
- chinese_sg_rerun_correction/chinese_sg_direct_rerun_report.jsonAdded+14
- chinese_sg_rerun_correction/chinese_sg_direct_rerun_report.mdAdded+14
- chinese_sg_rerun_correction/chinese_sg_graph_first_rerun_report.jsonAdded+13
- chinese_sg_rerun_correction/chinese_sg_graph_first_rerun_report.mdAdded+13
- chinese_sg_rerun_correction/chinese_sg_label_risk_eval_rerun.csvAdded+8
- chinese_sg_rerun_correction/chinese_sg_label_risk_eval_rerun.mdAdded+16
- chinese_sg_rerun_correction/chinese_sg_repair_rerun_report.jsonAdded+8
- chinese_sg_rerun_correction/chinese_sg_repair_rerun_report.mdAdded+8
- chinese_sg_rerun_correction/chinese_sg_rerun_audit.mdAdded+15
- chinese_sg_rerun_correction/chinese_sg_rerun_overall_results.jsonAdded+56
- chinese_sg_rerun_correction/chinese_sg_rerun_overall_results.mdAdded+7
- chinese_sg_rerun_correction/corrected_overall_results.jsonAdded+56
- chinese_sg_rerun_correction/corrected_overall_results.mdAdded+7
- chinese_sg_rerun_correction/full_result_audit_corrected_with_chinese_sg_rerun.mdAdded+32
- chinese_sg_rerun_correction/repair_empty_input_patch_report.mdAdded+23
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455# CFlowBench-v1 Chinese-SG Rerun Correction
This artifact package documents a local correction pass for the `chinese_source_grounded` family in frozen `CFlowBench-v1`.
## What Was Wrong Before
- The original `full_results_idfix` run produced invalid near-zero Chinese-SG structure scores.- Later audit showed this was not a genuine model-wide failure on Chinese-SG.- The earlier failure mixed run-level failure, repair masking on empty direct outputs, and remote image-asset failure for graph-first.
## What This Correction Contains
- patched repair behavior: empty input no longer becomes bare `flowchart TD`- Chinese-SG-only rerun for `direct_mermaid` and `graph_first`- regenerated `direct_mermaid+repair` from the corrected direct outputs- corrected Chinese-SG family metrics- corrected full audit that preserves old `compiler_stress` and `real_diagnostic` but replaces invalid Chinese-SG results
## Important Scope Note
- This is a targeted correction artifact.- It does not rerun the entire frozen benchmark.- It should be read as: `old compiler_stress + old real_diagnostic + rerun Chinese-SG`.
## Main Corrected Chinese-SG Results
- direct_mermaid: render=0.7963, node=0.7607, edge=0.4414, path=0.3002, reach=0.5528- direct_mermaid+repair: render=0.9938, node=0.7599, edge=0.4414, path=0.3002, reach=0.5527- graph_first: render=1.0, node=0.8574, edge=0.6440, path=0.4965, reach=0.7228
## Corrected Overall Results
- direct_mermaid: render=0.7829, node=0.8342, edge=0.5945, path=0.5159, reach=0.7028- direct_mermaid+repair: render=0.9979, node=0.8307, edge=0.5915, path=0.5150, reach=0.7019- graph_first: render=1.0, node=0.9281, edge=0.7890, path=0.7210, reach=0.8703
## Files
- `chinese_sg_rerun_audit.md`- `chinese_sg_rerun_overall_results.json` / `.md`- `chinese_sg_direct_rerun_report.json` / `.md`- `chinese_sg_repair_rerun_report.json` / `.md`- `chinese_sg_graph_first_rerun_report.json` / `.md`- `chinese_sg_label_risk_eval_rerun.csv` / `.md`- `repair_empty_input_patch_report.md`- `corrected_overall_results.json` / `.md`- `full_result_audit_corrected_with_chinese_sg_rerun.md`- `case_audit/`
## Provenance Note
- uploaded_from: local FlowGen workspace- upload_scope: Chinese-SG local rerun correction only- replaces_invalid_result: previous Chinese-SG family entries in old `full_results_idfix`- does_not_replace: original compiler_stress / real_diagnostic full results12345678# Chinese-SG Case Audit
- `direct_nonempty_but_render_fail`: `csg_campus_student_affairs_001_td_combined_hard_v00` -> `/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/direct_nonempty_but_render_fail__csg_campus_student_affairs_001_td_combined_hard_v00.md`- `direct_render_fail_but_repair_success`: `csg_campus_student_affairs_001_td_combined_hard_v00` -> `/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/direct_render_fail_but_repair_success__csg_campus_student_affairs_001_td_combined_hard_v00.md`- `repair_success_but_path_wrong`: `csg_campus_student_affairs_001_td_combined_hard_v00` -> `/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/repair_success_but_path_wrong__csg_campus_student_affairs_001_td_combined_hard_v00.md`- `graph_first_positive`: `csg_campus_student_affairs_001_td_slash_enumeration_v00` -> `/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/graph_first_positive__csg_campus_student_affairs_001_td_slash_enumeration_v00.md`- `graph_first_residual_failure`: `csg_campus_student_affairs_001_td_combined_hard_v00` -> `/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/graph_first_residual_failure__csg_campus_student_affairs_001_td_combined_hard_v00.md`- `chinese_long_label_or_document_style_failure`: `csg_campus_student_affairs_001_td_slash_enumeration_v00` -> `/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/chinese_long_label_or_document_style_failure__csg_campus_student_affairs_001_td_slash_enumeration_v00.md`1234567case_type,sample_id,status,path
direct_nonempty_but_render_fail,csg_campus_student_affairs_001_td_combined_hard_v00,selected,/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/direct_nonempty_but_render_fail__csg_campus_student_affairs_001_td_combined_hard_v00.md
direct_render_fail_but_repair_success,csg_campus_student_affairs_001_td_combined_hard_v00,selected,/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/direct_render_fail_but_repair_success__csg_campus_student_affairs_001_td_combined_hard_v00.md
repair_success_but_path_wrong,csg_campus_student_affairs_001_td_combined_hard_v00,selected,/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/repair_success_but_path_wrong__csg_campus_student_affairs_001_td_combined_hard_v00.md
graph_first_positive,csg_campus_student_affairs_001_td_slash_enumeration_v00,selected,/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/graph_first_positive__csg_campus_student_affairs_001_td_slash_enumeration_v00.md
graph_first_residual_failure,csg_campus_student_affairs_001_td_combined_hard_v00,selected,/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/graph_first_residual_failure__csg_campus_student_affairs_001_td_combined_hard_v00.md
chinese_long_label_or_document_style_failure,csg_campus_student_affairs_001_td_slash_enumeration_v00,selected,/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/case_audit/chinese_long_label_or_document_style_failure__csg_campus_student_affairs_001_td_slash_enumeration_v00.md1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495# csg_campus_student_affairs_001_td_slash_enumeration_v00
- image_path: `output/cflowbench_sg_seed_verified_v0_1/images/csg_campus_student_affairs_001_td_slash_enumeration_v00.png`- risk_tags: `{"ocr": [], "compiler": ["chinese_long_label", "document_style_label", "parentheses"], "topology": ["multi_branch"], "hierarchy": [], "visual": ["clean_render"]}`
## Gold Mermaid
```mermaidflowchart TD N1(["学生登录教务系统"]) N2["学生查询推荐课表或课程列表(线上/窗口/邮寄)"] N3["学生提交选课申请"] N4{"系统判断课程是否可选"} N5["选课成功后更新课表"] N6(["不符合条件时告知未通过"]) N1 --> N2 N2 --> N3 N3 --> N4 N4 --> |"是"| N5 N4 --> |"否"| N6```
## Diagnosis
Chinese long-label / punctuation / document-style wording remains challenging.
## Direct Mermaid
- render_success: 1.0- node_f1: 0.8333- edge_f1: 0.6- path_f1: 0.3571- reachability_f1: 0.6429- repair_status: None- prediction_status: ok
```mermaidgraph TD A([学生登录教务系统]) --> B[学生查询推荐课表或课程列表\n(线上/窗口/邮寄)] B --> C[学生提交选课申请] C --> D{系统判断课程是否可选} D -->|是| E[选课成功后更新课表] D -->|否| F([不符合条件时告知未通过])```
## Direct Mermaid + Repair
- render_success: 1.0- node_f1: 0.8333- edge_f1: 0.6- path_f1: 0.3571- reachability_f1: 0.6429- repair_status: applied- prediction_status: ok
```mermaidflowchart TD A("[学生登录教务系统]") B["学生查询推荐课表或课程列表n(线上/窗口/邮寄)"] A --> B C["学生提交选课申请"] B --> C D{"系统判断课程是否可选"} C --> D E["选课成功后更新课表"] D -->|"是"| E F("[不符合条件时告知未通过]") D -->|"否"| F```
## Graph-first
- render_success: 1.0- node_f1: 1.0- edge_f1: 1.0- path_f1: 1.0- reachability_f1: 1.0- repair_status: None- prediction_status: ok
```mermaidflowchart TD A(["学生登录教务系统"]) B["学生查询推荐课表或课程列表(线上/窗口/邮寄)"] C["学生提交选课申请"] D{"系统判断课程是否可选"} E["选课成功后更新课表"] F(["不符合条件时告知未通过"]) A --> B B --> C C --> D D --> |"是"| E D --> |"否"| F```
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495# csg_campus_student_affairs_001_td_combined_hard_v00
- image_path: `output/cflowbench_sg_seed_verified_v0_1/images/csg_campus_student_affairs_001_td_combined_hard_v00.png`- risk_tags: `{"ocr": [], "compiler": ["chinese_long_label", "document_style_label", "parentheses"], "topology": ["multi_branch"], "hierarchy": [], "visual": ["clean_render"]}`
## Gold Mermaid
```mermaidflowchart TD N1(["学生登录教务系统"]) N2["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] N3["学生提交选课申请(材料数量 >= 2)"] N4{"系统判断课程是否可选<br/>补充核验材料"} N5["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] N6(["不符合条件时告知未通过"]) N1 --> N2 N2 --> N3 N3 --> N4 N4 --> |"是"| N5 N4 --> |"否"| N6```
## Diagnosis
Direct output is non-empty but still fails Mermaid render.
## Direct Mermaid
- render_success: 0.0- node_f1: 0.6667- edge_f1: 0.2222- path_f1: 0.0833- reachability_f1: 0.25- repair_status: None- prediction_status: ok
```mermaidgraph TD A([学生登录教务系统]) --> B[学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)] B --> C[学生提交选课申请(材料数量 ›= 2)] C --> D{系统判断课程是否可选‹br/>补充核验材料} D -->|是| E[选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录] D -->|否| F([不符合条件时告知未通过)]```
## Direct Mermaid + Repair
- render_success: 1.0- node_f1: 0.5- edge_f1: 0.2- path_f1: 0.0714- reachability_f1: 0.2143- repair_status: applied- prediction_status: ok
```mermaidflowchart TD A("[学生登录教务系统]") B["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] A --> B C["学生提交选课申请(材料数量 ›= 2)"] B --> C D{"系统判断课程是否可选‹br/>补充核验材料"} C --> D E["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] D -->|"是"| E R_1638d63925["F([不符合条件时告知未通过)]"] D -->|"否"| R_1638d63925```
## Graph-first
- render_success: 1.0- node_f1: 0.8333- edge_f1: 0.6- path_f1: 0.3571- reachability_f1: 0.6429- repair_status: None- prediction_status: ok
```mermaidflowchart TD A(["学生登录教务系统"]) B["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] C["学生提交选课申请(材料数量 >= 2)"] D{"系统判断课程是否可选 补充核验材料"} E["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] F(["不符合条件时告知未通过"]) A --> B B --> C C --> D D --> |"是"| E D --> |"否"| F```
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495# csg_campus_student_affairs_001_td_combined_hard_v00
- image_path: `output/cflowbench_sg_seed_verified_v0_1/images/csg_campus_student_affairs_001_td_combined_hard_v00.png`- risk_tags: `{"ocr": [], "compiler": ["chinese_long_label", "document_style_label", "parentheses"], "topology": ["multi_branch"], "hierarchy": [], "visual": ["clean_render"]}`
## Gold Mermaid
```mermaidflowchart TD N1(["学生登录教务系统"]) N2["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] N3["学生提交选课申请(材料数量 >= 2)"] N4{"系统判断课程是否可选<br/>补充核验材料"} N5["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] N6(["不符合条件时告知未通过"]) N1 --> N2 N2 --> N3 N3 --> N4 N4 --> |"是"| N5 N4 --> |"否"| N6```
## Diagnosis
Repair restores renderability after direct failure.
## Direct Mermaid
- render_success: 0.0- node_f1: 0.6667- edge_f1: 0.2222- path_f1: 0.0833- reachability_f1: 0.25- repair_status: None- prediction_status: ok
```mermaidgraph TD A([学生登录教务系统]) --> B[学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)] B --> C[学生提交选课申请(材料数量 ›= 2)] C --> D{系统判断课程是否可选‹br/>补充核验材料} D -->|是| E[选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录] D -->|否| F([不符合条件时告知未通过)]```
## Direct Mermaid + Repair
- render_success: 1.0- node_f1: 0.5- edge_f1: 0.2- path_f1: 0.0714- reachability_f1: 0.2143- repair_status: applied- prediction_status: ok
```mermaidflowchart TD A("[学生登录教务系统]") B["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] A --> B C["学生提交选课申请(材料数量 ›= 2)"] B --> C D{"系统判断课程是否可选‹br/>补充核验材料"} C --> D E["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] D -->|"是"| E R_1638d63925["F([不符合条件时告知未通过)]"] D -->|"否"| R_1638d63925```
## Graph-first
- render_success: 1.0- node_f1: 0.8333- edge_f1: 0.6- path_f1: 0.3571- reachability_f1: 0.6429- repair_status: None- prediction_status: ok
```mermaidflowchart TD A(["学生登录教务系统"]) B["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] C["学生提交选课申请(材料数量 >= 2)"] D{"系统判断课程是否可选 补充核验材料"} E["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] F(["不符合条件时告知未通过"]) A --> B B --> C C --> D D --> |"是"| E D --> |"否"| F```
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495# csg_campus_student_affairs_001_td_slash_enumeration_v00
- image_path: `output/cflowbench_sg_seed_verified_v0_1/images/csg_campus_student_affairs_001_td_slash_enumeration_v00.png`- risk_tags: `{"ocr": [], "compiler": ["chinese_long_label", "document_style_label", "parentheses"], "topology": ["multi_branch"], "hierarchy": [], "visual": ["clean_render"]}`
## Gold Mermaid
```mermaidflowchart TD N1(["学生登录教务系统"]) N2["学生查询推荐课表或课程列表(线上/窗口/邮寄)"] N3["学生提交选课申请"] N4{"系统判断课程是否可选"} N5["选课成功后更新课表"] N6(["不符合条件时告知未通过"]) N1 --> N2 N2 --> N3 N3 --> N4 N4 --> |"是"| N5 N4 --> |"否"| N6```
## Diagnosis
Graph-first materially improves structural fidelity.
## Direct Mermaid
- render_success: 1.0- node_f1: 0.8333- edge_f1: 0.6- path_f1: 0.3571- reachability_f1: 0.6429- repair_status: None- prediction_status: ok
```mermaidgraph TD A([学生登录教务系统]) --> B[学生查询推荐课表或课程列表\n(线上/窗口/邮寄)] B --> C[学生提交选课申请] C --> D{系统判断课程是否可选} D -->|是| E[选课成功后更新课表] D -->|否| F([不符合条件时告知未通过])```
## Direct Mermaid + Repair
- render_success: 1.0- node_f1: 0.8333- edge_f1: 0.6- path_f1: 0.3571- reachability_f1: 0.6429- repair_status: applied- prediction_status: ok
```mermaidflowchart TD A("[学生登录教务系统]") B["学生查询推荐课表或课程列表n(线上/窗口/邮寄)"] A --> B C["学生提交选课申请"] B --> C D{"系统判断课程是否可选"} C --> D E["选课成功后更新课表"] D -->|"是"| E F("[不符合条件时告知未通过]") D -->|"否"| F```
## Graph-first
- render_success: 1.0- node_f1: 1.0- edge_f1: 1.0- path_f1: 1.0- reachability_f1: 1.0- repair_status: None- prediction_status: ok
```mermaidflowchart TD A(["学生登录教务系统"]) B["学生查询推荐课表或课程列表(线上/窗口/邮寄)"] C["学生提交选课申请"] D{"系统判断课程是否可选"} E["选课成功后更新课表"] F(["不符合条件时告知未通过"]) A --> B B --> C C --> D D --> |"是"| E D --> |"否"| F```
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495# csg_campus_student_affairs_001_td_combined_hard_v00
- image_path: `output/cflowbench_sg_seed_verified_v0_1/images/csg_campus_student_affairs_001_td_combined_hard_v00.png`- risk_tags: `{"ocr": [], "compiler": ["chinese_long_label", "document_style_label", "parentheses"], "topology": ["multi_branch"], "hierarchy": [], "visual": ["clean_render"]}`
## Gold Mermaid
```mermaidflowchart TD N1(["学生登录教务系统"]) N2["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] N3["学生提交选课申请(材料数量 >= 2)"] N4{"系统判断课程是否可选<br/>补充核验材料"} N5["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] N6(["不符合条件时告知未通过"]) N1 --> N2 N2 --> N3 N3 --> N4 N4 --> |"是"| N5 N4 --> |"否"| N6```
## Diagnosis
Graph-first still leaves residual structural errors.
## Direct Mermaid
- render_success: 0.0- node_f1: 0.6667- edge_f1: 0.2222- path_f1: 0.0833- reachability_f1: 0.25- repair_status: None- prediction_status: ok
```mermaidgraph TD A([学生登录教务系统]) --> B[学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)] B --> C[学生提交选课申请(材料数量 ›= 2)] C --> D{系统判断课程是否可选‹br/>补充核验材料} D -->|是| E[选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录] D -->|否| F([不符合条件时告知未通过)]```
## Direct Mermaid + Repair
- render_success: 1.0- node_f1: 0.5- edge_f1: 0.2- path_f1: 0.0714- reachability_f1: 0.2143- repair_status: applied- prediction_status: ok
```mermaidflowchart TD A("[学生登录教务系统]") B["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] A --> B C["学生提交选课申请(材料数量 ›= 2)"] B --> C D{"系统判断课程是否可选‹br/>补充核验材料"} C --> D E["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] D -->|"是"| E R_1638d63925["F([不符合条件时告知未通过)]"] D -->|"否"| R_1638d63925```
## Graph-first
- render_success: 1.0- node_f1: 0.8333- edge_f1: 0.6- path_f1: 0.3571- reachability_f1: 0.6429- repair_status: None- prediction_status: ok
```mermaidflowchart TD A(["学生登录教务系统"]) B["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] C["学生提交选课申请(材料数量 >= 2)"] D{"系统判断课程是否可选 补充核验材料"} E["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] F(["不符合条件时告知未通过"]) A --> B B --> C C --> D D --> |"是"| E D --> |"否"| F```
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495# csg_campus_student_affairs_001_td_combined_hard_v00
- image_path: `output/cflowbench_sg_seed_verified_v0_1/images/csg_campus_student_affairs_001_td_combined_hard_v00.png`- risk_tags: `{"ocr": [], "compiler": ["chinese_long_label", "document_style_label", "parentheses"], "topology": ["multi_branch"], "hierarchy": [], "visual": ["clean_render"]}`
## Gold Mermaid
```mermaidflowchart TD N1(["学生登录教务系统"]) N2["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] N3["学生提交选课申请(材料数量 >= 2)"] N4{"系统判断课程是否可选<br/>补充核验材料"} N5["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] N6(["不符合条件时告知未通过"]) N1 --> N2 N2 --> N3 N3 --> N4 N4 --> |"是"| N5 N4 --> |"否"| N6```
## Diagnosis
Repair fixes syntax but leaves path/topology errors.
## Direct Mermaid
- render_success: 0.0- node_f1: 0.6667- edge_f1: 0.2222- path_f1: 0.0833- reachability_f1: 0.25- repair_status: None- prediction_status: ok
```mermaidgraph TD A([学生登录教务系统]) --> B[学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)] B --> C[学生提交选课申请(材料数量 ›= 2)] C --> D{系统判断课程是否可选‹br/>补充核验材料} D -->|是| E[选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录] D -->|否| F([不符合条件时告知未通过)]```
## Direct Mermaid + Repair
- render_success: 1.0- node_f1: 0.5- edge_f1: 0.2- path_f1: 0.0714- reachability_f1: 0.2143- repair_status: applied- prediction_status: ok
```mermaidflowchart TD A("[学生登录教务系统]") B["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] A --> B C["学生提交选课申请(材料数量 ›= 2)"] B --> C D{"系统判断课程是否可选‹br/>补充核验材料"} C --> D E["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] D -->|"是"| E R_1638d63925["F([不符合条件时告知未通过)]"] D -->|"否"| R_1638d63925```
## Graph-first
- render_success: 1.0- node_f1: 0.8333- edge_f1: 0.6- path_f1: 0.3571- reachability_f1: 0.6429- repair_status: None- prediction_status: ok
```mermaidflowchart TD A(["学生登录教务系统"]) B["学生查询推荐课表或课程列表(完成率 95%)(状态 status=READY)"] C["学生提交选课申请(材料数量 >= 2)"] D{"系统判断课程是否可选 补充核验材料"} E["选课成功后更新课表,并核验申请编号、提交时间、附件清单、经办人身份信息以及办理状态记录"] F(["不符合条件时告知未通过"]) A --> B B --> C C --> D D --> |"是"| E D --> |"否"| F```
1234567891011121314{ "method": "direct_mermaid", "prediction_count": 324, "status_ok_count": 324, "status_error_count": 0, "raw_empty_count": 0, "final_empty_count": 0, "graphir_nonempty_count": 0, "nodes_empty_count": 324, "edges_empty_count": 324, "final_mermaid_bare_header_count": 0, "render_success_preliminary": 0.7963, "is_all_empty": false}1234567891011121314# Chinese-SG Direct Rerun Report
- method: direct_mermaid- prediction_count: 324- status_ok_count: 324- status_error_count: 0- raw_empty_count: 0- final_empty_count: 0- graphir_nonempty_count: 0- nodes_empty_count: 324- edges_empty_count: 324- final_mermaid_bare_header_count: 0- render_success_preliminary: 0.7963- is_all_empty: False12345678910111213{ "method": "graph_first", "prediction_count": 324, "status_ok_count": 324, "status_error_count": 0, "raw_empty_count": 0, "final_empty_count": 0, "graphir_nonempty_count": 324, "nodes_empty_count": 0, "edges_empty_count": 0, "final_mermaid_bare_header_count": 0, "render_success_preliminary": 1.0}12345678910111213# Chinese-SG Graph-first Rerun Report
- method: graph_first- prediction_count: 324- status_ok_count: 324- status_error_count: 0- raw_empty_count: 0- final_empty_count: 0- graphir_nonempty_count: 324- nodes_empty_count: 0- edges_empty_count: 0- final_mermaid_bare_header_count: 0- render_success_preliminary: 1.012345678risk_tag,sample_count,direct_mermaid_render_success,direct_mermaid_node_f1,direct_mermaid_edge_f1,direct_mermaid_path_f1,direct_mermaid_reachability_f1,direct_mermaid+repair_render_success,direct_mermaid+repair_node_f1,direct_mermaid+repair_edge_f1,direct_mermaid+repair_path_f1,direct_mermaid+repair_reachability_f1,graph_first_render_success,graph_first_node_f1,graph_first_edge_f1,graph_first_path_f1,graph_first_reachability_f1
document_style_label,324,0.7963,0.7607,0.4414,0.3002,0.5528,0.9938,0.7599,0.4414,0.3002,0.5527,1.0,0.8574,0.644,0.4965,0.7228
edge_label,0,,,,,,,,,,,,,,,
chinese_punctuation,64,0.8125,0.7257,0.4112,0.2898,0.5,1.0,0.7257,0.4112,0.2898,0.5,1.0,0.8346,0.6302,0.535,0.7022
chinese_long_label,224,0.7411,0.742,0.4211,0.2888,0.5308,0.9911,0.7411,0.421,0.2888,0.5307,1.0,0.8364,0.6088,0.4621,0.6882
parentheses,224,0.7098,0.7396,0.4179,0.2829,0.5231,0.9955,0.7387,0.4178,0.2828,0.523,1.0,0.8344,0.6075,0.4589,0.6861
quoted_form_name,54,0.8704,0.7533,0.4777,0.3648,0.5667,1.0,0.7533,0.4777,0.3648,0.5667,1.0,0.8647,0.669,0.5186,0.7408
simple_linear_flow,0,,,,,,,,,,,,,,,12345678910111213141516# Chinese-SG Label Risk Evaluation Rerun
| risk_tag | sample_count | direct_mermaid_render_success | direct_mermaid_node_f1 | direct_mermaid_edge_f1 | direct_mermaid_path_f1 | direct_mermaid_reachability_f1 | direct_mermaid+repair_render_success | direct_mermaid+repair_node_f1 | direct_mermaid+repair_edge_f1 | direct_mermaid+repair_path_f1 | direct_mermaid+repair_reachability_f1 | graph_first_render_success | graph_first_node_f1 | graph_first_edge_f1 | graph_first_path_f1 | graph_first_reachability_f1 || --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- || document_style_label | 324 | 0.7963 | 0.7607 | 0.4414 | 0.3002 | 0.5528 | 0.9938 | 0.7599 | 0.4414 | 0.3002 | 0.5527 | 1.0 | 0.8574 | 0.644 | 0.4965 | 0.7228 || edge_label | 0 | None | None | None | None | None | None | None | None | None | None | None | None | None | None | None || chinese_punctuation | 64 | 0.8125 | 0.7257 | 0.4112 | 0.2898 | 0.5 | 1.0 | 0.7257 | 0.4112 | 0.2898 | 0.5 | 1.0 | 0.8346 | 0.6302 | 0.535 | 0.7022 || chinese_long_label | 224 | 0.7411 | 0.742 | 0.4211 | 0.2888 | 0.5308 | 0.9911 | 0.7411 | 0.421 | 0.2888 | 0.5307 | 1.0 | 0.8364 | 0.6088 | 0.4621 | 0.6882 || parentheses | 224 | 0.7098 | 0.7396 | 0.4179 | 0.2829 | 0.5231 | 0.9955 | 0.7387 | 0.4178 | 0.2828 | 0.523 | 1.0 | 0.8344 | 0.6075 | 0.4589 | 0.6861 || quoted_form_name | 54 | 0.8704 | 0.7533 | 0.4777 | 0.3648 | 0.5667 | 1.0 | 0.7533 | 0.4777 | 0.3648 | 0.5667 | 1.0 | 0.8647 | 0.669 | 0.5186 | 0.7408 || simple_linear_flow | 0 | None | None | None | None | None | None | None | None | None | None | None | None | None | None | None |
## Conclusion
- This rerun should be interpreted as the corrected Chinese-SG family result after removing the earlier run-level failure and repair masking.- `chinese_source_grounded` remains a Chinese label/document-expression diagnostic split, not a headline topology-stress split.12345678{ "prediction_count": 324, "repair_failed_empty_input_count": 0, "repair_success_from_nonempty_input_count": 324, "repair_changed_count": 324, "render_success": 0.9938, "repair_render_success": 322}12345678# Chinese-SG Repair Rerun Report
- prediction_count: 324- repair_failed_empty_input_count: 0- repair_success_from_nonempty_input_count: 324- repair_changed_count: 324- render_success: 0.9938- repair_render_success: 322123456789101112131415# Chinese-SG Rerun Audit
1. old full Chinese-SG all-zero cause confirmed as run-level failure / repair masking? Yes2. repair empty-input still produces bare flowchart TD? No3. direct rerun still all-empty? No4. graph_first rerun outputs GraphIR normally? Yes5. Chinese-SG rerun can enter paper family table? Conditional6. New family metrics:- direct_mermaid: render=0.7963, node=0.7607, edge=0.4414, path=0.3002, reach=0.5528- direct_mermaid+repair: render=0.9938, node=0.7599, edge=0.4414, path=0.3002, reach=0.5527- graph_first: render=1.0, node=0.8574, edge=0.644, path=0.4965, reach=0.7228
7. Remaining issues:- Need to replace old invalid Chinese-SG entries in the frozen full audit with this rerun family result.- Compiler_stress and real_diagnostic remain from old full_results_idfix; they are not rerun here.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556[ { "method": "direct_mermaid", "sample_count": 324, "empty_prediction_count": 0, "repair_failed_empty_input_count": 0, "status_ok_count": 324, "status_error_count": 0, "render_success": 0.7962962962962963, "text_fidelity": 0.8588194084721863, "branch_label_accuracy": 0.391025641025641, "node_f1": 0.760703057230835, "edge_f1": 0.44143270101402143, "path_f1": 0.3002119978693154, "reachability_f1": 0.5527588887275722, "repair_gain": null, "salvaged_graph_f1": null, "repair_source": null }, { "method": "direct_mermaid+repair", "sample_count": 324, "empty_prediction_count": 0, "repair_failed_empty_input_count": 0, "status_ok_count": 324, "status_error_count": 0, "render_success": 0.9938271604938271, "text_fidelity": 0.8589546042092339, "branch_label_accuracy": 0.391025641025641, "node_f1": 0.759944642120568, "edge_f1": 0.4413641139083973, "path_f1": 0.30018803498303365, "reachability_f1": 0.5527253406867778, "repair_gain": -0.00022112828574181228, "salvaged_graph_f1": 0.2511203869441598, "repair_source": "direct_mermaid" }, { "method": "graph_first", "sample_count": 324, "empty_prediction_count": 0, "repair_failed_empty_input_count": 0, "status_ok_count": 324, "status_error_count": 0, "render_success": 1.0, "text_fidelity": 0.907508248736319, "branch_label_accuracy": 0.5833333333333334, "node_f1": 0.8573659175998356, "edge_f1": 0.6439651677468442, "path_f1": 0.49650416409283793, "reachability_f1": 0.7228204732753702, "repair_gain": null, "salvaged_graph_f1": null, "repair_source": null }]1234567# Chinese-SG Rerun Overall Results
| method | sample_count | empty_prediction_count | repair_failed_empty_input_count | status_ok_count | status_error_count | render_success | node_f1 | edge_f1 | path_f1 | reachability_f1 | graph_f1 || --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- || direct_mermaid | 324 | 0 | 0 | 324 | 0 | 0.7962962962962963 | 0.760703057230835 | 0.44143270101402143 | 0.3002119978693154 | 0.5527588887275722 | || direct_mermaid+repair | 324 | 0 | 0 | 324 | 0 | 0.9938271604938271 | 0.759944642120568 | 0.4413641139083973 | 0.30018803498303365 | 0.5527253406867778 | || graph_first | 324 | 0 | 0 | 324 | 0 | 1.0 | 0.8573659175998356 | 0.6439651677468442 | 0.49650416409283793 | 0.7228204732753702 | |1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556[ { "method": "direct_mermaid", "sample_count": 972, "empty_prediction_count": 0, "repair_failed_empty_input_count": 0, "status_ok_count": 324, "status_error_count": 0, "render_success": 0.7829218106995884, "text_fidelity": 0.8505368250870715, "branch_label_accuracy": 0.5514973262032086, "node_f1": 0.8342378516862979, "edge_f1": 0.5944935685690009, "path_f1": 0.5159349781181323, "reachability_f1": 0.7028350914802427, "repair_gain": null, "salvaged_graph_f1": null, "repair_source": null }, { "method": "direct_mermaid+repair", "sample_count": 972, "empty_prediction_count": 0, "repair_failed_empty_input_count": 0, "status_ok_count": 324, "status_error_count": 0, "render_success": 0.9979423868312757, "text_fidelity": 0.8489463516601784, "branch_label_accuracy": 0.5514973262032086, "node_f1": 0.8307139693043908, "edge_f1": 0.5915276159116902, "path_f1": 0.5149931506666431, "reachability_f1": 0.7018900689772491, "repair_gain": -0.002094171248425141, "salvaged_graph_f1": 0.45650507431746934, "repair_source": "direct_mermaid" }, { "method": "graph_first", "sample_count": 972, "empty_prediction_count": 0, "repair_failed_empty_input_count": 0, "status_ok_count": 324, "status_error_count": 0, "render_success": 1.0, "text_fidelity": 0.910051303450259, "branch_label_accuracy": 0.7472481113657584, "node_f1": 0.9281237018282177, "edge_f1": 0.7889890225241517, "path_f1": 0.7209859040180415, "reachability_f1": 0.8703235961788027, "repair_gain": null, "salvaged_graph_f1": null, "repair_source": null }]1234567# Corrected Overall Results
| method | sample_count | empty_prediction_count | repair_failed_empty_input_count | status_ok_count | status_error_count | render_success | node_f1 | edge_f1 | path_f1 | reachability_f1 | graph_f1 || --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- || direct_mermaid | 972 | 0 | 0 | 324 | 0 | 0.7829218106995884 | 0.8342378516862979 | 0.5944935685690009 | 0.5159349781181323 | 0.7028350914802427 | || direct_mermaid+repair | 972 | 0 | 0 | 324 | 0 | 0.9979423868312757 | 0.8307139693043908 | 0.5915276159116902 | 0.5149931506666431 | 0.7018900689772491 | || graph_first | 972 | 0 | 0 | 324 | 0 | 1.0 | 0.9281237018282177 | 0.7889890225241517 | 0.7209859040180415 | 0.8703235961788027 | |1234567891011121314151617181920212223242526272829303132# Full Result Audit Corrected With Chinese-SG Rerun
- old Chinese-SG full result was invalid due to run-level failure and repair masking.- compiler_stress and real_diagnostic are preserved from old `full_results_idfix`.- chinese_source_grounded is replaced with rerun results from `chinese_sg_rerun_idfix`.
## Corrected Family Breakdown
### compiler_stress
- direct_mermaid: render=0.7867, node=0.905, edge=0.705, path=0.6591, reach=0.8157- direct_mermaid+repair: render=1.0, node=0.8997, edge=0.7002, path=0.6576, reach=0.8142- graph_first: render=1.0, node=0.9997, edge=0.9054, path=0.877, reach=0.9905
### chinese_source_grounded
- direct_mermaid: render=0.7963, node=0.7607, edge=0.4414, path=0.3002, reach=0.5528- direct_mermaid+repair: render=0.9938, node=0.7599, edge=0.4414, path=0.3002, reach=0.5527- graph_first: render=1.0, node=0.8574, edge=0.644, path=0.4965, reach=0.7228
### real_diagnostic
- direct_mermaid: render=0.6458, node=0.4459, edge=0.2463, path=0.1824, reach=0.3047- direct_mermaid+repair: render=1.0, node=0.4459, edge=0.2463, path=0.1824, reach=0.3047- graph_first: render=1.0, node=0.5108, edge=0.3124, path=0.2856, reach=0.3634
## Corrected Overall
- corrected overall = old compiler_stress + old real_diagnostic + rerun Chinese-SG- corrected_overall_results_json: `/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/full_results_idfix/corrected_overall_results.json`- chinese_sg_rerun_audit: `/Users/yangyang/Desktop/FlowGen/output/cflowbench_v1_eval/chinese_sg_rerun_idfix/chinese_sg_rerun_audit.md`
1234567891011121314151617181920212223# Repair Empty-Input Patch Report
- patched_file: `FlowGen_Eval/repair_mermaid_predictions.py`- patched_runner_field: `FlowGen_Eval/run_flowvqa_mermaid_infer.remote.py` now writes `sample_id`- patched_evaluator: `FlowGen_Eval/evaluate_cflowdiag.py` now preserves `repair_status`, `repair_applied`, `prediction_status`, and `prediction_empty`
## New Rule
- empty string / whitespace / None -> `repair_status=failed_empty_input`, `repair_applied=false`, `repaired_prediction=""`- non-empty malformed Mermaid -> repair is allowed- non-empty already-valid Mermaid -> keep as-is with `repair_status=no_change`
## Local Test
- input `""` -> output `""`, status `failed_empty_input`- input whitespace -> output `""`, status `failed_empty_input`- input `None` -> output `""`, status `failed_empty_input`- input `flowchart TD\nA --> B` -> unchanged, status `no_change`
## Expected Evaluation Effect
- empty direct prediction will no longer be masked as bare `flowchart TD`- rerun repair metrics can now separate `repair_failed_empty_input` from true syntax repair successchinese_sg_rerun_correction/README.mdAdded+55
chinese_sg_rerun_correction/case_audit/README.mdAdded+8
chinese_sg_rerun_correction/case_audit/case_index.csvAdded+7
chinese_sg_rerun_correction/case_audit/chinese_long_label_or_document_style_failure__csg_campus_student_affairs_001_td_slash_enumeration_v00.mdAdded+95
chinese_sg_rerun_correction/case_audit/direct_nonempty_but_render_fail__csg_campus_student_affairs_001_td_combined_hard_v00.mdAdded+95
chinese_sg_rerun_correction/case_audit/direct_render_fail_but_repair_success__csg_campus_student_affairs_001_td_combined_hard_v00.mdAdded+95
chinese_sg_rerun_correction/case_audit/graph_first_positive__csg_campus_student_affairs_001_td_slash_enumeration_v00.mdAdded+95
chinese_sg_rerun_correction/case_audit/graph_first_residual_failure__csg_campus_student_affairs_001_td_combined_hard_v00.mdAdded+95
chinese_sg_rerun_correction/case_audit/repair_success_but_path_wrong__csg_campus_student_affairs_001_td_combined_hard_v00.mdAdded+95
chinese_sg_rerun_correction/chinese_sg_direct_rerun_report.jsonAdded+14
chinese_sg_rerun_correction/chinese_sg_direct_rerun_report.mdAdded+14
chinese_sg_rerun_correction/chinese_sg_graph_first_rerun_report.jsonAdded+13
chinese_sg_rerun_correction/chinese_sg_graph_first_rerun_report.mdAdded+13
chinese_sg_rerun_correction/chinese_sg_label_risk_eval_rerun.csvAdded+8
chinese_sg_rerun_correction/chinese_sg_label_risk_eval_rerun.mdAdded+16
chinese_sg_rerun_correction/chinese_sg_repair_rerun_report.jsonAdded+8
chinese_sg_rerun_correction/chinese_sg_repair_rerun_report.mdAdded+8
chinese_sg_rerun_correction/chinese_sg_rerun_audit.mdAdded+15
chinese_sg_rerun_correction/chinese_sg_rerun_overall_results.jsonAdded+56
chinese_sg_rerun_correction/chinese_sg_rerun_overall_results.mdAdded+7
chinese_sg_rerun_correction/corrected_overall_results.jsonAdded+56
chinese_sg_rerun_correction/corrected_overall_results.mdAdded+7
chinese_sg_rerun_correction/full_result_audit_corrected_with_chinese_sg_rerun.mdAdded+32
chinese_sg_rerun_correction/repair_empty_input_patch_report.mdAdded+23