test: 真实文件切片 fixture(#34 遗留项)#38
Merged
Merged
Conversation
- dd 自实际 vipdoc 切 3 条/文件:sz000001(1991 年首批日线)、 sh688001(科创板第一股上市首日)、sz000001.lc5(2025-01) - 断言为真实观测值(历史数据不变化,天然稳定);float32 字段用 approx 容差 - 防合成 fixture 与解析器共享同一格式误解——本次真实字节验证 三条解析路径结论与合成 fixture 一致 Co-Authored-By: Claude Fable 5 <noreply@anthropic.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
用真实 vipdoc 文件切片补齐 issue #34 计划中的真实字节样本,与合成 fixture 互补(真实字节防"生成器与解析器共享同一格式误解")。
What Changed
tests/fixtures/real_*.{day,lc5}:dd bs=32 count=3 切自实际数据盘(2026-07-07),每文件 96 字节How to Test
pytest tests/test_reader.py -v(10 passed;全量 55 passed)Risks / Tradeoffs
🤖 Generated with Claude Code