fix(extract,transform): fix COT/prices column name mismatches + OWM rate limit skip

- fct_cot_positioning: quote Swap__Positions_Short_All and Swap__Positions_Spread_All
  (CSV uses double underscore; DuckDB preserves header names exactly)
- fct_cot_positioning: quote Report_Date_as_YYYY-MM-DD (dashes preserved in header)
- fct_coffee_prices: quote "Adj Close" (space in CSV header)
- openmeteo/execute.py: skip API call in backfill when all daily files already exist
  (_count_existing_files pre-check prevents 429 rate limit on re-runs)
- dev_run.sh: open browser as admin@beanflows.coffee instead of pro@

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Deeman
2026-02-26 09:46:34 +01:00
parent 611a4af966
commit 4fae358f97
5 changed files with 47 additions and 24 deletions

View File

@@ -168,7 +168,7 @@ run_with_label "$COLOR_CSS" "css " make css-watch
# Open a private/incognito browser window once the server is ready.
# Polls /auth/dev-login until it responds (up to 10 seconds), then launches.
(
DEV_URL="http://localhost:5001/auth/dev-login?email=pro@beanflows.coffee"
DEV_URL="http://localhost:5001/auth/dev-login?email=admin@beanflows.coffee"
for i in $(seq 1 20); do
sleep 0.5
if curl -s -o /dev/null -w "%{http_code}" "$DEV_URL" 2>/dev/null | grep -qE "^[23]"; then