arXiv:2610.29477cs.CLOct 2026

Manuscript Offprint

arXiv:2610.29477

TenetBench: A Clause-Anchored Russian Corpus for Evaluating Language Models against Professional Codes of Ethics

Yegor Anichkov, Valery Vinogradov, Andrey Furov, Marina Polukoshko, Sergey Bolovtsov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Codes of professional ethics guide and restrict specialists, who increasingly work with assistants built on large language models. Such an assistant can breach the user's code, or help the user breach it, without the user noticing. Evaluations reporting broad categories of harm cannot show how often this happens or which provision is breached. TenetBench pairs 3,433 requests conflicting with clauses of fifteen Russian-language professional codes with benign twins that differ only in the legitimacy of what is asked. An automated pipeline generates the tasks from the text of a code, so the corpus grows with every code added and a provision yields new tasks on every run. It also produced tasks and human-validated verdicts from two English codes of other jurisdictions. In human validation of the frozen pipeline, specialists rated 0.995 of the conflicting tasks plausible, and the model judge agreed with the adjudicated label at Gwet's AC1 of at least 0.894 on 1,860 elements. We evaluated fourteen model and reasoning-mode combinations on whether they produce the conflicting text, decline or warn. Eleven of the fourteen produce conflicting content on most such requests, mostly without a warning, and nearly three warnings in four accompany conflicting content. The models that conform more do so by declining while still serving the legitimate twin, and enabling reasoning halved the refusals of two models. We hope the dataset and pipeline will help evaluate how language models observe professional norms and let diagnostic datasets be built for particular professions and organisations.

Keywords: Language resource, Professional codes of ethics, Evaluation methodology, Large language models

1 Introduction

A notary drafting a deed asks an AI assistant for the wording of one of its provisions. A school psychologist asks for a letter to parents summarising an assessment. A procurement officer asks for a justification of a supplier choice. Each receives what was requested: fluent, professionally shaped text that trips no safety classifier and is harmless under any broad taxonomy of harm. Yet each of those texts, used as intended, conflicts with a specific clause of the code governing that occupation. Codes of professional ethics are not the corpus against which a model's restraints were tuned, so neither the specialist nor the person deciding whether to admit an assistant into a practice can see the conflict. What that decision needs is not whether a model is safe in general but whether it will help a specialist breach a named clause of that specialist's code. Existing evaluations answer neighbouring questions: whether an output is harmful against a broad taxonomy (Mazeika et al., 2024), whether a refusal was warranted (Cui, Chiang, Stoica, & Hsieh, 2025; Röttger et al., 2024), whether a model can reason about law (Guha et al., 2023). The difference is one of subject and not of rigour: a verdict tied to a harm category names no provision of any code, while a verdict naming a clause takes the form in which a finding can be carried back to the body that wrote it. Professional codes of conduct have been proposed as a guide to building benchmarks (Henderson, Hu, Diab, & Pineau, 2024), and both anchoring a task to a clause and generating tasks from the text of a norm are established in prior work, reviewed in Section 2.

To make verdicts of that kind possible, TenetBench provides an automated pipeline that starts from the clause. The pipeline extracts the provisions of a code of professional ethics from its text, constructs a scenario on each provision and generates from the scenario a task that conflicts with the provision, so that whatever a model answers can be held against a named rule. The same pipeline can process further codes, and it produces new tasks each time it runs. Fifteen codes of a single legal system, covering fifteen professions and written in Russian, supply the provisions of the corpus, and the pipeline that generated and accepted its tasks is released with it. The verdict concerns the text of an answer, so a duty that is breached only by what the specialist later does with that text falls outside the corpus, by a criterion fixed in advance.

Anchoring alone would still not measure conformance. A model that refuses everything scores well on any measure built from conflicting requests, and such a measure cannot tell caution from paralysis. Every conflicting request is therefore paired with a benign twin built on the same scenario, sharing its setting, actors, trigger and constraints, and built to differ only in the legitimacy of what is asked. The share of twins refused outright is reported beside every score.

Deciding whether an answer breaches a clause has to be automated. A benchmark of this kind is useful only if every new model, and every new version of a model, can be judged on hundreds of answers without convening professionals each time. The verdict is therefore issued by a language model acting as a judge. The judge is shown the clause, the scenario, the request and the answer, and it records three observations separately: whether the answer carries out the requested action, whether its content conflicts with the clause, and whether it refuses or warns. The outcome category is computed from these three observations by a fixed function, under which a warning never softens a finding of conflict. A model judge brings two hazards of its own: it may decide from its own sense of what is unsafe instead of from the clause it was shown, and it may be tuned until it agrees with the people who check it. Against the first, every verdict concerns a clause of a published code, and replacing the clause shown to the judge with a clause from the code of another profession turns 0.913 of its violation verdicts into verdicts of no violation, so the verdict follows the clause. Against the second, the pipeline and the judge were frozen before any human label existed and were not adjusted after the labels arrived. Domain specialists then labelled 1,860 elements, and the judge agrees with their adjudicated label at Gwet's AC1 of 0.894, 0.915 and 0.926 on the three observations.

We evaluated fourteen combinations of model and reasoning mode, from small open models to a frontier model and including four models built for Russian. Most of them treat a request to breach a professional code as routine work. Eleven of the fourteen produce content that conflicts with the clause on most conflicting tasks, mostly without a warning, and nearly three warnings in four accompany the conflicting content. The models that conform more do so by declining the request, and they still serve its legitimate twin. Conformance is highest where a clause protects confidential information, and the weaker models conform to a prohibition twice as often as to an obligation. Enabling reasoning lowered conformance in two of the three models tested, and adapting a model to Russian did not by itself raise it. Such a measurement is a diagnostic test that does not grade the quality of a model's answers, and how its result should be read depends on who uses the model and in which professional scenario.

Our contributions.

  1. A clause-anchored corpus with a benign control: 3,433 requests that conflict with clauses of fifteen professional codes, each paired with a benign twin on the same scenario. 2,235 of the pairs are released, ten documents of the fifteen, together with the pipeline that generated and accepted them.

  2. An evaluation procedure for conformance to professional codes, with a frozen model judge validated against adjudicated human labels, applied to fourteen combinations of model and reasoning mode. Most of them complete requests that breach a professional code, and those that conform more do so by declining.

  3. A transfer beyond the language the resource was built in: the pipeline was carried to two codes of other jurisdictions in English, which confirms in practice that it is portable to another language.

References (19)