· 10 min read ·
Without the source text, AI quotes the old law

Summary
The same 38 questions on Turkish consumer rights went to two AI models. Without the law text, the smaller model got 15 of 28 answerable questions wrong and the larger one 6. Most wrong answers were rules that changed in 2022. When the relevant articles were given to the model before it answered, both models gave zero wrong answers and fell for none of the 10 trap questions.
People now ask an AI chat assistant first about returns, warranties and subscriptions. The answers usually sound very sure. I wanted to know how often they are right, and what changes when the model is shown the actual law.
I had Claude Code build a small experiment to measure it. The code, the questions and every answer the models gave are on GitHub.
How the test was set up
The topic is Turkish consumer law, because almost everyone tries to return something they bought online at some point. The sources are the current texts of Law No. 6502 on Consumer Protection and the Distance Contracts Regulation, taken from mevzuat.gov.tr, the official legislation site.
There are 38 questions. 28 have a clear answer in those two texts, for example “How many days do I have to send the item back after I cancel?”. The other 10 are traps. They either cite an article that does not exist (“according to Article 99 of Law 6502…”; the law ends at Article 88) or rest on a false premise (“discounted items have a 7-day return period, right?”).
Every question went to two models, Claude Opus 5.5 and Claude Haiku 5.5, twice:
- Without sources: the model answers from what it knows.
- With sources: a small search engine finds the 5 most relevant articles, the model may only use those, cites the article it relies on, and says so when the answer is not there.
Both modes got the same instruction: “If you are not sure or don’t know, say so.” So the only difference between the two modes is whether the model sees the sources.
A separate model graded each answer against an answer key as correct, wrong or declined. Every answer graded wrong, plus 10 random answers graded correct, was then checked by hand against the law.
Results
| Model | Mode | Correct | Wrong | Declined | Traps caught | Traps missed | Cost |
|---|---|---|---|---|---|---|---|
| Haiku 5.5 | No sources | 12/28 | 15/28 | 1/28 | 9/10 | 1/10 | $0.009 |
| Haiku 5.5 | With sources | 26/28 | 0/28 | 2/28 | 10/10 | 0/10 | $0.025 |
| Opus 5.5 | No sources | 22/28 | 6/28 | 0/28 | 10/10 | 0/10 | $0.385 |
| Opus 5.5 | With sources | 26/28 | 0/28 | 2/28 | 10/10 | 0/10 | $0.902 |
With sources, neither model stated a single wrong fact. Without them, the small model was wrong on more than half of the questions and the large one on about one in five.
When checking the grades by hand I disagreed with the grading model twice. Both were Haiku answers without sources where the substance was right and only the article number was wrong. With those corrected, Haiku’s wrong answers without sources drop from 15 to 13. The reasons are in the repo’s review file. The table shows the grading model’s numbers.
Where the wrong answers come from
Reading the wrong answers one by one, a pattern stands out. Most of the time the models describe the old rule.
A consumer who cancels used to have 10 days to send the item back. The regulation changed in 2022 and the period became 14 days. Without sources, both models said 10 days. The start of the 14-day refund period changed in the same year, and both models again described the old version. Asked about an item that is out of stock, both models said the seller may cancel the order and refund the money. Since 2022 the regulation says being out of stock does not make delivery impossible: the seller must deliver within 30 days at most, and if it doesn’t, the right to terminate is the consumer’s.
What the model saidA consumer who cancels sends the item back within 10 days.
→Current textThe period has been 14 days since 2022.
What the model saidIf the item is out of stock, the seller may cancel the order and refund.
→Current textOut of stock is not impossibility. The seller delivers within 30 days at most; if not, the consumer may terminate.
What the model said (Haiku)Article 99 of the law governs the right of withdrawal.
→Current textThe law ends at Article 88; there is no Article 99.
A likely reason is that pages describing the old rule still far outnumber pages with the new one. The model repeats what it read most.
There is also plain invention. Asked about Article 99, which does not exist, Haiku accepted it and said it “governs the right of withdrawal”. Opus did not fall for it.
The first draft of the answer key for this test contained the same outdated rules. They were fixed only by checking each one against the current text. Information goes stale over time, and both people and models can miss it.
Sources alone are not enough
With sources, both models answered “not in the sources” to two questions. That was the right behaviour, because the search step had not found the right article. In one of them, about how a refund for an installment purchase returns to the card, the words “credit” and “installment” pulled the search toward the law’s consumer-credit articles, while the answer was in the regulation’s refund article.
This shows that the hardest part is the step that finds the right text and hands it to the model. Search found the right article for 26 of 28 questions. The other two showed up as “no answer”, at least not as a wrong answer.
Cost moves as expected. With sources, the text sent per question grew from 173 to 4,842 tokens on average, and Opus cost more than twice as much. But Haiku with sources answered 26 of 28 correctly for $0.025, while Opus without sources answered 22 correctly for $0.385. A smaller model, about 15 times cheaper, was more reliable than the large one once it had the right source.
What this means for companies
If a company builds a system that answers customers or staff with AI, choosing the most expensive model is not enough on its own. In this test, the current source given to the model is what made the difference. For information that changes, such as regulations, price lists or internal policies, relying on the model’s memory means telling customers outdated facts in a confident voice.
Most of the effort in such a system should go into keeping the source texts current and into the search step that brings the right text to the model. Showing which article an answer relies on also makes wrong answers easier to catch.
Limits
This is one topic and 38 questions. The results show a direction and do not carry over to every field as they are. Grades came from a model and doubtful ones were checked by hand. The law texts are as of 24 November 2026, and the questions and answers are in Turkish. This is not legal advice.
I prepared the code and the measurements with Claude Code. Anyone can rerun the same test with their own API key using the commands in the repo. A full run, including grading, cost about $3.
FAQ
- Does giving AI the source text stop it from making things up?
- In this test, both models gave no wrong answers on any of the 28 questions when they had the sources. On two questions the search step did not find the right article and the models said the answer was not in the sources. The result depends on retrieving the right text.
- How much more does it cost to send the sources?
- The text sent per question grew from 173 to 4,842 tokens on average. Even so, the small model with sources was more accurate than the large model without them, at about one fifteenth of the cost.
- Is this legal advice?
- No. The post measures how AI models behave. For your own case, check the current text of the law or ask a lawyer.
Comments
No comments yet. Be the first to write one.