WFGY/ProblemMap/GlobalFixMap/Retrieval
PSBigBig × MiniPS cdc1a3fcdc
Update README.md
2026-02-10 15:26:38 +08:00
..
checklists Create traceability_gate.md 2025-09-01 16:36:57 +08:00
eval Create .gitkeep 2025-09-01 16:28:04 +08:00
mvp_demo Create .gitkeep 2025-09-01 16:28:13 +08:00
ops Create .gitkeep 2025-09-01 16:28:20 +08:00
patterns Create .gitkeep 2025-09-01 16:28:28 +08:00
playbooks Create .gitkeep 2025-09-01 16:28:37 +08:00
tools Create .gitkeep 2025-09-01 16:28:46 +08:00
chunk_alignment.md Update chunk_alignment.md 2025-09-05 11:46:54 +08:00
deltaS_probes.md Update deltaS_probes.md 2025-09-05 11:47:00 +08:00
hybrid_retrieval.md Update hybrid_retrieval.md 2025-09-05 11:47:06 +08:00
query_parsing_split.md Update query_parsing_split.md 2025-09-05 11:47:11 +08:00
README.md Update README.md 2026-02-10 15:26:38 +08:00
rerankers.md Update rerankers.md 2025-09-05 11:47:16 +08:00
retrieval-playbook.md Update retrieval-playbook.md 2025-09-05 11:47:22 +08:00
retrieval-traceability.md Update retrieval-traceability.md 2025-09-05 11:47:27 +08:00
retrieval_eval_recipes.md Update retrieval_eval_recipes.md 2025-09-05 11:47:33 +08:00
store_agnostic_guardrails.md Update store_agnostic_guardrails.md 2025-09-05 11:47:38 +08:00

Retrieval — Global Fix Map

🏥 Quick Return to Emergency Room

You are in a specialist desk.
For full triage and doctors on duty, return here:

Think of this page as a sub-room.
If you want full consultation and prescriptions, go back to the Emergency Room lobby.

A compact hub to stabilize retrieval quality across stacks, models, and stores.
Use this page to route symptoms to the exact structural fix and verify with measurable targets. No infra change required.


Orientation: what each page does

Page What it solves Typical symptom
Retrieval Playbook End to end rebuild order and knobs You fixed one thing and another breaks
Retrieval Traceability Cite-then-explain schema with required fields Citations miss the exact section or cannot be verified
Rerankers Deterministic reranking across BM25 + ANN Hybrid worse than single retriever
Query Parsing Split One query, two meanings; detect and route Answers jump between two unrelated sections
Chunk Alignment Chunking aligned with the models semantic window Snippets cut mid-thought; anchors missing
ΔS Probes Quick health check using ΔS and λ_observe Looks fine by eye but flips across runs
Retrieval Eval Recipes Deterministic, SDK-free evaluation No stable way to tell if “better” shipped
Store-Agnostic Guardrails Locks for metrics, analyzers, versions Index “healthy” but recall still low

When to use this folder

  • High similarity but wrong meaning.
  • Correct facts exist in the corpus but never show up.
  • Citations inconsistent or missing across steps.
  • Hybrid retrieval underperforms a single retriever.
  • Index looks healthy while coverage remains low.

Acceptance targets

  • ΔS(question, retrieved) ≤ 0.45
  • Coverage of target section ≥ 0.70
  • λ_observe convergent across 3 paraphrases and 2 seeds
  • E_resonance flat on long windows

Symptoms → exact fixes

Symptom Likely cause Open this
High similarity yet wrong answer Metric or analyzer mismatch Embedding ≠ Semantic
Correct fact never retrieved Fragmentation or missing anchors Vectorstore Fragmentation · Chunking Checklist
Hybrid worse than single Query parsing split or mis-weighted rerank Query Parsing Split · Rerankers
Citations missing or unstable Schema not enforced Retrieval Traceability · Data Contracts
Answers flip between runs Prompt header reordering or λ variance Context Drift · Rerankers

60-second fix checklist

  1. Lock metrics and analyzers
    One embedding model per field. One distance metric. Same analyzer for write and read.
    Guide: Store-Agnostic Guardrails

  2. Enforce the snippet contract
    Require snippet_id, section_id, source_url, offsets, tokens.
    Guide: Data Contracts

  3. Measure ΔS and λ
    Run three paraphrases and two seeds.
    Guide: ΔS Probes

  4. Sweep k and rerankers
    Try k in {5, 10, 20}. Keep BM25 and ANN candidate lists.
    Guide: Rerankers

  5. Rebuild where needed
    Follow the sequence in the playbook and re-test coverage.
    Guide: Retrieval Playbook


Checklists — copy before deploy

Checklist Scope Link
Retrieval Readiness Pre-flight: embeddings, analyzers, index, gold set retrieval_readiness.md
Reranker Sanity Hybrid reranking health and overlap checks reranker_sanity.md
Traceability Gate Contract enforcement for cite-then-explain traceability_gate.md

Vector DBs — jump if store specific


Minimal probe pack you can paste

Context: I loaded TXT OS and the WFGY pages.

Task:
- Given question "Q", log ΔS(Q, retrieved) and λ across 3 paraphrases.
- Enforce cite-then-explain with the traceability schema.
- If ΔS ≥ 0.60 or λ flips, return the smallest structural change to push ΔS ≤ 0.45 and coverage ≥ 0.70.
- Use BBMC, BBCR, BBPF, BBAM when relevant.

Return JSON:
{ "citations": [...], "ΔS": 0.xx, "λ_state": "<>", "coverage": 0.xx, "next_fix": "..." }

🔗 Quick-Start Downloads (60 sec)

Tool Link 3-Step Setup
WFGY 1.0 PDF Engine Paper 1 Download · 2 Upload to your LLM · 3 Ask “Answer using WFGY + <your question>”
TXT OS (plain-text OS) TXTOS.txt 1 Download · 2 Paste into any LLM chat · 3 Type “hello world” — OS boots instantly

🧭 Explore More

Module Description Link
WFGY Core WFGY 2.0 engine is live: full symbolic reasoning architecture and math stack View →
Problem Map 1.0 Initial 16-mode diagnostic and symbolic fix framework View →
Problem Map 2.0 RAG-focused failure tree, modular fixes, and pipelines View →
Semantic Clinic Index Expanded failure catalog: prompt injection, memory bugs, logic drift View →
Semantic Blueprint Layer-based symbolic reasoning & semantic modulations View →
Benchmark vs GPT-5 Stress test GPT-5 with full WFGY reasoning suite View →
🧙‍♂️ Starter Village 🏡 New here? Lost in symbols? Click here and let the wizard guide you through Start →

👑 Early Stargazers: See the Hall of Fame — Engineers, hackers, and open source builders who supported WFGY from day one.

GitHub stars WFGY Engine 2.0 is already unlocked. Star the repo to help others discover it and unlock more on the Unlock Board.

WFGY Main   TXT OS   Blah   Blot   Bloc   Blur   Blow