Defined in qvac-service/evaluation.ts and qvac-service/evaluation-cli.ts.

Cases

All four are the same fictional chat with six labelled regions: name, email, address, phone, account, reference. Run one case with REDACT_EVALUATION_CASE=<case ID> npm run qvac:evaluate.

Matching

Boxes are compared in percent of page width and height.
  1. Pair each expected region with every proposal of the same label.
  2. Keep pairs with intersection-over-union (IoU) ≥ 0.45.
  3. Take pairs from highest IoU down; each expected region and each proposal is used once.

Thresholds

A case passes when all three hold: The run passes when every case passes. The command exits non-zero otherwise.

Report

JSON on stdout:

Last recorded result

@qvac/sdk 0.22.0, Laya, Apple Silicon, two runs with identical output, at redact-11-copy-check.