Skip to content

Commit

Permalink
back to ===
Browse files Browse the repository at this point in the history
  • Loading branch information
navidkpr committed Oct 3, 2024
1 parent 312c0fa commit 855477e
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 @@ -155,7 +155,7 @@ const extract_collaborators_from_github_repository = async () => {

console.log("Extracted collaborators:", contributors);
await stagehand.context.close();
return contributors.length >= 20;
return contributors.length === 20;
} catch (error) {
console.error("Error or timeout occurred:", error);
await stagehand.context.close();
Expand Down Expand Up @@ -192,7 +192,7 @@ const extract_last_twenty_github_commits = async () => {

console.log("Extracted commits:", commits);
await stagehand.context.close();
return commits.length >= 20;
return commits.length === 20;
} catch (error) {
console.error("Error or timeout occurred:", error);
await stagehand.context.close();
Expand Down

0 comments on commit 855477e

Please sign in to comment.