Portable Model Evidence

Embedding model bake-off

Public screening evidence selected potion-code-16m-v2 for the full retrieval matrix.

This screening used one repetition. The released-binary resource report adds repeated latency and resource measurements.

Screening peak RSS uses cumulative child-process resource counters. It does not isolate enhancement RSS. The repeated report measures each enhancement child separately.

Candidate results

ProfileStatusQueriesnDCG@10Warm p95Neural buildPeak RSSDecision
potion-code-16m-v2selected-default100 in 4 tasks0.7125593.80 ms1.74 s247.57 MiBHighest nDCG@10, MRR@10, and recall@20 of the candidates with a complete screening matrix, with the smallest model download. It builds vectors more slowly and uses more memory than static-retrieval-v1. Promoted to the full public matrix.
code-minilm-l12-v1resource-stop25 in 1 task0.58151511.43 ms614.64 s4.06 GiBStopped after one task because it exceeded both screening budgets, with the longest vector build of the candidates. Its single-task nDCG@10 is the highest of the transformer candidates and below potion-code-16m-v2 on the same task.
code-minilm-l6-v1rejected25 in 1 task0.5617884.49 ms309.75 s4.04 GiBCrossed both laptop screening limits on its first completed task; the partial quality result is a single-task result.
generalrejected25 in 1 task0.5758879.73 ms261.88 s3.13 GiBCrossed both laptop screening limits on its first completed task.
static-retrieval-v1previous-default100 in 4 tasks0.7058578.11 ms1.18 s199.08 MiBDefault through v1.2.16. Scores slightly lower than potion-code-16m-v2 on the same screening matrix and needs a model download almost four times larger; it builds vectors faster and uses less memory. Still available as an opt-in profile (IVYGREP_MODEL_PROFILE=static).
Salesforce/SFR-Embedding-Code-400M_Rexcluded-----Non-commercial license and custom architecture are incompatible with the shipped default.
jinaai/jina-code-embeddings-1.5bexcluded-----The 1.5B-parameter custom model exceeds portable laptop download, memory, and inference budgets.
nomic-ai/CodeRankEmbedexcluded-----Custom NomicBERT architecture is not supported by the portable local inference backend.

Scope

potion-code-16m-v2 is the selected default. Complete screening matrix: potion-code-16m-v2, static-retrieval-v1. Candidates that crossed a screening limit were stopped after one completed task; those rows are single-task observations and are not comparable with complete rows.