refactor: 测试出力结果从runtime迁移到output,实现入力(test-data)与出力(output)分离

This commit is contained in:
hangshuo652
2026-08-29 14:33:59 +08:00
parent 7a2963d783
commit 5fe72c8ece
11 changed files with 19 additions and 13 deletions
+1 -1
View File
@@ -547,7 +547,7 @@ recs = generate_all_data(..., llm_client=llm, ...)
## 8. 目录结构
```
runtime/{program_id}/
output/{program_id}/
+-- main/
| +-- input/ <- 平面输入文件
| +-- output/ <- COBOL 输出文件
+1 -1
View File
@@ -413,7 +413,7 @@
exe_path + schema + scenario
|
v 环境准备
+-- 创建 runtime/run_{id}/main/{input,output}/ 目录
+-- 创建 output/run_{id}/main/{input,output}/ 目录
+-- 复制生成的平面文件 -> input/
+-- 复制 JSON -> json/
|
+3 -3
View File
@@ -1,9 +1,9 @@
# 出力目录规则
# 出力目录规则
## 单轮(runs: [] 或 YAML 不存在)
```text
runtime/{program_id}/
output/{program_id}/
input/KIN08R01, KIN08S01 ← COBOL 入力平面文件
json/{program_id}.json ← JSONinput/working_storage/termination
output/KIN08W01 ← COBOL 出力平面文件
@@ -13,7 +13,7 @@ runtime/{program_id}/
## 多轮(runs: 定义在 config/programs/{program_id}.yaml 中)
```text
runtime/{program_id}/
output/{program_id}/
run_{scenario_id}/
input/KIN08R01, KIN08S01 ← 該当场景の入力
json/{program_id}.json ← 該当场景の JSON
@@ -239,7 +239,7 @@ merge_strategy: merge_to_normal # 默认值
### `as_separate_scenes` 时的目录
```
runtime/{pid}/
output/{pid}/
run_normal/ ← 白盒数据(MC/DC 路径)
input/ json/ output/
run_func/ ← 机能数据(式样书驱动)