artdag: cost-based scheduling — critical path + makespan + speedup + 13 tests
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 56s

cost.sx: injected cost-fn keeps media costs opaque. critical-path = longest
weighted path (= unlimited-worker makespan); makespan sums each batch's slowest
node (full plan == critical path, serial == total-work); speedup = work/makespan.
cost 13/13, total 115/115.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-07 12:15:51 +00:00
parent 985dbb4c8f
commit afe69cbdc6
6 changed files with 203 additions and 6 deletions

View File

@@ -5,9 +5,10 @@
"plan": {"pass": 18, "fail": 0},
"execute": {"pass": 15, "fail": 0},
"optimize": {"pass": 18, "fail": 0},
"fed": {"pass": 15, "fail": 0}
"fed": {"pass": 15, "fail": 0},
"cost": {"pass": 13, "fail": 0}
},
"total_pass": 102,
"total_pass": 115,
"total_fail": 0,
"total": 102
"total": 115
}