Skip to content

Add LLM-friendly analysis module (PR 3) - #10

Merged
jeffbrennan merged 1 commit into
mainfrom
claude/implement-next-step-uE1Qc
May 17, 2026
Merged

Add LLM-friendly analysis module (PR 3)#10
jeffbrennan merged 1 commit into
mainfrom
claude/implement-next-step-uE1Qc

Conversation

@jeffbrennan

Copy link
Copy Markdown
Owner
  • sparkparse/analyze.py: to_plan_summary() builds a token-efficient dict
    of per-node runtime metrics (durations, scan paths, join types) correlated
    from accumulator updates; find_cartesian_joins(), find_largest_scans(),
    find_repeated_scans(), find_spill() for programmatic/notebook use
  • tests/test_analyze.py: 23 tests covering structure, content, and edge cases
    across all three fixture logs

https://claude.ai/code/session_01K2vBStnakxoYEd85tQrjhZ

- sparkparse/analyze.py: to_plan_summary() builds a token-efficient dict
  of per-node runtime metrics (durations, scan paths, join types) correlated
  from accumulator updates; find_cartesian_joins(), find_largest_scans(),
  find_repeated_scans(), find_spill() for programmatic/notebook use
- tests/test_analyze.py: 23 tests covering structure, content, and edge cases
  across all three fixture logs

https://claude.ai/code/session_01K2vBStnakxoYEd85tQrjhZ
@jeffbrennan
jeffbrennan merged commit 3d39986 into main May 17, 2026
2 checks passed
@jeffbrennan
jeffbrennan deleted the claude/implement-next-step-uE1Qc branch May 17, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants