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

kobotoolbox / kpi / 25056648549
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 28 Apr 2026 01:51PM UTC
Jobs 10
Files 912
Run time 3min
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

28 Apr 2026 01:47PM UTC coverage: 82.182% (-0.03%) from 82.216%
25056648549

push

github

web-flow
feat(languages): extend `languages` to support region, model and location configuration for ASR/MT services DEV-1999 (#6953)

### 📣 Summary
This PR extends the languages app to support service-specific
configuration required by Google Speech-to-Text v2 and modern
translation APIs.

The change introduces region-based language configurations and allows
ASR/MT services to define model and location settings per language
region.

### 📖 Description
Google Speech-to-Text v2 and translation services require additional
configuration beyond the base language code, such as region, model, and
service location. The existing languages app only stored basic language
codes and did not
support service-specific regional configurations.

This PR extends the languages infrastructure to support region-aware
configurations for ASR and MT services.

Changes:
- Add LanguageRegion model to represent language regions (e.g. en-US,
fr-CA)
- Extend TranscriptionServiceLanguageM2M with:
  - `location_code`
  - `model_code`
- Introduce `TranscriptionServiceConfig` dataclass used to expose
resolved service configuration
- Extend the admin CSV importer to support:
  - asr_<service>
  - asr_location_<service>
  - asr_model_<service>
- Update admin UI and importer documentation

9048 of 12138 branches covered (74.54%)

15 of 56 new or added lines in 3 files covered. (26.79%)

404 existing lines in 18 files now uncovered.

29832 of 36300 relevant lines covered (82.18%)

5.78 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
26.16
-2.6% kobo/apps/languages/models/language.py
19
52.73
-19.27% kobo/apps/languages/models/transcription.py

Coverage Regressions

Lines Coverage ∆ File
81
0.0
-93.1% kobo/apps/stripe/serializers.py
75
0.0
-41.9% kobo/apps/stripe/views.py
63
0.0
-51.64% kobo/apps/stripe/models.py
60
26.05
-50.42% kobo/apps/stripe/utils/subscription_limits.py
36
20.21
-38.3% kobo/apps/stripe/utils/billing_dates.py
19
0.0
-65.52% kobo/apps/stripe/admin.py
14
31.82
-31.82% kobo/apps/stripe/utils/limit_enforcement.py
12
35.0
-60.0% kobo/apps/stripe/utils/import_management.py
11
0.0
-44.0% kobo/apps/stripe/signals.py
8
0.0
-100.0% kobo/apps/stripe/urls.py
7
0.0
-100.0% kobo/apps/stripe/apps.py
6
0.0
-37.5% kobo/apps/stripe/utils/view_utils.py
3
61.21
-1.82% kobo/apps/organizations/models.py
3
60.53
-7.89% kobo/apps/organizations/utils.py
2
26.16
-2.6% kobo/apps/languages/models/language.py
2
44.14
-0.37% kobo/apps/openrosa/libs/utils/logger_tools.py
1
40.85
-1.41% kobo/apps/organizations/admin/organization.py
1
92.31
-7.69% kobo/apps/user_reports/utils/migrations.py
Jobs
ID Job ID Ran Files Coverage
1 25056648549.1 28 Apr 2026 01:51PM UTC 908
52.56
2 25056648549.2 28 Apr 2026 01:52PM UTC 908
54.17
3 25056648549.3 28 Apr 2026 01:53PM UTC 910
53.77
4 25056648549.4 28 Apr 2026 01:54PM UTC 910
55.41
5 25056648549.5 28 Apr 2026 01:54PM UTC 908
52.86
6 25056648549.6 28 Apr 2026 01:54PM UTC 908
60.18
7 25056648549.7 28 Apr 2026 01:54PM UTC 910
66.01
8 25056648549.8 28 Apr 2026 01:55PM UTC 910
54.2
9 25056648549.9 28 Apr 2026 01:55PM UTC 910
61.3
10 25056648549.10 28 Apr 2026 01:56PM UTC 912
68.23
Source Files on build 25056648549
  • Tree
  • List 912
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 655b5368 on github
  • Prev Build on main (#25055583285)
  • Next Build on main (#25061744334)
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