On this page

Synthesis: Shahid and Imteaj propose Scout, a game-based instructional framework that makes the token, energy and water cost of AI-assisted programming visible at the moment a student decides how much help to request. The contribution is a design synthesis, not an evaluation: six principles derived from Self-Regulated Learning, formative feedback and conjecture mapping; a formal scenario model that separates energy from water and preserves incomplete information; three analytical cases computed from authored teaching assumptions; and a working prototype played in one supervised sitting of an introductory programming course. The cases show that a resource ranking can reverse with workflow length, that equal energy can leave unequal attributed water, and that a missing component leaves a comparison indeterminate. The prototype implements ten missions, five comparison challenges and four evidence labels over a locally served open-weight model. No learning gains are reported: the authors call empirical effectiveness future work and say the prototype has not been evaluated with learners.

Key Findings

  1. The interface hides a cost the course never teaches. Software work formed 37.2% of sampled conversations with a general-purpose assistant in one analysis, and 84% of 2025 developer-survey respondents used or planned to use AI tools.
  2. A ranking can reverse with workflow length. Under authored assumptions of 60 W for 20 s direct and 15 W for 15 s guided, a direct answer costs 0.333 Wh, four guided hints 0.250 Wh and six 0.375 Wh, reversing near 5.33 interactions.
  3. Equal energy does not imply equal water. With 0.5 Wh of IT energy, PUE = 1.2 and a grid intensity of 0.4 L/kWh, electricity-related water is 0.24 mL in both windows, but site water of 0.10 and 0.50 mL gives 0.34 and 0.74 mL.
  4. Incomplete histories cannot be ranked. A session with 0.1 Wh known locally and one unknown remote step has only a lower bound, so it cannot be compared conclusively with a complete 0.2 Wh workflow.
  5. Six principles carry disconfirming observations. Progressive integration, actionable assistance, workflow visibility, epistemic transparency, nonpunitive agency and transfer-oriented assessment each names an observation that would refute it.
  6. The prototype exists but is unevaluated. Ten missions, five comparison challenges and GPU-metered requests ran in one supervised sitting of 75–95 minutes, and no participant outcomes are reported.

Why tokens belong in an introductory programming course

Coding is where the learner-visible trace of computation grows fastest. A programming prompt carries source code, an error message and test output on top of the question; debugging proceeds in loops of request, execution and revision; and a learner can regenerate an answer with no visible consequence. In agentic coding, one analysis the paper cites found tasks consuming roughly three orders of magnitude more tokens than code chat, with total tokens varying by up to 30-fold across runs of the same task. Tokens are also the one unit the student can see: services price per token and local engines report the same counts. The gap is curricular: introductory courses teach the complexity of the programs students write, not the cost of the assistance used to write them, and sustainability teaching concentrates on software engineering, not on seeking help.

Six principles and a conjecture map

The conjecture map separates design features from the processes they should produce and the outcomes those processes should yield, so a feature is not evidence of learning. Displaying a session history is a feature; comparing attempts is a process; interpreting an unfamiliar workflow is an outcome. Each principle carries a disconfirming observation. Progressive integration advances Python and resource concepts together. Actionable assistance ties a hint to a specific difficulty and the revision that follows, implemented as a graduated coach offering a nudge, a pointer and an explanation. Workflow visibility represents the whole sequence of attempts, exposing the short interaction that took substantial hidden work. Epistemic transparency gives every value a mode, boundary, provenance and completeness status. Nonpunitive agency refuses to rank students by prompts, which would confound preparation with a narrow resource indicator. Transfer-oriented assessment keeps supported performance, resource interpretation and independent programming separate.

The scenario model takes uncertainty seriously

The model represents a session as an ordered sequence of operations, each with an energy over a stated boundary, and records the boundary, included and excluded components, parameter source and completeness. A comparison is admissible only when outcomes and boundaries are compatible, so processor-package energy cannot be ranked against facility energy. Known operations give a subtotal and a completeness indicator, and because unknown energy cannot be negative the subtotal is a lower bound. Water stays separate: electricity-related water multiplies energy by a grid intensity, site water multiplies IT energy by a site water usage effectiveness, and the formulation keeps facility energy away from the site coefficient. The result is a conservative partial order with four comparison states: a supported ordering, a trade-off, insufficient evidence, and not comparable. The intervals are declared scenario ranges, not confidence intervals.

The prototype and its measurements

Prototype version 5.4 is a locally hosted application: student code runs in a resource-limited child process, and coach requests go to a local open-weight model through Ollama. On a study workstation each request is metered by sampling board power every 100 ms and subtracting an idle baseline averaged over 10 s. Token counts and model digests are stored beside the energy record, so a session reads as decisions, not a count of prompts. Every value carries one label — measured, estimated, authored or unknown — and a missing value makes a comparison incomplete rather than zero. The control condition hides the ledger and substitutes length-matched engineering briefings and time-matched reflection prompts, holding missions and coach constant. Six candidate resource-literacy tasks and a 0–3 explanation rubric are proposed, not validated.

What this means for practice

  • Instructors. Show the token count beside every request and ask students to read it, rather than telling them to make fewer requests. A regenerated answer repeats the full computation, and that reasoning carries to cloud assistants.
  • Curriculum designers. Build comparison challenges into the exercise sequence instead of a minimization rule. Fewer prompts can mean deliberate help-seeking or disengagement, and those need separate evidence.
  • Instructors. Label every resource value with its evidence status and treat missing data as incomplete, not zero. A confident number attached to opaque infrastructure teaches confidence without understanding.
  • Assessment designers. Score the justification as well as the choice. A correct selection without a relevant explanation may be guessing, which is why the rubric runs from 0 to 3 against item-specific anchors.
  • Administrators. Token logs offer a practical basis for course-level budgeting and for comparing assistance policies, provided they are read alongside learning outcomes rather than treated as a target to minimize.

Limitations

  • The paper is a theory-informed design and analytical contribution with a selective literature synthesis the authors say is not a systematic review.
  • The prototype was verified with automated tests, and the paper reports no learner data: the one supervised session yields no participant outcomes, so nothing here measures learning, retention or transfer.
  • The analytical cases rest on authored assumptions — 60 W and 15 W profiles, 0.5 Wh of IT energy, PUE = 1.2. They establish relations within declared assumptions, not hardware profiles, model quality, water coefficients or learning effects.
  • The GPU meter covers graphics boards only, and nvidia-smi power can be averaged over windows comparable to a short request, so per-request accuracy needs an external meter.
  • Python execution runs in a resource-limited child process that is not a security sandbox, so shared-machine use needs the specified isolated-execution service; the answer guard is a heuristic not yet measured on real model output.
  • Token counts depend on the tokenizer, and hidden reasoning tokens can make the visible exchange an underestimate of the computation.

Citation

Shahid, A. R., & Imteaj, A. (2026). Scout: A Game-Based Framework for Teaching Token, Energy, and Water Awareness in AI-Assisted Programming. arXiv:2611.36822.

Embed this page

Copy the code below to embed this page in a learning management system or other website. The embedded version shows only the page content — it hides the site header, navigation, and footer.