Worked Examples
Develop and test data-to-mark provenance — Visualization & Graphing
Develop and test data-to-mark provenance — Visualization & Graphing Cross-application area: Visualization & Graphing Status: Initial scientific graphics guidance; platform-specific features not verified. Rendering contract objecti
Application area: Visualization & Graphing
Article classification: Developer guide / Provenance engineering / Software quality assurance
Audience: Scientific software engineers, data engineers, visualization developers, researchers, QA engineers, and platform maintainers
Technical level: Intermediate to advanced
Reference environment: Python 3, NumPy, pandas, Matplotlib, and pytest
Relevant standards: W3C PROV-DM, PROV-O, WCAG 2.2
Primary outputs: Provenance contract, source-to-mark lineage register, deterministic tests, validated rendering artifact, evidence manifest, and release acceptance record
Estimated reading time: 14–17 minutes, excluding hands-on execution
1. Engineering objective
Data-to-mark provenance connects scientific source records and analytical operations to the graphical marks that communicate their results.
A mark may represent an observation, aggregate statistic, model prediction, uncertainty interval, spatial feature, or other derived numerical object.
The implementation must preserve enough information for an authorized reviewer to reconstruct the relationship between a graphical result and its contributing source data.
The engineering objectives are:
- Identify the immutable data artifact used to generate a figure.
- Preserve contributing record identifiers and analytical dependencies.
- Record transformations, parameters, units, and relevant uncertainty.
- Assign identifiable logical marks to renderer outputs.
- Verify that mark values reconcile with independent calculations.
- Preserve provenance through export and authorized publication.
- Provide accessible numerical and descriptive equivalents.
Core acceptance condition: Every scientifically meaningful mark must be traceable to the source records, analytical outputs, and methods required to explain its value and meaning.
Where complete record-level lineage is impractical, the implementation must explicitly define the supported granularity and retain sufficient aggregate, model, or artifact-level dependencies for the intended scientific use.
2. Separate data, analytical, and rendering responsibilities
A provenance-aware visualization architecture should separate authoritative source data from numerical transformations and graphical presentation.
Immutable source artifact
|
v
Schema and source validation
|
v
Versioned analytical transformation
|
v
Derived numerical artifact
|
v
Mark-level provenance construction
|
v
Numerical and lineage verification
|
v
Renderer adapter
|
v
Graphical marks and figure
|
v
Export and publication artifact
|
v
Provenance and acceptance receipt
Each stage should produce an identifiable output or verifiable state transition.
A renderer must not silently replace authoritative observations with interpolated, resampled, aggregated, or otherwise transformed values.
If a graphical engine performs transformations internally, those operations must be explicitly represented in its configuration and provenance model.
3. Define the provenance contract
The contract should distinguish source entities, analytical activities, derived numerical results, and graphical marks.
| Field | Type | Requirement |
|---|---|---|
| figure_id | String | Stable logical figure identifier |
| figure_revision | String | Figure revision or immutable output identifier |
| mark_id | String | Unique logical mark identifier within the figure revision |
| mark_type | Enumeration | Point, bar, line, interval, cell, surface, or other supported type |
| source_artifact_id | String | Source or analysis artifact identifier |
| source_revision | String | Immutable source version |
| source_checksum | Digest | Byte-integrity reference |
| contributor_ids | Array or dependency reference | Source records or derived entities contributing to the mark |
| transformation_id | String | Analytical operation identifier |
| transformation_config | Object | Parameters, grouping, filters, and calculation method |
| value | Typed numerical or categorical value | Validated value represented by the mark |
| units | Structured metadata | Scientific measurement units |
| coordinates | Optional structured metadata | Temporal or spatial reference |
| missingness | Structured status | Missing and excluded data semantics |
| uncertainty | Optional object | Uncertainty model and interval definition |
| render_config | Object | Scale, color, axis, and mark-encoding settings |
| access_policy | Policy reference | Authorized source inspection and export restrictions |
This is a proposed logical schema, not an established Sustainable Catalyst API contract.
3.1 Source entities and analytical activities
The W3C PROV framework provides concepts for describing entities, activities, agents, usage, generation, and derivation (W3C, 2013a; W3C, 2013b).
For example:
Source observations
|
| used by
v
Aggregation activity
|
| generated
v
Derived group mean
|
| used by
v
Rendering activity
|
| generated
v
Graphical bar
|
v
Published figure
Graph edges should be grounded in actual processing relationships. Do not automatically interpret a file reference or declared dependency as evidence that a computation was performed.
4. Define mathematical invariants
4.1 Direct marks
For a direct observation with source record r_i and graphical encoding E:
m_i = E(r_i, C)
Here C represents the rendering configuration.
Direct marks should preserve their source identifiers and numerical values, except for explicitly documented display transformations.
4.2 Derived marks
An aggregate mark may depend on a set of contributing observations.
For an arithmetic group mean:
mean_G = (1/n_G) * sum(y_i for i in G)
The lineage record must identify the contributors, grouping criteria, and aggregation method.
4.3 Lineage completeness
Let L_expected(m) be the required contributing source records and L_recorded(m) the recorded contributors.
Complete lineage:
L_expected(m) = L_recorded(m)
Missing contributors:
Missing = L_expected - L_recorded
Unexpected contributors:
Unexpected = L_recorded - L_expected
Both sets must be empty when exact contributor-set matching is the contract.
Set equality does not preserve weights or multiplicity. More complex analytical pipelines may require ordered dependency edges, weighted relationships, or provenance expressions.
4.4 Numerical reconciliation
For expected mark value y_ref and recorded value y_mark:
|y_mark - y_ref|
<= atol + rtol * |y_ref|
Choose numerical tolerances according to the calculation’s precision and scientific requirements.
Two marks may have the same numerical value but different source dependencies. Therefore, numerical equality and lineage completeness require independent tests.
5. Construct a deterministic reference fixture
The following fixture contains synthetic measurements in two groups. Each group is represented by one aggregate bar.
| Record ID | Group | Value (synthetic units) |
|---|---|---|
| C01 | Control | 10 |
| C02 | Control | 12 |
| C03 | Control | 14 |
| T01 | Treatment | 15 |
| T02 | Treatment | 18 |
| T03 | Treatment | 21 |
Expected calculations:
Control mean:
(10 + 12 + 14) / 3 = 12
Treatment mean:
(15 + 18 + 21) / 3 = 18
Difference:
18 - 12 = 6 synthetic units
Expected lineage:
bar-control:
C01, C02, C03
bar-treatment:
T01, T02, T03
The fixture has no scientific or causal interpretation. It is used only to test the provenance implementation.
6. Implement a source-to-mark provenance module
6.1 Prepare the environment
mkdir sc-mark-provenance-tests
cd sc-mark-provenance-tests
python3 -m venv .venv
source .venv/bin/activate
python -m pip install numpy pandas matplotlib pytest
python --version
python -m pip freeze > requirements-lock.txt
For controlled production execution, use an approved dependency lockfile and record exact interpreter and library versions.
6.2 Create the module
Save the following as mark_provenance.py.
from dataclasses import dataclass
import numpy as np
import pandas as pd
@dataclass(frozen=True)
class MarkRecord:
mark_id: str
group: str
value: float
unit: str
contributor_ids: tuple
transformation: str
def validate_source(source):
required = {
"record_id",
"group",
"value"
}
if not required.issubset(source.columns):
raise ValueError("Missing source fields")
if source.empty:
raise ValueError("Empty source")
if source["record_id"].isna().any():
raise ValueError("Missing record ID")
if not source["record_id"].is_unique:
raise ValueError("Duplicate record IDs")
if source["group"].isna().any():
raise ValueError("Missing group")
values = pd.to_numeric(
source["value"],
errors="coerce"
).to_numpy(dtype=float)
if not np.isfinite(values).all():
raise ValueError("Invalid numeric values")
return True
def build_mean_mark(
source,
group,
mark_id,
unit="synthetic_units"
):
validate_source(source)
subset = source.loc[
source["group"] == group
]
if subset.empty:
raise ValueError("Unknown or empty group")
if not unit.strip():
raise ValueError("Missing unit")
return MarkRecord(
mark_id=mark_id,
group=group,
value=float(subset["value"].mean()),
unit=unit,
contributor_ids=tuple(
subset["record_id"].tolist()
),
transformation="arithmetic_mean"
)
def validate_mark(source, mark):
validate_source(source)
if mark.transformation != "arithmetic_mean":
raise ValueError("Unsupported transformation")
if not mark.mark_id.strip():
raise ValueError("Missing mark ID")
if not mark.unit.strip():
raise ValueError("Missing unit")
if not np.isfinite(mark.value):
raise ValueError("Invalid mark value")
if len(mark.contributor_ids) != len(
set(mark.contributor_ids)
):
raise ValueError("Duplicate contributors")
expected = source.loc[
source["group"] == mark.group
]
if expected.empty:
raise ValueError("Unknown source group")
expected_ids = set(
expected["record_id"].tolist()
)
recorded_ids = set(mark.contributor_ids)
if expected_ids != recorded_ids:
raise ValueError("Incomplete or invalid lineage")
expected_mean = float(
expected["value"].mean()
)
np.testing.assert_allclose(
mark.value,
expected_mean,
rtol=0,
atol=1e-12,
equal_nan=False
)
return True
def golden_fixture():
return pd.DataFrame({
"record_id": [
"C01", "C02", "C03",
"T01", "T02", "T03"
],
"group": [
"Control", "Control", "Control",
"Treatment", "Treatment", "Treatment"
],
"value": [
10., 12., 14.,
15., 18., 21.
]
})
The reference module supports arithmetic group means. It does not support uncertainty estimation, weighted observations, arbitrary filtering, missing-value imputation, model fitting, or spatial interpolation.
Production contracts should introduce those features explicitly rather than silently applying them within the renderer.
7. Develop automated provenance tests
Tests must establish that the implementation detects missing contributors, unexpected records, corrupted values, invalid source data, and unsupported transformations.
Save as test_mark_provenance.py.
from dataclasses import replace
import numpy as np
import pytest
from mark_provenance import (
golden_fixture,
validate_source,
build_mean_mark,
validate_mark
)
def test_valid_source():
assert validate_source(
golden_fixture()
)
def test_correct_group_mean():
source = golden_fixture()
mark = build_mean_mark(
source,
"Control",
"bar-control"
)
assert mark.value == 12.0
assert validate_mark(source, mark)
def test_treatment_group_mean():
source = golden_fixture()
mark = build_mean_mark(
source,
"Treatment",
"bar-treatment"
)
assert mark.value == 18.0
assert validate_mark(source, mark)
def test_missing_contributor_rejected():
source = golden_fixture()
mark = build_mean_mark(
source,
"Control",
"bar-control"
)
broken = replace(
mark,
contributor_ids=("C01", "C03")
)
with pytest.raises(ValueError):
validate_mark(source, broken)
def test_unknown_contributor_rejected():
source = golden_fixture()
mark = build_mean_mark(
source,
"Control",
"bar-control"
)
broken = replace(
mark,
contributor_ids=(
"C01", "C02", "X99"
)
)
with pytest.raises(ValueError):
validate_mark(source, broken)
def test_corrupted_value_detected():
source = golden_fixture()
mark = build_mean_mark(
source,
"Control",
"bar-control"
)
broken = replace(
mark,
value=15.0
)
with pytest.raises(AssertionError):
validate_mark(source, broken)
def test_duplicate_source_ids_rejected():
source = golden_fixture()
source.loc[1, "record_id"] = "C01"
with pytest.raises(ValueError):
validate_source(source)
@pytest.mark.parametrize(
"invalid",
[np.nan, np.inf, -np.inf]
)
def test_nonfinite_source_rejected(invalid):
source = golden_fixture()
source.loc[1, "value"] = invalid
with pytest.raises(ValueError):
validate_source(source)
def test_unsupported_method_rejected():
source = golden_fixture()
mark = build_mean_mark(
source,
"Control",
"bar-control"
)
broken = replace(
mark,
transformation="median"
)
with pytest.raises(ValueError):
validate_mark(source, broken)
def test_empty_group_rejected():
source = golden_fixture()
with pytest.raises(ValueError):
build_mean_mark(
source,
"Unknown",
"bar-unknown"
)
def test_duplicate_contributors_rejected():
source = golden_fixture()
mark = build_mean_mark(
source,
"Control",
"bar-control"
)
broken = replace(
mark,
contributor_ids=(
"C01", "C01", "C03"
)
)
with pytest.raises(ValueError):
validate_mark(source, broken)
7.1 Execute the test suite
python -m pytest -v test_mark_provenance.py
The reference suite defines 14 individual test cases after expanding the parameterized invalid-value test.
Under a compatible Python environment, all 14 are expected to pass. These are expected outcomes, not evidence of actual execution against Sustainable Catalyst.
7.2 Required production extensions
Additional tests should cover:
- Mutable input arrays and accidental source modification.
- Missing-value masks and exclusions.
- Weighted aggregation and contributor multiplicity.
- Joins and many-to-many relationships.
- Temporal and spatial coordinate transformations.
- Unit conversion and uncertainty propagation.
- Filtering and provenance-set changes.
- Large datasets and partial lineage retrieval.
- Concurrent users and authorization isolation.
- Persistence, replay, and artifact revision integrity.
8. Verify renderer-to-mark correspondence
The provenance module must be connected to the actual renderer through an inspectable adapter.
For a bar chart, the renderer should preserve the numerical height corresponding to each validated mark.
8.1 Matplotlib reference adapter
Save as test_renderer.py.
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
import numpy as np
from mark_provenance import (
golden_fixture,
build_mean_mark,
validate_mark
)
def test_bar_heights_match_provenance():
source = golden_fixture()
groups = ["Control", "Treatment"]
marks = [
build_mean_mark(
source,
group,
f"bar-{group.lower()}"
)
for group in groups
]
for mark in marks:
assert validate_mark(source, mark)
fig, ax = plt.subplots()
try:
bars = ax.bar(
groups,
[mark.value for mark in marks]
)
for patch, mark in zip(bars, marks):
np.testing.assert_allclose(
patch.get_height(),
mark.value,
rtol=0,
atol=1e-12
)
assert ax.get_yscale() == "linear"
finally:
plt.close(fig)
Execute:
python -m pytest -v test_renderer.py
The test checks Matplotlib’s numerical bar geometry. It does not verify that exported pixels, accessible interfaces, legends, or publication content retain complete provenance.
9. Handle complex transformation lineage
Production provenance must accommodate transformations that depend on multiple sources and intermediate artifacts.
| Transformation | Required dependencies | Primary test |
|---|---|---|
| Filtering | Source IDs, predicate, retained and excluded records | Expected record-set comparison |
| Aggregation | Contributors, grouping rule, estimator | Independent aggregate calculation |
| Weighted statistics | Contributors, weights, estimator | Weighted calculation and dependency test |
| Join | Input artifacts, keys, cardinality, matched records | Join-integrity validation |
| Interpolation | Observations, coordinates, method, parameters | Reference interpolation comparison |
| Regression | Training data, model, parameters, optimizer | Independent prediction calculation |
| Simulation | Model revision, parameters, initial conditions, state | State and model-output validation |
| Geospatial transformation | Source geometry, CRS, transformation, output geometry | Coordinate and geometry validation |
Where a transformation depends on many observations, the provenance representation may reference an immutable input collection or intermediate artifact rather than serializing millions of record identifiers into every mark.
However, such references must resolve to preserved dependencies when the user is authorized to inspect them.
10. Validate provenance across filtering and user state
Interactive scientific graphics may include user-selected filters, categories, time ranges, and scenarios.
Each such selection can change the set of records contributing to a mark.
The implementation should record:
- Filter expression and parameters.
- Input artifact revision.
- Selected records or resolved selection identifier.
- Aggregation behavior after filtering.
- Renderer state affecting mark values.
- Authorization context.
For example, a group mean after filtering must be recomputed from the filtered contributor set.
Do not retain the original lineage record when the displayed aggregate now depends on a different subset.
Cache keys should incorporate all scientifically relevant input versions and transformation parameters, along with appropriate authorization-scoping information.
11. Preserve source and artifact integrity
Source-to-mark provenance depends on stable source identities.
Use immutable or content-addressed artifact references where appropriate.
A SHA-256 digest can identify a file’s exact bytes.
import hashlib
from pathlib import Path
def sha256_file(path):
digest = hashlib.sha256()
with Path(path).open("rb") as handle:
for chunk in iter(
lambda: handle.read(1024 * 1024),
b""
):
digest.update(chunk)
return digest.hexdigest()
Cryptographic digests support integrity checking. They do not prove that a dataset is scientifically accurate, that the recorded provenance is truthful, or that a model is valid.
Preserve source identity, origin, method, software version, and artifact checksums as separate metadata fields.
12. Authorization and export controls
Mark-level source inspection can expose underlying scientific records that are not intended for public distribution.
A public aggregate figure may be publishable even when some contributing observations remain restricted.
The implementation must therefore distinguish:
- Permission to view the published figure.
- Permission to inspect aggregate statistics.
- Permission to inspect source-record identifiers.
- Permission to retrieve detailed source records.
- Permission to export data or provenance records.
Enforce these permissions through the authoritative access-control system, not merely through hidden interface controls.
Test cross-owner and unauthorized-source access explicitly.
For exported HTML or SVG, apply appropriate protections against untrusted active content, sensitive metadata disclosure, and unsafe external references (OWASP Foundation, n.d.).
13. Accessibility and numerical equivalents
Scientific provenance should not depend exclusively on hovering over a graphical mark.
Provide accessible alternatives such as:
- Structured numerical tables.
- Readable mark identifiers.
- Source dataset and revision information.
- Descriptions of transformations and uncertainty.
- Keyboard-accessible inspection controls.
- Alternative descriptions of aggregate graphical relationships.
- Authorized links to underlying research evidence.
WCAG 2.2 provides relevant requirements for non-text content, information relationships, keyboard operation, and interactive controls (W3C, 2024).
Accessible information must respect the same source authorization requirements as graphical interactions.
14. Performance and scalability
Mark-level provenance may involve large dependency sets.
For N graphical marks with an average of K source contributors per mark, a naive explicit lineage representation may require approximately:
O(N * K)
stored source-to-mark references.
This estimate concerns dependency references and excludes the costs of identifiers, indexes, metadata, serialization, and intermediate analytical objects.
More efficient representations may use:
- Shared immutable source collections.
- Deduplicated dependency sets.
- Versioned intermediate result artifacts.
- Indexed provenance graph edges.
- Lazy retrieval of detailed source lineage.
- Content-addressed analytical outputs.
Optimization must preserve the ability to reconstruct the dependencies required by the research and governance contract.
Benchmark large data volumes, concurrent source inspection, retrieval latency, storage cost, and authorization performance on the actual deployment environment.
15. Reproducibility and evidence manifests
A provenance-aware figure should retain sufficient configuration for independent reconstruction.
The following JSON describes an illustrative output manifest. It is not an implemented Sustainable Catalyst schema.
{
"schema_version": "example-1.0",
"figure_id": "synthetic-group-means",
"figure_revision": "1.0",
"source": {
"artifact_id": "synthetic-groups-001",
"revision": "1.0",
"classification": "synthetic",
"sha256": null
},
"analysis": {
"transformation": "arithmetic_mean",
"grouping_field": "group",
"value_field": "value",
"unit": "synthetic_units"
},
"marks": [
{
"mark_id": "bar-control",
"mark_type": "bar",
"value": 12.0,
"contributor_ids": [
"C01", "C02", "C03"
]
},
{
"mark_id": "bar-treatment",
"mark_type": "bar",
"value": 18.0,
"contributor_ids": [
"T01", "T02", "T03"
]
}
],
"rendering": {
"engine": "matplotlib",
"engine_version": null,
"axis_scale": "linear"
},
"validation": {
"source_integrity": "not_tested",
"lineage_completeness": "not_tested",
"numerical_reconciliation": "not_tested",
"rendering": "not_tested",
"authorization": "not_tested",
"accessibility": "not_tested",
"scientific_review": "not_tested"
}
}
Record actual source hashes, code revisions, renderer versions, and test evidence after execution.
16. Continuous integration and release testing
Provenance validation should be included in the development and release process.
Code revision
|
v
Schema and source-integrity tests
|
v
Golden-fixture calculations
|
v
Lineage completeness tests
|
v
Negative and boundary tests
|
v
Renderer correspondence tests
|
v
Authorization and export tests
|
v
Accessibility and visual inspection
|
v
Scientific review
|
v
Release acceptance receipt
Tests should use disposable, synthetic, or explicitly authorized datasets as appropriate. Production data must not be copied into uncontrolled test environments.
16.1 Example acceptance receipt
{
"contract": "data-to-mark-provenance-v1",
"execution_status": "not_executed",
"repository": null,
"commit": null,
"renderer_version": null,
"deployment_identifier": null,
"tests": {
"schema": "not_tested",
"source_integrity": "not_tested",
"numerical": "not_tested",
"lineage_completeness": "not_tested",
"negative_cases": "not_tested",
"renderer_correspondence": "not_tested",
"authorization": "not_tested",
"export": "not_tested",
"accessibility": "not_tested",
"scientific_review": "not_tested"
},
"evidence_artifacts": [],
"reviewer": null,
"release_decision": "NO_GO"
}
The receipt must be populated from actual test execution. A passing unit test does not independently establish that a deployed visualization service preserves source-to-mark provenance end to end.
17. Acceptance matrix
| Criterion | Pass condition | Required evidence |
|---|---|---|
| Source identity | Correct immutable source artifact identified | Artifact reference and checksum |
| Record identity | Contributing observations correctly resolved | Lineage register |
| Lineage completeness | All expected dependencies included | Contributor comparison |
| Transformation integrity | Derived values reproduce correctly | Independent calculations |
| Numerical agreement | Mark values match validated results | Numerical test report |
| Missingness | Exclusions and missing values handled explicitly | Negative tests |
| Units and coordinates | Scientific dimensions and references preserved | Schema and transformation tests |
| Uncertainty | Interval dependencies and methods preserved | Statistical validation |
| Rendering | Visual marks correspond to provenance records | Renderer inspection |
| Authorization | Source inspection respects access restrictions | Access-control tests |
| Export | Published artifacts preserve permitted provenance | Export inspection |
| Accessibility | Essential values and relationships remain accessible | Accessibility review |
| Reproducibility | Independent execution reconstructs required results | Execution evidence |
| Scientific review | Claims remain supported by evidence and methods | Reviewer assessment |
Decision rule: Record applicable criteria as Pass, Fail, or Not Tested. Mandatory failures or untested requirements prevent certification of the affected functionality.
18. Sustainable Catalyst integration responsibilities
Data-to-mark provenance may provide an important technical relationship between Sustainable Catalyst’s data management, research analysis, visualization, knowledge graph, and publication workflows.
The following describes intended responsibilities, not independently verified deployment behavior.
| Application | Intended responsibility |
|---|---|
| Library | Manage source objects, versions, provenance, metadata, and access rights |
| Workbench | Generate reproducible analytical outputs and transformation records where implemented |
| Research Lab | Validate methods, statistical calculations, and scientific model assumptions |
| Visualization & Graphing | Associate validated numerical objects and lineage with graphical marks |
| Site Intelligence | Associate geographic marks with spatial sources and transformations where supported |
| Decision Studio | Maintain evidence dependencies for modeled scenarios where implemented |
| Research | Link figures, data, methods, and scientific claims within publication outputs |
| Workspace | Track ownership, validation evidence, review, and publication decisions |
18.1 Knowledge graph integration
A provenance knowledge graph may represent relationships such as:
Source dataset
|
v
Transformation activity
|
v
Derived numerical artifact
|
v
Graphical mark
|
v
Scientific figure
|
v
Research publication
Where PROV-O is used, distinguish graph vocabulary from the underlying verified operational evidence.
A graph edge should not be treated as proof that a calculation or scientific validation occurred without supporting execution records.
18.2 Source audit requirements
Before certifying a Sustainable Catalyst data-to-mark provenance implementation, identify:
- Owning repository and exact source revision.
- Provenance and renderer code paths.
- Implemented input and output schemas.
- Supported mark types and transformations.
- Source-record resolution behavior.
- Immutable artifact persistence and replay behavior.
- Access-control and source-inspection policies.
- Executed unit and integration test results.
- Runtime screenshots and exported artifacts.
- Known defects and unsupported lineage scenarios.
19. Technical references
- World Wide Web Consortium (W3C) (2013a). PROV-DM: The PROV Data Model. W3C Recommendation. Available at: https://www.w3.org/TR/prov-dm/.
- World Wide Web Consortium (W3C) (2013b). PROV-O: The PROV Ontology. W3C Recommendation. Available at: https://www.w3.org/TR/prov-o/.
- Harris, C.R. et al. (2020). ‘Array programming with NumPy’, Nature, 585, pp. 357–362. Available at: https://doi.org/10.1038/s41586-020-2649-2.
- NumPy Developers (n.d.). numpy.testing.assert_allclose. Available at: NumPy documentation.
- pandas Development Team (n.d.). pandas Documentation. Available at: https://pandas.pydata.org/docs/.
- Matplotlib Development Team (n.d.). Matplotlib Documentation. Available at: https://matplotlib.org/stable/.
- pytest Development Team (n.d.). pytest Documentation. Available at: https://docs.pytest.org/en/stable/.
- Vega-Lite Developers (n.d.). Data Transformations. Available at: Vega-Lite documentation.
- OWASP Foundation (n.d.). Cross Site Scripting Prevention Cheat Sheet. Available at: OWASP Cheat Sheet Series.
- World Wide Web Consortium (W3C) (2024). Web Content Accessibility Guidelines (WCAG) 2.2. Available at: https://www.w3.org/TR/WCAG22/.
20. Completion and verification record
| Field | Required information |
|---|---|
| Implementation ID | Component and release identifier |
| Repository | Owning repository and commit |
| Renderer | Engine, version, and supported output types |
| Source integrity | Pass, Fail, or Not Tested |
| Lineage completeness | Pass, Fail, or Not Tested |
| Numerical validation | Pass, Fail, or Not Tested |
| Transformation validation | Pass, Fail, or Not Tested |
| Renderer correspondence | Pass, Fail, or Not Tested |
| Authorization | Pass, Fail, or Not Tested |
| Export verification | Pass, Fail, or Not Tested |
| Accessibility | Pass, Fail, or Not Tested |
| Reproducibility | Pass, Fail, or Not Tested |
| Scientific review | Pass, Fail, or Not Tested |
| Reviewer | Actual reviewer and review date |
| Evidence | Test receipts, source artifacts, lineage registers, figures, and hashes |
| Outstanding limitations | Unresolved implementation or scientific issues |
Completion criterion: The implementation must preserve authoritative source identity, construct correct and complete analytical dependencies for supported mark types, reconcile numerical values, and satisfy applicable rendering, authorization, export, accessibility, reproducibility, and scientific acceptance requirements.
Scientific limitation: Provenance engineering makes scientific claims traceable. It cannot independently establish that the source measurements are unbiased, the statistical assumptions are valid, or the conclusions are scientifically justified.
Current implementation status: Proposed engineering contract, synthetic reference implementation, automated tests, and release acceptance requirements documented. No specific Sustainable Catalyst provenance engine, visualization adapter, knowledge graph, or publication integration is certified without executed tests, source-code inspection, runtime evidence, and release-specific acceptance.
