Problems / Less to Read, Better Answers
Less to Read, Better Answers Send only the passages a question needs
- Sheet
- C-05
- Difficulty
- Easy 3
- Format
- Config
- Mode
- Simulated
- Sub-topics
- Retrieved PassagesSending Less
Open this on a computer to solve it. Config problems need a wider screen.
A research assistant sends 20 passages with every question, and still gets some answers wrong. Send fewer passages and get every answer right.
The Situation
Quillworks' research assistant answers staff questions from past reports. For each question, a search step called retrieval finds the best-matching parts of reports, called passages. With every question, the assistant sends the top 20 passages to the model, the AI that writes the answer. Models read and bill text in tokens, which are small pieces of words. Your day of 41 questions cost $1.40, and 10 answers were wrong.
Your job: cut that cost and get every answer right.
Your Move
Change retrieval.yaml:
top_k: how many passages to send with each question, starting from the best match. It can be from one to 20.
Then press Run.
The Rules That Decide
R1. Ranks
Retrieval gives every passage a rank for each question: its place in the search results. Rank one is the best match. For each question, one passage holds the figure it asks for: its answer passage. On other days, an answer passage can rank one place deeper than the deepest one today.
R2. Look-Alikes
Some questions have a look-alike: a passage with the same kind of figure, but for another client.
R3. Answers
The model copies each figure it gives from a passage sent with the question.
Targets
- Cost cut, how much less your day costs than the starting system: at least 50% to pass, and 55.0% for full points.
- Accuracy, the share of right answers, must reach 100%.
Your fix is also checked on inputs you can't see, so tune for the rule, not the sample.
The Fine Print
R4. Prices
Every question goes to the large model. Its prices are:
- Input, the text sent to the model: $4 per million tokens.
- Output, the reply it writes: $20 per million tokens.
These prices are made up for this problem. They are not any provider's real prices.
R5. Requests
Each question sends one request. It holds the assistant's instructions (700 tokens), then the top top_k passages, most relevant first, then the question. Each passage is 300–400 tokens long. Replies are the same length however many passages you send.
R6. Your Day
The day has 41 questions. Each asks for one figure from one report, such as a client's renewal rate in a given year.
Need a Hint?
Hint 1 of 3 caps what you can earn at 28 out of 30 points. Points you’ve already earned stay. How points work