Worked Examples
Apply table reproducibility — Reporting Studio
Generate report tables from controlled datasets and calculations.
Application: Reporting Studio
Related applications: Research / Workspace / Library / Workbench / Research Lab / Citation Studio / Site Intelligence / Platform Core
Classification: Practical Guides / Table Reproducibility
Audience: Researchers, scientific authors, analysts, editors, developers, and research reviewers
Technical level: Intermediate to advanced
Estimated reading time: 16–20 minutes, excluding code execution and independent numerical review
Primary acceptance: Every reported numerical table value reconciles with a saved, identifiable computation or controlled source dataset and retains its scientific meaning across revisions and exports.
Implementation status: Proposed authoring and validation methodology; specific production capabilities unverified.
1. Purpose and governing principle
A scientific table is a compact presentation of research evidence. It may summarize observations, descriptive statistics, model results, comparative estimates, or uncertainty intervals. Its numerical contents should be traceable to documented source data and transformations, not maintained as unexplained values typed into a document.
Could an independent reviewer identify the source revision, reconstruct each derived value, explain the units and uncertainty, and verify that the published table matches the accepted computation?
Core acceptance principle: The displayed table must reconcile to an approved data-and-method snapshot. Reproducibility supports auditability; it does not independently establish the validity of the underlying measurements or inference.
2. Identify which table is being constructed
| Type | Contents | Specific risk |
|---|---|---|
| Raw observation | Individual measurements and observations | Incorrect units, transcription, missing-data coding |
| Descriptive summary | Counts, means, medians, ranges, dispersion | Unspecified denominator or statistic |
| Comparison | Differences, ratios, percentage changes | Wrong baseline or denominator |
| Model output | Estimates, predictions, fitted parameters | Unstated assumptions and model revision |
| Uncertainty | Confidence, credible or uncertainty intervals | Mislabeling interval meaning |
| Evidence synthesis | Study-level findings and quality attributes | Incomparable methods, biased selection |
| Scenario | Conditional outcomes under defined inputs | Presenting scenarios as measured observations |
Select the table type before defining its rows, columns, precision and caption. Do not combine measured values and modeled estimates in an unlabeled column.
3. Establish project and authorization context
Confirm the organization, project, research object, report ID, manuscript revision, responsible analyst, target audience and distribution status. Identify whether the table contains public, restricted, licensed or embargoed information. A user’s ability to see a dataset is not necessarily permission to reproduce it in a public publication.
Where relevant, associate the report with the authoritative Workspace project and Research object. Verify actual service and role contracts before claiming automatic integrations are available.
4. Register controlled inputs
For every source dataset, record its identifier, owner, version, acquisition or observation period, schema, units, licenses, integrity digest if available, and any access restrictions. Preserve a source snapshot or permitted immutable reference.
| Field | Example / reason |
|---|---|
| Dataset ID and version | Resolves the exact input, not just a filename |
| Variable definitions | Meaning, units, category encoding, measurement method |
| Source period | Temporal coverage and timezone if relevant |
| Population / sample | Inclusion, exclusions and denominator |
| Data quality | Missingness, outliers, detection limits and uncertainties |
| Rights | Permitted processing, publication and redistribution |
| Integrity evidence | Optional checksum and source receipt |
5. Specify the table before generating it
Define the intended analytical question, row population, column metrics, sorting, aggregation, handling of nulls, units, decimal precision, display labels, footnotes, and any uncertainty summaries. Treat the specification as a separate reviewable artifact.
For example, a table labeled “Mean response by group” must define what constitutes a group, the number of observations per group, the estimator, exclusion rules and the meaning of the response units.
6. Document transformations and analytical lineage
Record the actual sequence of filtering, joins, normalization, unit conversion, derived variables, aggregation, estimation and formatting. Distinguish scientific transformations from final display formatting.
Controlled dataset snapshot
|
v
Schema and rights validation
|
v
Documented filtering and cleaning
|
v
Versioned calculation / notebook
|
v
Canonical numeric table
|
v
Table specification and formatting
|
v
Reporting Studio manuscript revision
|
v
Reviewed HTML / DOCX / PDF outputs
A scientific result should not change when presentation software changes its typography or page width.
7. Validate formulas, units and denominators
Define each calculation mathematically and name its inputs. A percentage change, for instance, is:
Percentage change = 100 × (new value − baseline value) / baseline value
The baseline must be nonzero and scientifically meaningful. Where a baseline is zero, missing, or unsuitable for a ratio, do not report a conventional percentage change. Define a different comparison or mark the quantity undefined.
Dimensional analysis should confirm that additions use compatible units and that reported ratios are interpreted correctly. Define whether a reported quantity is per sample, per area, per time, or per unit mass.
8. Handle missing values and exclusions
Missing, censored, excluded and not-applicable observations have different meanings. Do not convert them indiscriminately to zero. Document exclusion criteria before examining comparative results where feasible, and retain a count of records removed by each preprocessing step.
| Representation | Meaning |
|---|---|
| 0 | Observed or calculated zero where valid |
| Missing | No usable observation or value |
| Not applicable | Metric does not apply to the row |
| Below detection limit | Censored measurement requiring defined treatment |
| Excluded | Value omitted under a declared rule |
9. Choose numerical precision deliberately
Retain appropriate computational precision in the canonical numeric results and round only for display, unless the scientific method specifically requires another procedure. State the rounding convention when it materially affects interpretation.
Values displayed as equal after rounding may differ in the saved output. Conversely, summing displayed rounded cells may not exactly reproduce a displayed total. Preserve the underlying unrounded values and explain material discrepancies in a footnote.
Do not display more digits than the evidence supports. Significant figures should reflect measurement precision, uncertainty, and the intended interpretation.
10. Represent uncertainty and statistical inference
When reporting an estimate alongside an interval, name the interval type, method, level, and relevant sample size. Standard deviation, standard error, confidence intervals, credible intervals, measurement tolerances, and sensitivity ranges are not interchangeable.
Do not infer statistical significance from overlapping or nonoverlapping displayed intervals without an appropriate analysis. Where a result has no defensible uncertainty estimate, say so rather than inventing an interval.
11. Reproducible synthetic worked example
The following example is entirely synthetic and demonstrates a group summary, baseline comparison, and acceptance checks. It does not represent any Sustainable Catalyst study.
| Group | Observation 1 | Observation 2 | Observation 3 |
|---|---|---|---|
| Baseline | 10 | 12 | 14 |
| Treatment | 13 | 15 | 17 |
For the illustrative samples, the baseline mean is 12, the treatment mean is 15, and the descriptive difference is 3 arbitrary units. The percentage change relative to the baseline mean is 25%. These are descriptive computations only; the example does not justify causal claims or inferential significance.
12. Execute a transparent calculation
The following standard-library Python script recalculates the synthetic table and writes a CSV with full-precision numeric values. It includes basic assertions but does not provide a validated scientific pipeline.
import csv
import hashlib
import json
import statistics
from pathlib import Path
DATA = {
"Baseline": [10.0, 12.0, 14.0],
"Treatment": [13.0, 15.0, 17.0],
}
OUTPUT = Path("synthetic_table.csv")
assert all(len(values) == 3 for values in DATA.values())
means = {group: statistics.mean(values)
for group, values in DATA.items()}
baseline = means["Baseline"]
treatment = means["Treatment"]
assert baseline != 0
difference = treatment - baseline
percent_change = 100 * difference / baseline
assert baseline == 12.0
assert treatment == 15.0
assert difference == 3.0
assert percent_change == 25.0
with OUTPUT.open("w", newline="", encoding="utf-8") as f:
writer = csv.writer(f)
writer.writerow(["group", "n", "mean_arbitrary_units"])
for group in ("Baseline", "Treatment"):
writer.writerow([group, len(DATA[group]), means[group]])
receipt = {
"fixture": "synthetic_group_summary_v1",
"source_kind": "synthetic",
"baseline_mean": baseline,
"treatment_mean": treatment,
"difference": difference,
"percentage_change": percent_change,
"table_sha256": hashlib.sha256(OUTPUT.read_bytes()).hexdigest(),
"statistical_inference": "not_performed",
"scientific_review": "not_tested",
"reporting_studio_integration": "not_tested",
}
Path("synthetic_table_receipt.json").write_text(
json.dumps(receipt, indent=2), encoding="utf-8"
)
print(receipt)
Run with python3 table_example.py after saving the code. The script’s assertions check these known fixture values and write a digest for the resulting CSV. They do not verify the scientific quality of real research inputs, the visual table, or a deployed Reporting Studio integration.
13. Reconcile table cells to saved outputs
When preparing the manuscript table, compare each displayed value with its authoritative numeric output and the declared formatting rule. Confirm that totals, differences, group labels, units, and denominators match. Check negative and extreme values, missing rows, duplicate keys, and reordered categories.
| Metric | Canonical result | Expected display |
|---|---|---|
| Baseline mean | 12.0 | 12.0 arbitrary units |
| Treatment mean | 15.0 | 15.0 arbitrary units |
| Mean difference | 3.0 | 3.0 arbitrary units |
| Relative difference | 25.0 | 25% |
14. Write a scientifically informative title and caption
A table title should identify the subject, population, study period, and metric when relevant. Place definitions, exclusions, uncertainty conventions and source attributions in a caption or footnote.
Example: “Table 2. Synthetic group mean measurements (three observations per group; arbitrary units). Values are illustrative and do not constitute inferential evidence.”
Do not state or imply that a synthetic table is observed research. Cite the source record or computational artifact for real data and distinguish a dataset citation from the analyst’s derived table.
15. Make tables accessible
Use semantic HTML tables for genuinely tabular relationships: a concise <caption>, header cells, and appropriate scope attributes. Avoid using layout tables or images of tables as substitutes for structured data.
<table>
<caption>Synthetic group means (arbitrary units)</caption>
<thead>
<tr>
<th scope="col">Group</th>
<th scope="col">n</th>
<th scope="col">Mean</th>
</tr>
</thead>
<tbody>
<tr><th scope="row">Baseline</th><td>3</td><td>12.0</td></tr>
<tr><th scope="row">Treatment</th><td>3</td><td>15.0</td></tr>
</tbody>
</table>
For complex multi-level headers, use appropriate header associations and test the actual reading order. Verify zoom, horizontal overflow, keyboard interaction where applicable, and assistive technology behavior against relevant WCAG 2.2 criteria. HTML semantics alone do not establish full conformance.
16. Distinguish tables from scientific figures
A figure can show patterns, while a table exposes precise values. Where both present the same evidence, ensure they derive from the same controlled result rather than separate manually edited copies.
When comparing a chart with its companion table, check that units, exclusions, data series, uncertainty intervals and analysis revisions agree. Different visual encodings may require different levels of precision; they should not imply different underlying findings.
17. Insert a controlled table in Reporting Studio
The following is the intended process, not a verified sequence of current user-interface controls.
- Open the authorized project and confirm the exact report revision.
- Choose the validated source dataset or saved computational output.
- Verify rights, source revision, schema and metric definitions.
- Confirm table type, rows, columns, sorting, precision and uncertainty.
- Generate a canonical numerical table outside presentation formatting.
- Reconcile cells, aggregates, exclusions and units to the saved output.
- Add the table with an accurate title, footnotes and source attribution.
- Attach a source/result identifier if supported by the deployed integration.
- Save the manuscript as a controlled revision.
- Reload the manuscript and verify persistence and current source links.
- Submit the exact revision for applicable scientific and editorial review.
Never treat an editor save or rendered table preview as proof that the numerical content was independently validated.
18. Control changes to underlying data and calculations
If source data or code changes, create or identify a new source/computation revision and determine which table values are affected. Recalculate and compare the prior and new outputs. A material change must trigger appropriate scientific re-review; it should not silently inherit approval from an earlier manuscript version.
When a report must preserve the earlier accepted table for historical transparency, retain the prior publication artifact and its provenance subject to lawful retention and rights constraints.
19. Verify HTML, DOCX and PDF output
| Format | Acceptance checks |
|---|---|
| HTML | Semantic headers, caption, complete rows, correct units, readable reflow |
| DOCX | Table structure, header repetition, widths, footnotes, page breaks, numbers |
| All rows and labels visible; numerical fidelity; tagging and reading order where applicable |
Inspect exported artifacts independently. An export can technically succeed while truncating cells, dropping footnotes, altering characters or losing accessible structure. Compare displayed values to canonical outputs, not just to the editor preview.
20. Troubleshoot common failures
| Symptom | Likely cause | Safe response |
|---|---|---|
| Totals do not match cells | Rounding or different aggregation inputs | Inspect full precision and arithmetic definitions |
| Wrong units | Untracked conversion or labeling | Reconcile dimensional definitions |
| Row count changes | Filtering, joins, missing data or duplicates | Review preprocessing receipt and keys |
| Values differ from notebook | Stale output or mismatched source revision | Resolve the exact computational snapshot |
| Missing table after reload | Save or persistence failure | Read authoritative manuscript state before retry |
| Export differs from editor | Renderer-specific layout or content transformation | Check actual output and source snapshot |
| Access denied | Object or project permission | Confirm authorized role; do not bypass controls |
| Private rows appear publicly | Rights or authorization failure | Contain exposure and escalate immediately |
21. Safe recovery and publication boundaries
If a table fails to insert, save, render or reconcile, preserve the last accepted manuscript and permitted source evidence. Determine whether the failed write committed before any retry; do not assume a timeout means failure. Fix the responsible data, calculation, reference, renderer or authorization layer without modifying unrelated research artifacts.
Restricted datasets may not be copied into public reports merely to resolve missing references. A scientific table remains in draft or review until all applicable integrity, privacy, rights and publication gates are satisfied.
22. Scientific and technical acceptance matrix
| Criterion | Pass condition |
|---|---|
| Source identity | Exact controlled dataset and revision resolve |
| Transformation lineage | Filtering, joins, conversions and computations documented |
| Numerical reconciliation | Every material value matches authoritative computation within documented precision |
| Units and denominators | Defined and scientifically appropriate |
| Missingness and exclusions | Transparent and consistently applied |
| Uncertainty | Relevant intervals and variation correctly characterized |
| Metadata | Caption, footnotes, study scope and source attribution accurate |
| Accessibility | Applicable structural and interaction requirements tested |
| Rights | Processing and intended disclosure authorized |
| Revision control | Saved manuscript and source snapshots identifiable |
| Export fidelity | HTML, DOCX and PDF values and semantics inspected where supported |
| Scientific review | Interpretation and methods assessed independently where required |
| Publication approval | Exact manuscript revision authorized for release |
Record each criterion as Pass, Fail, Not Tested or Not Applicable, with evidence and reviewer. An untested mandatory numerical or authorization requirement cannot be recorded as passed.
23. Example acceptance receipt
The following JSON is illustrative, not a deployed Reporting Studio contract.
{
"schema_version": "scientific-table-acceptance-example-v1",
"workflow": "table_reproducibility",
"classification": "proposed",
"report_revision": "synthetic-report-v1",
"table_id": "synthetic-table-1",
"source_revision": "synthetic-dataset-v1",
"checks": {
"source_identity": "not_tested",
"rights_and_authorization": "not_tested",
"formula_and_units": "not_tested",
"numeric_reconciliation": "not_tested",
"missing_data_and_exclusions": "not_tested",
"uncertainty_and_interpretation": "not_tested",
"caption_and_attribution": "not_tested",
"accessibility": "not_tested",
"html_export": "not_tested",
"docx_export": "not_tested",
"pdf_export": "not_tested",
"revision_persistence": "not_tested",
"scientific_review": "not_tested",
"publication_authorization": "not_tested"
},
"scientific_acceptance": false,
"publication_approved": false,
"release_decision": "NO_GO"
}
24. Proposed application ownership
| Application | Intended role |
|---|---|
| Library | Controlled source datasets, metadata, identifiers and rights |
| Workbench | Computational transformations, tables, notebooks and reproducible results |
| Research Lab | Scientific method review and numerical validation |
| Research | Governed research objects and provenance relationships |
| Workspace | Project ownership, review assignments and release governance |
| Reporting Studio | Table composition, controlled manuscripts and document exports |
| Citation Studio | Attribution and scholarly source relationships where implemented |
| Platform Core | Authentication, permissions and tenant isolation |
These ownership descriptions are a proposed architecture, not a claim of verified operational integration.
25. Implementation verification checklist
Before marking this knowledge-base article production verified, attach the actual repositories and commits, schema and object ownership, ingestion and calculation contracts, editor behavior, saved revisions, implemented permissions, rendered exports, CI test results, synthetic and authorized staging evidence, backup/restore acceptance, and the unresolved limitations for the deployed release. Verify that the real service rejects stale versions, unauthorized users, invalid table schemas and conflicting duplicate writes.
26. Technical and scientific references
- National Academies of Sciences, Engineering, and Medicine (2019). Reproducibility and Replicability in Science. https://doi.org/10.17226/25303.
- Wilkinson, M.D. et al. (2016). ‘The FAIR Guiding Principles for Scientific Data Management and Stewardship’, Scientific Data, 3, 160018. https://doi.org/10.1038/sdata.2016.18.
- W3C. PROV-O: The PROV Ontology. https://www.w3.org/TR/prov-o/.
- W3C. Web Content Accessibility Guidelines (WCAG) 2.2. https://www.w3.org/TR/WCAG22/.
- W3C Web Accessibility Initiative. Tables Tutorial. https://www.w3.org/WAI/tutorials/tables/.
- Python Software Foundation. csv, statistics and hashlib libraries. https://docs.python.org/3/library/.
27. Completion and verification record
Completion criterion: The table is accepted only when its input sources and calculations are identifiable; displayed values reconcile with the canonical output; units, denominators, precision, missingness and uncertainty are documented; caption and attribution are accurate; applicable access and accessibility checks pass; and the exact report revision and export artifacts have completed the required review.
Scientific limitation: A fully reproducible table can still convey invalid research if its sampling design, measurements, assumptions, statistical approach or interpretation are flawed. Numerical validation, scientific assessment and software acceptance remain distinct.
Current implementation status: Controlled-table workflow, synthetic calculations, source-to-cell reconciliation, editorial structure, accessibility, export verification, negative-case recovery and acceptance criteria documented. Live Reporting Studio table generation, Workbench synchronization, approval gates and export correctness were not independently verified in preparing this guidance.
