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

kobotoolbox / kpi / 21727899894
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1731-remove-free-tier-code
DEFAULT BRANCH: master
Ran 05 Feb 2026 09:20PM UTC
Jobs 2
Files 880
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

05 Feb 2026 08:47PM UTC coverage: 81.951% (+0.6%) from 81.364%
21727899894

push

github

web-flow
refactor(subsequences)!: clean up codebase, restructure API, and improve backend logic (#6511)

### 📣 Summary
This PR cleans up the subsequences codebase by removing unused/broken
code, restructuring the API with better endpoints, simplifying backend
logic, updating the frontend to use the new API structure, and adding
comprehensive documentation.

### 📖 Description
This comprehensive refactoring addresses multiple aspects of the
subsequences system to improve code quality, API design, and overall
maintainability. The primary focus has been on cleaning up accumulated
technical debt while modernizing the architecture for better long-term
sustainability.

**Code Cleanup and Backend Simplification**

The refactoring begins with a thorough cleanup of the subsequences
codebase, removing significant amounts of dead code, unused functions,
and broken implementations that were no longer serving any purpose.
Complex backend logic has been simplified and streamlined, reducing
unnecessary complexity in data processing workflows. The code quality
improvements include better type annotations, enhanced error handling,
and improved maintainability patterns throughout the entire module.

**Frontend Integration and User Experience**

The frontend components have been thoroughly updated to integrate
seamlessly with the restructured API endpoints, ensuring that users
experience no disruption in functionality while benefiting from improved
performance. The processing workflows for transcription, translation,
and qualitative analysis have been enhanced with better error handling
and more informative user feedback.

**Documentation and Migration Support**

A comprehensive README has been added to the subsequences module,
providing detailed documentation about the new API structure, usage
patterns, and clear guidelines for developers. The documentation
includes a complete API reference with accurate parameter descriptions
and response formats, along with practical examples ... (continued)

7351 of 11370 branches covered (64.65%)

1232 of 1461 new or added lines in 49 files covered. (84.33%)

50 existing lines in 7 files now uncovered.

28296 of 34528 relevant lines covered (81.95%)

1.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.71
-0.2% kobo/apps/audit_log/models.py
1
94.44
kobo/apps/subsequences/actions/automatic_google_transcription.py
1
94.44
kobo/apps/subsequences/actions/automatic_google_translation.py
1
75.71
0.16% kpi/deployment_backends/openrosa_backend.py
1
93.06
1.57% kpi/models/asset.py
1
92.31
kpi/schema_extensions/v2/subsequences/fields.py
1
89.79
0.81% kpi/views/v2/data.py
2
97.83
kobo/apps/subsequences/actions/mixins.py
2
71.43
kobo/apps/subsequences/utils/time.py
3
94.95
1.33% kpi/utils/django_orm_helper.py
4
94.5
16.31% kobo/apps/subsequences/actions/qual.py
8
95.35
kobo/apps/subsequences/utils/versioning.py
10
44.44
kpi/utils/schema_extensions/mixins.py
13
77.19
kobo/apps/subsequences/actions/automatic_bedrock_qual.py
14
31.63
-25.07% kobo/apps/subsequences/integrations/google/google_translate.py
15
88.64
-1.84% kobo/apps/subsequences/models.py
16
42.5
-26.07% kobo/apps/subsequences/integrations/google/base.py
19
32.97
-30.89% kobo/apps/subsequences/integrations/google/google_transcribe.py
23
48.89
kpi/schema_extensions/v2/subsequences/extensions.py
24
88.07
7.84% kobo/apps/subsequences/actions/base.py
30
26.83
kobo/apps/subsequences/tasks.py
39
57.14
-21.65% kpi/schema_extensions/v2/data/extensions.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
88.07
7.84% kobo/apps/subsequences/actions/base.py
2
94.5
16.31% kobo/apps/subsequences/actions/qual.py
4
95.24
-4.76% kobo/apps/audit_log/base_views.py
4
70.37
-14.81% kpi/mixins/audio_transcoding.py
6
42.5
-26.07% kobo/apps/subsequences/integrations/google/base.py
13
32.97
-30.89% kobo/apps/subsequences/integrations/google/google_transcribe.py
19
31.63
-25.07% kobo/apps/subsequences/integrations/google/google_translate.py
Jobs
ID Job ID Ran Files Coverage
1 21727899894.1 05 Feb 2026 09:20PM UTC 878
79.61
2 21727899894.2 05 Feb 2026 09:24PM UTC 880
81.91
Source Files on build 21727899894
  • Tree
  • List 880
  • Changed 37
  • Source Changed 0
  • Coverage Changed 37
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 27d04177 on github
  • Prev Build on main (#21716466001)
  • Next Build on main (#21746199396)
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