Skip to content

Commit

Permalink
✨ Update example ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
asim-shrestha committed Sep 12, 2024
1 parent dd98447 commit 04ad796
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion bananalyzer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,8 @@ def main() -> int:

# Cap the number of workers to the number of examples
if isinstance(args.xdist_args.n, int):
args.xdist_args.n = min(len(examples), args.xdist_args.n)
count = min(args.count or 1, 1)
args.xdist_args.n = min(len(examples) * count, args.xdist_args.n)

# Load the desired tests
generator = PytestTestGenerator()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bananalyzer"
version = "0.10.3"
version = "0.10.4"


description = "Open source AI Agent evaluation framework for web tasks 🐒🍌"
Expand Down
16 changes: 8 additions & 8 deletions static/schemas.json
Original file line number Diff line number Diff line change
Expand Up @@ -818,23 +818,23 @@
}
},
"listing_education_contact": {
"email": {
"description": "The email address of the individual",
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"phone_number": {
"description": "Phone number of the individual within the school. Do not include irrelevant text.",
"type": "string"
},
"title": {
"description": "The title or role of the individual within the school",
"type": "string"
},
"email": {
"description": "The email address of the individual",
"type": "string"
},
"phone_number": {
"description": "Phone number of the individual within the school. Do not include irrelevant text.",
"type": "string"
}
},
"ecommerce": {
Expand Down

0 comments on commit 04ad796

Please sign in to comment.