CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-nodeenv

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

80

1.25x
Overview
Eval results
Files

rubric.jsonevals/scenario-5/

{
  "context": "This criteria evaluates how well the engineer uses nodeenv's package requirements file management capabilities including creating environments with package installation, exporting installed packages to requirements files, and updating environments from requirements files.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Environment creation",
      "description": "Uses nodeenv.create_environment() or nodeenv.main() with appropriate arguments to create an isolated Node.js environment in the specified directory",
      "max_score": 20
    },
    {
      "name": "Version specification",
      "description": "Properly specifies Node.js version using nodeenv's --node argument or equivalent programmatic interface (e.g., args.node parameter)",
      "max_score": 15
    },
    {
      "name": "Requirements file installation",
      "description": "Uses nodeenv's --requirements flag or install_packages() function to install npm packages from a requirements file during environment creation or separately",
      "max_score": 25
    },
    {
      "name": "Package export",
      "description": "Implements package export functionality using nodeenv's freeze command or equivalent mechanism (e.g., calling npm list with proper formatting) to generate requirements files",
      "max_score": 20
    },
    {
      "name": "Environment update",
      "description": "Uses nodeenv's --update flag or install_packages() function to update packages in an existing environment without reinstalling Node.js",
      "max_score": 15
    },
    {
      "name": "Proper argument handling",
      "description": "Correctly constructs argparse.Namespace objects or command-line arguments with appropriate parameters like env_dir, requirements, node version, and update flags",
      "max_score": 5
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-nodeenv

tile.json