Repository navigation
Profiler: nested documents, entities inside parts, false hierarchies, findings-first narration - #899
Merged
Merged
Conversation
- inputs: only lists of plain values are a table stored by column; equal- length lists of records (a document's transactions and holdings) stay separate parts, so single items join their own list and nothing is paired by position. - embedded.py: an identifier that repeats, with a name-like column of the same object that follows it, becomes its own part (derived_from); the part it came from links to it. - A nested record keyed by its parent and place counts as a key for classification (the findings still say designed). - The dataset name is no longer overwritten (report title "None"). - SKILL.md modes table; tests for each. Found on profiling ticket 07's insider ownership filings. Operator: "Fix the profiler first (Recommended)"; "fix the skill once you find any issue this is a standing instuction". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FFKdv4nqKXKM9d5Cf2hEFk
- embedded: a near-constant or sparse column is not carried; evidence written (derived_evidence); rows disagreeing with the kept value are a quality item (carried_value_disagrees); ties keep the smallest value; name clashes said; no caller state changed. - Part.is_input names the "read from an input as it is" rule. - findings.md: derived_from, section 3.2, the designed child key. - data-quality: the new item listed as new code. - profile_inputs removes a working copy it made itself (188 left behind by tests since 2026-10-05). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FFKdv4nqKXKM9d5Cf2hEFk
Operator, 2026-10-09: "fix the skill to be more story telling not quite i need to know what it is finding no more stupid decussion and slop". - data-profiling and data-onboarding: each update is a finding with its numbers and meaning; no announced steps, plans or reasoning; a step is named only when it blocks or takes long. The cadence, masking and approval rules stay. - The run's progress lines say what each stage found (parts and rows, entities carried, keys, links, classes, hierarchies). Overlap guard: grok/worker-replay holds an uncommitted 3-line edit in data-onboarding SKILL.md's Examples (near line 589), apart from this section; operator, 2026-10-09: "Commit both skills (Recommended)". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FFKdv4nqKXKM9d5Cf2hEFk
- A flag spelled several ways (0, false, 1, true) is a flag. - A parent level needs 10 rows outside its commonest value; two rows with values of their own prove nothing (minority_rows). - Columns that determine each other on 99% of rows (an id and its name with a stray spelling) name one thing, not two levels. Found on profiling ticket 07's ownership filings: all 6 hierarchies the run reported were coincidences. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FFKdv4nqKXKM9d5Cf2hEFk
paulananth
added a commit
that referenced
this pull request
Oct 11, 2026
01d: Trial A rerun on main after #899 gives 38 of 41, every line identical to the last result (the three known misses are record keys). #899's review, PR and merge recorded. 06: #879's merge recorded; the re-check against Codex's final design stays open (Issue 20 L7, L8). Map: 01d, 05 and 06 done; 08's 13F rows unblocked. Co-authored-by: Aneena Ananth <aneenaananth@MacBook-Air.local> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 11, 2026
paulananth
added a commit
that referenced
this pull request
Oct 11, 2026
…#919) Carried from claude/profiling-07-ownership (2026-10-09) onto today's main: the ADV rules tick and #896's record, the Insider ownership section (the parts #899 finished ticked), the ownership conversion script, map row 07. The two ownership profiles are not committed: they hold owners' names and addresses unmasked, a profiler sensitivity gap now on the ticket. Co-authored-by: Aneena Ananth <aneenaananth@MacBook-Air.local> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
What this fixes
Profiling the insider ownership filings (Forms 3, 4 and 5; ticket 07) classed every part "unknown" and showed six hierarchies that did not exist. All of the causes are in the profiler, and each fix is generic. Operator: "Fix the profiler first (Recommended)"; standing instruction: "fix the skill once you find any issue".
Reading nested documents
Entities carried inside a part (new:
embedded.py)derived_from). The part it came from links to it.carried_value_disagrees, never dropped silently.derived_evidence).False hierarchies
Narration. Operator: "fix the skill to be more story telling ... i need to know what it is finding no more ... discussion and slop".
Also
findings.mdgainsderived_fromand §3.2, and states how a nested record's designed key is treated.Results
On the ownership cohort (3,367 filings):
Verification
Part.is_inputtidy-up is taken.Overlap guard
An earlier commit (the narration) ran while Grok held an uncommitted edit to the Examples section of
data-onboarding/SKILL.md. The operator said "Commit both skills (Recommended)". After the rebase the guard is clear.🤖 Generated with Claude Code
https://claude.ai/code/session_01FFKdv4nqKXKM9d5Cf2hEFk