pf_app/lib
Paul Trowbridge 0e87f22e24 Carry every date and value column on baseline and reference loads
The generator picked columns with find(), so a source with more than one
date or value column silently loaded only the first of each. The version's
DDL is built from col_meta separately, so the extra columns existed in the
forecast table and stayed null for its whole life -- gs.osm_skinny lost
sdate and stdcost_usd across 295k rows that way.

Loads copy the source row wholesale, so they now carry all of them, with
the offset shifting every date column together. The adjustment operations
are genuinely single-measure -- scale distributes one {{value_incr}} -- so
they keep the narrow column list until that has a defined meaning.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 17:42:14 -04:00
..
auth.js Put the app behind a login 2026-09-14 22:20:25 -04:00
sql_generator.js Carry every date and value column on baseline and reference loads 2026-09-16 17:42:14 -04:00
utils.js Initial commit — pivot forecast application 2026-04-01 07:59:05 -04:00