practical · policy / contract / handbook batch QA · CSV & JSON upload · CC-BY-4.0

Policy, Contract & Handbook Batch QA Extraction Ledger

Audit NDA contracts, InfoSec policies, and employee handbooks — or upload multiple .txt / .md / ragged .csv / .json files — through a cancellable FIFO BERT-Large WWM SQuAD 2.0 worker (337.67 MB WASM q8). Missing clauses trigger honest [CLS] abstention; answered fields cite exact [start..end] offsets via CSS.highlights and export as OWASP formula-safe CSV, Markdown, and JSON.

1 · Initialise BERT-Large WWM SQuAD 2.0

2 · Audit Template, CSV/JSON Upload & Cancellable Batch Ledger

Drop, paste, or upload multiple .txt / .md / ragged .csv / .json documents or QA batches (100% local).

5-Question Extraction & Abstention Checklist

idle

Initialise BERT-Large WWM SQuAD 2.0 above to run batch extraction.

Items Completed—
Answered / Abstained—
Mean Confidence—
Mean Latency—
Finite Check—
Extracted policy and contract fields with SQuAD 2.0 abstention verdicts, [CLS] null probabilities, and character citations
Document Field Question Extracted Answer / Verdict Score / P([CLS]) Citation
Run Batch QA above to populate extracted spans and SQuAD 2.0 abstention verdicts.

Document Citation Viewer (CSS.highlights)

3 · Show the code

Show the code — bert-large-wwm-core.mjs ragged RFC 4180 CSV context-column detector
Show the code — bert-large-wwm-core.mjs OWASP formula-safe CSV & Markdown report exporter