Repository navigation
Path Scaling 33 EN
An interim observation of 264 available catalogs found 102 above the existing 4,096-document limit, with a maximum of 6,924 files. This is not the final 2,400-task result. Freeze the scaling plan before implementation rather than selecting small repositories or truncating files.
hintsearch.NewPathIndex(paths) accepts up to 100,000 unique canonical relative UTF-8 paths, 4,096 bytes each and 16MiB total, matching collector ceilings. Empty, duplicate or invalid paths fail explicitly. Input order is retained; files and symlinks are never opened. Permissions and historical completeness remain caller responsibilities.
idx, err := hintsearch.NewPathIndex(paths)
if err != nil { return err }
ranking, err := idx.RankLongInto(completeRequest, hintsearch.Ranking{})
if err != nil { return err }
order, err := hintsearch.InterleavePathBaselineFirst(ranking.Order, hintIDs)
if err != nil { return err }
// order refers to original paths positions and retains every candidate.Use global BM25 statistics across the complete catalog, not incompatible per-shard scores. The index remains immutable with array vocabulary/postings and caller-owned reusable score/order buffers. Concurrent calls require separate buffers. Large-catalog merging preserves baseline-first behavior and every candidate. With accurate equal-cost verification, a baseline target at rank r appears within min(n, 2r−1) inspections. This is not a time/token or multi-evidence completion guarantee.
Existing constructors and merge APIs retain their small bounds. Model, feature, CLI, session and deferred-helper contracts are unchanged. This supplies a file-path lexical baseline and candidate ordering, not code-body semantics or task-solving quality.
Find the useful target after the 4,096-candidate boundary in a 6,000-path catalog and compare its score with an independent global-IDF calculation. Also test the last candidate at the maximum 100,000-path bound. Small inputs preserve exact scores/order. Reverse hints preserve the complete permutation and baseline rank bound. Invalid paths, duplicates and excessive catalogs are rejected.
On M4 Pro CPU, run three repetitions using 10,000 original synthetic file paths and a repeated single-word query. CPU/allocation profiles remain local. Observed ordering comparison/swap costs motivated replacing result ordering's sort.Slice with slices.SortFunc; scoring is unchanged.
| Measurement | Before | After |
|---|---|---|
| Reused-query ns/op range | 43,054–43,559 | 35,039–35,084 |
| Reused-query B/op | 72 | 16 |
| Reused-query allocations | 3 | 1 |
Query time decreased about 19% in this fixture. Both runs used the same profiling options, but this is not a causal experiment eliminating system-load/order effects. Do not extrapolate a synthetic single-word query to real long requests, repositories or LLM workloads.
Construction measured about 5.33–5.84ms before and 5.01–5.08ms after, with approximately 9.47MB cumulative allocation and 10,113 allocations unchanged. Construction was not the target of the ordering change, so its timing variation is not claimed as an improvement. Cumulative allocation is not resident memory. No SIMD/GPU speedup is claimed. Full collection is complete; actual file-localization scoring follows separately.
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