CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-modal

Python client library for Modal, a serverless cloud computing platform that enables developers to run Python code in the cloud with on-demand access to compute resources.

85

1.60x
Quality

Pending

Does it follow best practices?

Impact

85%

1.60x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-8/

{
  "context": "This criteria evaluates how well the engineer uses Modal's Secret API to manage credentials across different deployment environments. The focus is on correct usage of Secret creation methods and proper integration with Modal functions.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Secret.from_dict() usage",
      "description": "Uses modal.Secret.from_dict() to create credentials from a dictionary in the create_credentials_from_dict function",
      "max_score": 25
    },
    {
      "name": "Secret.from_local_environ() usage",
      "description": "Uses modal.Secret.from_local_environ() to copy specified environment variables in the create_credentials_from_env function",
      "max_score": 25
    },
    {
      "name": "Secret.from_dotenv() usage",
      "description": "Uses modal.Secret.from_dotenv() to load credentials from a .env file in the create_credentials_from_file function",
      "max_score": 25
    },
    {
      "name": "Secret injection pattern",
      "description": "Correctly demonstrates how to inject secrets into Modal functions using the secrets parameter in function decorators (e.g., @app.function(secrets=[...]))",
      "max_score": 15
    },
    {
      "name": "Environment variable access",
      "description": "Correctly accesses injected credentials as environment variables using os.environ or os.getenv within Modal functions",
      "max_score": 10
    }
  ]
}

tile.json