Consistently refer to drills as drills now, rename from lesson/practice

Also fix some issues in the stats screen.
This commit is contained in:
2026-02-15 04:44:49 +00:00
parent a51adafeb0
commit 13550505c1
16 changed files with 413 additions and 319 deletions

View File

@@ -1,6 +1,6 @@
use crate::session::result::LessonResult;
use crate::session::result::DrillResult;
pub fn compute_score(result: &LessonResult, complexity: f64) -> f64 {
pub fn compute_score(result: &DrillResult, complexity: f64) -> f64 {
let speed = result.cpm;
let errors = result.incorrect as f64;
let length = result.total_chars as f64;