Made-up example walkthrough. Records exist only in this tab until reload. Exit to full ProjectLens
@@ -53,16 +53,16 @@
-
The schedule changed. Did the update explain it?
+
The schedule changed.Did the update explain it?
Compare two project schedules from Primavera P6 planning software with the project update. See the evidence behind the movement, then record a human decision.
-
+
Runs in your browser. Your schedule files stay with you.
-
-
Northstar Grid ConnectionSynthetic example
2 XER exports + narrative
+
+
Northstar Grid ConnectionMade-up example
2 schedule files + written update
Changes to review
@@ -91,9 +91,9 @@
From a changed date to a recorded decision.
@@ -106,7 +106,7 @@
Follow one complete review.
What can I compare?
Two supported, single-project Primavera P6 XER exports from the same source project. ProjectLens checks their identity, dates and field coverage before comparing them. Missing fields and unsupported inputs are reported.
-
Bring a change pack. Leave with clearer questions.
Start with the example, or review your own two schedule exports.
+
Bring a change pack. Leave with clearer questions.
Start with the example, or review your own two schedule exports.
@@ -115,7 +115,7 @@
Follow one complete review.
Add your two XER files
XER is the schedule export format from Primavera P6 planning software. Export both schedules (File → Export → Primavera XER): the previous submission and the current one. Your browser reads the files and uploads nothing. Add the narrative if you want ProjectLens to check what the update claims.
- Supporting evidence & public-record contextOptional context · schedule movements · narrative checks
+ Supporting evidence and public-record contextSchedule movements, narrative checks and optional examples from public records
diff --git a/docs/change-assurance.js b/docs/change-assurance.js
index 89a0cba..c915132 100644
--- a/docs/change-assurance.js
+++ b/docs/change-assurance.js
@@ -310,6 +310,16 @@ async function inputIdentity() {
return [...new Uint8Array(digest)].map(byte => byte.toString(16).padStart(2, "0")).join("");
}
+// The four change counts as one plain sentence, each with its meaning.
+function numbersSentence(changes) {
+ const count = (value, one, many) => `${value} ${value === 1 ? one : many}`;
+ const activities = changes.changes.length;
+ return `Between the two schedules, ${count(activities, "activity has", "activities have")} changed dates, spare time or fixed dates, or ${activities === 1 ? "was" : "were"} added or removed; `
+ + `there ${changes.constraintChanges === 1 ? "is" : "are"} ${count(changes.constraintChanges, "constraint change", "constraint changes")} (imposed dates or rules); `
+ + `${count(changes.floatErosion, "activity has", "activities have")} less spare time before delaying the finish (total float erosion); `
+ + `and ${count(changes.relationChanges, "activity link has", "activity links have")} changed (predecessor, successor, link type or lag).`;
+}
+
function renderReview(review, restoredContext = null) {
assuranceState.review = review;
$("#revisedNarrative").value = $("#assuranceNarrative").value;
@@ -338,7 +348,7 @@ function renderReview(review, restoredContext = null) {
$("#decisionWarning").hidden = ready;
$("#requestList").innerHTML = review.blockers.map((blocker, index) => `
- Question ${String(index + 1).padStart(2, "0")} · ${escapeHtml(blocker.type)}${escapeHtml(questionFor(blocker))}${escapeHtml(blocker.detail)}`).join("");
+ Question ${index + 1} · ${escapeHtml(blocker.type)}${escapeHtml(questionFor(blocker))}${escapeHtml(blocker.detail)}`).join("");
const facts = [
["Scheduled finish", review.finishMovement === null ? "Not comparable" : `${review.finishMovement > 0 ? "+" : ""}${review.finishMovement} days`, `${formatDate(review.previous.project.scheduledFinish)} → ${formatDate(review.current.project.scheduledFinish)}`],
@@ -350,7 +360,7 @@ function renderReview(review, restoredContext = null) {
];
$("#evidenceSummary").innerHTML = facts.map(([label, value, detail]) => `
${escapeHtml(label)}${escapeHtml(value)}${escapeHtml(detail)}`).join("");
- $("#reviewFacts").innerHTML = facts.slice(1, 5).map(([label, value, detail]) => `
${escapeHtml(label)}
${escapeHtml(value)}
${escapeHtml(detail)}
`).join("");
+ $("#reviewFacts").textContent = numbersSentence(review.changes);
// kick off cited precedent retrieval — XER never leaves the browser; only narrative + blockers
assuranceState.precedents = { items: [], used: {}, ignored: {}, summary: null, mode: null };
@@ -434,7 +444,7 @@ function renderPrecedentPanel({ loading = false, offline = false } = {}) {
// three skeletons so a 3–8s retrieve doesn't look like a broken one-card grid
host.innerHTML = [1, 2, 3].map(n => `
- Retrieving ${String(n).padStart(2, "0")}
+ Retrieving ${n}Loading comparable public evidence
Asking the RAG sidecar for similar published programme records…
XER files stay in this browser
@@ -516,7 +526,9 @@ function pendingPrecedentIds() {
function updateDecisionGateState() {
const pending = pendingPrecedentIds();
$("#precedentGateBanner").hidden = false;
- $("#precedentGateBanner").textContent = `Public-record context is optional. ${pending.length} example${pending.length === 1 ? " is" : "s are"} not reviewed. Saving preserves that status.`;
+ $("#precedentGateBanner").textContent = pending.length
+ ? "You can save without reviewing the optional public-record examples. They stay marked as not reviewed."
+ : "You have marked every public-record example. Your choices are saved with the decision.";
// One section-level status, not repeated instructions on every card.
$("#precedentSectionGate").hidden = true;
$("#decisionForm button[type=submit]").disabled = false;
@@ -639,7 +651,7 @@ async function loadDemo() {
fetch("demo/northstar-current.xer"),
fetch("demo/northstar-narrative.txt"),
]);
- if (![previousResponse, currentResponse, narrativeResponse].every(response => response.ok)) throw new Error("The Northstar evidence could not be loaded.");
+ if (![previousResponse, currentResponse, narrativeResponse].every(response => response.ok)) throw new Error("The example project files could not be loaded.");
const [previousText, currentText, narrative] = await Promise.all([previousResponse.text(), currentResponse.text(), narrativeResponse.text()]);
assuranceState.files.previous = { name: "northstar-previous.xer", text: previousText };
assuranceState.files.current = { name: "northstar-current.xer", text: currentText };
@@ -649,7 +661,7 @@ async function loadDemo() {
$("#assuranceCurrentName").textContent = "northstar-current.xer";
$$(".assurance-file").forEach(card => card.classList.add("loaded"));
$("#runAssuranceReview").disabled = false;
- $("#intakeMessage").textContent = "Northstar demo pack loaded. Checking readiness…";
+ $("#intakeMessage").textContent = "Example project loaded. Checking readiness…";
// Go straight to the review. Scrolling to the intake first raced the review's own scroll
// and left visitors past the summary and the decision button.
const previous = parseXer(previousText, assuranceState.files.previous.name);
@@ -662,7 +674,7 @@ async function loadDemo() {
showError(error.message);
} finally {
button.disabled = false;
- button.innerHTML = "Try the Northstar example →";
+ button.textContent = "Try the example project";
}
}
@@ -689,7 +701,7 @@ function renderDecisionRegister() {