AI & Data Strategy

How to Stop Wasting Time with Bad AI Results

Most people blame AI when they get poor results — but the real problem is the prompt. Learn a practical framework for writing prompts that consistently deliver accurate, useful outputs.

D
Dr. Komi Modji, MD, MPH
••7 min read
How to Stop Wasting Time with Bad AI Results

You've been there. You type a question into an AI tool, get back something that looks plausible but is completely wrong — or worse, confidently wrong. You spend the next twenty minutes fact-checking, rewriting, or starting over from scratch.

The frustration is real. But here's the thing most people miss: the problem usually isn't the AI. It's the prompt.

AI tools are extraordinarily capable, but they are not mind readers. They respond to what you give them. Vague input produces vague output. Ambiguous questions produce hedged, generic answers. And when you don't tell the AI what role to play, what format you need, or what constraints matter, you're essentially asking a brilliant colleague to help you without telling them what you actually need.

This guide walks through a practical framework for writing prompts that consistently produce accurate, useful results — whether you're using AI for data analysis, report writing, literature reviews, or any other professional task.

Why Most AI Prompts Fail

Before we get to solutions, it helps to understand the failure modes. Most bad AI results come from one of four root causes:

1. The prompt is too vague. "Summarize this" or "help me with my report" gives the AI almost no signal about what you actually want. The AI fills in the gaps with assumptions — and those assumptions may not match yours.

2. The prompt lacks context. AI tools don't know your field, your audience, your organization, or your constraints unless you tell them. A prompt that works well for a marketing copywriter will produce very different results for a public health epidemiologist — unless you specify.

3. The prompt asks for too much at once. Asking an AI to "analyze this dataset, identify trends, write a summary, and suggest next steps" in a single prompt often produces shallow results across all four tasks. Breaking complex requests into steps produces better work at each stage.

4. There's no format guidance. If you need a bulleted list, say so. If you need a formal memo, say so. If you need a response under 200 words, say so. Without format guidance, the AI defaults to whatever structure it thinks fits — which may not be what you need.

The RACE Framework for Better Prompts

A simple framework can eliminate most of these failure modes. I call it RACE:

  • R — Role: Tell the AI what role to play
  • A — Action: Specify exactly what you want it to do
  • C — Context: Provide the background information it needs
  • E — Expectations: Define the format, length, and constraints

Let's look at each element in practice.

Role: Give the AI a Persona

Starting your prompt with a role assignment dramatically improves output quality. Compare these two prompts:

Without role: "Explain what a confidence interval is."

With role: "You are a biostatistician explaining concepts to a non-technical public health program manager. Explain what a confidence interval is."

The second prompt produces an explanation calibrated to the right audience — no unnecessary jargon, but no oversimplification either. The role tells the AI not just what to say, but how to say it.

For healthcare and public health work, useful roles include: epidemiologist, health policy analyst, data visualization specialist, medical writer, program evaluator, and public health communications expert.

Action: Be Specific About What You Want

The action is the core of your prompt — but specificity matters enormously. "Write a summary" is an action, but it's too vague. "Write a three-paragraph executive summary highlighting the three most significant findings, written for a non-clinical audience" is an action that will produce a usable result.

Strong action prompts use precise verbs: analyze, compare, identify, draft, rewrite, extract, classify, translate. Weak prompts use vague verbs: help, do something with, look at, think about.

Context: Give the AI What It Needs to Know

Context is where most prompts fall short. The AI doesn't know:

  • What field you work in
  • Who your audience is
  • What constraints you're working under
  • What you've already tried
  • What the stakes are

Providing this context doesn't require a paragraph of background. A few targeted sentences are usually enough. For example: "I'm preparing a report for a county health department. The audience is non-technical administrators who make budget decisions. The data comes from a community health needs assessment conducted in 2025."

That context changes everything about how the AI will frame its response.

Expectations: Define the Output

The final element is often the most overlooked. Telling the AI what format, length, and style you need prevents the most common frustration: getting a response that's technically correct but practically unusable.

Useful expectation-setting phrases:

  • "Respond in bullet points, no more than 10 bullets"
  • "Write this as a formal memo, approximately 300 words"
  • "Use plain language — no jargon, no acronyms"
  • "Include citations for any factual claims"
  • "Format this as a table with columns for X, Y, and Z"

Putting RACE Into Practice

Here's an example of a weak prompt transformed using the RACE framework:

Before: "Help me write about social determinants of health."

After: "You are a public health communications specialist writing for a general audience [Role]. Draft a 400-word introduction [Action] to a community health report that explains how social determinants of health — including housing, income, and education — affect health outcomes in low-income urban communities [Context]. Use plain language, avoid jargon, and write in an engaging but professional tone [Expectations]."

The second prompt will produce something you can actually use. The first will produce something you'll spend twenty minutes editing.

Advanced Techniques for Complex Tasks

Once you're comfortable with RACE, a few additional techniques can help with more complex work.

Chain your prompts. For multi-step tasks, break the work into a sequence of prompts. First ask the AI to analyze, then ask it to summarize, then ask it to reformat. Each step builds on the last, and you can course-correct at each stage.

Ask for alternatives. If the first output isn't quite right, don't just ask the AI to "try again." Ask it to "provide three alternative versions, each with a different tone" or "rewrite this with a stronger opening sentence." Specific revision requests produce better revisions.

Use the AI to improve your prompts. This is underused but powerful: paste a prompt you've been struggling with and ask the AI to help you improve it. "Here is a prompt I've been using. What's missing? How could I make it more specific?" The AI is often quite good at diagnosing its own failure modes.

Verify factual claims independently. AI tools can generate plausible-sounding but incorrect information, particularly for specific statistics, citations, and recent events. For any factual claim that matters, verify it through a primary source. This is especially important in healthcare and public health, where accuracy is not optional.

A Note on AI in Healthcare and Public Health Work

The stakes in our field are different from those in many other industries. A poorly written marketing email is annoying. A poorly analyzed dataset informing a public health intervention can have real consequences for real people.

This doesn't mean AI tools have no place in healthcare and public health work — they absolutely do. But it does mean that the quality of your prompts, and the rigor of your verification process, matters more here than in lower-stakes contexts.

Used well, AI can dramatically accelerate literature reviews, data summaries, report drafting, and stakeholder communications. Used carelessly, it can introduce errors that are difficult to detect precisely because they look so polished.

The framework in this guide is designed to help you get the former and avoid the latter.

Key Takeaways

  • Most bad AI results come from vague, context-free, or poorly structured prompts — not from the AI itself
  • The RACE framework (Role, Action, Context, Expectations) addresses the most common failure modes
  • Specificity is the single highest-leverage improvement you can make to any prompt
  • For complex tasks, chain your prompts rather than asking for everything at once
  • Always verify factual claims independently, especially in healthcare and public health contexts

If you're using AI tools to support data analysis, program evaluation, or public health research and want to discuss how to integrate them responsibly into your workflow, I'd be glad to talk.


AI Claude Sonnet 5.5 was used for language refinement.

Explore Topics

#AI tools#prompt engineering#productivity#data strategy#public health
D

Written by

Dr. Komi Modji, MD, MPH

Physician-epidemiologist and founder of Excellence Data Consulting. Since 2018, I have helped health departments, nonprofits, community organizations and researchers turn their data into decisions that improve health. English | Français.

Learn more →

Have a data question or project?

Book a free 30-minute call

No obligation — just an honest conversation about your data needs.

Get in Touch