REPOSITORY ANALYSIS

memsearch

A Markdown-and-Milvus memory system with an optional Jev reranker that independently checks whether each retrieved passage contains the information a query needs.

E2 · source reviewedPublic material or source evidence was reviewed. A fixed-version source review requires checking a pinned revision; this is not a reproduction, performance endorsement, or safety guarantee.
Stars
2,649
Forks
257
License
MIT
Last commit
2026-09-22

What Jev does here

The query is shared state and each complete passage becomes a Noul question; exact answer coverage and finite probabilities are validated before stable sorting.

Adds an explicit evidence-matching stage after retrieval and raises on failed evaluation rather than silently pretending to rerank.

Fixed-version documentation and implementation material were inspected on 2026-10-24. No memory dataset or live scoring was evaluated. A high passage-match probability is not proof the passage itself is true.

What task does this project fit?

Rerank retrieved memory passages by whether they contain the information the query needs.

Material analysed:

From input to action

  1. Existing retrieval produces candidate passages.
  2. The reranker puts the query in shared state and one complete passage in each independent Noul question.
  3. Exact answer coverage and finite probabilities are checked before stable sorting and optional top-k slicing.

Implementation details that matter

Full candidates create an explicit sharing cost

The implementation preserves candidate content without truncation and sends it to TypeSafe. This improves inspectability but means private retrieved memory crosses a remote boundary.

Inspect the supporting source ↗

Failure is not silently labeled success

evaluate raises on failed, malformed or incomplete responses instead of returning the original order as if Jev had reranked it. Callers need their own explicit fallback.

Inspect the supporting source ↗

When to choose it

Choose it when candidate text may be sent remotely and you want evidence-focused reranking. Enforce a suitable candidate budget before calling it on large private memory stores.

How to inspect it yourself

Inspect build_request, scores and rerank in jev_reranker.py. Confirm exact document text, expected answer keys, finite-value checks and stable tie order; compare an empty input with a missing-key request.

Limits of this review

  • No memory dataset or live scoring was evaluated.
  • A high passage-match probability is not proof the passage itself is true.
Primary material used in this analysis