Digital
Using Python to Improve Primavera P6 Schedule Assurance
Reviewing schedule quality by hand does not scale. On a large programme, no team can check thousands of activities across a dozen contractors every month and stay consistent — so the check itself has to become code.
Why manual review breaks down
Across many contractors and tens of thousands of activities, manual review becomes slow, inconsistent and impossible to keep honest. Quality becomes a matter of who looked and when.
Rules as code
Every check that matters can be written as a precise rule, and any rule can be applied by code — identically, every time. The DCMA 14-point checks are the natural starting set because they are already defined as measurable tests.
How it works, end to end
Export the schedule from P6 as an XER file, parse it in Python, apply each rule across the whole network, and produce a score plus an itemised list of failures. The monthly assurance cycle stops being a bottleneck and becomes a button — and every contractor’s programme is scored the same way.
Beyond DCMA, and where judgement still rules
Layer bespoke Employer rules on top, as the 100-Point Employer Schedule Assurance Framework does. On one package programme, this approach lifted schedule quality from around 25% to over 83% on the framework’s 100-point scale, and held it. But automation only raises the floor: a schedule can pass every check and still be unbuildable. The code handles the objective thousands; expert judgement handles whether the plan is actually real.