Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

polish(rustdoc): name t_bracket() in TemperatureCalibration::fit doc (#1544)

xerj-org1261b8567200
diff --git a/engine/crates/xerj-common/src/calibration.rs b/engine/crates/xerj-common/src/calibration.rs
index fbbe95ec7..048b9b1dd 100644
--- a/engine/crates/xerj-common/src/calibration.rs
+++ b/engine/crates/xerj-common/src/calibration.rs
@@ -322,7 +322,7 @@ fn t_bracket() -> (f64, f64) {
impl TemperatureCalibration {
/// Fit `T` by minimising the pairs' negative log-likelihood — Platt
/// (1999) / Guo et al. (2017)'s held-out form — by golden-section search
- /// on `ln T` over [`T_BRACKET`]. Deterministic: a fixed bracket and a
+ /// on `ln T` over `t_bracket()`. Deterministic: a fixed bracket and a
/// fixed 100 halvings of it, no starting point, no tolerance decision, so
/// the same pairs always fit the same `T`.
pub fn fit(pairs: &[CalibrationPair]) -> Self {