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

kobotoolbox / kpi / 22687010118
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 04 Mar 2026 08:39PM UTC
Jobs 2
Files 894
Run time 2min
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

04 Mar 2026 08:05PM UTC coverage: 82.101% (+0.001%) from 82.1%
22687010118

push

github

web-flow
fix(qual): handle empty result from LLM DEV-1814 (#6785)

### đŸ“Ŗ Summary
Handle an error resulting from a rare edge case with the LLMs.


### 💭 Notes
On very rare occasions, the LLM will return 'None' instead of a string
answer. This previously resulted in a 500. With this PR we catch it and
use the regular error-handling flow.

### 👀 Preview steps
This can be hard to recreate. The most consistent way I've found to
force the LLM to provide an empty response is to locally set the
MAX_TOKENS to 1.

1. â„šī¸ have an account and a project with an audio question called
'audio'
2. Add a submission
3. Add a manual transcript
4. Add a select one question, ideally a nonsensical one
5. "Generate with AI"
6. 🔴 [on main] 500 error
7. đŸŸĸ [on PR] Response completes successfully (result will probably be
empty)

7504 of 11578 branches covered (64.81%)

2 of 2 new or added lines in 1 file covered. (100.0%)

28851 of 35141 relevant lines covered (82.1%)

1.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22687010118.1 04 Mar 2026 08:39PM UTC 892
79.79
2 22687010118.2 04 Mar 2026 08:44PM UTC 894
82.06
Source Files on build 22687010118
  • Tree
  • List 894
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 7f25e230 on github
  • Prev Build on main (#22682929922)
  • Next Build on main (#22686993721)
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