Continuous enhancement: drawdown resilience quant diagnostic - #7
Open
ryun6249 wants to merge 1 commit into
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
drawdown_resilienceas an additive score-screen key; existing defaults and score keys are unchanged..env.Data Consistency
drawdown_recovery_resilience_v1with required/available observations, input provenance, component scores, warnings, andused_in_composite_score=false.quant.metrics.algorithms, component scores, health metadata, screening rows, and API output.UI/UX
Drawdown Resilience/雮欗彮 須岆车.Visualization
AI Briefing
quant_snapshotand deterministic AIkey_changesasdrawdown_recovery_algorithm.Translation
Performance
Tests / Validation
3. Changed Files
pipelines/quantamental/quant_engine.pydrawdown_recovery_resilience_v1pipelines/quantamental/service.pypipelines/quantamental/ai_service.pycore/schemas/quantamental.pydrawdown_resiliencescore keyapp/web/modules/quantamental-ui.jsapp/web/app.jsapp/web/index.htmlscripts/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 pipelines\quantamental\quant_engine.py pipelines\quantamental\service.py pipelines\quantamental\ai_service.py core\schemas\quantamental.py tests\test_quantamental_api.py tests\test_quantamental_engines.pynode --check app\web\modules\quantamental-ui.js;node --check app\web\app.js; Python compile commandpython -m pytest tests\test_quantamental_engines.py tests\test_quantamental_api.py tests\test_ui_modules.py tests\test_ui_routing_contract.py -q81 passed, 4 subtests passedpython -m pytest -q693 passed, 9 subtests passedhttp://127.0.0.1:8000/ui/?range=1Y#quantamentalpython scripts\quantamental_ui_smoke.py --base-url http://127.0.0.1:8000 --output reports\quantamental_ui_smoke_continuous_20260519_1501.jsonpython scripts\ai_portfolio_ui_smoke.py --base-url http://127.0.0.1:8000 --timeout-s 240 --output reports\ai_portfolio_ui_smoke_continuous_20260519_1501_retry.json/api/v1/quantamental/healthand AAPL analysis5. Remaining Risks
6. Next Enhancement Suggestions
7. Safety Notes