docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
{
"context": "Evaluates how well the solution leverages jsx-ast-utils to extract JSX attribute values. Focuses on using getPropValue and related helpers to log unsupported expression node types and return null without throwing.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Value extraction",
"description": "Uses jsx-ast-utils getPropValue to resolve literal and expression container values for JSXAttribute nodes instead of manual AST inspection.",
"max_score": 40
},
{
"name": "Unknown handling",
"description": "Relies on getPropValue's behavior to log unsupported expression node types and treats those results as null without throwing, forwarding the log message to the provided logger.",
"max_score": 30
},
{
"name": "Name resolution",
"description": "Derives attribute names with jsx-ast-utils propName (or equivalent helper) when building the map in collectPropValues, not manual string access.",
"max_score": 15
},
{
"name": "Continues scanning",
"description": "Iterates through attributes using jsx-ast-utils helpers while continuing after null results so supported attributes are still evaluated.",
"max_score": 15
}
]
}