Files
nix-estimator/tests
Oleks a0852ff479 nix-estimator v0.1: DAG → node×core builder-config estimator
Reads the to-build derivation DAG from Nix (derivation show -r + --dry-run),
applies a heuristic/history build-cost model with Amdahl core-scaling, and
computes critical-path / peak-concurrency / list-scheduled makespan across a
node×core grid to recommend a remote-builder shape.

- schedule.py: pure critical-path, peak-concurrency, p-machine list scheduler
- costmodel.py: heuristic table + --history override + core re-weighting
- graph.py: DAG extraction via nix
- estimate.py/cli.py: sweep + knee recommendation + report
- tests: scheduler validated on toy DAGs (all pass)
Prior-art gap documented (Hubble, nixbuild.net) in README.
2026-07-07 19:45:25 +03:00
..