V0.3.1 unify gain computation#9
Merged
Merged
Conversation
Sequential and parallel gain paths now use the same _compute_single_action_gain function via SequentialGainCache, fixing a lifted-vs-grounded divergence in success potential. Export/PDDL/metrics code moved to model_export.py, reducing information_gain.py from 2200 to 1823 lines. - Fix _calculate_potential_gain_success to use grounded-space - Add SequentialGainCache for in-process gain delegation - Add _create_sequential_context (references, no deep copies) - Deterministic tie-breaking in both sort paths - Extract to_pddl_string, export_model_snapshot, get_learned_model, get_action_model_metrics to algorithms/model_export.py - Bump version to 0.3.1
- Delete pddl_types.py, inline ParameterBinding into expression_converter.py (one-consumer rule: only expression_converter used it) - Remove unused ExpressionConverter.to_cnf_clauses() and its tests (no production callers) - Update imports in up_adapter.py and test files
Combine model_validator.py + model_metrics.py + model_reconstructor.py into a single model_evaluation.py (-420 LOC net). These are tightly coupled BRIDGE modules always used together. Breaking old import paths is fine at v0.x.
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.
No description provided.