From 67fa3dc3228fafad274fd752fac89ca242cb67ca Mon Sep 17 00:00:00 2001 From: asim-shrestha Date: Wed, 16 Oct 2024 19:21:15 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=84=20Fix=20playwright=20versioning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bananalyzer/data/schemas.py | 2 +- pyproject.toml | 2 +- static/examples.json | 20 ++++++++------------ 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/bananalyzer/data/schemas.py b/bananalyzer/data/schemas.py index 3b97119..ac439a9 100644 --- a/bananalyzer/data/schemas.py +++ b/bananalyzer/data/schemas.py @@ -115,7 +115,7 @@ def handle_json_match(self, result: AllowedJSON, field: Optional[str]) -> None: class Example(BaseModel): id: str - url: str + url: str | None resource_path: Optional[str] = Field( description="Local path of a HAR, S3 URL of a HAR directory's tar.gz, or remote URL of MHTML", default=None, diff --git a/pyproject.toml b/pyproject.toml index fe73ff5..206eb7b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bananalyzer" -version = "0.10.10" +version = "0.10.11" description = "Open source AI Agent evaluation framework for web tasks 🐒🍌" diff --git a/static/examples.json b/static/examples.json index da5c16b..b21604e 100644 --- a/static/examples.json +++ b/static/examples.json @@ -37140,13 +37140,11 @@ "evals": [ { "type": "json_match", - "expected": [ - { - "address": "1295 Bandana Boulevard West, Suite 310 & 210, St. Paul, MN 55108", - "phone": "651-645-5323", - "fax": "651-621-8490" - } - ] + "expected": { + "address": "1295 Bandana Boulevard West, Suite 310 & 210, St. Paul, MN 55108", + "phone": "651-645-5323", + "fax": "651-621-8490" + } } ] }, @@ -37171,11 +37169,9 @@ "evals": [ { "type": "json_match", - "expected": [ - { - "fax": "404-252-1196" - } - ] + "expected": { + "fax": "404-252-1196" + } } ] }