chore(pitch-deck): TEMP public fp-patch v2 — fix WD funding + recompute
Some checks failed
Build pitch-deck / build-push-deploy (push) Successful in 1m14s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 34s
CI / test-python-voice (push) Successful in 36s
CI / test-bqas (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-04-21 18:09:35 +02:00
parent 91f4202e88
commit 14362cbc0e
3 changed files with 48 additions and 76 deletions

View File

@@ -0,0 +1,18 @@
import { Pool } from 'pg'
import { computeFinanzplan } from '../lib/finanzplan/engine'
async function main() {
const pool = new Pool({ connectionString: process.env.DATABASE_URL || 'postgres://breakpilot:breakpilot123@localhost:5432/breakpilot_db' })
try {
const sid = 'c0000000-0000-0000-0000-000000000200'
console.log('Computing WD scenario:', sid)
const result = await computeFinanzplan(pool, sid)
console.log('Done. Cash m60:', result.liquiditaet?.endstand?.m60)
console.log('Headcount m60:', result.personalkosten?.headcount?.m60)
} catch (e) {
console.error('Error:', e)
} finally {
await pool.end()
}
}
main()