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

IBM / unitxt / 12805326589
81%

Build:
DEFAULT BRANCH: main
Ran 16 Jan 2025 09:05AM UTC
Jobs 1
Files 61
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

16 Jan 2025 08:55AM UTC coverage: 79.42% (+0.002%) from 79.418%
12805326589

push

github

web-flow
Fix handling of place_correct_choice_position (#1511)

Fix: Improved handling of `place_correct_choice_position` for flexible input sizes

- Added logic to ensure `place_correct_choice_position` works correctly for varying numbers of choices.
- Implemented two approaches:
  1. Clamping the position to ensure it remains within valid bounds.
  2. Supporting negative indexing to allow placing the correct choice at the end with `-1`.
- Ensured the implementation avoids crashes and provides robust handling for edge cases.

Co-authored-by: Elron Bandel <elronbandel@gmail.com>

1392 of 1740 branches covered (80.0%)

Branch coverage included in aggregate %.

8769 of 11054 relevant lines covered (79.33%)

0.79 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
9
82.4
0.01% unitxt/templates.py
Jobs
ID Job ID Ran Files Coverage
1 12805326589.1 16 Jan 2025 09:05AM UTC 61
79.42
GitHub Action Run
Source Files on build 12805326589
  • Tree
  • List 61
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #12805326589
  • 347f6e17 on github
  • Prev Build on main (#12790383827)
  • Next Build on main (#12805989329)
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