Skip to content

refactor: split score orchestration into named stages - #237

Open
MoonBoi9001 wants to merge 1 commit into
mb9/seed-the-sampler-when-no-seed-is-givenfrom
mb9/split-score-orchestration-into-stages
Open

MoonBoi9001 wants to merge 1 commit into
mb9/seed-the-sampler-when-no-seed-is-givenfrom
mb9/split-score-orchestration-into-stages

Conversation

@MoonBoi9001

@MoonBoi9001 MoonBoi9001 commented Sep 10, 2026

Copy link
Copy Markdown
Member

This PR splits the function that runs 1 full scoring pass into named stages (resolve location, score latency, merge, transform) with no intended change to the scores, and adds an end-to-end test for the partial no-GeoIP path.

@MoonBoi9001
MoonBoi9001 added this pull request to stack #242 September 10, 2026 13:51
@MoonBoi9001
MoonBoi9001 marked this pull request as ready for review September 10, 2026 13:54
The function that runs a full scoring pass did GeoIP demotion, neutral column filling, the
whole latency regression and the DIP pricing merge inline, which made its branching hard to
follow. Each of those is now its own helper and the orchestrator reads as a short sequence.
@MoonBoi9001
MoonBoi9001 force-pushed the mb9/split-score-orchestration-into-stages branch from 6fc5565 to 3928ac9 Compare September 10, 2026 14:15
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.

1 participant