Article 147, ١٤٧ or 18 bis
How Bayan reads an article number and cites it.
[date] · [author] · 6 min read
The article number is the smallest part of a citation and the most dangerous. A judge does not read what you meant; a judge reads the number you wrote. In Egypt an article number comes in many forms, and every form has to lead to one text.
Two sets of digits
Older official texts, and many recent ones, use Arabic Indic digits: «المادة ١٤٧». Most users today type Western digits: «المادة 147». Both can appear in the same document. Bayan reads both as one number and shows numbers in its answers in Western digits.
Bis and its letters
When the legislature adds a new article between two existing ones, it does not renumber the whole law. It gives the new article the number of the one before it with «مكررًا», bis. If it adds more than one in the same place, it adds letters: «مكررًا (أ)», «مكررًا (ب)». Article 10 bis, added to the Real Estate Registration Law by Law 9 of 2022, is an example. Article 10 and Article 10 bis are entirely different texts, even though they sit side by side.
Paragraphs and items
"Article 224(2)" means the second paragraph of Article 224, which Arabic texts may also write as «الفقرة الثانية من المادة 224» or «م 224/2». A precise citation names the paragraph, because the paragraphs of one article can pull in opposite directions: paragraph 1 of Article 217 allows liability to be made stricter, and paragraph 3 voids any exclusion of liability in tort.
The number stays, the text changes
When the legislature says «يُستبدل بنص المادة», "the text of article X is replaced", the number stays and the text changes. Article 9 of the Registration Law is still Article 9, but Law 9 of 2022 replaced its fourth and sixth paragraphs. An answer that quotes Article 9 without a date may quote a text that no longer stands.
The same text under another number
The Arab civil codes come from a shared origin, so the same texts recur under different numbers. What Article 223 of the Egyptian Civil Code says is Article 224 of the Syrian Civil Code and Article 265 of the Qatari Civil Code. The reverse is more dangerous: Article 224 of the Egyptian code is not Article 224 of the Syrian one.
Why a general model gets this wrong
Numbers are the weakest point in how a general model works. It writes the most likely next word, and after "the article provides" every number in the code is a candidate. It does not consult an index; it picks the number its training text linked most with the subject of the question. If the same text appears in many Arab codes under different numbers, it has seen all of them next to the same words, and it picks one. That is Graphic 6 in the main article: 223 and 224 are almost equally likely, and nothing in that step checks which country you asked about. The result is a number that looks right, written with full confidence.
How Bayan reads and cites a number
[Sherif confirms before publication.]
- It breaks every reference to an article into parts: the law, its number and year; the article number; bis and its letter; the paragraph and item.
- It normalises Arabic Indic and Western digits before searching.
- It links the number to the text in force on the date that matters, and keeps earlier texts with their dates.
- It takes the number in the answer from the record itself, not from what the model writes. The model writes the explanation; the number comes from the source.
- It writes the citation in one fixed form: «المادة 224 (2) من القانون المدني، القانون رقم 131 لسنة 1948», Article 224(2) of the Civil Code, Law 131 of 1948.