Skip to content

Reconstruct encoded sequence before evaluation in MCTS simulation#294

Merged
NennoMP merged 1 commit into
gc-os-ai:mainfrom
WHOIM1205:fix/mcts-simulation-unreconstructed-sequence
Apr 8, 2026
Merged

Reconstruct encoded sequence before evaluation in MCTS simulation#294
NennoMP merged 1 commit into
gc-os-ai:mainfrom
WHOIM1205:fix/mcts-simulation-unreconstructed-sequence

Conversation

@WHOIM1205

Copy link
Copy Markdown
Contributor

Fix incorrect sequence evaluation in MCTS simulation

What was happening

During simulation, we were passing encoded sequences (with _ markers) directly to the evaluator. These got converted into invalid sequences internally (full of Ns), so the scores driving the MCTS search were basically meaningless.

What’s changed

We now reconstruct the sequence using _reconstruct() before evaluation, so the model sees the actual nucleotide sequence.

Why it matters

This ensures the search is guided by real scores instead of corrupted ones, making the generated candidates much more reliable.

Signed-off-by: WHOIM1205 <rathourprateek8@gmail.com>
Signed-off-by: WHOIM1205 <your-email@users.noreply.github.com>
@siddharth7113 siddharth7113 requested a review from NennoMP April 8, 2026 08:53
@NennoMP

NennoMP commented Apr 8, 2026

Copy link
Copy Markdown
Collaborator

@WHOIM1205 You are right. Thanks for spotting this!

@NennoMP NennoMP added the bug Something isn't working label Apr 8, 2026
@NennoMP NennoMP merged commit 400c7d6 into gc-os-ai:main Apr 8, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants