Repository navigation
增加基金研究原生只读预检 - #8
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入口只核验数据集,平台无法在不创建账户的情况下检查完整回测配置。新增原生preflight命令,复用Dataset与正式回测的静态前置条件,在创建Ledger之前核验并返回带输入身份、数据分类和检查边界的只读JSON。
检查期间输入文件或配置变化会失败;不分配权重、不回放申赎,也不把预检通过当作优化可行性或真实业务认证。
验证:57项完整测试通过;Ruff检查及格式检查通过;固定独立环境依赖检查通过。Studio使用独立Python调用实际预检、运行及原生verify-run,核对输入内容/修改时间不变、配置一致、单位净值与原生绩效一致,并验证损坏输入拒绝。集成使用明确标识的合成数据。