Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cheminee's exact Morgan/Tanimoto predicate now runs inside Quickwit split workers, allowing distributed top-k merging without the former capped candidate collection. The private
tantivy-rdkitcrate owns the versioned 2048-bit format and scorer; query AST, bytes fast-field warmup, fail-closed split handling and a typed OpenAPI endpoint connect it to the engine. A generated Python client exercises success and error responses.Base:
cheminee/base-0.9.1at upstream release962685f5a334f6c9d8516d2d7c1fdd08891b687c. Reviewed head:7b0a2d57f0c69c0f494a808d23b4ed2171dfda44. The final changes restore required license headers, use the reviewed fork-compatible RustSec comparison gate without advisory suppression, and make the scorer's validated cardinality invariant explicit.Exact-head validation
Independent source review found no remaining substantive blocker in this PR's bounded scorer/API scope. No merge or release has occurred.
Evidence and limits
The distributed fixture verifies exhaustive score/count/ID parity and a 10,051-match top-1 case without truncating the total. Malformed stored fingerprints fail closed; invalid inputs and incompatible preparation fail explicitly. See the assessment and reproduction guide and retained measurements.
This PR accepts supplied fingerprints; native SMILES preparation is in stacked PR #2. The scorer scans the fingerprint dictionary and document cardinality per segment. Broad-query RAM/CPU economics, representative 100k kind/object-store acceptance, replay-safe catalog refresh, crash/WAL recovery, HA and RX API compatibility are separate qualification gates. Small unoptimized local timings are not production benchmarks.