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.

landing: JEV benchmark comparison strip on the hero

xerj-org136d829b42d5
diff --git a/landing/index.html b/landing/index.html
index cbcc913a7..378e286bc 100644
--- a/landing/index.html
+++ b/landing/index.html
@@ -118,6 +118,17 @@
</div>
</div>
+ <!-- Benchmark strip — every figure is a measured run, sourced verbatim
+ from /benchmarks/decisions (the Jev rerank-stage autopsy + full run). -->
+ <p class="hero-bench">
+ <span class="hb-tag">Measured on TypeSafe AI's Jev judge · our rerank stage</span>
+ <span class="hb-chip">as it shipped <b class="hb-bad">0.3822</b> <span class="hb-arrow">→</span> after our fix <b>0.8299</b> nDCG@10 ·
+ the 0.38 was our own pre-fix stage, same 40 judged SciFact queries</span>
+ <span class="hb-chip">full run <b>1,271</b> judged queries, three public BEIR datasets ·
+ FiQA <b>0.3638</b> nDCG@10, +0.126 over our BM25</span>
+ <a class="hb-link" href="/benchmarks/decisions">Read the measurement →</a>
+ </p>
+
<p class="hero-sub">One paste — your agent installs XERJ, indexes your project and
the open-source repos worth learning from, and looks implementations up
instead of re-deriving them.</p>
diff --git a/landing/style.css b/landing/style.css
index bd74f703d..64334f2e0 100644
--- a/landing/style.css
+++ b/landing/style.css
@@ -2738,6 +2738,62 @@ html[data-theme='night'] .prompt-stage::before { opacity: 0.5; }
border-color: var(--z-ink);
color: var(--z-bg);
}
+/* hero benchmark strip — sits directly under the prompt card. Figures must
+ stay verbatim with /benchmarks/decisions (hand-duplicated constants are
+ what landing-constants-guard.sh exists for; these two pages must not drift).
+ --z-neg is page-local to benchmarks/decisions.html, so the pre-fix number
+ repeats its values here rather than referencing a var that is unset on /. */
+.hero-bench {
+ max-width: 880px;
+ margin: 0 auto;
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ justify-content: center;
+ gap: var(--sp-2) var(--sp-4);
+ font-family: var(--font-data);
+ font-size: var(--fs-13);
+ line-height: 1.55;
+ color: var(--z-mute);
+}
+.hero-bench .hb-tag {
+ flex-basis: 100%;
+ font-size: var(--fs-11);
+ font-weight: 600;
+ letter-spacing: var(--track-label);
+ text-transform: uppercase;
+}
+.hero-bench .hb-chip {
+ border: 1px solid var(--z-line);
+ border-radius: 8px;
+ padding: 5px 12px;
+}
+.hero-bench b {
+ color: var(--z-ink);
+ font-weight: 700;
+ font-variant-numeric: tabular-nums;
+}
+.hero-bench b.hb-bad { color: #d9575f; }
+html[data-theme='day'] .hero-bench b.hb-bad { color: #a32b2e; }
+.hero-bench .hb-arrow { color: var(--z-accent); font-weight: 700; }
+.hero-bench .hb-link {
+ font-size: var(--fs-11);
+ font-weight: 700;
+ letter-spacing: var(--track-label);
+ text-transform: uppercase;
+ color: var(--z-accent);
+ text-decoration: none;
+ border-bottom: 1px solid var(--z-accent);
+ padding-bottom: 1px;
+}
+.hero-bench .hb-link:hover, .hero-bench .hb-link:focus-visible {
+ color: var(--z-ink);
+ border-color: var(--z-ink);
+}
+@media (max-width: 720px) {
+ .hero-bench { font-size: 12px; }
+ .hero-bench .hb-chip { padding: 5px 10px; }
+}
.hero-proof {
font-family: var(--font-prose);
font-size: var(--fs-13);