Skip to content

Adding session import/export - #183

Merged
sidprasad merged 5 commits into
mainfrom
keep-updating
Jan 21, 2026
Merged

Adding session import/export#183
sidprasad merged 5 commits into
mainfrom
keep-updating

Conversation

@sidprasad

Copy link
Copy Markdown
Owner

Adding session import/export for externalization,reproducability.

@sidprasad
sidprasad merged commit 7a1fc01 into main Jan 21, 2026
1 check passed

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

Copy link
Copy Markdown

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.

Reviewed commit: 8d16a82998

ℹ️ 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 src/pickController.ts
Comment on lines 409 to 412
for (const candidate of this.candidates) {
if (candidate.eliminated) {
continue;
}
const matches = this.analyzer.verifyMatch(word, candidate.pattern);

if (matches) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep vote replay consistent with eliminated updates

This loop now updates votes for all candidates (including eliminated ones), but recalculateVotes() still skips eliminated candidates when replaying history. That means any action that triggers a replay (e.g., updateClassification or refineCandidates) will silently drop the post‑elimination vote updates you just added here, leading to different vote totals and potentially different final selections/exports after an edit. To avoid this divergence, recalculateVotes() should mirror the new behavior and keep updating eliminated candidates too.

Useful? React with 👍 / 👎.

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