Skip to content

Refactor RunHistory to separate data storage from cost computation#1308

Open
JannisKst wants to merge 1 commit into
developmentfrom
enh/encapsulate-model-1259
Open

Refactor RunHistory to separate data storage from cost computation#1308
JannisKst wants to merge 1 commit into
developmentfrom
enh/encapsulate-model-1259

Conversation

@JannisKst
Copy link
Copy Markdown
Collaborator

Refactors RunHistory into a pure data container by removing all cost computation logic.
Cost aggregation, normalization, and scalarization are now handled by CostTransformer.
Existing code has been updated to use raw cost retrieval + transformation, and new unit tests for CostTransformer have been added

- Remove cost aggregation, normalization, and scalarization from RunHistory
- Introduce CostTransformer for all cost transformations
- Replace get_cost/average_cost usage with raw cost access + transformation
- Simplify RunHistory to a pure data container
- Add unit tests for CostTransformer
- Update existing tests
@JannisKst JannisKst requested a review from mwever April 21, 2026 10:50
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.

1 participant