Skip to content

evals: one trial of the slice component eval failed #278

Description

@angeloashmore

Problem

The agent is asked to create the React component for a Testimonial slice. One trial in the latest run failed. The two earlier runs passed all trials.

Eval

File: evals/render-content.eval.ts

  • writes a slice component

History

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

What the command trails show

The failed trial ran for 103 seconds. The agent read the Next.js doc and the slices doc, then ran gen slice-index.

--help
slice --help && echo "---" && npx prismic gen --help
docs list
slice view --help; echo "---"; npx prismic gen slice-index --help
slice create --help
docs view nextjs/with-slice-machine
gen types --help
docs view slices > /tmp/slices_doc.txt 2>&1; wc -l /tmp/slices_doc.txt; grep -n "filename=" /tmp/slices_doc.txt
gen setup --help
gen slice-index 2>&1

The trail does not show which assertion failed. The eval checks for a .tsx or .jsx file in slices/Testimonial/, for the three field names in the file, and for a judge verdict on Prismic conventions. This can be a one-time failure.

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