Repository navigation
Phase 0a.1: ADR 0146, quality axes - #2531
Merged
neuromechanist merged 4 commits intoNov 28, 2026
Merged
neuromechanist merged 4 commits into
neuromechanist merged 4 commits into
Conversation
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR2531Version: 🤖 Updated on each push. |
neuromechanist
merged commit Nov 28, 2026
75d20a1
into
feature/issue-2524-epic-quality-axes
22 checks passed
3 tasks
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
proposeduntil the inventory and neuroschema 0.7.0 reachdev).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), withstalederived 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 profileeeg-bids-metadata-stats-2024; the annotation ladder C0 to C6; where each axis's documents live (append-only D1 rows built intometadata.jsonon read, neverdatasetscolumns); the retirement ofnemar.processedandnemar.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-indexandadr-0119-wording: 32 pass, 0 fail.bun testnot run (runs at epic todev).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.