Search arXiv⌕ Search

arXiv subjects

Ding Lin Lee

Publications and source records attributed to Ding Lin Lee.

2 recordsLinked to original sources

Locally Correct, Globally Wrong: The Defects Humans Had to Catch in an Agent-Built System

AI coding agents can produce code that passes tests but still contains defects found during human testing. We examine these defects in a deployed software system by tracing agent written code to subsequent human directed corrections through a blame linkage procedure. We identify 95 defects across 57 agent commits and compare them with Tambon et al.'s taxonomy of function level error. Interestingly, many defects fell outside the taxonomy, particularly those involving inconsistent sources of truth and incomplete change propagation. Only a minority of defects were caught by automated tests. These findings highlight gaps in existing approaches to assessing agent written code. This paper provides an initial dataset for benchmarking defect detection using human directed corrections as reference.

cs.SE↗

Adaptive Scaffolding Needs Contingency: An AI Tutor That Escalates and Fades on What the Learner Does

Coding assistants raise task performance, but learners plan and monitor less. Giving less away, the usual fix, conflates two things: how much work a system carries (cognitive load) and what the learner must decide before help arrives (metacognitive demand). Our principle, preserved metacognitive demand, holds the second constant and lets the first vary. CoMeT implements it: support rises when a learner fails at a decision point and fades on take-up. Within subjects, 131 adult learners used CoMeT, an unrestricted assistant and a question-only tutor on three Python tasks. CoMeT matched the question-only tutor's demand, delivered artifacts twice as often as the assistant, and frustrated learners less than the question-only tutor, with delegation and load unchanged. Learners often did not answer. Fading held when their turn addressed the decision under support, and CoMeT surrendered the full answer in one session in sixteen, against one in six for the question-only tutor.

cs.HC↗