Skip to main content
Docs App Settings

FSRS algorithm settings

How to view, edit and optimize your FSRS parameters in Settings: the status badge, manual editing, readiness, and when optimization unlocks again.

On this page

The General section of the Settings screen has an target icon FSRS algorithm row. It shows which set of scheduling parameters your account is currently using and opens a modal where you can edit them manually or have them optimized automatically from your review history.

For what FSRS is and why parameters matter in the first place, see Learning methodology. This article only covers the Settings-screen controls.

The status badge

The value shown next to FSRS algorithm in Settings is one of three states:

Status Meaning
Default You're using FSRS's standard, unpersonalized parameters.
Custom You've manually edited at least one parameter.
Optimized Your parameters were generated by running optimization on your own review history.

This badge reflects which parameter set is active. It does not reflect whether an optimization is currently running. If a background optimization is in progress, that only shows inside the modal, described below.

If you manually edit parameters back to the exact default values, the badge returns to Default even if it previously said Custom or Optimized. Saving your last optimized values (see Load Optimized Values below) sets it back to Optimized.

Editing parameters manually

Tapping the status row opens a parameter editor showing all 21 FSRS parameters as a raw JSON array. This is an advanced option: most people never need to touch it.

  • Edit the array directly and tap Save. The array must have exactly 21 numeric values.
  • Load Optimized Values fills the field with the parameters from your last optimization. It only appears if you have optimized before and are now using default or edited values.
  • Load Default Values resets the field to FSRS's standard parameters.

Saving values that differ from both the defaults and your last optimized values sets your status to Custom. Saving your last optimized values sets it back to Optimized without running a new optimization. This editor is available to every user; it isn't a Pro feature.

Warning

Manual editing is intended for advanced users. Incorrect parameters can affect how your reviews are scheduled.

Automatic optimization

Optimization analyzes your own review history and computes personalized parameters from it, aiming for more accurate scheduling than the defaults provide. It's a flangu Pro feature.

Readiness

The modal shows a readiness indicator with your review count and the count you need. Optimization needs a meaningful amount of review history to produce reliable parameters, so the Optimize Parameters button stays disabled until you have enough.

The count includes only the reviews optimization can learn from:

  • A review counts when it happens on a later day than that card's previous review. A new day starts at 4 AM. Repeating a card on the same day doesn't add to the count.
  • The first review of each card doesn't count, because there is no earlier review to compare it with.
  • Only the first 64 reviews of each card count.

Your first optimization needs 512 of these reviews. Below that, the indicator moves from "More reviews needed" to "Almost there" to "Ready for optimization" as your count climbs.

The modal reads these numbers from flangu's servers each time you open it. If you're offline, it says it couldn't load your review count. You can still tap the button, and flangu tells you if you don't have enough reviews yet.

The modal also shows when your parameters were last optimized: Never, Today, Yesterday, or a relative time further back.

Running it

Once you're ready, tap Optimize Parameters. flangu queues the job and hands control back to you immediately: the modal closes and a message confirms optimization has started. You don't need to keep the app open or stay on this screen. The modal's own note says it typically takes one to two minutes, though it can take longer depending on how many reviews you have.

Optimization compares the newly computed parameters with the ones you're using now. If your current parameters already fit your review history better, flangu keeps them. That run still counts as your last optimization, so the 20% rule described below applies after it too.

Optimization does not report progress inside the modal. Its result reaches you two ways:

  • The FSRS algorithm status updates to Optimized the next time your device syncs, unless your current parameters were kept.
  • A push notification confirms the outcome: new parameters, current parameters kept because they already fit best, or a failure.

If you tap Optimize Parameters again while one is already running, flangu tells you an optimization is already in progress rather than starting a second one.

If a run fails, the button changes to Retry Optimization and the modal shows the error message it received.

Running it again

After a successful optimization, the next one unlocks once your count has grown by 20% since that run. For example, if your last optimization used 1,000 reviews, the next one unlocks at 1,200.

Optimization learns from your whole review history each time, so a handful of new reviews barely changes the result. Waiting for 20% more history gives the new run something to learn from. With a small history this takes a few days; with a large one it can take a month or two.

Until it unlocks, the indicator shows how many more reviews you need, and the button stays disabled. The limit applies whichever parameters you're using. If you changed your parameters after optimizing, use Load Optimized Values to get your optimized ones back instead.

You can also start at most three optimizations a day.