Back to Recipes Homepage
recipe picture
Recipe: move tester 1.0
Created by LociOiling 8 1
5
Your rating: None Average: 5 (1 vote)

Profile

Name: move tester 1.0
ID: 102440
Created on: Wed, 08/02/2017 - 18:17
Updated on: Thu, 08/03/2017 - 01:17
Description:

Test Foldit Lua functions for their impact on the move count in sketchbook puzzles.



Best For


Comments

LociOiling's picture
User offline. Last seen 3 hours 6 min ago. Offline
Joined: 12/27/2012
Groups: Beta Folders
for sketchbook puzzles...

This recipe calls most of the Foldit Lua functions, pausing after each one.

This allows you to look at the "moves remaining count" to see if it has changed. (There's no way to do this automatically.)

To use this recipe, open a sketchbook puzzle and reset the puzzle if you've already worked on it. Open the "conditions satisfied" dropdown and adjust it so you can see the "Move Count Limit" filter.

Run the recipe. Some functions,such as "print", are skipped. The recipe pauses after each function it does test, giving you a chance to see whether the move count has changed.

(Hint: if you drag the "More!" window up near the move count limit filter, it'll will appear there again the next time, making it easier to keep track.)

The functions that change the move count include:

    behavior.SetFiltersDisabled
    rotamer.SetRotamer
    save.LoadSecondaryStructure
    structure.InsertCut
    structure.LocalWiggleAll
    structure.LocalWiggleSelected
    structure.MutateSidechainsAll
    structure.MutateSidechainsSelected
    structure.RebuildSelected
    structure.RemixSelected
    structure.ShakeSidechainsAll
    structure.ShakeSidechainsSelected
    structure.WiggleAll
    structure.WiggleSelected

Most of these are as expected, but save.LoadSecondaryStructure and behavior.SetFiltersDisabled were surprises. Also, the "MutateSidechains" functions count as moves even on puzzles with no mutable sidechains.

LociOiling's picture
User offline. Last seen 3 hours 6 min ago. Offline
Joined: 12/27/2012
Groups: Beta Folders
behavior.SetFiltersDisabled now free

Filter toggling is free, see the feedback for details. Unfortunately, save.LoadSecondaryStructure still costs, but that one is easy to get around.

The current list of functions which cost is:

    rotamer.SetRotamer
    save.LoadSecondaryStructure
    structure.InsertCut
    structure.LocalWiggleAll
    structure.LocalWiggleSelected
    structure.MutateSidechainsAll
    structure.MutateSidechainsSelected
    structure.RebuildSelected
    structure.RemixSelected
    structure.ShakeSidechainsAll
    structure.ShakeSidechainsSelected
    structure.WiggleAll
    structure.WiggleSelected

Of course, the move tool itself still costs a move each time you touch it, which seems to spoil the "hand folded" ethic of the sketchbook puzzles.

LociOiling's picture
User offline. Last seen 3 hours 6 min ago. Offline
Joined: 12/27/2012
Groups: Beta Folders
more for the move list

Missed these:

structure.IdealizeSelected
structure.InsertResidue
structure.DeleteResidue

Not sure how I missed IdealizeSelected, but InsertResidue and DeleteResidue are rarely used.

Good news, however, InsertResidue and DeleteResidue don't cost anything on puzzles where they don't do anything.

Want to try?
Add to Cookbook!
To download recipes to your cookbook, you need to have the game client running.
Parent

none

Children

none

Authors
Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons