Lewis et al. (2020), "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks"
Lewis et al. (2020), "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks", NeurIPS, abstract + figure 1 (15 min)
In: LABLOOP-W34 Notebook
WEEK 34 · Mon 10 May → Sun 16 May 2027
UNDERSTAND · PRACTICE · KEEP EVIDENCE
Read the week in plain language, refresh the foundations, follow each challenge step by step, and check what evidence to keep. Includes worked examples, answer keys and prompts for visual study resources.
Use this within your existing weekly blocks. Your learning completion and research evidence remain in your current tracker and week files.
START HERE · 2 MINUTES
STATUS
| Deliverable | Acceptance | State |
|---|---|---|
retrieval-gold-set.csvBuild |
Prepare 60 human-labeled questions across document types, including missing-answer, contradictory, versioned and adversarial-content cases. Acceptance: Produce the human-checked retrieval score table for the cases actually completed and log any shortfall against the 60-case target. | |
retrieval-evaluation.csvBuild |
Implement local retrieval and cited answers with exact document/version/paragraph references and abstention behavior. Acceptance: Retrieval recall, citation support and answer correctness have separate counts. | |
judge-calibration.mdBuild create + |
Calibrate any LLM judge against human labels and inspect disagreement; test that retrieved text cannot override system actions. Acceptance: Model/prompt versions and held-out agreement are reported with failure examples. | |
study-notes.mdLearning create + |
Selected exact free resources; bounded lesson/exercise; separate solution; quiz and grading rubric; Peter's answers and gaps when executed | |
founder-paper.mdFounder papers create + |
Verified source and P11 digest; authentic question and connection sentence; access limitations | |
branding-pack.mdBranding create + |
Wednesday note, Sunday build log, X adaptation, figure/caption/alt text and the week's special asset; each claim linked to real proof | |
opportunity-actions.mdOpportunities create + |
Qualified target/role, source/date, ladder stage, next action, message/interview/proposal draft and actual status | |
evidence.mdEvidence & review open & edit ↗ |
Actual paths/URLs, versions, checks/metrics, preparation versus execution state and external receipts when applicable | |
review.mdEvidence & review open & edit ↗ |
Checklist, learning assessment, gate status, shortfalls, next actions and carryover |
These filenames are outputs to prepare during this week's execution; this scaffold does not claim they already exist. Drafts and measured results have different states. Technical code/data stay in the canonical project repository and are referenced from these coordinating files.
During preparation, future measured tables get column definitions, input requirements and run instructions with PENDING status. During execution, replace pending values only with measured outputs. Do not create realistic-looking fake evidence.
600 MINUTES MAXIMUM
Target. Prepare 60 human-labeled questions across document types, including missing-answer, contradictory, versioned and adversarial-content cases. Stop when: Produce the human-checked retrieval score table for the cases actually completed and log any shortfall against the 60-case target.
No material for Monday — this is a pure build day. Need something to study instead? →
Target. Study information retrieval evaluation and Stanford evaluation materials by topic, not assumed lecture numbering; compute recall@k and support labels on five examples. Produce: One concise applied note, a worked decision/example and unresolved questions.
Do these in this order — the plan's own sequence:
Target. Implement local retrieval and cited answers with exact document/version/paragraph references and abstention behavior. Stop when: Retrieval recall, citation support and answer correctness have separate counts. Reserve the last 10 minutes for the optional Wednesday note.
No material for Wednesday — this is a pure build day. Need something to study instead? →
Target. Calibrate the judge against the human rubric and inspect disagreement; last 30 minutes: relevant scientific document-workflow paper. Apply the Half 2 one-formal-study-block rule.
No material for Thursday — this is a pure build day. Need something to study instead? →
Target. Calibrate any LLM judge against human labels and inspect disagreement; test that retrieved text cannot override system actions. Stop when: Model/prompt versions and held-out agreement are reported with failure examples.
No material for Friday — this is a pure build day. Need something to study instead? →
Target. Resolve the earliest critical spillover or dependency. Prepare any long-form publication draft from existing figures here if needed. Sandbox only after commitments are met.
Optional, only if the day went well:
Target. 20 min build-log draft/publication when authorized; 5 min evidence/checklist; 20 min source-grounded gap review; 15 min next week's six physical actions.
No material for Sunday — this is a pure build day. Need something to study instead? →
Spare pockets, repo exercises and anything the plan lists without a day. Take them in this order when a day finishes early.
The model must turn these into exact physical actions using the observed files and available inputs. Each 90-minute block includes start/stop rituals. All calls, posts, debugging, reading and exercises consume this same capacity.
Half 2: Tuesday is the formal study block unless this is a selling/submission/decision week. Thursday supports applied review, partner work or the market task; do not add another full course.
WHAT TO WATCH, READ AND RUN
A librarian who answers confidently but sends you to the wrong shelf is worse than no librarian. This week you build "Ask the lab": local embeddings over the lab's records, answers that cite the exact protocol paragraph, and, as always, a measurement. You write 60 questions with human-labelled answers (your gold set again, now for retrieval), and you calibrate an LLM judge against your own labels so you know how muc…
0 of 12 finished · give me one to start now → · open in the deck →
In the plan's running order: each card says which block it belongs to and what has to come before it. The seven-day plan lists the same cards under the day that owns them.
Lewis et al. (2020), "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks", NeurIPS, abstract + figure 1 (15 min)
In: LABLOOP-W34 Notebook
Tuesday · after Lewis et al. (2020), "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks"
Es et al. (2023), "RAGAS: Automated Evaluation of Retrieval Augmented Generation", arXiv:2309.15217 (30 min)
In: LABLOOP-W34 Notebook
Tuesday · after Es et al. (2023), "RAGAS: Automated Evaluation of Retrieval Augmented Generation"
Stanford CS224N lecture on retrieval/RAG (web.stanford.edu/class/cs224n; verify current lecture list) (30 min)
In: LABLOOP-W34 Notebook
Saturday sandbox
Anthropic, "Introducing Contextual Retrieval" (engineering blog, 2024)
In: LABLOOP-W34 Notebook
Saturday sandbox · after Anthropic, "Introducing Contextual Retrieval"
Thakur et al. (2021), "BEIR: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models", NeurIPS Datasets and Benchmarks
In: LABLOOP-W34 Notebook
Saturday sandbox · after Thakur et al. (2021), "BEIR: A Heterogeneous Benchmark for Zero-shot Evaluation of Information R…
Faysse et al. (2024), "ColPali: Efficient Document Retrieval with Vision Language Models", arXiv:2407.01449 — retrieval directly on page images
In: LABLOOP-W34 Notebook
Saturday sandbox · after Faysse et al. (2024), "ColPali: Efficient Document Retrieval with Vision Language Models"
Zheng et al. 2023 LLM-as-a-judge (carry over)
In: LABLOOP-W34 Notebook
Compute context recall and faithfulness on 10 of your Q&A; compare with your human labels before trusting it
In: LABLOOP-W34 Notebook
Only as a reference implementation of chunking and citation; keep your own pipeline small
In: LABLOOP-W34 Notebook
Try page-image retrieval on 20 scanned SOP pages; compare recall@5 with text chunks
In: LABLOOP-W34 Notebook
Wrap the 60 Q&A as an eval with a model-graded scorer and your human labels
In: LABLOOP-W34 Notebook
Serve the embedding model locally on the mini PC for the on-prem story
In: LABLOOP-W34 Notebook
READ FIRST
This week delivers the three concrete artifacts below and the supporting learning/branding/opportunity pack. The scientific or commercial outcome follows the preserved source brief, while the acceptance checks make its evidence testable. The career objective is to turn this work into something a scientist, hiring manager or buyer can inspect.
READ FIRST
Read v6 · Week 34 · labdocs, part 2 before Monday. It expands this week's one-row v5 brief into daily build steps and adds the Welcome analogy, Learn it (▶ core and + deeper sources), Run it (repos with a 20-40 minute exercise), the NotebookLM kit and the mentor check below. Standing v6 rules: resource rules, NotebookLM protocol, chapter anatomy. v6 adds depth only; it does not change a goal, gate, output or the 600-minute cap, so this specification still governs execution.
Act VII · Threads: M, $, R · Next gate: 36
Where this week sits. - ← From: week 33 records; weeks 6-7 and 10 (gold sets, agreement); week 14 (calibrated judge). - → Feeds: week 35 (deviation drafting uses retrieval), week 37 (pilot option for archetype D), week 38 (talk example). - ⟳ Returns in: every "chat with your documents" request a client makes; you will be the one who asks "measured against what?".
Goals. - 🎯 This week: "Ask the lab" with citations; 60 labelled Q&A; retrieval and generation metrics separately; judge-human agreement number. - 🏁 Next milestone: Gate 36. - 🌟 Final: the calibrated-evaluation signature applied to regulated documents.
The plan (from v5 Part 7, expanded; gate and output unchanged).
v5 row: 34 | labdocs, part 2 | Retrieval evaluation | "Ask the lab" with citations; 60 labeled Q&A; judge agreement (v4 week 15) | L-Sun - Goal: a lab assistant whose trustworthiness is a number. - Tue (study): retrieval-augmented generation and its evaluation (Lewis et al. 2020; RAGAS paper; your Vara notes). - Build: Mon: chunking with section/paragraph IDs; local embeddings (bge-m3) on the Debian box; retrieval with citations. Done when every answer shows source paragraph IDs. Wed: 60 questions with human answers and gold source paragraphs; recall@k for retrieval; answer correctness separately. Fri: LLM judge vs human labels on the 60; agreement and the cases where the judge is wrong. Done when the agreement number is in the README. - Sun: L-Sun "Judge-human agreement: X%. Everything else depends on that". - Only one thing: the 60 labelled Q&A.
Mentor check. "I can tell a lab exactly how often their assistant cites the right paragraph and how much to trust the automatic scores."
OPEN WHEN NEEDED
READ FIRST
Material: Study information retrieval evaluation and Stanford evaluation materials by topic, not assumed lecture numbering; compute recall@k and support labels on five examples.
Produce: One concise applied note, a worked decision/example and unresolved questions.
Understanding check: The note directly supports this week's experiment, collaboration, delivery or career action.
During preparation, write one worked example connected to the week's actual task, one exercise with a separate answer key and five questions. Peter supplies answers; score explanation quality and flag misconceptions in QUESTIONS. Numeric/scientific conclusions require actual data or explicitly synthetic teaching values.
Material: Calibrate the judge against the human rubric and inspect disagreement; last 30 minutes: relevant scientific document-workflow paper.
Produce: One concise applied note, a worked decision/example and unresolved questions.
Understanding check: The note directly supports this week's experiment, collaboration, delivery or career action.
Use the prompt pack: P1 explanation ladder, P2 concept-to-project bridge and P3 quiz. Coding practice belongs within the allocated study/build block. Where the source asks for a favorable scientific result, substitute an honest measured comparison as explained below.
Select one verified founder/scientific-lead paper relevant to this week's domain. Use P11; save the question, method, numerical result with context, data workflow, three author questions and one connection sentence in founder-paper.md. Keep abstract-only access limitations explicit. On source weeks with no study, prioritize the commercial/submission task and log any skipped digest.
OPEN WHEN NEEDED
Branding: Draft a citations-versus-correctness post and one failed retrieval case.
Opportunity action: Prepare a domain review of the evaluation rubric; map this artifact to relevant employer responsibilities.
Use career asset contracts. Publish at most the agreed cadence; one figure and one supported number or admitted failure can support multiple drafts. In long-form weeks, prepare a 1,500–2,500-word article from existing evidence within the build/buffer allocation. In release/demo weeks, prepare a 60-second script: problem, input, command/action, result, limitation and proof link.
Verify individuals, jobs and affiliations at execution time. The GridX list and v4 company map are research seeds, not current facts. Do not reveal named company weaknesses or employer/client confidential information. Keep drafted/sent/replied/booked/held statuses separate. The planning request alone does not authorize external messages or publication; honor explicit authorization in the execution session.
OPEN WHEN NEEDED
The 60 cases are a small measured benchmark, not universal accuracy. Keep tuning cases out of final scores and do not treat judge agreement as factual correctness.
Apply the root scientific evidence contract: provenance; meaningful independent splits; no future-data leakage; baseline comparison; actual denominators/uncertainty; failed cases; human review where required. State whether data are simulated, public experimental, synthetic or partner-provided.
Keep source gates intact, and log scope/time conflicts in review. Missing people, money, access or results must not be replaced with invented evidence. Reduce optional polish first. A specific essential external dependency stays pending while independent preparation continues.
READ FIRST
This is an enabling week. Its deliverables feed the next scheduled gate: 36. Complete the acceptance checklist below; do not promote reputation from a draft.
READ FIRST
Expanded minimum derived from the source goal: Produce the human-checked retrieval score table for the cases actually completed and log any shortfall against the 60-case target.
Operational first step if stalled: open retrieval-gold-set.csv, write the required inputs and produce the smallest checkable example in ten minutes. If a more urgent missing gate dependency controls the week, use the source minimum above.
If the full week does not fit, use P14: retain one gate-critical deliverable and one directly supporting study exercise; record what is skipped versus moved. Do not mark the original full gate passed merely because the minimum was completed. After a missed week, reforecast from actual evidence and avoid a second unexamined lost week.
OPEN WHEN NEEDED
In review, state exactly what exists, what was verified, what Peter can now explain, which external events remain pending, where the canonical code/data live, and the next file/function or draft paragraph to touch. Link each fact to evidence. Carry scientific assumptions, split definitions and rights constraints forward explicitly.
OPEN WHEN NEEDED
Prepare Week 34 of this LABLOOP execution plan.
Read execution-plan/specs.md, execution-plan/DECISIONS.md,
execution-plan/GATES.md and
execution-plan/weeks/week-34-labdocs-retrieval-evaluation/specs.md, commitment.md, evidence.md and review.md.
Read prior prerequisite reviews and inspect actual repository/data state.
Use v5 as the governing sequence, the v6 Week 34 chapter
(LABLOOP-Master-Plan-v6.md) as the deeper walkthrough, and v4 only for
retained details.
Produce the full local preparation pack and the exact week-specific files named
in the artifact table. Give me a bounded lesson with exercises/answer key,
daily physical actions, technical runbook or draft, branding drafts and
career/commercial actions. Keep the total to 600 minutes.
Separate prepared artifacts from measured results and my learning completion.
Verify sources and do not invent metrics, citations, papers, people or outcomes.
Do not execute external communications, publication or spending unless the
current session already authorizes the specific action.
Finish by updating evidence/review and TODAY with the next physical action.
OPEN WHEN NEEDED
v6 expands this row into a full brief, with the gate and output unchanged, inside v6 · Week 34 · labdocs, part 2. The following is source planning text, not a claim of completion. Apply the explicit evidence corrections in this specification and DECISIONS.md.
| Week | Goal | Study (Tue) | Build (Mon/Wed/Fri) | Output |
|---|---|---|---|---|
| 34 | labdocs, part 2 | Retrieval evaluation | "Ask the lab" with citations; 60 labeled Q&A; judge agreement (v4 week 15) | L-Sun |
WEEK FILES
State: UNCONFIRMED. Owner: Peter Ciancaglini. Specification
Start date: not set. End date: not set. Available hours: confirm (planned ceiling 10). Primary outcome: labdocs retrieval evaluation. Minimum that keeps the next gate alive: Produce the human-checked retrieval score table for the cases actually completed and log any shortfall against the 60-case target.
retrieval-gold-set.csv: Produce the human-checked retrieval score table for the cases actually completed and log any shortfall against the 60-case target.retrieval-evaluation.csv: Retrieval recall, citation support and answer correctness have separate counts.judge-calibration.md: Model/prompt versions and held-out agreement are reported with failure examples.| Day | Minutes | Physical action / outcome | Actual slot | Done |
|---|---|---|---|---|
| Mon | 90 | Prepare 60 human-labeled questions across document types, including missing-answer, contradictory, versioned and adversarial-content cases. | Not set | ☐ |
| Tue | 90 | One concise applied note, a worked decision/example and unresolved questions. | Not set | ☐ |
| Wed | 90 | Implement local retrieval and cited answers with exact document/version/paragraph references and abstention behavior. Last ten minutes: optional note. | Not set | ☐ |
| Thu | 90 | One concise applied note, a worked decision/example and unresolved questions. Include relevant founder-paper work within this block. | Not set | ☐ |
| Fri | 90 | Calibrate any LLM judge against human labels and inspect disagreement; test that retrieved text cannot override system actions. | Not set | ☐ |
| Sat | 90 | Resolve critical spillover; long-form draft if due; sandbox only if done. | Not set | ☐ |
| Sun | 60 | Build log, evidence, gap review, next actions. | Not set | ☐ |
Peter's commitment / adjustments: pending. Reviewing model and date: pending.
Execution state: NOT_STARTED. Specification This file is a blank register with planned artifact names; none of the rows prove completion.
| Item | Path / URL / version | State | Verification / actual result | Verified by / date |
|---|---|---|---|---|
| retrieval-gold-set.csv | Not created | NOT_STARTED | Pending: Source paragraphs and answerability labels are human checked and partitions are frozen. | — |
| retrieval-evaluation.csv | Not created | NOT_STARTED | Pending: Retrieval recall, citation support and answer correctness have separate counts. | — |
| judge-calibration.md | Not created | NOT_STARTED | Pending: Model/prompt versions and held-out agreement are reported with failure examples. | — |
| Learning exercise / Peter's quiz | Not created | NOT_STARTED | Peter's actual answers required | — |
| Founder paper digest | Not created | NOT_STARTED | Source/content and access checked | — |
| Branding pack | Not created | NOT_STARTED | Claims audited; drafted/public status distinct | — |
| Opportunity actions | Not created | NOT_STARTED | Drafted/sent/replied/booked/held distinct | — |
| Question / metric | Dataset, N and unit | Split / seed / config | Command or verification method | Output path and measured value | Uncertainty / limitation |
|---|---|---|---|---|---|
| Date | Action / counterpart | Receipt or private reference | State | Next action / date |
|---|---|---|---|---|
Peter's teach-back / quiz score: not assessed. Scientific assumptions and deviations: none recorded yet. Budget allocated / spent: not assessed / no spend recorded. Missing evidence and responsible owner: pending inspection.
Do not put API keys, source full texts with restricted rights, client data or invoice personal details in a public version of this register. Keep private evidence references private.
Review status: NOT_REVIEWED. Specification · Evidence
What Peter can explain or reproduce now: not assessed. Quiz / teach-back gaps: not assessed. Measured result and limitations: pending. Best evidence link for a scientist/recruiter/buyer: pending. What failed or changed, and why: pending.
Gate requirement: No standalone gate; check this week's acceptance criteria and next gate dependencies. Gate status: NOT_STARTED. Original target week: See next gate in specs. Actual completion date / forecast: not set. Missing external evidence: pending inspection. Blocks completed / 7: not recorded. Days with commits / 7: not recorded. Sunday build log / optional Wednesday note: not recorded. Founder conversations cumulative: not recorded. Earned evidence level and proof: not assessed. Consecutive lost weeks: not assessed.
Week-specific risk to revisit: The 60 cases are a small measured benchmark, not universal accuracy. Keep tuning cases out of final scores and do not treat judge agreement as factual correctness.
Continue / recover / blocked: not decided. Retain as the minimum: Produce the human-checked retrieval score table for the cases actually completed and log any shortfall against the 60-case target. Skipped permanently with reason: none recorded. Carryover with owner, dependency and target week: none recorded. Canonical repository paths and versions: pending. Data permissions, split definitions or assumptions to preserve: pending. External action authorization that still applies: not assessed. Next physical action, exact file/function/paragraph: pending. Updates to root PROGRESS / LOG / TODAY completed: ☐
YOUR SPACE