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
History
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.
Problem
The agent is asked to create the React component for a
Testimonialslice. One trial in the latest run failed. The two earlier runs passed all trials.Eval
File:
evals/render-content.eval.tswrites a slice componentHistory
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.The trail does not show which assertion failed. The eval checks for a
.tsxor.jsxfile inslices/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.