Platform wheels for RDKit - a comprehensive cheminformatics and machine-learning library with Python bindings
89
{
"context": "This criteria evaluates the engineer's ability to use RDKit's molecular weight calculation capabilities, specifically focusing on the proper usage of SMILES parsing functions and molecular weight descriptor functions (both standard and exact). The evaluation assesses correct API usage for single molecule analysis, batch processing, and filtering operations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "SMILES Parsing",
"description": "Uses rdkit.Chem.MolFromSmiles() to parse SMILES strings into molecule objects. Should handle invalid SMILES by checking if the returned molecule is None.",
"max_score": 20
},
{
"name": "Standard Weight Calculation",
"description": "Uses rdkit.Chem.Descriptors.MolWt() or Descriptors.MolWt() to calculate standard molecular weight. Correctly applies this function to molecule objects (not SMILES strings).",
"max_score": 25
},
{
"name": "Exact Weight Calculation",
"description": "Uses rdkit.Chem.Descriptors.ExactMolWt() or Descriptors.ExactMolWt() to calculate exact molecular weight considering isotopes. Correctly applies this function to molecule objects.",
"max_score": 25
},
{
"name": "Batch Processing",
"description": "Correctly implements analyze_molecules() by iterating through the list of SMILES strings and applying molecular weight calculations to each. Returns properly structured data with all required fields (smiles, molecular_weight, exact_molecular_weight).",
"max_score": 15
},
{
"name": "Weight-based Filtering",
"description": "Correctly implements filter_by_weight() by calculating molecular weights and filtering molecules based on min_weight and max_weight thresholds. Uses appropriate comparison operators for range checking.",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-rdkitevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10