Home / Methodology
Methodology
How EnforceLens turns public EPA and OSHA records into comparison grades. Data as of Nov 29, 2026.
What the grades measure
EnforceLens reads EPA's ECHO Exporter national file, which has one row per facility, and rolls facilities up to the company that owns them. Each company gets two grades:
- Current compliance: how many of the company's facilities are currently flagged in violation, and how many facility-quarters in the last 12 quarters were out of compliance, compared with what peers would be expected to have.
- Recorded penalty history: how many distinct penalty cases are recorded against the company's facilities, compared with what peers would be expected to have.
The two are kept separate because they often disagree. A company can be clean today but have a heavy penalty history, or the reverse.
Matching facilities to companies
Facilities are matched to a company by the names they are registered under in EPA's data, for example every facility whose name begins with a company's brand or legal name. Matching rules are listed per company where they go beyond the obvious (acquired subsidiaries such as Noble Energy under Chevron, or Safeway under Albertsons). Only active facilities are counted; EPA's flag means at least one associated Air, water-discharge, hazardous-waste or drinking-water permit is active.
Name matching has limits. Subsidiaries that operate under unrelated names are not yet included, and independently operated franchise or dealer sites that use a company's brand name may be. We plan to improve parent-company mapping with SEC subsidiary lists.
Choosing peers
Each facility is compared with other facilities that share its industry code (NAICS), excluding the company's own facilities. We start at the 4-digit code. A peer group is used only if it has at least 30 facilities from at least 20 different company names, with no single name above 35%. Otherwise we widen to the 3-digit group, then the 2-digit sector, then all facilities. This stops a duopoly from being graded against only its rival. Facilities with no industry code take the company's most common code if at least 10% of its facilities are coded. Each company page states how its facilities were compared.
Expected counts and ratios
For every facility we look up the peer rate (for example the share of peer facilities currently in violation) and add those rates up to get an expected count for the company. The score is (observed + 2) divided by (expected + 2); the small cushion keeps tiny counts from swinging a grade. A score of 1.0x is typical for the industry. Current compliance is the geometric mean of the violation ratio and the quarters-out-of-compliance ratio.
Grade bands: A under 0.6x, B 0.6 to 0.9x, C 0.9 to 1.3x, D 1.3 to 2x, F 2x or more. The cutoffs are a judgment call and may change as more companies and agencies are added.
Penalties and company-wide cases
EPA's penalty field totals assessed or final penalties entered in its Air (ICIS-Air), state water-permit (ICIS-NPDES state actions) and hazardous-waste (RCRAInfo) databases. According to EPA's field definitions, it excludes federal Clean Air Act, Clean Water Act and RCRA penalties recorded in ICIS, proposed RCRAInfo penalties and supplemental environmental projects, and it states no time window. The totals are therefore partial, which is why the grade is called recorded penalty history.
EPA lists a company-wide settlement on every facility it covers. To avoid counting one case hundreds of times, EnforceLens counts facilities that share an identical penalty amount and date as one case, and merges clusters of three or more near-identical large penalties (within 2%, at least $100,000) into one estimated case. Dollar totals shown are these de-duplicated estimates.
How the OSHA grade works
- Inspections are matched to companies by establishment name, like EPA facilities, and compared with other employers' inspections in the same industry code (6, 4, 3 or 2 digits, falling back to the narrowest group with enough diverse peers).
- Two measures: serious, willful and repeat citations per inspection, and assessed penalty dollars per inspection. Each is the observed total divided by what peers would produce on the same number of inspections, with a cushion so small samples do not swing wildly. The grade uses the geometric mean of the two, with the same A-F bands as the EPA grades.
- Companies with fewer than 15 inspections in the window are not graded.
- Deleted citations are excluded. Penalties are as currently assessed, which can be lower than proposed.
What the time windows are
- EPA inspections: the last five years (EPA's count). OSHA inspections and citations: since December 1, 2021.
- Quarters out of compliance: the last 12 quarters.
- Formal enforcement actions: all on record, no window stated.
- Compliance status: EPA's overall status at the time of the data file.
Known limitations
- This release uses EPA, OSHA, DOL wage and hour, MSHA mine safety, NLRB labor-board and CFPB complaint data. A company can look clean here and have records in agencies not covered, such as consumer-product, vehicle-safety or securities regulators. Wage and hour, NLRB, MSHA and CFPB data are shown as factual records without a grade, because large companies appear in too few cases for a fair peer comparison, and cases are matched on employer legal name, so franchisees are excluded.
- OSHA inspections are not a random sample: they follow complaints, injuries and targeting programs. The OSHA grade compares a company's inspection results with other inspected employers in the same industry; it is not a rate per worker or per workplace.
- Grades are relative to peers in EPA's data. Heavily regulated industries have more flags; broad-sector comparisons are less precise, and pages say when one was used.
- An EPA flag or penalty is an agency record. It is not a final finding of wrongdoing, and penalties can be contested or reduced.
- Grades are an analytical opinion. See the disclaimer.
Field definitions: EPA ECHO Exporter column descriptions (XLSX). Report an error on the corrections page.