Worked Examples

Developer reference for table reproducibility — Reporting Studio

Examine developer contracts for reproducible report tables, including controlled input identities, calculations, provenance, formatting rules, and revision-specific outputs.

ProductSustainable Catalyst Platform CoreUpdatedNovember 15, 2026Reading time27 minutes

Application: Reporting Studio
Cross-application area: Workspace / Research / Library / Workbench / Research Lab / Citation Studio / Platform Core
Classification: Developer Reference / Table Reproducibility
Audience: Backend engineers, scientific software developers, data engineers, researchers, publication engineers, security reviewers, and platform maintainers
Technical level: Advanced
Reference environment: Python 3.10 or later; standard library for reference validation
Relevant specifications: W3C PROV-O, Frictionless Table Schema, FAIR Guiding Principles, RFC 9110, RFC 9457, and applicable accessible-document requirements
Primary outputs: Versioned table specification, computational-output binding, cell-level reconciliation, provenance manifest, rendered report table, regression evidence, and publication acceptance record

1. Service responsibility and primary contract

Reporting Studio should generate scientific report tables from controlled datasets, calculations, and verified analytical outputs.

The service should not merely store arbitrary table text copied into a report. It should preserve an inspectable relationship between each reported value and the computational or source evidence from which that value was obtained.

Primary acceptance contract: Reported numerical values must reconcile with the exact saved computational outputs and transformations designated by the approved table specification.

A successful table-rendering operation does not establish that the underlying calculation is scientifically valid.

Separate three requirements:

  1. Computational integrity: The saved result corresponds to the intended dataset, method, parameters, and execution.
  2. Table reproducibility: The reported values, transformations, units, missing values, and formatting can be reconstructed from that result.
  3. Publication integrity: The table is authorized, correctly reviewed, and bound to the intended report revision.

2. Establish authoritative service ownership

Table 1. Proposed application responsibilities
Application Responsibility Authority boundary
Reporting Studio Table specifications, report placement, rendering, export, and publication relationships Report and table revisions
Workbench Computational execution, analytical outputs, verified results, and notebook dependencies Computation and result identities
Library Source datasets, research references, rights, and governed artifact identities Source metadata and permitted access
Research Research objects, analytical provenance, and publication handoff Research project relationships
Workspace Project ownership, report review, and approval scope Project and workflow authority
Research Lab Scientific methods, uncertainty, and interpretation Scientific review evidence
Platform Core Trusted identity, tenant isolation, service authorization, and auditing Authentication and authorization

These responsibilities are proposed architectural boundaries, not confirmed deployed integrations.

Before implementation, inspect the repositories to establish which service actually owns dataset snapshots, computational result persistence, table records, and publication state.

Do not duplicate an authoritative computational result inside Reporting Studio without preserving its source identity and integrity reference.

3. Define the reproducible table lifecycle

Controlled source dataset
          |
          v
Immutable dataset snapshot
          |
          v
Versioned method or notebook
          |
          v
Computational execution
          |
          v
Saved analytical result
          |
          v
Scientific verification
          |
          v
Versioned table specification
          |
          v
Cell-level reconciliation
          |
          v
Accessible table rendering
          |
          v
Report revision and review
          |
          v
Approved DOCX / PDF / HTML output

Every transformation between the saved computation and the rendered table should be defined and inspectable.

For derived cells, the recorded relationship must identify the relevant parent values, calculation, units, and numerical precision policy.

4. Define the source dataset contract

A table should bind to a stable dataset snapshot rather than an unversioned query whose results can change between executions.

Recommended dataset metadata includes:

  • Authoritative dataset identifier.
  • Snapshot or revision identifier.
  • Content digest or immutable artifact reference.
  • Schema revision.
  • Field names, types, and units.
  • Observation or coverage period.
  • Data-source and processing provenance.
  • Missing-value conventions.
  • Rights and confidentiality classification.
  • Permitted analytical use.

An illustrative source record:

{
  "schema_version": "dataset-reference-v1",
  "dataset_id": "dataset-017",
  "snapshot_id": "snapshot-v3",
  "content_digest": null,
  "schema_revision": "schema-v2",
  "observation_period": {
    "start": "2025-01-01",
    "end": "2025-12-31"
  },
  "rights_status": "unverified",
  "source_authority": "not_verified"
}

The example does not represent a verified Sustainable Catalyst dataset.

Frictionless Table Schema describes tabular fields, data types, primary keys, foreign keys, constraints, and missing-value conventions. Those concepts can inform a versioned table input contract.

5. Define the saved computational result contract

Reporting Studio should use a versioned and verified computational output, not merely rerun arbitrary source code while rendering a publication.

A result reference should identify:

  • Computational result ID and revision.
  • Parent dataset snapshots.
  • Notebook, script, or model revision.
  • Parameter-set identity.
  • Execution environment or dependency lock reference.
  • Execution status.
  • Verification status and scope.
  • Output schema.
  • Canonical result digest.
  • Responsible execution and verification activities.
{
  "schema_version": "computational-result-v1",
  "result_id": "result-017",
  "result_revision": "v3",
  "dataset_snapshot": "snapshot-v3",
  "method_revision": "method-v2",
  "parameter_revision": "parameters-v1",
  "execution_id": "execution-017",
  "output_digest": null,
  "execution_status": "not_verified",
  "verification_status": "not_verified"
}

Actual verification must derive from trusted computational and review records rather than client-supplied status labels.

6. Define a versioned table specification

A table specification should describe what to display and how each displayed value is obtained.

Recommended fields include:

  • Table ID and revision.
  • Report ID and expected report revision.
  • Computational result identity.
  • Table title and caption.
  • Ordered row and column definitions.
  • Cell-to-result mappings.
  • Allowed aggregation and transformation operations.
  • Units and dimensional constraints.
  • Precision and rounding policy.
  • Missing-value treatment.
  • Footnotes, citations, and uncertainty descriptions.
  • Accessibility and export requirements.

Illustrative JSON:

{
  "schema_version": "report-table-v1",
  "table_id": "table-017",
  "table_revision": "v2",
  "report_id": "report-017",
  "expected_report_revision": "v3",
  "source": {
    "result_id": "result-017",
    "result_revision": "v3",
    "result_digest": null
  },
  "columns": [
    {
      "key": "scenario",
      "title": "Scenario",
      "type": "string"
    },
    {
      "key": "net_result",
      "title": "Net result",
      "type": "decimal",
      "unit": "t CO2",
      "display_decimals": 2
    }
  ],
  "rows": [],
  "rounding_mode": "ROUND_HALF_EVEN",
  "missing_values": "explicit",
  "validation_state": "not_tested"
}

This is a proposed contract, not an existing verified API schema.

7. Bind individual cells to computational evidence

Each scientifically meaningful cell should identify its originating result field or approved transformation.

Table 2. Cell provenance requirements
Cell class Required relationship
Direct source value Exact dataset or computational result field and revision
Calculated value Parent values, operation, parameters, and method version
Aggregate Contributing observations, grouping rules, exclusions, and calculation method
Uncertainty estimate Statistical method, confidence or uncertainty definition, and source calculation
Missing value Explicit missingness reason, not an invented numerical substitute
Editorial annotation Responsible source or reviewer and an appropriately scoped explanation

A visually correct cell can still be scientifically invalid if it is linked to the wrong result revision, uses an incorrect unit, or hides a transformation.

Do not infer cell provenance from row position alone when stable keys are available.

8. Define numerical precision and rounding

Numerical reproducibility requires separating stored values from their displayed representation.

For example:

Stored value:
12.3456

Display precision:
2 decimal places

Specified rounding:
ROUND_HALF_EVEN

Displayed value:
12.35

The stored value should remain available for further calculations and independent reconciliation.

Use an explicitly documented numerical policy. Python’s decimal module can support decimal representations and selected rounding modes, although decimal arithmetic does not eliminate every possible rounding or numerical-analysis problem.

Never use the rounded display string as the source of a subsequent scientific calculation unless the approved method explicitly requires that operation.

9. Validate units and dimensional consistency

Every quantitative column should have an explicit unit or dimensionless designation.

Check:

  • Source unit and displayed unit.
  • Conversion method and constants.
  • Temperature or other reference conditions where relevant.
  • Mass, area, time, and concentration denominators.
  • Rounding after conversion.
  • Uncertainty propagation where required.

For example, a value reported in kilograms must not be displayed as metric tons without applying the corresponding conversion.

The table renderer should not automatically infer units from a column title when authoritative metadata are available.

10. Handle missing and invalid values explicitly

Missing observations, unavailable calculations, undefined results, and invalid values are scientifically different conditions.

Distinguish:

  • Not observed.
  • Not applicable.
  • Below a defined detection threshold.
  • Computation failed.
  • Value withheld because of access restrictions.
  • Undefined mathematical result.

Do not silently replace missing values with zero.

Do not automatically omit missing observations from denominators or aggregates without recording the exclusion policy.

Table footnotes should explain consequential missing-value conventions.

11. Reconcile tables against saved outputs

The central reconciliation should compare the exact saved computational result with the values designated by the table specification.

For each cell:

  1. Resolve the authoritative result and version.
  2. Confirm its expected digest or immutable identity.
  3. Retrieve the designated result value.
  4. Apply only the declared transformation.
  5. Check unit compatibility.
  6. Apply the documented display precision.
  7. Compare the rendered value with the expected representation.
  8. Record the reconciliation outcome.

Where exact numerical equality is inappropriate, define an explicit, scientifically justified comparison tolerance and evaluation method.

Do not introduce a tolerance merely to make a failing table pass.

12. Handle uncertainty and statistical annotations

Report tables may contain confidence intervals, standard deviations, standard errors, model ranges, or other uncertainty measures.

The table specification should identify:

  • The uncertainty measure and its definition.
  • Applicable confidence or coverage level.
  • Analytical method.
  • Sample size or relevant denominator.
  • Source computation revision.
  • Missing-data treatment.
  • Displayed precision.

Do not use a generic plus/minus symbol without making clear what the quantity represents.

A table can reconcile numerically while remaining misleading if it omits important uncertainty or methodological limitations.

13. Define accessible rendering requirements

Reporting Studio tables may be rendered into HTML, DOCX, or PDF.

Rendering should preserve:

  • Table number and caption.
  • Correct row and column order.
  • Header relationships.
  • Numerical values and units.
  • Footnotes and citations.
  • Meaningful reading order.
  • Accessible representation of uncertainty.
  • Appropriate distinction between missing and zero values.

For HTML, use semantic table elements such as table, caption, thead, and properly scoped header cells.

For DOCX and PDF, use format-appropriate structural and accessibility validation. A visually correct table may still lack appropriate accessible header associations or reading order.

Export tests must compare the actual rendered output against the approved table revision.

14. Enforce identity, ownership, and rights

Table generation may access confidential datasets and computational results.

Production services should verify:

  • Authenticated user or service identity.
  • Originating organization and tenant.
  • Project ownership.
  • Authorization to read the dataset snapshot.
  • Authorization to access computational outputs.
  • Authorization to create or update the report table.
  • Rights to export or distribute the resulting table.
  • Separate publication authorization where applicable.

Do not trust a client-provided tenant_id, verified, or approved flag as an authoritative access decision.

Cross-tenant and revoked-access negative tests must be performed against real authorization enforcement.

15. Define immutability, revisions, and stale-input handling

Reproducible tables should reference exact snapshots and computational outputs.

Consider:

Saved result v3
       |
       v
Table specification v2
       |
       v
Report revision v3
       |
       v
Approved publication

New saved result v4
       |
       v
New table candidate
       |
       v
Reconciliation and review required

When a new dataset or computational result appears, previously approved reports should not silently update.

Regeneration from new inputs should produce a new controlled table or report revision and trigger the applicable review process.

Preserve the earlier result, table, and publication relationships.

16. Handle partial failures and retries

Generation may span source retrieval, result reconciliation, rendering, storage, and publication preparation.

Possible failures include:

  • Source dataset unavailable.
  • Saved computational result missing.
  • Result digest mismatch.
  • Table schema incompatible.
  • Calculation reference unresolved.
  • Renderer timeout.
  • Partial artifact storage.
  • Duplicate generation request.
  • Publication revision conflict.

For write operations, use documented idempotency controls or establish the previous command outcome before retrying.

Prefer a provisional artifact followed by validation and an authorized commit, where supported by the actual architecture.

Do not mark a partially generated table accepted merely because a rendering step returned success.

17. Define typed failure contracts

Table 3. Proposed table-reproducibility errors
Code Meaning Required response
TABLE_SOURCE_NOT_FOUND Required dataset or result cannot be resolved Hold generation
TABLE_ACCESS_DENIED Actor lacks source or report authority Deny without protected details
TABLE_SOURCE_REVISION_MISMATCH Result differs from expected revision Reconcile exact source identity
TABLE_RESULT_UNVERIFIED Required computational verification is absent Hold publication eligibility
TABLE_SCHEMA_INCOMPATIBLE Input schema or table contract differs Reject or apply documented migration
TABLE_CELL_MISMATCH Reported cell does not reconcile Preserve failure evidence
TABLE_UNIT_MISMATCH Source and display dimensions conflict Reject transformation
TABLE_MISSING_VALUE_UNDECLARED Missing-value interpretation is undefined Hold affected output
TABLE_PRECISION_UNDEFINED Required rounding policy absent Hold rendering
TABLE_DUPLICATE_COMMAND Repeated write conflicts with existing state Inspect idempotency history
TABLE_PUBLICATION_NOT_APPROVED Release decision is incomplete Keep artifact nonpublic

These identifiers are proposed and are not confirmed deployed Reporting Studio error codes.

Where applicable, use RFC 9457 problem details to communicate sanitized, typed API failures.

18. Prepare a synthetic reconciliation implementation

The following Python reference validates a small table against saved computational results supplied as immutable-style fixture records.

It checks the expected result revision, table source identity, numeric cells, rounding, units, missing values, and duplicate row identities.

The example does not load real databases or establish the scientific validity of the computation.

Prepare the environment:

mkdir reporting-table-reproducibility
cd reporting-table-reproducibility

python3 -m venv .venv
source .venv/bin/activate

python --version

Create table_reconciliation.py and test_table_reconciliation.py.

19. Implement the table reconciliation validator

Save as table_reconciliation.py.

from dataclasses import dataclass
from decimal import Decimal, InvalidOperation, ROUND_HALF_EVEN
import json


@dataclass(frozen=True)
class SavedValue:
    row_id: str
    value: str | None
    unit: str


@dataclass(frozen=True)
class ResultSnapshot:
    result_id: str
    revision: str
    values: tuple[SavedValue, ...]


@dataclass(frozen=True)
class TableCell:
    row_id: str
    displayed: str
    unit: str


@dataclass(frozen=True)
class TableSpec:
    table_id: str
    source_result_id: str
    source_revision: str
    decimals: int
    cells: tuple[TableCell, ...]


RESULT = ResultSnapshot(
    result_id="result-017",
    revision="v3",
    values=(
        SavedValue("scenario-a", "12.3456", "t CO2"),
        SavedValue("scenario-b", "8.1000", "t CO2")
    )
)

TABLE = TableSpec(
    table_id="table-017",
    source_result_id="result-017",
    source_revision="v3",
    decimals=2,
    cells=(
        TableCell("scenario-a", "12.35", "t CO2"),
        TableCell("scenario-b", "8.10", "t CO2")
    )
)


def reconcile(table, result):
    errors = []

    if table.source_result_id != result.result_id:
        errors.append("SOURCE_ID_MISMATCH")

    if table.source_revision != result.revision:
        errors.append("SOURCE_REVISION_MISMATCH")

    if not isinstance(table.decimals, int) or not 0 <= table.decimals <= 12:
        errors.append("PRECISION_INVALID")
        return {
            "status": "FAIL",
            "errors": sorted(set(errors))
        }

    source_rows = [item.row_id for item in result.values]
    table_rows = [item.row_id for item in table.cells]

    if (
        not all(source_rows)
        or len(source_rows) != len(set(source_rows))
        or not all(table_rows)
        or len(table_rows) != len(set(table_rows))
    ):
        errors.append("ROW_IDENTITIES_INVALID")

    sources = {item.row_id: item for item in result.values}
    cells = {item.row_id: item for item in table.cells}

    if set(sources) != set(cells):
        errors.append("ROW_SET_MISMATCH")

    quantizer = Decimal(1).scaleb(-table.decimals)

    for row_id in sorted(set(sources) & set(cells)):
        source = sources[row_id]
        cell = cells[row_id]

        if source.unit != cell.unit:
            errors.append("UNIT_MISMATCH:" + row_id)

        if source.value is None:
            if cell.displayed != "N/A":
                errors.append("MISSING_VALUE_MISMATCH:" + row_id)
            continue

        try:
            source_number = Decimal(source.value)

            if not source_number.is_finite():
                errors.append("SOURCE_NONFINITE:" + row_id)
                continue

            expected = source_number.quantize(
                quantizer,
                rounding=ROUND_HALF_EVEN
            )

            displayed_number = Decimal(cell.displayed)

            if (
                not displayed_number.is_finite()
                or displayed_number.as_tuple().exponent != -table.decimals
                or displayed_number != expected
            ):
                errors.append("CELL_MISMATCH:" + row_id)

        except (InvalidOperation, ValueError):
            errors.append("CELL_INVALID:" + row_id)

    return {
        "status": "PASS_PREFLIGHT" if not errors else "FAIL",
        "errors": sorted(set(errors)),
        "scientific_validity": "NOT_TESTED",
        "real_authorization": "NOT_TESTED",
        "result_digest": "NOT_VERIFIED",
        "publication_approval": "NOT_TESTED"
    }


if __name__ == "__main__":
    print(json.dumps(reconcile(TABLE, RESULT), indent=2))

For simplicity, this reference requires identical units and a defined decimal display format. Production implementations should use an approved unit-conversion model, suitable numerical comparison rules, full schema validation, and trusted artifact integrity verification.

Do not use this validator to establish scientific validity or actual publication authorization.

20. Execute the reference reconciliation

python table_reconciliation.py

The synthetic fixture is designed to return:

{
  "status": "PASS_PREFLIGHT",
  "errors": [],
  "scientific_validity": "NOT_TESTED",
  "real_authorization": "NOT_TESTED",
  "result_digest": "NOT_VERIFIED",
  "publication_approval": "NOT_TESTED"
}

PASS_PREFLIGHT means only that the supplied fixture values reconcile under the defined comparison rules.

21. Implement regression and negative tests

Save as test_table_reconciliation.py.

from dataclasses import replace
import unittest

from table_reconciliation import (
    RESULT,
    TABLE,
    SavedValue,
    reconcile
)


class TableReconciliationTests(unittest.TestCase):

    def assess(self, table=TABLE, result=RESULT):
        return reconcile(table, result)

    def assert_error(self, code, table=TABLE, result=RESULT):
        self.assertIn(code, self.assess(table, result)["errors"])

    def test_valid_fixture(self):
        self.assertEqual(
            self.assess()["status"],
            "PASS_PREFLIGHT"
        )

    def test_scientific_status_not_claimed(self):
        self.assertEqual(
            self.assess()["scientific_validity"],
            "NOT_TESTED"
        )

    def test_wrong_result_id(self):
        self.assert_error(
            "SOURCE_ID_MISMATCH",
            replace(TABLE, source_result_id="other")
        )

    def test_stale_result_revision(self):
        self.assert_error(
            "SOURCE_REVISION_MISMATCH",
            replace(TABLE, source_revision="v2")
        )

    def test_incorrect_value(self):
        cells = (
            replace(TABLE.cells[0], displayed="12.34"),
            TABLE.cells[1]
        )
        self.assert_error(
            "CELL_MISMATCH:scenario-a",
            replace(TABLE, cells=cells)
        )

    def test_unit_mismatch(self):
        cells = (
            replace(TABLE.cells[0], unit="kg CO2"),
            TABLE.cells[1]
        )
        self.assert_error(
            "UNIT_MISMATCH:scenario-a",
            replace(TABLE, cells=cells)
        )

    def test_missing_result_row(self):
        self.assert_error(
            "ROW_SET_MISMATCH",
            replace(RESULT, values=RESULT.values[:1])
        )

    def test_duplicate_table_row(self):
        self.assert_error(
            "ROW_IDENTITIES_INVALID",
            replace(
                TABLE,
                cells=TABLE.cells + (TABLE.cells[0],)
            )
        )

    def test_invalid_precision(self):
        self.assert_error(
            "PRECISION_INVALID",
            replace(TABLE, decimals=-1)
        )

    def test_invalid_numeric_value(self):
        cells = (
            replace(TABLE.cells[0], displayed="invalid"),
            TABLE.cells[1]
        )
        self.assert_error(
            "CELL_INVALID:scenario-a",
            replace(TABLE, cells=cells)
        )

    def test_missing_value_handling(self):
        result = replace(
            RESULT,
            values=(
                SavedValue("scenario-a", None, "t CO2"),
                RESULT.values[1]
            )
        )
        self.assert_error(
            "MISSING_VALUE_MISMATCH:scenario-a",
            result=result
        )

    def test_nonfinite_source(self):
        result = replace(
            RESULT,
            values=(
                SavedValue("scenario-a", "NaN", "t CO2"),
                RESULT.values[1]
            )
        )
        self.assert_error(
            "SOURCE_NONFINITE:scenario-a",
            result=result
        )

    def test_deterministic(self):
        self.assertEqual(self.assess(), self.assess())


if __name__ == "__main__":
    unittest.main()

22. Run and interpret the regression suite

python -m unittest -v test_table_reconciliation.py

The reference suite defines thirteen synthetic tests, covering:

  • Correct reconciliation under the stated precision policy.
  • Explicit separation from scientific validation.
  • Source result identity and revision mismatches.
  • Incorrect displayed values.
  • Unit mismatches.
  • Missing and duplicate row identities.
  • Invalid display precision.
  • Non-numeric and nonfinite values.
  • Missing-value treatment.
  • Deterministic comparison.

The suite is provided for local reproduction. These examples are not evidence of executed production or staging acceptance.

Additional production tests must validate actual dataset snapshots, computational digests, trusted permissions, scientific transformations, notebook dependencies, and rendered HTML, DOCX, and PDF outputs.

23. Define production integration tests

Table 4. Required production test matrix
Test Expected behavior
Authorized table generation Table binds to the exact saved result and report revision
Missing dataset Controlled source-resolution failure
Missing computational output Generation held; no substituted value
Revoked access Source read and unauthorized reuse denied
Wrong tenant Cross-owner source and report access denied
Stale result revision Version mismatch prevents acceptance
Digest mismatch Unexpected content changes detected
Schema incompatibility Typed failure or documented compatible migration
Incorrect calculation Independent numerical verification fails
Incorrect rounding Cell reconciliation fails
Unit mismatch Undocumented conversion rejected
Missing value Missingness represented explicitly
Duplicate generation No unintended duplicate or conflicting saved artifact
Renderer failure Incomplete output not marked accepted
HTML export Values and semantic table structure preserved
DOCX export Values, units, captions, and structure preserved
PDF export Values, units, reading order, and structure assessed
Public output Unapproved or private tables not exposed
Persistence replay Same saved result and table revision reconciled
Restore Authoritative provenance and source bindings preserved

An integration test should use actual persisted result records and a controlled database environment, not only in-memory fixture values.

Do not mount production data or credentials into disposable acceptance environments.

24. Preserve table provenance

W3C PROV-O can model the relationship among source datasets, computational activities, saved results, table-generation activities, and publication artifacts.

For a reproducible table, preserve:

  • Dataset snapshot and source authority.
  • Computational method and execution identity.
  • Saved result revision and content integrity.
  • Table specification and transformation revision.
  • Rendering activity and template revision.
  • Report revision and publication context.
  • Authorized reviewers and decisions.

Provenance helps establish what produced a result and how it was transformed. It does not by itself prove that the underlying methods or scientific interpretation are correct.

25. Define audit events and evidence receipts

Meaningful events may include:

table.specification.created
table.source.bound
table.reconciliation.started
table.reconciliation.failed
table.reconciliation.passed
table.render.started
table.render.completed
table.render.failed
table.review.approved
table.publication.released
table.publication.superseded

These are proposed event names, not confirmed platform events.

Audit records should preserve the actual actor or service identity, object revision, operation, timestamp, outcome, and nonsecret correlation reference.

Do not include confidential dataset contents or service credentials in broadly accessible logs.

26. Prepare a versioned acceptance receipt

{
  "schema_version": "example-1.0",
  "workflow": "report_table_reproducibility",
  "classification": "proposed",
  "implementation": {
    "repository": null,
    "commit": null,
    "deployed_build": null
  },
  "table": {
    "table_id": "table-017",
    "revision": "v2",
    "report_id": "report-017"
  },
  "source": {
    "dataset_snapshot": "snapshot-v3",
    "result_id": "result-017",
    "result_revision": "v3",
    "result_digest": null
  },
  "acceptance": {
    "source_identity": "not_tested",
    "dataset_integrity": "not_tested",
    "calculation_identity": "not_tested",
    "result_verification": "not_tested",
    "schema_validation": "not_tested",
    "cell_reconciliation": "not_tested",
    "unit_consistency": "not_tested",
    "rounding_policy": "not_tested",
    "missing_value_handling": "not_tested",
    "uncertainty_integrity": "not_tested",
    "tenant_isolation": "not_tested",
    "rights_and_permissions": "not_tested",
    "table_persistence": "not_tested",
    "html_export": "not_tested",
    "docx_export": "not_tested",
    "pdf_export": "not_tested",
    "publication_boundary": "not_tested",
    "migration": "not_tested",
    "restore": "not_tested",
    "runtime_acceptance": "not_tested"
  },
  "scientific_acceptance": false,
  "publication_approved": false,
  "release_decision": "NO_GO"
}

This is a proposed acceptance record and is not a verified Reporting Studio API or persistence schema.

Actual acceptance must reference executed tests, immutable or versioned source objects, trusted authorization, approved scientific review, and the deployed implementation revision.

27. Required implementation anchors

Table 5. Implementation evidence requirements
Anchor Required evidence
Owning repository Exact repository, branch, and commit
Table implementation Actual source module and generation handler
Table schema Versioned request, table, cell, and result contracts
Computational source Verified result and dataset snapshot integration
Notebook integration Actual reproducible computation and dependency records
Authorization Trusted tenant, project, and source-access enforcement
Persistence Authoritative table storage and read-back behavior
Numerical engine Precision, units, transformations, and uncertainty tests
Renderers Actual HTML, DOCX, and PDF implementations
CI Executed tests tied to source revision
Staging Authenticated integration evidence with controlled data
Migration Applied schema version and compatibility tests
Recovery Verified backup, restore, and reconciliation
Production Deployed build identity and explicit release decision

Where a contract or feature cannot be verified, label it Not Tested, Blocked, or Not Applicable with justification.

Do not substitute synthetic unit tests for actual implementation acceptance.

28. Migration and recovery requirements

Table schema migrations must preserve historical source and computational relationships.

Before changing the schema:

  1. Identify the authoritative current and target schema revisions.
  2. Determine which source bindings and precision rules are affected.
  3. Preserve approved historical table specifications.
  4. Test compatibility with existing saved results.
  5. Verify cell-level reconciliation after migration.
  6. Check downstream report and export compatibility.
  7. Perform isolated backup and restore tests.
  8. Document rollback or forward-recovery procedures.

Do not regenerate historical tables from newer datasets while labeling them as unchanged original outputs.

If historical source data are unavailable, record that limitation instead of fabricating equivalent values.

29. Scientific and operational acceptance

A table can satisfy its technical rendering contract and still require scientific review.

Scientific acceptance should examine:

  • Suitability of the source data.
  • Correctness of the computational method.
  • Appropriate handling of uncertainty.
  • Numerical stability and precision.
  • Scientific relevance of the selected values.
  • Completeness of the reported results.
  • Interpretation of the values in the accompanying report.

Reporting Studio should preserve these distinctions rather than using a generic successful-generation state to assert scientific reliability.

30. Developer troubleshooting and escalation

Escalate when:

  • A report table contains values that cannot be reconciled with the saved computational output.
  • A computational result changes without an associated table revision.
  • Units or precision rules are silently altered.
  • Missing observations are represented as zero.
  • Private computational results appear in unauthorized output.
  • Scientific uncertainty or methodological qualifications disappear.
  • A duplicate request creates conflicting accepted tables.
  • Report exports display different values without a documented transformation.
  • Approved publication history is overwritten.
  • A migration or restore loses the original source-result relationships.

Preserve the last accepted source, result, table specification, and report revision. Contain unsafe publication when required and reproduce the defect in authorized isolated staging.

Correct the narrowest responsible component, rerun the applicable numerical and access-control tests, and preserve a new acceptance receipt.

31. Technical and scientific references

  1. World Wide Web Consortium (W3C) (2013). PROV-O: The PROV Ontology. Available at: https://www.w3.org/TR/prov-o/.
  2. Frictionless Data. Table Schema Specification. Available at: https://specs.frictionlessdata.io/table-schema/.
  3. Wilkinson, M.D. et al. (2016). ‘The FAIR Guiding Principles for scientific data management and stewardship’, Scientific Data, 3, 160018. Available at: https://doi.org/10.1038/sdata.2016.18.
  4. Python Software Foundation. decimal — Decimal Fixed-Point and Floating-Point Arithmetic. Available at: Python decimal documentation.
  5. Python Software Foundation. dataclasses — Data Classes. Available at: Python dataclasses documentation.
  6. Python Software Foundation. unittest — Unit Testing Framework. Available at: Python unittest documentation.
  7. Nottingham, M., Wilde, E. and Dalal, S. (2023). Problem Details for HTTP APIs. RFC 9457. Available at: https://www.rfc-editor.org/rfc/rfc9457.html.
  8. Fielding, R., Nottingham, M. and Reschke, J. (2022). HTTP Semantics. RFC 9110. Available at: https://www.rfc-editor.org/rfc/rfc9110.html.

32. Completion and production-verification record

Table 6. Table reproducibility completion requirements
Field Required record
Implementation identity Owning repository, commit, and deployed build
Research project Authorized tenant, project, and owner
Dataset snapshot Exact source identity, revision, and integrity reference
Computational result Saved output, calculation revision, and verification evidence
Table specification Exact schema, version, fields, and cell mappings
Cell reconciliation All required values match approved outputs and transformations
Numerical precision Documented rounding and comparison behavior
Units Dimensions and conversions verified
Missing values Explicit missingness treatment
Uncertainty Relevant uncertainty calculations and descriptions preserved
Permissions Source access, table mutation, and publication rights verified
Provenance Traceable source, computation, transformation, and publication relationships
HTML rendering Correct values and accessible structure
DOCX rendering Correct values, captions, units, and document structure
PDF rendering Correct values, layout, and reading-order assessment
Persistence Saved table and source relationships verified by read-back
Idempotency Retries and duplicate commands handled correctly
Scientific review Applicable evidence and method assessment
Publication approval Exact report and table versions authorized for release
CI Executed source-specific regression tests
Staging acceptance Authenticated integration and negative tests
Migration and recovery Verified historical integrity, backup, restore, and rollback
Outstanding limitations Unresolved implementation, scientific, security, or publication conditions

Developer completion criterion: Table reproducibility is technically accepted when Reporting Studio generates report tables from exact, authorized dataset and computational-result revisions; cell values reconcile with the designated saved outputs under documented transformation, unit, precision, and missing-value rules; provenance and version history remain intact; rendered HTML, DOCX, and PDF outputs preserve the approved values and structure; and the workflow passes implementation-specific integration, authorization, persistence, and recovery acceptance.

Scientific limitation: A table that reconciles perfectly with a computational result is not necessarily scientifically correct. Data quality, methodology, numerical assumptions, uncertainty, and interpretation require independent assessment.

Current implementation status: Proposed table-generation architecture, source and computational-result contracts, versioned table specification, cell-level reconciliation requirements, precision and unit controls, missing-value treatment, scientific provenance, authorization, rendering, synthetic Python validator, thirteen reference regression tests, migration and recovery requirements, and production acceptance criteria documented. No specific Sustainable Catalyst Reporting Studio table-generation endpoint, Workbench result bridge, numerical validation service, persistence contract, or export renderer is certified without actual source audit, executed authenticated integration tests, scientific assessment, and operational acceptance.

Scroll to Top