1.1 KiB
1.1 KiB
Test evidence — 2026-08-23 event-study gate
Automated
PYTHONPATH=backend .venv/bin/python -W error -m unittest discover -s backend/tests -v
Ran 30 tests ... OK
npm run build
Vite build completed successfully.
Live readiness
GET /api/v1/backtest/tourism?min_events=12
HTTP 409
status=blocked
available_events=1
required_events=12
price_series_required=true
The 409 is intentional: the API refuses to produce an event study with one independent vintage.
Engine fixture
The pure event-study fixture verified one-session window returns, weighted long/short portfolio aggregation, benchmark comparison, turnover cost deduction, hit rate, and missing-price rejection.
Frontend served verification
The frontend build and served /src/App.vue contained the readiness loader and Backtest gate KPI. Browser screenshot capture remains unavailable because the Chrome remote-debugging permission prompt has not been approved.
Independent review
passed: true
security_concerns: []
logic_errors: []
Non-blocking backlog: add API boundary cases for zero/negative min_events and multi-vintage benchmark/window gaps.