@qvac/sdk and verifies the result with real inference.
It uses the 0.17.1 → 0.22.0 upgrade as the example; the current course branch course/redact-qvac already includes it.
Read the QVAC release notes for every version you skip before you start.
1. Pin the new version
package.json and package-lock.json together.
On 0.22.0 node_modules shrinks from about 6.3 GB to about 2.8 GB.
2. Fix the compile errors
Buffer type isn’t Node’s Buffer.
The fix is to wrap the runtime the same way the reasoner already was, instead of passing the SDK module directly:
3. Run the fast checks
4. Run the evaluation several times
recoveredScore() in qvac-service/qvac-analyzer.ts now multiplies characters by mean block length, so whole lines win.
See OCR boxes and rotation.
Also update EVALUATION_IDENTIFIERS.sdk in qvac-service/evaluation.ts and its assertion in evaluation.test.ts, so receipts name the version they ran on.
5. Run the live checks
npm run qvac:ocr-smoke: prints 12 blocks for the test chat.- Live browser test.
- On macOS,
npm run qvac:offline:osNetworkDenied: trueand areadyrun.