Repository navigation
element: the class variable by node EMPTY:0000401 "software class" - #500
Merged
Merged
Conversation
Decided by Jess Haley, 2026-11-19 [variable terms batch 1] (did-schema docs/plans/did_v2_go_forward_class_audit.md): the v1 'ndi element class' variable becomes the registered node EMPTY:0000401 "software class". #496 built the other lookups and stopped here because NDI-matlab compared the phrase by name; NDI-matlab claude/element-class-by-node now reads the node first and the old name too. - +migrators_j/element.m writes the kept class assertion's variable through did2.convert.registeredTerm('EMPTY:0000401', 'software class'), like the other #496 lookups; the unused kindAssertion helper goes. - +roundtrip/element.m and +roundtrip/wholeBatch.m (unlinkedDevice) read the node, or the old label with no node. - testRawV1RoundTripElement: the not-written checks look for either spelling; the kept assertion carries the node and the registry label and not the old label; a new test rebuilds the class from all three spellings (node and label, node only, old label). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FxKLA8Tbf9cpvDe7fuVeKf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FxKLA8Tbf9cpvDe7fuVeKf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FxKLA8Tbf9cpvDe7fuVeKf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FxKLA8Tbf9cpvDe7fuVeKf
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.
Part of Waltham-Data-Science/DID-schema#89
Decided by Jess Haley, 2026-11-19 [variable terms batch 1] (did-schema
docs/plans/did_v2_go_forward_class_audit.md): the v1 'ndi element class' variable becomes the registered node EMPTY:0000401 "software class". #496 built the other lookups and stopped on this one because NDI-matlab V2 compared the phrase by name. The NDI half, VH-Lab/NDI-matlab#1280 (same branch name), makes every NDI reader match the node first and still accept the old name; this PR merges after it.did-schema
mainholds the node:schemas/registry/did_v2_term_registry.jsonhas"name": "software class","node": "EMPTY:0000401"(status decided, Jess Haley, 2026-10-26 [census terms]).Changes
+did2/+convert/+migrators_j/element.m: the kept class assertion (only where the class does not rebuild, [ndi element class not kept]) writes its variable throughdid2.convert.registeredTerm('EMPTY:0000401', 'software class'), like the other variable terms batch 1: statement variables by node; modality unresolved is a report note #496 lookups. The now-unusedkindAssertionhelper is removed.+did2/+convert/+roundtrip/element.m: reads the class from a variable with node EMPTY:0000401, or the old label 'ndi element class'.+did2/+convert/+roundtrip/wholeBatch.m(unlinkedDevice): the same two spellings.tests/+did2/+unittest/testRawV1RoundTripElement.m: the "not written" checks look for either spelling (so they cannot pass just because the label changed); the kept assertion carries node EMPTY:0000401 with the registry label and not the old label; newtestTheRoundTripReadsBothClassSpellingsrebuilds the class from node and label, node only, and old label.NDI's
TestElementLabelMatchesMigrator(#1280) accepts the node lookup, and counts both spellings toward its one-site check.Generated by Claude Code