Skip to content

Feature/develop - #23

Merged
cloorc merged 1 commit into
masterfrom
feature/develop
Sep 5, 2025
Merged

Feature/develop#23
cloorc merged 1 commit into
masterfrom
feature/develop

Conversation

@massiveio

Copy link
Copy Markdown
Collaborator

No description provided.

- Remove DefaultWeight field from DimensionConfig struct
- Update GetWeight() to return 0.0 for unset match types instead of DefaultWeight
- Update CalculateTotalWeight() to use 0.0 for missing dimension weights
- Update constructor signatures:
  - NewDimensionConfig(name, index, required)
  - NewDimensionConfigWithWeights(name, index, required, weights)
- Fix all test expectations to use 0.0 default weights
- Update all example code and cmd utilities
- Add explicit weights to TestRebuild to avoid weight conflicts
- Maintain 71.4% test coverage with all weight functionality working

Breaking Change: DimensionConfig no longer has DefaultWeight field.
Use SetWeight() method to set explicit weights for match types.
@cloorc
cloorc merged commit b7b4776 into master Sep 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants