feat: improve worksheet
This commit is contained in:
+11
-11
@@ -98,7 +98,7 @@ pub fn student(
|
||||
));
|
||||
out.push_str(&format!("**{}**\n\n", summary.display_name()));
|
||||
|
||||
// ---------------------------------------------------------------- score
|
||||
// --- score
|
||||
out.push_str(&format!(
|
||||
"You scored **{:.1} of {:.1} points ({:.0}%)**",
|
||||
summary.points, summary.points_possible, summary.percent
|
||||
@@ -144,7 +144,7 @@ pub fn student(
|
||||
}
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------- objectives
|
||||
// --- objectives
|
||||
if opts.objectives && !summary.objectives.is_empty() {
|
||||
out.push_str("## What this exam says about each learning objective\n\n");
|
||||
out.push_str("| | Objective | You | Class | Items |\n|:--|:--|--:|--:|--:|\n");
|
||||
@@ -180,7 +180,7 @@ pub fn student(
|
||||
}
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------- levels
|
||||
// --- levels
|
||||
if opts.levels && summary.levels.len() > 1 {
|
||||
out.push_str("## Kinds of thinking\n\n");
|
||||
out.push_str(
|
||||
@@ -231,7 +231,7 @@ pub fn student(
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------- what to do
|
||||
// --- what to do
|
||||
if !summary.focus.is_empty() {
|
||||
out.push_str("## Where to put your time\n\n");
|
||||
out.push_str("In this order:\n\n");
|
||||
@@ -274,7 +274,7 @@ pub fn student(
|
||||
out.push_str(&format!("You have clearly got {}.\n\n", list(&refs)));
|
||||
}
|
||||
|
||||
// --------------------------------------------------------- missed items
|
||||
// --- missed items
|
||||
if opts.missed && !summary.missed.is_empty() {
|
||||
out.push_str("## Question by question\n\n");
|
||||
out.push_str(
|
||||
@@ -356,7 +356,7 @@ pub fn cohort(
|
||||
.unwrap_or_else(|| "date not recorded".into())
|
||||
));
|
||||
|
||||
// ------------------------------------------------------------- summary
|
||||
// --- summary
|
||||
let r = &analysis.reliability;
|
||||
out.push_str("## Summary\n\n");
|
||||
out.push_str(&format!(
|
||||
@@ -408,7 +408,7 @@ pub fn cohort(
|
||||
out.push_str(&format!("> {w}\n\n"));
|
||||
}
|
||||
|
||||
// ------------------------------------------------------- revise queue
|
||||
// --- revise queue
|
||||
let queue = analysis.revise_queue();
|
||||
out.push_str("## What to revise\n\n");
|
||||
if queue.is_empty() {
|
||||
@@ -477,7 +477,7 @@ pub fn cohort(
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------- item table
|
||||
// --- item table
|
||||
out.push_str("## Every item\n\n");
|
||||
out.push_str(
|
||||
"| Q | Item | Lv | p | r | D | Blank | Flags |\n|--:|:--|--:|--:|--:|--:|--:|:--|\n",
|
||||
@@ -535,7 +535,7 @@ pub fn cohort(
|
||||
}
|
||||
}
|
||||
|
||||
// -------------------------------------------------------- class gaps
|
||||
// --- class gaps
|
||||
out.push_str("## Objectives the class did not meet\n\n");
|
||||
if cohort.class_gaps.is_empty() {
|
||||
out.push_str("Every assessed objective cleared the mastery threshold.\n\n");
|
||||
@@ -556,7 +556,7 @@ pub fn cohort(
|
||||
out.push('\n');
|
||||
}
|
||||
|
||||
// ------------------------------------------------------ level coverage
|
||||
// --- level coverage
|
||||
out.push_str("## Coverage and class performance by level\n\n");
|
||||
let counts = record.level_counts();
|
||||
out.push_str("| Level | Items | Class rate |\n|:--|--:|--:|\n");
|
||||
@@ -587,7 +587,7 @@ pub fn cohort(
|
||||
let _ = bp;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------- archetypes
|
||||
// --- archetypes
|
||||
if !cohort.archetypes.is_empty() {
|
||||
out.push_str("## Patterns across students\n\n");
|
||||
out.push_str(
|
||||
|
||||
Reference in New Issue
Block a user