Repository navigation
Catch up with nemar-process dev and neuroschema 0.6.1 (#2411) - #2439
Merged
Merged
Conversation
RECIPE_ENGINE is now [email protected]+871bc7f8 (nemar-process#101's lock). The contract test holds the vectors' eegprep commit to the engine, so neuroschema is re-vendored at nemarOrg/neuroschema#40's head (sensor vectors regenerated at 871bc7f8); it moves to the 0.6.1 release commit later. Part of #2411. Tested: typecheck; targeted suites incl. the process drift test against nemar-process feature/66-mir.
nemar-process#101 removes the word: eegprep 871bc7f8 orients the CTF, 4DBti and KitYokogawa frames. Part of #2411. Tested: quality-documents-contract unit test.
Re-vendor at v0.6.1 (86f28d18) and set NEUROSCHEMA_VERSION to 0.6.1; the served metadata.json now says 0.6.1. The bundle never checks a stamp, so stored 0.6.0 documents still validate (new test). Part of #2411. Tested: contract-neuroschema*, contract-schemas, data-route, zarr-engine-protocol-contract.
The fixture is nemar-process#101's product: nemar-quality 0.2.0 with mutualInformationReduction, which sorts first in the plugin step's qualityMetrics, so the __proto__ case anchors on it. Part of #2411. Tested: quality-documents-contract (byte comparison against 90e248d7), schema-check, view-digest and the backend quality suites.
Removes the a5125c7b pin and its comment: nemar-process dev carries the epic once nemarOrg/nemar-process#98 merges. Closes #2411.
Duplicates and non-finite values: true at edf694c8, fixed at 871bc7f8 (sccn/eegprep#672); the merge and drop rules still decide. Part of #2411.
The hold from a premature deploy stops the recipe everywhere and never clears on its own; follow the 0.10.40 procedure. A stored frame_rotated is still admitted. Part of #2411.
The fixture must carry mutualInformationReduction (entry and a one-recording distribution), and a stored frame_rotated skip is admitted by the entry and its Ajv mirror. Part of #2411. Tested: quality-documents-contract, adr-index.
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR2439Version: 🤖 Updated on each push. |
…-dev # Conflicts: # CHANGELOG.md
4 tasks done
This was referenced Nov 27, 2026
Merged
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.
Closes #2411
Catches nemar-cli up with nemar-process's epic (nemarOrg/nemar-process#101 merged into it as
90e248d7) and neuroschema 0.6.1 (nemarOrg/neuroschema#40, tagv0.6.1,86f28d18), then points CI back at nemar-processdev.Changes
RECIPE_ENGINEmoves to[email protected]+871bc7f8a03b6d925330c598e8dcd18b835614d3, the eegprep block of nemar-process's lock at90e248d7. This brings ICLabel on ONNX (onnxruntime 1.32.0) and MIR innemar-quality0.2.0. The tests that hard-code the engine moved with it. Recipe versions stay1.0.0-b2.build-vendor.mjsat86f28d18:dataset.bundle.jsonprovenance,views/SHA256SUMS.json, and the two regenerated sensor vector files.NEUROSCHEMA_VERSIONis now0.6.1, and the contract tests'RELEASE_COMMITand version expectations moved with it. The neuroschema example fixtures are re-copied atv0.6.1, and the comments that name the current version were updated.test/fixtures/quality/ica-viewsis nemar-process90e248d7's product. ItsSHA256SUMS.jsonhas the new sizes, digests andsource_commit, and the byte comparison against that commit passes. The__proto__case intest/quality-documents-contract.unit.test.tsnow anchors onnemar-quality:mutualInformationReduction, which sorts first in the plugin step'squalityMetrics. New tests fail if a re-copied fixture lacks MIR: one checks that the entry carries the metric, the other that its one-recording distribution matches the record to four decimals.frame_rotatedretired. Dropped fromVIEWS_SKIPPED_NEMAR_PROCESS_WORDS, which now equals nemar-process'sOWN_SKIP_REASONS.frame_rotatedis admitted. Tests cover both the entry reader and its Ajv mirror.mir_refusedandmir_bins_changedare plugin metric-skip words, in the run record'sextensions.nemar.plugins[].metrics_skipped.iclabel_frame_unorientedis thedetailof a recording that fails.nameandstatusonly, andreadRecipeRecordignores the newonnxruntimekey in the engine stamp.871bc7f8. Its two eegprep divergences (empty map for duplicates, shifted values) are marked as true atedf694c8and fixed at871bc7f8; the merge and drop rules still decide both. CHANGELOG has an Unreleased entry.ref: devagain, and the PINNED comment is removed (last commit).How the version bump affects stored documents
metadata.jsonnow servesschema_version0.6.1. The envelope is built per request fromNEUROSCHEMA_VERSION, and the live contract check accepts any patch on the0.6line.0.6.0or earlier still validate. The bundle usesnsc:ids and carries noraw.githubusercontent.com/.../v0.6.xURI. Itsschema_versionis a plain string. The backend validates only extension objects (dataQuality,processing,signalJourney) by theirnsc:id, and those carry no stamp.0.6.0,0.4.1and0.3.0against the 0.6.1 bundle. The only exact-version literal is the ZodneuroschemaDatasetSchema, which no backend code validates against; only the tests use it.Deployment
Follow the 0.10.40 procedure before this reaches an environment with compute on:
main.COMPUTE_RUNTIME_IMAGE.nemar-recipe version.If this is deployed before the image, one record from the older image holds the recipe's whole claimed tuple (
tuple_mismatch). The cron then skips that recipe for every dataset (registry_drift). The hold does not clear with time or by repinning the image; only deleting the hold rows or a new registry tuple clears it. Compute stays dark until the owner turns it on.Merge order
dev. They pass only once Pipeline checkpoints, live progress and quality plugins (ADR 0134, ADR 0137) nemar-process#98 has merged there.NEMAR_CLI_DIR=<nemar-cli> bun scripts/copy-quality-views-vocabulary.mjs; it moves the pin to neuroschema 0.6.1 at86f28d18and changes the two sensor vector fixtures. Until then, that PR's CI fails its vocabulary drift test.Test plan
Targeted runs only; the full
bun testwas not run. The drift tests ran against a nemar-process checkout at90e248d7withNEMAR_PROCESS_DIRandNEMAR_PROCESS_OBSERVATION_DIRset andNEMAR_REQUIRE_PROCESS_RECIPES,NEMAR_REQUIRE_PROCESS_QUEUESandNEMAR_REQUIRE_PROCESS_OBSERVATION_DRIFTon.bun run typecheck,bun run lint, and biome on the changed files (no errors)bun run migrations:d1-checkcompute-recipes*,contract-neuroschema*,contract-schemas,neuroschema-build-vendorandquality-documents*compute-{pipeline-input,derivatives,runner-jobs,job-callbacks,pipeline-dispatch,pipeline}andadmin-compute-*zarr-engine-protocol-contract,metadata-json*,quality-{route,admin-views,processing-route},data-route,schema-checkandview-digestdevafter Pipeline checkpoints, live progress and quality plugins (ADR 0134, ADR 0137) nemar-process#98Agentic AI tools were used. The author assumes full responsibility for this content.