Proficiency Scoring¶
NØMAÐ's Educational Analytics module tracks computational proficiency development through per-job behavioral fingerprints.
Philosophy¶
Traditional HPC monitoring answers: "Did the job run?"
NØMAÐ Edu answers: "Did the user learn to use HPC effectively?"
This shift enables:
- Instructors to measure learning outcomes, not just resource consumption
- Mentors to identify specific skill gaps in research trainees
- Users to self-assess and improve their HPC practices
- Institutions to evaluate training program effectiveness
The Five Dimensions¶
Every completed job is scored across five proficiency dimensions:
NØMAÐ Group Report — cs101
Last 90 days · 4 members · 4 ran jobs · 4 scored · 935 of 935 jobs measured · demo-cluster
Median overall: 72/100 across 4 people (middle half 69–73)
Over the period: 1 of 4 improved, 3 steady, 0 declined
By dimension (median, people):
CPU 51 (4)
Memory 87 (4)
Time 81 (4)
I/O 69 (4)
GPU 70 (4)
Most common to work on:
CPU: 4 of 4
I/O: 2 of 4
Member Jobs Measured Overall Change Weakest
diana 200 200 66 +1 I/O
charlie 243 243 70 +9 CPU
alice 260 260 73 +2 CPU
bob 232 232 73 -2 CPU
The Console's Group Reports page shows the same figures; see edu.
1. CPU Efficiency¶
What it measures: How well did the user utilize requested CPU cores?
Formula: $\(\text{CPU Score} = \min\left(100, \frac{\text{CPU Time Used}}{\text{Cores} \times \text{Walltime}} \times 100\right)\)$
Scoring rubric:
| Efficiency | Score | Level | Interpretation |
|---|---|---|---|
| ≥ 80% | 85-100 | Excellent | Efficient parallelization |
| 50-79% | 65-84 | Good | Reasonable usage |
| 25-49% | 40-64 | Developing | Some waste, learning |
| < 25% | 0-39 | Needs Work | Significant over-allocation |
Common issues:
- Requesting 16 cores for single-threaded code
- I/O-bound jobs with idle CPUs
- Poor parallel scaling
Recommendations generated:
CPU Efficiency: Very low CPU utilization at 21% — requested 4
cores but used ~1. This wastes resources and may delay other
users' jobs.
Try: #SBATCH --ntasks=1
If your code is single-threaded, request 1 core.
Never fewer cores than the most any of the jobs used (1.65.0). Advice over several jobs takes the value most of them needed, but never fewer cores (GPUs) than the most any of those jobs used: most jobs using one core while one used ten is no reason to tell the ten-core job to ask for one. When that is what the jobs asked for, or more, there is nothing to ask less of, and the weekly email says nothing about it.
2. Memory Efficiency¶
What it measures: How well did the user size their memory request?
Formula (the peak as a share of the request):
Under half its request a job asked for more than twice its peak, more than nomad's own advice (the peak × 1.5, rounded up), so it is never Good (1.67.1; from 30% it scored 65-85 before). Running out of memory (OUT_OF_MEMORY) scores 15.
Scoring rubric:
| Utilization | Score | Level | Interpretation |
|---|---|---|---|
| 50-90% | 85-100 (70% scores 100) | Excellent | Well-sized |
| 90-100% | 80 | Good | Little room if a run needs more |
| 31-49% | 40-64 | Developing | Over-allocated |
| < 31% | 0-39 | Needs Work | Significant waste |
| > 100% | 30 | Needs Work | Used more than it asked for |
nomad's advice is the peak × 1.5, rounded up to a value people type (up to 4G by 512M, 16G by 1G, 64G by 2G, 256G by 8G, then by 32G): a request that puts the peak at 50-75% of it, inside the best band. The Submit page sizes memory the same way; across several runs of a program, the runs' 95th percentile × 1.5.
Common issues:
- Requesting 64GB when job uses 2GB
- Copy-pasting scripts without adjusting memory
- Not profiling memory requirements
Small requests aren't judged (1.35.2). A request of 2 GB or less, or one already as small as nomad would suggest (the peak × 1.5, rounded up as above, at least 1 GB), is "not judged": asking 1 or 2 GB is the least anyone usually asks, and what it leaves unused is too little to matter on a node. The floor is a setting:
Used more than requested: where Slurm doesn't enforce memory limits a job can peak above its request. It scores low and the advice is to request what it uses; it is not described as waste.
Readings no node could hold are not scored. Slurm's jobacct_gather/linux
adds up the RSS of every process in a job, so memory the processes share (a
data loader's forked workers, a memory-mapped dataset) is counted once per
process -- one hpc2 job reported 7 TB. A peak above the largest node's
memory at that site (from node_state) is shown as "not a measurement" and
left out. Readings inflated less than that can't be told apart; the fix is at
the source: JobAcctGatherParams=UsePss in slurm.conf, which counts shared
memory in proportion. (jobacct_gather/cgroup avoids the multiplying too, but
on Slurm 22.05 with cgroup v2 it counts transparent huge pages twice: hpc2
reported 2.0 GB for a job the kernel measured at 1.0 GB. With UsePss the
same job read 1.0 GB.)
3. Time Limit¶
What it measures: How close the time limit a job asked for (--time) was
to how long it ran.
Scoring (runtime as a share of the limit asked):
| Runtime/Limit | Score | Level | Interpretation |
|---|---|---|---|
| 50-85% | 85-100 | Excellent | Close to how long it runs, with room to spare (about two thirds scores 100) |
| 85-100% | 75 | Good | Close to the limit, where Slurm stops a job |
| 25-49% | 50-84 | Developing–Good | A generous limit |
| 5-24% | 25-49 | Needs Work–Developing | A limit several times what it needs |
| < 5% | 5-24 | Needs Work | A limit far above what it needs |
| TIMEOUT | 20 | Needs Work | Stopped at its limit before it finished |
A job that ran under 5 minutes isn't judged on its limit (a test, or a job that stopped early).
Why it matters: a limit far above what a job needs makes it wait longer to start, since Slurm can't fit it into a gap between other jobs (backfill); the limit doesn't change how fast it runs. A limit too short stops the job and loses the work since its last checkpoint. Because a generous limit mostly costs the job itself a later start, it counts a quarter in the overall score (see below).
4. I/O Awareness¶
What it measures: Did the user choose appropriate storage for their workload?
Formula: $\(\text{I/O Score} = 100 - (\text{NFS Ratio} \times 50) - (\text{IO Wait} \times 2)\)$
Where: - NFS Ratio = NFS writes / Total writes - IO Wait = percentage of time waiting on I/O
Scoring rubric:
| NFS Ratio | IO Wait | Score | Level |
|---|---|---|---|
| < 20% | < 5% | 85-100 | Excellent |
| 20-50% | 5-15% | 65-84 | Good |
| 50-80% | 15-30% | 40-64 | Developing |
| > 80% | > 30% | 0-39 | Needs Work |
Applicability: Scored only when NFS traffic was measured for the job. Slurm accounting has no NFS/local breakdown, so jobs measured only by the job collector show "not measured" rather than a score (before 1.7.5 the collector wrote an NFS ratio of 0 as a placeholder, which scored every job Excellent).
Common issues:
- Writing temp files to NFS instead of local scratch
- Not using
$TMPDIRor/scratch - Reading input files repeatedly from network storage
Recommendations generated:
I/O Awareness: High NFS write ratio (78%) causing I/O wait.
Jobs with this pattern have 3x higher failure rates.
Try: export TMPDIR=/scratch/$USER/$SLURM_JOB_ID
Write temporary files to local scratch, copy results
back at job end.
5. GPU Utilization¶
What it measures: How busy the GPUs were while the job ran.
How: DCGM's real activity (gpu_stats.real_util_pct, not nvidia-smi's
"a kernel ran"), averaged over the GPUs on the job's node(s) while it ran.
Slurm doesn't say which GPUs a job had, so when its node has more GPUs than it
asked for, the average covers those too, and the job's page says so ("across
the 8 GPUs on its node(s) while it ran (it asked for 4 ...)").
Scoring rubric:
| Average real activity | Score | Level | Advice |
|---|---|---|---|
| ≥ 70% | 95 | Excellent | none |
| 40–69% | 70 | Good | none |
| 15–39% | 45 | Developing | fewer GPUs (below) |
| < 15% | 15 | Needs Work | no GPU: a CPU partition, or find why they sit idle |
Fewer GPUs, how many (1.48.1): when the average covers only the job's own GPUs, their work together (GPUs × average) is what the advice sizes from: the fewest GPUs that, kept 70% busy, would do it, and never more than one fewer than asked. Four GPUs at 18% did about 0.7 of one GPU's work: the advice is one GPU, not three. When the average blends other GPUs, or nomad couldn't count them, the advice is one fewer than asked. Each recommendation shows what the job asked for beside it (Console fix 128).
Applicability: Only scored if the job requested GPUs and its GPU utilization was measured (DCGM data for its nodes and time window). A GPU job without that data shows "not measured": the request alone says nothing about how the GPUs were used.
Common issues:
- A program that uses one GPU, asking for several
- CPU preprocessing starving the GPU
- Small batch sizes
- Requesting a GPU for CPU-only code
Proficiency Levels¶
Scores map to four proficiency levels:
| Score Range | Level | Description |
|---|---|---|
| 85-100 | Excellent | Demonstrates strong HPC understanding |
| 65-84 | Good | Reasonable usage with minor inefficiencies |
| 40-64 | Developing | Learning, with clear room for improvement |
| 0-39 | Needs Work | Significant resource waste or misconfiguration |
Overall Score¶
The overall score is the mean of the dimensions that apply to the job and were measured, each counting by its weight (1.47.0; before, all counted the same):
| Dimension | Weight |
|---|---|
| CPU | 1 |
| Memory | 1 |
| GPU | 1 |
| I/O | 0.5 |
| Time limit | 0.25 |
The cores, memory and GPUs a job holds are what keep other jobs waiting; a
generous time limit mostly makes the job itself start later. A site changes
the weights in nomad.toml (numbers from 0 to 10; nomad config check says
when one isn't):
A dimension that was not measured is left out, never counted as zero or as a
default. For a person or a period, dimensions are averaged over their measured
jobs first, and the overall is those averages, weighed the same way. Every
page and report that shows an overall (My Activity, Recommendations, Over
time, People, Groups' reports, a job's page) works it out when it's shown, so
changing the weights changes the history too, with no step at the change. Only jobs NØMAÐ
measured (with a job_summary row) are scored; the rest are counted, not scored.
Trajectory Tracking¶
Beyond single jobs, NØMAÐ tracks proficiency development over time:
┌────────────────────────────────────────────────────────────┐
│ Proficiency Trajectory — alice │
├────────────────────────────────────────────────────────────┤
│ Jobs analyzed: 173 Period: 2026-01-15 → 2026-02-15 │
│ Trend: Improving │
├────────────────────────────────────────────────────────────┤
│ Score Progression │
│ │
│ 2026-01-15 ████████░░ 78.6% (21 jobs) │
│ 2026-02-01 █████████░ 82.3% (52 jobs) │
│ 2026-02-15 █████████░ 86.1% (100 jobs) │
│ │
│ Dimension Changes │
│ │
│ CPU Efficiency 48.3% → 71.2% ↑ +22.9% │
│ Memory Efficiency 84.0% → 89.9% ↑ +5.9% │
│ Time Limit 72.1% → 85.4% ↑ +13.3% │
│ I/O Awareness 81.5% → 88.2% ↑ +6.7% │
└────────────────────────────────────────────────────────────┘
Trend classification:
| Trend | Criteria |
|---|---|
| Improving | Recent average > Historical average + 5% |
| Stable | Within ±5% |
| Declining | Recent average < Historical average - 5% |
Group Reports¶
Aggregate proficiency across course sections or research groups:
┌────────────────────────────────────────────────────────────┐
│ NØMAÐ Group Report — cs301 │
├────────────────────────────────────────────────────────────┤
│ Members: 24 Jobs: 1,847 Period: 2026-01-15 → 02-15 │
├────────────────────────────────────────────────────────────┤
│ Key Insight │
│ 18/24 students improved overall proficiency │
│ │
│ Group Proficiency │
│ Memory Efficiency ███████████░ 92.1% → +3.2% │
│ Time Limit █████████░░░ 84.7% → +8.1% │
│ I/O Awareness ████████░░░░ 79.3% → +5.4% │
│ CPU Efficiency ██████░░░░░░ 58.2% → +12.1% │
│ │
│ Weakest area: CPU | Strongest: Memory │
├────────────────────────────────────────────────────────────┤
│ Student Breakdown │
│ Improving: 18 │
│ Stable: 4 │
│ Declining: 2 │
└────────────────────────────────────────────────────────────┘
Use cases:
- Instructors: Identify which concepts need more coverage
- TA/Mentors: Find students needing individual help
- Administrators: Evaluate workshop effectiveness
- Researchers: Track new lab member onboarding
Database Storage¶
nomad edu explain records each job it explains in proficiency_scores.
Trajectories, group reports and the Console's lists do not read this table:
they score every measured job directly, so they cover everyone, not only the
jobs someone happened to explain.
CREATE TABLE proficiency_scores (
id INTEGER PRIMARY KEY,
timestamp DATETIME,
job_id TEXT NOT NULL,
user_name TEXT NOT NULL,
cluster TEXT,
-- Dimension scores
cpu_score REAL,
cpu_level TEXT,
memory_score REAL,
memory_level TEXT,
time_score REAL,
time_level TEXT,
io_score REAL,
io_level TEXT,
gpu_score REAL,
gpu_level TEXT,
gpu_applicable INTEGER,
-- Overall
overall_score REAL,
overall_level TEXT,
-- Recommendations
needs_work TEXT, -- JSON array of dimension names
strengths TEXT, -- JSON array of dimension names
UNIQUE(job_id)
);
CLI Commands¶
# Explain a single job
nomad edu explain <job_id>
nomad edu explain <job_id> --json
nomad edu explain <job_id> --no-progress
# User trajectory
nomad edu trajectory <username>
nomad edu trajectory <username> --days 30
nomad edu trajectory <username> --json
# Group report
nomad edu report <group_name>
nomad edu report <group_name> --days 90
nomad edu report <group_name> --json
Integration with SLURM¶
For automatic scoring, add to SLURM epilog:
#!/bin/bash
# /etc/slurm/epilog.d/nomad-edu.sh
nomad edu explain $SLURM_JOB_ID --json >> /var/log/nomad/edu.log 2>&1
Users then see their proficiency in the Console (My Activity) or with nomad edu me.