Skip to content

ImpactConfig management improved and optimized - #27

Merged
Krisenberg merged 11 commits into
mainfrom
26/impact-config-flow-improvement
Jun 12, 2026
Merged

Krisenberg merged 11 commits into
mainfrom
26/impact-config-flow-improvement

Conversation

@Krisenberg

@Krisenberg Krisenberg commented Jun 12, 2026 •

Copy link
Copy Markdown
Owner

Closes #26

Changelog:

  • src/impact/pipelines/sasrec_training_pipeline.py: made SASRecTrainingPipeline always saves ImpactConfig snapshot next to the best-performing model checkpoint (for reproducibility and future reference).
  • src/impact/cli.py: defined @inject_impact_config_from_checkpoint() and @inject_impact_config_overrides() decorators to simplify and improve ImpactConfig management and recreation for the functions relying on SASRecNBR snapshot (evaluation/final plotting).
  • src/impact/config.py: added from_yaml() method to ImpactConfig to reconstruct the config from a YAML snapshot, implemented integrity verification via config schema version and hash (checksum) verification.
  • src/impact/utils.py: implemented find_sibling_config() function for automated locating ImpactConfig snapshots saved alongside the best-performing SASRecNBR model checkpoints.
  • adjusted selected CLI entrypoints in src/impact/main.py and scripts/plots.py to use newly defined decorators.

…pose the interface for recreating ImpactConfig state from the YAML snapshot
…6) to verify reconstructed ImpactConfig integrity and correctness
…pactConfig snapshots saved alongside a model checkpoint
…onfig_from_checkpoint() and @inject_impact_config_overrides() decorators to simplify and improve ImpactConfig flow/recreation
… and adjacent config snapshot to eval/plotting functions (in src/impact/main.py and scripts/plots.py)
…tConfig snapshot next to the best-performing model checkpoint
…ct' command to enforce the caller to explicitly provide on which split partition the evaluation should be done
… to reflect the correct name of the other (mentioned) decorator
@Krisenberg Krisenberg self-assigned this Jun 12, 2026
@Krisenberg Krisenberg added the enhancement New feature or request label Jun 12, 2026

@Krisenberg Krisenberg left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆗

@Krisenberg
Krisenberg merged commit ccd4b0b into main Jun 12, 2026
3 checks passed
@Krisenberg
Krisenberg deleted the 26/impact-config-flow-improvement branch June 12, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve ImpactConfig flow management

1 participant