promote: RefMet live-api-fallback toggle + candidate_limit (fork #71 + #72) - #93
Merged
Merged
Conversation
…71 + #72) Bundles two fork PRs (both Greptile 5/5, CI green) into one org promotion; org dev was current through fork #70 (org #92). Ports the 11 differing src files (org src == fork src) + .env.example + the 5 src-coupled test files. Studies-coupled tests + studies/ stay fork-only. - fork #71: REFMET_LIVE_API_FALLBACK env toggle -- a freeze MISS falls through to live /match (source=live_api) instead of a deterministic not_in_snapshot no-vote; applied to BOTH the registered RefMet annotator and Goslin's internal binder. Documented both REFMET_* vars in .env.example. - fork #72: optional candidate_limit (1-100) in the API payload / MappingOptions sets the Kestrel search window per request (explicit value wins over the 20/else-1; threaded like prefer_canonical; Query-bounded on the dataset endpoints too). Offline gate green (829 passed); ruff + pyright clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Sep 9, 2026
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.
Bundles two fork PRs (both Greptile 5/5 + CI green on trentleslie/biomapper2) into one org promotion. Org dev was current through fork #70 (org #92); this brings #71 + #72.
Included
REFMET_LIVE_API_FALLBACKenv toggle: a freeze MISS falls through to live/match(source=live_api) instead of a deterministicnot_in_snapshotno-vote. Applied to both the registered RefMet annotator and Goslin's internal binder. BothREFMET_*vars documented in.env.example.candidate_limit(1–100) in the API payload /MappingOptions: sets the Kestrel search window per request (explicit value overrides the 20/else-1; threaded likeprefer_canonical;Query-bounded on the dataset endpoints too).Scope
Ports the 11 differing
src/files (orgsrc/becomes identical to forksrc/) +.env.example+ the 5 src-coupled test files.studies/and studies-coupled tests stay fork-only.Safety / verification
REFMET_LIVE_API_FALLBACKis set orcandidate_limitis passed.To enable the fallback on
dev-biomapperafter deploy: addREFMET_LIVE_API_FALLBACK=1to/home/ubuntu/biomapper2-dev/.env.🤖 Generated with Claude Code