Repository navigation
Accept and validate advanced factor risk research recipes - #22
Merged
Merged
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.
Validate the new risk_model.estimation and exposure_pipeline contracts before a research run starts. Reject unknown settings, unavailable PIT fields, conflicting exposure sources, invalid style dependencies and horizon/lag/history mismatches. Keep validation dependency-free and preserve legacy recipes.
This contract accompanies PureSaber/quant-risk-monitor#23 and the A-share adapter, with explicit documentation of field provenance and declared versus calibrated settings.
Validation: 236 tests passed, one optional quant_fund adapter test skipped because the package is absent, 85.65% branch-inclusive coverage. The rolling-research suite used the repository's pinned quant-data-kit/quant-factors sources. Ruff lint and format passed.