MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / parse-session.mjs

File parse-session.mjs

scripts/agent-eval/parse-session.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env node
2// Parse the newest Claude Code session log for a project + its subagent logs,
3// and report the tool-call breakdown (main + subagents). Works for interactive
4// runs (driven via itrun.sh) — Claude Code writes full transcripts to

Callers

nothing calls this directly

Calls 13

formatSufficiencyFunction · 0.90
classifySufficiencyFunction · 0.90
formatAllocationFunction · 0.90
computeAllocationFunction · 0.90
collectExploreTextsFunction · 0.90
finalAnswerTextFunction · 0.90
tallyFunction · 0.85
addTokFunction · 0.85
sumTokensFunction · 0.85
parseLinesFunction · 0.85
errorMethod · 0.80
fmtFunction · 0.70

Tested by

no test coverage detected