Download tasks/P210/task.json from xiaojie06/DrugResearchBench: direct link, hf CLI and curl.
- Browser
- Download file 11.3 kB
-
https://huggingface.co/xiaojie06/DrugResearchBench/resolve/main/tasks/P210/task.json
- Command line
-
hf download hf://xiaojie06/DrugResearchBench/tasks/P210/task.json
-
curl -L -o task.json https://huggingface.co/xiaojie06/DrugResearchBench/resolve/main/tasks/P210/task.json
11.3 kB
| { | |
| "schema": "neutral-paper-reproduction-v101", | |
| "paper_id": "P210", | |
| "title": "PaRoutes: towards a framework for benchmarking retrosynthesis route predictions", | |
| "question": "Reproduce the PaRoutes paper’s own route extraction, dataset statistics, stock analysis, route-quality, distance, clustering and search experiments from the supplied complete original reference trees. Released reference-tree statistics are distinct from newly generated retrosynthetic routes and original search/model experiments.", | |
| "inputs": [ | |
| "docs/", | |
| "inputs/" | |
| ], | |
| "scientific_outputs": { | |
| "all_route_statistics.csv": { | |
| "columns": [ | |
| "index", | |
| "root_sha256", | |
| "nmols", | |
| "nleaves", | |
| "nreactions", | |
| "llr", | |
| "convergent", | |
| "mol_occurrences", | |
| "leaf_occurrences" | |
| ], | |
| "types": { | |
| "index": "int", | |
| "root_sha256": "64hex string", | |
| "nmols": "int|null (empty CSV)", | |
| "nleaves": "int|null (empty CSV)", | |
| "nreactions": "int", | |
| "llr": "int", | |
| "convergent": "int0/1", | |
| "mol_occurrences": "int", | |
| "leaf_occurrences": "int", | |
| "identity_complete": "int0/1", | |
| "invalid_molecular_occurrences": "int" | |
| }, | |
| "rows": "every released mother-route index exactly once" | |
| }, | |
| "n1_route_statistics.csv": "same columns/types; every n1 row", | |
| "n5_route_statistics.csv": "same columns/types; every n5 row", | |
| "dataset_statistics.json": { | |
| "type": "object", | |
| "keys": [ | |
| "all", | |
| "n1", | |
| "n5" | |
| ], | |
| "value": { | |
| "routes": "int", | |
| "convergent_routes": "int", | |
| "convergent_percent": "finite float", | |
| "molecule_occurrences": "int", | |
| "leaf_occurrences": "int", | |
| "reaction_occurrences": "int", | |
| "histograms": "object keys nmols/nleaves/nreactions/llr -> object string0..10 and unresolved -> integer count; include unresolved0 for valid datasets", | |
| "identity_complete_routes": "int", | |
| "identity_incomplete_routes": "int", | |
| "invalid_molecular_occurrences": "int" | |
| } | |
| }, | |
| "stock_statistics.json": { | |
| "type": "object", | |
| "keys": [ | |
| "n1", | |
| "n5" | |
| ], | |
| "value": "object, all values integers; keys routes,target_rows,root_target_order_mismatches,unique_target_InChIKeys,stock_rows,stock_unique_InChIKeys,reference_unique_leaf_InChIKeys,stock_minus_leaf_keys,leaf_minus_stock_keys,internal_stock_keys,target_stock_keys,publication_stock_symmetric_difference,unique_patent_IDs" | |
| }, | |
| "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.", | |
| "report.md": "Actual computations, discrepancies, material/resource/runtime limits, original unmet experiments. No fabricated search/models." | |
| }, | |
| "scientific_details": { | |
| "calculation_contract": { | |
| "identity": "Default RDKit sanitization, remove atom maps, full27-character standard InChIKey; retain stereo/charges/fragments. Cache unique SMILES; no first14-character key or leaf in_stock flag substitutes for inventory identity.", | |
| "tree_statistics": "For each original tree, traverse all nodes. nreactions=all reaction nodes; nleaves=number of distinct leaf full-InChIKeys; nmols=distinct leaf keys + distinct nonleaf molecular keys (sum of two sets, not union and not occurrences); llr=maximum root-to-leaf edge depth//2. convergent=int(nreactions!=llr). mol_occurrences and leaf_occurrences count occurrences independently. root_sha256=SHA256 exact UTF8 root smiles. index=original zero-based array index.", | |
| "distributions": "Four histograms nmols,nleaves,nreactions,llr. Keys string0 through10; value exact integer frequency, bin10 aggregates all >=10. Dataset summary routes,convergent_routes,convergent_percent,molecule_occurrences,leaf_occurrences,reaction_occurrences and histograms. Full denominators; never exclude long routes.", | |
| "stocks": "n1/n5 rows and full InChIKey sets; unique leaf union, nonleaf union and root key set from all trees; exact string root-target order; extra/missing lengths add to mismatches; patent identifier before first semicolon. Symmetric difference with original aizynth_* stock file. Do not remove variant SMILES or silently change stock.", | |
| "rule_score": "Single-reaction route tree. Leaf1 if in_stock true/default true, otherwise10; molecule with reaction cost1+sum(child molecular cost / supplied yield). Recursive yield passed to every level.", | |
| "rule_ranks": "Stable ascending sort original indices; dense ranks start1, adjacent sorted cost difference strictly <1e-8 shares rank, else+1. Return order original integer indices and ranks in sorted order.", | |
| "rule_solved": "Every terminal leaf in_stock true/default true; return boolean, not numeric.", | |
| "rule_overlap": "Unique supplied leaf strings;2*size(intersection)/(size(reference)+size(predicted));both empty returns JSON null.", | |
| "rule_topn": "Ranks1/5/10 inclusive; all targets including null/failed predictions in denominator. Return integer correct/targets and floating accuracy.", | |
| "rule_andor": "OR:proof=min child proofs,disproof=sum child disproofs; AND:proof=sum,disproof=min. Finite integer fixtures only.", | |
| "search": "Original full n1/n5 targets, paired stock, policy models. MCTS/Retro*500 iterations and DFPN750; original paper no time limit vs official YAML time_limit3600 is disclosed. No reference-tree replay, different modern policy,444-target subset or model-output reanalysis may claim original new search.", | |
| "version": "Author Feb2022 preprint with SI and officialv1.0.0/Zenodo6275421. Final RSC fulltext HTTP403 unverified; no claim publisher text equivalence. Official released data discrepancy and input convention must be reported, not corrected to match published numbers.", | |
| "invalid_identity": "MolFromSmiles default sanitize fails OR full InChIKey is empty/non27 => identity unavailable. Do NOT repair SMILES, use sanitize=False, guess identity, collapse invalid strings or drop route. For any unavailable molecular identity in a tree: nmols/nleaves JSON null or empty CSV; identity_complete integer0; count invalid_molecular_occurrences. All structural occurrence/reaction/LLR/convergence fields still computed. Otherwise identity_complete1,invalid count0. Four histograms retain total routes; unresolved identities use extra string key unresolved for nmols/nleaves; nreactions/llr unresolved0. Dataset fields identity_complete_routes,identity_incomplete_routes,invalid_molecular_occurrences always present. Full-identity row scores exclude unresolved rows from numerators only; full denominator retained. Whole distribution claim unqualified if incomplete identities, never a global zero." | |
| }, | |
| "visible_input_character": "Released 158698 mother routes plus full10000 n1/10000 n5 reference routes, paired original SMILES and InChIKey stocks and targets. These are public known solutions, not fresh predictions or raw patent extraction inputs." | |
| }, | |
| "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": { | |
| "cost": { | |
| "type": "number" | |
| } | |
| }, | |
| "extra_annotations_allowed": true | |
| }, | |
| "calc_002": { | |
| "type": "object", | |
| "properties": { | |
| "cost": { | |
| "type": "number" | |
| } | |
| }, | |
| "extra_annotations_allowed": true | |
| }, | |
| "calc_003": { | |
| "type": "object", | |
| "properties": { | |
| "order": { | |
| "type": "array", | |
| "items": [ | |
| { | |
| "type": "number" | |
| } | |
| ], | |
| "length": "variable unless the public input fixes it" | |
| }, | |
| "ranks": { | |
| "type": "array", | |
| "items": [ | |
| { | |
| "type": "number" | |
| } | |
| ], | |
| "length": "variable unless the public input fixes it" | |
| } | |
| }, | |
| "extra_annotations_allowed": true | |
| }, | |
| "calc_004": { | |
| "type": "object", | |
| "properties": { | |
| "order": { | |
| "type": "array", | |
| "items": [ | |
| { | |
| "type": "number" | |
| } | |
| ], | |
| "length": "variable unless the public input fixes it" | |
| }, | |
| "ranks": { | |
| "type": "array", | |
| "items": [ | |
| { | |
| "type": "number" | |
| } | |
| ], | |
| "length": "variable unless the public input fixes it" | |
| } | |
| }, | |
| "extra_annotations_allowed": true | |
| }, | |
| "calc_005": { | |
| "type": "object", | |
| "properties": { | |
| "solved": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "extra_annotations_allowed": true | |
| }, | |
| "calc_006": { | |
| "type": "object", | |
| "properties": { | |
| "solved": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "extra_annotations_allowed": true | |
| }, | |
| "calc_007": { | |
| "type": "object", | |
| "properties": { | |
| "overlap": { | |
| "type": "number" | |
| } | |
| }, | |
| "extra_annotations_allowed": true | |
| }, | |
| "calc_008": { | |
| "type": "object", | |
| "properties": { | |
| "overlap": { | |
| "type": "number" | |
| } | |
| }, | |
| "extra_annotations_allowed": true | |
| }, | |
| "calc_009": { | |
| "type": "object", | |
| "properties": { | |
| "1": { | |
| "type": "object", | |
| "keys": "scientific identifiers from the current input, not fixed example IDs", | |
| "values": [ | |
| { | |
| "type": "number" | |
| } | |
| ] | |
| }, | |
| "5": { | |
| "type": "object", | |
| "keys": "scientific identifiers from the current input, not fixed example IDs", | |
| "values": [ | |
| { | |
| "type": "number" | |
| } | |
| ] | |
| }, | |
| "10": { | |
| "type": "object", | |
| "keys": "scientific identifiers from the current input, not fixed example IDs", | |
| "values": [ | |
| { | |
| "type": "number" | |
| } | |
| ] | |
| } | |
| }, | |
| "extra_annotations_allowed": true | |
| }, | |
| "calc_010": { | |
| "type": "object", | |
| "properties": { | |
| "proof": { | |
| "type": "number" | |
| }, | |
| "disproof": { | |
| "type": "number" | |
| } | |
| }, | |
| "extra_annotations_allowed": true | |
| } | |
| } | |
| } | |