• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

deepset-ai / haystack / 21588181603
92%

Build:
DEFAULT BRANCH: main
Ran 02 Feb 2026 11:27AM UTC
Jobs 1
Files 252
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Feb 2026 11:24AM UTC coverage: 92.443% (+0.006%) from 92.437%
21588181603

push

github

web-flow
feat: add strip_whitespaces and replace_regexes to DocumentCleaner (#10400)

* feat: add strip_whitespace and regex_replace to DocumentCleaner

Add two new parameters to DocumentCleaner:

1. strip_whitespaces - removes leading/trailing whitespace using str.strip()

2. replace_regexes - maps regex patterns to replacement strings

Fixes #8798

* docs: Add release notes for DocumentCleaner enhancements

Add release notes documenting the new strip_whitespace and regex_replace
parameters added to the DocumentCleaner component.

- strip_whitespace: Removes leading/trailing whitespace while preserving internal formatting
- regex_replace: Allows custom regex-based text transformations with replacement strings

Addresses review feedback requesting release notes for PR #10400.

* refactor: rename parameters and handle page breaks in replace_regexes

* fmt

---------

Co-authored-by: Julian Risch <julian.risch@deepset.ai>

14766 of 15973 relevant lines covered (92.44%)

0.92 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
98.32
0.22% components/preprocessors/document_cleaner.py
Jobs
ID Job ID Ran Files Coverage
1 21588181603.1 02 Feb 2026 11:27AM UTC 252
92.44
GitHub Action Run
Source Files on build 21588181603
  • Tree
  • List 252
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21588181603
  • f0987def on github
  • Prev Build on main (#21517269097)
  • Next Build on main (#21627420703)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc