Troubleshooting
Troubleshoot table reproducibility — Reporting Studio
Diagnose report tables whose values, units, row definitions, uncertainty, or source relationships no longer match their accepted computational evidence.
Application: Reporting Studio
Cross-application area: Workbench / Research / Workspace / Library / Research Lab / Citation Studio / Platform Core
Classification: Troubleshooting / Table Reproducibility
Audience: Researchers, scientific reviewers, data analysts, publication editors, technical support engineers, and software developers
Technical level: Intermediate to advanced
Reference environment: Python 3.10 or later; standard library
Relevant specifications: W3C PROV-O, Frictionless Table Schema, FAIR Guiding Principles, RFC 9457, and applicable accessible-document requirements
Primary outputs: Reconciliation diagnostic, source-version assessment, numerical discrepancy record, corrected table candidate, provenance receipt, and independently verified acceptance decision
1. Purpose and primary acceptance requirement
Reporting Studio tables should be reconstructable from controlled scientific data and saved computational results.
A table reproducibility failure occurs when the reported values, units, row definitions, transformations, uncertainty measures, or source relationships cannot be reconciled with the evidence designated by the publication.
Why does a reported scientific table differ from its approved computational evidence, and can the discrepancy be corrected without changing source history, compromising scientific interpretation, or releasing an unapproved report revision?
Primary acceptance condition: Every reported numerical value must reconcile with its designated saved computational output under the documented transformation, unit, missing-value, and precision rules.
Three independent findings are required:
- Computational integrity: The saved result is tied to the intended dataset snapshot, method, and execution.
- Table integrity: The reported cells faithfully represent that saved result.
- Scientific and publication integrity: The analysis is suitable for the research purpose and the table is authorized for the intended report revision.
Passing one condition does not establish the others.
2. Recognize typical failure symptoms
- A report table contains different values from the saved Workbench output.
- The result identifier resolves, but its revision is incorrect.
- A source dataset has changed since the table was generated.
- Rows or columns are missing, duplicated, or reordered incorrectly.
- A calculated value is linked to the wrong scenario or observation.
- Numerical precision or rounding differs from the documented policy.
- Units are missing or an incorrect conversion was applied.
- Negative signs, exponents, or significant digits are lost.
- Missing observations appear as zero.
- Aggregated totals do not equal the specified calculation.
- Confidence intervals or uncertainty values are inconsistent.
- The table displays stale cached results.
- The HTML table is correct but its DOCX or PDF export differs.
- The interface reports success despite a failed calculation or incomplete output.
- Authorization prevents the table from accessing its source result.
- A retry creates duplicate or conflicting table artifacts.
- An unapproved table becomes visible in a public research document.
Do not regenerate the table immediately. First establish which source, calculation, rendering, or publication boundary produced the discrepancy.
3. Identify the failure boundary
| Boundary | Typical defect | First diagnostic |
|---|---|---|
| Dataset | Missing or changed source snapshot | Verify immutable dataset identity |
| Computation | Wrong method, parameters, or result revision | Inspect authoritative execution record |
| Result persistence | Saved output missing or corrupted | Compare stored identity and digest |
| Table specification | Incorrect cell mapping or aggregation | Inspect versioned table contract |
| Numerical formatting | Incorrect rounding or display precision | Compare raw and displayed values |
| Units | Incorrect or omitted conversion | Verify dimensional consistency |
| Missing data | Null value interpreted as zero | Inspect missing-value policy |
| Rendering | Incorrect HTML, DOCX, or PDF representation | Compare output with approved table |
| Authorization | Source read or table mutation denied | Verify trusted access decisions |
| Publication | Unapproved or stale table released | Inspect exact-version approval state |
A renderer defect should not be corrected by editing the underlying scientific result. Likewise, an incorrect calculation should not be concealed with a manual table-cell replacement.
4. Diagnose in the correct order
- Identify the report, table, originating project, and actual observed defect.
- Resolve the authenticated actor and authorized source-access scope.
- Retrieve the authoritative table specification and revision.
- Identify the designated saved computational result and dataset snapshot.
- Verify their actual revisions, integrity references, and execution states.
- Inspect the declared row and column mappings.
- Compare unrounded source values with the specified calculation.
- Apply the documented unit-conversion and rounding rules.
- Check missing values, exclusions, aggregates, and uncertainty.
- Compare rendered HTML, DOCX, and PDF representations where applicable.
- Inspect source persistence, cache state, and publication approval.
- Correct the narrowest responsible component.
- Repeat numerical, authorization, rendering, and persistence acceptance.
- Record a sanitized diagnostic and recovery receipt.
Perform read-only diagnosis before initiating regeneration, publication, or other state-changing operations.
5. Resolve the authoritative source snapshot
A reproducible table must identify the exact source data used by its computational result.
Record:
- Dataset identifier.
- Snapshot or immutable revision.
- Dataset schema.
- Source content digest, where applicable.
- Observation or coverage period.
- Source provenance.
- Rights and permitted processing scope.
- Applicable missing-value conventions.
For example:
Table: table-017
Expected dataset: dataset-017
Expected snapshot: v3
Current dataset revision: v4
Saved calculation input: snapshot v3
Diagnosis:
Use the actual approved snapshot v3.
Do not silently substitute current revision v4.
A newer dataset is not necessarily the correct dataset for reproducing a previously approved report.
6. Verify the saved computational result
Compare the table’s result reference with the authoritative computational record.
Relevant metadata include:
- Result ID and revision.
- Parent dataset snapshot.
- Method, script, notebook, or model revision.
- Parameter-set revision.
- Execution identifier and outcome.
- Saved result integrity digest.
- Output schema and expected fields.
- Verification state and its scope.
If the saved output cannot be resolved, do not replace it with a fresh calculation and present the new result as the original evidence.
A fresh execution may be useful for independent reproduction, but it must have a new identity and an explicit relationship to the previous result.
7. Reconcile cells by stable identity
Tables should bind values to stable row and field identities rather than relying solely on display order.
For each numerical cell, verify:
- Correct source-result field.
- Correct scenario or observation identifier.
- Correct source revision.
- Correct transformation.
- Correct unit.
- Correct precision and displayed value.
For example, if the source result maps scenario-a to 12.3456 and scenario-b to 8.1000, swapping the displayed values is a reproducibility failure even when both numbers are individually valid.
Row counts alone cannot establish correct row-to-result relationships.
8. Diagnose rounding and precision differences
Scientific calculations should retain their required numerical precision until the approved display transformation is applied.
For a stored decimal value x, a simple display rule may be expressed as:
display(x) = quantize(x, decimal_places, rounding_mode)
Illustrative example:
| Stored value | Policy | Expected display |
|---|---|---|
| 12.3456 | Two decimals, half-even | 12.35 |
| 8.1000 | Two decimals, half-even | 8.10 |
| 2.345 | Two decimals, half-even | 2.34 |
| 2.355 | Two decimals, half-even | 2.36 |
These are synthetic examples and are not observed research values.
Python’s decimal module supports explicit rounding policies, including ROUND_HALF_EVEN.
Do not use the rounded display value as input to a later calculation unless the approved scientific method explicitly requires it.
For floating-point numerical results, comparisons may require scientifically justified tolerances. A tolerance must not be chosen simply to conceal an unexplained discrepancy.
9. Diagnose unit mismatches
A numerical value can match its source while representing the wrong physical quantity.
Check:
- Source unit.
- Target display unit.
- Conversion factor or transformation.
- Dimensional compatibility.
- Relevant denominators, such as area or time.
- Scientific context of the unit.
For example:
Source quantity:
1,250 kg CO2
Correct conversion:
1.25 metric tons CO2
Incorrect display:
1,250 t CO2
Do not treat unit mismatches as cosmetic formatting defects.
For scientific measures such as carbon mass and carbon dioxide mass, use an explicit conversion method and verify the intended quantity. Similar-looking labels may represent materially different physical measures.
10. Diagnose missing and invalid observations
Missing observations must be distinguished from genuine zero values.
Potential states include:
- Not observed.
- Not applicable.
- Below a detection limit.
- Invalid measurement.
- Failed computation.
- Restricted or withheld value.
- Undefined mathematical result.
Frictionless Table Schema provides field types, constraints, keys, and explicit missing-value conventions. These can inform a source-data validation contract.
Do not silently substitute zero, an average, or another fabricated value for missing scientific observations.
When missing data affect calculations, record the exclusion or imputation method and assess its effect on the result.
11. Diagnose aggregation failures
Tables may present sums, means, weighted averages, rates, ratios, or grouped statistics.
For an arithmetic mean:
mean = sum(valid observations) / count(valid observations)
The denominator depends on the declared missing-data policy.
For a weighted mean:
weighted_mean =
sum(weight_i × value_i)
-----------------------
sum(weight_i)
Before accepting an aggregate, verify:
- Included observations.
- Grouping keys.
- Weight definitions.
- Exclusion rules.
- Relevant denominators.
- Aggregation method and revision.
- Unit consistency.
Never reconcile an aggregate solely by checking whether a displayed total appears numerically plausible.
12. Validate uncertainty and scientific interpretation
Tables often include estimates, confidence intervals, standard deviations, standard errors, or model uncertainty ranges.
Check that each uncertainty value:
- Comes from the correct computation.
- Uses the intended statistical method.
- Has the correct confidence or coverage interpretation.
- Uses appropriate units.
- Matches the intended observation or scenario.
- Has not been replaced by an unrelated error metric.
A table that reconciles numerically may remain scientifically misleading if important uncertainty, exclusions, or methodological limitations are absent.
Scientific review is required in addition to cell-level testing.
13. Distinguish source, calculation, and rendering failures
| Source result | Table specification | Rendered output | Likely boundary |
|---|---|---|---|
| Correct | Correct | Incorrect | Renderer or export |
| Correct | Incorrect | Matches specification | Table mapping or transformation |
| Incorrect | Matches result | Matches specification | Source calculation or analytical method |
| Missing | References missing result | Displays stale values | Persistence, cache, or unsafe fallback |
| Correct | Correct | Correct | Still requires scientific and publication review |
Correct the component responsible for the discrepancy rather than manually changing values at a later stage.
14. Check HTML, DOCX, and PDF outputs
Where tables are exported, verify the final artifact rather than only the source editor.
Inspect:
- Numerical values and signs.
- Column headers and units.
- Row order and group labels.
- Captions and footnotes.
- Uncertainty and missing-value symbols.
- Table breaks and pagination.
- Semantic header relationships.
- Accessible reading order.
- Source and citation attribution.
For HTML, inspect semantic table markup. For DOCX and PDF, use relevant format and accessibility validation procedures.
Successful file generation does not prove that the scientific table is complete or accessible.
15. Diagnose authorization and publication-state failures
Source access, table editing, export, and public publication may require different permissions.
Verify:
- Authenticated actor or service identity.
- Organization, tenant, and project ownership.
- Access to the exact dataset snapshot.
- Access to the saved computational result.
- Permission to create or revise the table.
- Permission to generate document exports.
- Rights to distribute the underlying data or derived results.
- Exact-version scientific and editorial approval.
Do not treat successful table generation as authorization for public distribution.
When access is revoked, previously cached or stored representations must still respect the applicable access controls.
16. Diagnose stale cache or persisted output
A displayed table may contain values generated from an earlier result revision.
Compare:
- Current authoritative computational result.
- Result revision referenced by the table.
- Stored table specification revision.
- Renderer revision.
- Cache key and validation state.
- Saved artifact or document revision.
Do not automatically refresh an approved historical table using the newest computational result.
Preserve its original result binding and create a new revision if a new output is intended.
17. Define proposed diagnostic classifications
| Code | Meaning | Safe response |
|---|---|---|
| TABLE_SOURCE_NOT_FOUND | Dataset or computational result missing | Hold generation and resolve source identity |
| TABLE_ACCESS_DENIED | Unauthorized source access or mutation | Deny without exposing protected data |
| TABLE_SOURCE_REVISION_MISMATCH | Expected and actual result revisions differ | Reconcile exact version |
| TABLE_DIGEST_MISMATCH | Result content differs from stored integrity reference | Preserve evidence and investigate |
| TABLE_SCHEMA_INCOMPATIBLE | Input or table schema unsupported | Use documented compatibility procedure |
| TABLE_ROW_IDENTITY_INVALID | Duplicate or missing row key | Reject ambiguous mapping |
| TABLE_CELL_MISMATCH | Displayed value differs from expected output | Investigate mapping, transformation, or rendering |
| TABLE_UNIT_MISMATCH | Source and displayed unit inconsistent | Reject undocumented conversion |
| TABLE_MISSING_VALUE_MISMATCH | Missing data incorrectly represented | Apply approved missingness policy |
| TABLE_PRECISION_INVALID | Rounding or display precision unsupported | Hold rendering |
| TABLE_OUTPUT_INCOMPLETE | Rendered table missing content | Preserve artifact and diagnose renderer |
| TABLE_PUBLICATION_NOT_APPROVED | Release authorization incomplete | Keep output nonpublic |
| TABLE_WRITE_OUTCOME_UNKNOWN | Previous generation or save outcome uncertain | Read authoritative state before retrying |
These are proposed identifiers, not verified Reporting Studio API error codes.
Where implemented, RFC 9457 problem details may be used for structured, sanitized HTTP errors.
18. Prepare a synthetic reconciliation exercise
The following exercise checks whether a fictional table matches a saved computational result under a declared numerical policy.
It validates:
- Result identity and revision.
- Source content digest.
- Row identity and completeness.
- Cell numerical values.
- Explicit decimal rounding.
- Unit agreement.
- Missing-value representation.
It does not access actual Sustainable Catalyst services or verify the scientific validity of the source calculation.
mkdir table-reproducibility-troubleshooting
cd table-reproducibility-troubleshooting
python3 -m venv .venv
source .venv/bin/activate
python --version
Create table_diagnostics.py and test_table_diagnostics.py.
19. Implement the Python diagnostic
Save as table_diagnostics.py.
from dataclasses import dataclass, replace
from decimal import Decimal, InvalidOperation, ROUND_HALF_EVEN
from hashlib import sha256
import json
@dataclass(frozen=True)
class SourceRow:
row_id: str
value: str | None
unit: str
@dataclass(frozen=True)
class SavedResult:
result_id: str
revision: str
rows: tuple[SourceRow, ...]
@dataclass(frozen=True)
class DisplayRow:
row_id: str
value: str
unit: str
@dataclass(frozen=True)
class Table:
source_id: str
source_revision: str
source_digest: str
decimals: int
rows: tuple[DisplayRow, ...]
def canonical_digest(result):
payload = {
"result_id": result.result_id,
"revision": result.revision,
"rows": [
{
"row_id": row.row_id,
"value": row.value,
"unit": row.unit
}
for row in result.rows
]
}
encoded = json.dumps(
payload,
sort_keys=True,
separators=(",", ":")
).encode("utf-8")
return sha256(encoded).hexdigest()
SOURCE = SavedResult(
"result-017",
"v3",
(
SourceRow("scenario-a", "12.3456", "t CO2"),
SourceRow("scenario-b", "8.1000", "t CO2")
)
)
TABLE = Table(
"result-017",
"v3",
canonical_digest(SOURCE),
2,
(
DisplayRow("scenario-a", "12.35", "t CO2"),
DisplayRow("scenario-b", "8.10", "t CO2")
)
)
def reconcile(table, result):
findings = []
if table.source_id != result.result_id:
findings.append("SOURCE_ID_MISMATCH")
if table.source_revision != result.revision:
findings.append("SOURCE_REVISION_MISMATCH")
if table.source_digest != canonical_digest(result):
findings.append("SOURCE_DIGEST_MISMATCH")
if (
type(table.decimals) is not int
or table.decimals not in range(0, 13)
):
findings.append("PRECISION_INVALID")
return {
"status": "FAIL",
"findings": sorted(set(findings)),
"scientific_validity": "NOT_TESTED",
"real_authorization": "NOT_TESTED"
}
source_ids = [r.row_id for r in result.rows]
display_ids = [r.row_id for r in table.rows]
if (
not all(source_ids)
or len(source_ids) != len(set(source_ids))
or not all(display_ids)
or len(display_ids) != len(set(display_ids))
):
findings.append("ROW_IDENTITIES_INVALID")
sources = {r.row_id: r for r in result.rows}
displays = {r.row_id: r for r in table.rows}
if set(sources) != set(displays):
findings.append("ROW_SET_MISMATCH")
quantum = Decimal(1).scaleb(-table.decimals)
for row_id in sorted(set(sources) & set(displays)):
source = sources[row_id]
display = displays[row_id]
if source.unit != display.unit:
findings.append("UNIT_MISMATCH:" + row_id)
if source.value is None:
if display.value != "N/A":
findings.append("MISSING_VALUE_MISMATCH:" + row_id)
continue
try:
expected_source = Decimal(source.value)
if not expected_source.is_finite():
findings.append("SOURCE_NONFINITE:" + row_id)
continue
expected = expected_source.quantize(
quantum,
rounding=ROUND_HALF_EVEN
)
actual = Decimal(display.value)
if not actual.is_finite():
findings.append("CELL_INVALID:" + row_id)
elif (
actual != expected
or actual.as_tuple().exponent != -table.decimals
):
findings.append("CELL_MISMATCH:" + row_id)
except (InvalidOperation, ValueError):
findings.append("CELL_INVALID:" + row_id)
return {
"status": "PASS_PREFLIGHT" if not findings else "FAIL",
"findings": sorted(set(findings)),
"scientific_validity": "NOT_TESTED",
"real_authorization": "NOT_TESTED",
"publication_approval": "NOT_TESTED"
}
if __name__ == "__main__":
print(json.dumps(reconcile(TABLE, SOURCE), indent=2))
This diagnostic checks internally supplied snapshots and display values. It does not independently retrieve an authoritative computational result, validate a real dataset snapshot, enforce service permissions, or assess the underlying scientific method.
Its digest is calculated using a defined JSON serialization for the synthetic example. Production artifact digests must use the canonicalization and integrity contract of the actual owning service.
20. Execute the diagnostic
python table_diagnostics.py
Expected synthetic result:
{
"status": "PASS_PREFLIGHT",
"findings": [],
"scientific_validity": "NOT_TESTED",
"real_authorization": "NOT_TESTED",
"publication_approval": "NOT_TESTED"
}
The result shows only that the fictional table reconciles with its supplied source fixture.
It does not establish that the source data or calculation is scientifically correct.
21. Implement negative and regression tests
Save as test_table_diagnostics.py.
from dataclasses import replace
import unittest
from table_diagnostics import (
SOURCE, TABLE, SourceRow,
canonical_digest, reconcile
)
class TableDiagnosticTests(unittest.TestCase):
def assess(self, table=TABLE, source=SOURCE):
return reconcile(table, source)
def expect(self, code, table=TABLE, source=SOURCE):
self.assertIn(
code,
self.assess(table, source)["findings"]
)
def test_valid_fixture(self):
self.assertEqual(
self.assess()["status"],
"PASS_PREFLIGHT"
)
def test_science_not_certified(self):
self.assertEqual(
self.assess()["scientific_validity"],
"NOT_TESTED"
)
def test_wrong_source_identity(self):
self.expect(
"SOURCE_ID_MISMATCH",
replace(TABLE, source_id="other-result")
)
def test_stale_revision(self):
self.expect(
"SOURCE_REVISION_MISMATCH",
replace(TABLE, source_revision="v2")
)
def test_digest_mismatch(self):
self.expect(
"SOURCE_DIGEST_MISMATCH",
replace(TABLE, source_digest="wrong-digest")
)
def test_changed_source_detected(self):
changed = replace(
SOURCE,
rows=(
replace(SOURCE.rows[0], value="13.0000"),
SOURCE.rows[1]
)
)
self.expect(
"SOURCE_DIGEST_MISMATCH",
source=changed
)
def test_incorrect_cell_value(self):
self.expect(
"CELL_MISMATCH:scenario-a",
replace(
TABLE,
rows=(
replace(TABLE.rows[0], value="12.34"),
TABLE.rows[1]
)
)
)
def test_wrong_unit(self):
self.expect(
"UNIT_MISMATCH:scenario-a",
replace(
TABLE,
rows=(
replace(TABLE.rows[0], unit="kg CO2"),
TABLE.rows[1]
)
)
)
def test_missing_row(self):
self.expect(
"ROW_SET_MISMATCH",
replace(TABLE, rows=TABLE.rows[:1])
)
def test_duplicate_row(self):
self.expect(
"ROW_IDENTITIES_INVALID",
replace(
TABLE,
rows=TABLE.rows + (TABLE.rows[0],)
)
)
def test_invalid_precision(self):
self.expect(
"PRECISION_INVALID",
replace(TABLE, decimals=-1)
)
def test_invalid_numeric_display(self):
self.expect(
"CELL_INVALID:scenario-a",
replace(
TABLE,
rows=(
replace(TABLE.rows[0], value="invalid"),
TABLE.rows[1]
)
)
)
def test_missing_value_not_zero(self):
source = replace(
SOURCE,
rows=(
SourceRow("scenario-a", None, "t CO2"),
SOURCE.rows[1]
)
)
table = replace(
TABLE,
source_digest=canonical_digest(source),
rows=(
replace(TABLE.rows[0], value="0.00"),
TABLE.rows[1]
)
)
self.expect(
"MISSING_VALUE_MISMATCH:scenario-a",
table,
source
)
def test_nonfinite_source(self):
source = replace(
SOURCE,
rows=(
replace(SOURCE.rows[0], value="NaN"),
SOURCE.rows[1]
)
)
table = replace(
TABLE,
source_digest=canonical_digest(source)
)
self.expect(
"SOURCE_NONFINITE:scenario-a",
table,
source
)
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_diagnostics.py
The reference suite defines fifteen synthetic tests covering:
- Valid source-to-table reconciliation.
- Explicit exclusion of scientific certification.
- Incorrect result identity and revision.
- Stored digest mismatches.
- Changed computational result content.
- Incorrect numerical values.
- Unit mismatches.
- Missing and duplicate rows.
- Invalid precision settings.
- Non-numeric displayed values.
- Incorrect missing-value substitution.
- Nonfinite source values.
- Deterministic diagnostics.
These are reference test definitions for local reproduction, not evidence of executed tests against deployed Sustainable Catalyst services.
Production integration tests must additionally validate actual dataset and result retrieval, trusted authorization, transformations, export rendering, persistence, retries, and public access controls.
23. Verify actual Reporting Studio integration
A real acceptance test must use the implemented source and table contracts.
Required checks include:
- Resolve the table specification using an authorized identity.
- Read the designated saved computational result.
- Verify the actual result revision and integrity reference.
- Compare every mandatory cell against its source mapping.
- Check documented transformations, units, and precision.
- Verify required uncertainty and missing-value treatment.
- Generate the table using the actual rendering service.
- Compare the persisted table with the approved specification.
- Export the applicable HTML, DOCX, or PDF representation.
- Check rendered values and accessible structure.
- Reload the report and verify source relationships persist.
- Repeat selected tests with revoked and cross-tenant synthetic identities.
Do not treat an HTTP success response or visible report preview as proof of completed scientific reconciliation.
24. Verify negative access and publication boundaries
| Test | Expected outcome |
|---|---|
| Missing computational result | Generation held; no fabricated values |
| Wrong result revision | Exact-version conflict recorded |
| Corrupt result artifact | Integrity failure prevents acceptance |
| Revoked source access | Access denied without information leakage |
| Wrong tenant | Cross-owner read and write denied |
| Schema mismatch | Typed validation failure |
| Incorrect unit conversion | Numerical or dimensional validation fails |
| Missing values | No automatic substitution with zero |
| Duplicate generation request | No unintended conflicting artifacts |
| Renderer timeout | Incomplete artifact not marked accepted |
| Unauthorized public release | Unapproved table inaccessible publicly |
| Restore from backup | Original source and result identities preserved |
Use isolated staging and synthetic project identities for security, persistence, and destructive recovery tests.
Do not use production research volumes as disposable fixtures.
25. Recover safely from a reproducibility failure
Follow a controlled recovery procedure:
- Preserve the original. Retain the last accepted source, computational result, table specification, and report revision.
- Identify the discrepancy. Determine whether the defect originates in source data, calculation, table mapping, numerical policy, renderer, or storage.
- Assess scientific impact. Determine whether the reported results or conclusions were affected.
- Contain unsafe publication. Hold release or initiate an authorized correction workflow where required.
- Inspect prior writes. Establish whether earlier regeneration or persistence commands committed.
- Repair narrowly. Correct the responsible source, mapping, computation, or rendering component.
- Create a controlled revision. Preserve earlier accepted evidence instead of overwriting history.
- Repeat reconciliation. Check numerical values, units, precision, and missingness.
- Repeat rendering acceptance. Inspect the actual generated document.
- Verify authorization and persistence. Read the accepted state after reload.
- Record closure. Preserve the correction, tests, scientific implications, and approval outcome.
Where an already published table contains a material error, use the applicable publication correction and notification procedure rather than silently replacing the published artifact.
26. Preserve provenance and revision history
A complete table provenance chain should connect:
Dataset snapshot
|
v
Analytical method
|
v
Computational execution
|
v
Saved result
|
v
Table specification
|
v
Reconciliation activity
|
v
Rendered table
|
v
Reviewed report revision
|
v
Approved publication
W3C PROV-O provides a model for representing entities, activities, agents, and derivation relationships.
Provenance supports independent examination but does not establish that an analysis or conclusion is scientifically correct.
Do not modify original source or review records merely to make a later table appear consistent.
27. Prepare a sanitized incident receipt
The following JSON represents a proposed evidence record.
{
"schema_version": "example-1.0",
"workflow": "reporting_table_reproducibility_troubleshooting",
"classification": "synthetic",
"incident": {
"case_id": "table-incident-017",
"suspected_failure": "TABLE_CELL_MISMATCH",
"root_cause_confirmed": false
},
"source": {
"dataset_snapshot": "snapshot-v3",
"result_id": "result-017",
"result_revision": "v3",
"result_digest": null
},
"table": {
"table_id": "table-017",
"table_revision": "v2",
"report_id": "report-017"
},
"acceptance": {
"source_identity": "not_tested",
"dataset_integrity": "not_tested",
"result_integrity": "not_tested",
"method_revision": "not_tested",
"table_schema": "not_tested",
"row_identity": "not_tested",
"cell_reconciliation": "not_tested",
"unit_consistency": "not_tested",
"rounding_policy": "not_tested",
"missing_value_policy": "not_tested",
"aggregation_integrity": "not_tested",
"uncertainty_integrity": "not_tested",
"source_authorization": "not_tested",
"tenant_isolation": "not_tested",
"table_persistence": "not_tested",
"html_rendering": "not_tested",
"docx_rendering": "not_tested",
"pdf_rendering": "not_tested",
"scientific_review": "not_tested",
"publication_boundary": "not_tested",
"recovery_acceptance": "not_tested",
"production_runtime": "not_tested"
},
"scientific_acceptance": false,
"publication_approved": false,
"incident_resolved": false,
"release_decision": "NO_GO"
}
This is an illustrative schema, not an existing verified Reporting Studio incident or API contract.
Actual receipts should include authoritative source and table versions, nonsecret execution references, observed failures, accepted corrections, and executed test evidence.
28. Technical and scientific acceptance matrix
| Criterion | Pass condition | Required evidence |
|---|---|---|
| Project identity | Correct owner, report, and research context resolved | Trusted project record |
| Dataset source | Exact controlled snapshot identified | Dataset revision and provenance |
| Saved computation | Correct result, method, and revision identified | Computational execution record |
| Result integrity | Saved artifact matches authoritative integrity reference | Digest or immutable artifact verification |
| Table specification | Correct version, mappings, and schema | Versioned table contract |
| Cell reconciliation | All required numerical cells match designated saved outputs | Numerical comparison receipt |
| Units | Source and displayed quantities compatible | Dimensional and conversion checks |
| Precision | Documented display and rounding rules applied | Precision regression tests |
| Missing data | Missing values distinguished from genuine zeros | Missingness policy tests |
| Aggregations | Groups, denominators, weights, and exclusions correct | Independent aggregate checks |
| Uncertainty | Relevant uncertainty measures preserved and correctly labeled | Scientific review |
| Source authorization | Dataset and computation access permitted | Authenticated positive and negative tests |
| Tenant isolation | Cross-owner reads and writes denied | Security acceptance |
| HTML rendering | Correct values and semantic structure | Rendered output comparison |
| DOCX rendering | Correct values, units, captions, and structure | Document inspection |
| PDF rendering | Correct values, layout, and relevant accessibility checks | PDF inspection |
| Persistence | Source binding and table survive reload | Saved-state read-back |
| Publication | Only approved table revision released | Publication authorization evidence |
| Recovery | Original source and accepted history preserved | Versioned recovery receipt |
| Runtime | Actual deployed workflow independently tested | CI, API, and browser evidence |
Acceptance rule: Record each applicable criterion as Pass, Fail, Not Tested, or Not Applicable. A mandatory failed or untested result-integrity, cell-reconciliation, source-authorization, scientific-review, or publication condition prevents full acceptance as appropriate.
29. Sustainable Catalyst cross-application responsibilities
| Application | Intended responsibility |
|---|---|
| Reporting Studio | Maintain table specifications, report revisions, rendering, and publication relationships |
| Workbench | Provide saved computational results, method revisions, and reproducibility evidence |
| Library | Maintain authoritative datasets, sources, licenses, and governed artifact references |
| Research Lab | Evaluate numerical methods, scientific uncertainty, and interpretation |
| Research | Preserve research-object relationships and approved scientific outputs |
| Workspace | Manage project ownership, review assignments, and publication approval |
| Citation Studio | Support source attribution and bibliography relationships where implemented |
| Platform Core | Enforce trusted identity, authorization, and tenant isolation |
These are proposed architectural responsibilities. Their current deployment and integration status require independent verification.
30. Required implementation and deployment audit
Before labeling this procedure production verified, inspect:
- Actual Reporting Studio and Workbench repositories and commits.
- Source dataset and snapshot contracts.
- Saved computational-result schemas and integrity checks.
- Table specification and cell-mapping implementation.
- Precision, rounding, and unit-conversion behavior.
- Missing-value and aggregation handling.
- Uncertainty and statistical reporting.
- Trusted identity and source authorization.
- Table persistence and versioning.
- HTML, DOCX, and PDF rendering implementations.
- Publication and correction-state handling.
- Idempotency, retries, and concurrency controls.
- Executed numerical and integration tests.
- CI evidence tied to exact implementation revisions.
- Authenticated staging and browser acceptance.
- Migration, backup, restore, and rollback procedures.
- Known disabled integrations and outstanding release blockers.
Do not infer production readiness from a successful synthetic validator, editor preview, or generated table file.
31. Escalation and incident handling
Escalate when:
- Published numerical values cannot be reconciled with saved results.
- Required source datasets or computational outputs are missing.
- Method or result revisions differ from those used in approval.
- Numerical values, units, or uncertainty change without documented transformation.
- Private scientific results become publicly accessible.
- Duplicate or conflicting table revisions appear.
- Historical source or approval evidence is overwritten.
- Corrections may materially change published conclusions.
- Recovery requires destructive modification of production data.
Preserve the authoritative evidence and last accepted publication state. Stop unsafe publication or mutation where appropriate, and involve the responsible scientific, editorial, technical, rights, or security authority.
Never disclose confidential data, service credentials, protected project records, or private research results in public issue reports.
32. Technical and scientific references
- World Wide Web Consortium (W3C). PROV-O: The PROV Ontology. Available at: https://www.w3.org/TR/prov-o/.
- Frictionless Data. Table Schema Specification. Available at: https://specs.frictionlessdata.io/table-schema/.
- 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.
- Python Software Foundation. decimal — Decimal Fixed-Point and Floating-Point Arithmetic. Available at: Python decimal documentation.
- Python Software Foundation. hashlib — Secure Hashes and Message Digests. Available at: Python hashlib documentation.
- Python Software Foundation. dataclasses — Data Classes. Available at: Python dataclasses documentation.
- Python Software Foundation. unittest — Unit Testing Framework. Available at: Python unittest documentation.
- 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.
33. Completion and verification record
| Field | Required record |
|---|---|
| Incident identifier | Unique case and responsible component owner |
| Research context | Project, scientific purpose, and report identity |
| Dataset snapshot | Authoritative source and revision |
| Saved computation | Exact method, parameters, result, and execution identity |
| Source integrity | Verified content digest or immutable artifact reference |
| Table specification | Versioned mappings, schema, and precision policy |
| Cell reconciliation | Complete numerical comparison and discrepancy record |
| Units | Source and display units and documented conversions |
| Missing values | Explicit treatment and applicable exclusions |
| Aggregations | Grouping, weighting, and denominator checks |
| Uncertainty | Correct statistical or scientific interpretation |
| Scientific impact | Assessment of affected findings or conclusions |
| Permissions | Trusted source, project, and publication authorization |
| Rendered outputs | HTML, DOCX, and PDF reconciliation as applicable |
| Persistence | Saved table and source relationships verified |
| Recovery | Authorized correction preserving accepted history |
| Regression testing | Executed tests tied to the implementation revision |
| Scientific reviewer | Responsible assessor and review scope |
| Publication authority | Final release decision and version |
| Production identity | Actual repository, commit, and deployed build |
| Outstanding limitations | Unresolved scientific, technical, rights, or governance conditions |
Completion criterion: A table reproducibility defect is resolved when the exact source dataset and computational result have been identified; all mandatory table cells reconcile with the saved result under documented calculation, unit, precision, and missing-value policies; scientific and publication impacts have been assessed; any corrected table is reviewed and properly versioned; and the resulting HTML, DOCX, or PDF representations preserve the approved numerical and scientific content.
Scientific limitation: Numerical reconciliation demonstrates consistency between a table and its designated computational output. It does not independently establish that the dataset is reliable, the analytical method is appropriate, uncertainty has been correctly characterized, or the research conclusion is justified.
Current implementation status: Table reproducibility troubleshooting methodology, source and calculation diagnostics, numerical precision, unit and missing-data controls, aggregation assessment, rendering and publication checks, synthetic Python validator, fifteen regression-test definitions, safe recovery procedure, and proposed acceptance requirements documented. No specific Sustainable Catalyst Reporting Studio table service, Workbench computational-result integration, persistence contract, or production renderer has been certified through this article. Production verification remains dependent on actual implementation inspection, authenticated integration tests, authoritative computational records, and independent scientific review.
