Skip to content

refactor(cli): uteke recall on a local store runs the shared recall decode (#1439, part C3) - #1577

Merged
ajianaz merged 1 commit into
developfrom
refactor/unify-recall-1439-c3
Oct 29, 2026
Merged

ajianaz merged 1 commit into
developfrom
refactor/unify-recall-1439-c3

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

What

Third part of PR C. uteke recall on a local store runs the shared recall decode before anything else: a blank or whitespace-only query is refused, --limit above 100 is capped at 100 with a stderr warning, and --at must be RFC3339 with the shared error text. Decoding only validates: it never selects a different core function, and every default, strategy and fusion weight is untouched.

Why

#1439 PR C: the CLI local path should not depend on whether a server is running. Via the server these checks already applied; locally a blank query was accepted and there was no cap.

This PR touches the path the LongMemEval harness runs (import + recall --limit 50), so the plan requires fast50 with 0 regressed before merge: see the comment below for the result of a Modal run with a binary built from this branch.

Testing

  • Unit tests for the three rules (blank query, cap with warning, --limit 50 untouched, invalid and valid --at).
  • cargo test --workspace --locked, clippy -D warnings, fmt, docgen (no diff). Cora MCP review before committing: no findings.

@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz

ajianaz commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator Author

fast50 on Modal (binary built from this branch at 5a6049e, default strategy, 10 shards): recall_all@5 0.9800, @10 1.0000, @50 1.0000, strict 47/50, identical to the published v0.20.0 baseline for the same 50 questions: 0 improved, 0 regressed. ndcg_any@5 0.8993, the same as the earlier develop run (f75f9cf). Top-5 identical to that earlier run on 44/50 (that run predates the usearch, rusqlite and ort bumps).

@ajianaz
ajianaz merged commit 9132d68 into develop Oct 29, 2026
14 checks passed
@ajianaz
ajianaz deleted the refactor/unify-recall-1439-c3 branch October 29, 2026 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant