MCPcopy Index your code
hub / github.com/idank/explainshell / _prep_stats

Function _prep_stats

explainshell/extraction/runner.py:280–285  ·  view source on GitHub ↗

Build an ExtractionStats from a PreparedFile's prep-phase metrics.

(prepared: PreparedFile)

Source from the content-addressed store, hash-verified

278
279
280def _prep_stats(prepared: PreparedFile) -> ExtractionStats:
281 """Build an ExtractionStats from a PreparedFile's prep-phase metrics."""
282 return ExtractionStats(
283 chunks=prepared.n_chunks,
284 plain_text_len=prepared.plain_text_len,
285 )
286
287
288def _process_one_batch(

Callers 1

_process_one_batchFunction · 0.85

Calls 1

ExtractionStatsClass · 0.90

Tested by

no test coverage detected