Current.GetScore() doesn't refresh filter

Case number:699969-2000784
Topic:General
Opened by:Bruno Kestemont
Status:Closed
Type:Bug
Opened on:Monday, June 1, 2015 - 14:43
Last modified:Wednesday, June 3, 2015 - 12:19

In the example bellow, BonusEnergy() gives the filter bonus (e.g. 810).
On the same puzzle, BonusRank() returns 0

Is it normal that current.GetScore() does not refresh the filter bonus?

On a puzzle with bonus = 810:
BonusEnergy()
behavior.SetSlowFiltersDisabled(false)
ScoreFilterEnabled=current.GetEnergyScore()
behavior.SetSlowFiltersDisabled(true)
ScoreFilterDisabled=current.GetEnergyScore()
Bonus=ScoreFilterEnabled-ScoreFilterDisabled
return Bonus
end
BonusEnergy() returns 810

BonusRank()
behavior.SetSlowFiltersDisabled(false)
ScoreFilterEnabled=current.GetScore()
behavior.SetSlowFiltersDisabled(true)
ScoreFilterDisabled=current.GetScore()
Bonus=ScoreFilterEnabled-ScoreFilterDisabled
return Bonus
end
BonusRank()returns 0

(Mon, 06/01/2015 - 14:43  |  3 comments)


Joined: 09/24/2012
Groups: Go Science

either current.GetEnergyScore() does not refresh at start ...

When it comes in a more complex function, it works.

Is there any delay for refreshing?

brow42's picture
User offline. Last seen 1 year 19 weeks ago. Offline
Joined: 09/19/2011
Groups: None

A related question: The help for scoreboard.GetScore and scoreboard.GetGroupScore explicitly say they return rosetta energy. Is this still the case? Or do they return the creditbest with the filter bonus?

Joined: 09/24/2012
Groups: Go Science
Status: Open » Closed

Sorry, it was a Lua mistake in my recipe ... ;(

No bug.

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, Boehringer Ingelheim, RosettaCommons