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

File parse-run.mjs

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

Source from the content-addressed store, hash-verified

1#!/usr/bin/env node
2// Parse Claude Code stream-json run log(s): tool-call sequence, token usage, and
3// RESIDUAL CONTEXT OCCUPANCY — how many tokens of the context window each tool
4// family's responses still occupy when the run ends.

Callers

nothing calls this directly

Calls 8

selftestFunction · 0.85
parseSessionFunction · 0.85
formatOccupancyFunction · 0.85
formatSufficiencyFunction · 0.85
formatAllocationFunction · 0.85
formatEnvelopeFunction · 0.85
errorMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected