Commit 400c7d6
Reconstruct encoded sequence before evaluation in MCTS simulation (#294)
## 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 `N`s), 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>
Co-authored-by: WHOIM1205 <your-email@users.noreply.github.com>1 parent 10b8fae commit 400c7d6
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
231 | 234 | | |
232 | 235 | | |
233 | 236 | | |
| |||
0 commit comments