feat(dart): 新增 quanttide_finance — DTO、Journal 模型与测试#12
Open
linli2004 wants to merge 396 commits into
Open
Conversation
- Rename qtadmin_cli package to app - Rename meta command group to asset (数字资产职能) - Add asset backup command for journal archiving - Update documentation and tests
- 新增 src/cli/integrated_tests/ 目录用于集成测试 - 新增 test_backup_integration.py 包含 6 个 backup 集成测试 - 新增 test_refresh_integration.py 包含 17 个 refresh 集成测试 - 新增 test_backup.py 包含 30 个 backup 单元测试 - 总计 62 个测试全部通过 Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- 重命名 asset audit-repo 命令为 asset audit - 更新 CHANGELOG Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
AGENTS.md 必须包含如何更新 AGENTS.md 自身的内容, 确保文档能够自维护。 Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…human when to split
… and tests Complete Dart library package with: - DTO layer: SourceRecord, NormalizedRecord, ClassificationResult with enums - Journal models: Journal, JournalEntry with freezed equality and JSON serialization - Comprehensive test coverage for all models and DTOs Note: 30 source files for a complete package addition exceeds the 20-file guideline. This is a special case — a single package cannot be split without breaking its integrity.
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.
做了什么
新增完整 Dart 包,包含 DTO 层(SourceRecord/NormalizedRecord/ClassificationResult)、Journal 模型(Journal/JournalEntry/JournalEntryLine)、46 个单元测试。
测试验证
dart analyze
dart test (46/46 All tests passed)
文件变更
DTO 模型 10 + Journal 模型 6 + 测试 5 + 配置 9