Problems / Fixing a Config

Fixing a Config

How This Page Works

  1. Title block: sheet number, difficulty, format, mode and sub-topics
  2. The statement, in sections you can open and close
  3. Need a Hint?: each hint states its cost before you take it
  4. The config editor, with errors marked as you type
  5. A drawing of your config, updated as you edit
  6. Run: runs your answer, then the server checks it
  7. The results: what your config did, turn by turn
  8. Your result, against the pass and full-points lines
  9. Flag a Problem: report anything wrong

On the tutorials, these numbers appear beside the real parts of the page.

1
Sheet
T-03
Difficulty
Easy 1
Format
Config
Mode
Simulated
Sub-topics
Tutorial

Open this on a computer to solve it. Config problems need a wider screen.

Go to the Editor Need a Hint?

2Edit a config, run it, and read the results and the score meter.

The Situation

This tutorial shows how config problems work. A config is a settings file that controls how a system behaves. A support bot for the Orbit 300 espresso machine answers customer questions from its manual. It uses the large model, the AI that writes each answer. On today's questions, that costs $0.1420. Every question today is easy, so the small model can answer them all.

Your job: in chatbot.yaml, change model: large to model: small, then press Run.

Your Move

Each step's number matches a marker on the page.

These steps need a computer: a phone has no editor, so there’s nothing here to edit or run. Open this tutorial on a computer to follow them.

  1. The title block lists the sheet number, difficulty, format and mode.
  2. Open and close each section of this statement with its bar.
  3. The hint below is free here, unlike on real problems.
  4. Edit chatbot.yaml in the editor marked 4. The model line takes large, medium or small.
  5. The drawing shows what your bot sends to the model for each question.
  6. Press Run. It runs your config in your browser, then the server checks it.
  7. The results show the cost and what happened to each question.
  8. The first line of the results shows your cost cut against the pass line and the full-points line (see Targets).
  9. If anything on a problem looks wrong, use Flag a Problem to tell us.

The Rule That Decides

R1. Models

Each question has a level: how hard it is. Each model has a level too: the hardest question it can answer. Large is 95, medium is 80, and small is 60. A model answers a question correctly when the question's level is at most the model's. Today's questions are levels 21 to 46.

Targets

  • Cost cut: how much less your config costs than the starting config's $0.1420. The pass line is 50%, the least you need to pass. The full-points line is 75%, the cut that earns every point on a real problem.
  • Accuracy: every question answered correctly (100%).

The Fine Print

R2. Prices

Models read and bill text in tokens, which are small pieces of words. Input tokens are the text the bot sends to the model. Output tokens are the text it writes back. Prices are in dollars per million tokens:

Prices by model, in dollars per million tokens
ModelInputOutput
large525
medium315
small15

These are this problem's prices. Real gaps between models are often wider.

R3. Levels

Levels run from 1 to 100.

3Need a Hint?

Hints are free in tutorials.

4chatbot.yaml
6 Runs the simulator in your browser, then the server checks it. Press Tab to move out of the editor; Ctrl+Enter runs.
5Your request layout
instructions300manual3,600question25–50model: large
9Something wrong with this problem?

Flag a Problem

Sign in to flag this problem. Reports help fix wording, checks and pages.

Sign In

Reports go to the site owner. Privacy

9Something wrong with this problem?

Flag a Problem

Sign in to flag this problem. Reports help fix wording, checks and pages.

Sign In

Reports go to the site owner. Privacy