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

neuml / txtai
100%

Build:
DEFAULT BRANCH: master
Repo Added 21 Aug 2020 06:00PM UTC
Files 250
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • enhance-doc
  • feature/bayesian-normalization-1023
  • fix/sql-injection-dynamic-columns
  • fix/translation-showmodels-chunk-concat
  • master
  • v1.2.0
  • v1.2.1
  • v1.3.0
  • v3.2.0
  • v3.3.0
  • v3.4.0
  • v3.5.0
  • v3.6.0
  • v3.7.0
  • v4.0.0
  • v4.1.0
  • v4.2.0
  • v4.2.1
  • v4.3.0
  • v4.3.1
  • v4.4.0
  • v4.5.0
  • v4.6.0
  • v5.0.0
  • v5.1.0
  • v5.2.0
  • v5.3.0
  • v5.4.0
  • v5.5.0
  • v5.5.1
  • v6.0.0
  • v6.1.0
  • v6.2.0
  • v6.3.0
  • v7.0.0
  • v7.1.0
  • v7.2.0
  • v7.3.0
  • v7.4.0
  • v7.5.0
  • v7.5.1
  • v7.5.x
  • v8.0.0
  • v8.1.0
  • v8.2.0
  • v8.3.0
  • v8.3.1
  • v8.4.0
  • v8.5.0
  • v8.6.0
  • v9.0.0
  • v9.0.1
  • v9.1.0
  • v9.2.0
  • v9.3.0
  • v9.4.0
  • v9.4.1
  • v9.5.0

09 Mar 2026 06:39PM UTC coverage: 100.0%. Remained the same
22869048851

push

github

web-flow
Fix translation chunk concatenation when showmodels is enabled (#1052)

* Fix translation chunk concatenation when showmodels is enabled

When translating long text that gets split into multiple chunks by the
tokenizer, the translate() method combines results from the same source
text segment. With showmodels=True, each result is a tuple (path, text).
Using += to combine tuples produces (path, text1, path, text2) instead
of the expected (path, text1+text2). This causes a ValueError when the
caller unpacks with "model, op = outputs[y]" since there are too many
values.

Fix by explicitly concatenating only the text portion of the tuple when
showmodels is enabled.

Signed-off-by: JiangNan <1394485448@qq.com>

* Add unit test for showmodels with chunked translation

Adds testLongTranslationWithShowmodels to verify that when text is long
enough to be chunked by the tokenizer, the showmodels result is still a
proper 3-tuple (translation, language, model) and not a malformed tuple
from incorrect concatenation.

Signed-off-by: JiangNan <1394485448@qq.com>

* Shorten test method name to fix build

Rename testLongTranslationWithShowmodels -> testShowmodelsChunked
as the previous name was too long for the test runner.

Signed-off-by: JiangNan <1394485448@qq.com>

---------

Signed-off-by: JiangNan <1394485448@qq.com>

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

9591 of 9591 relevant lines covered (100.0%)

1.0 hits per line

Relevant lines Covered
Build:
Build:
9591 RELEVANT LINES 9591 COVERED LINES
1.0 HITS PER LINE
Source Files on master
  • Tree
  • List 250
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
22869048851 master Fix translation chunk concatenation when showmodels is enabled (#1052) * Fix translation chunk concatenation when showmodels is enabled When translating long text that gets split into multiple chunks by the tokenizer, the translate() method comb... push 09 Mar 2026 07:07PM UTC web-flow github
100.0
22831675295 fix/translation-showmodels-chunk-concat Merge 108befa16 into 69cc7538a Pull #1052 08 Mar 2026 11:52PM UTC web-flow github
100.0
22818924168 fix/translation-showmodels-chunk-concat Merge b23e3d7c3 into 69cc7538a Pull #1052 08 Mar 2026 02:45PM UTC web-flow github
99.98
22683590425 master Remove coveralls build script workaround push 04 Mar 2026 07:05PM UTC davidmezzetti github
100.0
22286036944 master Add deterministic setting to database functions closes #1048. Add ability to index database expressions #1049 push 22 Feb 2026 10:14PM UTC davidmezzetti github
100.0
22285690217 master Add deterministic setting to database functions closes #1048. Add ability to index database expressions #1049 push 22 Feb 2026 09:54PM UTC davidmezzetti github
100.0
22256216613 master Add support for custom SQL functions with DuckDB, closes #1047 push 21 Feb 2026 12:12PM UTC davidmezzetti github
100.0
22238458228 master Add BB25 normalization for sparse encoders (#1046) * Add log-odds conjunction fusion for BB25 hybrid search BB25 normalization outputs calibrated probabilities, but the existing hybrid fusion uses convex combination which discards the Bayesian p... push 20 Feb 2026 08:09PM UTC web-flow github
100.0
22229408003 master Merge 4fc556a03 into 89299926b Pull #1046 20 Feb 2026 07:12PM UTC web-flow github
100.0
22156937843 master Add additional methods push 18 Feb 2026 09:14PM UTC davidmezzetti github
100.0
See All Builds (1235)
  • Repo on GitHub
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