Repository navigation
Conversation
…urns that no longer make sense
…daction can be undone; report unchecked coherence turns
…arn for tracked folders
offrecord is a PII tool first. With the default protect: pii, personal data is redacted and everything else becomes a review flag: figures, organisations found by models or the codename pattern, business topics, and coarse dates (quarters, fiscal years, a month or year). protect: confidential redacts business context too. Deny-list entries and everything the name rules find always redact. The policy runs on raw detector spans before the merger, so a flagged business sentence never hides a name inside it from redaction. Topic terms are split into personal (health, family and legal circumstances, an individual's employment or conduct: always redacted) and business; Tier 1 seed sentences likewise. Pricing and renewal terms are flags again (topics.mode mixed). Business spans used to hide some PII gaps and false positives. Added: last digits of cards and accounts, bare numbers of four or more digits, places listed after a place. Fixed: figures with thousands separators taken as dictated IDs, codes like Q3 taken as places, months, weekdays, contractions and topic vocabulary taken as name guesses. eval reports PII recall and the PII clean-transcript rate as the headline, and the share of other labels that are at least flagged. init asks whether to also hide business context.
…s of a found name, titles
… URL paths and spoken states
…ddress tails, last digits, spoken emails and IPs
A health, legal or family term now needs a personal anchor in its sentence: a pronoun, a singular person noun, or a name or description of a person. Terms for events that only happen to a person (a PIP, divorce, a funeral) need none. Unanchored sentences are business context: flagged under protect: pii, still redacted under protect: confidential.
Bootstrap over transcripts with a fixed seed. Rename "other seen" to "other r/f" (redacted or flagged) and say in the report that a flag only asks you to look.
The LLM now sees only sentences with a person or organisation cue that the Tier 0 indirect rules did not match, and is asked only for descriptions that single out one person or organisation (people redacted, organisations flagged). Remove the guess verifier, which cost recall, and the coherence check, which flagged nothing on the real model even for all-placeholder lines.
Lead the README and site with PII recall, PII-clean transcripts and their intervals, describe protect: pii and protect: confidential, the indirect identifier rules and the new Tier 2, and drop the removed guess check and coherence report.
h61 to h80, written blind like the earlier batches: places phrased many ways, abbreviations, multi-word names, places that are ordinary words, lower-case speech-to-text, and near misses that must stay visible.
Redact a capitalised name whole when only part of it was found, add words that end place names, and find places in text without capitals. On the new place-heavy tuning batch Tier 0 place recall goes from 85.9% to 89.1%; on Earnings-21 from 75.5% to 76.8%, with precision slightly up.
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Python 3.11 rejects unhashable dataclass defaults, and mappingproxy is only hashable from 3.12. Also stop two NER unit tests from loading a locally installed embedding model.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Round 2: personal data first, better recall on hard-to-catch PII, a narrowed Tier 2, and the first sealed-set result.
Behaviour changes
protect: piiis the default. Personal data is redacted: names, contact details, identifiers, addresses and places, day-level dates, and sentences about someone's health, family, legal or employment situation. Business context is flagged for review instead of redacted: amounts, percentages, organisations found automatically, business topics, quarters.protect: confidentialredacts business context too, andoffrecord initasks which you want. Deny-list entries are always redacted.Detection
New Tier 0 rules for:
Evaluation
offrecord evalleads with PII recall and PII-clean transcripts, each with a 95% bootstrap interval. "Other seen" is renamed "other r/f" (redacted or flagged).Results (Tier 0 / Tier 1)
Sealed set, opened once, against targets fixed beforehand. Tier 0 misses two of them:
Almost all of Tier 0's misses are place names. It is reported as a fail in the README and on the site. The sealed set is now spent, so the next release needs a fresh one.
Place work done after opening it, on new tuning data only: place recall on that batch rose from 85.9% to 89.1% at Tier 0. The sealed set was not used for it.
Earnings-21 (real calls, never tuned on): Tier 0 PII recall 87.0%.
Checks