How we build Bayan

The text on the date of the facts

How Bayan handles amendments.

[date] · [author] · 6 min read

The right legal question is not only "what does the law say?" but "what did the law say on the day the facts happened?" As a rule, a text governs what happens after it takes effect, not what happened before.

When a law takes effect

Article 225 of the Constitution requires laws to be published in the Official Gazette within fifteen days of being issued. They take effect thirty days after the day following publication, unless another date is set. They apply only to what happens from the date they take effect, though outside criminal and tax matters a law may provide otherwise if two thirds of the members of the House of Representatives approve.

First example: the Labour Law

Labour Law 14 of 2025 was published on 3 May 2025, took effect on 1 September 2025, and replaced Law 12 of 2003. A worker dismissed in July 2025 is, as a rule, judged under the old law; a worker dismissed in October 2025, under the new one, subject to any transitional provisions in the new law. Two similar questions, two different laws.

Second example: old rent

For decades Law 136 of 1981 governed rents for old premises. Then on 9 November 2024, in Case 24 of judicial year 20, constitutional, the Supreme Constitutional Court ruled unconstitutional the freezing of annual rents for premises let as homes. Then Law 164 of 2025 was published on 4 August 2025 and took effect the next day: it raised rents and set an end to the tenancies, seven years for homes and five for other uses. So the same question about rent has three answers depending on its date: before the ruling, between the ruling and the law, and after the law. The new law is itself under challenge before the Supreme Constitutional Court, so a fourth answer may come.

Why a general model gets this wrong

A general model has two problems with amendments, and they work together. First, its knowledge stops on the date its training ends, so it does not know what came after. Second, and deeper: even what came before, it weighs by how often it appeared. The old rent rule was written about for forty years; the new law, for months. A model trained after August 2025 has still seen the frozen rent rule far more often than the new law, so the old rule stays its most likely answer. And it does not store "the text as it stood on a given date". It stores a blend of everything it read, so one answer can join a sentence from the old law to a sentence from the new one. The answer reads smoothly, and carries no date.

How Bayan handles amendments

[Sherif confirms before publication.]

  • Every article is kept in its successive versions, each with the date it took effect, the date it ended, and the law that amended it.
  • You can ask about a specific date, and Bayan answers from the text in force on that date.
  • The answer gives the date from which the quoted text has been in force, and warns you if the text changed after the date of the facts.
  • The Legal updates page records every new law and amendment, and a lawyer reviews every entry before it is published.
Share

The month's key legal updates and what's new in Bayan, once a month.

Ask Bayan your first question.

Or book a team demo and bring a real contract: thirty minutes is enough to know whether Bayan fits your practice.

Book a team demo