Skip to content

Commit 0f93552

Browse files
committed
test(filter): cover pipeline coordinator + core filters
internal/filter (the 31-layer compression pipeline) was 24%: added tests for the real entry points — PipelineCoordinator.Process across ModeNone/Minimal/ Aggressive on code/prose/JSON/empty/large inputs (stats, budget enforcement, determinism, idempotence, guardrail fallback, nil-receiver guard), plus the composed core filters (GoalDriven, Contrastive, Ngram, EvaluatorHeads, Gist, HierarchicalSummary) and CoreFilters.Apply. Skipped the experimental auto-generated layer files. filter 24->28%; tok overall 37->40%. Gate 36->38.
1 parent c1b128e commit 0f93552

3 files changed

Lines changed: 847 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
- name: Coverage threshold
106106
run: |
107107
COVERAGE=$(go tool cover -func=coverage.out | tail -1 | grep -oE '[0-9]+\.[0-9]+' || echo "0")
108-
THRESHOLD=36
108+
THRESHOLD=38
109109
if [ "$(echo "$COVERAGE < $THRESHOLD" | bc -l)" -eq 1 ]; then
110110
echo "::error::Coverage ${COVERAGE}% is below threshold ${THRESHOLD}%"
111111
exit 1

0 commit comments

Comments
 (0)