Skip to content

FRLG: plan RNG attempts over SID candidates and track their outcomes - #187

Draft
dayfine wants to merge 5 commits into
frlg/rng-target-searchfrom
frlg/rng-plan
Draft

dayfine wants to merge 5 commits into
frlg/rng-target-searchfrom
frlg/rng-plan

Conversation

@dayfine

@dayfine dayfine commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Depends on #181 (base frlg/rng-target-search); the diff shows only this change.

Plans RNG attempts over SID Helper's SID candidates and tracks what each attempt's outcome means for the next one.

  • PokemonFRLG_RngPlan: SID Helper's candidates for a TID (weighted 1, 2, 3, 2, 1 from the middle), plan_rng_attempts() (each attempt is the best-ranked target over the SIDs earlier attempts leave), and plan_starter_rng(), which keeps only targets Starter RNG can wait for with room to spare.
  • PokemonFRLG_RngPlanTracker: the step after each attempt (SID narrowed or confirmed, SIDs ruled out, retry, next attempt, or stop).
  • PokemonFRLG_RngPlanTestTargets: a fixed target list for the tests.
  • RngPlan's own tests use the log lines and come in the next PR.
  • Split out of FRLG AutoStory: plan Starter RNG attempts from SID Helper's candidates #182 unchanged.

Testing

  • New RngPlanTracker unit tests; syntax-checked against frlg/rng-target-search (with Windows Clang's missing-field warning on); code health 0 failures.
  • Not run on hardware.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E

Split out of #182 unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
dayfine and others added 3 commits November 4, 2026 07:00
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