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

jzombie / rust-triplets / 38472798552
96%

Build:
DEFAULT BRANCH: main
Ran 13 Oct 2026 09:52PM UTC
Jobs 1
Files 51
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

13 Oct 2026 09:44PM UTC coverage: 96.046% (+0.02%) from 96.031%
38472798552

push

github

web-flow
feat: Add precomputed embedding channel and composite record keys  (#168)

### Added

- **Precomputed-embedding channel through the sampler.** `RecordSection.embedding`
  and `RecordChunk.embedding` (`Option<Arc<[f32]>>`, `#[serde(skip)]` — transient,
  re-ingested on resume, never persisted or compared). The sampler stamps every
  materialized chunk from its parent section in `materialize_chunks`, so chunking
  backends stay agnostic and vectors ride the pipeline as Arc pointer copies.
- **`SrdSource` populates all section embeddings** (anchor + candidate/positive/
  negative) from its store vectors, so sampled pairs carry exact store vectors
  on every chunk with no side lookups.
- **Single `SrdSource::open` with explicit mode choice.** `mode: None` detects
  from entry 0 in the same open (no probe handle); `mode: Some(m)` pins the
  mode for empty stores and is verified against entry 0 otherwise — a mismatch
  returns loud `SrdError::ModeMismatch` (empty stores give `EmptyStore`).
  One open per dataset, ever.
- **Native weighted source selection (deficit round-robin).** `TripletSampler`
  apportions batch picks across sources by the per-call weight map: each draw
  credits every eligible source its weight quantum and serves the highest
  deficit, deducting the round total. Deterministic (no RNG — same state, same
  choice), exact over each weight cycle (0.75/0.25 yields exactly 6/2 anchors
  per 8-row batch). Uniform/empty maps take the legacy uniform-cycling path
  bit-identically, so existing deterministic sequences are unchanged. One
  shared sampler with N registered sources is now the mixing topology — no
  outer wrappers, cross-source negatives and global dedup intact.
- **`RecordChunk.source` is required** (no `#[serde(default)]`): a chunk without
  a source resolves split lookups against the wrong identity, so deserialization
  without it fails loudly instead of defaulting to `""`.

### Changed

- **BREAKING: `FileSplitStore` storage versi... (continued)

531 of 545 new or added lines in 20 files covered. (97.43%)

5 existing lines in 4 files now uncovered.

22225 of 23140 relevant lines covered (96.05%)

4663.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
97.48
0.15% crates/triplets-core/src/sampler/backends/bm25_backend.rs
5
98.04
-0.06% crates/triplets-core/src/sampler/mod.rs
3
99.34
0.12% crates/triplets-srd-source/src/srd_source.rs
1
95.45
crates/triplets-core/src/types.rs

Coverage Regressions

Lines Coverage ∆ File
2
81.29
-0.26% crates/triplets-hf-source/src/source_core/source_core.rs
1
97.48
0.15% crates/triplets-core/src/sampler/backends/bm25_backend.rs
1
85.53
-0.14% crates/triplets-hf-source/src/rows/rows.rs
1
97.33
-0.25% crates/triplets-offline-embedder/src/sampler_prefetcher.rs
Jobs
ID Job ID Ran Files Coverage
1 38472798552.1 13 Oct 2026 09:52PM UTC 51
96.05
GitHub Action Run
Source Files on build 38472798552
  • Tree
  • List 51
  • Changed 22
  • Source Changed 20
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38472798552
  • fe60b9eb on github
  • Prev Build on main (#34379170524)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc