AI Can Clean What Was Written. It Cannot Fill a Blank Field.
An automated text-cleaning tool can group spelling variants and extract facts written in a description. It cannot recover a physical condition that neither the form columns nor the text ever recorded.
An automated text-cleaning tool can only reorganize facts that someone actually wrote down. Run a language model or a decision-intelligence tool—software that classifies records and recommends actions from historical tables—over an exported incident spreadsheet, and it can do two jobs cleanly: group different spellings of the same equipment under one name, and copy a fact from the free-text description into a column that was left blank or set to "Other".
It cannot recover a physical condition that neither the form columns nor the description ever recorded. On a safety record, missing data hides in two places: before cleaning, inside catch-all values such as "Other", "N/A", or "General" that pass basic non-empty database checks while holding no physical fact; and after cleaning, inside empty cells that the tool fills with statistical estimates or model predictions so a dashboard totals 100 percent. In both cases, a value nobody recorded is counted as if someone entered it at the scene.
One Export, Three Different Defects
On an incident form, the schema—the list of fields, the values each field accepts, and the rules that decide whether a record can be saved—sets what your database can count. Reviewing past incidents for serious-injury precursors requires the two precursor fields defined in You Can't Predict What Your Form Never Recorded (the energy source in play and the status of the direct safety control) alongside two operational context fields (the equipment involved and the work activity underway) that tell you where to target the fix.
Open a historical export from an incident system, and the cells across those four columns fail in three different ways. Optional fields are skipped and exported as blank cells; required dropdowns that do not fit the event are bypassed with a catch-all value ("Other", "N/A", "General", or "Unknown"). The eight records below (INC-101 through INC-108) come from an incident export audited against those four columns:
| Record ID | Equipment Column | Work Activity Column | Energy Source Column | Control Status Column | Free-Text Description |
|---|---|---|---|---|---|
INC-101 | FLT - Reach | Pallet staging | Mobile equipment motion | Aisle barrier closed - held | Reach truck bumper contacted closed pedestrian gate in Aisle 2 during pallet staging. Gate held. |
INC-102 | Other | Clearing jam | (blank) | (blank) | Operator cleared jammed carton on Line 4 case packer while pneumatic pusher arms were energized and light curtain was bypassed. |
INC-103 | Forklift | Loading | Mobile equipment motion | (blank) | Forklift backed into rack 4B during loading. Pallet shifted. |
INC-104 | N/A | (blank) | (blank) | Other | Contractor stepped backward off 3-meter mezzanine edge while pulling cable with an electric tugger; temporary chain rail was unhooked. |
INC-105 | Transfer pump P-204 | (blank) | (blank) | (blank) | Seal leak observed on transfer pump P-204 after shift handover. |
INC-106 | Overhead crane #2 | Rigging lift | Suspended load | Unknown | Steel coil swung near exclusion zone barrier during rigging lift on overhead crane #2. |
INC-107 | Switchgear cabinet MCC-3 | Troubleshooting | (blank) | (blank) | Production crew tried to re-energize 480V panel MCC-3 during troubleshooting; main breaker was locked out and held. |
INC-108 | Other | General | Other | N/A | Near miss reported in North warehouse. Supervisor notified. |
Across those eight rows, individual cells fall into three distinct states:
- Unstandardized entries already in the column: In
INC-101andINC-103, both records involve a powered industrial truck, entered as"FLT - Reach"in one row and"Forklift"in the other; inINC-105throughINC-107, the equipment column holds individual asset tags ("Transfer pump P-204","Switchgear cabinet MCC-3"). The physical fact is already in the column; only the label varies. - Facts written in the description while the column is blank or holds a catch-all value: In
INC-102, the reporter picked"Other"for equipment and left the energy and control columns blank, then typed"Line 4 case packer"and"light curtain was bypassed"into the description. InINC-104andINC-107, the missing precursor columns are likewise written out in the sentence. - Unrecorded facts missing from both the column and the description: In
INC-103, the control status column is blank, and the description ("Forklift backed into rack 4B during loading. Pallet shifted.") says nothing about audible alarms, speed limiters, spotters, or physical barriers. InINC-106, the control column reads"Unknown"and the description mentions an"exclusion zone barrier"—naming a control object without stating whether that barrier held, failed, or was moved aside.
Where Automated Cleaning Crosses Into Fabrication
Cleaning an export like the table above combines three distinct operations. Two recover facts already in the file; the third invents them.
| Operation | What It Does to the Export | Where It Works | Where It Breaks |
|---|---|---|---|
| Standardization | Maps spelling variants, site abbreviations, and asset tags ("FLT - Reach", "Forklift") to one shared category name ("Powered industrial truck"). | Columns that already hold a specific object, task, or hazard name. | Catch-all values ("Other", "General"). Relabeling "Other" does not identify the equipment. |
| Text extraction | Reads the free-text description and copies stated facts into blank or catch-all columns ("light curtain was bypassed" → Failed or bypassed). | Descriptions where the reporter wrote the fact the column asks for—such as the machine name, or a safety control together with whether it held or failed. | Short descriptions that state only the outcome ("Pallet shifted", "Seal leak observed"). |
| Imputation | Fills a remaining blank cell with the most frequent value in similar historical rows, or the most likely word predicted by a language model. | Never valid for unrecorded physical facts on a safety record. | Overwrites "unrecorded" with an estimated entry, so a value nobody recorded is counted as if someone entered it. |
Imputation—filling an empty cell with an estimate drawn from other rows in the table—corrupts safety counts because missing safety fields are not omitted at random. They are missing because the form never asked for them, left them optional, or offered a catch-all option, which means the historical rows used to estimate the blank share the same blind spot.
On INC-103, Control Status is blank and the description says only "Forklift backed into rack 4B during loading. Pallet shifted." If historical forklift rows in your export recorded "Present and held" in Control Status because earlier forms defaulted blank cells during migration, an imputation step copies "Present and held" into INC-103. Your next quarterly pivot table displays a 100-percent-populated control column that hides a potential unguarded-aisle precursor. That is the same mechanism that causes recovered safety records to pass validation while counting wrong and leads language models to construct plausible root causes from other companies' reports.
A verified lookup against a primary operational system is different from imputation: matching Transfer pump P-204 against a maintenance asset list can validly populate its equipment class without guessing. Even a live asset lookup, however, only supplies static equipment attributes—it cannot tell you whether a temporary barrier, lockout device, or machine guard held at the moment of the event.
A text-cleaning tool for safety records must preserve an explicit "Unrecorded" state. When both the column and the description are silent, the output cell must stay marked as "Unrecorded" and appear as its own category in dashboards, so leadership sees the share of verified records alongside the questions the reporting form failed to ask.
Audit the Export Before You Clean It
Before paying for an automated data-cleaning project across your historical backlog, measure how much of your export text extraction can actually recover. An IT team cannot write those audit rules alone: a database engineer can strip "Other" and match equipment names, but deciding whether a sentence names a safety control and states whether it held, failed, or was bypassed requires EHS judgment.
For each required column, every row falls into one of three audit states:
- In column: The column already holds a specific value (not blank and not a catch-all value). It needs standardization only.
- From description: The column is blank or holds a catch-all value, and the free-text description contains an explicit phrase answering that field.
- Unrecorded: The column is blank or holds a catch-all value, and the description does not state the fact.
The sum of In column and From description is the column's salvage ceiling: the maximum share of records any text-cleaning tool can populate without guessing. The remaining share is the unrecorded gap.
Applying those three audit states to the eight-row export produces this cell-by-cell result:
| Record ID | Equipment | Work Activity | Energy Source | Control Status |
|---|---|---|---|---|
INC-101 | In column | In column | In column | In column |
INC-102 | From description | In column | From description | From description |
INC-103 | In column | In column | In column | Unrecorded |
INC-104 | From description | From description | From description | From description |
INC-105 | In column | Unrecorded | Unrecorded | Unrecorded |
INC-106 | In column | In column | In column | Unrecorded |
INC-107 | In column | In column | From description | From description |
INC-108 | Unrecorded | Unrecorded | Unrecorded | Unrecorded |
Notice INC-106. The description reads: "Steel coil swung near exclusion zone barrier during rigging lift on overhead crane #2." A keyword search for the word "barrier" marks Control Status as captured. A three-state audit marks Control Status as "Unrecorded" because naming a control object without stating whether it held, failed, or was bypassed does not answer the control-status question. A high-energy event becomes a serious-injury precursor only when the direct control is absent, bypassed, or failed, so extracting the word "barrier" without its physical state leaves the precursor classification undecided.
Totaling the eight rows by column shows where text extraction recovers missing fields and where it stops:
| Field | In Column | From Description | Salvage Ceiling | Unrecorded Gap |
|---|---|---|---|---|
| Equipment | 5/8 (62.5%) | 2/8 (25.0%) | 7/8 (87.5%) | 1/8 (12.5%) |
| Work Activity | 5/8 (62.5%) | 1/8 (12.5%) | 6/8 (75.0%) | 2/8 (25.0%) |
| Energy Source | 3/8 (37.5%) | 3/8 (37.5%) | 6/8 (75.0%) | 2/8 (25.0%) |
| Control Status | 1/8 (12.5%) | 3/8 (37.5%) | 4/8 (50.0%) | 4/8 (50.0%) |
In this eight-row sample, Equipment reaches an 87.5% salvage ceiling (62.5% already in the column plus 25.0% extracted from the description), and Work Activity reaches 75.0%. By contrast, Control Status sits in the column on just 1 of 8 rows (12.5%), and text extraction recovers only 3 more (37.5%), leaving a 50.0% unrecorded gap. In this sample, descriptions state a control's condition when it was bypassed or unhooked (INC-102, INC-104) or when a lockout device held against an unexpected re-energize attempt (INC-107). Where a description states only the outcome (INC-103, INC-105), the state of the control goes unmentioned.
These eight rows are a test set built to test every outcome of the three-state check. Run the same three-state check on a sample of closed records drawn across your sites, incident and near-miss types, and form versions to measure your actual unrecorded gap before signing a data-cleaning scope.
Fixing the Form Without Overloading the Reporter
You cannot close an unrecorded gap with a text-cleaning tool. You close it by changing what the form asks before the record is locked—without exceeding the field worker's time and usability budget or building digital error traps where the wrong option is easier to tap than the right one.
Frontline reporters leave columns blank or pick "Other" when a form forces them through long code lists or asks technical classification questions at the end of a shift. Replacing the form with a voice or chat tool at the scene does not remove that limit: the tool still relies on a field list to select which follow-up question to ask, and it still fails if it asks a frontline operator to classify a serious-injury precursor they are not trained to evaluate. Split the schema across two stages so frontline reporters log what they saw and reviewers handle classification and control verification:
| Stage & Role | Fields Required at That Stage | Allowed Values & Validation Rule | Why It Prevents Catch-All Data Loss |
|---|---|---|---|
| Stage 1: Frontline Reporter (at the scene) | Location / Area, Equipment, Work Activity, What Happened (Description) | Equipment pulls from the maintenance asset list plus "No equipment involved" and "Unlisted equipment — name required" (which opens a mandatory name box). Work Activity uses a short task list keyed to site work, plus "Condition observed — no active task" and "Unlisted task — name required" (which opens a mandatory text box), with no "General" option. | Eliminates bare "Other", "N/A", and "General" entries while keeping "No equipment involved" and passive observations distinct from missing data. |
| Stage 2: Reviewing Supervisor or Investigator (during incident review) | Energy Source, Control Status | Triggered when Stage 1 selects a high-energy asset, a high-energy Location / Area (such as an elevated mezzanine or confined space), a high-energy Work Activity, or "Unlisted equipment". Energy Source includes "No high-energy source present" (which closes Stage 2 for low-energy unlisted items). For high-energy events, Control Status requires one of five reviewer states: "Present and held", "Present and failed", "Present but bypassed", "Absent — no control in place", or "Not verified at scene — site check required" (plus a manager-only escalation state below). | Removes blank cells and prevents reviewers from closing a high-energy record until the control's state is verified or escalated. |
Look at the fifth reviewer option on Control Status: "Not verified at scene — site check required". When a supervisor reviews INC-103 ("Forklift backed into rack 4B during loading") the next morning and does not know whether a spotter or rack barrier was in place, the form does not force a false choice between "Present and held" and "Absent — no control in place". Selecting "Not verified at scene" routes the open record to a site verification queue, where it remains open until the physical check updates Control Status to one of the four verified states. Counting "Not verified at scene" as an on-time supervisor review separates the review deadline from the physical site inspection, removing the incentive to click "Present and held" just to clear the queue on time.
When the physical scene has already changed and can no longer be inspected—such as temporary scaffolding dismantled before the report was filed—an EHS Manager can close the verification ticket using a sixth, manager-only state: "Unverifiable — scene altered before check". That exit keeps the unrecorded gap visible in reports rather than trapping the ticket open or forcing a false verified status.
Four Tests for Any AI Data-Cleaning Tool
Before running a text-cleaning tool over your historical safety records, verify it against a sample of your own export:
- The Silent-Record Test: Include single-sentence descriptions that state an outcome ("Seal leak observed on transfer pump P-204") with no mention of the task, energy source, or safety controls. Require the tool to output
"Unrecorded"for those missing fields. Reject any configuration that fills blanks with the most frequent historical value or a model prediction. - The Catch-All Removal Test: Check how the tool treats existing catch-all values such as
"Other","N/A","General", and"Unknown". Those entries must be cleared and routed through text extraction the same way as empty cells, never counted as populated categories. - The Control-State Pairing Test: Include descriptions like
INC-106("Steel coil swung near exclusion zone barrier") alongside negated statements ("Machine guard was not removed"), where keyword rules can trigger on"guard"and"removed"while ignoring"not". Verify that the text-cleaning tool marks a control named without its condition as"Unrecorded", and reads a negated removal such as"not removed"as intact rather than failed or bypassed—while still flagging"not installed"or"not locked out"as absent. - The Source-Column Test: When a text-cleaning tool populates a column from the free-text description or a linked asset list, require a companion source column recording whether each cell was entered on the form, extracted from the description, matched from a linked asset list, or left
"Unrecorded". An investigator filtering a dashboard must be able to separate form selections from values added after submission.
Text-cleaning tools can organize what your people wrote down; they cannot recover what your form never asked. Measure the unrecorded gap in your export first, extract only what the text explicitly states, and keep every remaining blank visible until the reporting form itself is fixed.