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

{
  "context": "This criteria evaluates how well the engineer uses the PostHog Python SDK's feature flag evaluation capabilities to build a feature flag service. The focus is on proper usage of the SDK's server-side feature flag evaluation methods.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Client initialization",
      "description": "Properly initializes a PostHog client using posthog.Client() or similar, passing the api_key and host parameters",
      "max_score": 15
    },
    {
      "name": "feature_enabled usage",
      "description": "Uses posthog.feature_enabled() or client.feature_enabled() method to check if a feature is enabled, passing the feature key and distinct_id (user_id)",
      "max_score": 20
    },
    {
      "name": "get_feature_flag usage",
      "description": "Uses posthog.get_feature_flag() or client.get_feature_flag() method to retrieve the feature flag variant, passing the feature key and distinct_id (user_id)",
      "max_score": 20
    },
    {
      "name": "get_all_flags usage",
      "description": "Uses posthog.get_all_flags() or client.get_all_flags() method to retrieve all feature flags for a user, passing the distinct_id (user_id)",
      "max_score": 20
    },
    {
      "name": "get_feature_flag_payload usage",
      "description": "Uses posthog.get_feature_flag_payload() or client.get_feature_flag_payload() method to retrieve the configuration payload for a feature flag, passing the feature key and distinct_id (user_id)",
      "max_score": 25
    }
  ]
}