Developer Preview Release Soon

Started by jflat06

jflat06 Staff Lv 1

Hey everyone,

We're about to release an update to the developer preview with some fixes and an exciting new feature:

New Feature: Metrics

Metrics are computationally expensive filters. Since metrics take much longer to compute, we are handling them differently from normal filters.

As you fold, Foldit will be computing these metrics in the background. Once the metrics catch up to the current state of your protein, your score will update. Until they catch up, your score will be invalid, but you can still use Foldit like normal without things slowing down to a crawl. In practice, your score will catch up shortly after you finish using a tool. In recipes, we're adding a function that waits for the full metric score if you need that value.

Keep an eye out for an upcoming blog post on metrics!

General:

  • Updated logging to provide more useful information. This will help us debug better, and will also help us track down rogue logfile output and remove it.

Recipes:

  • Added lua functions for metrics.

Bug Fixes:

  • Remix results are now more reproducible.
  • Removed some rogue logfile output.
  • Fixed some issues with tutorial tips.
  • Added more info to the Windows crash reports.

Bletchley Park Lv 1

Can we disable this metrics functionality to preserver compatibility with old recipes ? If not I foresee a lot of work on old recipes (and new ones).

bkoep Staff Lv 1

Yes, the metrics can be disabled.

In recipes, the metrics will behave differently than regular Objectives. Rather than enabling/disabling metrics, scripts will need to actively query the metrics. All old recipes should continue to work, and will simply ignore the new metrics.

We'll have more details in an upcoming blogpost!

LociOiling Lv 1

This release has three new functions in the "metric" namespace.

At the moment, these functions only work on the devprev puzzle LCB1 Binder with Metrics.

My guess is that once devprev goes to main, we'll see puzzles in which the metrics award a bonus.

The new functions are:

  • metric.GetNames
  • metric.GetBonus
  • metric.GetBonusTotal </ul> On the current for-points puzzles which have the informational metrics, metric.GetNames returns an empty table, and metric.GetBonusTotal returns -0, an apparent nod to ancient Honeywell mainframes.

jflat06 Staff Lv 1

Bug Fixes:

  • Fixed a crash with mutate under certain situations.
  • Fixed some areas of the display sometimes showing the score with metrics, and sometimes not.

jflat06 Staff Lv 1

General:

  • You score now updates while tools are running in metric puzzles. This score does not include the metric bonuses/penalties.