Skip to content

Phase 0a.1: ADR 0146, quality axes - #2531

Merged
neuromechanist merged 4 commits into
feature/issue-2524-epic-quality-axesfrom
feature/issue-2525-phase0a-quality-adr
Nov 28, 2026
Merged

neuromechanist merged 4 commits into
feature/issue-2524-epic-quality-axesfrom
feature/issue-2525-phase0a-quality-adr

Conversation

@neuromechanist

@neuromechanist neuromechanist commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Phase 0a.1 of the quality axes epic: ADR 0146, "Quality is three axes over one declared inventory and one state vocabulary, and NEMAR computes no composite score" (status proposed until the inventory and neuroschema 0.7.0 reach dev).

It decides: the three axes (signal, metadata completeness, annotation and HED) with conformance and integrity as precondition lines; no composite score, index, completeness percentage or dataset-wide medal anywhere, and no signal grade; one element inventory in shared/contract/quality/inventory.json, copied by digest into the website and held to the recipes and manifests by tests; one state vocabulary owned by neuroschema (qualityState, qualityItemResult), with stale derived on read; nothing hidden or zero-filled; coverage (n of N) beside every aggregate; fix pointers across axes and "fix upstream" on mirrors; the metadata axis measured per recording after inheritance as k of n, with the legacy rule kept as the profile eeg-bids-metadata-stats-2024; the annotation ladder C0 to C6; where each axis's documents live (append-only D1 rows built into metadata.json on read, never datasets columns); the retirement of nemar.processed and nemar.hed_annotation; dataset-level views on the Data quality tab and file-level views minimally in the signal viewer; percentiles only against a named reference; and the RFC path for attainments with its binding "not graded" rules.

Records, without deleting either: ADR 0137 decision 9's first sentence (where the per-recording views live) is partially superseded, with a pointer paragraph in ADR 0137 and in its index entries (the repository's convention keeps amendments for clarifications, so a changed verdict is a partial supersession); website ADR 0035's W6 "Where it lives" is superseded in part, and the website adds its own pointer in phase 0b (nemarOrg/website#625).

Index: ADR 0146 added to the index and to the load-bearing list.

Part of #2525 (phase 0a has two more parts: neuroschema 0.7.0, nemarOrg/neuroschema#41, and the inventory and sentences in shared/contract/quality/). Part of epic #2524.

Review round 1 (no blocking or important findings), fixed in 7abbd4b: decision 16 adds the three missing "not graded" rules (rule version newer than the record, unpublished, private or anonymous datasets, never removed silently); the supersession scope now says only the Quality panel placement is replaced and the server-drawn dataset summary and the admin drill-down stand (ADR 0146 header, ADR 0137 pointer, index entry); decisions 2 and 16 say a criterion-referenced attainment is not a grade; P8 added to the principles line; decision 10 names neuroschema 0.8.0; one line each for search thresholds under ADR 0032, the "judged by a model" label and naming the archive or serving copy, and the preprocessing-state descriptor recorded as an open item in Consequences. Owner ruling folded in: the 13-category item set is NEMAR's own and changes through reviewed pull requests; the RFC covers attainments, what constitutes them and others' additional metrics.

Test plan

  • bun test test/adr-index.unit.test.ts test/adr-0119-wording.unit.test.ts test/contract-derivatives.unit.test.ts: 194 pass, 0 fail (first head); after round 1, adr-index and adr-0119-wording: 32 pass, 0 fail.
  • Documentation only; no code, migration or contract file changes. Full bun test not run (runs at epic to dev).

Agentic AI tools were used. Workflows follow the Research Skills (doi:10.5281/zenodo.20696515). The author assumes full responsibility for this content and associated changes.

@neuromechanist neuromechanist added documentation Improvements or additions to documentation data-quality labels Nov 28, 2026
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR2531

Version: 0.10.61-PR2531.7abbd4b
Commit: 7abbd4b


🤖 Updated on each push.

@neuromechanist
neuromechanist merged commit 75d20a1 into feature/issue-2524-epic-quality-axes Nov 28, 2026
22 checks passed
@neuromechanist
neuromechanist deleted the feature/issue-2525-phase0a-quality-adr branch November 28, 2026 19:11

This branch was previously deployed

1 inactive deployment
npm — 7abbd4b9 Deployed Nov 28, 2026 by neuromechanist via publish #5279
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-quality documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant