fix: Runde Fehlerquote auf eine Dezimalstelle
Co-authored-by: aider (ollama_chat/qwen3-coder:30b) <aider@aider.chat>
This commit is contained in:
parent
eab7b9d438
commit
4957b67602
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -123,7 +123,7 @@ def calculate_statistics(user_input, current_text):
|
|||
'correct_chars': correct_chars,
|
||||
'incorrect_chars': incorrect_chars,
|
||||
'total_chars': total_chars,
|
||||
'error_rate': round(error_rate, 2),
|
||||
'error_rate': round(error_rate, 1), # Nur eine Dezimalstelle
|
||||
'typing_speed': round(typing_speed, 2),
|
||||
'duration_per_char': round(duration_per_char, 3),
|
||||
'words_per_minute': round(words_per_minute, 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue