Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

feat: Update promptfoo eval command in Makefile

ZanzyTHEbarea7e5e816648
diff --git a/test/evals/promptfoo-poc/README.md b/test/evals/promptfoo-poc/README.md
index f08fd60b..cc69a9c8 100644
--- a/test/evals/promptfoo-poc/README.md
+++ b/test/evals/promptfoo-poc/README.md
@@ -20,7 +20,7 @@ To run or create evals, you will need to have the following installed:
To run the evaluations, you can cd into the relevant directory and use the following command:
```bash
-make evals
+make eval <name_of_eval_dir>
```
Or, you can run all the evaluations by running the following command:
diff --git a/test/evals/promptfoo-poc/fix/fix.prompt.txt b/test/evals/promptfoo-poc/fix/fix.prompt.txt
index 4667177c..1ca11aa7 100644
--- a/test/evals/promptfoo-poc/fix/fix.prompt.txt
+++ b/test/evals/promptfoo-poc/fix/fix.prompt.txt
@@ -84,12 +84,12 @@ You MUST ensure the line numbers for the 'old' property correctly remove *ALL* c
Example change object:
---
{
- summary: "Fix syntax error in loop body.",
- old: {
- startLineString: "pdx-5: for i := 0; i < 10; i++ { ",
- endLineString: "pdx-7: }",
+ "summary": "Fix syntax error in loop body.",
+ "old": {
+ "startLineString": "pdx-5: for i := 0; i < 10; i++ { ",
+ "endLineString": "pdx-7: }"
},
- new: "for i := 0; i < 10; i++ {\n execQuery()\n }\n }\n}",
+ "new": "for i := 0; i < 10; i++ {\n execQuery()\n }\n }\n}"
}
---