SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.08797 · 2026

Dentalx: Context-Aware Dental Disease Detection With Radiographs

Yunpeng Li, Zhi Qin, Tan Xiatian, Owen Addison

arXiv · PDF · Open in the Atlas

Code that ran

3 of 6 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-22; 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/2601.08797.json · badge: /api/ran/2601.08797.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
zhiqin1998/DentYOLOX canonical (classifier label)
classifier basis: census
3 ran · 3 no recorded run
FunctionStatusWhere it lives
create_yolox_model Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhiqin1998/DentYOLOX/yolox/models/build.py
code served (permissive licence) · get_code("7111f135eb8bfff5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Sequential. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# Mock the yolox module structure since we can't import it
class MockExp:
    def __init__(self, name=None):
        self.num_classes = 80
        self.name = name
    
    def get_model(self):
        # Return a minimal nn.Module that has load_state_dict capability
        model = nn.Sequential(
            nn.Conv2d(3, 16, 3),
            nn.ReLU(),
            nn.Conv2d(16, 80, 1)
        )
        return model

def mock_get_exp(exp_name=None, exp_file=None):
    return MockExp(name=exp_name)

# Monkey-patch the yolox module
import sys
from types import ModuleType

yolox_module = ModuleType('yolox')
yolox_exp_module = ModuleType('yolox.exp')
yolox_exp_module.get_exp = mock_get_exp
yolox_exp_module.Exp = MockExp
yolox_module.exp = yolox_exp_module
sys.modules['yolox'] = yolox_module
sys.modules['yolox.exp'] = yolox_exp_module

ARGS = {
    'name': 'yolox-s',
    'pretrained': False,
    'num_classes': 80,
    'device': 'cpu',
    'exp_path': None,
    'ckpt_path': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, yolox — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
cross_entropy_soft_targets Ran
ran; our contract draft was wrong, not the code
zhiqin1998/DentYOLOX/yolox/models/losses.py
code served (permissive licence) · get_code("6436e2b80c6361be")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (2,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create small tensors for testing
# input: logits of shape (batch_size, num_classes)
# target: soft targets (probabilities) of shape (batch_size, num_classes)
batch_size = 2
num_classes = 4

input_tensor = torch.randn(batch_size, num_classes)
target_tensor = torch.softmax(torch.randn(batch_size, num_classes), dim=-1)

ARGS = {
    'input': input_tensor,
    'target': target_tensor,
    'reduction': 'none'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (2,) — shape (2,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_activation Ran
ran; our contract draft was wrong, not the code
zhiqin1998/DentYOLOX/yolox/models/network_blocks.py
code served (permissive licence) · get_code("6e3d5f4c3ce305d7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned SiLU. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'name': 'silu',
    'inplace': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SiLU — a SiLU output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SiLU output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
resize Not yet run
unverified (harvested, no recorded run)
zhiqin1998/DentYOLOX/yolox/models/yolo_head.py
code served (permissive licence) · get_code("42104fe5313ef574")
How it ran

no invocation recorded.

yolox_nano Not yet run
unverified (harvested, no recorded run)
zhiqin1998/DentYOLOX/yolox/models/build.py
code served (permissive licence) · get_code("706978d51729ca8d")
How it ran

no invocation recorded.

yolox_tiny Not yet run
unverified (harvested, no recorded run)
zhiqin1998/DentYOLOX/yolox/models/build.py
code served (permissive licence) · get_code("af7e14a4cec878b8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 0 later) and 1 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
get_activation 10 other papers
10 dated earlier
1803.11365 (2018-03)
Cross-Domain Weakly-Supervised Object Detection through Progressive Domain Adaptation
2107.08430 (2021-07)
YOLOX: Exceeding YOLO Series in 2021
2108.04230 (2021-08)
Workshop on Autonomous Driving at CVPR 2021: Technical Report for Streaming Perception Challenge
and 7 more not named here
resize 4 other papers
4 dated earlier
1804.07723 (2018-04)
Image Inpainting for Irregular Holes Using Partial Convolutions
2111.14813 (2021-11)
TransWeather: Transformer-based Restoration of Images Degraded by Adverse Weather Conditions
2201.01293 (2022-01)
A Transformer-Based Siamese Network for Change Detection
and 1 more not named here
create_yolox_model 2 other papers
2 dated earlier
2107.08430 (2021-07)
YOLOX: Exceeding YOLO Series in 2021
2108.04230 (2021-08)
Workshop on Autonomous Driving at CVPR 2021: Technical Report for Streaming Perception Challenge
yolox_nano 2 other papers
2 dated earlier
2107.08430 (2021-07)
YOLOX: Exceeding YOLO Series in 2021
2108.04230 (2021-08)
Workshop on Autonomous Driving at CVPR 2021: Technical Report for Streaming Perception Challenge
yolox_tiny 2 other papers
2 dated earlier
2107.08430 (2021-07)
YOLOX: Exceeding YOLO Series in 2021
2108.04230 (2021-08)
Workshop on Autonomous Driving at CVPR 2021: Technical Report for Streaming Perception Challenge

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-22.

Repositories linked to this paper

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

Abstract

Diagnosing dental diseases from radiographs is timeconsuming and challenging due to the subtle nature of diagnostic evidence. Existing methods, which rely on object detection models designed for natural images with more distinct target patterns, struggle to detect dental diseases that present with far less visual support. To address this challenge, we propose DentalX, a novel context-aware dental disease detection approach that leverages oral structure information to mitigate the visual ambiguity inherent in radiographs. Specifically, we introduce a structural context extraction module that learns an auxiliary task: semantic segmentation of dental anatomy. The module extracts meaningful structural context and integrates it into the primary disease detection task to enhance the detection of subtle dental diseases. Extensive experiments on a dedicated benchmark demonstrate that DentalX significantly outperforms prior methods in both tasks. This mutual benefit arises naturally during model optimization, as the correlation between the two tasks is effectively captured. Our code is available at https://github.com/zhiqin1998/DentYOLOX.

For agents

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

get_harvested_code_for_paper("2601.08797")
get_code_for_paper("2601.08797")
have("2601.08797")

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

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

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

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

Connect an agent — have() is free.