Repository navigation
Typed identity in group keys, FOV tie-breaking and experiment relations (#164, #237, #541) - #612
Closed
guijacquemet wants to merge 3 commits into
Closed
guijacquemet wants to merge 3 commits into
guijacquemet wants to merge 3 commits into
Conversation
group_key wrote a label JSON cannot hold through str, so a Timestamp, a date or bytes and the text label that prints the same shared one key, and a lookup by group found the wrong group's result. Such a label is now keyed by its type and its text. Every label JSON holds (text, numbers, booleans, None, tuples) keeps exactly the key it had. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
…xt (#237) The nearest-neighbour tie-break of the stage-neighbour check and the canonical field order of the redundancy-distance shuffles sorted the FOV key as text, so fields 1 and "1" tied and the stable sort left their order to the row order of the FOV table: which of two equidistant fields was compared, and the seeded null draws, changed when the table was reordered. Both now use the typed canonical order (_identity.canonical_order). Keys that print apart sort exactly as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
…ty (#541) experiment_relations selected each experiment's rows with np.isin(labels, list(conditions)). A declared list mixing types (1 and "x") became the text ["1", "x"]: the rows of condition 1 were left out of the experiment and those of condition "1" put in, so a relation that held in the experiment was missed or credited to another. The conditions of the observations and the declared ones are now both typed keys (_identity.typed_frame), and matched as such. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
Contributor
Author
|
Closing as stale (owner decision, cleanup of 14 November 2026). This draft dates from 5 November and is 46 commits behind Generated by Claude Code |
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.
Draft, work in progress: one commit per issue (first commit pushed, #164).
Generated by Claude Code