From 21036418e409cadce1ee0aa284a3ca047d19cad2 Mon Sep 17 00:00:00 2001 From: Bogdan Abaev Date: Wed, 26 Aug 2026 10:56:49 -0700 Subject: [PATCH] increase relevance cutoff during model calibration --- chrome/content/zotero/xpcom/embeddings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/embeddings.js b/chrome/content/zotero/xpcom/embeddings.js index cece29c216..85da33bac6 100644 --- a/chrome/content/zotero/xpcom/embeddings.js +++ b/chrome/content/zotero/xpcom/embeddings.js @@ -2946,10 +2946,10 @@ Zotero.Embeddings.Indexing = new function () { Zotero.Embeddings.Calibration = new function () { // Where the score floor goes, as a percentile of the null distribution -- // what this model scores between texts with nothing to do with each other - // (`mismatched` in measure()). At 0.99 only the top 1% of unrelated pairs + // (`mismatched` in measure()). At 0.999 only the top 0.1 of unrelated pairs // reach it; raising it cuts more noise and more weak-but-real matches along // with it, lowering it keeps both. - const NULL_PERCENTILE = 0.99; + const NULL_PERCENTILE = 0.999; // Where the Relevance bar fills, as a percentile of the other distribution // measure() collects -- `matched`, each query against its own passage. At // 0.5 a full bar means "as good as this model's typical real match".