Repository navigation
Feat/0.7.0 reproducibility v2 - #203
Merged
Merged
Conversation
- record the environment (Python, machine, GDAL/GEOS/PROJ, packages) and peak memory in every run, without overwriting a value the caller set; a `python -m pkg.mod` run records the real module name - dissmodel.executor.compare: bytes, decoded values, georeference and a declared absolute tolerance; verdicts identical, values_identical, equivalent, differs, unverified - new `dissmodel` command: verify, compare and reproduce; reproduce finds the executor module in the current folder, imports a package's direct submodules, and explains what to do when the executor is not found - "[progress]" log lines and run --progress - JobResponse gains code_version, model_commit, resolved_spec, parameters - fix ZeroDivisionError in the run profiling report when total time is 0 - docs: "Your first reproducible experiment" in Getting started; the README example passes the seed as a parameter - bump to 0.7.0
- examples/hello_reproducible: the forest fire walkthrough as files (model, executor, input builder, parameters, run.sh) - tests/examples: run the example (run, verify, reproduce, compare) and check that the code blocks in Getting started are the example files - README, Getting started and CHANGELOG point to the folder
run printed all four phase banners before the lifecycle began, so a failure while loading looked like one while saving. execute_lifecycle takes an optional on_phase callback and the CLI prints each banner when its phase starts. README and the hello_reproducible README now say to run make_input.py before the executor; a test covers the missing-input error.
- compare.py: drop unused os import, Callable from collections.abc, unquote ExperimentRecord annotations (ruff F401, UP035, UP037) - compare.py: declare result: dict before the branches; mypy inferred the type from the first branch only (dict-item) - environment.py: log optional native-library probe failures at debug level instead of try/except/pass (ruff S110); same result, None when a binding is missing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012bE8UQpUxNNpRT3Ajh34pG
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.