# Anki 24.10 Beta

**URL:** <https://forums.ankiweb.net/t/anki-24-10-beta/49989>\
**Category:** Beta Testing\
**Created:** [September 27, 2024, 11:28am UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989 "2024-09-27T11:28:29Z")\
**Posts on this page:** 20\
**Page:** 7

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [October 4, 2024, 3:22pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/128 "2024-10-04T15:22:41Z")

</div>

> Is the short term scheduler already been enabled ❓

No. Dae says he will merge this PR later, so it will be enabled in the next beta release.

Try resetting parameters to default (click the circle-arrow thingy to the bottom right of the parameters field) and run the optimizer again.

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [October 4, 2024, 3:47pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/129 "2024-10-04T15:47:03Z")

</div>

> Dae says he will merge this PR later, so it will be enabled in the next beta release.

Very excited!!!

* * *

> Try resetting parameters to default (click the circle-arrow thingy to the bottom right of the parameters field) and run the optimizer again.

This only works with a single preset. For different decks with different presets, pressing Optimise all presets causes the parameters to remain at 17 not 19 in total.

Does this have anything to do with this ❓  
[Properly convert FSRS 4.5 parameters into FSRS 5 parameters · Issue #3463 · ankitects/anki (github.com)](https://github.com/ankitects/anki/issues/3463)

Soooo is there a way to resets parameters of all presets back to default ❓

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [October 4, 2024, 4:01pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/130 "2024-10-04T16:01:39Z")

</div>

> [@DerIshmaelite](#):
>
> Does this have anything to do with this

No, that’s a different issue.

> [@DerIshmaelite](#):
>
> Soooo is there a way to resets parameters of all presets back to default

Nope.

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [October 4, 2024, 4:04pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/131 "2024-10-04T16:04:06Z")

</div>

Could you start a new issue on GitHub for this.

## To reproduce this error:

\*Have multiple decks with different presets with old FSRS 4.5 (17 parameters)  
\*Clicking on Optimise All Presets optimises the FSRS values, but with the same old number of parameters (17 instead of 19 of FSRS 5)

---

<div class="post-metadata">

**Author:** ![vaibhav](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@vaibhav](https://forums.ankiweb.net/u/vaibhav)\
**Post date:** [October 4, 2024, 4:12pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/132 "2024-10-04T16:12:13Z")

</div>

IMO, this is not a bug. If it happens, it means that the older parameters are better than the new ones, which is why Anki is not saving the new parameters.

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [October 4, 2024, 4:26pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/133 "2024-10-04T16:26:48Z")

</div>

But when I replace it with default values, pressing optimise shows different values (but with the appropriate number of parameters,19.)

Also, not once have I seen a parameter number of 19 in all my deck presets and I have 200+ deck presets, which is pretty suspect.

---

<div class="post-metadata">

**Author:** ![vaibhav](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@vaibhav](https://forums.ankiweb.net/u/vaibhav)\
**Post date:** [October 4, 2024, 4:40pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/134 "2024-10-04T16:40:58Z")

</div>

> [@DerIshmaelite](#):
>
> But when I replace it with default values, pressing optimise shows different values

Click `Evaluate` on the old parameters and the new parameters (obtained after optimizing after replacing with default values).

If the new parameters have a higher RMSE, then Anki is doing it right (by not replacing your old parameters with the new ones).

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [October 4, 2024, 4:44pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/135 "2024-10-04T16:44:53Z")

</div>

In some cases, it turns out higher, and in other cases, it turns out lower. There is no real correlation. So weird…

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [October 4, 2024, 4:46pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/136 "2024-10-04T16:46:02Z")

</div>

That’s strange. Are you sure you are doing it properly?

1. Click “Evaluate” and record the RMSE of your current parameters
2. Reset them
3. Click “Optimize”
4. Click “Evaluate” and record RMSE of the new parameters

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [October 4, 2024, 4:53pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/137 "2024-10-04T16:53:25Z")

</div>

Hmm, I am noticing that not all my optimized decks have 17 parameters. Some which I have not touched have 19. And it seems that whenever I force a deck that has 17 parameters after optimizing to have 19, it has a worse-off RMSE value.

Does this mean, can FSRS 5 have both 17 and 19 parameters at the same time ❓ If so, then maybe this was a false alarm, and this was no bug after all.

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [October 4, 2024, 4:59pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/138 "2024-10-04T16:59:09Z")

</div>

In 24.10 beta two zeros are “silently” appended at the end, so when you see 17 parameters, it’s actually 17+two zeros=19

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [October 4, 2024, 4:59pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/139 "2024-10-04T16:59:50Z")

</div>

No, I see no zeros. It is just 17 different discrete numbers.

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [October 4, 2024, 5:00pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/140 "2024-10-04T17:00:17Z")

</div>

The zeros are appended “behind the scenes”, you won’t see them.

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [October 4, 2024, 5:00pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/141 "2024-10-04T17:00:43Z")

</div>

Oh, that clears up things. 😅

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [October 4, 2024, 11:11pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/142 "2024-10-04T23:11:20Z")

</div>

Fixed in the new beta

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [October 5, 2024, 12:38am UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/143 "2024-10-05T00:38:04Z")

</div>

I’m having a really _strange_ problem.  
I have a notetype where one of the cards asks me for the pronunciation of a Japanese word, and it requires me to type in hiragana.  
But for some reason, when I do that, it tells me that my input doesn’t match the required input. I even tried copying the hiragana from it’s field (“Reading”) and pasting it in the input field to make sure I’m not going insane. Nope, check fails even if I literally copy-paste the correct answer.  
Never had this problem before, on any Anki version. What’s even weirder is that it seems to be specific to this notetype. What’s **even weirder** is that some hiragana is fine, but other is not, and I can’t figure out the pattern.

Gif just so you can see what’s wrong:  
 ![ezgif-1-3472f0df87](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/1/8/184af82d2967b76abc981e279e15f07b6afdf416.gif)

A note so you can reproduce it: [Note.apkg - Google Drive](https://drive.google.com/file/d/1yWWnLccarIVnhgaCfPNqI3AT_COGTdVm/view?usp=sharing)

EDIT: idk if this will help, but I think the following hiragana characters cause problems: が, ぎ, ぐ, げ, ご, ざ, じ, ず, ぜ, ぞ, だ, ぢ, づ, で, ど, ば, び, ぶ, べ, ぼ. In other words, everything that has a ゛diacritic. I can’t even begin to imagine why, but that’s the only consistent pattern that I found.

---

<div class="post-metadata">

**Author:** ![jcznk](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/jcznk/32/15215_2.png) [@jcznk](https://forums.ankiweb.net/u/jcznk)\
**Post date:** [October 5, 2024, 1:58am UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/144 "2024-10-05T01:58:14Z")

</div>

It seems the new type-in-the-answer code automatically converts `が` to `が` on the back of the card. At first glance, they look identical, but the second one is actually composed of `か` plus a separate `゛` diacritic. If you copy and paste `が` somewhere, you can remove the dakuten by placing the cursor after the character and pressing backspace.

This doesn’t cause any issues when using Anki’s default code for evaluating typed answers, as the conversion occurs for both strings being compared. In your case, though, the issue arises because your note type uses a custom comparison script, which compares the typed answer (with the converted character) to the original content of the field.

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [October 5, 2024, 5:54am UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/145 "2024-10-05T05:54:02Z")

</div>

It has to do with Unicode normalisation [Adding/Editing - Anki Manual](http://docs.ankiweb.net/editing.html#unicode-normalization)

I think that debug console command may help you depending on your input method. Of course, if the issue is some script in your note type it’s better to remove that.

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [October 5, 2024, 10:23am UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/146 "2024-10-05T10:23:38Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![jcznk](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/jcznk/32/15215_2.png) [@jcznk](https://forums.ankiweb.net/u/jcznk)\
**Post date:** [October 5, 2024, 8:26pm UTC](https://forums.ankiweb.net/t/anki-24-10-beta/49989/147 "2024-10-05T20:26:39Z")

</div>

I’ve adapted your script to accommodate the current type-in-the-answer behavior. Please note that this is a quick fix (I’ve simply added a few replacements), and may not represent a perfect or permanent solution.

```auto
<script>
//some addons read the script too early:
if (document.getElementById('typeans')){

    var typedAnswer;
    var correctAnswer = document.getElementById('correctAnswer').innerText;

    var typedAnswer_element = document.getElementById('typeans');
    if (typedAnswer_element.querySelector('.typegiven')){

        // the "typegiven" class exists only on iphone:
        typedAnswer = typedAnswer_element.querySelector('.typegiven').querySelector('.typeBad').innerText;

    } else if (typedAnswer_element.querySelector('.typeBad')){

        //for pc and android:
        typedAnswer = typedAnswer_element.querySelector('.typeBad').innerText;

    } else {

        //if failed to detect answer
        typedAnswer = "";

    }

    // Separate dakuten and handakuten from base characters
    function separateDiacritics(str) {
        return str.normalize('NFD');
    }

    // Apply the conversion to correctAnswer
    correctAnswer = separateDiacritics(correctAnswer);

    //this part of code below is ugly and could be improved
    var means = correctAnswer.split(",");
    var mean = typedAnswer.split(new RegExp(',|、', 'g'));
    var found = true;

    for (var i = 0; i < means.length; i++) {
        means[i] = means[i].trim().toUpperCase();
    }
    for (var i = 0; i < mean.length; i++) {
        mean[i] = mean[i].trim().toUpperCase();
        if (means.indexOf(mean[i]) === -1) {
            found = false;
        }
    }

    // Modify answer output
    if (typedAnswer === "") {
        //if answer is empty on pc or failed to detect answer
        document.getElementById('typeans').style.display = "none";
    } else if (found) {
        var c = "<div id='correct'>" + typedAnswer + "</div>";
        var d = document.getElementById('typeans');
        d.innerHTML = c;
    } else {
        var e = "<div id='incorrect'>" + typedAnswer + "</div>";
        var f = document.getElementById('typeans');
        f.innerHTML = e;
    }
};
</script>

```

[Previous page](https://forums.ankiweb.net/t/anki-24-10-beta/49989.md?page=6)

[Next page](https://forums.ankiweb.net/t/anki-24-10-beta/49989.md?page=8)
