Skip to content

feat: add fixture corpus and bump version to 0.5.6#22

Merged
pankaj28843 merged 1 commit intomainfrom
chore/release-0.5.6
Mar 5, 2026
Merged

feat: add fixture corpus and bump version to 0.5.6#22
pankaj28843 merged 1 commit intomainfrom
chore/release-0.5.6

Conversation

@pankaj28843
Copy link
Owner

Summary

  • add per-source golden fixtures for full-page HTML to article extraction
  • add black-box fixture corpus test comparing extracted vs expected inner text (whitespace-insensitive)
  • improve extraction candidate selection/sanitization and bump version to 0.5.6

Validation

  • uv run ruff format . && uv run ruff check --fix .
  • timeout 60 uv run pytest -v

- add per-source golden fixtures and black-box fixture test

- improve candidate selection and sanitization for fixture sources

- bump version to 0.5.6
@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

❌ Patch coverage is 91.17647% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.61%. Comparing base (3be42f3) to head (ccb65ef).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/article_extractor/extractor.py 90.00% 3 Missing and 4 partials ⚠️
src/article_extractor/content_sanitizer.py 91.30% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
- Coverage   99.66%   99.61%   -0.05%     
==========================================
  Files          31       31              
  Lines        3547     3637      +90     
  Branches      491      509      +18     
==========================================
+ Hits         3535     3623      +88     
- Misses          5        6       +1     
- Partials        7        8       +1     

☔ 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.

@pankaj28843 pankaj28843 merged commit 8a09019 into main Mar 5, 2026
16 of 18 checks passed
@pankaj28843 pankaj28843 deleted the chore/release-0.5.6 branch March 5, 2026 05:59
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