SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2507.17539 · ICCV · 2025

Constructing Ophthalmic MLLM for Positioning-diagnosis Collaboration Through Clinical Cognitive Chain Reasoning

Diping Song, Xinyao Liu

arXiv · PDF · Open in the Atlas

Code that ran

12 of 15 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; 10 failures of our instrument; 3 no recorded run), measured 2026-11-24; 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/2507.17539.json · badge: /api/ran/2507.17539.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
MeteorElf/FundusExpert canonical (classifier label)
classifier basis: census
12 ran · 3 no recorded run
FunctionStatusWhere it lives
build_transform Ran
ran; our contract draft was wrong, not the code
MeteorElf/FundusExpert/src/quick_start.py
code served (permissive licence) · get_code("57e95166ade5f25c")
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 Compose. 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 torchvision.transforms as T
from torchvision.transforms.functional import InterpolationMode
from PIL import Image
import numpy as np

torch.manual_seed(0)

# Create a small test image to verify the transform works
test_image_array = np.random.randint(0, 256, (64, 64, 3), dtype=np.uint8)
test_image = Image.fromarray(test_image_array, mode='RGB')

ARGS = {
    'input_size': 224
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Compose — a Compose output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Compose 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
create_payload Ran
ran; our contract draft was wrong, not the code
MeteorElf/FundusExpert/src/eval/eval_api/call_api.py
code served (permissive licence) · get_code("838b424b84ed81ab")
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 str. 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 json
import base64
from PIL import Image
import io

# Create a small valid PNG image and encode it to base64
img = Image.new('RGB', (2, 2), color='red')
img_buffer = io.BytesIO()
img.save(img_buffer, format='PNG')
img_buffer.seek(0)
encoded_image = base64.b64encode(img_buffer.read()).decode('utf-8')

# Define arguments for create_payload
ARGS = {
    'prompt': 'Analyze this fundus image for diabetic retinopathy.',
    'encoded_image': encoded_image,
    'model_name': 'gpt-4-vision'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
draw_bounding_boxes Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
MeteorElf/FundusExpert/data_processing/pixel2bbox.py
code served (permissive licence) · get_code("5b6cecdb50f990f8")
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 ndarray, ndim 3, dtype family int, shape (100, 100, 3) 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 cv2
import numpy as np

# Create a simple test image (100x100 RGB image)
test_image = np.zeros((100, 100, 3), dtype=np.uint8)

# Create some bounding boxes
# Each box is defined as ((top_left_x, top_left_y), (bottom_right_x, bottom_right_y))
bounding_boxes = [
    ((10, 10), (50, 50)),
    ((60, 20), (90, 80)),
    ((15, 60), (45, 95))
]

ARGS = {
    "image": test_image,
    "bounding_boxes": bounding_boxes
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (100, 100, 3) — shape (100, 100, 3) 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
dynamic_preprocess Ran
ran; our contract draft was wrong, not the code
MeteorElf/FundusExpert/src/quick_start.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from jam-cc/MMAD, is pointer only (licence: NONE) · get_code("6dc77bb22fb9d660")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from jam-cc/MMAD, and GitHub detected no licence in that repository 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.

encode_image Ran
ran; our contract draft was wrong, not the code
MeteorElf/FundusExpert/src/eval/eval_api/call_api.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from vis-nlp/Text2Vis, is pointer only (licence: GPL-3.0) · get_code("6ad02ea0ba44bcaf")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from vis-nlp/Text2Vis, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

extract_api_answer Ran
ran; our contract draft was wrong, not the code
MeteorElf/FundusExpert/src/eval/eval_api/get_acc.py
code served (permissive licence) · get_code("e9afadd1d64b83d5")
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 str. 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 pandas as pd
import re
import numpy as np

def extract_api_answer(response):
    """Extracts the answer choice (A-E) from the API response."""
    if pd.isna(response):
        return ''
    match = re.search('^[A-E]', str(response))
    return match.group() if match else ''

# Test cases: response can be a string, NaN, or something convertible to string
ARGS = {
    'response': 'A) This is the correct answer'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
generate_indices_to_retry Ran
ran; our contract draft was wrong, not the code
MeteorElf/FundusExpert/src/eval/eval_api/recall_api.py
code served (permissive licence) · get_code("af745017d1f3bf78")
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 set. 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 pandas as pd
import tempfile
import os

# Create a temporary CSV file with test data
temp_dir = tempfile.mkdtemp()
csv_path = os.path.join(temp_dir, 'test_input.csv')

# Create test data with various api_response patterns
data = {
    'index': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
    'api_response': [
        'A. Valid answer',           # Valid - matches pattern
        'B: Another valid',          # Valid - matches pattern
        'C . Valid with space',      # Valid - matches pattern
        'D: Valid',                  # Valid - matches pattern
        'E. Valid',                  # Valid - matches pattern
        'F. Invalid letter',         # Invalid - doesn't match pattern (F not A-E)
        'sorry I cannot help',       # Invalid - contains keywords
        'unable to process',         # Invalid - contains keywords
        'nan',                       # Invalid - contains keyword
        'X: wrong pattern'           # Invalid - doesn't match pattern
    ]
}

df = pd.DataFrame(data)
df.to_csv(csv_path, index=False)

# Change to temp directory so output file is written there
original_dir = os.getcwd()
os.chdir(temp_dir)

ARGS = {
    'input_csv_path': csv_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set 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
get_bounding_boxes Ran
ran, honoured the contract we drafted
MeteorElf/FundusExpert/data_processing/pixel2bbox.py
code served (permissive licence) · get_code("64b2c60610d31230")
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 list, ndim 3, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 numpy as np
from typing import List, Dict, Tuple, Any

# Create valid arguments for get_bounding_boxes function

# Build a clusters dictionary with pixel coordinates
# Each cluster maps to a list of [x, y] coordinate arrays
clusters = {
    0: [np.array([10, 20]), np.array([15, 25]), np.array([12, 22]), np.array([18, 28])],
    1: [np.array([50, 60]), np.array([55, 65]), np.array([52, 62]), np.array([58, 68]), np.array([60, 70])],
    2: [np.array([100, 100]), np.array([102, 102])],
    3: [np.array([200, 200]), np.array([205, 205]), np.array([210, 210]), np.array([215, 215])]
}

max_boxes = 3
area_threshold = 100

ARGS = {
    "clusters": clusters,
    "max_boxes": max_boxes,
    "area_threshold": area_threshold
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 3, dtype family int — a list output has no array shape of its own; none is stated
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_pixel_clusters Ran
ran; our contract draft was wrong, not the code
MeteorElf/FundusExpert/data_processing/pixel2bbox.py
code served (permissive licence) · get_code("490a7c56eb34931f")
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 dict. 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 cv2
import numpy as np
from sklearn.cluster import DBSCAN

# Create a small grayscale image with some pixels of intensity 255
image = np.zeros((10, 10), dtype=np.uint8)
# Add some white pixels (intensity 255) in clusters
image[2:4, 2:4] = 255  # First cluster
image[7:9, 7:9] = 255  # Second cluster
image[5, 5] = 255      # Isolated pixel (may be noise)

pixel_intensity = 255
eps = 5
min_samples = 2

ARGS = {
    "image": image,
    "pixel_intensity": pixel_intensity,
    "eps": eps,
    "min_samples": min_samples,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
key_to_label_or_region Ran
ran, honoured the contract we drafted
MeteorElf/FundusExpert/data_processing/eval_seg.py
code served (permissive licence) · get_code("8719560e46059451")
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 int, ndim 0, dtype family int, shape () 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)

ARGS = {
    "key": "42"
}
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 int, ndim 0, dtype family int, shape () — shape () 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
label_or_region_to_key Ran
ran; our contract draft was wrong, not the code
MeteorElf/FundusExpert/data_processing/eval_seg.py
code served (permissive licence) · get_code("44c3d598a8461d50")
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 str. 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 numpy as np
from typing import Tuple, Union

torch.manual_seed(0)

# The function takes a single parameter: label_or_region
# which can be either an int or a Tuple of ints
# The function simply converts it to a string

# Test case 1: an integer
label_or_region_int = 42

# Test case 2: a tuple of integers
label_or_region_tuple = (1, 2, 3)

# We'll use the integer case as the main argument
ARGS = {
    "label_or_region": label_or_region_int
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
prepare_prompt Ran
ran; our contract draft was wrong, not the code
MeteorElf/FundusExpert/src/eval/eval_api/call_api.py
code served (permissive licence) · get_code("c0da0a953e4ec70f")
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 str. 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 pandas as pd

# Create a minimal row that satisfies the function's requirements
row = pd.Series({
    'question': 'What is the capital of France?',
    'A': 'Paris',
    'B': 'London',
    'C': 'Berlin',
    'D': 'Madrid',
    'E': ''  # Empty string to test the condition
})

ARGS = {
    'row': row
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
apply_rotary_pos_emb Not yet run
unverified (harvested, no recorded run)
MeteorElf/FundusExpert/src/internvl_chat/internvl/patch/llama2_flash_attn_monkey_patch.py
code served (permissive licence) · get_code("3408dd47e939d760")
How it ran

no invocation recorded.

get_conv_template Not yet run
unverified (harvested, no recorded run)
MeteorElf/FundusExpert/src/internvl_chat/internvl/conversation.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from yzy-bupt/LiveStar, is pointer only (licence: NONE) · get_code("04b172bb0c32a0de")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from yzy-bupt/LiveStar, and GitHub detected no licence in that repository 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.

load_image Not yet run
unverified (harvested, no recorded run)
MeteorElf/FundusExpert/src/quick_start.py
code served (permissive licence) · get_code("c437f8b86ada6dd7")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 7 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 3 the same month, 5 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
get_conv_template 69 other papers
55 dated earlier, 10 later, 3 same year, order not determinable, 1 undated
1911.03705 (2019-11)
CommonGen: A Constrained Text Generation Challenge for Generative Commonsense Reasoning
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2204.07705 (2022-04)
SUPER-NATURALINSTRUCTIONS: Generalization via Declarative Instructions on 1600+ NLP Tasks
and 66 more not named here
build_transform 31 other papers
22 dated earlier, 1 the same month, 4 later, 4 same year, order not determinable
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2312.13271 (2023-12)
Repaint123: Fast and High-quality One Image to 3D Generation with Progressive Controllable 2D Repainting
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
and 28 more not named here
dynamic_preprocess 17 other papers
11 dated earlier, 1 the same month, 2 later, 3 same year, order not determinable
1910.01108 (2019-10)
DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
2403.15952 (2024-03)
IllusionVQA: A Challenging Optical Illusion Dataset for Vision Language Models
2410.01733 (2024-10)
ASCIIEval: Benchmarking Models' Visual Perception in Text Strings via ASCII Art
and 14 more not named here
apply_rotary_pos_emb 6 other papers
5 dated earlier, 1 same year, order not determinable
2309.17452 (2023-09)
ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solving
2312.00401 (2023-12)
VIoTGPT: Learning to Schedule Vision Tools in LLMs towards Intelligent Video Internet of Things
2312.14187 (2023-12)
WaveCoder: Widespread And Versatile Enhancement For Code Large Language Models By Instruction Tuning
and 3 more not named here
encode_image 1 other paper
1 the same month
2507.19969 (2025-07)
Text2Vis: A Challenging and Diverse Benchmark for Generating Multimodal Visualizations from Text
key_to_label_or_region 1 other paper
1 later
2605.23118 (2026-05)
Exploiting Longitudinal Context in Clinician-Verified Interactive Lesion Tracking
label_or_region_to_key 1 other paper
1 later
2605.23118 (2026-05)
Exploiting Longitudinal Context in Clinician-Verified Interactive Lesion Tracking

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

Repositories linked to this paper

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

Abstract

Multimodal large language models (MLLMs) demonstrate significant potential in the field of medical diagnosis. However, they face critical challenges in specialized domains such as ophthalmology, particularly the fragmentation of annotation granularity and inconsistencies in clinical reasoning logic, which hinder precise cross-modal understanding. This paper introduces FundusExpert, an ophthalmologyspecific MLLM with integrated positioning-diagnosis reasoning capabilities, along with FundusGen, a dataset constructed through the intelligent Fundus-Engine system. Fundus-Engine automates localization and leverages MLLMbased semantic expansion to integrate global disease classification, local object detection, and fine-grained feature analysis within a single fundus image. Additionally, by constructing a clinically aligned cognitive chain, it guides the model to generate interpretable reasoning paths. Fun-dusExpert, fine-tuned with instruction data from Fundus-Gen, achieves the best performance in ophthalmic questionanswering tasks, surpassing the average accuracy of the 40B MedRegA by 26.6%. It also excels in zero-shot report generation tasks, achieving a clinical consistency of 77.0%, significantly outperforming GPT-4o's 47.6%. Furthermore, we reveal a scaling law between data quality and model capability (L ∝ N 0.068 ), demonstrating that the cognitive alignment annotations in FundusGen enhance data utilization efficiency. By integrating region-level localization with diagnostic reasoning chains, our work develops a scalable, clinically-aligned MLLM and explores a pathway toward bridging the visual-language gap in specific MLLMs. Our project can be found at https: //github.com/MeteorElf/FundusExpert.

For agents

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

get_harvested_code_for_paper("2507.17539")
get_code_for_paper("2507.17539")
have("2507.17539")

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

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

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

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

Connect an agent — have() is free.