Skip to content

Commit

Permalink
remove costar + more reliable output checking
Browse files Browse the repository at this point in the history
  • Loading branch information
navidkpr committed Oct 3, 2024
1 parent 4e583d8 commit 312c0fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evals/index.eval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ const exactMatch = (args: { input; output; expected? }) => {

return {
name: "Exact match",
score: Boolean(args.output) ? 1 : 0,
score: args.output === true || args.output?.success == true,
};
};

Expand All @@ -388,7 +388,7 @@ const testcases = [
{ input: { name: "simple_google_search" } },
{ input: { name: "extract_collaborators_from_github_repository" } },
{ input: { name: "extract_last_twenty_github_commits" } },
{ input: { name: "costar" } },
// { input: { name: "costar" } },
{ input: { name: "google_jobs" } },
...chosenBananalyzerEvals.map((evalItem: any) => ({
input: {
Expand Down

0 comments on commit 312c0fa

Please sign in to comment.