pf_app
adjustment_segment, adjustment_bucket and unlabeled_load are columns on pf.version now, edited under "Fallback names" on the Baseline page, with the constants in sql_generator left as the built-in for a version that sets none. Read through a join, not substituted at generation: pf.sql is keyed on (source_id, operation) and shared by every version of a source, so a baked-in value could not vary by version and regenerating for one would change the others. The join costs three more GROUP BY columns on /agg, all functionally dependent on a version id that is already fixed for the whole query. The built-ins stay a convention guess -- ADJUSTMENT_BUCKET's "04 - " suits one numbering -- which is now a default to override rather than the only answer. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| lib | ||
| public | ||
| routes | ||
| setup_sql | ||
| ui | ||
| .env.example | ||
| .gitignore | ||
| CLAUDE.md | ||
| install.sh | ||
| package-lock.json | ||
| package.json | ||
| PERSPECTIVE.md | ||
| pf_perspective_options.md | ||
| pf_spec.md | ||
| pf.sh | ||
| server.js | ||