Download tasks/amazon/tests/oracle-runtime/backend/runtime.json from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 3.94 kB
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/amazon/tests/oracle-runtime/backend/runtime.json
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/amazon/tests/oracle-runtime/backend/runtime.json
-
curl -L -o runtime.json https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/amazon/tests/oracle-runtime/backend/runtime.json
3.94 kB
| { | |
| "database": { | |
| "data_dir": "data", | |
| "engine": "sqlite", | |
| "filename": "amazon.sqlite3", | |
| "legacy_unbound_migration": false, | |
| "migration_hook": null, | |
| "seed_hook": null, | |
| "volume_identity": "websitebench-amazon-data" | |
| }, | |
| "deployment": { | |
| "profiles": { | |
| "cloudflare-review": { | |
| "mail_adapter": "redis-resend", | |
| "payment_adapter": "stripe-test", | |
| "persistence": "ephemeral-reset" | |
| }, | |
| "docker-volume": { | |
| "mail_adapter": "effects-gateway", | |
| "payment_adapter": "stripe-test", | |
| "persistence": "persistent-volume" | |
| }, | |
| "offline-harbor": { | |
| "mail_adapter": "local-outbox", | |
| "payment_adapter": "local-sandbox", | |
| "persistence": "persistent" | |
| } | |
| } | |
| }, | |
| "mail": { | |
| "enabled": true, | |
| "purposes": { | |
| "order-receipt": { | |
| "body": "Order ${order_id} totals ${total}.", | |
| "expiry": "No real payment or shipment occurred.", | |
| "footer": "This receipt belongs only to your Amazon Clone account.", | |
| "lead": "Your simulated Amazon Clone order was placed.", | |
| "required_variables": [ | |
| "order_id", | |
| "total" | |
| ], | |
| "secret_variables": [], | |
| "subject": "Amazon Clone order ${order_id}", | |
| "template_id": "amazon.order-receipt.v1" | |
| }, | |
| "password-reset": { | |
| "body": "Your Amazon Clone password reset code is ${code}.", | |
| "expiry": "This code expires in ${minutes} minutes.", | |
| "footer": "Ignore this message if you did not request an Amazon Clone password reset.", | |
| "lead": "A password reset was requested for your Amazon Clone account.", | |
| "required_variables": [ | |
| "code", | |
| "minutes" | |
| ], | |
| "secret_variables": [ | |
| "code" | |
| ], | |
| "subject": "Reset your Amazon Clone password", | |
| "template_id": "amazon.password-reset.v1" | |
| }, | |
| "registration": { | |
| "body": "Your Amazon Clone verification code is ${code}.", | |
| "expiry": "This code expires in ${minutes} minutes.", | |
| "footer": "Only use this code on the Amazon Clone registration page.", | |
| "lead": "Finish creating your Amazon Clone shopping account.", | |
| "required_variables": [ | |
| "code", | |
| "minutes" | |
| ], | |
| "secret_variables": [ | |
| "code" | |
| ], | |
| "subject": "Verify your Amazon Clone account", | |
| "template_id": "amazon.registration.v1" | |
| } | |
| }, | |
| "sender": { | |
| "address_env": "RESEND_FROM_EMAIL", | |
| "display_name": "Amazon Clone Security" | |
| } | |
| }, | |
| "payments": { | |
| "currency": "USD", | |
| "default_adapter": "local-sandbox", | |
| "enabled": true, | |
| "local_sandbox": { | |
| "scenarios": [ | |
| { | |
| "display_label": "Simulated card approval", | |
| "id": "sandbox-card-approved", | |
| "outcome": "approved" | |
| }, | |
| { | |
| "display_label": "Simulated issuer decline", | |
| "id": "sandbox-card-declined", | |
| "outcome": "declined" | |
| }, | |
| { | |
| "display_label": "Simulated retry", | |
| "id": "sandbox-retry", | |
| "outcome": "retryable" | |
| }, | |
| { | |
| "display_label": "Simulated bank approval", | |
| "id": "sandbox-bank-approved", | |
| "outcome": "approved" | |
| } | |
| ] | |
| }, | |
| "stripe_test": { | |
| "max_line_items": 100, | |
| "public_origin": "https://amazon.website-bench.com", | |
| "return_path": "/gp/buy/stripe-return", | |
| "secret_key_env": "STRIPE_TEST_SECRET_KEY", | |
| "webhook_path": "/api/stripe/webhook", | |
| "webhook_secret_env": "STRIPE_TEST_WEBHOOK_SECRET" | |
| } | |
| }, | |
| "schema_version": "websitebench.site-backend-runtime.v1", | |
| "session": { | |
| "host_only": true, | |
| "http_only": true, | |
| "same_site": "Lax", | |
| "secure": true | |
| }, | |
| "site": { | |
| "id": "amazon", | |
| "label": "Amazon Offline Harbor", | |
| "public_origin": "https://amazon.website-bench.com" | |
| } | |
| } | |