Node.js virtual environment builder for creating isolated Node.js environments
80
{
"context": "This criteria evaluates how effectively the engineer uses nodeenv's mirror and custom download source capabilities to create Node.js virtual environments with alternative download locations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses --mirror flag",
"description": "Correctly uses the --mirror command-line option or mirror parameter when calling nodeenv to specify a custom download source",
"max_score": 25
},
{
"name": "Mirror URL handling",
"description": "Properly handles both full URL format (e.g., https://mirror.example.com/nodejs/) and domain-only format (e.g., mirror.example.com) for mirror specification",
"max_score": 20
},
{
"name": "Config file integration",
"description": "Implements configuration file support using nodeenv's config file mechanism (e.g., .nodeenvrc, setup.cfg, or custom config file via -C/--config-file) with mirror settings",
"max_score": 20
},
{
"name": "Environment creation",
"description": "Successfully creates Node.js virtual environments by calling nodeenv.create_environment() or using the nodeenv command with appropriate parameters including destination directory",
"max_score": 15
},
{
"name": "Parameter precedence",
"description": "Correctly implements precedence logic where command-line mirror argument overrides config file settings, following nodeenv's configuration hierarchy",
"max_score": 10
},
{
"name": "Error handling",
"description": "Implements appropriate error handling for mirror validation and environment creation failures using nodeenv's exception mechanisms",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-nodeenvdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10