WebsiteBench / tasks /freshdirect /tests /opencli /interactions-runner.json
AgPerry's picture
Add files using upload-large-folder tool
34be7eb verified
Raw History Blame Contribute Delete
4.05 kB
{
"commands": [
{
"command": "state",
"id": "main-search",
"intent": "Exercise clone check main.search (GET /search).",
"route": "search",
"selector": ""
},
{
"command": "state",
"id": "main-favorites",
"intent": "Exercise clone check main.favorites (GET /favorites).",
"route": "favorites",
"selector": ""
},
{
"command": "state",
"id": "main-cart",
"intent": "Exercise clone check main.cart (GET /cart).",
"route": "cart",
"selector": ""
},
{
"command": "state",
"id": "main-checkout",
"intent": "Exercise clone check main.checkout (GET /checkout).",
"route": "checkout",
"selector": ""
},
{
"command": "state",
"id": "main-signin",
"intent": "Exercise clone check main.signin (GET /signin).",
"route": "signin",
"selector": ""
}
],
"contract": {
"network": {
"allowlist": [
"127.0.0.1",
"localhost"
],
"notes": "Only local verifier/candidate hostnames are expected."
},
"opencli_version": "1.8.6",
"schema": "websitebench.harbor.opencli-interaction-contract"
},
"failure_paths": [],
"fixtures": {
"contract_root": "/tests/opencli",
"verifier_root": "/tests/fixtures/site"
},
"instance_id": "freshdirect",
"profile": {
"failure_paths": [],
"label": "freshdirect main (derived draft)",
"local_semantics": [
"Every candidate runtime request remains on loopback and every state-changing action has zero production remote effects.",
"The deterministic 240-product catalog supports department browse, search, dietary filtering, sorting, deals, SNAP, detail pages, and truthful empty states.",
"Unavailable items cannot be added; Express uses a smaller deterministic assortment than Standard; valid quantity and substitution choices persist in the…"
],
"network": {
"allowlist": [
"127.0.0.1",
"localhost"
],
"notes": "Only local verifier/candidate hostnames are expected."
},
"recovery_paths": [],
"steps": [
{
"command": "state",
"id": "main-search",
"intent": "Exercise clone check main.search (GET /search).",
"observation_id": "freshdirect_main_search",
"required_state": {
"list_contains": "All groceries | FreshDirect"
},
"route": "search"
},
{
"command": "state",
"id": "main-favorites",
"intent": "Exercise clone check main.favorites (GET /favorites).",
"observation_id": "freshdirect_main_favorites",
"required_state": {
"list_contains": "Shopping Lists | FreshDirect"
},
"route": "favorites"
},
{
"command": "state",
"id": "main-cart",
"intent": "Exercise clone check main.cart (GET /cart).",
"observation_id": "freshdirect_main_cart",
"required_state": {
"visible": "Your cart | FreshDirect"
},
"route": "cart"
},
{
"command": "state",
"id": "main-checkout",
"intent": "Exercise clone check main.checkout (GET /checkout).",
"observation_id": "freshdirect_main_checkout",
"required_state": {
"visible": "Checkout review | FreshDirect"
},
"route": "checkout"
},
{
"command": "state",
"id": "main-signin",
"intent": "Exercise clone check main.signin (GET /signin).",
"observation_id": "freshdirect_main_signin",
"required_state": {
"visible": "Your bag (0)"
},
"route": "signin"
}
],
"tier": "p1"
},
"profile_id": "main",
"recovery_paths": [],
"result_binding": {
"candidate": "/run/verifier-final/opencli/candidate.json",
"reference": "/run/verifier-final/opencli/reference.json"
},
"schema": "websitebench.harbor.opencli.interactions-runner",
"site_id": "freshdirect"
}