Using Interactive Tasks to Probe LLM Capabilities
Static Q&A and public benchmarks only capture a slice of model skill. This article explains why rule-based interactive apps are stronger capability probes, how to set evaluation goals before the prompt, how to write spec-like instructions, and how to score behavior with controlled, repeatable experiments.
Why Complex Interactive Apps Make Good Capability Probes
Static Q&A, single-turn code completion, and public benchmarks cover only a slice of model ability. In real development, a model must understand the goal, break work into steps, keep long-lived state, handle edge cases, and correct itself across rounds of feedback. Interactive applications with rules, turns, and UI feedback pack those demands into one task: rules must be consistent, state must not be dropped, the interface must drive logic, and errors must be locatable. This is not “ship a playable demo.” It is continuous design, implementation, and verification inside a limited context.
The value of such tasks is observability. Reviewers do not need to guess whether the model “understands.” They can check whether rules are encoded correctly, illegal operations are rejected, UI actions actually change state, and the system stays consistent after repeated edits. Failure modes are more informative than subjective impressions: missing planning, wrong state modeling, or a complete-looking UI with empty logic.
Define Evaluation Goals Before the Problem
Write down what you will measure before you start, so a single generation is not scored as an impression. Four goals work well as a fixed set.
- Task decomposition. Can the model split a vague requirement into a data model, rule engine, interaction flow, and acceptance criteria, instead of dumping UI first?
- Long-horizon consistency. After many turns, are resources, turn counts, and win/loss conditions still aligned with the original rules, with no silent rule changes?
- Constraint following. On illegal input, boundary values, concurrent clicks, or duplicate submits, does the system reject and give an understandable reason?
- Iterative repair. After a specific defect is pointed out, does the model patch locally, or rewrite large sections and introduce new errors?
The problem itself should be stable and reproducible. Difficulty should come from coupled rules, not obscure trivia. You can invent a domain—simplified turn-based operations, resource contests, or approval workflows—without tying it to a commercial game. Write the rules down: initial state, legal actions, settlement order, and end conditions, each in short sentences, so they can be checked later.
Prompts Should Read Like Specs, Not Slogans
Effective prompts include role, deliverables, hard constraints, and acceptance method—not empty phrases such as “make it very strong.” Keep the same wording across model comparisons.
Role: You are an engineer implementing an interactive application.Goal: Implement a simplified turn-based system that runs in the browser.Hard constraints:- Use only the specified frontend stack; do not add undeclared external services.- All rules follow the “Rules” section in this document; do not add extra win/loss conditions.- State must be serializable so a refresh or reload restores the latest turn.Deliverables:- Data model notes- Rule pseudocode- A runnable implementation- At least five self-tests with expected resultsAcceptance: Check the Rules section item by item, list unimplemented items, and do not replace that with subjective claims.
Keep the rules document separate from the prompt so you can swap models without swapping the exam. If multi-turn is allowed, feed one defect per round and record whether the model changes only related parts. Dumping a long complaint list turns evaluation into a prompt-engineering contest.
At implementation time, split rules from UI. Express rules as pure functions: current state plus action yields a new state or an error. The UI only collects actions and renders state. That split lets reviewers run rule tests without being fooled by a polished UI and wrong settlement.
function applyAction(state, action) {if (!isLegal(state, action)) {return { ok: false, reason: "illegal_action", state };}const next = settle(structuredClone(state), action);return { ok: true, state: next };}
Score Behavior, Not Prose
Use one rubric, 0–2 per item, and keep failure notes.
- Rule completeness: initial conditions, legal actions, settlement order, and end conditions are all implemented.
- State correctness: after several steps, key values match a manual walkthrough.
- Rejection: illegal actions are blocked, with reasons that map to rule clauses.
- Recoverability: after interruption, play continues from persisted state rather than a new game.
- Maintainability: module boundaries are clear; changing one rule does not force a rewrite.
- Repair quality: given a defect, the patch is minimal and does not introduce new rule violations.
UI polish is optional and should weigh less than rule correctness. Many outputs hide empty settlement functions behind full layouts. Run a scripted action sequence first, then look at the UI. Sequences can be a table: turn, role, action, expected state. Once expected states are written down, scoring variance drops.
Control Variables in Comparisons
To compare models or versions, lock: the same problem, same prompt, same turn cap, same runtime, no undeclared external retrieval, and fixed generation parameters such as temperature. Change only model identity. Save the full conversation, final code, and test logs. One success is not an upper bound; repeat several times and report pass rate, not the best run.
Anonymous or unlabeled models need this even more. Names, rumors, and parameter counts are not substitutes for behavior. Keep experiment IDs and config summaries in the record. Phrase conclusions as pass rates and failure types on that task set; do not generalize one demo into a full ranking. Report task families separately: strong rule reasoning is not long-document editing; fast UI generation is not a correct state machine.
Put the Probe in the Engineering Process
Interactive tasks work as a gate, not as the only ship criterion. Use a fixed bank as smoke tests before selection or upgrades, then try a small, bounded change in the team’s real repo. Real-repo evaluation should stay bounded: public samples only, no production secrets or unauthorized systems.
Three practices help. Version the problem bank; a rule change is a new version, and old conclusions must not mix with new items. Prefer automated checks over impressions; assert every state you can. Record cost and latency at order-of-magnitude precision; do not invent exact performance. If the model is too slow to finish within the allowed turns, count that as an engineering-availability failure, not only as final-code correctness.
Common Misjudgments
- Treating a smooth demo as correct rules. A few manual clicks rarely hit branches.
- Treating one pass as stable skill. Temperature and context length change outcomes.
- Leaking a reference implementation in the prompt. That tests recitation, not problem solving.
- Using overly open problems. If you cannot write expected states, the item should not enter a comparison set.
- Scoring only the final files, not the repair trace. Many models emit a skeleton first, then break invariants on the second edit.
Conclusion
When external claims are noisy, design evaluation as a repeatable engineering experiment: written rules, fixed prompts, a separated state machine, scripted acceptance, and multiple runs. Interactive apps work because they squeeze planning, constraints, and long-horizon consistency at once—the parts of daily development most often overestimated in single-turn Q&A. Keep failure types, not only success samples, and update selection with the same rubric rather than following unverifiable capability stories.
