Worked Examples

Developer reference for impact evidence exports — Global Impact Catalyst

Develop traceable impact evidence exports in Global Impact Catalyst using governed indicator values, scientific source versions, calculation provenance, methodological assumptions, and reproducible reporting bundles. This developer reference documents verified source-code contracts, secure export architecture, EPA/CSO environmental evidence, independent validation procedures, and publication safeguards for transparent and scientifically defensible reporting.

ProductGlobal Impact CatalystComponentPublication and Export Studio, ReportingUpdatedNovember 25, 2026Reading time25 minutes

Application: Global Impact Catalyst
Product component: Reporting, Publication and Export Studio; Evidence Repository, Measurement, Review Workflow (related)
Article type: Developer reference
Source-reviewed version: v2.0.0; pinned commit e75808a0aa272656b1fdbacd2491c30fd6b987dc
Native export format: v1.8.0; evidence chain v1.3.0; workspace bundle v2.0.0
Last verified installed version: Not established
Review status: Published — verification pending
Reading time: Approximately 23–27 minutes
Last source review: November 25, 2026

Summary: Developer contracts for packaging impact evidence with source versions, calculations, method lineage, permissions, scientific limitations, publication state and deterministic ZIP integrity. Includes pinned source paths, data and access boundaries, an official EPA/CSO scientific example, negative-test scenarios and independent verification criteria.

Goal

Implement and assess traceable, independently reproducible impact-evidence exports that preserve entered measurements, derived indicators, method definitions, source versions, assumptions, exclusions, uncertainty, review decisions, and the exact state released. Acceptance means an authorized analyst can reconstruct an asserted figure from the declared inputs and identify its scientific and disclosure limitations; a successful download is only the start of that review.

Separate three decisions: (1) does the package faithfully contain the intended governed records? (2) do an independent recomputation and source review support the scientific statement? (3) may these records be disclosed to the intended audience? Passing any one does not imply the other two.

Requirements

  • A verified workspace and initiative scope, accountable exporting actor, intended audience, and recorded access/redistribution decision for each source and dataset.
  • Versioned canonical contract, indicator, unit and method definitions; observation periods, states and revisions; an explicit list of included and excluded measurements.
  • Evidence source IDs, exact source-version/checksum references where available, evidence-item locators, contradictory and qualifying claim links, and citation metadata.
  • An explicit model or transformation: inputs, formula, denominator, sampling frame, units, rounding, uncertainty, code version and any untestable assumptions.
  • An initialized, authorized GIC instance that actually contains the selected records; for public publication, a separately verified published workflow state and matching publication snapshot.
  • A separate review environment and reviewer who can inspect an export without the exporting analyst’s local cache, tokens or private assumptions.

Use an approved synthetic fixture when testing unauthorized access, personal information, restricted sources, or an unpublished study. Source-reviewed v2.0.0 is not evidence that v2.0.0 is installed in production.

1. Product scope and verified repository map

The pinned GIC v2.0.0 release documentation describes a connected platform that retains its earlier governed repository formats. The following Python identifiers are present in the reviewed repository at commit e75808a0aa272656b1fdbacd2491c30fd6b987dc:

Layer Reviewed module or schema Confirmed role
Canonical impact contract schemas/global_impact_contract.schema.json; docs/export-spec.md Entered facts, derived metrics, calculation provenance, validation and claim eligibility; JSON is the machine-readable contract.
Evidence and sources (v1.3.0) python/global_impact_repository.py → evidence_chain, export_evidence_repository; docs/evidence-chain.md Source versions, evidence items, datasets, provenance edges, claim-evidence links.
Measurement (v1.5.0) python/global_impact_measurement.py; docs/program-measurement.md Time-indexed observations, data states, units, denominators and dimensions.
Reporting/export (v1.8.0) python/global_impact_reporting.py → build_reproducible_export, verify_reproducible_export Deterministic ZIP, manifest, artifact digests and optional report/publication snapshot.
Public/workspace boundary (v1.9.0) docs/public-api.md Describes approval-gated public data and workspace-scoped access; the installed endpoint and identity implementation still require testing.
Workspace bundle (v2.0.0) python/global_impact_repository.py → export_workspace_bundle; schemas/global_impact_workspace_bundle.schema.json Cross-repository backup and handoff, not a public-safe excerpt.

Source-review boundary: this is a code and specification inventory, not a claim that each feature is enabled in the current WordPress interface. Do not invent a click path, webhook, URL or REST endpoint from these Python names.

2. Trust boundaries and architectural flow

A governed record moves through five conceptual trust boundaries: authorized workspace state → versioned source/evidence objects → analysis and reporting context → immutable publication snapshot where approved → export to a recipient. The exporter must not implicitly widen access at any transition.

The source repository supports source and evidence relationships, historical observations, reporting and published snapshots. A proposed external integration must recheck object-level authorization for the workspace, initiative, report, snapshot and each downloadable artifact. API scope such as exports:read is necessary for relevant endpoints but is not proof of per-object permission. Keep private source documents, reviewer notes, credentials, and operational audit logs out of public-facing content.

3. Distinguish the four output contracts

Export Key machine-readable elements Main caution
Canonical JSON (v1.1.0) Contract identity/version, entered facts, derived metrics, provenance, validation and claims; optional Markdown brief May be a draft or invalid; it is not an approval certificate.
Initiative evidence chain (v1.3.0) chain_type, chain_version, workspace_id, initiative_id, sources, evidence_items, datasets, provenance_edges, claim_evidence_links, integrity Contains evidence metadata and potentially restricted excerpts.
Workspace JSON bundle (v2.0.0) Canonical contracts and state from evidence, measurement, review, analysis, reporting and other repositories Backup/restore scope exceeds most public-data purposes.
Reproducible ZIP (v1.8.0) workspace-bundle.json, manifest.json, SHA256SUMS.txt; optional report and snapshot artifacts Byte integrity is not scientific validity or legal redistribution authority.

A workspace ZIP and a public scientific evidence excerpt are not equivalent release objects. If only a small approved set of observations may be shared, design and review a separate public-safe derivative; do not label a full workspace archive anonymous merely because it contains aggregated indicator values.

4. Canonical IDs, revisions and source identities

Preserve workspace_id, initiative_id, indicator_id, observation_record_id, source_id, source_version_id, and the IDs of the actual report, publication and snapshot when those objects exist. An observation’s revision_of_observation_id is distinct from the record’s own ID. A revised value must not silently overwrite the historical fact used in a previously issued report.

A source identifies a material; a source version identifies the bytes or version actually examined; an evidence item describes an extracted fact or excerpt; a claim-evidence link expresses how the evidence bears on a specific assertion. Each relationship should be resolvable in the export. Keep editorial local IDs distinct from official EPA/CSO source identifiers, which must not be fabricated.

5. Recommended evidence-lineage manifest (additional control)

The following is a proposed review-sidecar schema, not a native GIC API payload. It makes analyst-to-analyst reproducibility auditable at the level of individual figures:

{
  "protocol": "SC-GIC-EXPORT-LINEAGE-01",
  "export_scope": "internal_review_only",
  "workspace_id": "AUTHORIZED_WORKSPACE_ID",
  "initiative_id": "AUTHORIZED_INITIATIVE_ID",
  "figures": [
    {
      "figure_id": "example-station-contrast-2024",
      "measurement": "PM2.5 annual mean difference",
      "unit": "ug/m3",
      "source_version_ids": ["REVIEWED_VERSION_ID"],
      "observation_ids": ["ENNIS_OBSERVATION_ID", "CORK_OBSERVATION_ID"],
      "method_version": "descriptive-subtraction-1",
      "calculation": "12 - 5",
      "result": 7,
      "rounding": "difference of published whole-number station means",
      "scope": "selected monitoring stations only",
      "claim_status": "descriptive_not_causal"
    }
  ],
  "independent_review": "pending",
  "redistribution_review": "pending"
}

Replace every placeholder with an independently confirmed identifier. Reject missing source-version references, unresolved observation IDs and incompatible units rather than filling them from guesses. The file is recommended supplementary evidence, not proof that native GIC exports automatically carry full chart-mark lineage.

6. Source integrity, licenses and contradictory evidence

GIC’s reviewed evidence model supports immutable source-version SHA-256 checksums, locators, datasets, and supports, contradicts, qualifies and context claim-evidence relationships. A recorded license: not_recorded is not permission to redistribute. Preserve the precise retrieved source version, publisher, table/row locator, access rights, and any negative evidence; do not remove conflicting observations to make the narrative cleaner.

Before release, verify that cited figures can be independently traced to the published source, their units and period match, access rights are recorded, any restricted source text is redacted or withheld under a documented rule, and edits after review force a new review where required.

7. Observation selection and calculation semantics

The measurement repository records complete, missing, late, revised, and partial states, as well as time periods, units and dimensions. The scientific export must document which records were selected, how revisions superseded earlier records, how missing/partial records were treated and why the method can compare the chosen populations and locations.

For each derived figure, record: input value and unit → source version and row → selection/exclusion rule → conversion and denominator → formula → precision and uncertainty → final interpreted claim. A technically identical rerun is not sufficient if the wrong denominator or geographic coverage was selected.

8. Reporting and methodology appendix

ReportingPublicationMixin.create_report builds a governed report linked to a workspace and initiative. Reviewed report records can contain structured JSON, Markdown, accessible HTML, citations and a methodology appendix. The methodology captures the canonical contract version and underlying evidence, registry, measurement, review and analysis repository versions, with calculation provenance and a boundary statement.

Treat those fields as a starting point for independent review. Add an explicit machine-readable record of exclusions, transformations, input versions and limitations whenever the report alone lacks sufficient detail to reproduce an analysis. Verify that the human-readable report, figure caption, alternative text and machine-readable export tell the same scientific story.

9. Publication snapshot and release eligibility

The reviewed create_publication_snapshot(publication_id, report_id=...) requires publication_status == "published" and records hashes of the contract and governed evidence, registry, measurement, review, analysis and optional report state. The publication controls require approval of the same subject hash, a passing quality assessment, no open corrections, and a current unchanged subject. Any later material change must reopen the appropriate approval process.

This is an internal publication-control mechanism, not independent assurance, a scientific certificate or authorization to republish someone else’s dataset. Preserve the snapshot ID, reviewer record and release label separately from the current workspace state.

10. Native deterministic ZIP format

The reviewed build_reproducible_export(...) creates sorted ZIP entries using fixed archive timestamps, a manifest of artifact names, sizes and SHA-256 values, and a SHA256SUMS.txt index. Every bundle contains workspace-bundle.json and the two integrity files. When report_id is selected, it also includes report/report.json, report/report.md, report/report.html, report/citations.json and report/methodology.json. A selected publication snapshot adds publication-snapshot.json.

The builder normalizes generated/exported timestamps and omits operational audit/export-history material from the deterministic source image. This supports byte-equal reruns but means the ZIP is not a complete operational audit-trail backup. An independent audit-log capture may be necessary for a regulated or incident-review context.

11. Native builder and verification code

The following is a Python implementation sketch using confirmed method names, not a public REST request or a claim that your deployed GIC screen exposes these controls:

# Requires an initialized authorized GIC repository and confirmed IDs.
# Never export a sensitive workspace to a public web directory.
result = repository.build_reproducible_export(
    workspace_id=approved_workspace_id,
    initiative_id=approved_initiative_id,
    report_id=approved_report_id,                 # optional
    publication_snapshot_id=approved_snapshot_id, # optional
    destination="/restricted/reviewer/export.zip",
    actor=approved_actor_id,
)
verification = repository.verify_reproducible_export(
    "/restricted/reviewer/export.zip"
)
assert verification["valid"], verification["failures"]
assert verification["archive_hash"] == result["archive_hash"]

verify_reproducible_export checks manifest-listed entries for missing bytes and SHA-256 mismatches. It is not documented to prove authorization, full archive-member inventory, source accuracy or disclosure safety. The service layer delegates to those methods; the real installed permissions must be demonstrated with live-scoped tests, not inferred from a Python unit test.

12. Independent archive audit beyond the native verifier

A recipient should additionally check: no duplicate ZIP member names, no path traversal or absolute paths, expected artifact inventory exactly matches archive members, expected version is correct, SHA256SUMS.txt matches every listed file including the manifest, no executable or undisclosed sensitive file has slipped in, and the archive hash matches the handoff record. Treat large/decompression-bomb archives as unsafe until bounded; inspect before extraction.

The companion read-only review_export_archive.py verifies a ZIP using the format observed in source, performs stronger archive inventory checks and produces a JSON diagnostic. It is an independent test utility, not GIC production code and not a replacement for recipient privacy or scientific review. It never automatically publishes or restores the archive.

13. Scientific worked example from published EPA/CSO data

For reproducibility exercises, use the officially published CSO Measuring Ireland’s Progress 2026, Environment, Table 3.5, which republishes EPA annual mean PM₂.₅ monitoring observations for 2014–2024. Four selected monitoring categories over eleven years yield 44 published rounded values. The companion CSV retains the site, year, unit and source locator.

2024 selected monitoring station/category Published annual PM₂.₅ mean
Dublin — Rathmines 8 µg/m³
Cork — Heatherton Park 5 µg/m³
Towns over 15,000 — Ennis 12 µg/m³
Rural — Macroom 8 µg/m³

A direct same-year comparison of the published rounded station means is 12 − 5 = 7 µg/m³ for Ennis minus Cork. The published-value ratio is 12 / 5 = 2.4. Rounding alone allows an approximate difference between 6 and 8 µg/m³, assuming independent nearest-unit rounding; this is not a sampling confidence interval. The official background notes identify the sites and the rural station change from Longford to Macroom in 2021.

These selected sites do not represent entire regions or national population exposure; a causal effect, a nationally weighted average, a complete exposure gradient and a single-station uninterrupted rural trend cannot be inferred from this table. Distinguish this illustrative comparison from impact caused by a program: environmental monitoring data alone does not establish an initiative’s additionality, attribution or effect.

14. Recompute the example independently

The scientific sidecar includes a CSV transcription, calculation record, method notes and source URLs. It is a separately produced educational export, not the GIC v1.8 native archive. The reviewer should parse the 44 rows; verify the expected period-category combinations and the reported site change; recompute the 2024 difference from the input values; inspect scope/rounding limitations; then compare with the report display and machine-readable claim.

python review_export_archive.py --csv epa_cso_pm25_2014_2024.csv \
  --sidecar EPA_CSO_Scientific_Evidence_Sidecar.zip \
  --report offline-review.json
# When an authorized native GIC export is supplied separately:
python review_export_archive.py --native /restricted/reviewer/export.zip

The companion script checks only known published summary values and file integrity, not the original EPA instruments, raw station observations, source licensing, GIC deployment, scientific peer review or permission to release a report.

15. Data minimization, redaction and recipient authorization

Classify source records, evidence excerpts, person-level information, contracts, reviewer identities and access tokens before preparing a file. The workspace export can contain fields beyond those intended for public release. Verify object-level authorization on both the export-generation operation and every retrieval or handoff, including indirect and pre-signed download paths; prevent cross-tenant cache leaks. Do not log raw credentials, private interview data, or signed links.

An aggregate indicator may still be sensitive when small populations, linked quasi-identifiers or granular coordinates create re-identification risk. Redaction must leave a verifiable explanation of what was excluded and why; if publication changes an approved subject’s content hash, the new derivative requires its own appropriately scoped review.

16. Access and state-transition test matrix

Case Expected outcome Evidence to retain
Wrong workspace/tenant Deny before export; no private files or source contents revealed Redacted authorization result and correlation ID
Export key without required scope Deny; do not infer exports:read from login alone Scope check and audit event
Draft, withdrawn or stale publication No publication snapshot or public release Publication state, snapshot hash and reason
Tampered ZIP member or missing file Integrity failure and block downstream processing Artifact path and digest mismatch
Unlisted ZIP member, traversal path or duplicate name Additional independent audit fails closed Member inventory (no private contents)
Missing source version or contradictory evidence Reproducibility/review blocked or explicitly qualified Source and claim IDs
New observation revision after approval Previous snapshot retained; edited subject requires renewed approval Old/new IDs and hash comparison
Restricted dataset in an external export Disclosure denied until explicit rights review Permission decision and safe redaction record

Do not assume HTTP status codes or exact UI messages before installed-interface verification. Tests should check observable access denial and non-disclosure, not just response bodies.

17. Idempotency, consistent snapshots and retries

Building a deterministic ZIP twice from unchanged governed state should produce the same bytes and SHA-256 archive hash; the repository’s source tests exercise this behavior. A duplicate export should not create a divergent scientific identity merely because the clock changed. Conversely, a material source, indicator, method or report change should be visible in the appropriate governed revision or hash.

For transfers, reconcile retry/idempotency behavior and failure cleanup. Do not assume that an interrupted external handoff was never received. A safe export should be built from a transactionally consistent snapshot; record the input-state fingerprint, not merely the wall-clock generation time.

18. Error classes and recovery contract

Separate errors into authorization (wrong actor, scope or workspace), selection (missing indicator/record/source), validation (wrong unit or schema), consistency (stale revision or snapshot), archive integrity (checksum or inventory mismatch), disclosure (restricted source), and scientific interpretation (wrong calculation, denominator, unsupported claim). A stable error record should include a nonsecret correlation ID, category, affected object ID, blocked operation, retryability, and reviewer/owner handoff.

A malformed export is not repaired by editing the ZIP by hand. Preserve the rejected bytes and source hashes in restricted storage, correct the canonical record or method through governed workflow, regenerate a new export, and re-run both technical and scientific checks. Roll back unauthorized public exposure independently of analysis correction.

19. Logging, audit history and retention

Retain the authorized exporter identity, workspace and initiative, exact report/snapshot references, artifact inventory and digests, decision events, permissions evaluated, destination, retention class, and withdrawal status in a protected audit store. A deterministic publication ZIP may intentionally exclude operational logs; that omission is not evidence the events did not occur. Access-revocation and erasure policies must be reconciled with legally required evidence retention and immutable published snapshots.

20. Scientific and accessibility equivalence

Reproducibility is not scientific assurance. The reviewer must test whether data selection answers the stated question, whether sample coverage is sufficient, whether confounding and uncertainty are disclosed, and whether negative results are preserved. A citation and checksum cannot convert a descriptive correlation into an attribution statement. Check that HTML tables, text alternatives, PDFs if produced by a separate renderer, and machine-readable JSON display equivalent caveats and precision.

Troubleshooting

Use the diagnostic matrix below to separate export failures, provenance gaps, access-control errors, and unsupported scientific claims. Preserve the original evidence and do not bypass approval gates while correcting a failure.

21. Troubleshooting scenarios and likely causes

Symptom Likely cause Resolution and confirmation
Export completes but report figure differs Wrong revision, unit, denominator, rounding or cached report Recompute from identified observation/source versions; reconcile hashes; issue a newly reviewed export
verify_reproducible_export passes but unexpected file is present Native verifier validates manifest-listed artifacts rather than whole-archive inventory Run independent inventory audit; block handoff and reissue
ZIP bytes differ between reruns Governed input changed, archive metadata diverged or custom sidecar is nondeterministic Compare revisions, input fingerprints, member order and normalized timestamps
Evidence chain reports structural validity but claim is unsupported Integrity checks resolve links, not methodology or factual accuracy Independent evidence and counterexample review; retain qualifying/contradicting sources
Public reader encounters a private attachment Workspace/public boundary or caching misconfiguration Disable access, preserve event evidence, scope incident response and retest cross-tenant denial
Approval seems to survive a changed report Stale subject/snapshot or non-enforced publication gate Fail closed and require fresh approval of exact content hash
2014–2024 rural trend appears continuous at one station Changed Longford → Macroom station identity in 2021 Split/annotate series; reject an uninterrupted single-site claim

22. Staging acceptance and failure expectations

Run an explicit acceptance suite against the installed GIC build with separately authorized actors and synthetic records. Check the deployed version, actual UI/route, workspace authorization, cross-tenant denial, source/version lookup, legal entitlement, record revision selection, deterministic byte reproduction, ZIP inventory, reviewer replay, publication gate, withdrawal behavior, caching and restricted-field redaction. The companion staging_acceptance_matrix.csv assigns test IDs, expected results and evidence types.

None of those staging or independent scientific tests is claimed to have been executed merely because local ZIP and unit tests pass. Record exact date, environment, commit/image digest, tester, result, failure evidence, corrective action and independent approver.

23. Verified source paths and developer evidence

Use the pinned commit, not unqualified main, when writing defect reports or source review packets:

Open verification questions: installed version and commit; actual file-export endpoint or UI control; workspace-specific authorization enforcement; sensitive artifact filtering; full chart-level provenance; independent reviewer identity; release and withdrawal acceptance. Those items must not be marked complete without deployment evidence.

Verification

Apply the following separate gates to the exact artifact under review:

  1. Structural: the expected files exist, the native format/version/schema matches, paths and member inventories are safe and complete, and each declared byte count and hash agrees with actual bytes.
  2. Source/provenance: source versions and licenses resolve, selected observations and revisions are identified, and cited outputs trace back to input values.
  3. Numerical: a second analyst independently recomputes each material figure using the documented method and quantifies rounding or uncertainty where justified.
  4. Scientific: coverage, comparability, denominators, counterexamples, conflicts and causal limits are reviewed; the written interpretation does not exceed the evidence.
  5. Privacy/security: authorization, field minimization, recipient scope, redaction, public caching, data licensing, retention and access revocation are checked.
  6. Publication: a matching approved and current subject/snapshot is present when publication is intended; all open corrections are resolved; no file is made public merely because the ZIP is valid.
  7. Operational: production-equivalent staging confirms installed behavior and negative tests; reviewer records any deviations with a rollback and owner.

An export is eligible for review only when required technical checks pass. It is scientifically accepted only after an independent reviewer signs the scientific criteria. It is publicly releasable only after a separate authorized disclosure/publication decision. Keep source_reviewed, offline_tested, staging_verified, independently_reviewed, and approved_for_public_release distinct statuses.

References and reporting boundary

Boundary: this reference does not establish installed-system certification, scientific peer review, legal authority to redistribute records, causal attribution, regulatory compliance, or a verified production route. Local companion diagnostics demonstrate limited offline checks only.

Scroll to Top