3 Commits

Author SHA1 Message Date
Rocky
fed9f78e8e fix(mlsysim): correct unit conversion in calc_monthly_egress_cost (#1597)
The function multiplied monthly_bytes (in bytes) by cost_per_gb as a
raw number, producing a result ~1e9x too large (e.g., $1.87T instead
of $233 for 1 MB/s at $0.09/GB). The fix converts cost_per_gb to
dollar/byte before multiplying so units cancel correctly.

Also adds tests for calc_monthly_egress_cost, calc_fleet_tco, and
calc_mtbf_node, which had no test coverage.
2026-04-29 10:13:42 -04:00
Vijay Janapa Reddi
1eb30f5f86 fix(mlsysim): harden release QA and paper artifacts
Align the MLSys·im code, docs, paper, website, workflows, and lab wheel for the 0.1.1 release. This also fixes runtime/API issues found during release review and prepares the paper PDF plus archive package.
2026-04-25 10:06:01 -04:00
Vijay Janapa Reddi
2ac654aadc feat(mlsysim): add tests, validation, changelog for v0.1.0 release
Add 68 new tests (test_formulas.py, test_walls.py, test_pipeline.py)
covering all canonical formulas with known-answer validation, wall
taxonomy completeness, and pipeline composition. Add input validation
module (_validation.py), py.typed marker, and CHANGELOG.md.
2026-04-01 16:34:42 -04:00