Section 302 no longer means murder. Most open language models haven’t noticed.

India replaced its 1860 criminal code in July 2024. We asked 15 open models about it in English and Hindi, then tried seven ways to fix them.

Data, code and citation
  • 82.5%of answers about the current law name the repealed Indian Penal Code (median of 15 models)
  • 0%median accuracy on the current law
  • 77.4%for Qwen2.5-7B with a retrieval table, at a cost of 2.0 MMLU points

The question

On 1 July 2024 the Bharatiya Nyaya Sanhita (BNS) replaced the Indian Penal Code (IPC) of 1860, and nearly every offence was renumbered. Under the IPC, Section 302 was the punishment for murder. Under the BNS that is Section 103, and Section 302 now covers words spoken to wound religious feelings. Models trained mostly on text from before 2024 have every reason to answer with the old law. We measured how often they do, and what fixes it.

What we did

We built a benchmark of 407 offences whose IPC-to-BNS mapping two independent public sources agree on, and turned it into 4,884 English and Hindi questions plus 407 multiple-choice items on what a section number means now. Fifteen open-weight models answered on 3 October 2026. On Qwen2.5-7B and Mistral-7B-v0.3 we tested seven repairs: a date line in the prompt, a notice that the law had changed, BM25 retrieval from the offence table, an era steering vector, and three LoRA fine-tunes.

What we found

Asked about the current law, the median model named the repealed IPC in 82.5% of answers and the BNS in none, and median current-law accuracy was 0%. Knowing the mapping was not enough: for offences whose IPC-to-BNS mapping a model could state, it still answered with the IPC half the time.

Telling the model today’s date changed nothing. Telling it the law had changed stopped it citing the IPC but did not produce correct BNS answers. Retrieval did: Qwen2.5-7B went from 0% to 77.4% on held-out offences while losing 2.0 points on MMLU. A temporal LoRA reached 79.8% on Qwen and 96.7% on Mistral, but cost Mistral 14.4 MMLU points.

Each repair: current-law accuracy against what it cost on MMLU

Data: summary.md in statute_drift_code_and_results.zip (Zenodo 10.5281/zenodo.23333395)
Qwen2.5-7BMistral-7B-v0.3-30-20-10+00%25%50%75%100%Accuracy on the current law (held-out offences)MMLU change (points)Date in prompt, law notice, steeringRetrievalTemporal LoRARetrievalLoRA on new factsTemporal LoRAQwen2.5-7BMistral-7B-v0.3-30-20-10+00%25%50%75%100%Accuracy on the current law (held-out offences)MMLU change (points)RetrievalLoRA on new factsTemporal LoRA
Show the numbers as a table
ModelRepairCurrent-law accuracyMMLU change
Qwen2.5-7BDate in prompt0.0%-1.2
Qwen2.5-7BLaw notice0.1%-0.8
Qwen2.5-7BEra steering vector0.0%-1.0
Qwen2.5-7BRetrieval table77.4%-2.0
Qwen2.5-7BLoRA, new facts54.6%-6.6
Qwen2.5-7BLoRA, temporal79.8%-0.4
Qwen2.5-7BLoRA, dev only15.3%-1.8
Mistral-7B-v0.3Date in prompt0.0%-0.6
Mistral-7B-v0.3Law notice0.0%-3.6
Mistral-7B-v0.3Era steering vector0.0%-1.2
Mistral-7B-v0.3Retrieval table71.9%-4.2
Mistral-7B-v0.3LoRA, new facts86.7%-28.6
Mistral-7B-v0.3LoRA, temporal96.7%-14.4
Mistral-7B-v0.3LoRA, dev only16.1%-7.2

What it does not show

Open-weight models we could run ourselves, one snapshot date, and offence sections only. The procedure and evidence codes (the BNSS and BSA) were replaced on the same day and are not covered here.

What I take from it

When the rules change, giving the model the new rules at answer time is cheap and keeps its general knowledge intact. Retraining can buy more accuracy, at a price you have to measure.

Data, code and citation

doi:10.5281/zenodo.23333395

Data on Zenodo under CC BY 4.0, published 13 October 2026.

Statute Drift: IPC-to-BNS offence table, benchmark questions, model answers, parser and Colab notebook

Open on Zenodo
Show BibTeX
@dataset{sahay2026_23333395,
  author    = {Sahay, Shahan and Dwivedi, Brahmansh Nirendra and Sharma, Aaradhya and Gupta, Shivani},
  title     = {Statute Drift: IPC-to-BNS offence table, benchmark questions, model answers, parser and Colab notebook},
  year      = {2026},
  publisher = {Zenodo},
  version   = {1.0.0},
  doi       = {10.5281/zenodo.23333395},
  url       = {https://doi.org/10.5281/zenodo.23333395}
}