Sunday, November 29, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

Programmers With High AI Literacy Rely Less on Flawed Generative Code

November 29, 2026
in Technology and Engineering
Denise Maddox
By Denise Maddox Scienmag Editorial Profile - Mechanical Engineering
Reading Time: 6 mins read
0
Programmers With High AI Literacy Rely Less on Flawed Generative Code

Programmers With High AI Literacy Rely Less on Flawed Generative Code

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

Software developers who possess higher levels of artificial intelligence literacy exhibit a distinct form of beneficial mistrust, adopting significantly less advice from generative coding assistants when recommendations are flawed. An empirical investigation examining how human programmers interact with automated coding tools demonstrates that technical understanding alters how professionals evaluate machine-generated recommendations. Generative artificial intelligence systems such as large language models frequently produce output that appears plausible on the surface yet contains subtle factual errors, misapplied logic, or phantom data references commonly known as hallucinations. Rather than unconditionally adopting or uniformly rejecting automated assistance, software engineers with advanced conceptual knowledge of algorithmic behavior scrutinize machine output with greater skepticism, deliberately withholding trust when systems encounter operational boundaries.

To investigate the psychological mechanisms that govern how people respond to imperfect automated recommendations, researchers conducted a pre-registered online programming experiment recruiting five hundred and forty-two programmers based in the United States through the Prolific research platform. The study conceptualized the collaborative dynamic through the classic Judge-Advisor System framework, wherein a human decision-maker forms an initial judgment, receives counsel from an advisor, and then decides how substantially to revise their preliminary position. In this context, participants functioned as judges tasked with writing functional Python programs, while GitHub Copilot, powered by OpenAI’s Codex model, served as the automated advisor supplying recommended code completions. By measuring how much participants adjusted their original programming solutions in response to automated suggestions, the researchers isolated the direct and carryover effects of algorithmic error on human reliance.

The experimental protocol incorporated three consecutive programming assignments derived from undergraduate information systems coursework, which had been pre-tested to confirm moderate task difficulty. Participants completed a baseline warm-up problem, followed by a second focal task where the experimental manipulation took place, and concluded with a third task designed to assess lingering behavioral effects. While participants assigned to the control group consistently received correct code that satisfied all hidden automated evaluation cases across every task, those placed in the treatment condition encountered intentionally flawed code during the second exercise. The simulated hallucination arose from realistic environmental constraints: because the generative model lacked direct access to external dataset structures, it hallucinated non-existent variable names, causing the script to fail automated test cases despite maintaining convincing syntactic structure.

Quantifying how much advice a programmer incorporates requires separating superficial textual formatting from substantive conceptual revisions. The investigators evaluated advice-taking using the Weight of Advice metric, computing the relative distance between an individual’s initial code submission and their final post-advice revision relative to the total distance separating the initial code from Copilot’s recommendation. To measure code similarity rigorously, the researchers integrated three distinct mathematical distance formulations: Levenshtein edit distance operating at the raw character level, angular distance across term frequency unigrams capturing lexical structure at the word level, and angular distance evaluated over semantic sentence embeddings generated through Sentence-BERT. Averaging these winsorized metrics yielded a composite index where a value of zero represented total advice rejection and a value of one reflected complete adoption of the generative suggestion.

Linear mixed-effects regression models revealed that exposure to flawed recommendations immediately depressed advice utilization. When confronted with bad advice in the second task, participants reduced their Weight of Advice by 5.6 percentage points compared to peers receiving valid code, an effect that achieved statistical significance at the ten percent level. Furthermore, this negative experience exerted a persistent carryover effect on subsequent collaboration. When all participants received perfectly functioning code during the third programming task, programmers previously exposed to a hallucinated suggestion continued to discount the tool’s guidance, exhibiting a statistically significant 9.4 percentage point reduction in Weight of Advice. Experiencing an algorithmic failure established an immediate reputational penalty that suppressed subsequent reliance, mirroring patterns of algorithm aversion documented in traditional numerical forecasting domains.

Baseline artificial intelligence literacy, quantified using the standardized psychometric instrument developed by Weber and colleagues, exerted an independent negative main effect on advice adoption across all experimental stages. A one standard deviation increase in a programmer’s AI literacy score corresponded to a 3.5 percentage point reduction in advice weight during the second assignment and a 3.9 percentage point decrease during the final assignment. Rather than fostering blind enthusiasm, comprehensive familiarity with machine learning principles encouraged measured detachment. Highly literate participants maintained greater independence from generative advice regardless of whether the model performed accurately or poorly, avoiding the uncritical overreliance observed among individuals possessing limited insight into underlying technological architectures.

Crucially, the statistical analysis established a significant moderation effect between recommendation quality and AI literacy during the manipulation phase. Highly literate programmers discounted faulty code far more aggressively than participants with lower literacy scores, producing a 6.1 percentage point interaction decrease in advice weight. This interaction demonstrates that the skepticism associated with higher literacy is strategically targeted rather than obstructionist, sharpening a developer’s sensitivity to defective output. However, this moderating influence did not significantly carry over to the recovery task. While literate developers reacted decisively to immediate errors, their willingness to re-engage with good advice in subsequent tasks was not statistically different from that of less literate peers, indicating that algorithmic failures create durable skepticism across all experience levels.

To uncover the cognitive processes driving these statistical patterns, the investigators gathered qualitative explanations from the two hundred and seventy participants assigned to the treatment condition, subsequently categorizing responses through systematic content analysis. Drawing on social attribution principles and Gilbert and Malone’s correspondence bias theory, the researchers evaluated whether developers attributed algorithmic failures to internal dispositional factors of the model or to external situational constraints. Under dual-process psychological models, individuals intuitively favor dispositional attributions through fast, effortless heuristics, whereas adjusting for situational context requires slower, deliberate cognitive effort. In human-machine collaboration, correspondence bias manifests when users interpret an isolated model error as evidence of general incompetence while ignoring environmental limitations such as ambiguous prompts or inaccessible data files.

The qualitative responses revealed striking differences in diagnostic awareness between literacy tiers. Participants demonstrating high AI literacy were markedly more adept at identifying situational root causes, with 55.4 percent attributing Copilot’s failure to external factors such as omitted variable names, missing dataset columns, or prompt constraints, compared to only 33.7 percent among less literate developers. Highly literate programmers specifically pinpointed that Copilot attempted to query non-existent fields like Location or Sector because the data schema had not been supplied. Conversely, developers with lower literacy exhibited pronounced correspondence bias, frequently blaming the model’s core intelligence, language comprehension, or intrinsic coding capacity. Furthermore, nearly sixteen percent of lower-literacy respondents admitted complete ignorance regarding why the error occurred, whereas less than one percent of high-literacy participants expressed comparable diagnostic helplessness.

Prior performance expectations also diverged sharply across literacy groups. Over fifty-six percent of participants with lower AI literacy approached the experiment with unrealistically high expectations, assuming generative assistants would solve complex coding challenges effortlessly and produce flawless syntax. When the system failed, these inflated assumptions led to abrupt disappointment and persistent skepticism. In contrast, participants with higher AI literacy were far more likely to begin the tasks with balanced or even intentionally cautious expectations, anticipating that generative tools would struggle with subtle data structures or edge cases. Qualitative reflections showed that literate programmers viewed machine output as a preliminary draft requiring rigorous verification, noting that while generative models offer valuable utility, active human review remains indispensable for valid execution.

An analysis of inferential correction patterns indicated that participants with advanced literacy actively recalibrated their decision-making following exposure to bad advice. Over seventy-four percent of high-literacy developers documented incomplete corrections of their initial impressions, consciously maintaining enhanced caution and double-checking subsequent code outputs against their personal programming expertise. Rather than ignoring errors or abandoning the technology entirely, literate professionals adopted a posture of disciplined, selective validation. Meanwhile, nearly half of the participants with lower AI literacy reported reverting to uncritical acceptance during the final task, continuing to paste generated code directly without comprehensive inspection, thereby confirming that lower literacy promotes passive reliance rather than analytical vigilance.

Robustness evaluations corroborated these primary findings across alternative analytical specifications. Omitting demographic controls, baseline coding scores, and general attitudes toward technology did not alter the direction or significance of the primary predictors, producing consistent decreases in advice weighting. Similar patterns emerged when researchers analyzed absolute code adjustments and implemented median-split categorical measures of literacy. The findings highlight vital design principles for generative development environments: automated systems should actively communicate situational constraints, request missing contextual data, provide calibrated confidence indicators, and implement explicit trust-repair mechanisms to support productive human-AI collaboration without inducing unwarranted cynicism or hazardous overreliance.

Subject of Research: Human-AI interaction and the influence of AI literacy on coding advice reliance

Article Title: Beneficial Mistrust in Generative AI? The Role of AI Literacy in Programmers’ Handling of Bad Coding Advice

Article References: Leffrang, D., Passlack, N., Müller, O., & Posegga, O. (2026). Beneficial Mistrust in Generative AI? The Role of AI Literacy in Programmers’ Handling of Bad Coding Advice. Business & Information Systems Engineering. https://doi.org/10.1007/s12599-026-01000-5

Image Credits: AI Generated

DOI: 10.1007/s12599-026-01000-5

Keywords: generative artificial intelligence, AI literacy, software development, code generation, GitHub Copilot, OpenAI Codex, correspondence bias, Judge Advisor System, Weight of Advice, code hallucination, algorithm aversion, human computer interaction, decision making, dual process theory, experimental psychology, empirical software engineering

Cite Scienmag News

Denise Maddox. (November 29, 2026). Programmers With High AI Literacy Rely Less on Flawed Generative Code. Scienmag. https://scienmag.com/programmers-with-high-ai-literacy-rely-less-on-flawed-generative-code/

Denise Maddox. "Programmers With High AI Literacy Rely Less on Flawed Generative Code." Scienmag, 29 November 2026, https://scienmag.com/programmers-with-high-ai-literacy-rely-less-on-flawed-generative-code/. Accessed 29 November 2026.

Denise Maddox. "Programmers With High AI Literacy Rely Less on Flawed Generative Code." Scienmag. November 29, 2026. https://scienmag.com/programmers-with-high-ai-literacy-rely-less-on-flawed-generative-code/

Tags: AI literacyalgorithm aversioncode generationcode hallucinationcorrespondence biasdecision-makingdual-process theoryempirical software engineeringexperimental psychologygenerative artificial intelligenceGitHub Copilothuman-computer interactionjudge-advisor systemOpenAI CodexSoftware DevelopmentWeight of Advice
Share26Tweet16
Previous Post

Drone phenomics paired with fertilizer history enhances strawberry crop nutrient predictions

Next Post

Age and Education Level Shape Digital Competence Among Hospital Outpatients

Related Posts

Drone phenomics paired with fertilizer history enhances strawberry crop nutrient predictions
Agriculture

Drone phenomics paired with fertilizer history enhances strawberry crop nutrient predictions

November 29, 2026
Generative AI Accelerates Circuit Design While Reinforcement Learning Leads Optimization Efficiency
Technology and Engineering

Generative AI Accelerates Circuit Design While Reinforcement Learning Leads Optimization Efficiency

November 29, 2026
Multimodal Piano Model Compression Balances Modalities but Fails to Boost Accuracy
Technology and Engineering

Multimodal Piano Model Compression Balances Modalities but Fails to Boost Accuracy

November 29, 2026
Wheel Hollowness and Track Gauge Widening Drive Divergent Rail Curve Damage
Technology and Engineering

Wheel Hollowness and Track Gauge Widening Drive Divergent Rail Curve Damage

November 29, 2026
SegFormer Architecture Accurately Estimates Species-Specific Proximal Crop and Weed Cover
Agriculture

SegFormer Architecture Accurately Estimates Species-Specific Proximal Crop and Weed Cover

November 29, 2026
Optical Fiber Sensors Enable Operando Internal Diagnostics Inside Next-Generation Batteries
Technology and Engineering

Optical Fiber Sensors Enable Operando Internal Diagnostics Inside Next-Generation Batteries

November 29, 2026
Next Post
Age and Education Level Shape Digital Competence Among Hospital Outpatients

Age and Education Level Shape Digital Competence Among Hospital Outpatients

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27657 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Cone-Beam CT Accurately Identifies Acute Scaphoid Fractures in Large Study
  • Childhood Trauma Predicts Youth Symptoms More Strongly in Non-Clinical Cohort
  • Radiography Reveals Hidden Dental Development in Commingled Eneolithic Subadult Remains
  • Bioinformatics Identifies KIF26B-MAP4K4 Axis as Prognostic Correlate in Bladder Cancer

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,151 other subscribers

© 2026 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2026 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading