refactor: splitting models
This commit is contained in:
@@ -145,11 +145,7 @@ pub fn student(
|
||||
out.push_str("## What this exam says about each learning objective\n\n");
|
||||
out.push_str("| | Objective | You | Class | Items |\n|:--|:--|--:|--:|--:|\n");
|
||||
for o in &summary.objectives {
|
||||
let you = if o.status == Mastery::NotEnoughEvidence {
|
||||
format!("{:.0}%", o.rate * 100.0)
|
||||
} else {
|
||||
format!("{:.0}%", o.rate * 100.0)
|
||||
};
|
||||
let you = format!("{:.0}%", o.rate * 100.0);
|
||||
out.push_str(&format!(
|
||||
"| {} | {} | {} | {:.0}% | {} |\n",
|
||||
o.status.symbol(),
|
||||
|
||||
Reference in New Issue
Block a user