-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.env.example
More file actions
54 lines (54 loc) · 1.58 KB
/
Copy path.env.example
File metadata and controls
54 lines (54 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# --- Required for mdwb CLI + ops automation ---
OCR_SERVER=https://ai2endpoints.cirrascale.ai/api
OCR_API_KEY=sk-***
OCR_MODEL=olmOCR-2-7B-1025-FP8
API_BASE_URL=http://localhost:8000
MDWB_API_KEY=
# --- Optional/advanced settings (CLI will fall back to defaults) ---
OCR_LOCAL_URL=http://localhost:8001
OCR_LOCAL_AUTOSTART=true
OCR_LOCAL_STARTUP_TIMEOUT_S=180
OCR_LOCAL_HEALTHCHECK_TIMEOUT_S=5
OCR_LOCAL_MAX_RESTARTS=1
OCR_USE_FP8=true
OCR_MAX_BATCH_TILES=3
OCR_MAX_BATCH_BYTES=25000000
OCR_DAILY_QUOTA_TILES=
CACHE_ROOT=.cache
RUNS_DB_PATH=runs.db
CFT_VERSION=chrome-130.0.6723.69
CFT_LABEL=Stable-1
PLAYWRIGHT_CHANNEL=cft
PLAYWRIGHT_TRANSPORT=cdp
VIEWPORT_OVERLAP_PX=120
CAPTURE_LONG_SIDE_PX=1288
TILE_OVERLAP_PX=120
SCROLL_SHRINK_RETRIES=2
SCROLL_SETTLE_MS=350
MAX_VIEWPORT_SWEEPS=200
SCREENSHOT_MASK_SELECTORS=
SCREENSHOT_STYLE_HASH=dev-sweeps-v1
CAPTURE_VIEWPORT_WIDTH=1280
CAPTURE_VIEWPORT_HEIGHT=2000
CAPTURE_DEVICE_SCALE_FACTOR=2
CAPTURE_COLOR_SCHEME=light
CANVAS_WARNING_THRESHOLD=3
VIDEO_WARNING_THRESHOLD=2
SEAM_WARNING_RATIO=0.9
SEAM_WARNING_MIN_PAIRS=5
SCROLL_SHRINK_WARNING_THRESHOLD=1
OVERLAP_WARNING_RATIO=0.65
BLOCKLIST_PATH=config/blocklist.json
WARNING_LOG_PATH=ops/warnings.jsonl
PROMETHEUS_PORT=9000
HTMX_SSE_HEARTBEAT_MS=4000
OCR_MAX_CONCURRENCY=8
OCR_MIN_CONCURRENCY=2
WEBHOOK_SECRET=mdwb-dev-webhook
MDWB_SERVER_IMPL=uvicorn
# Optional overrides for server launcher (scripts/run_server.py)
# MDWB_SERVER_WORKERS=4
# MDWB_GRANIAN_RUNTIME_THREADS=2
# MDWB_SERVER_LOG_LEVEL=info
# Optional override when smoke pointer files live outside benchmarks/production
MDWB_SMOKE_ROOT=benchmarks/production