Worked Examples
Validate scientifically research workspaces — Workspace
Validate scientifically research workspaces — Workspace Application: Workspace Status: Useful first draft, not a production-verified procedure. Research and governance question Evaluate whether research workspaces preserves the sc
Application: Sustainable Catalyst Workspace
Component: Research Projects / Integrated Project Workspace
Article type: Scientific validation protocol
Source baseline: 2a67ee5178f38b7710003715fd4d655c7deff32d
Technical status: Source implementation inspected; live system and independent scientific review pending.
Estimated reading time: 16 minutes
Goal
Determine whether an independently inspectable Workspace project provides a scientifically coherent, authorized, and revision-specific context for its questions, datasets, source documents, notebooks, figures, interpretations, decisions, and prospective publications. The primary acceptance criterion is: each artifact belongs to an authorized research context, and every substantive scientific inference can be traced to the correct input and method revision.
A project being visible in a dashboard is evidence of an application association, not proof that an analyst had permission to use the material or that a result is true. Record those conclusions separately.
Requirements
- An authorized reviewer with a defined project, account, research purpose, approved data handling scope, and a known Workspace release; use synthetic or approved material for tests.
- Immutable or versioned references for the project, dataset, notebook, execution result, figure, decision, and publication draft; capture SHA-256 for original bytes when available.
- The data-use agreement/license or permission record, processing authorization, method/source documentation, units, reference period, execution environment, input parameters, and known limitations.
- A segregated testing environment for negative authorization cases. Do not test cross-owner access against live private projects without explicit permission.
- Python 3.10+ for the optional standard-library validation package; repository implementation tests additionally require their documented Python dependencies.
1. Establish the research and governance questions
Start with a specific scientific claim, not a navigation test. For example, a project may ask whether carbon-stock estimates differ across synthetic field plots. The auditor must identify the observed values, measurement units, model or formula, sampling date, uncertainty, and permitted uses before interpreting a figure or policy decision.
| Question | Required analysis | Evidence to retain |
|---|---|---|
| Research scope | Project identity, owner-scoped session, question, area, intended outputs | projectId, project revision, exact question and time scope |
| Authority | Permission to access/process data and execute/review methods | Rights evidence and authorized actor identity, not a free-text name |
| Lineage | Input data → method execution → figure → interpretation/decision | Pinned references, checksums, code/environment revisions |
| Scientific validity | Suitability of measurements, methods, assumptions and uncertainty | Independent reproduction and scientific review; unresolved caveats recorded |
| Publication boundary | Whether any output has actually become public | Research publication approval and served state, not a Workspace draft label |
2. Identify the authoritative subsystem for each record
Workspace has multiple research experiences. Do not infer that a local browser project is equivalent to an authenticated backend Research Project, or that a federated summary becomes the canonical record.
| Surface | What it provides | Validation boundary |
|---|---|---|
| Guest/local Workspace | Browser-managed project state; local creation requires explicit submission | A sign-in does not automatically upload a local project. Backup and sync are separate actions. |
| Authenticated Research Projects | Owner-scoped revisioned project registry; profile sc-research-project-profile/1.0 |
A signed session is required; owner-scoped API and native file access are enforced in source. |
| Research Project dashboard | Project-focused read model for documents, Citation Studio references, notebooks, data-role files, figures and publication drafts | One dashboard response combines multiple stores. Its presence is not a scientific approval. |
| Integrated Project Workspace | Project-scoped composition of source evidence, datasets, models/runtimes, visual analysis and session timeline | It declares sourceAuthoritiesPreserved=true; no automatic truth determination or execution. |
| Library / Research / Platform Core | Specialist source/discovery, public publication and shared session authorities | A link or handoff preserves references; it does not transfer authority or automatically grant rights. |
Implementation anchors: backend/app/research_projects.py, backend/app/integrated_project_workspace.py, backend/UNIFIED_RESEARCH_PROJECT_CONTEXT_V3200.md, and docs/RESEARCH_PROJECTS_LIBRARY_CONTINUITY_V130.md.
3. Record the precise project identity
- Open the authorized Research Projects interface for the intended account. Verify the research area, question and description; do not use a title or human-readable slug as sole identity.
- Capture the canonical project ID, backend revision and project profile. The authenticated Research Project profile defaults to
visibility=private. - For project-specific reads, use the owner-scoped dashboard endpoint, not a public page or a cached browser tab. In the source route tree it is
GET /v1/private-research/reporting-studio/research-projects/api/projects/{project_id}. - If the project is local-only, record its device/browser storage boundary and do not imply server persistence or server-enforced sharing controls.
- Preserve an evidence snapshot (not sensitive raw data) with the software commit/release, revision, UTC inspection time, reviewer, and record identifiers.
The reporting router is source-configured behind SC_WORKSPACE_REPORTING_STUDIO_ENABLED=1; route availability in source is not proof of deployment. Backend API requests require an authenticated Workspace browser session, and writes enforce the configured origin. backend/app/research_reporting.py, backend/app/wxr_private_projects.py.
4. Create a reproducible evidence inventory
The table below is a reviewer inventory, not an assertion that these fields exist in a single Workspace API response. Save identifiers and safe digests outside public tickets; preserve restricted evidence in an approved internal store.
| Object | Minimum pinned fields | Additional scientific evidence |
|---|---|---|
| Question / project | Project ID, revision, research area, owner account, UTC time | Original framing and authorized purpose |
| Source / dataset | Dataset ID, source version, raw-byte checksum, license/permission reference | Measurement method, sampling frame, units, missing values, temporal scope |
| Notebook / model | Notebook ID, revision, input IDs/digests, code revision, environment, parameters, run receipt | Deterministic rerun (or documented nondeterminism), uncertainty |
| Figure / output | Figure ID, source notebook/result revision, plot specification, units, scale and transformations | Data-to-mark trace and accessible representation |
| Decision / conclusion | Decision ID, exact cited figures/claims, rationale, limitations and responsible actor | Human approval basis, contestable assumptions, alternatives |
| Publication draft | Document ID and exact saved revision; independent scientific/reviewer status | Rights, publication approval and actual Research public state checked independently |
5. Validate source rights and dataset fitness
- Inspect license or use permission in its original form, including redistributions, computational use and geographic/ethical restrictions; a declared license string is insufficient.
- Confirm the data actually answer the research question: population, sampling frame, observation time, unit conversions, geospatial reference, detection limits and missing-value policy.
- Compute a SHA-256 hash against the original bytes and record the dataset release/version. Verify that subsequent notebook input resolves to the same bytes or a documented transformation.
- Record exclusions and uncertainty before calculating results. A technical checksum confirms byte identity, not provenance authenticity or data quality.
python - <<'PY'
import hashlib
from pathlib import Path
# Run ONLY on an approved, local synthetic or authorized input file.
p = Path("approved_input.csv")
print("sha256", hashlib.sha256(p.read_bytes()).hexdigest())
print("bytes", p.stat().st_size)
PY
For the Research Projects native-file store, the source rejects duplicate file bytes and duplicate filenames, creates immutable file records, and associates metadata including researchProjectId and documentRole. This does not independently verify a file’s scientific origin or rights. backend/app/research_projects.py.
6. Validate notebook inputs, calculations and execution lineage
- Match notebook
projectIdand owner to the authorized project. The Research Project dashboard queries notebook heads by both owner and project ID; retain the returned notebook ID and revision. - For each scientific output, identify exact input dataset versions and code cells, dependencies, parameters, runtime/environment lock, random seeds and execution receipt.
- Rerun in an isolated, approved environment; compare outputs with documented numeric tolerances and expected nondeterminism. Review unit consistency and assumptions before accepting any matching numeric result.
- If a notebook is visible but its input revision or execution receipt is missing, classify the lineage as incomplete rather than asserting reproducibility.
For comparable scalar outputs, specify a tolerance in advance, for example |observed − reproduced| ≤ atol + rtol × |observed|. Tolerance is a scientific-method choice, not a Workspace default.
7. Validate figures, visual transformations and uncertainty
- Resolve figure asset/project binding and its underlying data/notebook result, not just its rendered image.
- Check units, axis origins/scales, spatial or temporal coordinate systems, color encodings, filters, smoothing, missing-data handling, and the reference date.
- Verify the rendered marks against the pinned numeric inputs and transformation specification, including inverse or normalization steps if applicable.
- Confirm uncertainty is represented or explicitly absent, and that the figure caption does not claim more than the source supports.
A figure uploaded with the role figure is grouped in the dashboard; grouping does not certify its scientific accuracy. backend/app/research_projects.py.
8. Validate decisions and interpretations without transferring authority
Decision objects and project governance evidence require an explicit mapping to the exact source figure, claim or document revision. A project dashboard can gather research material, but it does not automatically demonstrate a scientifically valid decision-to-evidence graph.
- Record the decision question, alternatives, assumptions, affected parties, scenario/uncertainty bounds, responsible human reviewer and rationale.
- Require evidence references that resolve to the same authorized project and exact revisions; record cross-project imports as new, permitted references rather than silently rewriting ownership.
- Check counterevidence and limitations. If evidence is missing, report decision review required, not “accepted.”
- Distinguish a user-entered reviewer label from a verified account identity, approved role or signed attestation.
9. Keep publication and review states independent
A Research Project can contain saved publication drafts while the project remains private. The source implementation labels unbound outputs private (Workspace only); even a bound private Research article is not necessarily a publicly served page.
Verify actual public state and approval in the appropriate Research publishing authority. Never infer that “saved,” “synced,” “bound,” or “author-reviewed” means scientifically reviewed or publicly approved. backend/tests/test_sc_research_project01_project_workspace.py.
Procedure
- Identify an authorized private Research Project; fix the question, owner, project ID, current revision and expected independent-review scope.
- Inventory one source dataset, one method/notebook revision, one figure and one decision or proposed conclusion. Capture any publication draft separately.
- Inspect the project dashboard and native subsystem records; preserve exact versions, rights basis and transformation history.
- Construct the directed evidence graph
dataset → notebook → figure → decision → private publication draft. Add explanatory cross-references for citation objects and external source files. - Verify all project/owner bindings, reference resolution, source hashes and prohibited circular dependencies.
- Independently reproduce a chosen numeric result, check figures and uncertainty, and review human decision authority and rights documentation.
- Perform negative tests on synthetic/staging fixtures and record unresolved issues; do not attempt unauthorized reads on real accounts.
- Record the final assessment, evidence anchors, limitations and responsible reviewer; never promote the article or scientific claims automatically.
10. Run the synthetic evidence-graph checker
The companion package ships validate_research_context.py, build_fixture.py and 37 offline unit tests. Its manifest schema sc-kb-research-workspace-scientific-check/1.0 is an educational fixture schema, not a Workspace API contract, migration or canonical export format. It never connects to Workspace or publishes data.
# From the extracted article package directory
python3 build_fixture.py ./example
python3 validate_research_context.py ./example/manifest.json
python3 replay_synthetic.py ./example/manifest.json
python3 -m unittest -v test_validate_research_context.py test_replay_synthetic.py
Expected checker outcome on the included synthetic example: status: structural-pass-only, checked: 5, errors: [], with explicit warnings and scientificReview: required. The tool verifies local byte digests, project/owner labels, required typed edges and metadata completeness. It cannot authenticate identities, verify the rights basis, confirm deployment authorization or reproduce a real research result.
# Example report fields (not a live acceptance receipt)
{
"status": "structural-pass-only",
"checked": 5,
"errors": [],
"scientificReview": "required",
"identityVerification": "not-performed",
"authorizationVerification": "not-performed",
"externalRightsVerification": "not-performed",
"softwareReleaseVerification": "not-performed"
}
11. Independently replay the synthetic numerical result
The companion replay_synthetic.py independently recomputes the illustrative dataset result after verifying the exact original dataset and notebook bytes. For the synthetic observations 55.0 and 61.0 t C/ha, the arithmetic mean is 58.0 t C/ha, compared against the documented notebook output using a predeclared absolute tolerance of 1e-10. A matching checksum alone would not establish this numerical correspondence.
python3 replay_synthetic.py ./example/manifest.json
# Expected: status = synthetic-replay-passed; samples = 2;
# reproduced = 58.0; documented = 58.0; scientificReview = required
This replay demonstrates arithmetic traceability, not general scientific validity. The synthetic SVG is an illustrative glyph rather than a quantitative rendering of the numbers. It does not establish source authenticity, sampling adequacy, uncertainty quantification, or experimental design.
12. Execute isolated Workspace implementation tests
For maintainers with the matching repository checkout and test dependencies, run the existing owner-scoped Research Projects suite. It covers idempotent creation, interrupted attachment recovery, cross-owner isolation, native-file integrity, stale project revisions and multiple private outputs. These commands are recommended; the repository test suite was not executed as part of this article upgrade.
# From a checkout pinned to the source commit noted above
cd backend
python -m pytest -q tests/test_sc_research_project01_project_workspace.py
python -m pytest -q tests/test_integrated_project_workspace_v3800.py
python -m pytest -q tests/test_unified_research_project_context_v3200.py
These tests use isolated fixtures or contract assertions. Their passing status would not replace authorized staging checks, independent source rights review or scientific reproduction.
Symptoms
| Observation | Likely failure class | Reviewer response |
|---|---|---|
| Dataset appears under the wrong project | Wrong project ID, copied artifact ID, stale browser context, or incorrect owner-scoped binding | Compare canonical source record, project ID and owning account |
| Notebook is listed but not reproducible | Missing inputs, environment, code revision, parameter record or execution evidence | Request pinned inputs and an independent replay |
| Figure exists but cannot be traced to data | Image-only upload, transformation not documented, source revision changed | Find original data-to-mark mapping; do not certify the graphic |
| Owner can see an artifact that other user should not | Potential server authorization or mistaken local/shared-device scope | Stop access, preserve sanitized evidence and escalate as a privacy incident |
| Draft looks published | Confusion between a Workspace publication draft, Research binding and served public state | Inspect the authoritative Research publication lifecycle |
| Project revision changes during assessment | Concurrent edits or unsynchronized local and server versions | Pin a stable revision and restart targeted checks |
Cause
- Context collision: a display title, file name, browser view or external handoff is treated as canonical project identity.
- Authority confusion: local guest storage, authenticated Workspace project registry and specialist services are treated as one mutable record.
- Incomplete provenance: citations, dataset versions, transforms, notebook input hashes or execution environment are absent.
- Unauthorized reuse: a source is discoverable, but the intended computational or publication use is not licensed or consented.
- Stale versions: the reviewer evaluates a figure and notebook from different revisions, or an earlier project state.
- Scientific interpretation error: numerical equality or an unchanged SHA-256 digest is mistaken for correct method, representative data or justified conclusion.
- Governance conflation: an editable project or publication draft is mistaken for approved scientific review or live public release.
Troubleshooting
- Check the project and owner against authoritative records. For a private backend project, verify the signed session and owner-scoped endpoint; do not use account IDs supplied in client JSON as proof.
- If a project is available but private-store attachment is incomplete, follow the existing idempotent setup path; do not create another project to hide the discrepancy.
- For a missing or inconsistent artifact, inspect the original object-store metadata and compare raw-byte SHA-256. Preserve corrupt or mismatched records for analysis.
- For a notebook/figure mismatch, rebind only through supported, authorized versioned operations; preserve old revisions and show the exact affected results.
- For uncertain rights, pause processing and dissemination until the source authority or data steward clarifies the permitted use.
- For cross-owner exposure or apparent public leakage, halt any publication or sharing action, restrict access through approved incident controls, and notify the responsible security/governance owner. Do not copy private data into public support tickets.
Resolution
A case is resolved only when the intended project and owner are established; source and derived-artifact versions match; missing rights, methods and transformation evidence are supplied or explicitly excluded; unauthorized links are denied; a reproducibility result is recorded; and a responsible reviewer signs a scope-limited conclusion. Unresolved scientific claims remain unverified even if the project UI is functional.
Use reversible changes and verified snapshots for recovery. Never silently overwrite source records, automatically promote drafts, infer publication authority, or delete historical evidence to make checks pass.
Verification
| Acceptance subject | Positive evidence | Required negative or boundary check |
|---|---|---|
| Project identity | Authorized account retrieves correct project ID, research question and pinned revision | A different account receives no private project details (existing isolated suite expects 404) |
| Dataset integrity and rights | Original bytes hash to recorded digest; authorized use evidence independently inspected | Modified bytes or missing rights blocks acceptance |
| Notebook lineage | Inputs, method, environment and execution receipt resolve to pinned revisions; independent rerun matches defined tolerance | Missing input, missing run receipt or mismatched calculation is flagged |
| Figure validity | Source revision, units, transformations and uncertainty can be reconstructed | Wrong units, omitted uncertainty or cross-project figure blocks acceptance |
| Decision traceability | Specific decision maps to evidence/revisions, rationale and human accountability | Disconnected decision, unsupported certainty or merely typed actor label cannot be accepted |
| Publication separation | Private drafts remain private until authorized Research lifecycle completion | A draft label or private binding cannot justify a “published” claim |
| Persistence and reload | Authorized project/record can be retrieved at identical revision following fresh session (where backend persistence applies) | Local guest state must not be claimed as account backup or cross-device sync |
| Evidence-gate integration | SC-KB-VERIFY review binds claims to exact published article text revision and software receipts | Article text edit or absent live mapping remains verification pending |
Minimum independent evidence: source commit and deployed version; account-scoped observation reference; project/revision IDs; original dataset checksum; rights basis; notebook runtime and method details; figure/data comparison; reviewer identity and decision; negative-test results; and the assessed article text revision. Retain sensitive material only in authorized evidence stores.
13. Assessment outcomes and scientific limitations
| Outcome | What it supports | What it does not support |
|---|---|---|
Structural checks passed |
The synthetic graph has consistent IDs, edges and local checksums | No claim of identity/rights verification, real numerical reproduction or publication status |
Technical controls reviewed |
Independent authenticated staging results substantiate specified access and persistence checks | Still does not establish scientific correctness |
Scientific review passed (scope-limited) |
An independent expert verified methods, data suitability, reproduction and uncertainties for specified claims | Does not confer legal rights or publication approval by itself |
Not verified / blocked |
Missing rights, identity, source version, method evidence, conflicting results, or unavailable live access | Retain unresolved findings and the last defensible status |
The synthetic checker does not implement a universal research quality score. For a manually scoped audit, one may report verified lineage edges / required lineage edges as a transparent completeness count, but a ratio of 1 does not establish correctness, causality, representativeness or reproducibility.
14. Source and technical references
- Workspace research profile, dashboard, routes and dataset/notebook/figure aggregation:
backend/app/research_projects.py. - Backend project revision and owner-scoped registry behavior:
backend/app/repository.py. - Private session and write-origin enforcement:
backend/app/wxr_private_projects.py. - Reporting router and private scientific asset treatment:
backend/app/research_reporting.py. - Integrated Project Workspace source-authority boundary:
backend/app/integrated_project_workspace.py. - Research Projects cross-owner, dataset/file, revision and private-output tests:
backend/tests/test_sc_research_project01_project_workspace.py. - Unified context contract and snapshots:
backend/UNIFIED_RESEARCH_PROJECT_CONTEXT_V3200.md. - Library continuity and explicit promotion boundary:
docs/RESEARCH_PROJECTS_LIBRARY_CONTINUITY_V130.md. - W3C PROV-O: The PROV Ontology for modeling entities, activities and agents; and the National Academies Reproducibility and Replicability in Science for scientific review principles.
Publication note: This document is editorial guidance rather than a product-release certification or a claim that scientific outputs have been independently validated. Assign the last verified deployed version only after an authorized release review. The included code and fixtures are deliberately synthetic.
