Repository navigation
Baseline First 10 EN
Keep the baseline's first candidate and interleave identifier-split suggestions afterward. On 2,948 documentation-proxy questions this preserves Recall@1 and improves Recall@10/mean target rank. This is a nonlearned baseline, not a learned-model success. Defaults remain unchanged.
No model download or Python is needed for this original public fixture:
printf '%s\n' '{"snapshot_id":"demo","query":"read config","documents":[{"id":"a","text":"read"},{"id":"b","text":"config"},{"id":"c","text":"func ReadConfig() {}"}]}' \
| go run ./cmd/riido-hints --identifier-hintsBaseline order a,b,c becomes a,c,b. Candidate a stays first; splitting ReadConfig into read config introduces c second. Output contains IDs, ranks and original BM25 scores, not document text. Original scores need not decrease in the interleaved order. Status is unverified, policy identifier_bm25_baseline_first.
Omit the flag for baseline behavior. Combining it with external hints or --model is rejected. If normalized input exceeds existing limits or contains no searchable query words, retain the baseline with policy bm25_identifier_input_out_of_scope. Callers must supply only authorized documents; the tool does not crawl repositories or decide permissions. It currently emits all candidates, so output-token costs for large catalogs still need separate consideration.
The Go API is hintsearch.InterleaveBaselineFirst(baseline, hints). Partial hints are allowed; all baseline candidates remain without duplicates. A candidate at baseline rank r appears by min(n,2r−1), so baseline rank 3 appears by rank 5. This bounds candidate checks under accurate equal-cost verification, not wall time, tokens, multi-evidence tasks or hint construction. Preserving the first candidate does not prevent regressions later in the ranking.
Same three pinned repositories, 3,009 functions and 2,948 distinct descriptions as 07/09. Exclusions, candidate hash ordering and known targets were unchanged. Implementation was committed before first corpus scoring; replay reproduced the complete JSON byte-for-byte. This previously observed documentation proxy is not a fresh independent user-query test.
| Policy | Recall@1 | Recall@10 | MRR | Mean first-target rank |
|---|---|---|---|---|
| Raw BM25 | 41.79% | 74.83% | 0.5336 | 48.99 |
| Auxiliary-first interleave | 39.21% | 81.51% | 0.5479 | 26.71 |
| Baseline-first interleave | 41.79% | 81.38% | 0.5601 | 26.70 |
Baseline-first improves 733 questions, worsens 674 and leaves 1,541 unchanged. Average gain is not universal gain. Per-repository metrics are in JSON. Learned models must beat this nonlearned control while accounting for additional cost. No experiment-09 failure was promoted and no HF weights were replaced.
Exhaustive tests for 1–7 candidates cover every hint permutation/partial length, first/full-candidate preservation and the 2r−1 bound. Existing auxiliary-first behavior remains tested. Re-running the experiment-09 trainer through the updated shared implementation reproduced its complete report. Actual CLI execution and tests cover the example, conflicting inputs and out-of-scope fallback.
Apple M4 Pro/Go1.27.1 CPU: the whole comparison took 3.02s wall/2.67s user CPU, peak RSS 94,683,136 bytes. This includes source validation and two complete search preparations for comparing policies; it is not single-CLI/service latency. The option builds an additional index and search, so end-to-end time savings are not guaranteed. No training, GPU or LLM call occurs in this comparison.
# Uses the pinned corpus prepared for experiment 07.
go run ./cmd/riido-interleaveprobe
go test -race ./pkg/hintsearch ./cmd/riido-hints ./internal/retrievalbenchNext training must account for inspection gain and auxiliary-search cost relative to this control. Actual user-task success, end-to-end time/token savings, independent questions and reserved CoSQA evaluation remain outstanding.
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