Repository navigation
Deferred Path Search 42 EN
A new Go path genuinely omits auxiliary index construction and ranking when auxiliary search is declined. This differs from merely counting a precomputed result as unused. No useful selector has been trained here, and actual LLM latency/token savings remain unmeasured.
The plan was committed first. Existing Rank computes baseline, normalized and interleaved orders for comparison. New RankSelected ranks the baseline and passes only experiment 41's 16 numerical features, by value, to a selector. Auxiliary indexing/ranking happens only after a true result. A nil selector skips feature extraction too and returns baseline-only ranking.
| Path | Result | Actual auxiliary work |
|---|---|---|
| Nil selector | Full baseline order | 0 builds, 0 rankings |
| False result | Full baseline order | 0 builds, 0 rankings |
| Selector error | Baseline with selector_error
|
0 builds, 0 rankings |
| True, successful auxiliary execution | Full interleaving preserving the baseline's first candidate | Build when needed, then rank |
| True, auxiliary failure | Baseline with auxiliary_error
|
Count actual failed attempts |
| Invalid baseline | Error | Selector is not called |
Feature/interleaving errors also have explicit baseline fallbacks. Private selector error messages are not copied into the result. No candidates are removed and no answer is treated as certain; auxiliary results only reorder the same candidate set.
WorkStats counts actual attempted operations: baseline ranking, auxiliary index construction and auxiliary ranking, including failures. These are not model-call counts or estimates of time/memory/tokens saved. Future total-cost measurements must also include baseline index construction, features and the selector itself.
Shared baseline/auxiliary operations were factored out of the existing Ranker. Old ranking results are checked against an independent pre-refactor reference. The standalone function retains no index between calls. Only Ranker.RankSelected opts into exact-full-catalog index reuse. Experiment 35 did not establish a real-workload benefit from reuse, so it is not activated by default.
A synthetic reused-worker sequence skip → use → use → skip → change catalog and use records five baseline rankings, two auxiliary builds and three auxiliary rankings. After the first skip, no auxiliary index exists. Skipping with a warm auxiliary index still performs zero auxiliary rankings. Reused objects may retain the previous index memory; skipping does not imply freeing that memory.
Tests cover always-on/off and selector-error policies, lazy first construction, reuse and catalog mutation, independent prior results/feature arrays, long queries/10,000 candidates and independent workers under race detection. Punctuation-only queries normalize to empty text and fall back in the existing reference too; the new path preserves this. Queries that exceed 128KiB only after normalization also retain the full baseline order. Full race/vet/format/redacted scans gate publication.
One sequential worker owns each Ranker. Selectors must not mutate input paths or re-enter the same object. Independent workers use separate objects and immutable models; no global cache or lock is added.
This remains an internal research API and does not automatically connect learned weights to existing CLI commands. Next, fit a selector under fixed development/source-eligibility rules and compare baseline-only, always-auxiliary and learned selection using actual computation and quality. These synthetic execution checks are not a new 2,400-task user evaluation or a training success. With acquisition running separately, they are not latency/memory benchmarks. No final evaluation or new HF release occurs here.
riidolaya is experimental. No demonstrated Codex cost savings; repository selection is preview-only.
riidolaya는 실험 단계입니다. Codex 절감은 미입증이며 저장소 선택은 preview입니다.
English README · 한국어 README · Versioned Wiki sources / Wiki 원본
이전 연구 안내 펼치기 / Earlier research
- 실제 이어 학습 V3 · 한국어 · Actual V3 training · English
- 진행·완료 보고·질문100건 결과 KO · 100-case results EN
- 라벨·이모지·상태 힌트 KO · Content/state hints EN
- 개발 진행·완료 보고·질문 pilot KO · Development pilot EN
- 작은 검증 기록 KO · Compact evidence EN
- 현재 개발 자료 35개·다음 학습 조건 · 35-row data and next training gates
- 개발용 학습 자료 2개 · Two qualified training requests
- 첫 두 과제 실제 관측 · First two actual observations
- 전체 사용법 KO · Full usage EN
- 작은 동작 힌트 KO · Small hints EN
- 설명 보강 비교76 · Caption diagnostic76
- Go 압축 가중치78 · Packed Go weights78
- 공개 함수 동작 검증 · Public function verification
- 다음 학습 자료 준비 · Training data preparation
- 동작에서 학습 정답·실제 학습79 · Grounded labels and actual fit79
- 소스 동작 관찰 · Source observations
- 저장 크기와 RAM · Storage and RAM
- 라이선스 · Licensing
- 시점별 기록 원문 / Chronological history
- 전체 연구 링크 / Full research index
- 문서 목록 / Documentation