Skip to content

Defillama - #44

Closed
vaporif wants to merge 51 commits into
mainfrom
defillama
Closed

Defillama#44
vaporif wants to merge 51 commits into
mainfrom
defillama

Conversation

@vaporif

@vaporif vaporif commented May 7, 2026

Copy link
Copy Markdown
Owner

No description provided.

@codecov

codecov Bot commented May 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.36414% with 90 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.67%. Comparing base (763aa67) to head (b9b334a).

Files with missing lines Patch % Lines
slopmortem/corpus/sources/defillama.py 84.71% 35 Missing ⚠️
slopmortem/llm/_pitch_filler_tools.py 38.46% 32 Missing ⚠️
slopmortem/cli/_common.py 50.00% 6 Missing ⚠️
slopmortem/ingest/_pitch_filler.py 92.06% 5 Missing ⚠️
slopmortem/cli/_ingest_cmd.py 88.88% 2 Missing ⚠️
slopmortem/config.py 81.81% 2 Missing ⚠️
slopmortem/corpus/sources/wayback.py 71.42% 2 Missing ⚠️
slopmortem/ingest/_helpers.py 66.66% 2 Missing ⚠️
slopmortem/corpus/_qdrant_store.py 0.00% 1 Missing ⚠️
slopmortem/corpus/sources/curated.py 0.00% 1 Missing ⚠️
... and 2 more
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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

vaporif added 23 commits May 7, 2026 14:08
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
@vaporif vaporif closed this May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant