マークダウンファイルが正しく生成されない問題を修正

This commit is contained in:
agomizi1cm committed 2026-10-05 19:37:29 +09:00
1 parent a7cf0d33a0
commit b22d15f105
1 file changed
+1 -1
+1 -1
View File
@@ -329,7 +329,7 @@ def build_markdown(records: list[dict[str, object]], conditions: list[dict[str,
lines += ["", f"全距離で共通に使う保守的な値: θ_th = {max(t['theta_th_deg'] for t in thresholds.values()):.2f}°"]
lines += [f"- {w}" for w in warn]
lines += ["", "## 条件別の結果", "",
"| 距離[m] | pitch | 真値[°] | 試行 | frames | bias | SD(試行間) | SD(試行内) | SD(全体) | RMSE | 95%|誤差| | 検出率 | θ超過率 |",
"| 距離[m] | pitch | 真値[°] | 試行 | frames | bias | SD(試行間) | SD(試行内) | SD(全体) | RMSE | 95%誤差 | 検出率 | θ超過率 |",
"|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|"]
for c in conditions:
lines.append(f"| {float(c['distance_m']):g} | {float(c['pitch_deg']):+g} | {float(c['true_yaw_deg']):+g} | " # type: ignore[arg-type]