11  The untuned baseline

You will learn:

Fine-tuning will be judged by what it adds to the model we start from, so before training anything we measure what Qwen3-4B-Instruct-2507 already does on ConvFinQA. The comparison is only worth making if the baseline is a fair one. A weak prompt would make any later improvement look bigger than it is. So the untuned model gets the best help we can give it without changing its weights: a description of the DSL, and complete example conversations written into the prompt (Brown et al. 2020).

11.1 What we measure

For every turn of a conversation, the model reads a prompt and writes a program. Our executor runs the program, and the result is compared with the gold answer: this is execution accuracy, and an output that does not run counts as wrong. The prompt for turn \(k\) ends with question \(k\), and what comes before it depends on how the earlier answers are supplied (Chapter 10):

  • with the gold history, every earlier answer in the prompt is the dataset’s own program, so each turn is scored on its own;
  • with the predicted history, they are the model’s own earlier outputs, mistakes included, and errors compound from turn to turn. This is the setting a real user would meet, and the one we treat as the headline.

Chapter 6 explained why the two differ: teacher forcing, and exposure bias.

11.2 What to expect

The ConvFinQA paper found that an unfamiliar program syntax hurt GPT-3 (Chen et al. 2022), and in Chapter 7 the untuned model’s errors were mostly failures of format: prose, or arithmetic in other notations, instead of a program. So a good part of what the examples and the description can fix is the format. Choosing the right operation and numbers is the other part, and it is the one we expect fine-tuning to have to teach.

11.3 How the experiment is organised

  • Prompts. A prompt holds the system message, then the example set (complete training conversations, written as earlier turns of the chat), then the target conversation up to the current question. The system message is a single line, or the same line plus a compact description of the DSL and the rule that an answer is a program and nothing else, or that plus a rule against nested calls.
  • Example sets. Which examples are used changes the result, and an untuned model has no training seed to vary, so the examples play that part. An example set is fixed by its seed alone, so the same seed gives the same examples whichever data we evaluate on. Three sets are prepared, and the reported baseline uses the first (seed 0): one run, with the uncertainty of its accuracy taken from the paired bootstrap, which covers the choice of report pages and not the choice of examples.
  • Choosing the prompt. The variants we try (how many examples, with or without the description, and none at all) are listed in advance (one more was added after the first results, and is flagged), and the choice between them is made on the validation data. The development data are touched only for the numbers the book reports, once, with the prompt already chosen.
  • Scoring. Generation and scoring are separate steps, so the measures can be refined without generating again. This chapter uses execution accuracy, and counts how the invalid outputs fail; the other measures are introduced later, where they are used.

11.4 The experiment, exactly

11.4.1 The prompt

Figure 11.1 shows one prompt, and the three runs that the example sets make.

Left: a row of boxes. A grey system message box, two blue example conversation boxes, a yellow box for the target conversation up to question k, and a dashed green box where the model writes answer k. A bracket marks the first three as fixed for the whole run and the yellow box as changing with every turn. Right: one blue box for set 1, with an arrow to a box for a pass over every turn of the split, and an arrow to its accuracy.
Figure 11.1: The baseline’s prompt (left) and its runs (right). The system message and the examples are the same in every prompt of a run, and the target conversation changes with every turn. Each run uses one example set; the reported baseline is one run.

The system message has three forms. The plain one is the line the models are trained with, Answer with a program in the ConvFinQA DSL. The second adds a description of the language and the rule that the answer is the program and nothing else. Its text is fixed now, and is not tuned on the validation data:

Answer with a program in the ConvFinQA DSL, and write nothing else: no explanation and no code block.

A program is a single number, or a list of steps separated by ", ":
    operation(argument, argument)
The operations are add, subtract, multiply, divide, exp and greater (greater gives yes or no).
An argument is one of:
    a number copied from the page, without thousands separators (a percentage keeps its % sign);
    #k, the result of step k, counting steps from 0;
    a constant: const_1 to const_9, const_10, const_100 and so on up to const_1000000000, or const_m1 for -1.

The third form, flat, was added after the first six variants had been run, because their errors showed a pattern (see the results below). It is the description plus one rule, with a made-up example of the contrast:

Each step holds exactly one operation, and an argument is never another operation: write every calculation as a step
of its own and refer back to it with #k. For example, write "subtract(5, 3), divide(#0, 3)", never
"divide(subtract(5, 3), 3)".

The examples are 2 or 3 complete conversations from train-fit, written as earlier turns of the chat, as in Chapter 10. A set of examples is built from a seeded shuffle of train-fit, position by position: a Type I conversation, then a Type II one, then another Type I. A set therefore holds exactly one Type II conversation, and the two-example prompt (the first two) shows one of each kind; it is a prefix of the three-example one. The seeds are 0, 1 and 2, fixed in advance, and no two examples, in a set or between sets, come from the same report page (several conversations are written from one page, so two of them would show the same table twice). The sets are saved, as lists of conversation ids, so that a run can be checked against them.

11.4.2 The variants, and the choice

Seven prompts were compared on the validation data. Those with examples use the first example set (seed 0), taking its first two or three examples as indicated; those with no examples have no set. Each prompt is a single run. Sets 1 and 2 were prepared for the reported runs on the development data and are not used: the freeze limits those runs to set 0.

one-line system message with the description description and the flat rule
no examples e0p e0d
2 examples e2p e2d
3 examples e3p e3d e3f (added afterwards)

e3f is post-hoc: it was thought of after reading the errors of the six, so it is flagged as such wherever it appears, and the other prompts of its kind (e0f, e2f) are not run.

The seven prompts are scored with the predicted history, the headline setting. One of them becomes the untuned baseline: the prompt that is run on the development data and that the fine-tuned models are compared with. It is chosen on the validation data by a rule that was written down before the first six were run, and applied unchanged to the seventh:

  1. find the variant with the highest execution accuracy;
  2. keep every variant that it does not clearly beat, that is, whose paired bootstrap interval for the best variant’s lead includes zero (the best variant itself is always kept);
  3. among those, take the one with the fewest examples, and then the plain system message before the description.

Only clear differences count: the rule works on the paired intervals, which are narrower than the intervals of the accuracies themselves (the table below shows how wide those are).

11.4.3 The runs that are reported

The chosen variant is then run on the development data, once, after the decisions of the project are frozen: with the first example set, in each of the two history modes. Both modes are scored on the same predictions of the same prompts, which differ only in how the earlier answers are filled in.

One more prompt is run on the development data whatever the choice: e0p, the one-line message with no examples. It is exactly what the fine-tuned model will be given, so comparing the two shows what the training changed, with the input held fixed. It plays no part in the choice of the baseline.

Figure 11.2 shows the difference between the two modes in how the runs are organised.

Two grids of turn boxes for four conversations with four, two, three and one turns. Left, gold history: all ten boxes are inside one dashed frame, since every turn is independent. Right, predicted history: boxes are grouped in four dashed frames, rounds 1 to 4, one per turn index; arrows join each box to the next turn of the same conversation.
Figure 11.2: The two history modes on four conversations of one to four turns. With the gold history, every turn is its own prompt, and all ten can be built in advance and run in any order. With the predicted history, a round asks every conversation that has reached turn k, and the model’s answers to earlier turns enter the prompts of the next round.

11.4.4 Generation

Code
import json
from pathlib import Path

from transformers import AutoTokenizer

from convfinqa import data
from convfinqa.artifacts import get

max_new = json.loads(Path("../configs/baseline.json").read_text())["max_new_tokens"]
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
split = get("train_val_split")
gold_longest = max(
    len(tok(t.program).input_ids)
    for name in ("train_fit.jsonl", "val.jsonl")
    for c in split.jsonl(name)
    for t in data.turns(c)
)
assert max_new >= 1.5 * gold_longest  # clearly above, so no program is cut

Decoding is greedy and stops at the end-of-turn token or after 96 new tokens, which is above the longest gold program (64 tokens, over train-fit and validation). Prompts are run one at a time: with prompts this long the model spends its time reading, so batching gains little, and a prompt’s output then cannot depend on which other prompts share its batch (bf16 results change slightly with the batch). An output that reaches the limit is scored as written. Every prediction is stored with the conversation id, the turn, the text, the number of tokens and why generation stopped, and scoring reads these files, so the measures can change without generating again.

11.4.5 Scoring

The measure is execution accuracy: the executor of Chapter 3 runs the output, and the result is compared with the gold answer. An output that does not run counts as wrong. Alongside it we count the invalid outputs by cause, with the kinds of Chapter 7, and the ones that write a calculation as a nested call. More measures (how closely the program matches the gold one, how numbers are written, answers off by a power of ten, accuracy by turn and by conversation type) are defined in the chapter that evaluates the fine-tuned models, where they are used on every system at once. The stored predictions are enough to compute them for the baseline without generating again.

11.5 The code

Three artifacts carry the experiment. example_sets is light: it draws the sets from the ids of train-fit, and is saved so that nothing depends on how the random draw behaves in a later version of Python. The two others are named by the split, the prompt variant, the example-set seed and the history mode. untuned_{split}_{variant}_{seed}_{mode} loads the model and writes one prediction per turn; its development on dev is refused until a configs/FROZEN file exists, which is how the freeze of the data protocol is enforced. scores_untuned_… is light: it executes and scores the predictions.

Code
from convfinqa.artifacts import artifact, get


@artifact(
    "untuned_{split}_{variant}_{seed}_{mode}",
    deps=["train_val_split", "eval_turns", "example_sets"],
    files=["configs/baseline.json"],
    heavy=True,
)
def build_untuned(
    out, deps, files, *, split: str, variant: str, seed: int, mode: str
):
    import json
    import time

    from convfinqa.evaluate import (
        load_model, make_generator, require_freeze, run_generation
    )
    from convfinqa.prompts import parse_variant

    require_freeze(split)
    cfg = files["configs/baseline.json"].json()
    n_examples, kind = parse_variant(variant)
    if n_examples == 0 and seed != 0:
        raise ValueError(
            "a variant with no examples has no example set: use seed 0"
        )
    if split == "val":
        convs = list(deps["train_val_split"].jsonl("val.jsonl"))
    elif split == "dev":
        convs = list(deps["eval_turns"].jsonl("dev.jsonl"))
    else:
        raise ValueError(f"split must be 'val' or 'dev', not {split!r}")
    examples = []
    if n_examples:
        wanted = deps["example_sets"].json("sets.json")\
            ["sets"][str(seed)][:n_examples]
        pool = {
            c["id"]: c
            for c in deps["train_val_split"].jsonl("train_fit.jsonl")
        }
        examples = [pool[i] for i in wanted]

    model, tok = load_model(cfg["model"], cfg["memory_cap_gb"])
    generate = make_generator(model, tok, cfg["max_new_tokens"])
    start, done = time.perf_counter(), 0
    with open(out / "predictions.jsonl", "w") as f:
        def sink(row):
            nonlocal done
            f.write(json.dumps({
                k: v for k, v in row.items() if k != "seconds"
            }) + "\n")   # timing is not an output
            f.flush()
            done += 1
            if done % 50 == 0:
                print(
                    f"{done} turns, {time.perf_counter() - start:.0f} s",
                    flush=True
                )

        run_generation(
            convs, generate, system=cfg["system"][kind],
            examples=examples, mode=mode, sink=sink
        )
    print(f"done: {done} turns in {time.perf_counter() - start:.0f} s")


@artifact(
    "scores_untuned_{split}_{variant}_{seed}_{mode}",
    deps=["untuned_{split}_{variant}_{seed}_{mode}", "eval_turns"],
)
def build_scores_untuned(
    out, deps, *, split: str, variant: str, seed: int, mode: str
):
    import json

    from convfinqa.evaluate import score_rows, summarize
    from convfinqa.program_match import add_program_match

    rows = list(
        deps[f"untuned_{split}_{variant}_{seed}_{mode}"]
        .jsonl("predictions.jsonl")
    )
    turns = list(deps["eval_turns"].jsonl(f"{split}_turns.jsonl"))
    scores = add_program_match(score_rows(rows, turns), rows, turns)
    (out / "scores.jsonl").write_text(
        "".join(json.dumps(s) + "\n" for s in scores)
    )
    (out / "summary.json").write_text(
        json.dumps(summarize(scores), indent=2)
    )

The sets drawn from the pool, with the size of the prompt each would make (the example conversations alone, before the target conversation is added):

Code
import json

import pandas as pd
from transformers import AutoTokenizer

from convfinqa import data
from convfinqa.formatting import conversation_messages

sets = get("example_sets").json("sets.json")["sets"]
fit = {c["id"]: c for c in get("train_val_split").jsonl("train_fit.jsonl")}
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
assert len({i for ids in sets.values() for i in ids})\
     == sum(len(ids) for ids in sets.values())   # no shared conversation

def tokens(conv):
    chat = conversation_messages(conv)[1:]
    return len(
        tok(
            tok.apply_chat_template(chat, tokenize=False),
            add_special_tokens=False
        )["input_ids"]
    )

pd.DataFrame([
    {
        "set": seed,
        "position": n + 1,
        "conversation": i,
        "type": data.conversation_type(fit[i]),
        "turns": len(data.turns(fit[i])),
        "tokens": tokens(fit[i])
    }
    for seed, ids in sets.items() for n, i in enumerate(ids)
]).set_index(["set", "position"])
conversation type turns tokens
set position
0 1 Single_UNP/2008/page_71.pdf-1 I 4 950
2 Double_HOLX/2006/page_102.pdf II 2 833
3 Single_TFX/2014/page_74.pdf-1 I 5 1614
1 1 Single_RE/2010/page_42.pdf-4 I 4 884
2 Double_FBHS/2017/page_48.pdf II 2 1269
3 Single_CE/2014/page_16.pdf-1 I 2 1051
2 1 Single_NWS/2016/page_148.pdf-1 I 3 1093
2 Double_UNP/2013/page_14.pdf II 2 406
3 Single_ABMD/2006/page_62.pdf-2 I 4 769

11.6 Choosing the prompt

The seven prompts, on the validation data, with the predicted history. Each accuracy comes with a 95% confidence interval, found by resampling whole report pages, with every conversation written from them (not single turns: the turns of one conversation, and the conversations written from one page, are not independent). The scores are read from the prediction files.

Code
#HEAVY
import pandas as pd

from convfinqa.baseline_report import choose_variant, comparison_rows
from convfinqa.prompts import VARIANTS
from convfinqa.stats import paired_difference

scores = {
    v: list(get(f"scores_untuned_val_{v}_0_pred").jsonl("scores.jsonl"))
    for v in VARIANTS
}
predictions = {
    v: list(get(f"untuned_val_{v}_0_pred").jsonl("predictions.jsonl"))
    for v in VARIANTS
}
rows = {r["variant"]: r for r in comparison_rows(scores, predictions)}
pct = lambda x: f"{100 * x:.1f}%"
pts = lambda x: f"{100 * x:+.1f}"
diff = lambda a, b: paired_difference(scores[a], scores[b])

pd.DataFrame([
    {
        "variant": v + (" (post-hoc)" if v.endswith("f") else ""),
        "execution accuracy":
            f"{pct(r['accuracy'])} [{pct(r['low'])}, {pct(r['high'])}]",
        "invalid outputs": r["invalid"],
        "of which nested": f"{r['nested']} ({r['nested_share']:.0%})",
        "prompt tokens": f"{r['prompt_tokens']:.0f}",
    }
    for v, r in rows.items()
]).set_index("variant")
[artifacts] building untuned_val_e0d_0_pred in a subprocess (log: /home/yinchi/git_projects/fine-tuning-lab-final/artifacts/untuned_val_e0d_0_pred.tmp/build.log)
[artifacts] built untuned_val_e0d_0_pred in 1346s
[artifacts] building untuned_val_e2p_0_pred in a subprocess (log: /home/yinchi/git_projects/fine-tuning-lab-final/artifacts/untuned_val_e2p_0_pred.tmp/build.log)
[artifacts] built untuned_val_e2p_0_pred in 1592s
[artifacts] building untuned_val_e2d_0_pred in a subprocess (log: /home/yinchi/git_projects/fine-tuning-lab-final/artifacts/untuned_val_e2d_0_pred.tmp/build.log)
[artifacts] built untuned_val_e2d_0_pred in 1572s
[artifacts] building untuned_val_e3f_0_pred in a subprocess (log: /home/yinchi/git_projects/fine-tuning-lab-final/artifacts/untuned_val_e3f_0_pred.tmp/build.log)
[artifacts] built untuned_val_e3f_0_pred in 2135s
execution accuracy invalid outputs of which nested prompt tokens
variant
e0p 0.3% [0.0%, 0.7%] 1116 65 (6%) 1132
e0d 24.0% [20.8%, 27.1%] 758 209 (28%) 1221
e2p 52.8% [48.6%, 56.8%] 272 199 (73%) 2851
e2d 51.5% [47.4%, 55.3%] 266 231 (87%) 2995
e3p 57.2% [53.1%, 61.2%] 184 98 (53%) 4466
e3d 55.3% [51.1%, 59.3%] 192 142 (74%) 4609
e3f (post-hoc) 56.8% [52.5%, 60.9%] 169 138 (82%) 4675
Code
#HEAVY
widths = [
    100 * (r["high"] - r["low"])
    for v, r in rows.items()
    if not v.startswith("e0")
]

# the intervals of the accuracies are wide, in the same range
# for every prompt with examples
assert max(widths) < 10

With examples, the confidence interval of each accuracy is 8 to 8 percentage points wide, so two prompts whose accuracies differ by a point or two cannot be told apart from the two intervals alone. The comparison between prompts is paired (both are scored on the same conversations), which is why it can resolve smaller differences, as the rule of Section 11.4.2 does.

The rule defined in Section 11.4.2 is applied in code, not by eye:

Code
#HEAVY
choice = choose_variant(scores)
best, chosen = choice["best"], choice["chosen"]
assert chosen == "e3p"   # the prose below describes this outcome

The best accuracy is e3p’s, at 57.2%. Table 11.1 shows its lead over each other variant, as a difference in accuracy with its paired confidence interval. The variants that it does not clearly beat (the interval includes zero) are e3p, e3d, e3f, so the rule picks e3p: among equals, the plain message.

Code
#HEAVY
leads = pd.DataFrame([
    {
        "variant": v + (" (post-hoc)" if v.endswith("f") else ""),
        "lead": pts(d["difference"]),
        "95% interval": f"[{pts(d['low'])}, {pts(d['high'])}]",
        "clear": "yes" if d["excludes_zero"] else "no",
    }
    for v, d in choice["leads"].items()
]).set_index("variant")
leads
Table 11.1: Lead of the best variant over each other variant, in percentage points of execution accuracy (paired bootstrap, 95% confidence interval). A lead is clear when its interval excludes zero.
lead 95% interval clear
variant
e0p +56.9 [+52.8, +60.9] yes
e0d +33.2 [+29.4, +36.9] yes
e2p +4.4 [+1.6, +7.1] yes
e2d +5.7 [+3.0, +8.4] yes
e3d +1.9 [-0.1, +3.9] no
e3f (post-hoc) +0.4 [-1.9, +2.6] no
Code
#HEAVY
half = [
    100 * (d["high"] - d["low"]) / 2
    for v, d in choice["leads"].items()
    if not v.startswith("e0")
]

# a paired interval is narrower than that of an accuracy
assert max(half) < 4 and min(half) > 1

overlap = [
    v for v, d in choice["leads"].items()
    if d["excludes_zero"] and rows[v]["high"] > rows[best]["low"]
]

# some leads are clear although the two accuracy intervals overlap
assert overlap

The paired intervals are narrower than the intervals of the accuracies in the table above: their half-width is 2.0 to 2.7 points for the prompts with examples. That is why a lead of a few points can be clear here when the two accuracy intervals overlap.

NoteUnder the hood: why pair, and why resample pages

Two prompts scored on the same turns tend to get the same turns right: the easy ones, both; the hard ones, neither. The variance of a difference is \(\mathrm{Var}(A) + \mathrm{Var}(B) - 2\,\mathrm{Cov}(A, B)\), so this shared difficulty (a positive covariance) cancels in the paired difference. It is narrower than the intervals of the two accuracies once the correlation exceeds one half (for equally noisy estimates), and narrower than a comparison of independent estimates for any positive correlation.

The usual paired test, a paired \(t\)-test (scipy.stats.ttest_rel), takes this into account, but it treats every turn as an independent item. Turns of one conversation share a page, the same examples and each other’s answers, and several conversations are written from one page and share its table, so the turns are not independent, and the test’s interval is too narrow. The bootstrap here resamples whole pages, with all the conversations written from them, which keeps all of these correlations. For the two closest prompts of the table above:

Code
#HEAVY
from convfinqa.baseline_report import turn_level_paired

per_turn = turn_level_paired(scores["e3p"], scores["e3d"])
per_page = diff("e3p", "e3d")
half_page = (per_page["high"] - per_page["low"]) / 2

# ignoring the pages makes the interval too narrow, and here
# changes what it says about zero
assert per_turn["half_width"] < half_page
assert per_turn["excludes_zero"] and not per_page["excludes_zero"]

Treating turns as independent gives an interval of ±1.6 points for the lead of e3p over e3d (+0.3 to +3.5), which excludes zero. Resampling pages gives ±2.0 (-0.1 to +3.9), which does not. The selection rule uses the second.

11.6.1 What the variants show

Three things in the table are worth a closer look, and each is checked against the data before the sentence that states it is allowed to print.

Code
#HEAVY
zero_shot = diff("e0d", "e0p")
two = diff("e2d", "e2p")
three = diff("e3d", "e3p")
third_example = diff("e3p", "e2p")

# no examples, one line: it fails
assert rows["e0p"]["accuracy"] < 0.05

assert zero_shot["excludes_zero"] and zero_shot["difference"] > 0

# with examples the description does not help
assert two["difference"] <= 0 and three["difference"] <= 0
assert third_example["excludes_zero"] and third_example["difference"] > 0

The asserts in that cell hold, so the three findings can be stated:

  1. Without examples, the one-line message fails almost completely (0.3% correct): Qwen3-4B-Instruct-2507 answers in prose or wraps its answer in a code block. The description changes that, to 24.0%, because it states what an answer looks like.

  2. With examples, the description no longer helps: with two examples it is -1.3 points against the plain message, and with three -1.9. The examples already show the format, so the description has nothing to add. A third example is worth +4.4 points over the second.

  3. Nested calls are the largest group of invalid outputs once there are examples. The DSL writes a calculation as flat steps, subtract(5, 3), divide(#0, 3), and a model that has seen other programming languages often writes it as one expression, divide(subtract(5, 3), 3), which does not run. The cell below prints three such outputs.

Code
#HEAVY
from convfinqa.baseline_report import has_nested_call

example_variants = [v for v in VARIANTS if not v.startswith("e0")]

# most invalid outputs nest
assert all(rows[v]["nested_share"] > 0.5 for v in example_variants)

# and the description makes it worse
assert rows["e3d"]["nested_share"] > rows["e3p"]["nested_share"]

invalid = {
    (s["id"], s["turn"])
    for s in scores["e3p"]
    if s["kind"] not in {
        "correct", "wrong_operations", "wrong_numbers", "wrong_answer"
    }
}

shown = sorted(
    (
        r for r in predictions["e3p"]
        if (r["id"], r["turn"]) in invalid
        and has_nested_call(r["output"])
    ),
    key=lambda r: (r["id"], r["turn"]),
)[:3]
print("\n".join(r["output"] for r in shown))
divide(subtract(0.29, 0.25), 0.25), multiply(#0, 100)
divide(subtract(331.43, 100.00), 100.00), multiply(#0, 100)
divide(subtract(1651, 1127), 1651)

With examples, more than half of the invalid outputs of every prompt nest (53.3% for the chosen one), and the description raises that share (74.0% with three examples). The description tells the model that an argument is a number, a result #k or a constant, and it reads that as a grammar in which an argument can be an expression.

11.6.2 Telling the model not to nest

That pattern suggested the obvious fix: instruct the model not to nest in the prompt. The post-hoc variant e3f adds the no-nesting rule (shown with the system messages earlier) to the description. It is the same as e3d in every other respect, so the comparison with it isolates the rule.

Code
#HEAVY
flat_vs_d, flat_vs_p = diff("e3f", "e3d"), diff("e3f", "e3p")

# the rule recovers part of the description's cost
assert flat_vs_d["difference"] > 0

# but not clearly more than the plain prompt had
assert not flat_vs_p["excludes_zero"]

# and it does not stop the nesting
assert rows["e3f"]["nested"] > 0.9 * rows["e3d"]["nested"]

assert rows["e3f"]["nested_share"] > 0.5

The rule helps a little: e3f is +1.5 points over e3d (+0.2 to +2.9), as syntax errors and bad numbers fall. But it does not stop the nesting: e3f has 138 invalid outputs that nest, against 142 for e3d, so nested calls are now 82% of what is left. And it is not clearly better than the plain prompt (0.4 points below it, with an interval that includes zero).

An instruction in the prompt is a request, and with several programs in front of it the model follows what it has seen more than what it was told. This is a point about what a prompt can do, and it matters for the question that comes back when the fine-tuned model is compared with this baseline: how much of the distance to a fine-tuned model can be crossed with a better prompt.