SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.13193 · 2024

PRESTO: Progressive Pretraining Enhances Synthetic Chemistry Outcomes

arXiv · PDF · Open in the Atlas

Code that ran

1 of 4 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; 1 failure of our instrument; 3 no recorded run), measured 2026-11-22; 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/2406.13193.json · badge: /api/ran/2406.13193.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
idea-xl/presto canonical (classifier label)
classifier basis: census
1 ran · 3 no recorded run
FunctionStatusWhere it lives
parse_chat_output Ran
ran; our contract draft was wrong, not the code
idea-xl/presto/presto/data_tools.py
code served (permissive licence) · get_code("a5a7514ec122630a")
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 re

def parse_chat_output(output: str, style: str='base') -> dict:
    if style == 'base':
        pattern_thoughts = 'Thoughts:(?:\\n| )([\\s\\S]*?)\\n'
        pattern_output = 'Output:(?:\\n| )([\\s\\S]*)'
        thoughts = re.search(pattern_thoughts, output)
        if thoughts:
            thoughts = thoughts.group(1).strip()
        else:
            thoughts = None
        output = re.search(pattern_output, output).group(1).strip()
        return {'output': output, 'thoughts': thoughts}
    elif style == 'classification':
        thoughts = None
        output = int(re.search('\\d+', output).group())
        return {'output': output, 'thoughts': thoughts}
    elif style == 'regression':
        thoughts = None
        try:
            output = float(re.search('\\d+\\.\\d+', output).group())
        except:
            output = float(re.search('\\d+', output).group())
        return {'output': output, 'thoughts': thoughts}
    else:
        raise ValueError(f'Invalid style: {style}')

# Test case 1: base style with thoughts and output
base_output = "Thoughts: This is my reasoning\nOutput: This is the final answer"

# Test case 2: classification style
classification_output = "The class is 42"

# Test case 3: regression style with decimal
regression_output = "The value is 3.14"

ARGS = {
    'output': base_output,
    'style': 'base'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
get_peft_state Not yet run
unverified (harvested, no recorded run)
idea-xl/presto/presto/model_utils.py
code served (permissive licence) · get_code("592bb069d16dfc43")
How it ran

no invocation recorded.

get_peft_state_non_lora Not yet run
unverified (harvested, no recorded run)
idea-xl/presto/presto/model_utils.py
code served (permissive licence) · get_code("405c9336aaf7f018")
How it ran

no invocation recorded.

maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
idea-xl/presto/presto/model_utils.py
code served (permissive licence) · get_code("616ffbdc154ed2d8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 3 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
maybe_zero_3 37 other papers
13 dated earlier, 4 the same month, 20 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2311.16839 (2023-11)
Beyond Hallucinations: Enhancing LVLMs through Hallucination-Aware Direct Preference Optimization
2312.02949 (2023-12)
LLaVA-Grounding: Grounded Visual Chat with Large Multimodal Models
and 34 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-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

Multimodal Large Language Models (MLLMs) have seen growing adoption across various scientific disciplines. These advancements encourage the investigation of molecule-text modeling within synthetic chemistry, a field dedicated to designing and conducting chemical reactions to synthesize new compounds with desired properties and applications. Current approaches, however, often neglect the critical role of multiple molecule graph interaction in understanding chemical reactions, leading to suboptimal performance in synthetic chemistry tasks. This study introduces PRESTO(Progressive Pretraining Enhances Synthetic Chemistry Outcomes), a new framework that bridges the molecule-text modality gap by integrating a comprehensive benchmark of pretraining strategies and dataset configurations. It progressively improves multimodal LLMs through cross-modal alignment and multi-graph understanding. Our extensive experiments demonstrate that PRESTO offers competitive results in downstream synthetic chemistry tasks. The code can be found at https://github.com/IDEA-XL/PRESTO.

For agents

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

get_harvested_code_for_paper("2406.13193")
get_code_for_paper("2406.13193")
have("2406.13193")

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

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

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

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

Connect an agent — have() is free.