test(confidence-engine): expose current understanding experiment output
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,7 @@ Deterministic experiment helper for invoking the production `synthesizeCurrentUn
|
||||
| File | Role |
|
||||
|------|------|
|
||||
| `scripts/current-understanding-experiment-helper.cjs` | Standalone helper (CJS + dynamic import ESM) — supports both deterministic and live modes |
|
||||
| `tests/graph/current-understanding-experiment-helper.test.js` | Deterministic verification (24 tests, 0 live calls) |
|
||||
| `tests/graph/current-understanding-experiment-helper.test.js` | Deterministic verification (34 tests, 0 live calls) |
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -21,6 +21,9 @@ node scripts/current-understanding-experiment-helper.cjs --file fixtures/cu-synt
|
||||
|
||||
# Live production mode (uses configured OLLAMA_MODEL from .env.local)
|
||||
node scripts/current-understanding-experiment-helper.cjs --live --file fixtures/cu-synthesis.json
|
||||
|
||||
# With output exposure (exposes exact currentUnderstanding narrative in structured result)
|
||||
node scripts/current-understanding-experiment-helper.cjs --file fixtures/cu-synthesis.json --include-output
|
||||
```
|
||||
|
||||
Fixture contract: `{ situationGraph: object, findings: array }`
|
||||
|
||||
Reference in New Issue
Block a user