Skip to content

Wip/mark mismatch - #3359

Merged
danoswaltCL merged 2 commits into
devfrom
wip/mark-mismatch
Oct 6, 2026
Merged

danoswaltCL merged 2 commits into
devfrom
wip/mark-mismatch

Conversation

@bcb37

@bcb37 bcb37 commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@bcb37
bcb37 requested review from danoswaltCL and a balanced review from Copilot October 6, 2026 17:09

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.

Copilot review overview

🟡 Changes recommended

Preview users still resolve against an enrolling-only pool, allowing /assign and /mark to disagree.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Aligns /mark experiment resolution with /assign for transitive decision-point pools.

Changes:

  • Resolves marks using the complete context pool.
  • Adds regression coverage for shared decision points.
File Description
ExperimentAssignmentService.ts Uses context-wide pooling before matching the marked decision point.
ExperimentAssignmentService.test.ts Tests assignment/mark consistency across connected pools.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/backend/src/api/services/ExperimentAssignmentService.ts
@danoswaltCL
danoswaltCL merged commit 79ccef4 into dev Oct 6, 2026
6 checks passed
@danoswaltCL
danoswaltCL deleted the wip/mark-mismatch branch October 6, 2026 18:20
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.

3 participants