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

IBM / unitxt / 14254422405
81%

Build:
DEFAULT BRANCH: main
Ran 03 Apr 2025 11:33PM UTC
Jobs 1
Files 62
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

03 Apr 2025 11:05PM UTC coverage: 80.304% (+0.07%) from 80.233%
14254422405

push

github

web-flow
Add retry policy for huggingface assets downloads (#1711)

* Add retry policy for huggingface assets connection

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Enhance retry mechanism to include FileNotFoundError and set max connection retries in test settings

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Nested Exceptions

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Add FileNotFoundError to retry exceptions in exponential backoff decorator

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Update default retry setting to use max_connection_retries from settings

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Add exponential backoff retry decorator to prepare methods in GraniteDocumentsFormat and HFSystemFormat

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Remove download_config from hf_evaluate_load and hf_load_dataset; set max_connection_retries in test settings

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Add unit tests for retry decorator with exponential backoff

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Fix loader cache size assignment and handle None dataset case in LoadHF class

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Add exponential backoff retry to get_splits method and improve error handling for missing datasets

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Add error handling for None dataset case in LoadHF class and improve retry logic in utils

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Re-raise ValueError in hf_load_dataset for improved error handling

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Update GitHub Actions workflow to include constraints file and adjust package installations

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Remove spacy dependency from pyproject.toml

Signed-off-by: elronbandel <elronbandel@gmail.com>

* Refactor error handling in LoadHF class to raise NotImplementedError for None dataset and im... (continued)

1579 of 1957 branches covered (80.68%)

Branch coverage included in aggregate %.

9878 of 12310 relevant lines covered (80.24%)

0.8 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.13
0.02% unitxt/settings_utils.py
3
98.25
0.03% unitxt/formats.py
9
86.9
0.32% unitxt/string_operators.py
31
83.25
3.62% unitxt/utils.py
99
76.22
0.22% unitxt/loaders.py
428
75.53
0.04% unitxt/metrics.py
Jobs
ID Job ID Ran Files Coverage
1 14254422405.1 03 Apr 2025 11:33PM UTC 62
80.3
GitHub Action Run
Source Files on build 14254422405
  • Tree
  • List 62
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #14254422405
  • 4905b2e6 on github
  • Prev Build on main (#14091918476)
  • Next Build on main (#14255435419)
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