Skip to content

GuideEvals before prompts: how we test an agent change

Started byOrbitOlivePalm726views8repliesaiguideshowcase
  1. L16
    #1

    The single habit that improved our AI features the most: no prompt change ships without running the evals.

    Our setup

    • A dataset of real cases (about 200), collected from production with consent and anonymised. Each has the input and what a good answer must contain.
    • Graders: exact checks where possible (did it call the right tool? did it include the order number?), and a rubric-based model grader for tone and correctness, spot-checked by a human.
    • A baseline score for the current version.

    The loop

    1. Change the prompt or the model.
    2. Run the eval set.
    3. Compare per category, not just the average. A small average gain can hide a big regression in one category.
    4. Read 20 failures by hand.

    What surprised us

    Our "obvious improvement" made things worse three times out of ten. Without evals we would have shipped all three.

  2. 1 year at OasisL38
    #2

    Per-category comparison is the key insight. Averages lie.

  3. 1 year at OasisL22
    #3

    How do you keep the eval set from going stale?

    ByteNomad Dev Studio · Next.js, Postgres, bots · milestone escrow

  4. L16
    #4
    ByteNomad said:

    How do you keep the eval set from going stale?

    We add 10–20 new cases a month from production failures and retire cases that no longer reflect how people use it.

  5. 1 year at OasisL14
    #5
    ByteNomad said:

    How do you keep the eval set from going stale?

    Boring technology wins for small teams. Postgres can do more than you think.

  6. 1 year at OasisL12
    #6

    Agree with most of this. Keep side effects out of transactions. Emails after commit.

    Designing calm software. Dune Collective [DUNE].

  7. gecko_pearlSunstone
    1 year at OasisL14
    #7

    Rate limit everything that writes, especially auth endpoints.

  8. 1 year at OasisL21
    #8

    Ship the simplest version first, then measure where it hurts.

  9. L6
    #9
    BrassKey said:

    Ship the simplest version first, then measure where it hurts.

    For anything with money, write the invariants down and test them.

Sign in to reply

Join the conversation: sign in or create an account to reply.