Skip to content

Feat/0.7.0 reproducibility v2 - #203

Merged
profsergiocosta merged 4 commits into
mainfrom
feat/0.7.0-reproducibility-v2
Nov 28, 2026
Merged

profsergiocosta merged 4 commits into
mainfrom
feat/0.7.0-reproducibility-v2

Conversation

@profsergiocosta

Copy link
Copy Markdown
Member

No description provided.

profsergiocosta and others added 4 commits November 7, 2026 09:59
- 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
@profsergiocosta
profsergiocosta merged commit 88e9bf6 into main Nov 28, 2026
4 checks passed
@profsergiocosta
profsergiocosta deleted the feat/0.7.0-reproducibility-v2 branch November 28, 2026 23:09
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