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
Overview
Eval results
Files

Evaluation results

73%

40%

Interactive Data Validator

Interactive debugging (interact)

Criteria
Without context
With context

modal.interact() usage

0%

100%

PTY mode enabled

0%

20%

Remote function setup

100%

100%

Input/output handling

53%

53%

Validation logic

100%

100%

100%

Resource-Aware ML Pipeline Scheduler

Compute resource configuration (CPU/Memory/GPU)

Criteria
Without context
With context

App initialization

100%

100%

CPU configuration

100%

100%

Memory configuration

100%

100%

GPU configuration

100%

100%

Function definitions

100%

100%

Pipeline orchestration

100%

100%

100%

90%

Image Thumbnail Generator

Serverless function execution (Function)

Criteria
Without context
With context

App Definition

100%

100%

Function Decoration

0%

100%

Remote Execution

0%

100%

Parallel Map

0%

100%

Dict Creation

0%

100%

Dict Operations

0%

100%

Async Spawn

0%

100%

100%

70%

Image Classification Service

Dynamic batching (batched decorator)

Criteria
Without context
With context

Modal App Creation

100%

100%

Batched Decorator Usage

0%

100%

Batch Parameters

0%

100%

Batch Input/Output

0%

100%

Web Endpoint

100%

100%

Function Decorator

100%

100%

100%

40%

Distributed Log Aggregator

Output control and logging

Criteria
Without context
With context

Output Control Usage

0%

100%

Modal App Setup

100%

100%

Local Entrypoint

100%

100%

Parallel Execution

100%

100%

Function Implementation

100%

100%

Print Statements

100%

100%

100%

Execution Context Logger

Execution context functions (is_local, current_input_id)

Criteria
Without context
With context

Uses is_local()

100%

100%

Uses current_function_call_id()

100%

100%

Uses current_input_id()

100%

100%

Modal App setup

100%

100%

Local entrypoint usage

100%

100%

Remote function invocation

100%

100%

40%

Adaptive Image Processing Service

Auto-scaling configuration

Criteria
Without context
With context

Modal App initialization

100%

100%

Background function decoration

100%

100%

Background min_containers

0%

0%

Background max_containers

100%

100%

Background buffer_containers

0%

0%

Background scaledown_window

100%

100%

Background max_concurrent_inputs

0%

0%

Realtime function decoration

100%

100%

Realtime max_concurrent_inputs

0%

0%

Realtime target_concurrent_inputs

0%

0%

Realtime max_containers

100%

100%

88%

53%

Multi-Environment Configuration Manager

Secrets and credentials management (Secret)

Criteria
Without context
With context

Secret.from_dict() usage

100%

100%

Secret.from_local_environ() usage

0%

100%

Secret.from_dotenv() usage

0%

100%

Secret injection pattern

33%

53%

Environment variable access

50%

50%

100%

25%

Task Queue Data Processor

FIFO message queue (Queue)

Criteria
Without context
With context

Queue Creation

100%

100%

Batch Put Operation

100%

100%

Batch Get Operation

0%

100%

Modal App Setup

100%

100%

FIFO Ordering

100%

100%

Empty Queue Handling

100%

100%

45%

Real-time Log Aggregator

Stream readers and writers

Criteria
Without context
With context

Sandbox creation

100%

100%

Process execution

0%

0%

Stream reading

0%

0%

Async iteration

0%

0%

Parallel processing

100%

100%

Real-time writing

100%

100%

Resource cleanup

100%

100%

Install with Tessl CLI

npx tessl i tessl/pypi-modal
Evaluated
Agent
Claude Code

Table of Contents