Skip to content

Preserve study plan context on submissions - #3

Open
SpideyPotter wants to merge 1 commit into
Nano-AI:mainfrom
SpideyPotter:codex/study-plan-progress
Open

SpideyPotter wants to merge 1 commit into
Nano-AI:mainfrom
SpideyPotter:codex/study-plan-progress

Conversation

@SpideyPotter

Copy link
Copy Markdown

Accepted TUI submissions could appear in LeetCode history while the official study plan still showed the problem as incomplete. A browser capture showed that LeetCode sends study_plan_slug in the submission JSON and includes the plan context in the problem-page Referer.

This change passes the selected plan slug through the TUI and sends it in both places. The submit endpoint and regular request shape stay the same. Regression tests cover both plan and regular submissions.

The reporter confirmed the patched binary advances official Top Interview 150 progress. Submission regression tests passed. Full local suite verification was limited by Node runtime failures in the JS/TS runner tests and a timeout in the TUI test harness.

This branch has not been deployed

No deployments
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