Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #44 +/- ##
==========================================
- Coverage 89.59% 88.67% -0.93%
==========================================
Files 74 78 +4
Lines 3950 4441 +491
==========================================
+ Hits 3539 3938 +399
- Misses 411 503 +92 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Tasks 1, 3, 4 from docs/plans/2026-05-07-pitch-filler.md: - RawEntry.title plumbed through hn_algolia source - pitch_filler.j2 prompt template (entity-domain ground truth, single search) - model_pitch_filler/enable_pitch_filler/max_tokens/max_chars config keys - validator: enable_pitch_filler requires tavily_api_key
Task 2 from docs/plans/2026-05-07-pitch-filler.md: - HaikuPitchFiller skip-guards on body/url/title/budget; calls Haiku with a single tavily_search tool, gates on confidence=high - Per-entry isolation: HTTP/JSON/schema errors log + return entry unchanged; BudgetExceededError propagates so the run can short-circuit - RawEntry.synthesized flag threads through to CandidatePayload.provenance
Task 5 from docs/plans/2026-05-07-pitch-filler.md: - Drop hn_algolia auto-enable for Wayback+Tavily; auto-enable pitch filler instead - New --enable-pitch-filler/--no-pitch-filler flag (still gated by TAVILY_API_KEY) - HaikuPitchFiller appended last so cheap fetchers run first when also enabled - entry.synthesized threads through _build_payload to provenance=synthesized
Task 6 from docs/plans/2026-05-07-pitch-filler.md: - 12 unit tests for HaikuPitchFiller covering confidence gate, skip-guards, malformed JSON isolation, budget exhaustion, and tool-call wiring - CLI tests updated for the new auto-enable: pitch filler in for hn_algolia, Wayback/Tavily-extract no longer auto-enabled
Adds the raw_html branch in HaikuTitlePreFilter._should_skip to coverage and a docstring on the skip-guard for symmetry with HaikuPitchFiller.
Small wording cleanup: 'most HN-Algolia hits the phrase search returns' was awkward; restructure as 'most HN-Algolia phrase-search hits aren't...' for clarity.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.