General questions · 14 min read

We put 190 questions of Moroccan law to five AIs. Only one got every single one right

Maternity leave, deposits, time limits, theft penalties: we asked five AIs the same 190 questions on Moroccan law. Results, charts, real errors and our method.

Checked against the official texts on November 15, 2026

A brass scale of justice in front of a glowing Moroccan star shaped like a neural network, law books and a view of the Koutoubia

Fatima has just given birth. She works for a services company in Casablanca and wants to know how many weeks she can stay at home. She types her question into the world's most popular AI assistant. The answer comes back, crisp and confident: sixteen weeks. Six before the birth, ten after.

It's wrong. Or rather, it's right — for France. In Morocco, the Labour Code grants fourteen weeks of maternity leave (article 152). The AI didn't lie: it simply answered for the wrong country, without saying so.

Fatima is a fictional character. The answer, though, is very real: it's the one GPT-5.5, the engine behind ChatGPT, gave to one of the 190 questions we put, one by one, to five artificial intelligences. We wanted to know which of these assistants a Moroccan can trust when asking about their own country's law. The result is damning.

The verdict at a glance

Correct answers on 190 Moroccan law questions
Haqia100 %190/190
GPT-5.5 (with Moroccan context)97 %184/190
Claude Opus 5.5 (with Moroccan context)96 %183/190
GPT-4o (with Moroccan context)71 %134/190
GPT-5.5 (plain question)74 %141/190
Claude Opus 5.5 (plain question)79 %150/190
GPT-4o (plain question)55 %105/190

“With Moroccan context”: the general-purpose AI is told the user lives in Morocco. “Plain question”: the question is asked as is, like in an ordinary chat.

Out of 190 questions, Haqia gives the right answer 190 times. No mistakes, no approximations. The best general-purpose models on the market, OpenAI's GPT-5.5 (the engine behind ChatGPT) and Anthropic's Claude Opus 5.5, come close — but only when you take care to tell them you live in Morocco: 184 and 183 correct answers.

Remove that detail, ask the question the way anyone would, and the picture changes abruptly. GPT-5.5 drops to 141 correct answers out of 190, Claude to 150, and GPT-4o, the model that ran ChatGPT for a long time, to 105: for that one, nearly one answer in two turns out wrong.

When the AI answers for France

Let's read the answers one by one. The pattern repeats with bewildering regularity. Without context, GPT-5.5 mentions France or French law in 42 of its 100 answers to our main series. And when it does, the numbers change.

  • Unpaid wages. "In France, you have 3 years to claim unpaid wages," GPT-5.5 replies. In Morocco, all rights arising from the employment contract are time-barred after two years (Labour Code, article 395). An employee who thinks they have an extra year may lose everything.
  • Online purchases. Fourteen days to change your mind, says the general-purpose AI, citing European rules. Moroccan law no. 31-08 gives you seven, extended to thirty if the seller hasn't confirmed the order in writing (article 36).
  • Setting up a public limited company. Minimum capital: €37,000, according to GPT-5.5. In Morocco it's 300,000 dirhams, and 3 million for a company making a public offering (law no. 17-95, article 6).
  • Theft committed at night. "Under French law, the fact that a theft is committed at night does not, in itself, aggravate the penalty." The Moroccan Criminal Code says exactly the opposite: night is an aggravating circumstance, and the theft becomes punishable by five to ten years' imprisonment (article 510).
  • Child custody. "In France, there's no fixed age" for a child to choose which parent to live with. The Moroccan Family Code sets that age at fifteen (article 166).
  • Constitutional Court. Asked how many members it has, GPT-5.5 answered… for Benin. Seven members, five-year terms. Morocco's Constitutional Court has twelve, appointed for nine years (Constitution, article 130).

These errors share one feature: they're delivered with the same confidence as a correct answer. Nothing in the tone alerts the user.

The detail, series by series

We organised the 190 questions into three series, put to every assistant under the same conditions.

Score by question set
Main set (100)
Haqia100 %100/100
GPT-5.5 (with Moroccan context)98 %98/100
Claude Opus 5.5 (with Moroccan context)98 %98/100
GPT-4o (with Moroccan context)68 %68/100
Control set (50)
Haqia100 %50/50
GPT-5.5 (with Moroccan context)92 %46/50
Claude Opus 5.5 (with Moroccan context)92 %46/50
GPT-4o (with Moroccan context)72 %36/50
Final set (40)
Haqia100 %40/40
GPT-5.5 (with Moroccan context)100 %40/40
Claude Opus 5.5 (with Moroccan context)98 %39/40
GPT-4o (with Moroccan context)75 %30/40

The main series (100 questions) covers the most common situations: housing, family, work, business, criminal law, consumer issues. The control series (50 questions) tackles other articles, other phrasings, other languages. The final series (40 questions) explores less charted territory: inheritance, maternity, public holidays, unfair terms, fundamental rights, cheques.

Haqia scores 100/100, 50/50 and 40/40. It's the only assistant that doesn't stumble on any of the three.

Area by area

Score by area of law
Employment (54)
Haqia100 %54/54
GPT-5.5 (with Moroccan context)98 %53/54
Claude Opus 5.5 (with Moroccan context)96 %52/54
GPT-4o (with Moroccan context)80 %43/54
Family · Moudawana (45)
Haqia100 %45/45
GPT-5.5 (with Moroccan context)98 %44/45
Claude Opus 5.5 (with Moroccan context)98 %44/45
GPT-4o (with Moroccan context)73 %33/45
Business (19)
Haqia100 %19/19
GPT-5.5 (with Moroccan context)95 %18/19
Claude Opus 5.5 (with Moroccan context)95 %18/19
GPT-4o (with Moroccan context)63 %12/19
Criminal (15)
Haqia100 %15/15
GPT-5.5 (with Moroccan context)87 %13/15
Claude Opus 5.5 (with Moroccan context)93 %14/15
GPT-4o (with Moroccan context)53 %8/15
Consumer (11)
Haqia100 %11/11
GPT-5.5 (with Moroccan context)100 %11/11
Claude Opus 5.5 (with Moroccan context)100 %11/11
GPT-4o (with Moroccan context)64 %7/11
Administration (11)
Haqia100 %11/11
GPT-5.5 (with Moroccan context)100 %11/11
Claude Opus 5.5 (with Moroccan context)100 %11/11
GPT-4o (with Moroccan context)91 %10/11
Rent & housing (10)
Haqia100 %10/10
GPT-5.5 (with Moroccan context)100 %10/10
Claude Opus 5.5 (with Moroccan context)90 %9/10
GPT-4o (with Moroccan context)30 %3/10
General questions (10)
Haqia100 %10/10
GPT-5.5 (with Moroccan context)100 %10/10
Claude Opus 5.5 (with Moroccan context)90 %9/10
GPT-4o (with Moroccan context)60 %6/10
Land & property (5)
Haqia100 %5/5
GPT-5.5 (with Moroccan context)100 %5/5
Claude Opus 5.5 (with Moroccan context)100 %5/5
GPT-4o (with Moroccan context)60 %3/5
Digital & data (5)
Haqia100 %5/5
GPT-5.5 (with Moroccan context)80 %4/5
Claude Opus 5.5 (with Moroccan context)100 %5/5
GPT-4o (with Moroccan context)80 %4/5
Moroccans abroad (4)
Haqia100 %4/4
GPT-5.5 (with Moroccan context)100 %4/4
Claude Opus 5.5 (with Moroccan context)100 %4/4
GPT-4o (with Moroccan context)100 %4/4
Tax (1)
Haqia100 %1/1
GPT-5.5 (with Moroccan context)100 %1/1
Claude Opus 5.5 (with Moroccan context)100 %1/1
GPT-4o (with Moroccan context)100 %1/1

Employment law is the most contested ground: it's where everyday questions cluster, and where the gaps between countries are widest (notice periods, probation, holidays, overtime). Criminal law and company law also widen the gaps, even with Moroccan context: GPT-5.5 loses points there on penalties and numerical thresholds.

In every language of Morocco

Score by language of the question
French (154)
Haqia100 %154/154
GPT-5.5 (with Moroccan context)96 %148/154
Claude Opus 5.5 (with Moroccan context)95 %147/154
GPT-4o (with Moroccan context)71 %110/154
Arabic (8)
Haqia100 %8/8
GPT-5.5 (with Moroccan context)100 %8/8
Claude Opus 5.5 (with Moroccan context)100 %8/8
GPT-4o (with Moroccan context)75 %6/8
Darija (6)
Haqia100 %6/6
GPT-5.5 (with Moroccan context)100 %6/6
Claude Opus 5.5 (with Moroccan context)100 %6/6
GPT-4o (with Moroccan context)83 %5/6
Amazigh (Tifinagh) (2)
Haqia100 %2/2
GPT-5.5 (with Moroccan context)100 %2/2
Claude Opus 5.5 (with Moroccan context)100 %2/2
GPT-4o (with Moroccan context)0 %0/2
English, Spanish, Italian, German, Chinese (20)
Haqia100 %20/20
GPT-5.5 (with Moroccan context)100 %20/20
Claude Opus 5.5 (with Moroccan context)100 %20/20
GPT-4o (with Moroccan context)65 %13/20

Moroccans don't always ask their question in French. Our 190 questions were written in nine languages: French, Arabic, Darija (in both Arabic and Latin script — the famous "arabizi"), Amazigh in Tifinagh script, English, Spanish, Italian, German and Chinese. Some deliberately contain mistakes, as in real life: "mon proprio veu pa me rendre ma cosion ke faire".

The difference shows up in Tifinagh. Without context, Claude Opus 5.5 fails both our Tifinagh questions, GPT-5.5 and GPT-4o fail one of them; even when guided, GPT-4o misses both. Haqia answers both correctly, in Tifinagh. That's no accident: Haqia automatically transcribes every question written in Tifinagh into IRCAM's official Latin alphabet to understand it without misinterpretation, then replies in the user's script.

What about Gemini?

We also questioned Gemini 3 Flash, Google's fast model. Its free access is limited to a few dozen requests a day, so we tested it on a sample of 20 questions from the final series, with Moroccan context. Result: 18 correct answers out of 20. On those same 20 questions, Haqia, GPT-5.5 and Claude Opus 5.5 score 20/20, and GPT-4o 15/20. Gemini therefore ranks among the good students when guided, but the sample is too small to appear in our charts.

What makes the difference

Why does a specialised assistant do better than models built by the world's biggest labs? Because it isn't playing the same game.

It reads the law before answering

A general-purpose AI answers from memory, based on what it read during training. Haqia opens the texts. It draws on more than 5,000 official Moroccan texts published on Adala, the Ministry of Justice portal, in Arabic and in their official French translations, broken down into more than 116,000 articles. Before each answer, it searches for the articles matching the situation described, reads them, then answers citing them. The sources appear beneath the answer: anyone can check.

It knows what has changed

Moroccan law moves fast. In 2026, the new Code of Civil Procedure (law no. 58-25) repealed the old 1974 code as well as the laws on administrative and commercial courts. Law no. 66-23 replaced law 28-08 on the legal profession. The income tax scale now exempts the bracket up to 40,000 dirhams. Haqia automatically sets aside texts that Adala flags as repealed: it will never cite a dead law as if it were in force.

It relies on verified rules

For the most frequent questions (rental deposits, dismissal, notice, maintenance, child custody, off-plan sales, cheques, taxes, overtime…), Haqia has a set of rules checked word for word against the official text. When a question concerns them, these rules are presented first, right alongside the articles retrieved. That's what lets it give the right figure first time: eight days, not fifteen; 1% per month of delay, not "according to the contract".

It doesn't guess

When no text allows a clear answer, Haqia says so, instead of inventing an article number or a deadline. In Pro mode, every answer ends with a list of points to check before acting. An AI that recognises its limits is an AI you can trust.

It speaks like you

Darija, classical Arabic, Tifinagh, French with mistakes, English for Moroccans abroad: Haqia understands, searches the texts in Arabic and French, and answers in the language of the question.

How we tested

A comparison is only as good as its method. Here's ours, plainly.

  • Answers drawn from the law. For each question, the correct answer was extracted from an official legal article, checked in its consolidated version published on Adala: Family Code, Labour Code, Dahir of Obligations and Contracts, Criminal Code, Code of Criminal Procedure, Commercial Code, law 31-08, law 49-16, law 67-12, General Tax Code 2026, Highway Code, Constitution, and others.
  • Automatic, identical marking for all. An answer is judged correct if it contains the exact information (the duration, rate, age, amount), doesn't assert a known error and answers in the language of the question. The grid accepts equivalent phrasings ("a month and a half" as well as "1.5 months") and applies identically to all five assistants.
  • Two ways of questioning the general-purpose AIs. Once with the raw question, as in an ordinary conversation. Once with an instruction stating that the user lives in Morocco. We publish both scores.
  • Official access. GPT-5.5, GPT-4o, Claude Opus 5.5 and Gemini 3 Flash were questioned through their publishers' official APIs, with no particular settings.
  • All answers kept. The full answers of each assistant, question by question, are archived. A result can be verified; it isn't taken on trust.
All results in detail
AssistantMain set100 q.Control set50 q.Final set40 q.Total190 q.
Haqia100/100 100 %50/50 100 %40/40 100 %190/190 100 %
GPT-5.5 (with Moroccan context)98/100 98 %46/50 92 %40/40 100 %184/190 97 %
Claude Opus 5.5 (with Moroccan context)98/100 98 %46/50 92 %39/40 98 %183/190 96 %
GPT-4o (with Moroccan context)68/100 68 %36/50 72 %30/40 75 %134/190 71 %
GPT-5.5 (plain question)69/100 69 %35/50 70 %37/40 93 %141/190 74 %
Claude Opus 5.5 (plain question)70/100 70 %42/50 84 %38/40 95 %150/190 79 %
GPT-4o (plain question)51/100 51 %27/50 54 %27/40 68 %105/190 55 %

“With Moroccan context”: the general-purpose AI is told the user lives in Morocco. “Plain question”: the question is asked as is, like in an ordinary chat.

What this test doesn't tell you

No benchmark is perfect, and we'd rather say so. Our questions check precise rules, with a figure or a condition attached; they don't measure the quality of a whole explanation, nor the ability to analyse a complex case. General-purpose models are improving fast, and their next versions will no doubt do better. Finally, Haqia provides general legal information: for a real case, a lawyer, an adoul or a notary remains essential.

But one thing won't change: an AI that answers from memory, without knowing where you live, exposes you to an answer that's right… somewhere else. Haqia was built so that Moroccan law is the only one that counts.

Try it yourself

The best comparison is your own. Ask Haqia the question that's on your mind, in your language, and look at the articles it cites. Then ask the same question to the AI of your choice, without mentioning that you're in Morocco.

Ask the assistant« I've just given birth — how many weeks of maternity leave do I get in Morocco? »Sourced answer

Frequently asked questions

Which is the best AI for Moroccan law?

In our benchmark of 190 questions verified against official texts, Haqia is the only assistant to have made no errors (190/190). GPT-5.5 scores 184/190 and Claude Opus 5.5 183/190 when told the user lives in Morocco, and 141/190 and 150/190 respectively without that detail.

Does ChatGPT know Moroccan law?

Partly. Without context, GPT-5.5, the model behind ChatGPT, mentioned France or French law in 42 of its 100 answers to our main series, with figures that are wrong for Morocco (time limit for wage claims, right of withdrawal, company capital, maternity leave…).

What sources does Haqia rely on?

On more than 5,000 official Moroccan texts published on Adala, the Ministry of Justice portal, in Arabic and in their official French translations, broken down into more than 116,000 articles, plus a set of rules verified article by article. Repealed texts are excluded.

Does Haqia understand Darija and Tifinagh?

Yes. Haqia understands Darija in Arabic or Latin script, Arabic, Amazigh in Tifinagh and seven other languages, and answers in the language of the question.

Does Haqia replace a lawyer?

No. Haqia provides general legal information and points out what to check. For a real case, consult a lawyer, an adoul or a notary.

Official sources

  • Adala portal of the Ministry of Justice (consolidated versions of texts)
  • Official Bulletin of the Kingdom of Morocco
  • General Tax Code, 2026 edition (Directorate General of Taxes)
  • Full results of the Haqia benchmark (complete answers kept for each assistant)

General information, up to date as of the date shown. For a specific situation, ask the assistant or consult a professional.