← Table of Contents · Page 669 of 868

PROJECT ONE - A MINIMAL HARNESS

Part 7 of 11

PRACTICE LAB CONNECTION Stage 1 deliverables. Your project folder should now contain main_loop.py, tool_registry.py with three tools, permission_gate.py, model_adapter.py, make_sample_data.py, and a sample_data folder holding one job posting and five fictional resumes. Sample data. The five resumes are short, clearly fictional, and form a spread: resume_01.txt and resume_05.txt are strong matches, resume_02.txt and resume_03.txt are partial matches, and resume_04.txt has no overlap with the posting. Acceptance criteria for Stage 1. Check each of these before moving on. First, the agent lists the resumes folder, reads each resume, compares it with the posting, and writes a one-paragraph report per resume into the reports folder. Second, no resume takes more than ten steps. Third, the agent never reads or writes outside the resumes and reports folders, which you proved with the gate test above. Fourth, the log lets you reconstruct a run. A note on the planted flaw. Please leave write_report exactly as written for now. Chapter 67 will return to it. Keep your lab under version control, for example with git, and make a save labeled stage1 so you can return to this exact state later.
Advertisement
Read Aloud:
0:00 / 0:00