:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(llma): bump hog eval timeout from 5s to 10s (#66426)
posthog[bot]3a857613d748
diff --git a/posthog/temporal/ai_observability/evaluation_hog.py b/posthog/temporal/ai_observability/evaluation_hog.pyindex 5e3953afc8df..308e09449dfc 100644--- a/posthog/temporal/ai_observability/evaluation_hog.py+++ b/posthog/temporal/ai_observability/evaluation_hog.py@@ -54,11 +54,11 @@ def run_hog_eval(bytecode: list, event_data: dict[str, Any], allows_na: bool = Fresponse = execute_bytecode(bytecode,globals=globals_dict,- timeout=timedelta(seconds=5),+ timeout=timedelta(seconds=10),team=None,)except HogVMRuntimeExceededException:- return {"verdict": None, "reasoning": "", "error": "Execution timed out (5s limit exceeded)"}+ return {"verdict": None, "reasoning": "", "error": "Execution timed out (10s limit exceeded)"}except HogVMMemoryExceededException:return {"verdict": None, "reasoning": "", "error": "Memory limit exceeded"}except HogVMException as e:diff --git a/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene.tsx b/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene.tsxindex 6328bec0d20b..7f0ae5632137 100644--- a/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene.tsx+++ b/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene.tsx@@ -279,6 +279,15 @@ function AIObservabilityEvaluationsContent(): JSX.Element {return <span className="text-muted text-sm">No runs</span>}+ // Sentiment evals classify rather than pass/fail, so a pass rate is meaningless+ if (evaluation.evaluation_type === 'sentiment') {+ return (+ <div className="text-sm">+ {stats.runs_count} run{stats.runs_count !== 1 ? 's' : ''}+ </div>+ )+ }+const passRateColor =stats.pass_rate >= PASS_RATE_SUCCESS_THRESHOLD? 'text-success'