I'm still seeing a problem in V33-20240305-0cb8bb8189-win_x64-devprev.
The problem seems to be with the credit best solution and the restore credit best function. A Refine Density can drop the score, and after this happens, the credit best solution is no longer stable when restored. The same issue also affects the "very best" solution, and may even hit "recent best" in some circumstances.
On the other hand, a manually saved solution is stable when restored.
My thought is that the automatically saved credit best pose doesn't include the density information found in a manually saved pose.
Manual saves are a workaround, but users often use restore credit best manually, and some recipes do as well. All the automatically saved poses need to work consistently, restoring the full context of when the save was created.
I shared "10646.192 manual save" and "Autosaved Credit Best Soloist Solution" with scientists to show the problem.
Here are the steps:
- On a fresh client, load https://fold.it/puzzles/2013801 (score 2320)
- Set low wiggle power
- Manually shake (S), wiggle (W), shake, wiggle (SWSW) (score 10336)
- Run Fuzes 1.5.1 https://fold.it/recipes/100080 (score 10446)
- Refine Density (score 10624)
- Manually SWSW again (score 10645)
- Run Fuzes again (score 10646)
- Refine Density again (score 10532)
Everything seems fine in steps 1 to 7.
The score drops at step 8, and doesn't recover (another round of SWSW and Fuzes gets it back to only 10552). I would normally abandon further work on that solution, and revert to the best scoring pose.
At this point, credit best restores the score to 10646, so everything still seems OK. But shake quickly drops the score back to 10532. That's a problem, since the previous 10646 was stable (shake and wiggle didn't change it). It seems like the updated density from step 8 wasn't replaced by the previous density from step 5.
A "fresh client" means the puzzle hasn't previously been played by the logged-in user. I have a couple of dummy accounts used for this kind of test.
I made manual saves at each step listed above. Manual saves are files like "puzzle_2013801_time_1713550604.ir_solution" in c:\Foldit or the equivalent directory. The 10646 pose has a size of 58,701 bytes.
The automatically saved credit best solution is in the file "autosave-creditbest.ir_solution" when playing as a soloist. It would be found in "C:\Foldit\puzzles\0002013801*usernum\default", where "0002013801" is the puzzle number, *usernum is the user number, and "default" is the name of the current track. The 10646 creditbest has a size of 58,766 bytes.
It's not really clear to me where the density information is being stored. I compared directories before and after replacing a step 8 unstable solution with a stable manual save. I didn't see any file differences. Even after a restart, I don't see any file changes.
I don't think all eight steps I listed are necessary to reproduce the problem. I'll try a simplified version next.