26 lines
1019 B
Python
26 lines
1019 B
Python
from pathlib import Path
|
|
|
|
|
|
REPORT = Path("reports/night-shift-prediction-2026-04-12.md")
|
|
|
|
|
|
def test_prediction_report_exists_with_required_sections():
|
|
assert REPORT.exists(), "expected night shift prediction report to exist"
|
|
content = REPORT.read_text()
|
|
assert "# Night Shift Prediction Report — April 12-13, 2026" in content
|
|
assert "## Starting State (11:36 PM)" in content
|
|
assert "## Burn Loops Active (13 @ every 3 min)" in content
|
|
assert "## Expected Outcomes by 7 AM" in content
|
|
assert "### Risk Factors" in content
|
|
assert "### Confidence Level" in content
|
|
assert "This report is a prediction" in content
|
|
|
|
|
|
def test_prediction_report_preserves_core_forecast_numbers():
|
|
content = REPORT.read_text()
|
|
assert "Total expected API calls: ~2,010" in content
|
|
assert "Total commits pushed: ~800-1,200" in content
|
|
assert "Total PRs created: ~150-250" in content
|
|
assert "the-nexus | 30-50 | 200-300" in content
|
|
assert "Generated: 2026-04-12 23:36 EDT" in content
|