AI Literacy & Prompting Module 2 – What AI does well and where it fails
What AI does well and where it slips
The tasks AI tools usually handle well, the ones where they slip (counting, sums, dates, rare and local facts), why ability is uneven, and the check for each.
What you will learn
- List task types where AI tools are usually helpful and those that need close checking
- Explain why AI ability is uneven, strong on some hard-looking tasks and weak on some easy-looking ones
- Predict the likely failure points of an answer (counting, sums, dates, rare, recent and local facts)
- Choose a check that matches each kind of failure
Before you start
What you’ll learn · Before you start
What you will learn
- List task types where AI tools are usually helpful and those that need close checking
- Explain why AI ability is uneven, strong on some hard-looking tasks and weak on some easy-looking ones
- Predict the likely failure points of an answer (counting, sums, dates, rare, recent and local facts)
- Choose a check that matches each kind of failure
Before you start
On this page
The same chat app that drafts a polite leave request for you can miscount the letter a in “Mahabaleshwar”, which has four. Researchers who tested many models on a long list of words found that most of them could not count a letter that appears more than twice in a word, while the same models write fluent paragraphs on almost any subject.
You will sort everyday tasks into those AI tools usually handle well and those that need checking, see why their ability is uneven, predict where an answer is likely to slip (counts, sums, dates, and rare, recent or local facts), and pick the check that catches each kind of slip before you rely on the answer.
AI tools are strongest at language work you can judge
Two large studies measured what happens when people do real work with a chat model. In one, 453 college-educated professionals did writing tasks from their own jobs: those with the tool took 40 % less time and produced work rated 18 % better. In another, 5,172 customer-support agents with an AI assistant resolved 15 % more issues an hour on average; the least experienced gained most, while the most experienced gained a little speed and lost a little quality.
These tasks have three things in common: the input and the output are language, many different answers are good enough, and a person can judge the result by reading it. Work of that shape is where a fast, fluent writer helps most. Work that has exactly one right answer, which the reader cannot see by reading, is where it needs checking:
| Task | Usually | Why |
|---|---|---|
| Drafting or rewriting an email, a notice or a cover letter | Helpful | Many versions are fine, and you judge one by reading it |
| Summarising a text you paste in | Helpful, check the key facts | The facts are in front of it, but details still get dropped or changed |
| Translating between widely used languages | Helpful | There is far more training text for them than for other languages |
| Explaining a concept, brainstorming, reformatting | Helpful | You judge the result by its sense and its fit |
| Short code and spreadsheet formulas | Helpful, test it | It runs or it fails, so a test is quick |
| Exact counts, sums and dates | Check closely | One wrong digit looks as tidy as a right one |
| Recent events, local rules, fees and timetables | Check closely | They may be newer than its training text, or rare in it |
| Legal, medical and money specifics | Check closely | Errors are costly; one study found wrong answers to 58 % to 88 % of specific questions about court cases |
The legal figures come from Dahl and others, who asked models verifiable questions about real court cases. The textbook Speech and Language Processing adds that language models work worse in languages other than English, presumably because English dominates their training data, so the translation row holds best for language pairs with a lot of text behind them.
A working rule
Treat an AI tool as a fast, well-read assistant with no stake in being right, and give it work whose result you can judge or check. The more exact the answer must be, the more of the checking is yours.
Checkpoint
Check: Tasks AI usually does well
Ability is uneven, even between tasks that look alike
You might expect a tool that writes a good market report to manage anything easier than that. A preregistered experiment with 758 consultants of a global firm shows why that expectation fails: Dell’Acqua and others report two opposite results for tasks that looked similarly hard:
| Task | Consultants with AI, compared with those without |
|---|---|
| 18 realistic tasks inside the frontier, from creative to analytical | Finished 12.2 % more tasks, 25.1 % faster on average, with significantly better quality |
| One complex managerial task chosen to lie outside it | 19 % less likely to reach a correct solution |
The authors call the edge of what AI does well a jagged frontier: The uneven edge of what AI does well. Tasks that look equally hard to a person can fall inside it, where AI help improves the work, or outside it, where the same help makes the work worse.: it does not follow how hard a task looks to a person, so two tasks that seem alike can fall on opposite sides of it. Outside the frontier, people who worked with AI did worse than people who worked alone.
Judging by the hardest thing it did
Wrong: “It wrote a strong report, so the totals in it must be right.” Right: “It writes reports well; I check the totals.” Skill at one task tells you little about another, even inside the same piece of work.
The opening example is the same effect in miniature. Letter counting is trivial for a person and slips for a model, while a fluent paragraph on a technical subject, which takes a person real effort, is routine for it. Difficulty for people is a poor guide to difficulty for models, so the only way to know where your task falls is to try the tool on cases whose answers you already know.
Key idea
An AI tool’s ability is uneven in ways that do not follow how hard a task looks: test it on cases you can check before you trust it with a new kind of task.
Checkpoint
Check: Uneven ability, the jagged frontier
Letters slip because models read tokens, not letters
A model never sees the letters you typed. A tokenizer: The program that cuts text into tokens before a model reads it, and turns tokens back into text afterwards. Its pieces are learned from its own training text, so they differ from model to model. More in “Tokens, context windows and AI memory” first cuts your text into token: A piece of text that a model reads or writes as one unit: often a whole common word, sometimes part of a longer word, a punctuation mark or a single byte of a rarer character. More in “Tokens, context windows and AI memory”: Hugging Face’s guide to tokenization notes that common words stay whole while rare words are split into smaller pieces, and the lesson on tokens shows how those pieces are learned. Each piece then becomes a number. Follow one question from your keyboard to the reply:
The drawing shows the whole scene; its 6 steps are listed below.
Every step as text
- The question. You ask how many times the letter a appears in Mahabaleshwar. Written out letter by letter, the answer is plain to see: four.
- Pieces, not letters. A tokenizer cuts your question into tokens. Common words become one token each, while a rare name such as Mahabaleshwar is cut into several smaller pieces. The letters inside a piece are no longer separate items.
- Numbers in. Each token becomes a number from the model's vocabulary, so the model receives a short list of numbers. Nothing in that list marks where, or how often, the letter a occurs.
- A likely next token. The model scores every token for coming next. To count, it would have to recall how each piece is spelled and keep a tally as it goes. Researchers find that models recognise letters well but miscount letters that occur more than twice.
- An answer in a firm voice. It writes the number that looks likeliest after such a question, in the same confident tone whether the number is right or wrong. A letter that appears more than twice is where most of the models tested went wrong.
- The side road. Some apps can run code or a calculator. Then a program counts the letters and the model only reports the result, which is why the same question can come out right in one app and wrong in another.
To count the a’s, the model would need the spelling of every piece and a running tally of the letters. Fu and others found that models recognise letters but cannot count them reliably, with errors growing with the number of letters in a word and most models failing when a letter appears more than twice. The CUTE benchmark by Edman, Schmid and Fraser found the same split: models seem to know how their tokens are spelled, yet fail to use that knowledge when they must change a word letter by letter, by inserting, deleting or swapping letters. Writing a word backwards is the same kind of task.
The program below works out eight quick tasks of the kinds that slip, letter by letter and digit by digit. Ask any AI app the same eight questions in a new chat and mark its answers against this table:
"""Eight quick tasks of the kinds chat models slip on, each answered exactly.
A chat model reads tokens, pieces of words, and writes a likely answer. These
tasks need letters, digits or a calendar handled exactly, so this program
works each one out step by step. Ask an AI app the same eight questions and
mark its answers against the table.
"""
from datetime import date
def count_letter(word, letter):
return word.lower().count(letter)
def cab_fare(km, first_km=2, first_fare=50, per_km=18):
"""50 rupees for the first 2 km, then 18 rupees for every km after."""
return first_fare + max(0, km - first_km) * per_km
independence_day = date(1947, 8, 15)
TASKS = [
("counting", 'How many times does "a" appear in "Mahabaleshwar"?',
count_letter("Mahabaleshwar", "a")),
("counting", 'How many times does "r" appear in "Tiruchirappalli"?',
count_letter("Tiruchirappalli", "r")),
("counting", 'How many letters are in "Thiruvananthapuram"?',
len("Thiruvananthapuram")),
("letters", 'Write "Kanyakumari" backwards.',
"Kanyakumari"[::-1].lower()),
("sums", "What is 347 x 286?",
f"{347 * 286:,}"),
("sums", "What is 4,857 x 3,926?",
f"{4857 * 3926:,}"),
("calendar", "What weekday was India's first Independence Day?",
independence_day.strftime("%A")),
("given numbers", "50 rupees for 2 km, then 18 a km: a 13.5 km fare?",
f"{cab_fare(13.5):g} rupees"),
]
for number, (kind, question, answer) in enumerate(TASKS, start=1):
print(f"{number}. [{kind}] {question}")
print(f" Exact answer: {answer}")
print()
print("Mahabaleshwar, letter by letter:", " ".join("Mahabaleshwar"))
print("Positions of a:", [i + 1 for i, ch in enumerate("mahabaleshwar")
if ch == "a"])
digits = len("347") * len("286")
print(f"347 x 286 by hand: {digits} single-digit products, then carries") Output
1. [counting] How many times does "a" appear in "Mahabaleshwar"? Exact answer: 4 2. [counting] How many times does "r" appear in "Tiruchirappalli"? Exact answer: 2 3. [counting] How many letters are in "Thiruvananthapuram"? Exact answer: 18 4. [letters] Write "Kanyakumari" backwards. Exact answer: iramukaynak 5. [sums] What is 347 x 286? Exact answer: 99,242 6. [sums] What is 4,857 x 3,926? Exact answer: 19,068,582 7. [calendar] What weekday was India's first Independence Day? Exact answer: Friday 8. [given numbers] 50 rupees for 2 km, then 18 a km: a 13.5 km fare? Exact answer: 257 rupees Mahabaleshwar, letter by letter: M a h a b a l e s h w a r Positions of a: [2, 4, 6, 12] 347 x 286 by hand: 9 single-digit products, then carries
Recorded with Python 3.14.8 on macOS 26 arm64. To run it yourself: mise exec python@3.14.8 -- python3 quick_tasks.py
Mahabaleshwar has its a’s at positions 2, 4, 6 and 12, which any program finds exactly. Two apps can give different answers to these questions: one that runs code behind the scenes lets a program count, while one that only writes text gives you the model’s guess.
Character Counter Paste a word or a whole paragraph to count its characters and letters exactly.Checkpoint
Check: Why letters slip
Long sums and dates slip one step at a time
Multiplication by hand is many small steps. The program’s 347 x 286 needs 9 single-digit products and the carries between them, and 4,857 x 3,926 needs 16. A model writes the answer token by token, so a step it gets wrong anywhere in that chain spoils the product. Dziri and others found that the models they tested reached only 55 % and 59 % accuracy on three-digit by three-digit multiplication, and that performance fell from near perfect to zero as problems grew. They argue that errors accumulate with every step of a problem built from smaller ones.
Here is a simple model of that argument. Suppose each single-digit product is right 97 % of the time, an assumption chosen only to show the shape. The figure starts at the 9 products of 347 x 286 and gives the chance that all 9 are right; set the tries to 16 and then 25, keeping “at least” equal to the tries:
In 9 tries with p = 0.97, the chance of at least 9 successes is 0.7602; on average there are 8.73.
The numbers as a table
| Successes | Probability |
|---|---|
| 7 | 0.0262 |
| 8 | 0.2116 |
| 9 | 0.7602 |
With 9 steps the chance that all are right is about 0.76; with 16 it falls to about 0.61, and with the 25 steps of a five-digit by five-digit product to about 0.47. Even a small error per step makes long sums unreliable. How numbers are cut into tokens matters too: Singh and Strouse found that writing numbers with commas, which changes how they are split, largely improved one family of models’ arithmetic.
Dates are sums in disguise. “Which weekday was India’s first Independence Day?” means counting days across years, leap years and months of different lengths; the program’s answer is Friday.
Long Multiplication Calculator Multiply two numbers and see every single-digit product and carry, as the steps of this section.Checkpoint
Check: Why long sums and dates slip
Rare, recent and local facts are the weakest
A model answers a factual question from patterns in its training text, so it does best on facts that text repeats. Kandpal and others found that a model’s accuracy on a factual question tracks how many documents about that fact it saw in training, and Mallen and others found that making models larger barely helps with such long-tail fact: A fact that appears in few documents, such as a small town's bus fare or a minor local rule. Models answer such facts far less reliably than facts that are written about often., while models that look up documents do far better on them. Facts can be weak spots for three more reasons: they happened after the model’s training cutoff: The point in time up to which a model's training text was collected. The model knows nothing later unless an app adds it to the input, for example from a web search. More in “How chatbots write: predicting the next token”, they are local and change often, or they depend on details of your case that you never gave. Here is each kind of slip with its example and its check:
| Kind of slip | Example | The check |
|---|---|---|
| Counting and letters | The a’s in Mahabaleshwar | Spell it out and count; a character counter checks lengths |
| Long sums and dates | 4,857 x 3,926; a weekday | A calculator, code or a date calculator |
| Rare facts | A small town’s bus fare | The operator’s or the office’s own page |
| Recent facts | This year’s deadline for a form | The issuing body’s notice, with its date |
| Local rules and fees | A state’s fee for a licence renewal | The department’s current fee table |
| Missing context | “Am I eligible for this scholarship?” | Give the facts of your case, then check the rules |
Fees, forms and timetables in India
Fees, forms and timetables are set by a state department, a city body, a college or an operator, appear in few documents and change from year to year. An AI answer can mix one state’s rule with another’s, or give last year’s fee. Check the figure on the issuing body’s own page, and note the date it applies from.
Checkpoint
Check: Rare, recent and local facts
Match the check to the way an answer can fail
Each kind of slip has a check that catches it, and reading the answer again catches almost none of them. Pick one AI answer you want to use, answer the five questions about it, and the table rules out the checks that cannot catch its likely slips:
Answer the questions above: the table then marks what fits your case and says why the rest does not.
| Check | Counts, sums and dates | Recent, local, rare facts | Facts from your text | Health, money or law | Wording and ideas |
|---|---|---|---|---|---|
| Recompute it Uses: a calculator, code or a tool | Good catches the slip at once: 347 x 286 is 99,242 whatever the reply says | Poor checks the arithmetic, not whether the fee it starts from is current | Mixed only for the numbers in it | Mixed a start: a qualified person still reads it before anyone acts | Poor nothing to compute |
| Run or test it Uses: cases whose answer you know | Good a formula or program run on rows whose answer you know shows its slips | Poor running code says nothing about today's fee or rule | Poor code tests do not check a summary | Mixed tests catch bugs, not whether the rule the code follows is right | Poor nothing to run |
| Compare with your text Uses: the document you gave it | Mixed catches a number copied wrongly from your text, not a wrong sum | Mixed only as current as the text you gave it | Good find each claim and quote in your text, and drop what is not there | Mixed a start: a qualified person still reads it before anyone acts | Mixed shows what changed, not whether the new wording is better |
| Find the official source Uses: the issuing body's own page | Mixed has the figure, but not your calculation | Good the issuing body's page, with the date its figures apply from | Mixed needed only when your text cites a rule or a figure | Good the rule itself, in its own words | Poor not a test of tone |
| Ask a qualified person Uses: a doctor, lawyer or accountant | Mixed slower than a calculator for plain sums | Good knows which rule applies to your case | Mixed worth it when the text is advice you will act on | Good the check that health, money and legal decisions need | Mixed useful for a high-stakes letter |
| Read it again yourself Uses: sense, tone and fit | Poor a wrong count reads as smoothly as a right one | Poor an old fee reads as well as the current one | Poor reading the summary alone cannot show what it dropped | Poor fluent text is not checked text | Good the right check for tone, clarity and fit |
How the answers decide
- “Does the answer contain a count, a sum, a date or a calculation?” Yes: rules out Read it again yourself. A wrong count or sum reads as smoothly as a right one, so reading it again cannot catch the slip.
- “Does the answer contain a count, a sum, a date or a calculation?” No: rules out Recompute it. With no count, sum or date in the answer, there is nothing to recompute.
- “Is the answer code or a spreadsheet formula?” No: rules out Run or test it. Testing fits code and formulas; with neither in the answer, there is nothing to run.
- “Is the answer code or a spreadsheet formula?” Yes: adds a caveat to Read it again yourself. Code can read well and still fail: run it on a case whose answer you know before you rely on it.
- “Is it based on a text you gave the app, such as a notice or your notes?” No: rules out Compare with your text. There is no text of yours to compare with: the claim came from the model's training or a search.
- “Does it state recent, local or rare facts, such as a fee, a rule or a timetable?” Yes: rules out Read it again yourself. An old fee or rule reads as well as the current one; only a current source shows which it is.
- “Does it state recent, local or rare facts, such as a fee, a rule or a timetable?” Yes: adds a caveat to Compare with your text and Recompute it. Your text or the arithmetic can be right while the figure it starts from has changed: confirm it on the official page.
- “Could a mistake affect someone's health, money or legal rights?” Yes: rules out Read it again yourself. Fluent text is not checked text, and here a slip costs more than time.
- “Could a mistake affect someone's health, money or legal rights?” Yes: adds a caveat to Recompute it, Run or test it, Compare with your text and Find the official source. With health, money or legal rights at stake, these checks are a start: a qualified person reads it before anyone acts.
- “Does the answer contain a count, a sum, a date or a calculation?” No and “Is the answer code or a spreadsheet formula?” No and “Does it state recent, local or rare facts, such as a fee, a rule or a timetable?” No and “Could a mistake affect someone's health, money or legal rights?” No: rules out Ask a qualified person and Find the official source. For wording and ideas at low stakes, your own reading is the check: there is no figure to look up, and an expert adds little.
In short: recompute numbers, run code and formulas on cases you know, compare a summary with the text you gave, look up recent, local or rare facts with the body that issues them, and bring in a qualified person when health, money or law is at stake. Reading it again is the check for wording, tone and ideas, and for nothing else.
Day of the Week Calculator Check any weekday an AI answer gives, with the working shown step by step.Checkpoint
Check: Matching the check to the slip
Practise: sort six task cards
Six task cards from an ordinary week. For each, decide whether it is likely fine with a read-through, needs a check before use, or should not be handed to an AI tool at all; every answer says why:
Checkpoint
Sort the task cards
Then try the lesson’s self-check, which asks first about whichever of its six ideas has given you the most trouble:
Practice that adapts to you
Practise this lesson
12 questions about 6 ideas of this lesson. Each answer is explained at once, and what you get right is kept in this browser.
Interview questions
Warm-up (fresher to mid-level): Which tasks can you usually hand to an AI tool, and which need close checking?
Hand it work whose result you can judge by reading or check quickly: drafting and rewriting, summarising a text you supply, translating between widely used languages, explaining a concept, brainstorming and reformatting. Large studies found such writing and support work done faster and often better with AI help. Check closely anything with exactly one right answer that reading cannot reveal: counts, sums and dates, because the model reads tokens and writes likely text rather than computing; rare, recent or local facts such as fees, rules and timetables, which may be missing from its training text or out of date; and legal, medical and money specifics, where errors are costly. Ability is uneven, so test the tool on cases whose answers you know before trusting it with a new kind of task, and match the check to the slip: recompute, test, compare with the source, or ask a qualified person.
Two workplace questions build on this lesson:
Model answers open with any pass: ₹79 for 1 week ($2.99), one payment that never renews.
-
Fresher to mid
A colleague used a chat app to total 40 invoice amounts for a vendor payment, and the total was wrong. Explain why such slips happen, and set a rule for when your team may use AI with numbers.
-
Mid to senior
Your college wants a chatbot to answer students' questions about fees, deadlines and bus timings. Which questions would you let it answer, and how would you keep its answers correct?
Key takeaways
- AI tools help most with language work you can judge by reading: drafting, summarising text you supply, translating between widely used languages, explaining and reformatting.
- Ability is uneven: in a study of 758 consultants, AI help made 18 tasks faster and better but made people 19 % less likely to solve one task that looked just as hard.
- Letters slip because a model reads tokens, pieces of words turned into numbers, and writes a likely answer instead of counting.
- Long sums and dates slip because they are many small steps, and one wrong step anywhere spoils the result.
- Rare, recent and local facts, such as fees, rules and timetables, are the weakest, and so is anything that depends on details of your case.
- Match the check to the slip: recompute, test, compare with your text, use the official source, or ask a qualified person; reading again checks only the wording.
Terms in this lesson
- jagged frontier
- The uneven edge of what AI does well. Tasks that look equally hard to a person can fall inside it, where AI help improves the work, or outside it, where the same help makes the work worse.
- long-tail fact
- A fact that appears in few documents, such as a small town's bus fare or a minor local rule. Models answer such facts far less reliably than facts that are written about often.
References
- Navigating the Jagged Technological Frontier: Field Experimental Evidence of the Effects of Artificial Intelligence on Knowledge Worker Productivity and Quality (Organization Science (Dell'Acqua and others))
- Experimental evidence on the productivity effects of generative artificial intelligence (Science (Noy and Zhang))
- Generative AI at Work (The Quarterly Journal of Economics (Brynjolfsson, Li and Raymond))
- Why Do Large Language Models (LLMs) Struggle to Count Letters? (arXiv (Fu and others))
- CUTE: Measuring LLMs' Understanding of Their Tokens (EMNLP (Edman, Schmid and Fraser; arXiv))
- Faith and Fate: Limits of Transformers on Compositionality (arXiv (Dziri and others))
- Tokenization counts: the impact of tokenization on arithmetic in frontier LLMs (arXiv (Singh and Strouse))
- Large Language Models Struggle to Learn Long-Tail Knowledge (ICML (Kandpal and others; arXiv))
- When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories (ACL (Mallen and others; arXiv))
- Large Legal Fictions: Profiling Legal Hallucinations in Large Language Models (Journal of Legal Analysis (Dahl, Magesh, Suzgun and Ho))
- Speech and Language Processing, 3rd edition draft, chapter 1: Introduction (Stanford University (Jurafsky and Martin))
- Tokenization algorithms (Transformers documentation) (Hugging Face)
Related tools
Report a problem with this lesson
Kept only in this browser. Your Learn progress