Vibeleaderboard
← All Intel
Intel / article

Do Influence Tactics Matter? Investigating Prompt Framing Effects in LLM Code Generation

Source
arxiv.org
Author
Alex Deaconu, Anubhav Gupta, Manaal Basha, Nicholas Haydu, Gema Rodr\'iguez-P\'erez
Date

Context

Adding urgency to a coding may change the quality of the resulting code. A study of prompt framing tested eight communication tactics across five models on LiveCodeBench and . The researchers assessed functional correctness, code quality, maintainability and security.

The authors report that some framings, particularly those emphasizing urgency, were associated with reduced correctness and security. This makes motivational wording a variable worth evaluating alongside the task instructions. The reported association does not identify one universally superior prompt or establish that every responds to urgency the same way.

Terms in this piece · Glossary
  • Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.
  • Open weights — A model whose learned parameter values have been made available to download, under terms the publisher sets.
  • SWE-bench — The standard benchmark for AI coding agents: real GitHub issues from real repositories, scored by whether the agent's patch passes the project's own tests.
  • Model — A computational system that uses learned patterns to produce an output from information supplied to it.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Recommended reads