File size: 10,996 Bytes
09912bd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
{
  "schema": "neutral-paper-reproduction-v101",
  "paper_id": "E012",
  "title": "BioTransformer: a comprehensive computational tool for small molecule metabolism prediction and metabolite identification.",
  "question": "Reproduce the paper’s own BioTransformer metabolic prediction and metabolite-identification experiments from the supplied molecular inputs. Keep phase-II model fitting, fresh molecular predictions and numerical rule calculations distinct.",
  "inputs": [
    "docs/",
    "inputs/"
  ],
  "scientific_outputs": {
    "method_probe_results.json": "Object keyed probeID with {value:<number/list/dict>} matching each explicit scientific rule.",
    "prediction_protocol.json": "Object with table2_human:{biosystem:Human,phases:[I,II],depth:1,relative_reasoning:true,method_provenance:{implementation:<exacttoolversionorownimplementationidentity>,source_origin:<provenance>,original_version:1.0.4_or_disclosed_reconstruction}}. Additional annotations allowed; scientifically equivalent output representations accepted after independent verification.",
    "predictions.jsonl": "One row per original parent: {unit_id,parent_id,parent_smiles,input_sha256,products:[SMILES strings or {smiles,pathway,operation} records]}. Input SHA is SHA256 of original_parents.json bytes. Keep all40 table2 parents including empty/failed cases. Predictions must genuinely come from executed molecular generation; copied author success IDs or arbitrary molecules do not validate method fidelity.",
    "calculation_results.json": "Object keyed by supplied calculation ID, each containing {value: the computed scientific value}. Use the named fields and units specified below; harmless extra annotations are allowed."
  },
  "scientific_details": {
    "method_probe_value_contract": "Each public rule declares its expected value schema and scientific field names without numerical answers. Extra annotations are allowed. Hidden probes retain exactly the same rule/schema with different inputs."
  },
  "calculation_definitions": {
    "calc_001": {
      "definition": "Compute molecular formula, neutral monoisotopic exact mass (Da) and net formal charge from the supplied molecular graph. In calculation_results.json, the value schema is {formula:string, exact_mass:number, formal_charge:integer}. Extra annotations are permitted; the named scientific fields are evaluated.",
      "output": {}
    },
    "calc_002": {
      "definition": "Convert each observed [M+H]+ m/z to neutral monoisotopic mass by subtracting the supplied proton mass; preserve order. In calculation_results.json, the value schema is an ordered array of neutral mass numbers. Extra annotations are permitted; the named scientific fields are evaluated.",
      "output": {}
    },
    "calc_003": {
      "definition": "Neutralize the carboxylate while preserving the molecular skeleton. Report canonical isomeric SMILES, formula, monoisotopic exact mass and net formal charge of the neutral acid. In calculation_results.json, the value schema is {canonical_smiles:string, formula:string, exact_mass:number, formal_charge:integer}. Extra annotations are permitted; the named scientific fields are evaluated.",
      "output": {}
    },
    "calc_004": {
      "definition": "Keep the internal nitro [N+](=O)[O-] charges during standardization. Report formula, monoisotopic exact mass, net formal charge and sum of absolute atom formal charges. In calculation_results.json, the value schema is {formula:string, exact_mass:number, formal_charge:integer, absolute_atom_charge:integer}. Extra annotations are permitted; the named scientific fields are evaluated.",
      "output": {}
    },
    "calc_005": {
      "definition": "Deduplicate canonical molecular graphs while retaining specified stereochemistry: alternative SMILES for one graph count once, enantiomers remain distinct. Return sorted unique canonical isomeric SMILES. In calculation_results.json, the value schema is {unique_structures:sorted array of canonical isomeric SMILES strings}. Extra annotations are permitted; the named scientific fields are evaluated.",
      "output": {}
    },
    "calc_006": {
      "definition": "Canonicalize and deduplicate within each parent; distinguish the same product arising from different parents. Compute pooled TP, FP, FN, number of predictions, precision=TP/(TP+FP), recall=TP/(TP+FN). These surrogate known sets only test matching, not original-paper prediction. In calculation_results.json, the value schema is {tp:integer, fp:integer, fn:integer, n_predicted:integer, precision:number, recall:number}. Extra annotations are permitted; the named scientific fields are evaluated.",
      "output": {}
    },
    "calc_007": {
      "definition": "Compute exact monoisotopic mass from each molecular graph and identify every candidate inside the inclusive abs(candidate-query)<=atol_da neutral mass window. Canonical graph identity is not mass identity; isomers may both match. Return sorted matched_ids. In calculation_results.json, the value schema is {matched_ids:sorted array of candidate ID strings}. Extra annotations are permitted; the named scientific fields are evaluated.",
      "output": {}
    },
    "calc_008": {
      "definition": "Identify every molecular graph whose computed formula equals query_formula. Do not collapse regioisomers or stereoisomers merely because they share a formula. Return sorted matched_ids. In calculation_results.json, the value schema is {matched_ids:sorted array of candidate ID strings}. Extra annotations are permitted; the named scientific fields are evaluated.",
      "output": {}
    },
    "calc_009": {
      "definition": "For the benign single ester, model one hydrolysis step by cleaving its acyl C(=O)-O-alkyl bond to the carboxylic acid and the alcohol. Return sorted canonical isomeric product_smiles; include both products. This designed chemistry probe is not an original benchmark result. In calculation_results.json, the value schema is {product_smiles:sorted array of canonical isomeric SMILES strings}. Extra annotations are permitted; the named scientific fields are evaluated.",
      "output": {}
    },
    "calc_010": {
      "definition": "For the benign aryl methyl ether, model one oxidative O-demethylation step to the phenol and formaldehyde. Return sorted canonical isomeric product_smiles and include both products. No organism manipulation is involved; this designed chemistry probe is not an original benchmark result. In calculation_results.json, the value schema is {product_smiles:sorted array of canonical isomeric SMILES strings}. Extra annotations are permitted; the named scientific fields are evaluated.",
      "output": {}
    }
  },
  "entrypoint": "reproduce.py --input-dir /input --output-dir /work/output",
  "rules": [
    "All raw inputs are under /input/inputs and paper materials are under /input/docs.",
    "Use current input values and retain complete record identities and denominators.",
    "Report actual scientific outputs and honest scope limits; printed paper totals alone are not new computations.",
    "Original-author algorithm source and mirrors are hidden. Other open-source tools and opaque binaries may be used; record their provenance."
  ],
  "runtime": "Frozen CPU-only Python3.12/RDKit2024.09.6/NumPy1.26.4 runtime. Historical version differences must be reported.",
  "resources": {
    "cpu_cores": 1,
    "memory_bytes": 2147483648,
    "cpu_seconds": 6000,
    "wall_seconds": 7200,
    "max_versions": 3,
    "max_actions": 12
  },
  "public_calculation_output_formats": {
    "calc_001": {
      "type": "object",
      "properties": {
        "exact_mass": {
          "type": "number"
        },
        "formal_charge": {
          "type": "number"
        },
        "formula": {
          "type": "string"
        }
      },
      "extra_annotations_allowed": true
    },
    "calc_002": {
      "type": "array",
      "items": [
        {
          "type": "number"
        }
      ],
      "length": "variable unless the public input fixes it"
    },
    "calc_003": {
      "type": "object",
      "properties": {
        "canonical_smiles": {
          "type": "string"
        },
        "exact_mass": {
          "type": "number"
        },
        "formal_charge": {
          "type": "number"
        },
        "formula": {
          "type": "string"
        }
      },
      "extra_annotations_allowed": true
    },
    "calc_004": {
      "type": "object",
      "properties": {
        "absolute_atom_charge": {
          "type": "number"
        },
        "exact_mass": {
          "type": "number"
        },
        "formal_charge": {
          "type": "number"
        },
        "formula": {
          "type": "string"
        }
      },
      "extra_annotations_allowed": true
    },
    "calc_005": {
      "type": "object",
      "properties": {
        "unique_structures": {
          "type": "array",
          "items": [
            {
              "type": "string"
            }
          ],
          "length": "variable unless the public input fixes it"
        }
      },
      "extra_annotations_allowed": true
    },
    "calc_006": {
      "type": "object",
      "properties": {
        "fn": {
          "type": "number"
        },
        "fp": {
          "type": "number"
        },
        "n_predicted": {
          "type": "number"
        },
        "precision": {
          "type": "number"
        },
        "recall": {
          "type": "number"
        },
        "tp": {
          "type": "number"
        }
      },
      "extra_annotations_allowed": true
    },
    "calc_007": {
      "type": "object",
      "properties": {
        "matched_ids": {
          "type": "array",
          "items": [
            {
              "type": "string"
            }
          ],
          "length": "variable unless the public input fixes it"
        }
      },
      "extra_annotations_allowed": true
    },
    "calc_008": {
      "type": "object",
      "properties": {
        "matched_ids": {
          "type": "array",
          "items": [
            {
              "type": "string"
            }
          ],
          "length": "variable unless the public input fixes it"
        }
      },
      "extra_annotations_allowed": true
    },
    "calc_009": {
      "type": "object",
      "properties": {
        "product_smiles": {
          "type": "array",
          "items": [
            {
              "type": "string"
            }
          ],
          "length": "variable unless the public input fixes it"
        }
      },
      "extra_annotations_allowed": true
    },
    "calc_010": {
      "type": "object",
      "properties": {
        "product_smiles": {
          "type": "array",
          "items": [
            {
              "type": "string"
            }
          ],
          "length": "variable unless the public input fixes it"
        }
      },
      "extra_annotations_allowed": true
    }
  }
}