fix(search): soft_filter boost 약화 (domain 0.01, doctype 제거)
## 1차 측정 결과 (Phase 2.3 초안) | metric | Phase 2.2 narrow | Phase 2.3 (boost 0.03+0.02) | Δ | |---|---|---|---| | Recall@10 | 0.737 | 0.721 | -0.016 ❌ | | NDCG@10 | 0.668 | 0.661 | -0.007 | | exact_keyword NDCG | 0.96 | 0.93 | -0.03 ❌ | ## 진단 - 같은 도메인 doc이 **무차별** boost → exact match doc 상대 우위 손상 - document_type 매칭은 ai_domain/match_reason 휴리스틱 → false positive 다수 ## 수정 - SOFT_FILTER_DOMAIN_BOOST 0.03 → **0.01** - document_type 매칭 로직 제거 - domain 매칭을 "정확 일치 또는 path 포함"으로 좁힘 - max cap 0.05 유지 ## Phase 2.3 위치 - 현재 평가셋(v0.1)에는 filter 쿼리 없음 → 효과 직접 측정 불가 - Phase 2.4에서 queries_v0.2.yaml 확장 후 재측정 예정 - 이 커밋의 목적은 "회귀 방지" — boost가 해를 끼치지 않도록만 (+ CLAUDE.md 동기화: infra_inventory.md 참조 / soft lock 섹션 포함) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
15
CLAUDE.md
15
CLAUDE.md
@@ -1,5 +1,20 @@
|
||||
# hyungi_Document_Server — Claude Code 작업 가이드
|
||||
|
||||
## Infrastructure Reference 📌
|
||||
|
||||
**Always refer to** `~/.claude/projects/-Users-hyungiahn/memory/infra_inventory.md` for:
|
||||
- AI model routing (primary / fallback / embedding / rerank / vision) — **the model names below may be stale**
|
||||
- Machine info, Tailscale IPs, SSH targets
|
||||
- Docker container topology and compose projects
|
||||
- Drift log (known Desired vs Actual inconsistencies)
|
||||
- Verify commands
|
||||
|
||||
**If this file and `infra_inventory.md` disagree, `infra_inventory.md` is authoritative.** Do not change `config.yaml` / `credentials.env` without first updating `infra_inventory.md`.
|
||||
|
||||
**Search experiment soft lock**: During Phase 2 work (search.py refactor, QueryAnalyzer, run_eval.py execution), do **not** run `docker compose restart`, change `config.yaml`, or pull Ollama models. Violating this invalidates the experiment baseline.
|
||||
|
||||
---
|
||||
|
||||
## 프로젝트 개요
|
||||
|
||||
Self-hosted PKM(Personal Knowledge Management) 웹 애플리케이션.
|
||||
|
||||
Reference in New Issue
Block a user