CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-nodeenv

tessl install tessl/pypi-nodeenv@1.9.0

Node.js virtual environment builder for creating isolated Node.js environments

Agent Success

Agent success rate when using this tile

80%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.25x

Baseline

Agent success rate without this tile

64%

rubric.jsonevals/scenario-3/

{
  "context": "This criteria evaluates how effectively the engineer uses the nodeenv package to create and manage isolated Node.js virtual environments. The focus is on proper usage of nodeenv's programmatic API for environment creation and configuration.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Import nodeenv",
      "description": "Correctly imports the nodeenv module or specific functions from nodeenv (e.g., 'import nodeenv' or 'from nodeenv import create_environment')",
      "max_score": 10
    },
    {
      "name": "Use create_environment",
      "description": "Uses nodeenv.create_environment() function to create the Node.js virtual environment",
      "max_score": 25
    },
    {
      "name": "Configure arguments object",
      "description": "Creates and properly configures an arguments object (typically argparse.Namespace) as required by nodeenv.create_environment(), including at minimum the 'node' attribute for version specification",
      "max_score": 20
    },
    {
      "name": "Set node version",
      "description": "Sets the 'node' attribute in the arguments object to the specified node_version parameter value (e.g., 'latest', '16.20.0'), correctly mapping the function parameter to nodeenv's expected configuration",
      "max_score": 15
    },
    {
      "name": "Configure npm installation",
      "description": "Sets the 'with_npm' attribute in the arguments object based on the function parameter to control whether npm is installed in the environment",
      "max_score": 10
    },
    {
      "name": "Verify directory structure",
      "description": "Checks for the existence of the environment directory and the bin (Unix/Linux/macOS) or Scripts (Windows) subdirectory, and verifies the node executable exists within it",
      "max_score": 10
    },
    {
      "name": "Return values",
      "description": "Returns appropriate values from functions (absolute path from create_node_env, validation dictionary from verify_environment) as specified in the API",
      "max_score": 10
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/nodeenv@1.9.x
tile.json