Gate real train curve evidence

This commit is contained in:
2026-06-30 23:47:57 +08:00
parent 6b3a3d7c6d
commit f77ba2888c
4 changed files with 16 additions and 1 deletions

View File

@@ -168,6 +168,7 @@ def get_capability_matrix() -> dict[str, Any]:
all_tasks = catalog["task_types"]
buildable_tasks = _coverage_build_task_set(coverage)
runtime_by_role = _runtime_map(readiness)
real_train_curves = [item for item in curves if "real_train_acceptance" in item.get("relative_path", "")]
domains = []
for group in CAPABILITY_GROUPS:
@@ -271,6 +272,12 @@ def get_capability_matrix() -> dict[str, Any]:
"passed": len(curves) >= 1,
"detail": f"{len(curves)} curve file(s)",
},
{
"id": "real_train_curve",
"label": "真实短训 loss 曲线",
"passed": len(real_train_curves) >= 1,
"detail": f"{len(real_train_curves)} real train curve file(s)",
},
{
"id": "deep_acceptance",
"label": "深度训练验收",
@@ -310,6 +317,7 @@ def get_capability_matrix() -> dict[str, Any]:
"uploaded_datasets": len(datasets),
"artifacts": len(results),
"curves": len(curves),
"real_train_curves": len(real_train_curves),
"weights": manifest.get("count", 0),
"gpus_available": bool(gpus.get("available")),
"acceptance_passed": bool(acceptance.get("passed")),