Idea · Oct 3, 2026
Predict the Damage: A Container-Verified Benchmark of LLM Reasoning About Shell Command Consequences for Solution-Free Linux Tutoring
Builds a benchmark where every shell command in a Linux-learning challenge is actually executed in a sandbox, then tests whether LLM tutors correctly predict its effect on files, permissions, and processes before giving students solution-free hints.
What it would do
The Linux Luminarium (SIGCSE TS 2026 best paper) teaches Linux through small, setup-free challenges, including deliberately destructive 'shenanigan' scenarios such as fork bombs and rm -rf /. Students increasingly ask AI assistants what a command will do before running it, yet nobody has measured whether those explanations correctly predict the resulting system state. This project builds a container-verified benchmark: for a few thousand commands drawn from Luminarium-style challenges and NL2Bash, each command is run in a disposable container and the before/after difference is captured as a structured state change (files created, modified, deleted, permission bits, environment, processes, exit status). LLMs are then scored on predicting that state change qualitatively (what changes, in which direction, under which preconditions), echoing qualitative-process-style consistency checking, and on producing hints that steer a student toward a challenge goal without stating the command. The result is a reusable tool for toolchain-first courses and a measurement of where AI help for the command line is trustworthy and where it is dangerously confident.