feat: expose metadata and aggregates as public Lattice properties - #43
Merged
Conversation
FastAPI service wrapping mountainash-utils-rules as an HTTP API.
File-based ruleset registry with slugged IDs, POST /evaluate/{id}
endpoint with top_n/min_specificity/dimensions query params.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8-task TDD plan for mountainash-rules-service: project scaffold, config, models, test fixtures, RulesetRegistry, FastAPI routes, Dockerfile, and final polish. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Deletes reference to mountainash subproject - Removes mountainash-data subproject link - Eliminates mountainash-settings subproject connection Relates to feature/lattice-public-properties
- Deletes Mankowski - Decision Table Decomposition for Further Rule Induction - 2015.pdf - Cleans up stale content from docs directory
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #43 +/- ##
===========================================
+ Coverage 93.90% 93.95% +0.05%
===========================================
Files 13 13
Lines 623 629 +6
Branches 89 89
===========================================
+ Hits 585 591 +6
Misses 28 28
Partials 10 10 ☔ View full report in Codecov by Sentry. |
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
Added public properties to the Lattice class to expose metadata and aggregates.
Changes
metadataproperty to return DimensionsMetadataaggregatesproperty to return list of Aggregate objectsTesting
Created test file with assertions to verify metadata and aggregates are properly exposed through the properties.
Notes
This change makes lattice metadata and aggregates accessible through public properties, improving usability and integration with other components.