Visitar URL original
bench: equivalence_check lists a rebuilt approximate top 10 instead of failing E2 by tae898 · Pull Request #332 · humemai/arcadedb-embedded-python · GitHub
Skip to content

bench: equivalence_check lists a rebuilt approximate top 10 instead of failing E2 - #332

Merged
tae898 merged 1 commit into
mainfrom
bench/eq-rebuilt-approx
Oct 18, 2026
Merged

tae898 merged 1 commit into
mainfrom
bench/eq-rebuilt-approx

Conversation

@tae898

@tae898 tae898 commented Oct 18, 2026 •

Copy link
Copy Markdown

Running equivalence_check.py on pass 1's rows so far (runs_page_d36b4ca3a.jsonl from mini, 1,038 rows) gave one failure: E2, restart deep10m :: restart_knn@dense, where arcadedb_dense_server gave one top 10 in rep 1 and another in reps 2 and 3. The rows' own restart_read_recall_at_10 is 0.9 in rep 1 and 1.0 in reps 2 and 3, so rep 1's approximate index held one true neighbour fewer. Each rep builds the index again, and the lane already holds the answer after every restart against the answer before the stop inside a rep. This is not a wrong answer.

  • equivalence_check.py: REBUILT_PER_REP names the restart lane's vector read and the recall field that checks it across reps. E2 lists such groups under a new E2b heading instead of failing them. NOT_COMPARABLE already did the same across engines.
  • test_equivalence_rebuilt.py: the rebuilt approximate read is listed and not failed; an exact read that changes between reps still fails E2.
  • PROTOCOL.md: one sentence in the answer-checking bullet.

After the change, pass 1's rows give 0 failures, 89 groups checked and agreeing, and 65 unchecked, because one engine answered: the lifecycle lane's served half (ArcadeDB is its only served engine), its lc10m groups until SurrealDB's lc10m runs (DECISIONS #187), e4's decomposition (ArcadeDB only by design), and the restart groups whose other engines run in qP25 to qP27 and qP34.

Ran locally: the experiments suite, pytest -q in benchmarks/experiments, 853 passed, 19 skipped.

🤖 Generated with Claude Code

…f failing E2

The server-restart lane builds its vector index again for every
repetition, so its top-10 read can differ between reps while each is
right: pass 1's arcadedb_dense_server at deep10m answered rep 1 at
recall 0.9 and reps 2 and 3 at 1.0, and E2 refused the publish on it.
NOT_COMPARABLE already exempted the read across engines; REBUILT_PER_REP
does the same across reps, names the recall field that checks it, and
lists the group under E2b. An exact read that changes between reps
still fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tae898
tae898 merged commit c623cc6 into main Oct 18, 2026
3 checks passed
@tae898
tae898 deleted the bench/eq-rebuilt-approx branch October 18, 2026 05:34
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