tessl install tessl/npm-babel--runtime@7.28.0Babel's modular runtime helpers that provide transpilation support for modern JavaScript features
Agent Success
Agent success rate when using this tile
94%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.19x
Baseline
Agent success rate without this tile
79%
{
"context": "This criteria evaluates how effectively the engineer uses @babel/core's configuration loading APIs to discover and load Babel configuration files. The focus is on using loadPartialConfig or related APIs to access configuration file paths and settings.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses loadPartialConfig",
"description": "Uses @babel/core's loadPartialConfig(), loadPartialConfigSync(), or loadPartialConfigAsync() to load configuration information",
"max_score": 30
},
{
"name": "Accesses config files",
"description": "Extracts the config file path(s) from the result object, specifically accessing properties like config.files or similar to get the discovered configuration file paths",
"max_score": 20
},
{
"name": "Extracts plugins list",
"description": "Correctly retrieves the list of configured plugins from the loaded configuration, accessing the plugins array from the options or config object",
"max_score": 15
},
{
"name": "Extracts presets list",
"description": "Correctly retrieves the list of configured presets from the loaded configuration, accessing the presets array from the options or config object",
"max_score": 15
},
{
"name": "Handles missing config",
"description": "Properly handles the case when no configuration exists by checking if the config result is null or undefined and returning appropriate default values",
"max_score": 10
},
{
"name": "Sets working directory",
"description": "Passes the directory path correctly to loadPartialConfig using the filename or cwd option to ensure configuration discovery starts from the correct location",
"max_score": 10
}
]
}