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-3/

{
  "context": "This criteria evaluates how well the engineer uses PostHog's group analytics capabilities to track organization and team-level properties. The focus is on proper usage of the group_identify() function with correct group types and properties.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "PostHog client import",
      "description": "Imports the posthog module or specific components from posthog (e.g., 'import posthog' or 'from posthog import ...')",
      "max_score": 10
    },
    {
      "name": "Client initialization",
      "description": "Initializes the PostHog client using posthog.project_api_key (or similar initialization method like posthog.Client()) with the provided API key, and optionally sets the host",
      "max_score": 15
    },
    {
      "name": "Organization group_identify usage",
      "description": "Uses posthog.group_identify() to set organization properties with group_type='organization' (or 'company') and the correct group_key (org_id)",
      "max_score": 25
    },
    {
      "name": "Organization properties",
      "description": "Passes organization properties as a dictionary to group_identify(), including the required properties (name, tier, employee_count)",
      "max_score": 15
    },
    {
      "name": "Team group_identify usage",
      "description": "Uses posthog.group_identify() to set team properties with group_type='team' and the correct group_key (team_id)",
      "max_score": 20
    },
    {
      "name": "Team properties",
      "description": "Passes team properties as a dictionary to group_identify(), including the required properties (name, department, member_count)",
      "max_score": 10
    },
    {
      "name": "Property updates",
      "description": "Demonstrates that calling group_identify() again with the same group_type and group_key updates existing properties (as shown in the organization update test case)",
      "max_score": 5
    }
  ]
}