Case

Excel Compliance Checker: automated regulatory verification for concrete testing

Desktop app with drag-and-drop interface that automatically checks concrete test reports against 10 Spanish Structural Code rules. Drop an Excel file, configure the ranges, and the tool highlights everything that fails compliance, generating dynamic Ministry-compliant notes.

live Jul 2026 public
Cover for Excel Compliance Checker: automated regulatory verification for concrete testing

Step 01

Problem

Manually reviewing hundreds of rows of concrete test data to verify compliance with the Structural Code is tedious, slow, and error-prone. Each company, time period, and test type requires a full review of cement content, A/C ratio, strength, self-controls, verifications, and statistical coefficients.

Step 02

Context and constraints

At AW Certificación and external labs, concrete test reports arrive in Excel with varying structure. Each test must comply with 10 regulatory conditions (cement content, water/cement ratio, fck strength, CV, self-control frequency, monthly verifications...) and every non-compliance must be documented.

Role: Full application development (v1.0 & v2.0): drag-and-drop interface with TkinterDnD, multi-sheet analysis engine, production regime detection, configurable 10-rule system, Ministry report formatting, and control notes generation.

Step 03

Key decisions

  • Use Tkinter with native drag-and-drop so anyone can drop their files and get results instantly.
  • Configurable parameters in the UI (cement range, A/C ratio, fck strength) to adapt to different concrete types and regulatory frameworks.
  • Low Production regime logic (v2.0) that dynamically checks if the monthly testing frequency conforms to low volume regulations or standard requirements.
  • Ministry Report Mode (v2.0) that generates a clean report format using bold text instead of background fills, and adds a dedicated All World Certificación notes box.
  • Soft warning rule (v2.0) that handles minor deviations (1-3 total failures in cement/AC) by issuing a warning notice to the company instead of launching a full non-compliance procedure.
  • Packaged with PyInstaller as a standalone .exe that runs on any Windows without Python installed.

Step 04

Outcomes

  • What used to require hours of row-by-row review now runs in seconds by dropping the file.
  • 10 Structural Code rules verified automatically with visual highlighting of every non-compliance.
  • Smart Ministry report output with a dynamic notes box tailored to the exact type and amount of detected deviations.
  • Standalone .exe: double-click and it works, no installation required.

Metrics

  • 10 simultaneous validation rules: cement, A/C, fck, CV, self-control frequency, verification, Sv/Sa, d, CV10.
  • Automatic detection and exclusion of duplicate verifications on the same day (treated as warnings).
  • Unified soft warning message if total cement + A/C failures are between 1 and 3.
  • Generates either standard _REVIEWED.xlsx or Ministry-specific _MINISTERIO.xlsx output.

Step 05

Learnings and next improvement

How it works

  1. Open the app → a configurable interface appears with range fields (cement, A/C, fck strength) and a drop zone.
  2. Select report modeStandard (color-filled cells with red/yellow fills) or Ministry Review (clean layout with bold text and a final callout box containing official auditor notes).
  3. Drag Excel files onto the green drop area.
  4. The tool automatically analyzes every row of every sheet against the 10 rules, detecting the production regime (low production vs continuous) to adjust required testing frequencies.
  5. Saves the file as _REVIEWED.xlsx or _MINISTERIO.xlsx with marked cells and the compliance checklist.

The 10 Structural Code rules it checks

#RuleWhat it verifies
1Minimum 5 self-controls per monthTest frequency (with sliding window support for low production)
2Self-control same day as verificationTemporal coherence of sampling
3Cement content within rangeCement dosage compliance (Min/Max limits)
4A/C ratio within rangeWater/cement ratio (Min/Max limits)
5Value and Xn-Kn*Sn > fckConcrete strength compared to nominal fck
6CV < 0.122Coefficient of variation statistics
7At least 1 verification per monthDemands 2 verifications for continuous or 1 for low production
8Sv/Sa ≤ 1.4Statistical dispersion
9d value >= 0Statistical consistency of the production plant
10CV10 ≤ 0.1310-test coefficient of variation

Downloads and Resources

To test the application, you can download the standalone executable along with two anonymized sample spreadsheets ready to run:

Project Source Code

For transparency and code audit purposes, the complete source code of the application is available for direct download:

Step 06

Project visual for Excel Compliance Checker: automated regulatory verification for concrete testingProject visual for Excel Compliance Checker: automated regulatory verification for concrete testing