diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d7aa87..3e93d5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -67,6 +67,9 @@ All notable changes. Format based on Keep a Changelog. Versions are unreleased u or more digits, places listed after a place, spoken IP addresses and emails, multi-word passwords and read-back codes, URL paths, unit numbers and city/state tails of addresses, and given names that are ordinary words when they sit next to person words. +- Spoken URLs: "find it online at acme dot test slash help" is a URL, not an email, so its + path is redacted too; path words joined by "dash", domain names spoken as two words and + newer endings such as ".health" are handled. URL recall on the evaluation sets is now 100%. - Place names at Tier 0: a capitalised name redacted in part is redacted whole ("Port St. Lucie", "Dana Point"); more words that end place names ("Gold Coast", "the Panhandle"); places in text without capitals ("orange county", "salt lake city"). diff --git a/README.md b/README.md index c960000..edde29c 100644 --- a/README.md +++ b/README.md @@ -160,13 +160,13 @@ The numbers below are for the default protection (personal data): | Validation (56) / user set (8) | PII recall | PII-clean transcripts | Business context redacted or flagged | Text redacted | | --- | --- | --- | --- | --- | -| Tier 0 (rules) | 98.0% / 88.2% | 80% / 25% | 90% / 80% | 15% / 21% | -| Tier 1 (+ NER ensemble) | 98.6% / 89.5% | 86% / 25% | 97% / 82% | 17% / 23% | -| Tier 2 (+ Phi-4-mini) | 98.6% / 89.5% | 86% / 25% | 97% / 83% | 18% / 25% | +| Tier 0 (rules) | 99.3% / 88.9% | 93% / 25% | 91% / 79% | 15% / 21% | +| Tier 1 (+ NER ensemble) | 99.8% / 90.2% | 98% / 25% | 97% / 82% | 17% / 24% | +| Tier 2 (+ Phi-4-mini) | 99.8% / 90.2% | 98% / 25% | 97% / 83% | 18% / 25% | | Baseline: plain regexes | 14.2% / 7.2% | 0% / 0% | | | The user set has only 8 transcripts, so its numbers are loose: the 95% interval for Tier 0 -PII recall is 80.8-94.7% there (96.9-99.0% on validation), and its PII-clean rate could be +PII recall is 81.4-95.2% there (98.5-99.8% on validation), and its PII-clean rate could be anywhere from 0% to 62%. `offrecord eval` prints these intervals. Tier 2 does not change PII recall on these sets. What it adds is indirect identifiers: on 15 diff --git a/docs/security.md b/docs/security.md index 2b48b34..ceb2d01 100644 --- a/docs/security.md +++ b/docs/security.md @@ -44,9 +44,10 @@ Every other command installs a network guard (see below) before doing any work. ### R2. Careless logging and error output - No raw text in logs, exceptions, tracebacks or debug output. Errors carry a code, a position (field, turn, line, offset) and a category, never content. -- The CLI catches every exception at the top level. For offrecord's own errors it prints the code and - position. For unexpected exceptions it prints only the exception *type* and the code location, - never the exception message (third-party messages, e.g. decode errors, can embed input bytes). +- The CLI catches every exception at the top level. For offrecord's own errors it prints the + code and position. For unexpected exceptions it prints only the exception *type* and the code + location, never the exception message (third-party messages, e.g. decode errors, can embed + input bytes). - `--debug` prints stack frames (file, line, function) but never exception messages or locals. - `sys.excepthook`, `threading.excepthook`, `sys.unraisablehook` and `warnings.showwarning` are replaced with content-free versions; logging's last-resort handler is removed and the diff --git a/site/index.html b/site/index.html index 5a45b1b..1383925 100644 --- a/site/index.html +++ b/site/index.html @@ -319,15 +319,15 @@
Sealed set: 80 transcripts written blind and opened once, against targets fixed beforehand. Tier 0 missed two of them: PII recall 93.4% (target 95%) and PII-clean transcripts 46% (target 65%), almost entirely because of place names (84% caught). Names, account and card numbers, SSNs, IPs and URLs were all caught. Tier 1 reached 96.4% and 65%. Place handling has since been improved on new tuning data; the next release will be scored on a fresh sealed set.
-Read the PII-clean column first: in some transcripts a name or number still gets through, so you still read the output before sharing it. The user set has only 8 transcripts, so its numbers are loose (95% interval for Tier 0 PII recall: 80.8–94.7%). Tier 2 adds indirect identifiers rather than PII recall: on 15 held-back transcripts, descriptions of a person were redacted 63% of the time at Tier 0, 68% at Tier 1 and 78% at Tier 2. On Earnings-21 (44 real earnings calls, never tuned on) PII recall is 85.7% at Tier 0 and 89.8% at Tier 1.
+Read the PII-clean column first: in some transcripts a name or number still gets through, so you still read the output before sharing it. The user set has only 8 transcripts, so its numbers are loose (95% interval for Tier 0 PII recall: 81.4–95.2%). Tier 2 adds indirect identifiers rather than PII recall: on 15 held-back transcripts, descriptions of a person were redacted 63% of the time at Tier 0, 68% at Tier 1 and 78% at Tier 2. On Earnings-21 (44 real earnings calls, never tuned on) PII recall is 85.7% at Tier 0 and 89.8% at Tier 1.
All evaluation data is synthetic: generated conversations with invented names. It cannot capture real speech-recognition errors, real names and their spelling variety, domain jargon, cross-talk, or the clients and codenames in your deny-list. Expect real-world recall to be lower than these numbers, and review the flagged spans.