Skip to content

docs(delphi): add math-algorithm history & routing-regression reference#2613

Open
jucor wants to merge 1 commit into
edgefrom
spr/edge/31321c47
Open

docs(delphi): add math-algorithm history & routing-regression reference#2613
jucor wants to merge 1 commit into
edgefrom
spr/edge/31321c47

Conversation

@jucor

@jucor jucor commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Adds delphi/docs/MATH_ALGORITHM_HISTORY.md — a git-archaeology reference of the
core Polis math algorithms (comment routing, PCA/projection, extremity/repness,
clustering, consensus/moderation): introductions, numeric-output-changing edits,
and bugs, with verified commit hashes and dates. Includes the 2025 comment-routing
regression (#1961, fixed in #2611), the pre-2018 uniform-random routing history,
and how to map conversations to algorithm versions via the prod deploy timeline.

Sourced entirely from public git history and code — no production data.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

commit-id:31321c47


Stack:


⚠️ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

Base automatically changed from spr/edge/ec8e2093 to edge July 18, 2026 02:53
@jucor
jucor force-pushed the spr/edge/31321c47 branch from 4019f25 to b7c34ac Compare July 18, 2026 13:28
@jucor
jucor requested a review from Copilot July 21, 2026 08:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a Delphi documentation reference (delphi/docs/MATH_ALGORITHM_HISTORY.md) that summarizes the evolution of Polis’s core math algorithms (Clojure reference implementation), with emphasis on the 2025 “all-49” comment-routing regression and how to reason about when an algorithm version was deployed.

Changes:

  • Introduces a new “math algorithm history” document covering key algorithm introductions, numeric-output-changing edits, and notable bugs across routing/PCA/extremity/clustering/consensus.
  • Documents the 2025 comment-routing regression mechanism (truthy 0 in Clojure) and the Clojure-side fix in #2611, including parity implications for the Python port.
  • Provides a methodology section for mapping algorithm changes to deployments via “PROD DEPLOY” commits / stable history / blob fingerprints.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread delphi/docs/MATH_ALGORITHM_HISTORY.md Outdated
@jucor
jucor force-pushed the spr/edge/31321c47 branch from b7c34ac to 85dc08e Compare July 21, 2026 11:11
Adds delphi/docs/MATH_ALGORITHM_HISTORY.md — a git-archaeology reference of the
core Polis math algorithms (comment routing, PCA/projection, extremity/repness,
clustering, consensus/moderation): introductions, numeric-output-changing edits,
and bugs, with verified commit hashes and dates. Includes the 2025 comment-routing
regression (#1961, fixed in #2611), the pre-2018 uniform-random routing history,
and how to map conversations to algorithm versions via the prod deploy timeline.

Sourced entirely from public git history and code — no production data.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

commit-id:31321c47
@jucor
jucor force-pushed the spr/edge/31321c47 branch from 85dc08e to 66b5323 Compare July 21, 2026 19:49
This was referenced Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants