Add PyLucene runtime integration #3033
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.52) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #3033"
general
weight: 0.35
imotov
Summary
IndexSearcher.search(Query, int), with generated Java API documentation.This runtime layer is independently based on
main; benchmark backend registration is separate. PyLucene remains pinned to 10.2.0 and uses the matchingcuvs-lucene-10.2thin JAR.Validation
Documentation-only follow-up (2026-11-10):
fern/build_docs.sh checkwith Node 22.14.0 and Fern 5.57.0: passed.git diff --check: passed.Fern retains the existing unauthenticated-redirect and light-theme contrast warnings.
No production or test code changed in this follow-up. Earlier implementation
validation remains recorded below at its tested revision.
Validated commit
6e54f6193aa9, based on upstreammainat54d576774731:The ordinary suite was rerun after strengthening the invalid-range cleanup assertion. Java and live-runtime checks preceded that test-only edit; their production sources are unchanged.
The skips are 23 unavailable optional Elasticsearch cases and three unreachable OpenSearch cases. Ordinary CLI checks use the existing 26.08 C++ runner. Java builds emitted header-generation, deprecation, Maven, and Vector API warnings; the live CPU checks emitted the incubator-module warning.
The existing custom PyLucene runtime was reused for live checks; a complete fresh PyLucene compilation, GPU execution, and real ARM64 execution were not repeated. Java module coverage does not imply support for additional PyLucene versions.
Follow-up PRs
Prerequisites to follow-up PRs