Skip to content

evals: agent does not model a title as single-heading rich text #275

Description

@angeloashmore

Problem

The agent is asked to add a title and a Bluesky handle to a blog_post type. The agent adds the title as key text, or as rich text with no single-heading limit. Prismic convention is rich text limited to one heading.

Eval

File: evals/design-sensible-models.eval.ts

  • models a title as single-heading rich text and a social media handle as key text

History

d5ab9bd (#260) 02318e8 (#263) 8a1a04a (#269)
1/3 0/3 1/3

What the command trails show

In five of six recorded failures the agent reads only field add text --help. It does not read field add rich-text --help. Then it adds the title with field add text. One trial adds field add rich-text title with no --single or --allow flag.

Example trail:

--help
type --help && echo ---- && npx prismic field --help
type create --help && echo ---- && npx prismic field add --help
field add text --help
type create "Blog Post" --format page --id blog_post
field add text title --to-type blog_post --label "Title" && npx prismic field add text author_bluesky_handle --to-type blog_post --label "Author Bluesky Handle" --placeholder "e.g. @handle.bsky.social"
type view blog_post

The Bluesky handle passes in every trial. In the blog post eval (models a page type with sensible field types) the same model adds the title with --allow heading1 --single in every trial. The convention is known to the model but is not applied when the prompt only says "title".

Done when

This issue is not fixed until the eval passes 3/3 in a recorded eval run. A partial pass rate is not a fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions