Repository navigation
hartley column terms; spike interface sorting carried as v1; final-document term census - #495
Merged
Merged
Conversation
…cument term census
[hartley column terms] (Decided by Jess Haley, 2026-11-19, did-schema
did_v2_go_forward_class_audit.md): hartley_calc writes the four per-frame
covariates' variables as nodes, S EMPTY:0000449 "contrast polarity", KXV
EMPTY:0000450 "horizontal spatial frequency component", KYV EMPTY:0000451
"vertical spatial frequency component", ORDER NCIT:C25390 "Index", through
the term registry. The round trip reads them by node, and a body migrated
before the decision by its old plain label ('hartley S', ...).
[spike interface sorting carried as v1] (Decided by Jess Haley, 2026-11-19):
a template-shaped v1 SpikeInterfaceSortingOutputs is carried whole as v1
with a carried_as_v1 note naming the decision (carry-register: none; the
class's carry row is pending in did-schema #286). Test added; the round-trip
fixture's outcome is now 'carried'.
Corpus harness: UNREGISTERED TERMS IN FINAL DOCUMENTS, the collector's rows
counted in the final documents (the collector counts what did2.build was
given, including documents a batch pass later drops), with its denominator.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FxKLA8Tbf9cpvDe7fuVeKf
Corpus run 44467146813 (others) read 0 final documents for every collector
row whose node is empty ('element type', 'isspike', 'stimulus
sequence.frame times', the Cre lines) and the right counts for every row
with a node: a term with an empty node can be stored with no `node` field,
which the walk required. A struct with a `name` is now read as a term (only
one at a row's own field can match). Test added.
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.
Builds two decisions recorded in did-schema
docs/plans/did_v2_go_forward_class_audit.md, and adds one report line to the corpus harness.[hartley column terms] (Decided by Jess Haley, 2026-11-19).
+migrators_j/hartley_calc.m(hartleyNumberColumns,hartleyNumbersBody) now writes the variables of the four per-frame covariates as nodes, throughdid2.convert.registeredTerm:+roundtrip/hartley_calc.mreads each covariate by its node first. A covariate with no node falls back to its name, either the new name or the old plain label ('hartley S', ...). New test:testTheRoundTripReadsTheHartleyColumnsByNodeAndOldLabels.[spike interface sorting carried as v1] (Decided by Jess Haley, 2026-11-19). Until now, a template-shaped v1
SpikeInterfaceSortingOutputswas a bare passthrough with no note. The migrator now writes acarried_as_v1note that names the decision, sov1_to_v2carries the document whole as v1 (the untouched source, stampeddid_v1) and the report counts it. The class has no carry row yet: did-schema #286 is still "Build pending: did-schema (its carry row)". So the site's marker is% carry-register: noneand the note cites only the decision. When the row lands, the tag goes in the note. New test:testTheSortingOutputsAreCarriedWholeAsV1WithANote. The fixture's expected outcome inwriterFixtureschanges frompassthroughtocarried, which is what the decision says.Corpus harness.
UNREGISTERED TERMS IN FINAL DOCUMENTS(helperunregisteredTermsInFinal, with its own test) counts the collector's rows again, this time in the run's final documents, and reports how many documents it walked. The collector records every termdid2.buildwas given, including documents a batch pass drops later. For example, Dab's 400element typestatements are dropped byresolveEpochProbemap(mode_statements_dropped_recorded400 ofmode_statements_seen400 in the Dab summary on V2 run 44458300150), but they still appear in the collector's list.Merge waits for did-schema
mainto hold the registry rows EMPTY:0000449, EMPTY:0000450, EMPTY:0000451 and NCIT:C25390.Part of #487. Part of Waltham-Data-Science/DID-schema#286.
Generated by Claude Code