Skip to content

Accuracy V2

This document specifies the AccV2 accuracy metric used by Milthm.

AccV2 uses the ordinary judgment sequence Ξ={ξ1,ξ2,,ξN}\Xi = \{\xi_1, \xi_2, \cdots, \xi_N\} defined in Judgment Definitions. Lightning judgments are isolated from this sequence and do not enter ordinary accuracy calculation.

Input Symbols

These symbols are defined in Judgment Definitions and are used as inputs in this document.

SymbolMeaning
J\mathcal{J}Ordinary judgment set.
Ξ\XiOrdinary judgment sequence.
ξi\xi_iThe ii-th ordinary judgment.
NNOrdinary judgment count.

Accuracy Symbols

This document defines the following accuracy-specific symbols.

SymbolNameMeaning
AjudgeA_{\mathrm{judge}}Stepwise accuracy functionMaps an ordinary judgment grade to its accuracy value.
ACCnACC_nAccuracyAccuracy up to the nn-th ordinary judgment.
TATAOverall accuracyFinal AccV2 accuracy.

Stepwise Accuracy

The stepwise accuracy function Ajudge:JRA_{\mathrm{judge}}: \mathcal{J} \to \mathbb{R} maps ordinary judgment grades to accuracy values.

GradeAccuracy
ss100%100\%
pp100%100\%
gg60%60\%
nn30%30\%
bb15%15\%
mm0%0\%

Overall Accuracy

The accuracy up to the nn-th ordinary judgment is:

ACCn=i=1nAjudge(ξi)nACC_n = \frac{\sum_{i=1}^{n} A_{\mathrm{judge}}(\xi_i)}{n}

The overall AccV2 accuracy is:

TA=ACCNTA = ACC_N

The maximum accuracy is 100%100\%, achieved if and only if every ordinary judgment is Exact or Perfect:

ξΞ, ξ{s,p}\forall \xi \in \Xi,\ \xi \in \{s, p\}