tessl install tessl/pypi-yacs@0.1.0A lightweight library for defining and managing system configurations for scientific experimentation.
Agent Success
Agent success rate when using this tile
97%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.05x
Baseline
Agent success rate without this tile
92%
{
"context": "This criteria evaluates how well the engineer uses the yacs package for YAML serialization and deserialization. The focus is on correct usage of CfgNode, load_cfg(), and dump() methods to handle configuration data.",
"type": "weighted_checklist",
"checklist": [
{
"name": "CfgNode usage",
"description": "Uses yacs.config.CfgNode class to create and manage configuration objects instead of plain dictionaries or custom classes",
"max_score": 25
},
{
"name": "load_cfg method",
"description": "Uses CfgNode.load_cfg() class method to load configuration from YAML strings rather than manual YAML parsing",
"max_score": 25
},
{
"name": "dump method",
"description": "Uses the dump() method on CfgNode instances to serialize configuration to YAML format",
"max_score": 25
},
{
"name": "Type preservation",
"description": "Correctly handles yacs type system including tuples, lists, integers, floats, strings, and nested CfgNode objects without manual type conversion",
"max_score": 15
},
{
"name": "Nested structure handling",
"description": "Properly works with hierarchical/nested configuration structures using CfgNode's built-in support for nested dictionaries",
"max_score": 10
}
]
}