Task #94: BCTC consistency check + Dashboard forecast loading fix - #77
Open
thanhhale288 wants to merge 3 commits into
Open
Task #94: BCTC consistency check + Dashboard forecast loading fix#77thanhhale288 wants to merge 3 commits into
thanhhale288 wants to merge 3 commits into
Conversation
…s and cleanup audit. - Retrain LightGBM from main checkout: MAPE 8.95 (artifact_path now data/models/, not stale worktree). - Regenerate ml_monitoring_baseline.json: all 4 models present (arima 31.72 / xgboost 6.80 / lightgbm 8.95 / lstm 10.09). Drift no longer null for lightgbm. - Add lightgbm_importance.json produced by retrain. - Commit .scratch/handoff-wave1..4.md (previously untracked batch wave reports). - Add epic5-survey-fixables.md audit report (Epic 5 gaps + future directions). - Restore shop_matcher.joblib to committed state (binary drifted from eval run, not a real retrain). - Remove 20 stale worktrees (t66–t81, t95, task54-55-ci-fix, task64-handoff, new-design-system); all branches merged to main. Co-authored-by: Cursor <cursoragent@cursor.com>
Capture a stable backend startup command with thread-safe defaults and include a debug script that isolates ML/runtime crash points step-by-step. Co-authored-by: Cursor <cursoragent@cursor.com>
Render core dashboard data as soon as summary and macro APIs return, and fetch forecast in the background so a slow or hung ML endpoint no longer blocks the whole page. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/run_backend.shandscripts/debug_segfault.pyto reproduce backend startup and isolate segfault points during local fullstack debugging.Test plan
./scripts/run_backend.shstarts backend on :8000 without segfault when opening Dashboardhttp://localhost:5173— Dashboard renders summary/IIP/VA without waiting for forecastPYTHONPATH=. pytest tests/benchmark/test_bctc_consistency.py -qPYTHONPATH=. pytest tests/benchmark/test_docai_extract_smoke.py -qMade with Cursor