Individual project: deep research harness
Revised 7 November 2026. The project was an offline paper-search method in Python. It is now an experiment on a deep research agent. No student had submitted project work after 14 October, so no submitted work is affected. The 25% weight, the 2/3/20 split, the 600-word limit and the 9 December freeze are unchanged. The 14 October marks stand as awarded.
A deep research agent answers a question by searching the fixed course corpus
several times, reading pages and submitting a ranked list of paper IDs. The
course supplies the agent, the corpus, the model access and the comparison page
at irai.stai-lab.org/project/research. You change parts of
the agent’s loop by editing its settings file, settings.yaml, on that page,
measure quality and cost on a fixed question set, and read traces to see why
the numbers moved. The harness source is shown read-only beside the settings.
You need no account or API key.
The settings are grouped by the part of the loop they change. The first value listed is the default.
- Search tool: search method (bm25, dense, or hybrid), papers returned per search (10, 5, or 20), passage length in words for bm25 (180, 60, or 400), and one passage per paper (on or off). Each result shows 300 characters of its passage. With one passage per paper off, several passages of one paper can fill the results.
- Query formulation: the query style (free, keywords, question, or hypothetical, a sentence a matching paper would contain), decomposing the question into its conditions (off or on), and up to 1,500 characters of your own instructions to the agent, on several lines: how to search, when to read, what to keep and when to stop. The agent receives your instructions under a fixed heading, after the harness rules.
- Stopping: maximum steps (6, 4, or 10), minimum steps before submit (1, 3, or 5), and the token cap per run (30,000, 15,000, or 60,000).
- Output assessment: the read-page tool (on or off), a check step (off or on) and the retrieved-only guard (on or off). With the check step on, the agent must quote a page of each paper it keeps, and the harness drops any paper whose quote it cannot find on that page. With the guard on, the harness discards any paper ID that appeared in no tool result. With reflect on, the first submit is returned once so the agent can check what the question still lacks.
- Cost: the model (Claude Haiku 5.5 or Claude Sonnet 5.5) and its effort (low or medium).
Each setting targets a way deep research can go wrong: too few results per search, evidence split across passages, one paper filling the results, stopping too early, never stopping, an overfull context, a paper kept without evidence, or a paper named from memory. Investigate one question through a controlled comparison with the supplied baseline. The expected work is one justified change, not a large application.
Three project sessions
All times are KST. Each session runs 09:00-10:00. The course uses Zoom.
- 14 October: guided modification. FAISS and Elasticsearch comparisons. Completed; its 2 marks stand.
- 11 November: deep research experiment. The lecturer demonstrates the harness. Save one changed setting as your candidate with a hypothesis. Predict how it will compare with the baseline on a classroom query revealed in class. Then run it, compare and diagnose. These three responses carry 3 marks.
- 14 December: course wrap-up. The last class replaces the December workshop. It is ungraded.
The report is required and carries 20 of the 25 marks. You can start it in class once your three in-class responses are saved, and finish it by the 9 December freeze.
How runs are measured
Every saved setting runs three times on each development query, because the same settings can give different results from run to run. The page reports recall@10 and precision against known target papers, cost per run, cost per correct paper, tokens, and tool calls, with the spread across the three runs. It also labels each miss: a target never retrieved, a target retrieved but not kept, a kept paper outside the targets that the agent never read, and a kept paper that appeared in no tool result. Treat a difference as real only when it is larger than that spread. Known targets are incomplete labels: a submitted paper outside them is not proven wrong, so inspect it before saying so.
Each run starts afresh, with no memory of earlier runs or other students. A run stops at its token cap, counting input, output, and cached tokens; the agent is then told to submit at once.
Submission
Your submission is one set of saved settings, a report of at most 600 words with run references, and a separate AI declaration that does not count towards the limit. The limit is a ceiling, not a target. Write the report on the project page as one essay, organised as you choose. A good report usually covers:
- your question, prediction, the setting you changed and why it might help
- a comparison with the supplied baseline over the repeated development runs
- two query examples, using run traces and paper evidence, including a failure or trade-off where one exists
- what your evidence establishes, its limits and what you would test next
How much space each part takes is up to you.
Settings and report freeze on 9 December at 23:59 KST. Your final settings are the candidate saved with your hypothesis, unless your report names other settings you saved. You can revise the report and run more settings until the freeze.
Boundaries
The corpus, the questions, the target labels, the scoring, the harness code, and the budget are fixed. The harness also fixes the submission format and the limit of ten papers; your instructions cannot change them. Any combination of the offered settings is allowed. External documents cannot enter the corpus.
Development queries and their targets are public, and you may tune on them. Tuning on them is not evidence of generalisation. The classroom query and the final held-out queries are revealed only when they are used. Runs are limited by cost: $3.00 per student and $100.00 for the class per KST calendar day. A queued or running run holds $0.03 until it finishes and then counts its actual cost. The page shows what you have spent today. The required work costs a small part of the daily limit.
If you change several settings, test them separately as well, so you can say which change caused a difference.
Marking: 25 marks, 25% of the course
| Evidence | Marks | What earns credit |
|---|---|---|
| 14 October guided work | 2 | A reasoned prediction before the changed run, then the run and an evidence-based explanation |
| 11 November experiment record | 3 | One mark each: a stated hypothesis with saved candidate settings, a prediction on the classroom query before running it, then a recorded comparison and diagnosis |
| Final change and its design | 6 | A clearly defined change (0-2), a reason for it (0-2), and saved settings that match the account (0-2) |
| Final evaluation and diagnosis | 10 | A controlled comparison with the baseline over repeated runs, with the spread considered (0-4), diagnosis of two queries from run traces (0-4), and limits of the conclusion (0-2) |
| Reproducible final record | 4 | One each: the final settings run cleanly on the held-out queries, run references resolve, the report names its settings, and the AI declaration is complete |
The first five marks assess the activities completed during class. The final 20 assess the saved settings and report. The classroom responses remain as submitted even if the final report changes. The same evidence is not counted twice as two separate activities.
Recall, cost, novelty and selection for the December highlights carry no marks. A change that performs worse than the baseline can receive full marks if the comparison and diagnosis meet the criteria. Unchanged baseline settings do not demonstrate your own experiment.
Staff run every final setting three times on held-out queries; those results do not determine marks. Tutors calibrate together, divide the submissions and cross-check a sample. The lecturer resolves outstanding marking differences.
AI, attendance and technical problems
AI assistance is optional during project development outside the supervised activities and must be declared. Generative AI and help from another person are not permitted for the individual prediction and explanation submissions. The guided code exercise is completed without generative AI. Individual predictions and explanations must be your own. Tutors mark submitted work; the lecturer handles workshop guidance and technical problems.
October students explore their own queries; November uses a fresh classroom query. Submission windows close in class. Preparation beforehand is permitted; it does not replace the in-class activity. An authorised absence receives an equivalent opportunity, with agreed accommodations. A course-system failure receives a remedy without a mark penalty. Report the error and keep the available evidence.
Amendment
11 November 2026, 12:30. The report has its own page at /project/report. From 12:30 KST each student has one $4.00 credit for report experiments, until the report freezes. It replaces the daily per-student limit and the 11 November extras. Runs before 12:30 do not count towards it, and it does not reset. The class limit of $100.00 per KST calendar day is unchanged; on 11 November it counts from 12:30.
11 November 2026, 08:00. On 11 November after class, from 10:00 to 24:00 KST, each student has $3.00 more for further experiments, $6.00 for that day. The daily limits are otherwise unchanged. In the report, the final settings are chosen from your saved settings instead of typed by name.
11 November 2026, 07:30. Classroom runs and the comparison share one 15-minute phase, 09:40-09:55. The last five minutes, which were for checking saved answers, become a briefing on the report. Marks and the 10:00 end are unchanged.
11 November 2026, 07:20. The report is one essay instead of four fields, and students decide how to divide the 600 words. The four topics remain as guidance. The AI declaration stays a separate box and no longer counts towards the limit. Reports saved earlier open as one essay under the old headings.
11 November 2026, 07:20. Each in-class response is one written answer of about 100 words, a soft limit as in the discussion notes. The page states the mark and what earns it for each response. An answer can be edited only in its own phase; earlier answers stay visible to read, and the last version saved in the phase is marked. Before this date the hypothesis and prediction were choices of higher, lower or about the same for four measures with a short reason, the comparison chose from lists, and each response closed when the lecturer moved on.
11 November 2026, 07:30. Three development queries are added, making seven: reported SciFact results, users of the Pyserini toolkit described without its name, and tests of recovering a planted item from a long input. Their answers sit in results tables, behind another paper or under other words, so a longer snippet alone does not find them. Every target was checked against the page text. The supplied baseline runs on the new queries before class.
11 November 2026, 07:00. Three settings are added: query style, decompose and reflect. They change how the agent works, not what it may spend. Their defaults add nothing to the agent’s instructions, so the baseline runs as before.
11 November 2026, before class. The strategy note becomes the agent instructions: up to 1,500 characters on several lines, written as a block in settings.yaml. Before this date it was one line of at most 500 characters. The setting name, the heading the agent sees and the default text are unchanged, so the baseline runs as before.
11 November 2026, early. Characters of passage text per result is no longer a setting; every result shows 300 characters. The 1,000-character value raised recall on both the development and the classroom queries in one change, which left little to investigate. Settings saved with it run at 300 characters.
11 November 2026. The report is required. Before this date the policy said required work fitted within the 11 November session and that the candidate settings and in-class responses could stand as the final submission without a report. The report carries 20 of the 25 marks either way, so a project without one cannot earn them. Weights, marks and the 9 December freeze are unchanged.
10 November 2026, later. Students edit the settings as a YAML file instead of drop-down lists, and the harness source is shown read-only. The allowed values and the checks on them are unchanged.
10 November 2026. Five settings are added: passage length for bm25, one passage per paper, minimum steps before submit, the token cap per run, and the retrieved-only guard. Before this date the passage length was 180 words, one passage per paper was always on, submit was allowed at any step, the token cap was fixed at 30,000, and papers absent from tool results were always discarded. Maximum steps moves from query formulation to a new stopping group. The defaults keep the earlier behaviour, so the baseline and saved settings run as before. Weights, marks, the budget, the 600-word report and the 9 December freeze are unchanged.
8 November 2026. The settings are grouped by the part of the loop they change: search tool, query formulation, output assessment, and cost. Each setting now takes one of a few listed values. Before this date the settings also offered Claude Opus 5.5, high effort, a free number of steps and results, a characters-read setting, a citations tool, and free-form instructions of up to 3,000 characters. The instructions are replaced by a strategy note of at most 500 characters, and a check step is added. Each run stops at 30,000 tokens. The daily allowance of 600 runs is replaced by the dollar limits above. Settings saved earlier still run: removed settings are ignored and other values move to the nearest allowed one. Weights, marks, the 600-word report, and the 9 December freeze are unchanged.
7 November 2026. The deep research harness experiment replaces the offline paper-search method. Students change agent settings, not code. The Python submission contract, the offline CPU limits and the code-based execution marks are withdrawn. Weights, the 600-word report, the 9 December freeze and the AI rules are unchanged.
14 October 2026. Tutors only mark submitted work. This supersedes the earlier tutor code-guidance role. Workshop guidance and technical recovery belong to the lecturer.
Approved 27 September 2026. This replaces the growing class-note collection, group project, required relevance-judging quotas, peer multipliers, leaderboard marks and individual presentations. It also supersedes the proposed final practical and earlier 5/10/10 allocation. The first workshop moves from 7 to 14 October; all three project sessions last 60 minutes. The project remains 25% of the course.
11 October amendment: the guided exercise compares FAISS index setups and Elasticsearch keyword/vector/hybrid retrieval over fixed passage vectors. This replaces the BM25 chunk-size change. The corpus, session length, marks, individual responses and AI rules remain unchanged.
14 October amendment: the opening phase uses read-only exact FAISS code. Students build it and test queries; code editing opens during FAISS experiments. The Elasticsearch phase is removed. The hour allocates 10 minutes to query practice, 5 to prediction, 40 to FAISS experiments and explanation, and 5 to receipts and downloads. Marks and AI rules are unchanged.