SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.05762 · 2023

Multi-Defendant Legal Judgment Prediction via Hierarchical Reasoning

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2312.05762.json · badge: /api/ran/2312.05762.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
currentf/hrn canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
FunctionStatusWhere it lives
cross_attention_forward Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
currentf/hrn/models/HRN/src/model.py
pointer only (licence: NONE) · get_code("6bef6bdd6eb44070")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/hrn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_elements_from_line Ran
ran; our contract draft was wrong, not the code
currentf/hrn/dataset/dataset-v5/data_preprocess_for_transform.py
pointer only (licence: NONE) · get_code("a827f1327c820e1c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/hrn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_laws Ran
ran, honoured the contract we drafted
currentf/hrn/models/HRN/src/text_match.py
pointer only (licence: NONE) · get_code("43189ec2e0c2cee7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/hrn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_related_relations Ran
ran; our contract draft was wrong, not the code
currentf/hrn/models/HRN/src/data_templates.py
pointer only (licence: NONE) · get_code("6c4952749de02f9b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/hrn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

hanzi_to_num Ran
ran, honoured the contract we drafted
currentf/hrn/dataset/dataset-v5/data_preprocess_for_transform.py
pointer only (licence: NONE) · get_code("0d3d865388a1a261")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/hrn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

init_templates Ran
ran; our contract draft was wrong, not the code
currentf/hrn/models/HRN/src/data_templates.py
pointer only (licence: NONE) · get_code("4fef47be40eabeea")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/hrn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

loads_str Ran
ran; our contract draft was wrong, not the code
currentf/hrn/dataset/dataset-v5/data_preprocess_for_transform.py
pointer only (licence: NONE) · get_code("896a7b8df5bc4893")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/hrn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

apply_template Not yet run
unverified (harvested, no recorded run)
currentf/hrn/models/HRN/src/data_templates.py
pointer only (licence: NONE) · get_code("0098e17bf86eed6a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/hrn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

cal_weight Not yet run
unverified (harvested, no recorded run)
currentf/hrn/models/HRN/src/cal_sample_weight.py
pointer only (licence: NONE) · get_code("1a046a65dc3372ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, currentf/hrn when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
cross_attention_forward 10 other papers
4 dated earlier, 6 later · 1 only as an assembly brick
2108.06314 (2021-08)
A Dataset for Answering Time-Sensitive Questions
2112.08688 (2021-12)
Evidentiality-guided Generation for Knowledge-Intensive NLP Tasks
2206.15474 (2022-06)
Forecasting Future World Events with Neural Networks
and 7 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Multiple defendants in a criminal fact description generally exhibit complex interactions, and cannot be well handled by existing Legal Judgment Prediction (LJP) methods which focus on predicting judgment results (e.g., law articles, charges, and terms of penalty) for single-defendant cases. To address this problem, we propose the task of multi-defendant LJP, which aims to automatically predict the judgment results for each defendant of multi-defendant cases. Two challenges arise with the task of multi-defendant LJP: (1) indistinguishable judgment results among various defendants; and (2) the lack of a real-world dataset for training and evaluation. To tackle the first challenge, we formalize the multi-defendant judgment process as hierarchical reasoning chains and introduce a multi-defendant LJP method, named Hierarchical Reasoning Network (HRN), which follows the hierarchical reasoning chains to determine criminal relationships, sentencing circumstances, law articles, charges, and terms of penalty for each defendant. To tackle the second challenge, we collect a real-world multi-defendant LJP dataset, namely MultiLJP, to accelerate the relevant research in the future. Extensive experiments on MultiLJP verify the effectiveness of our proposed HRN.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2312.05762")
get_code_for_paper("2312.05762")
have("2312.05762")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2312.05762.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2312.05762.svg)](https://syntology.ai/paper/2312.05762)

Connect an agent — have() is free.