Files
LabDataStorageEvaluation/docs/specs_old/11_export_json.md
administrator b173ac82a9 fix(docs): fix formatting issues in README.md
- adapt meta-/code-/obs- rules to the local Python benchmark pipeline
- replace db-sql-ddl, code-config-env-scope, test-e2e-pytest with pipeline equivalents
- add code-python-style, data-determinism, data-naming-units, bench-methodology, build-pipeline-tasks
- normalize specs and README typography to ASCII per code-data-formatting
- rewrite root CLAUDE.md trigger table; add .cursorrules and .gitignore
- specs: pipeline plan and task specs 00-11
- rules: 19 binding rule files adapted for this project
- docs: CLAUDE.md rule-trigger table
- config: .cursorrules commit convention, .gitignore excluding out/ and .venv/
- docs: rewrite README.md with pipeline diagrams, setup guide, result placeholders
- config: requirements.txt for the closed dependency list
- datagen: make_lab_config.py writes out/config/lab_config.yaml and .done marker
2026-07-11 13:39:13 -04:00

904 B
Raw Blame History

Task 11 — Export: JSON

Goal

Two JSON products from the frozen canonical snapshot.

Input

  • canonical/ snapshot, schema/ (Tasks 0910).

Actions

  1. Write scripts/export_json.py (streaming writer; never build the whole document in memory).
  2. Mega-file exports/json/dataset.json: full hierarchy data_note → batches → coupons(die) → samples → measurements → points, plus embedded data_dictionary and instruments.
  3. Split set exports/json/split/: directory mirrors the hierarchy; one file per measurement (points inline), plus index.json per level.
  4. Each measurement object carries its lineage block {source_file, mapping_version, schema_version}.

Intermediate Result (done when)

  • Both products written; spot-validation: point counts per measurement match canonical.
  • exports/json/EXPORT_MANIFEST.json written (snapshot id, versions, counts).