open-code-review/internal/llmloop
kite 453c4f9c76 test: add coverage tests for agent, llm, llmloop, and scan packages
Raise statement coverage to 80%+ across four core packages to meet
FLOSS best practice badge criteria. Key additions:

- internal/scan (67% → 90%): getters, lookupDiff, filterScanItems,
  whyExcluded all branches, extFromPath, maybeRunPlan/ProjectSummary/
  Dedup success paths, executeSubtask, Run pipeline, dispatchSubtasks.
- internal/agent (60% → 83%): getters, filterDiffs, findDiff,
  resolveSystemRule, injectDiffMap, executeReviewFilter, executePlanPhase,
  executeSubtask, dispatchSubtasks.
- internal/llmloop (59% → 80%): warnings, tool calls, usage recording,
  compression lifecycle (cancel/tryApply/run/trigger), partitionMessages.
- internal/llm (67% → 80%): parseBpeData, embedded BPE loader, message
  constructors, ExtractText, ChatResponse helpers, parseShellRC.
2026-06-27 00:15:28 +08:00
..
compression.go feat: add ocr scan for full-file code review (#93) 2026-06-24 22:07:25 +08:00
compression_test.go test: add unit tests for pure logic functions across 6 packages 2026-06-26 22:41:35 +08:00
loop.go fix: ensure current file path is always injected for code_comment and… (#193) 2026-06-25 16:29:09 +08:00
loop_test.go test: expand unit test coverage for agent, llm, llmloop, and tool packages 2026-06-26 23:09:11 +08:00
pool.go feat: add ocr scan for full-file code review (#93) 2026-06-24 22:07:25 +08:00
pool_test.go test: expand unit test coverage for agent, llm, llmloop, and tool packages 2026-06-26 23:09:11 +08:00
runner_test.go test: add coverage tests for agent, llm, llmloop, and scan packages 2026-06-27 00:15:28 +08:00