feat: add Core module and display formatting for Strategies#100
Merged
Conversation
Member
ocots
commented
Mar 15, 2026
- Add Core module with exception handling and utilities
- Implement display formatting for strategy options with pretty printing
- Update module exports and includes across the codebase
- Enhance strategy registry and contract metadata
- Add Core module with exception handling and utilities - Implement display formatting for strategy options with pretty printing - Update module exports and includes across the codebase - Enhance strategy registry and contract metadata
- Add v0.4.7-beta section to CHANGELOG.md with Core module and display formatting features - Add v0.4.7-beta section to BREAKING.md (no breaking changes) - Document improvements to module organization and strategy registry
- Fix test_metadata.jl to expect new format without spaces before :: in type annotations - Fix test_coverage_abstract_strategy.jl to expect NotImplemented errors for missing contract methods - Tests now properly validate the enhanced display formatting and error handling
…ry display - Add describe(id::Symbol, registry::StrategyRegistry) function - Display strategy family, parameters, and default parameter - Group options into common vs computed categories - Show computed option values per parameter - Handle ExtensionError gracefully with red display - Improve StrategyRegistry show formatting - Remove duplicate strategy IDs in display - Group strategies by ID with parameterized variants - Show full type names with parameters - Clear tree structure with proper indentation - Add comprehensive tests for describe functionality - Test single and multi-parameter strategies - Test extension-dependent strategies - Test error handling for unknown IDs - Add visual separator between parameters and options sections - Display extension names in red when metadata unavailable
- Document new registry-aware describe function - Document enhanced StrategyRegistry display improvements - Document visual formatting enhancements - Document extension error display improvements - Document comprehensive test suite additions
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #100 +/- ##
==========================================
- Coverage 93.13% 92.63% -0.51%
==========================================
Files 46 49 +3
Lines 1137 1330 +193
==========================================
+ Hits 1059 1232 +173
- Misses 78 98 +20 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Add vertical separator │ between family and options for strategies without parameters - Ensures visual consistency across all strategy displays - Maintains tree structure formatting for better readability
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.