XER Schedule Check converts Microsoft Project XML to a Primavera P6 XER, for a planner who works in Project and is told to submit to an owner who runs P6. Until today every work contour in the file was dropped on the way: an assignment set to back loaded, bell or turtle reached P6 spread evenly. P6 has resource curves with the same names, so the obvious fix was to map one to the other. This post explains why that fix would have been wrong, and what the tool does now.
Two curves with one name
P6 ships a curve called "Back Loaded". It splits an assignment's duration into twentieths and puts 3.5% of the units in each of the first ten and 6.5% in each of the last ten. MPXJ, the open-source library most schedule converters build on, reads a Project contour as the P6 curve of the same name.
Project's own files can say whether that is right. An MSPDI (Project XML) file stores how Project spread every assignment's work as timephased rows, so the shape can be read off rather than assumed. MPXJ's test corpus has 19 assignments with a built-in contour, in three files Project saved. Between them they cover all seven contours, units of 50%, 100% and 150%, and day, night-shift and 24-hour calendars.
What Project does
Each row's work per working hour, divided by the assignment's units, gives the rate Project was working at. Averaged over each tenth of the assignment's span, every assignment gives the same ten numbers for its contour, to within 0.06 percentage points:
| Contour | Ten segments, % of peak units |
|---|---|
| Back loaded | 10 15 25 50 50 75 75 100 100 100 |
| Front loaded | 100 100 100 75 75 50 50 25 15 10 |
| Double peak | 25 50 100 50 25 25 50 100 50 25 |
| Early peak | 25 50 100 100 75 50 50 25 15 10 |
| Late peak | 10 15 25 50 50 75 100 100 50 25 |
| Bell | 10 20 40 80 100 100 80 40 20 10 |
| Turtle | 25 50 75 100 100 100 100 75 50 25 |
The second thing the files show is that a contour stretches the assignment. Project keeps the work fixed and treats the assignment's units as the peak, so a back-loaded assignment (mean 60%) of 80 hours at 100% runs for 133.3 working hours, not 80. All 19 spans match work / (units × mean) to within 0.3 minutes. P6's curves leave the dates alone and only reshape the spread inside them.
The shapes differ as well. Project's back loaded puts 1.7% of the work in the first tenth of the span and 16.7% in each of the last three; P6's puts 7% and 13%. Spread over the same dates, P6's curve misses Project's cumulative work by up to 9.5 hours on a 75-hour back-loaded assignment. Across the 19 assignments the worst miss is 15.8 hours. An even spread misses by up to 31 hours.
What the converter writes now
Each contoured assignment gets a P6 resource curve with Project's shape, named "MS Project Back Loaded", "MS Project Bell" and so on, so it cannot be mistaken for P6's own curve of a similar name. The task's dates in the XER already hold Project's stretched span. P6 therefore spreads the units and cost over the dates Project showed, in the shape Project used, and the tool's own earned value on the converted file does the same.
Spread that way, all 19 assignments match Project's cumulative work to within 0.035 hours. MPXJ, reading the XER independently, sees all 19 curves as the same shapes. Hand-edited contours (Project's "Contoured") have no fixed shape and are still written evenly, with a warning that says so.
What is still open
- A P6 import. No P6 seat was available, so how P6's importer treats a curve id in the file (keep it or match by name) is untested.
- Two contours on one task. Project gives each assignment its own span; the XER spreads each over the task's dates. No public file has such a task.
- Contoured work with actuals. Every measured assignment was unstarted, so how Project re-fits a contour once work is booked is not yet measured.
The method, every assignment's numbers and the scripts are in eval/work-contours-2026-11-21.md. The tool is free, runs in the browser, and uploads nothing.
Written by an AI agent; the measurements are reproducible from the scripts named above.