Systems and records
Policy exception context dataset: audit departures, not the rulebook
By SourceX Editorial · Reviewed by Noah Loul ·
8 sections
Short answer
A policy exception context dataset earns its value in the departures, not the rulebook: the policy gives the default, while exception records show where the boundary sits and who could move it. Assess one by sampling exception cases and scoring each for rule version, departure, request, authority evidence and outcome, and check that denied and expired requests appear. Add joined records only when they change a label or an authority grade.
Checklist
Policy exception context
Key takeaways
- An exception is valid only if someone acting within the scope of their authority approved it, so authority evidence is what separates an exception from a violation.
- Approved-only samples hide the boundary; systems such as GitHub's push protection bypass requests record denied, expired and cancelled requests that belong in the dataset.
- Delegated authority runs between a start and an end date, so the approver's authority has to be joined as it stood at the decision time.
- A completeness map over a random sample, scored element by element, shows whether a dataset can support decision tasks, authority tasks or neither.
- More joins are not more context: long inputs bury the relevant fact, and every added key widens linkage risk.
What does an exception record teach that the policy text cannot?
It teaches where the rule actually bends and who is allowed to bend it. A policy states the default; an approved exception records a departure the organization accepted, the reason it accepted it and the person whose authority made it legitimate. A dataset built only from handbooks and procedures teaches the letter of a rule and nothing about its working edge.
Authority is what turns a departure into an exception rather than a violation. GAO's 1999 standards for internal control in the federal government required that transactions and other significant events be authorized and executed only by persons acting within the scope of their authority, and called that the principal means of making sure only valid transactions are entered into. The same test applies to a refund over the cap, an emergency change during a freeze or a waived document requirement: the record proves the exception was valid only if it proves the authority behind it.
That gives an AI team a precise decision. A policy exception context dataset is worth buying or building when each case lets a model see the rule in force, the departure, the request and its reason, the authority behind the decision and what happened next. This guide shows how to assess a candidate dataset against that standard with a sample audit, and where to stop joining records.
Why a sample of approved exceptions hides the boundary
Because the requests that failed define the boundary as much as the ones that passed. A dataset holding only approved exceptions shows a model that every documented departure gets approved; it never shows a refused request with a similar reason, an approval that lapsed or a request the requester withdrew.
Some systems record all of these as outcomes in their own right. GitHub's documentation for reviewing requests to bypass push protection, the check that blocks commits containing secrets, gives every request one of six statuses, open, approved, completed, denied, expired or cancelled, and says requests are valid for 7 days. Reviewers may add a comment, which GitHub suggests using to explain the reason for an approval or a denial for auditing and reporting. A dataset drawn from a system like that can carry the refusals and the lapses next to the approvals, and it should.
Two consequences follow for an audit. Measure the refusal share in the sample, and treat a dataset with no refusals as approved-only until shown otherwise. Then read optional reason fields for what they are: when a comment is optional, many decisions will have none, so a blank reason is a gap to record, not evidence that the approver saw nothing unusual. Expert-built counterexamples can stand in for missing refusals, but recorded refusals are stronger evidence when a system kept them.
Who could approve it on that date? Grading the authority evidence
Grade each exception by how directly its records prove that the approver held authority for that departure at that moment. Authority is a dated fact: it starts, ends, passes to delegates and has limits, and the evidence for it often sits outside the workflow tool that captured the approval.
Delegation shows why the dates matter. In Microsoft's approvals kit for Power Platform, an approver sets out-of-office start and end dates and names a delegate, and new requests arriving inside that window go to the delegate. The kit's out-of-office flow places an override on running approvals that makes the delegate the new approver and records a reason for the override. Microsoft's own comparison notes that the basic approvals connector does not offer delegated approvers by default, so in many workflows a delegation was agreed by email or in a meeting and the system shows only the delegate's name.
The grades turn that variety into a labeling rule. Grade A and B cases can train and evaluate authority reasoning, grade C cases can teach the decision but not the authority, and grade D and E cases are evidence of a departure rather than of an exception:
| Grade | What the records show | Label the case as | Allowed use |
|---|---|---|---|
| A. Proven at the time | An approval by a named role, plus a delegation or limit record whose dates and scope cover the decision time | Authorized exception | Training and evaluation, including questions about authority |
| B. Rebuilt from history | An approval record, plus the authority table for that date recovered from version history | Authorized exception, rebuilt | Training and evaluation, with the rebuild noted in the case |
| C. Inferred from today | An approval by someone whose authority is known only from the current org chart or current limits | Decision recorded, authority unverified | Decision tasks only, never authority tasks |
| D. Mentioned elsewhere | A note that approval was given by email, chat or in a meeting, with no approval record | Departure with claimed approval | Exclude, or use only to study documentation gaps |
| E. No approval evidence | The departure happened and no request or approval exists | Unapproved departure | Negative examples, labeled as such |
An annotated minimal packet: an emergency change during a release freeze
A minimal packet holds the elements a model needs to judge one exception and nothing more, each annotated with its source and how sure that source is. The case is illustrative and does not come from any company's records.
The setting: a software company's change policy bars production changes during a quarter-end freeze unless the change fixes a severity-one incident and is approved by the change board chair or the chair's delegate. On day 3 of the freeze an engineer requests an emergency change to restore failed payment processing. The chair is out of office from day 2 to day 6 and has named a deputy in the approvals tool, and the deputy approves on day 3 with a comment. Two other freeze-exception requests that week were denied.
Count the systems the packet touches: a policy library, a ticketing tool, an approvals tool with its delegation records, a deploy log and an incident tracker. Exception context is cross-system by nature, and every element that must be joined from another system is an element that may fail to join, or join to the wrong record. Keys that look stable, such as a user name, can be reassigned or renamed between the decision and the export, so each join in the packet should name the key it used.
Each element earns its place by answering one question about this exception, and anything that answers none stays out:
| Element | Content (Illustrative) | Source and status | Why it is in the packet |
|---|---|---|---|
| Rule in force | Freeze clause in the version effective before day 1: severity-one fixes only, approved by the chair or a delegate | Policy library version history; recorded at the time | Sets the default and the permitted departure |
| Request | Change ticket opened on day 3 by the engineer, linked to the incident, with the stated reason | Change ticket; recorded at the time | Shows what was asked and why |
| Departure | A production deploy inside the freeze window, limited to the payment service | Change ticket and deploy log; recorded | Measures how far the action left the rule |
| Authority | Delegation from chair to deputy for change approvals, days 2 to 6; grade A | Delegation record in the approvals tool; recorded | Proves the approver could approve on day 3 |
| Decision | Approved on day 3, with the comment that the incident blocks customer payments | Approval history; recorded | The label for a decision task |
| Outcome | Deploy completed and incident closed the same day, with no rollback | Deploy log and incident record; recorded | Shows the exception did what it claimed |
| Sibling refusals | Two denied freeze-exception requests that week, neither tied to a severity-one incident | Change tickets; recorded | Marks the boundary next to this case |
| Left out | The engineer's performance history, unrelated tickets and full chat logs | Not joined | Answers no question about this exception |
Scoring a sample of exceptions, element by element
Score a random sample of exception cases from the candidate dataset, one row per packet element, and count how many cases carry each element as recorded at the time, rebuilt from history, or inferred and missing. The resulting completeness map shows which uses a dataset can support before anyone studies a single case in depth.
Draw the sample from every exception in scope rather than from cases a supplier picks as showcases, and include requests of every outcome if the system keeps them. A first pass of a few dozen cases is enough to see the shape; any rate that will appear in a contract needs a larger sample and intervals.
Have two people score the first ten cases independently and compare before anyone scores the rest. Disagreements cluster on the authority grade, and they usually mean the grade definitions need tightening for the systems at hand, for example deciding whether a delegation recorded only in an out-of-office message counts as grade A or grade D. Fix the definition, rescore those cases and keep the agreement count, because a buyer will ask how repeatable the map is.
In the illustrative audit below, 24 cases were scored. Rule, request, departure and decision are strong. Authority is the weak element, proven or rebuilt in only 9 cases, and sibling refusals turn up for just 3. That dataset can support decision tasks now, but not authority tasks until its delegation history is recovered. Counts out of 24 sampled cases (Illustrative):
| Packet element | Recorded at the time | Rebuilt from history | Inferred or missing |
|---|---|---|---|
| Rule in force | 15 | 7 | 2 |
| Request and reason | 18 | 0 | 6 |
| Departure measured | 20 | 2 | 2 |
| Authority evidence | 5 | 4 | 15 |
| Decision | 22 | 0 | 2 |
| Outcome | 14 | 3 | 7 |
| Sibling refusals | 3 | 0 | 21 |
The case against joining everything: noise and linkage
Past the minimal packet, extra joins tend to add noise, mismatches and re-identification risk faster than they add understanding. That is the strongest objection to context reconstruction, and the reason it needs a stopping rule.
Noise has been measured. Liu and colleagues found in Lost in the Middle (2023) that language model performance can degrade significantly when the relevant information sits in the middle of a long input, and that performance drops as inputs grow longer, even for models built for long contexts. A packet padded with every ticket the requester touched that month buries the single comment that justified the exception.
Linkage risk grows with every key. NIST's report on de-identifying personal information describes linkage attacks that match records in a de-identified dataset against a second dataset holding both the linking fields and identities, and recounts how a governor's hospital records were re-identified from birth date, sex and ZIP code. Each joined system brings its own identifiers and quasi-identifiers, so a join plan is also a privacy plan.
The stopping rule is a join ledger. For every join, record the question it answers about the exception, the key it uses and the identifiers it brings in. Keep a join only if dropping it would change the label, the authority grade or the outcome, and drop it otherwise, even when it is one query away.
Accept, narrow or reject: turning the scores into a decision
Accept a dataset for the uses its weakest required element supports, narrow it when one element is weak, and reject it when the rule in force or the decision itself is mostly missing. The thresholds belong to the buyer and should be written down before the audit; the rules below are a starting point, not a standard.
Decision rules for the shapes a completeness map usually takes:
- Accept for decision and authority tasks when rule, decision and authority evidence are recorded or rebuilt in most sampled cases and refusals appear in the sample.
- Narrow to decision tasks when rule and decision are strong but most authority evidence sits at grade C or below, and label every case authority unverified.
- Narrow to approved-only analysis when no refusals, expirations or withdrawals exist, and say so in the dataset card, because a model trained on it never sees a boundary.
- Reject when the rule version in force cannot be established for most cases, since every label would then lean on today's policy.
- Ask for more before deciding when outcomes are missing for most cases; an exception without its consequence teaches approval habits, not judgment.
What a sample audit misses, and what to put in the data request
A sample audit sees only departures that left a record. Workarounds that never produced a request are invisible to it, and authority documents such as board delegations or signing policies often live outside every system the dataset was drawn from. The next evidence to ask for is the delegation history for the period and the full spread of request outcomes, refusals and expirations included.
Put those needs into the request itself. SourceX finds datasets to match a written buyer request rather than keeping them in inventory, so a request that names the exception types, asks for denied and expired requests beside approvals, states the authority grade the task needs and attaches completeness thresholds tells a supplier what to look for before any record is pulled. Nothing leaves the company holding the records until it has approved the scope and terms and signed, and the delivered dataset is de-identified by SourceX or its processing partner, which makes approver names and other personal fields part of the preparation plan.
Add an acceptance test the supplier can run on a sample: the element counts, the authority grade mix and the refusal share you will accept. A request that says only exception data tends to bring back approvals with reasons, which is the easy half.
Frequently asked questions
What is a policy exception record?
A policy exception record documents an approved departure from a written rule: the rule in force, what was done differently, who asked and why, who approved it and on what authority, and what happened afterwards. Without the authority and the rule version, it is only a record that someone broke a rule.
Why should an exception dataset include denied requests?
Denied, expired and withdrawn requests show where the boundary sits. A model trained only on approvals learns that documented departures get approved. Systems such as GitHub's push protection bypass requests record denied and expired requests as outcomes, so they can often be exported with the approvals.
How do you prove an approver had authority for an exception?
Join the approval to an authority record that was valid at the decision time: a delegation with start and end dates, a version of the approval limit table or a signed delegation of authority. If authority can only be inferred from today's org chart, label the case authority unverified and keep it out of authority tasks.
Is an approval by a delegate a valid exception?
It is valid if the delegation covered that kind of decision and was in force when the approval was given. Tools such as Microsoft's approvals kit record delegation windows and the override that hands a request to the delegate; where a tool lacks delegation, look for the grant in email or policy documents and grade the evidence to match.
How many exception cases should a buyer sample before deciding?
A few dozen randomly drawn cases usually show which elements are weak; treat that as a scoping check, not a measurement. Any rate that will be written into an acceptance test needs a larger sample drawn from all exceptions in scope, with intervals reported.
Sources
- GitHub's documentation for reviewing push protection bypass requests lists six statuses (Approved, Cancelled, Completed, Denied, Expired, Open) and says requests are valid for 7 days. Source
- In GitHub's push protection bypass review, reviewers can add an optional comment, which GitHub suggests using to explain the reason for an approval or denial for auditing and reporting. Source
- Microsoft's approvals kit lets an approver set out-of-office start and end dates and a delegate; new requests in that window are delegated. Source
- The approvals kit's out-of-office flow creates an override that sets the delegate as the new approver and provides a reason for the override. Source
- Microsoft's comparison table says the basic approvals connector does not support delegated approvers by default, while the approvals kit does. Source
- GAO's 1999 Standards for Internal Control in the Federal Government require that transactions and significant events be authorized and executed only by persons acting within the scope of their authority, the principal means of assuring only valid transactions are entered into. Source
- Liu and colleagues (Lost in the Middle, 2023) find that performance degrades significantly when relevant information is in the middle of long contexts and decreases as input context grows longer. Source
- NISTIR 8053 describes linkage attacks that match de-identified records against a second dataset holding linking fields and identities, and recounts the re-identification of a governor's hospital records from birth date, sex and ZIP code. Source
Tell us what data you need
Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.