You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Storage abstraction (src/core/storage/):
- Strategy Pattern: S3CompatibleBackend (R2/S3/MinIO) and LocalHTTPBackend
- CLOUDFLARE_R2_ACCOUNT_ID auto-builds R2 endpoint URL
- Switchable via STORAGE_BACKEND env var, no caller changes needed
Output tools (src/mcp/servers/output/tools/):
- export_html: markdown to styled HTML with image upload via storage backend
- export_csv: real DictWriter implementation with storage upload fallback
Ad diagnosis credibility dimensions:
- Statistical sufficiency flag: orders_reliability (low/medium/high)
- ACOS 95% CI via Wilson score interval on CVR
- ITS/DML/CausalImpact effect confidence intervals
- Within-sample directional backtest (hit rate vs delta_orders)
- LP keyword|MATCH_TYPE output bug fixed
Diagnostic charts (6 per ASIN, uploaded to R2, embedded in report):
- Daily performance trend: spend bar + orders line + ACOS with CI band
- ITS causal fit: pre-trend, counterfactual, shaded effect area, CI title
- Keyword ACOS x Orders quadrant scatter (bubble = spend)
- Placement ACOS vs configured bid adjustment grouped bar
- Inventory burn-down curve with stockout date and risk zone
- Competitor price distribution box-plot with own price line
Docs + deploy: README .env table updated, ARCHITECTURE/DEV_GUIDE storage
section added, deploy_ubuntu.sh .env template extended with full storage block.
Ignore src/core/telemetry/step_history.json (runtime-generated).
0 commit comments