Skip to content

Add zero drift handling for purity narrative#184

Merged
LennartvdM merged 1 commit into
mainfrom
codex/add-zero-drift-branch-to-buildpuritynarrative
Nov 18, 2025
Merged

Add zero drift handling for purity narrative#184
LennartvdM merged 1 commit into
mainfrom
codex/add-zero-drift-branch-to-buildpuritynarrative

Conversation

@LennartvdM
Copy link
Copy Markdown
Owner

Summary

  • add a zero-drift branch to the purity narrative so perfect or near-perfect batches get an alignment-focused explanation
  • suppress the shortfall and worst-run paragraphs in that branch and replace the bullets with zero-drift friendly wording

Testing

  • not run (not requested)

Codex Task

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 18, 2025

Deploy Preview for wyrrdmaek ready!

Name Link
🔨 Latest commit 075f824
🔍 Latest deploy log https://app.netlify.com/projects/wyrrdmaek/deploys/691c453fe990f60008411ccf
😎 Deploy Preview https://deploy-preview-184--wyrrdmaek.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread web/app.js
Comment on lines +4332 to +4335
} else if (isZeroDriftBatch) {
paragraphs.push(
`This batch of ${totalRuns} runs is passing the purity check, with ${pureRuns} marked pure and 0 flagged impure. On average, the Share view is in near-perfect agreement with the raw schedules; totals match to within rounding error.`
);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Respect impure run count in zero‑drift narrative

The new zero‑drift branch hardcodes the sentence with ${pureRuns} marked pure and 0 flagged impure and declares the batch “passing”, ignoring the actual impureRuns value that is still calculated above. If the backend ever reports a batch with small drift (within the 1‑minute epsilon) but still has impure runs for other reasons or because counts are missing, the UI will incorrectly state that there are zero impure runs and that the batch passes. This misreports the state of the batch; the message should derive both the status word and the impure count from the data rather than assuming zero.

Useful? React with 👍 / 👎.

@LennartvdM LennartvdM merged commit f032da1 into main Nov 18, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant