Continuous enhancement: market-relative quantamental resilience - #10
Draft
ryun6249 wants to merge 1 commit into
Draft
Conversation
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.
Continuous Enhancement Report
1. Current Status
2. Changes Made
Compatibility
market_resilienceas an additive Quantamental score key only.Data Consistency
market_relative_resilience_v1using existing aligned asset/benchmark returns, beta/correlation, volatility, drawdown, and liquidity vectors.used_in_composite_score=false.SCORE_SCREEN_REGISTRYfor centralized score-screen label/row/algorithm metadata.UI/UX
Market Resilience/?? ???to the Score Threshold Screener while preserving existing options.Visualization
AI Briefing
quant_snapshotand deterministic fallbackkey_changes.market_resilience_algorithm.Translation
Performance
Tests / Validation
3. Changed Files
pipelines/quantamental/quant_engine.pymarket_relative_resilience_v1algorithm and component scorepipelines/quantamental/service.pypipelines/quantamental/ai_service.pycore/schemas/quantamental.pymarket_resiliencescore keyapp/web/index.htmlapp/web/app.jsapp/web/modules/quantamental-ui.jsscripts/check_ui_contract.pyscripts/quantamental_ui_smoke.pyscripts/ai_portfolio_ui_smoke.pytests/test_quantamental_api.pytests/test_quantamental_engines.pytests/test_ui_modules.pytests/test_ui_routing_contract.pydocs/CONTINUOUS_ENHANCEMENT_LOG.md4. Validation Results
python -m ruff check ...changed Python/test surfaces...node --check app/web/modules/quantamental-ui.js;node --check app/web/app.jspython -m pytest tests/test_quantamental_engines.py tests/test_quantamental_api.py tests/test_ui_modules.py tests/test_ui_routing_contract.py -q84 passed, 4 subtests passedpython -m pytest -q696 passed, 9 subtests passedhttp://127.0.0.1:8414/ui/?range=1Y#quantamental841469.54; Market Resilience screen returned rowskey_changesincludesmarket_relative_resilience_v1; no LLM-only claimspython scripts/quantamental_ui_smoke.py --base-url http://127.0.0.1:8414 --output reports/quantamental_ui_smoke_continuous_20260519_1802.jsonpython scripts/ai_portfolio_ui_smoke.py --base-url http://127.0.0.1:8414 --timeout-s 240 --output reports/ai_portfolio_ui_smoke_continuous_20260519_1802.json5. Remaining Risks
6. Next Enhancement Suggestions
/quantamental/healthinto the UI selector to remove the remaining static label drift.quant_snapshot.algorithmsare either summarized or explicitly marked unavailable.7. Safety Notes