or run

tessl search
Log in

Version

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

tessl/pypi-posthog

tessl install tessl/pypi-posthog@6.7.0

Integrate PostHog into any python application.

Agent Success

Agent success rate when using this tile

89%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.03x

Baseline

Agent success rate without this tile

86%

rubric.jsonevals/scenario-7/

{
  "context": "This evaluation assesses how well the engineer uses the PostHog Python SDK to implement an analytics tracker with robust network retry logic and exponential backoff. The focus is on proper client initialization with retry configuration, event capture, and graceful shutdown handling.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Client initialization",
      "description": "Uses posthog.Client() or calls posthog.init() to initialize the PostHog client with the api_key parameter (project_api_key) and host parameter.",
      "max_score": 15
    },
    {
      "name": "Retry configuration",
      "description": "Configures max_retries parameter when initializing the PostHog client to control the number of retry attempts for failed network requests.",
      "max_score": 25
    },
    {
      "name": "Timeout configuration",
      "description": "Configures timeout parameter when initializing the PostHog client to set the HTTP request timeout duration.",
      "max_score": 20
    },
    {
      "name": "Event capture",
      "description": "Uses posthog.capture() method to track events with event name (event parameter), user identifier (distinct_id parameter), and custom properties (properties parameter).",
      "max_score": 20
    },
    {
      "name": "Graceful shutdown",
      "description": "Calls posthog.shutdown() or calls both posthog.flush() and posthog.join() to ensure all pending events are sent before the application exits.",
      "max_score": 20
    }
  ]
}