Review parameter scenarios and mapping contributions against the canonical AGRIBALYSE import
- Type
- Variant · stands beside ADEME's numbers
- Based on
- AGRIBALYSE 3.2
- Code or files
- pull request #4 at
f75a44db8ea1
- Proposed (current)
- Testing (not yet)0 of 4 checks passed
- Reviewing (not yet)no approvals yet
- Accepted (not yet)
Proposed. 0 of 4 required checks passed, 4 not run. No reviewers are named yet.
- Next step
- Contributor: run the full parameter rescore that pull request 4 deferred, on a licensed build, and attach the result as a run.
Taken by: reviewer
Required checks
- Baseline reproduction
baseline-reproductionNot run - Input scope equivalence
input-scope-equivalenceNot run - Intended change and regression
intended-change-and-regressionNot run - Export score parity
export-score-parityNot run
What the checks cover
Fixture tests of the parameter tools and the export parity reported in pull requests 4 and 2. The full parameter rescore on the real data was deferred in pull request 4 and has not been run here.
Assessment
Existing AGRIBALYSE work and remaining community layer
Assessed 7 October 2026 from the public repository and its public PRs.
The existing project already supplies the canonical version-specific import, tiered MappingRegistry, curated overrides, reversible parameter scenarios, backtesting, dashboard and parity-checked Brightway export. It is therefore the central project to extend, not a dependency for a separate feedback-only repository.
PR 4 reports parameter editing in response to an ADEME what-if request. Its checklist explicitly defers the full real-data parameter rescore; fixture tests and reported checks must not be upgraded to independent real-data verification. PR 2 reports Brightway parity/export checks. These public reports are useful implementation evidence, not proof of new partner consensus.
The Brightcon BAFU toolkit is a distinct contribution in sentier-models PR 2. No AGRIBALYSE hackathon minutes or newly approved partner dataset corrections have been supplied. Gather those records here, attach candidate implementations and tests, and retain dissent and provider responses alongside the canonical import.
This change adds the public contribution lifecycle and comparison tooling around existing import/application hooks. It does not implement a new importer, alter dataset scores or assert that a 4.0 release is public.
Apply and test AGRIBALYSE contribution layers
Preserve a reproducible baseline
Use the official release and the existing import path. Record the source hashes, repository revision, licensed background release, methods, current curated mappings and active parameter overrides. Retain baseline run_report, scoring package and backtest. The existing importer already includes transforms and mappings: do not label its outputs an untouched vendor import.
Use separate baseline and candidate working checkouts with independent local source/cache/registry/output folders. Obtain licensed inputs under their terms. Never use shared mutable caches between these builds.
Existing contribution hooks
- Parameter scenarios: dds-set-parameter writes reversible overrides; dds-list-parameters and dds-clear-parameters inspect and roll them back. Apply only in the candidate checkout. Example from the existing README:
uv run dds-set-parameter Packaging_Weight 0.03 --product <process-code>. This command relinks/rescores; use --no-rescore for staging only, followed by explicit linking and backtesting. New scenario values are not automatically corrections to ADEME's canonical inventory. - Curated biosphere mappings: registry/sources/curated.py reads source/curated_overrides.json into the existing MappingRegistry. In the candidate checkout, retain baseline entries and add reviewed proposal entries with identity, context, units, conversion, tier and evidence. Rebuild the registry, relink and backtest. Do not build a second matcher or assume identical factors make distinct chemical species equivalent.
- Technosphere fixes: retain the existing randonneur package format and public custom-technosphere-fixes migration. Review ordering and target identity before applying a change.
- Application/export: use dds-build-bw-package and its parity verifier to check the candidate against stock bw2calc. Compare baseline and candidate results under equivalent inputs, boundaries and methods. Keep unresolved exchanges and explain expected changes.
--no-llm disables both LLM overrides and curated synonym fallback; it is not a neutral comparison flag. Hold it fixed across runs or explicitly treat its change as part of the candidate. dds-reset deletes overrides unless --keep-overrides is given; use it only within an isolated build.
Validation and consensus
Attach parameter/flow-level regression checks, counts, unresolved links, expected score deltas and equivalent-scope backtests to the contribution. Normalize public aggregate summaries using community/templates/run-summary.json, and compare them with scripts/community.py. Private inventories stay local; authorized aggregate results and reproducible metadata support public review.
No source import or new 3.2 scores were computed as part of adding this workflow. It documents the existing hooks and provides coordination/comparison checks; missing licensed inputs must remain explicit. Partner approval and dataset-provider response require their own evidence.
Source of this page: record C001.json on GitHub