Repository Analysis

PostHog/posthog

: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.

15.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of PostHog/posthog, a Python project with 39,407 GitHub stars. SynthScan v2.0 examined 8,728,320 lines of code across 39258 source files, recording 120001 pattern matches distributed across 28 syntactic categories. The overall adjusted score of 15.7 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

15.7
Adjusted Score
15.7
Raw Score
100%
Time Factor
2026-08-28
Last Push
39.4K
Stars
Python
Language
8.7M
Lines of Code
39.3K
Files
120.0K
Pattern Hits
2026-08-29
Scan Date
0.07
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 180HIGH 2526MEDIUM 4793LOW 112502

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 120001 distinct pattern matches across 28 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers92403 hits · 87998 pts
SeverityFileLineSnippetContext
LOWconftest.py40def _cache_reverse_rel_identity() -> None:CODE
LOWconftest.py183def _cheapen_freezegun_module_hash() -> None:CODE
LOWconftest.py198 def _fast_module_attributes_hash(module: types.ModuleType) -> str:CODE
LOWconftest.py259def _clean_persons_db_for_direct_tests(request):CODE
LOWconftest.py286def _query_cache_raw_redis_uses_fakeredis(monkeypatch):CODE
LOWnodejs/bin/migrate-minio-to-seaweedfs.js265function ensureLocalDevelopmentOnly(minioEndpoint, seaweedfsEndpoint) {CODE
LOWnodejs/bin/migrate-minio-to-seaweedfs.js434async function listAllObjectsWithMetadata(client, bucket, prefix) {CODE
LOW…sts/service-e2e/rust-ingestion-consumer.serial.test.ts362async function startNodeIngestionApiWorkers(count: number): Promise<NodeWorker[]> {CODE
LOW…sts/service-e2e/rust-ingestion-consumer.serial.test.ts376async function startRustConsumerForWorkers(CODE
LOW…sts/service-e2e/rust-ingestion-consumer.serial.test.ts405async function startNodeIngestionApiWorker(name: string, port?: number): Promise<NodeWorker> {CODE
LOW…sts/service-e2e/rust-ingestion-consumer.serial.test.ts450async function restartNodeIngestionApiWorker(CODE
LOW…sts/service-e2e/rust-ingestion-consumer.serial.test.ts461function startRustIngestionConsumer(CODE
LOW…sts/service-e2e/rust-ingestion-consumer.serial.test.ts614function createKafkaMessageWithCaptureHeaders(event: TestEvent, token: string): Message {CODE
LOW…sts/service-e2e/rust-ingestion-consumer.serial.test.ts631async function assertKafkaIngestionState(groupId: string, expectedEvents: TestEvent[]): Promise<void> {CODE
LOW…sts/service-e2e/rust-ingestion-consumer.serial.test.ts673async function expectCommittedOffsetsAtTopicEnd(CODE
LOW…sts/service-e2e/rust-ingestion-consumer.serial.test.ts696async function waitForTopicMessageCountAndGetWatermarks(CODE
LOW…sts/service-e2e/rust-ingestion-consumer.serial.test.ts712async function captureTopicStartWatermarks(topics: string[]): Promise<Map<string, TopicWatermarks>> {CODE
LOWnodejs/tests/ingestion/postgres-parity.test.ts49async function waitForClickHousePersonConsumer(clickhouse: Clickhouse): Promise<void> {CODE
LOW…dejs/tests/ingestion/person-state-batch.serial.test.ts349 async function fetchPersonsRowsWithVersionHigerEqualThan(version = 1) {CODE
LOW…dejs/tests/ingestion/person-state-batch.serial.test.ts354 async function fetchDistinctIdsClickhouse(person: InternalPerson) {CODE
LOW…dejs/tests/ingestion/person-state-batch.serial.test.ts4798 function createPersonEventProcessor(mergeMode: any, event: Partial<PluginEvent>) {CODE
LOW…estion/framework/batching-pipeline.integration.test.ts294 async function bindStoresBeforeBatchStep(input: BeforeBatchInput<In, Ctx>) {CODE
LOW…ingestion/pipelines/sessionreplay/consumer.e2e.test.ts335async function queryClickHouseSessionMetadata(CODE
LOW…stion/common/event-filters/manager.integration.test.ts68 async function createManagerAndWaitForLoad(): Promise<{CODE
LOW…nt-processing/process-persons-step.integration.test.ts127 async function createPersonWithDistinctIds(distinctId: string, ...extraDistinctIds: string[]) {CODE
LOWnodejs/tests/helpers/sql.ts213export async function createUserTeamAndOrganization(CODE
LOWnodejs/tests/helpers/sql.ts548export async function fetchPostgresDistinctIdsForPerson(postgres: PostgresRouter, personId: string): Promise<string[]> {CODE
LOWnodejs/tests/helpers/sql.ts555export async function resetBehavioralCohortsDatabase(postgres: PostgresRouter): Promise<void> {CODE
LOWnodejs/tests/helpers/database-guard.ts41export async function assertRouterTargetsTestDatabase(router: PostgresRouter, use: PostgresUse): Promise<void> {CODE
LOWnodejs/tests/helpers/raw-event.ts18export function createTestRawClickHouseEvent(overrides: Partial<RawClickHouseEvent> = {}): RawClickHouseEvent {CODE
LOWnodejs/tests/helpers/ingestion-e2e.ts202export async function waitForClickHouseKafkaConsumer(clickhouse: Clickhouse): Promise<void> {CODE
LOWnodejs/tests/helpers/cdp.ts25function buildTestCdpProducerRegistry(CODE
LOWnodejs/tests/helpers/ingestion-outputs.ts45export function createTestMonitoringOutputs(kafkaProducer: KafkaProducerWrapper) {CODE
LOWnodejs/tests/helpers/ingestion-outputs.ts52export function createTestIngestionOutputs(kafkaProducer: KafkaProducerWrapper) {CODE
LOWnodejs/src/capabilities.ts70export function getPluginServerCapabilities(CODE
LOWnodejs/src/cdp/cdp-services.ts257export function createCdpValkeyShadowPools(CODE
LOWnodejs/src/cdp/managed-alert-events.ts7export function isManagedAlertInternalEvent(eventName: unknown): boolean {CODE
LOWnodejs/src/cdp/utils.ts34export function convertToHogFunctionInvocationGlobals(CODE
LOWnodejs/src/cdp/utils.ts90export function convertBatchHogFlowRequestToHogFunctionInvocationGlobals({CODE
LOWnodejs/src/cdp/utils.ts129export function convertAccountBatchHogFlowRequestToHogFunctionInvocationGlobals({CODE
LOWnodejs/src/cdp/utils.ts167export function convertInternalEventToHogFunctionInvocationGlobals(CODE
LOWnodejs/src/cdp/utils.ts273export function isLegacyPluginHogFunction(hogFunction: Pick<HogFunctionType, 'template_id'>): boolean {CODE
LOWnodejs/src/cdp/utils.ts277export function isSegmentPluginHogFunction(hogFunction: Pick<HogFunctionType, 'template_id'>): boolean {CODE
LOWnodejs/src/cdp/utils.ts285export function isInternalErrorTrackingEvent(event: CdpInternalEvent['event']): boolean {CODE
LOWnodejs/src/cdp/async-function-registry.ts50export function getRegisteredAsyncFunctionNames(): string[] {CODE
LOWnodejs/src/cdp/utils/push-subscription-utils.ts9export function getDevicePushSubscriptionToken(CODE
LOWnodejs/src/cdp/utils/hog-function-filtering.ts102export function convertClickhouseRawEventToFilterGlobals(event: RawClickHouseEvent): HogFunctionFilterGlobals {CODE
LOWnodejs/src/cdp/utils/hog-function-filtering.ts226export function convertToHogFunctionFilterGlobal(CODE
LOWnodejs/src/cdp/utils/hog-function-filtering.ts350export async function filterFunctionInstrumented(options: {CODE
LOWnodejs/src/cdp/utils/invocation-utils.ts43export async function buildHogFunctionInvocations(CODE
LOWnodejs/src/cdp/consumers/quota-limiting-helper.ts24export async function shouldBlockInvocationDueToQuota(CODE
LOW…js/src/cdp/consumers/cdp-cohort-membership.consumer.ts83function partitionProgressFromMessages(messages: Message[]): PartitionProgress[] {CODE
LOW…rc/cdp/consumers/cdp-data-warehouse-events.consumer.ts249function convertDataWarehouseEventToHogFunctionInvocationGlobals(CODE
LOW…nsumers/cdp-cyclotron-worker-batch-resolve.consumer.ts593export function buildAccountHogFlowInvocation(params: {CODE
LOWnodejs/src/cdp/consumers/cdp-person-updates-consumer.ts137function convertClickhousePersonToInvocationGlobals(CODE
LOW…consumers/cdp-hogflow-subscription-matcher.consumer.ts951function convertClickhousePersonToWakeGlobals(CODE
LOW…src/cdp/consumers/cdp-cyclotron-worker-hogflow.test.ts52function createMockPersonReadRepository(persons: TestPerson[]): jest.Mocked<PersonReadRepository> {CODE
LOW…nsumers/cdp-cyclotron-worker-hogflow-personhog.test.ts43function createMockPersonReadRepository(CODE
LOW…src/cdp/hog-transformations/hog-transformer.service.ts357export function createHogTransformerService(CODE
LOWnodejs/src/cdp/hog-transformations/rust-vm.ts79export function resetHogvmNodeModuleCacheForTests(): void {CODE
92343 more matches not shown…
Decorative Section Separators2020 hits · 6685 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml510# ---------------------------------------------------------------------------COMMENT
MEDIUMpyproject.toml512# ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf2 # ===========================================================================COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf6 # ===========================================================================COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf61 # ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf63 # ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf85 # ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf88 # ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf199 # ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf202 # ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf249# ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf251# ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf297# ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf299# ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf339# ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf341# ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf469# ---------------------------------------------------------------------------COMMENT
MEDIUM…t-2/team-analytics-platform/slo-monitoring/insights.tf471# ---------------------------------------------------------------------------COMMENT
MEDIUM…m-analytics-platform/dashboard-key-metrics/insights.tf1# =============================================================================COMMENT
MEDIUM…m-analytics-platform/dashboard-key-metrics/insights.tf3# =============================================================================COMMENT
MEDIUM…m-analytics-platform/dashboard-key-metrics/insights.tf10# =============================================================================COMMENT
MEDIUM…analytics-platform/dashboard-key-metrics/dashboards.tf1# =============================================================================COMMENT
MEDIUM…analytics-platform/dashboard-key-metrics/dashboards.tf3# =============================================================================COMMENT
MEDIUM…analytics-platform/dashboard-key-metrics/dashboards.tf9# =============================================================================COMMENT
MEDIUM…eam-analytics-platform/dashboard-key-metrics/alerts.tf1# =============================================================================COMMENT
MEDIUM…eam-analytics-platform/dashboard-key-metrics/alerts.tf3# =============================================================================COMMENT
MEDIUM…eam-analytics-platform/dashboard-key-metrics/alerts.tf14# =============================================================================COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf2 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf5 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf49 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf51 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf80 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf82 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf94 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf96 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf262 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf264 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf282 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf284 # ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf313# ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf315# ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf355# ---------------------------------------------------------------------------COMMENT
MEDIUM…/us/project-2/team-analytics-platform/slos/insights.tf357# ---------------------------------------------------------------------------COMMENT
MEDIUMnodejs/src/cdp/workflows-e2e.serial.test.ts222 // ── Helpers ──────────────────────────────────────────────────────COMMENT
MEDIUMnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts228 // ── 1. Original invocation succeeds ─────────────────────────────────COMMENT
MEDIUMnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts269 // ── 2. Mimic Django POST /rerun — only the request itself is faked ──────COMMENT
MEDIUMnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts295 // ── 3. Rerun worker drains the wrapper job ────────────────────────────────COMMENT
MEDIUMnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts303 // ── 4. Wait for the wrapper job to complete ────────────────────────────────COMMENT
MEDIUMnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts310 // ── 5. Reruned invocation flows through the real cyclotron worker ─────────COMMENT
MEDIUMnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts548 // ── 1. Original flow runs to completion — fetch fires exactly once ──────────COMMENT
MEDIUMnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts575 // ── 2. Mimic Django POST /rerun for the flow, scoped to this invocation ─────COMMENT
MEDIUMnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts587 // ── 3. Rerun worker drains the wrapper job (hog_flow -> postgres-v2) ────────COMMENT
MEDIUMnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts600 // ── 4. Rerun invocation flows back through the real hog-flow worker ─────────COMMENT
MEDIUM…ejs/src/cdp/services/cyclotron-v2/cyclotron-v2.test.ts16// ── Helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUM…ejs/src/cdp/services/cyclotron-v2/cyclotron-v2.test.ts159// ── Tests ────────────────────────────────────────────────────────────COMMENT
MEDIUM…ejs/src/cdp/services/cyclotron-v2/cyclotron-v2.test.ts190 // ── Manager ──────────────────────────────────────────────────────COMMENT
MEDIUM…ejs/src/cdp/services/cyclotron-v2/cyclotron-v2.test.ts975 // ── Worker ───────────────────────────────────────────────────────COMMENT
MEDIUM…ejs/src/cdp/services/cyclotron-v2/cyclotron-v2.test.ts1608 // ── Email fair dequeue ───────────────────────────────────────────COMMENT
MEDIUM…ejs/src/cdp/services/cyclotron-v2/cyclotron-v2.test.ts2059 // ── Janitor ──────────────────────────────────────────────────────COMMENT
MEDIUMtools/snob_backend_test_selection_shadow.py429 # ── 1. Changed test files themselves ─────────────────────────────COMMENT
1960 more matches not shown…
Self-Referential Comments2112 hits · 6505 pts
SeverityFileLineSnippetContext
MEDIUMdocker-compose.dev-full.yml3# This file is the same as `docker-compose.dev.yml` except it boots the services in containers instead of you running thCOMMENT
MEDIUM…rm/us/project-2/team-analytics-platform/terragrunt.hcl2# This file is NOT directly runnable - it provides shared config for child modules.COMMENT
MEDIUMtools/phrocs/Formula/phrocs.rb4# This file is auto-updated by CI on semver releases. DO NOT EDIT.COMMENT
MEDIUMtools/hogli-commands/hogli_commands/devenv/generator.py409 # Create a friendly message with config hintSTRING
MEDIUMdevenv/intent-map.yaml3# This file defines the domain model for developer environments:COMMENT
MEDIUMproducts/demo/backend/logic/products/hedgebox/matrix.py303 # Create the standard internal/test users cohort (same as non-demo teams get)COMMENT
MEDIUMproducts/demo/backend/logic/products/spikegpt/matrix.py49 # Create the standard internal/test users cohort (same as non-demo teams get)COMMENT
MEDIUMproducts/slack_app/backend/inbox_channel.py15# Creating a public channel and inviting members both require this scope.COMMENT
MEDIUM…backend/tests/temporal/destinations/snowflake/utils.py218 # Create a crude mock of the Snowflake API that just stores the queriesCOMMENT
MEDIUM…tinations/file_download/test_file_download_activity.py190 # Create a batch export in the DB since BatchExportFileDownload has a FK to it.COMMENT
MEDIUMproducts/batch_exports/backend/tests/api/test_update.py530 # Create a BatchExport straight in the database/temporal to avoid going through the APICOMMENT
MEDIUMproducts/cdp/backend/models/hog_function_template.py93 # Create a SHA256 hash of the contentCOMMENT
MEDIUM…ducts/cdp/backend/models/hog_functions/hog_function.py396 # Create a serializer data dictionary from the templateCOMMENT
MEDIUM…ducts/cdp/backend/models/hog_functions/hog_function.py408 # Create a mock request with the userCOMMENT
MEDIUMproducts/cdp/backend/api/hog_function.py771 # Create the function with the execution_orderCOMMENT
MEDIUMproducts/cdp/backend/api/test/test_plugin.py698 # Create the pluginCOMMENT
MEDIUMproducts/cdp/backend/api/test/test_hog_function.py291 # Create the action referenced in EXAMPLE_FULLCOMMENT
MEDIUMproducts/cdp/backend/api/test/test_hog_function.py2054 # Create a non-transformation function - should not get execution_orderCOMMENT
MEDIUMproducts/cdp/backend/api/test/test_hog_function.py2691 # Create a third functionCOMMENT
MEDIUMproducts/cdp/backend/api/test/test_hog_function.py2776 # Create a third functionCOMMENT
MEDIUMproducts/cdp/backend/api/test/test_hog_function.py2939 # Create a template in the DBCOMMENT
MEDIUMproducts/cdp/backend/api/test/test_hog_function.py2953 # Create a HogFunction with template_idCOMMENT
MEDIUMproducts/cdp/backend/api/test/test_hog_function.py2970 # Create a HogFunction without template_idCOMMENT
MEDIUMproducts/cdp/backend/api/test/test_hog_function.py3052 # Create a hog functionCOMMENT
MEDIUM…ts/cdp/backend/api/test/test_hog_function_templates.py208 # Create a modified sha of the templateCOMMENT
MEDIUM…ts/cdp/backend/api/test/test_hog_function_templates.py51 # Create a webhook templateCOMMENT
MEDIUM…ts/cdp/backend/api/test/test_hog_function_templates.py66 # Create a deprecated templateCOMMENT
MEDIUM…ts/cdp/backend/api/test/test_hog_function_templates.py97 # Create a site_destination template for filtering testsCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py696 # Create a new teamCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py3140 # Create a flag for testingCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py357 # Create a flagCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py376 # Create a flagCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py1133 # Create a flagCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py1856 # Create a team that will be deletedCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py1893 # Create a flag so batch loading succeedsCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py1974 # Create a real flag for the teamCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py1997 # Create a real flag for the teamCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py2273 # Create a real flag for the teamCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py2296 # Create a real flag for the teamCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py2331 # Create a real flag for the teamCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py2377 # Create a real flag for the teamCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py2404 # Create a real flagCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py2654 # Create a real flagCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py2707 # Create a real flagCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py2759 # Create a flag for the teamCOMMENT
MEDIUMproducts/feature_flags/backend/test/test_flags_cache.py2788 # Create a flag for the teamCOMMENT
MEDIUM…ts/feature_flags/backend/test/test_local_evaluation.py447 # Create the context first (this will fire a signal for EvaluationContext.post_save)COMMENT
MEDIUM…ts/feature_flags/backend/test/test_local_evaluation.py452 # Creating the association should fire the signalCOMMENT
MEDIUM…ts/feature_flags/backend/test/test_local_evaluation.py1251 # Create the circular reference: A -> B -> ACOMMENT
MEDIUM…agement/commands/delete_feature_flag_usage_insights.py217 # This file is the only thing protecting in-use insights, so a total parse failure has toCOMMENT
MEDIUMproducts/feature_flags/backend/api/scheduled_change.py298 # Create the CR and the ScheduledChange row in one transaction: the applier defers a bound CRCOMMENT
MEDIUM…/api/test/test_feature_flag_require_evaluation_tags.py104 # Create a flag first without the requirementCOMMENT
MEDIUM…/api/test/test_feature_flag_require_evaluation_tags.py175 # Create a flag with evaluation tagsCOMMENT
MEDIUM…/api/test/test_feature_flag_require_evaluation_tags.py207 # Create a flag with multiple evaluation tagsCOMMENT
MEDIUM…/api/test/test_feature_flag_require_evaluation_tags.py242 # Create a flag without evaluation tags (before requirement was enabled)COMMENT
MEDIUM…/api/test/test_feature_flag_require_evaluation_tags.py273 # Create a flag with evaluation tagsCOMMENT
MEDIUM…eature_flags/backend/api/test/test_scheduled_change.py28 # Create a feature flag to schedule changes forCOMMENT
MEDIUM…eature_flags/backend/api/test/test_scheduled_change.py60 # Create a feature flagCOMMENT
MEDIUM…eature_flags/backend/api/test/test_scheduled_change.py90 # Create a feature flagCOMMENT
MEDIUM…ags/backend/api/test/test_organization_feature_flag.py188 # Create a second user and log in as them (not the flag creator) so thatCOMMENT
2052 more matches not shown…
Excessive Try-Catch Wrapping5099 hits · 5099 pts
SeverityFileLineSnippetContext
MEDIUM…s/_transformations/url-masking/url-masking.template.ts77 print('Error masking URL parameters:', error)CODE
LOWtools/snob_backend_test_selection_shadow.py581 except Exception as exc:CODE
LOWtools/playwright_spec_selection.py332 except Exception:CODE
LOW…research_agent/pi_plugin/scripts/ch_compare_results.py136 except Exception as err:CODE
LOW…ce-ai/query_performance_ai/orchestrator/coordinator.py354 except Exception as e: # noqa: BLE001CODE
LOW…ce-ai/query_performance_ai/orchestrator/coordinator.py364 except Exception as e: # noqa: BLE001CODE
LOW…ce-ai/query_performance_ai/orchestrator/coordinator.py389 except Exception as e: # noqa: BLE001CODE
LOW…ce-ai/query_performance_ai/orchestrator/coordinator.py743 except Exception as e: # noqa: BLE001CODE
LOW…ce-ai/query_performance_ai/orchestrator/coordinator.py814 except Exception: # noqa: BLE001CODE
LOWtools/infra-scripts/clitools/toolbox/user.py57 except Exception as k8s_error:CODE
MEDIUMtools/infra-scripts/clitools/toolbox/user.py58 print(f"Error: Failed to get user identity: {k8s_error}") # noqa: T201CODE
MEDIUMtools/infra-scripts/clitools/toolbox/user.py59 print(f"Error type: {type(k8s_error)}") # noqa: T201CODE
LOWtools/infra-scripts/clitools/toolbox/user.py97 except Exception as e:CODE
LOWtools/infra-scripts/clitools/toolbox/pod.py136 except Exception as e:CODE
MEDIUMtools/infra-scripts/clitools/toolbox/pod.py198 print(f"Error stripping labels: {e.stderr or e}") # noqa: T201CODE
MEDIUMtools/infra-scripts/clitools/toolbox/pod.py215 print(f"Error annotating pod: {e.stderr or e}") # noqa: T201CODE
LOWtools/infra-scripts/clitools/toolbox/pod.py244 except Exception as e:CODE
MEDIUMtools/infra-scripts/clitools/toolbox/pod.py245 print(f"Error claiming pod: {e}") # noqa: T201CODE
LOWtools/infra-scripts/clitools/toolbox/telemetry.py108 except Exception as telemetry_error:CODE
MEDIUMtools/infra-scripts/clitools/toolbox/kubernetes.py67 print(f"Error switching kubernetes context: {error}") # noqa: T201CODE
LOWtools/hogli/src/hogli/lazy_commands.py72 except Exception as exc:CODE
LOWtools/hogli/src/hogli/telemetry.py77 except Exception:CODE
LOWtools/hogli/src/hogli/telemetry.py86 except Exception:CODE
LOWtools/hogli/src/hogli/telemetry.py144 except Exception as exc:CODE
LOWtools/hogli/src/hogli/telemetry.py265 except Exception as exc:CODE
LOWtools/hogli/src/hogli/telemetry.py281 except Exception:CODE
MEDIUMtools/hogli/src/hogli/telemetry.py74def _load_config() -> TelemetryConfig:CODE
LOWtools/hogli/src/hogli/cli.py89 except Exception:CODE
LOWtools/hogli/src/hogli/cli.py96 except Exception:CODE
LOWtools/hogli/src/hogli/cli.py227 except Exception:CODE
LOWtools/hogli/src/hogli/cli.py616 except Exception:CODE
LOWtools/hogli/src/hogli/cli.py652 except Exception:CODE
LOWtools/hogli/src/hogli/cli.py689 except Exception:CODE
LOWtools/hogli/src/hogli/cli.py698 except Exception:CODE
MEDIUMtools/hogli/src/hogli/cli.py595def _hogli_version() -> str | None:CODE
LOWtools/hogbox-preview/hogbox_preview/stack.py179 except Exception as e: # noqa: BLE001CODE
LOWtools/hogbox-preview/hogbox_preview/hogland_backend.py77 except Exception:CODE
LOWtools/hogbox-preview/hogbox_preview/hogland_backend.py396 except Exception as e:CODE
LOWtools/hogbox-preview/hogbox_preview/hogland_backend.py425 except Exception as e:CODE
LOWtools/hogbox-preview/hogbox_preview/hogland_backend.py609 except Exception as refresh_err: # noqa: BLE001 — keep pollingCODE
LOWtools/hogbox-preview/hogbox_preview/hogland_backend.py611 except Exception as e: # noqa: BLE001 — keep polling through transient API errorsCODE
MEDIUMtools/hogbox-preview/hogbox_preview/hogland_backend.py420def _delete_explicit_box(self) -> None:CODE
LOWtools/hogbox-preview/hogbox_preview/__main__.py145 except Exception: # noqa: BLE001 — a flaky check shouldn't reap a live previewCODE
LOWtools/hogli-commands/hogli_commands/metabase.py134 except Exception as exc:CODE
LOWtools/hogli-commands/hogli_commands/feedback.py98 except Exception:CODE
LOWtools/hogli-commands/hogli_commands/feedback.py125 except Exception as exc:CODE
MEDIUMtools/hogli-commands/hogli_commands/db_schema.py591def _recreate_test_db() -> None:CODE
LOWtools/hogli-commands/hogli_commands/db_schema.py142 except Exception:CODE
LOWtools/hogli-commands/hogli_commands/db_schema.py248 except Exception as exc:CODE
LOWtools/hogli-commands/hogli_commands/db_schema.py252 except Exception as cleanup_exc:CODE
LOWtools/hogli-commands/hogli_commands/db_schema.py526 except Exception:STRING
LOWtools/hogli-commands/hogli_commands/db_schema.py587 except Exception as exc:STRING
LOWtools/hogli-commands/hogli_commands/db_schema.py594 except Exception as exc:STRING
LOWtools/hogli-commands/hogli_commands/db_schema.py627 except Exception as exc:STRING
LOWtools/hogli-commands/hogli_commands/db_schema.py645 except Exception as exc:STRING
LOWtools/hogli-commands/hogli_commands/ci_preflight.py566 except Exception:CODE
LOWtools/hogli-commands/hogli_commands/telemetry_props.py105 except Exception:CODE
LOWtools/hogli-commands/hogli_commands/telemetry_props.py131 except Exception:CODE
LOWtools/hogli-commands/hogli_commands/telemetry_props.py153 except Exception:CODE
LOWtools/hogli-commands/hogli_commands/telemetry_props.py166 except Exception:CODE
5039 more matches not shown…
Unused Imports6082 hits · 5030 pts
SeverityFileLineSnippetContext
LOWtools/test_playwright_spec_selection.py1CODE
LOWtools/test_test_selection_verdict.py1CODE
LOWtools/dagster_test_selection.py28CODE
LOWtools/test_selection_verdict.py15CODE
LOWtools/test_dagster_test_selection.py1CODE
LOWtools/test_snob_backend_test_selection_shadow.py1CODE
LOWtools/snob_backend_test_selection_shadow.py37CODE
LOWtools/playwright_spec_selection.py56CODE
LOWtools/phrocs/mcp_server.py12CODE
LOW…dboxed_autoresearch_agent/pi_plugin/scripts/_common.py3CODE
LOW…research_agent/pi_plugin/scripts/ch_compare_results.py7CODE
LOW…esearch_agent/pi_plugin/scripts/ch_capture_baseline.py4CODE
LOW…toresearch_agent/pi_plugin/scripts/ch_run_candidate.py4CODE
LOW…xed_autoresearch_agent/pi_plugin/scripts/transports.py9CODE
LOW…toresearch_agent/pi_plugin/scripts/ch_campaign_init.py9CODE
LOW…earch_agent/pi_plugin/scripts/tests/test_transports.py8CODE
LOW…t/pi_plugin/templates/workspace/autoresearch_checks.py8CODE
LOW…ch_agent/pi_plugin/templates/workspace/autoresearch.py7CODE
LOW…ance_ai/sandboxed_autoresearch_agent/driver/runtime.py8CODE
LOW…ai/sandboxed_autoresearch_agent/driver/run_campaign.py15CODE
LOW…e_ai/sandboxed_autoresearch_agent/driver/sandboxing.py27CODE
LOW…ce-ai/query_performance_ai/orchestrator/coordinator.py22CODE
LOW…ormance-ai/query_performance_ai/orchestrator/server.py10CODE
LOW…e-ai/query_performance_ai/orchestrator/slow_queries.py9CODE
LOW…rmance-ai/query_performance_ai/orchestrator/harvest.py3CODE
LOW…query_performance_ai/orchestrator/backends/metabase.py8CODE
LOW…ai/query_performance_ai/orchestrator/backends/local.py13CODE
LOW…ery_performance_ai/orchestrator/backends/_query_log.py10CODE
LOW…-ai/query_performance_ai/orchestrator/backends/base.py10CODE
LOW…rmance_ai/orchestrator/backends/tests/test_backends.py1CODE
LOW…performance_ai/orchestrator/tests/test_slow_queries.py1CODE
LOW…query_performance_ai/orchestrator/tests/test_server.py1CODE
LOW…ts/clickhouse-multinode/verify-multinode-clickhouse.py22CODE
LOWtools/hogli/tests/test_release_notes.py1CODE
LOWtools/hogli/tests/test_migrations.py3CODE
LOWtools/hogli/tests/test_manifest.py3CODE
LOWtools/hogli/tests/test_command_types.py3CODE
LOWtools/hogli/tests/test_validate.py3CODE
LOWtools/hogli/tests/test_cli.py3CODE
LOWtools/hogli/tests/test_telemetry.py3CODE
LOWtools/hogli/scripts/release_notes.py4CODE
LOWtools/hogli/scripts/generate_man_page.py4CODE
LOWtools/hogli/src/hogli/hooks.py9CODE
LOWtools/hogli/src/hogli/lazy_commands.py3CODE
LOWtools/hogli/src/hogli/manifest.py3CODE
LOWtools/hogli/src/hogli/telemetry.py18CODE
LOWtools/hogli/src/hogli/command_types.py3CODE
LOWtools/hogli/src/hogli/validate.py3CODE
LOWtools/hogli/src/hogli/cli.py7CODE
LOWtools/hogli/src/hogli/__main__.py3CODE
LOWtools/hogbox-preview/hogbox_preview/backend.py21CODE
LOWtools/hogbox-preview/hogbox_preview/__init__.py11CODE
LOWtools/hogbox-preview/hogbox_preview/__init__.py11CODE
LOWtools/hogbox-preview/hogbox_preview/__init__.py11CODE
LOWtools/hogbox-preview/hogbox_preview/__init__.py11CODE
LOWtools/hogbox-preview/hogbox_preview/__init__.py12CODE
LOWtools/hogbox-preview/hogbox_preview/__init__.py13CODE
LOWtools/hogbox-preview/hogbox_preview/__init__.py14CODE
LOWtools/hogbox-preview/hogbox_preview/timing.py32CODE
LOWtools/hogbox-preview/hogbox_preview/stack.py34CODE
6022 more matches not shown…
Cross-Language Confusion (JS/TS)820 hits · 4824 pts
SeverityFileLineSnippetContext
HIGHnodejs/bin/migrate-minio-to-seaweedfs.js179 print() {CODE
HIGHnodejs/src/cdp/cdp-e2e.serial.test.ts96 print('Fetch response:', res);CODE
HIGHnodejs/src/cdp/cdp-e2e.serial.test.ts324 print('Fetch response:', res);CODE
HIGHnodejs/src/cdp/cdp-e2e.serial.test.ts464 print('Fetch response:', res);CODE
HIGHnodejs/src/cdp/cdp-e2e.serial.test.ts628 print('Fetch response:', res);CODE
HIGHnodejs/src/cdp/workflows-e2e.serial.test.ts166 print('Fetch result:', res.status);CODE
HIGHnodejs/src/cdp/workflows-e2e.serial.test.ts3019 print('Fetch result:', res.status);CODE
HIGHnodejs/src/cdp/workflows-e2e.serial.test.ts3140 print('Fetch result:', res.status);CODE
HIGHnodejs/src/cdp/cdp-api.serial.test.ts724 print('inspecting', record.service_name)CODE
HIGHnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts165 print('Fetch response:', res);CODE
HIGHnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts358 print('Fetch response:', res);CODE
HIGHnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts509 print('Fetch result:', res.status);CODE
HIGHnodejs/src/cdp/utils/hog-exec.test.ts38 print('I AM FIBONACCI. ')CODE
HIGHnodejs/src/cdp/utils/hog-exec.test.ts45 print(f'fib {fibonacci(64)}');CODE
HIGHnodejs/src/cdp/consumers/cdp-cyclotron-worker.test.ts523 print('I AM FIBONACCI. ')CODE
HIGHnodejs/src/cdp/consumers/cdp-cyclotron-worker.test.ts530 print(f'fib {fibonacci(64)}');`CODE
HIGH…dp/templates/_destinations/webhook/webhook.template.ts21 print('Request', inputs.url, payload)CODE
HIGH…dp/templates/_destinations/webhook/webhook.template.ts31 print('Response', res.status, res.body);CODE
HIGH…rc/cdp/templates/_destinations/close/close.template.ts16 print('No email set. Skipping...')CODE
HIGH…rc/cdp/templates/_destinations/close/close.template.ts76 print('No contact fields to update. Skipping...')CODE
HIGH…rc/cdp/templates/_destinations/unify/unify.template.ts19 print(f'Skipping unsupported event type: {event.event}')CODE
HIGH…/templates/_destinations/google_ads/google.template.ts111 print('No \`gclid\` or user identifiers. Skipping...')CODE
HIGH…hog_customer_analytics/posthog-get-account.template.ts32print(f'Fetched account {inputs.external_id}')CODE
HIGH…_analytics/posthog-update-account-property.template.ts35print(f'Updated custom properties on account {inputs.external_id}')CODE
HIGH…hog_customer_analytics/posthog-tag-account.template.ts38print(f'Tagged account {inputs.external_id}')CODE
HIGH…ytics/posthog-update-account-relationships.template.ts37print(f'Updated relationships on account {inputs.external_id}')CODE
HIGH…_customer_analytics/posthog-update-account.template.ts59print(f'Updated account {inputs.external_id}')CODE
HIGH…_customer_analytics/posthog-create-account.template.ts32 print(f'Account {inputs.external_id} already exists — skipped creation')CODE
HIGH…_customer_analytics/posthog-create-account.template.ts34 print(f'Created account {inputs.external_id}')CODE
HIGH…dp/templates/_destinations/hubspot/hubspot.template.ts29 print('\`companyId\` input is empty. Skipping...')CODE
HIGH…dp/templates/_destinations/hubspot/hubspot.template.ts75 print(f'Successfully created company {data.properties['posthog_group_id']}')CODE
HIGH…dp/templates/_destinations/hubspot/hubspot.template.ts83 print(f'Successfully updated company {data.properties['posthog_group_id']}')CODE
HIGH…/templates/_destinations/openai_ads/openai.template.ts229 print('No \`oppref\`, \`obref\`, \`email\` or \`externalId\` to identify the user with. Skipping...')CODE
HIGH…/templates/_destinations/openai_ads/openai.template.ts280 print('\`amount\` is set but \`currency\` is missing. Skipping both, as OpenAI requires a currency with every amCODE
HIGH…dp/templates/_destinations/appcues/appcues.template.ts17 print('No user ID set. Skipping as a user ID is required.')CODE
HIGH…dp/templates/_destinations/appcues/appcues.template.ts49 print('No profile properties to send. Skipping.')CODE
HIGH…rc/cdp/templates/_destinations/klime/klime.template.ts57 print('No user ID set. Skipping as user ID is required for identify events.')CODE
HIGH…rc/cdp/templates/_destinations/klime/klime.template.ts86 print('No group ID set. Skipping as group ID is required for group events.')CODE
HIGH…ates/_destinations/microsoft_ads/microsoft.template.ts110 print('No \`microsoftClickId\`, \`email\` or \`phone\` to identify the user with. Skipping...')CODE
HIGH…inations/posthog_tasks/posthog-create-task.template.ts67 print(f'Task not created: {apiErrorMessage(response)}')CODE
HIGH…/templates/_destinations/whatsapp/whatsapp.template.ts73 print('Sending WhatsApp message', url, payload)CODE
HIGH…/templates/_destinations/whatsapp/whatsapp.template.ts83 print('WhatsApp message sent', res)CODE
HIGH…/cdp/templates/_destinations/twilio/twilio.template.ts44 print('Sending SMS', url, payload)CODE
HIGH…/cdp/templates/_destinations/twilio/twilio.template.ts55 print('SMS sent', res)CODE
HIGH…emplates/_sources/webhook/incoming_webhook.template.ts15 print('Incoming request:', request.body)CODE
HIGH…emplates/_sources/webhook/incoming_webhook.template.ts28 print('Incoming request denied due to bad authorization header')CODE
HIGH…templates/_sources/vercel/vercel_log_drain.template.ts15 print('Incoming headers:', request.headers)CODE
HIGH…templates/_sources/vercel/vercel_log_drain.template.ts16 print('Incoming body:', request.body)CODE
HIGH…templates/_sources/vercel/vercel_log_drain.template.ts29 print('Denied: bad Authorization header')CODE
HIGH…templates/_sources/vercel/vercel_log_drain.template.ts103 print(f'Warning: Dropped {droppedCount} additional log(s). Hog functions can only emit one event per invocation.')CODE
HIGH…templates/_sources/vercel/vercel_log_drain.template.ts242 print('vercel log drain: custom_template empty, falling back to rotating_salt')CODE
HIGH…templates/_sources/vercel/vercel_log_drain.template.ts258 print('vercel log drain: custom_template substituted to empty, falling back to rotating_salt')CODE
HIGH…ejs/src/cdp/templates/_sources/pixel/pixel.template.ts16 print('Incoming request:', request.query)CODE
HIGH…s/_transformations/url-masking/url-masking.template.ts77 print('Error masking URL parameters:', error)CODE
HIGH…cdp/templates/_transformations/geoip/geoip.template.ts34 print('geoip disabled or no ip.')CODE
HIGH…cdp/templates/_transformations/geoip/geoip.template.ts40 print('spoofing ip for local development', ip)CODE
HIGH…cdp/templates/_transformations/geoip/geoip.template.ts45 print('geoip lookup failed for ip', ip)CODE
HIGH…cdp/templates/_transformations/geoip/geoip.template.ts75print('geoip location data for ip:', location)CODE
HIGH…rmations/ip-anonymization/ip-anonymization.template.ts17 print('No IP address found in event')CODE
HIGH…rmations/ip-anonymization/ip-anonymization.template.ts26 print('Invalid IP address format: wrong number of octets')CODE
760 more matches not shown…
Cross-Language Confusion965 hits · 4660 pts
SeverityFileLineSnippetContext
HIGH…rmance-ai/query_performance_ai/orchestrator/harvest.py31 result = sandbox.execute(f"cat {shlex.quote(path)} 2>/dev/null || true", timeout_seconds=30)CODE
HIGH…rmance-ai/query_performance_ai/orchestrator/harvest.py36 cmd = f"find {shlex.quote(dir_path)} -maxdepth 1 -type f -printf '%f\\n' 2>/dev/null || true"CODE
HIGHtools/hogli/tests/test_command_types.py20 cmd = DirectCommand("test", {"cmd": "echo foo && echo bar"})CODE
HIGHtools/hogli/tests/test_command_types.py27 assert call_args[0][0] == "echo foo && echo bar"CODE
HIGHtools/hogli/tests/test_command_types.py46 cmd = DirectCommand("test", {"cmd": "echo foo && echo bar"})CODE
HIGHtools/hogli/tests/test_command_types.py19 """Test commands with && or || use shell=True."""STRING
HIGHtools/hogli/tests/test_command_types.py19 """Test commands with && or || use shell=True."""STRING
HIGHtools/hogbox-preview/hogbox_preview/backend.py119 inner = f"bash {base}.sh > {log} 2>&1 && touch {done} || touch {fail}"CODE
HIGHtools/hogbox-preview/hogbox_preview/stack.py242 "for _ in $(seq 1 30); do docker info >/dev/null 2>&1 && break; sleep 2; done; "CODE
HIGHtools/hogbox-preview/hogbox_preview/stack.py500 "docker volume rm posthog_postgres-15-data || true"CODE
HIGHtools/hogbox-preview/hogbox_preview/stack.py569 f"ok=0; for _ in 1 2 3; do {register} && ok=1 && break; sleep 10; done; "CODE
HIGHtools/hogbox-preview/hogbox_preview/stack.py612 "rm -rf frontend/dist && mkdir -p frontend/dist staticfiles && "CODE
HIGHtools/hogbox-preview/hogbox_preview/stack.py675probe login GET /login || exit 1CODE
HIGHtools/hogbox-preview/tests/test_hogland_backend.py8 cd tools/hogbox-preview && python -m unittest discover testsSTRING
HIGHtools/hogbox-preview/tests/test_stack_secret_key.py9 cd tools/hogbox-preview && python -m unittest discover testsSTRING
HIGHtools/hogbox-preview/tests/test_deep_health.py18 cd tools/hogbox-preview && python -m unittest discover testsSTRING
HIGHtools/hogbox-preview/tests/test_swap_frontend.py15 cd tools/hogbox-preview && python -m unittest discover testsSTRING
HIGHtools/hogli-commands/hogli_commands/devenv/generator.py367_news=$(curl -sf --max-time 2 '{news_url}' 2>/dev/null || cat {news_local} 2>/dev/null || true)CODE
HIGH…li-commands/hogli_commands/tests/test_workflow_lint.py418 "${{ github.workflow }}-${{ github.event_name == 'push' && github.sha || github.ref }}",CODE
HIGH…li-commands/hogli_commands/tests/test_workflow_lint.py434 "${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.sha || github.ref }}",CODE
HIGH…li-commands/hogli_commands/tests/test_workflow_lint.py308 group: build-${{ github.head_ref || github.ref }}STRING
HIGH…li-commands/hogli_commands/tests/test_workflow_lint.py316 group: test-${{ github.head_ref || github.ref }}STRING
HIGH…li-commands/hogli_commands/tests/test_workflow_lint.py243 concurrency: "${{ github.workflow }}-${{ github.head_ref || github.ref }}"STRING
HIGH…li-commands/hogli_commands/tests/test_workflow_lint.py281 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}STRING
HIGH…li-commands/hogli_commands/tests/test_workflow_lint.py337 group: build-${{ github.head_ref || github.ref }}STRING
HIGH…ols/hogli-commands/hogli_commands/tests/test_devenv.py194 assert result["shell"] == "bin/wait-for-docker && bin/dev-sandbox ./bin/start-backend"CODE
HIGH…ols/hogli-commands/hogli_commands/tests/test_devenv.py202 "shell": "bin/dev-open-when-ready http://localhost:6006 && pnpm install && pnpm run storybook",CODE
HIGH…ols/hogli-commands/hogli_commands/tests/test_devenv.py207 "bin/dev-open-when-ready http://localhost:6006 && bin/dev-sandbox "CODE
HIGH…ols/hogli-commands/hogli_commands/tests/test_devenv.py208 + shlex.quote("pnpm install && pnpm run storybook")CODE
HIGH…ols/hogli-commands/hogli_commands/tests/test_devenv.py215 result = self._wrap({"shell": "echo hi && bin/wait-for-docker && ./server", "sandbox": True})CODE
HIGH…ols/hogli-commands/hogli_commands/tests/test_devenv.py216 assert result["shell"] == "bin/wait-for-docker && bin/dev-sandbox " + shlex.quote("echo hi && ./server")CODE
HIGH…ols/hogli-commands/hogli_commands/tests/test_devenv.py222 result = self._wrap({"shell": "bin/wait-for-docker && bin/wait-for-postgres-tables x", "sandbox": True})CODE
HIGH…ols/hogli-commands/hogli_commands/tests/test_devenv.py224 assert result["shell"] == "bin/wait-for-docker && bin/wait-for-postgres-tables x"CODE
HIGH…ols/hogli-commands/hogli_commands/tests/test_checks.py569 scripts={"backend:test": "pytest -c ../../pytest.ini --rootdir ../.. backend/ -v --tb=short || true"},CODE
HIGH…ols/hogli-commands/hogli_commands/tests/test_checks.py579 scripts={"backend:test": "pytest -c ../../pytest.ini --rootdir ../.. backend/ -v --tb=short || exit 0"},CODE
HIGH…ols/hogli-commands/hogli_commands/tests/test_checks.py632 "backend:test": "pytest -c ../../pytest.ini --rootdir ../.. backend/nonexistent -v --tb=short || true",CODE
HIGHtools/hogli-commands/hogli_commands/devbox/cli.py1693 hogli devbox:exec -n api -- bash -lc 'cd ~/posthog && git status'STRING
HIGH…/hogli_commands/workflow_lint/checks/pr_concurrency.py7 group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}STRING
HIGH…/hogli_commands/workflow_lint/checks/pr_concurrency.py67 " group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n"CODE
HIGH…/hogli_commands/workflow_lint/checks/pr_concurrency.py73 "`github.run_id` fallback: use `github.head_ref || github.ref` instead; run_id is unique\n"CODE
HIGH…/hogli_commands/workflow_lint/checks/pr_concurrency.py78 " group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.sha || github.head_ref || githuCODE
HIGH…/hogli_commands/workflow_lint/checks/pr_concurrency.py105 "concurrency group uses `github.head_ref || github.run_id`; use "CODE
HIGH…/hogli_commands/workflow_lint/checks/pr_concurrency.py106 "`github.head_ref || github.ref` so push runs deduplicate"CODE
HIGHtools/owners/posthog_owners/fmt.py514 # (a non-empty list, or explicit null); owners: [] with no rules is a no-op.COMMENT
HIGHtools/owners/posthog_owners/cli.py56 click.echo("owners: (unowned by design — explicit owners: null)")CODE
HIGHtools/traffic-sim/cli.py63 let snippetLocation = null;CODE
HIGHtools/traffic-sim/cli.py67 snippetLocation = s.parentElement ? s.parentElement.tagName.toLowerCase() : null;CODE
HIGHtools/traffic-sim/cli.py71 let initConfig = null;CODE
HIGHtools/traffic-sim/cli.py81 api_host: p.api_host || null,CODE
HIGHtools/traffic-sim/cli.py81 api_host: p.api_host || null,CODE
HIGHtools/traffic-sim/cli.py82 person_profiles: p.person_profiles || null,CODE
HIGHtools/traffic-sim/cli.py82 person_profiles: p.person_profiles || null,CODE
HIGHtools/traffic-sim/cli.py90 if (!initConfig && window.posthog && window.posthog.config) {CODE
HIGHtools/traffic-sim/cli.py93 api_key: c.token || null,CODE
HIGHtools/traffic-sim/cli.py93 api_key: c.token || null,CODE
HIGHtools/traffic-sim/cli.py94 api_host: c.api_host || null,CODE
HIGHtools/traffic-sim/cli.py94 api_host: c.api_host || null,CODE
HIGHtools/traffic-sim/cli.py95 person_profiles: c.person_profiles || null,CODE
HIGHtools/traffic-sim/cli.py95 person_profiles: c.person_profiles || null,CODE
HIGHtools/traffic-sim/cli.py98 const arrScript = posthogScripts.find(s => s.src && s.src.includes('array'));CODE
905 more matches not shown…
Cross-File Repetition653 hits · 3265 pts
SeverityFileLineSnippetContext
HIGH…s/hogli-commands/hogli_commands/product_structure.yaml0django models for stamphog. keep models thin — business logic belongs in logic/. use types from facade/enums.py where apSTRING
HIGHproducts/wizard/backend/models.py0django models for stamphog. keep models thin — business logic belongs in logic/. use types from facade/enums.py where apSTRING
HIGHproducts/stamphog/backend/models.py0django models for stamphog. keep models thin — business logic belongs in logic/. use types from facade/enums.py where apSTRING
HIGH…s/hogli-commands/hogli_commands/product_structure.yaml0celery tasks for access_control. async entrypoints that call the facade (facade/api.py). keep task functions thin - onlySTRING
HIGHproducts/metrics/backend/tasks/tasks.py0celery tasks for access_control. async entrypoints that call the facade (facade/api.py). keep task functions thin - onlySTRING
HIGHproducts/tracing/backend/tasks/tasks.py0celery tasks for access_control. async entrypoints that call the facade (facade/api.py). keep task functions thin - onlySTRING
HIGHproducts/apm/backend/tasks/tasks.py0celery tasks for access_control. async entrypoints that call the facade (facade/api.py). keep task functions thin - onlySTRING
HIGHproducts/data_catalog/backend/tasks/tasks.py0celery tasks for access_control. async entrypoints that call the facade (facade/api.py). keep task functions thin - onlySTRING
HIGHproducts/access_control/backend/tasks/tasks.py0celery tasks for access_control. async entrypoints that call the facade (facade/api.py). keep task functions thin - onlySTRING
HIGH…s/hogli-commands/hogli_commands/product_structure.yaml0contract types for stamphog. frozen dataclasses that define what this product exposes. no django imports. used by facadeSTRING
HIGHproducts/apm/backend/facade/contracts.py0contract types for stamphog. frozen dataclasses that define what this product exposes. no django imports. used by facadeSTRING
HIGHproducts/stamphog/backend/facade/contracts.py0contract types for stamphog. frozen dataclasses that define what this product exposes. no django imports. used by facadeSTRING
HIGH…s/hogli-commands/hogli_commands/product_structure.yaml0exported enums for stamphog. if an enum appears in a contract dataclass field, it belongs here. internal-only constants STRING
HIGHproducts/apm/backend/facade/enums.py0exported enums for stamphog. if an enum appears in a contract dataclass field, it belongs here. internal-only constants STRING
HIGHproducts/wizard/backend/facade/enums.py0exported enums for stamphog. if an enum appears in a contract dataclass field, it belongs here. internal-only constants STRING
HIGHproducts/stamphog/backend/facade/enums.py0exported enums for stamphog. if an enum appears in a contract dataclass field, it belongs here. internal-only constants STRING
HIGH…s/hogli-commands/hogli_commands/product_structure.yaml0drf views for stamphog. validate json via serializers, call facade methods, return serialized responses. no business logSTRING
HIGHproducts/apm/backend/presentation/views.py0drf views for stamphog. validate json via serializers, call facade methods, return serialized responses. no business logSTRING
HIGHproducts/stamphog/backend/presentation/views.py0drf views for stamphog. validate json via serializers, call facade methods, return serialized responses. no business logSTRING
HIGH…ch_exports/backend/temporal/pipeline/internal_stage.py0delete all objects in bucket_name under key_prefix.STRING
HIGH…ducts/batch_exports/backend/tests/temporal/utils/s3.py0delete all objects in bucket_name under key_prefix.STRING
HIGHproducts/batch_exports/backend/tests/api/test_test.py0delete all objects in bucket_name under key_prefix.STRING
HIGH…poral/data_imports/tests/e2e/test_external_data_job.py0delete all objects in bucket_name under key_prefix.STRING
HIGH…rts/backend/temporal/destinations/http_batch_export.py0a temporal workflow to export clickhouse data into bigquery. this workflow is intended to be executed both manually and STRING
HIGH…ackend/temporal/destinations/snowflake_batch_export.py0a temporal workflow to export clickhouse data into bigquery. this workflow is intended to be executed both manually and STRING
HIGH…backend/temporal/destinations/redshift_batch_export.py0a temporal workflow to export clickhouse data into bigquery. this workflow is intended to be executed both manually and STRING
HIGH…backend/temporal/destinations/postgres_batch_export.py0a temporal workflow to export clickhouse data into bigquery. this workflow is intended to be executed both manually and STRING
HIGH…ckend/temporal/destinations/databricks_batch_export.py0a temporal workflow to export clickhouse data into bigquery. this workflow is intended to be executed both manually and STRING
HIGH…backend/temporal/destinations/bigquery_batch_export.py0a temporal workflow to export clickhouse data into bigquery. this workflow is intended to be executed both manually and STRING
HIGH…ducts/batch_exports/backend/tests/temporal/conftest.py0fixture to manage a database for redshift export testing. managing a test database involves the following steps: 1. creaSTRING
HIGH…oducts/warehouse_sources/backend/tests/api/conftest.py0fixture to manage a database for redshift export testing. managing a test database involves the following steps: 1. creaSTRING
HIGHposthog/temporal/tests/conftest.py0fixture to manage a database for redshift export testing. managing a test database involves the following steps: 1. creaSTRING
HIGH…atch_exports/backend/tests/temporal/test_monitoring.py0provide a batch export for tests, not intended to be used.STRING
HIGH…orts/backend/tests/temporal/test_batch_export_utils.py0provide a batch export for tests, not intended to be used.STRING
HIGH…rts/backend/tests/temporal/pipeline/test_entrypoint.py0provide a batch export for tests, not intended to be used.STRING
HIGH…rts/backend/tests/temporal/destinations/s3/conftest.py0manage an s3 client to interact with a local object storage bucket. yields the client after creating a bucket. upon resuSTRING
HIGH…/temporal/destinations/redshift/test_redshift_utils.py0manage an s3 client to interact with a local object storage bucket. yields the client after creating a bucket. upon resuSTRING
HIGHproducts/batch_exports/backend/tests/api/test_test.py0manage an s3 client to interact with a local object storage bucket. yields the client after creating a bucket. upon resuSTRING
HIGH…sts/api/destination_tests/test_s3_destination_tests.py0manage an s3 client to interact with a local object storage bucket. yields the client after creating a bucket. upon resuSTRING
HIGH…inations/s3/test_workflow_with_local_object_storage.py0test a `postgresbatchexportworkflow` backfilling the persons model. we expect persons outside the batch interval to alsoSTRING
HIGH…/tests/temporal/destinations/bigquery/test_workflow.py0test a `postgresbatchexportworkflow` backfilling the persons model. we expect persons outside the batch interval to alsoSTRING
HIGH…s/temporal/destinations/snowflake/test_workflow_e2e.py0test a `postgresbatchexportworkflow` backfilling the persons model. we expect persons outside the batch interval to alsoSTRING
HIGH…/tests/temporal/destinations/postgres/test_workflow.py0test a `postgresbatchexportworkflow` backfilling the persons model. we expect persons outside the batch interval to alsoSTRING
HIGH…inations/s3/test_workflow_with_local_object_storage.py0test postgres export workflow end-to-end without any events to export. the workflow should update the batch export run sSTRING
HIGH…/tests/temporal/destinations/bigquery/test_workflow.py0test postgres export workflow end-to-end without any events to export. the workflow should update the batch export run sSTRING
HIGH…/tests/temporal/destinations/postgres/test_workflow.py0test postgres export workflow end-to-end without any events to export. the workflow should update the batch export run sSTRING
HIGH…ckend/tests/temporal/destinations/bigquery/conftest.py0return a bigquery configuration dictionary to use in tests.STRING
HIGHproducts/batch_exports/backend/tests/api/test_test.py0return a bigquery configuration dictionary to use in tests.STRING
HIGH…i/destination_tests/test_bigquery_destination_tests.py0return a bigquery configuration dictionary to use in tests.STRING
HIGH…emporal/data_imports/tests/e2e/test_bigquery_source.py0return a bigquery configuration dictionary to use in tests.STRING
HIGH…ckend/tests/temporal/destinations/bigquery/conftest.py0manage a bigquery view for testing. we clean up the view after every test. could be quite time expensive, but guaranteesSTRING
HIGH…i/destination_tests/test_bigquery_destination_tests.py0manage a bigquery view for testing. we clean up the view after every test. could be quite time expensive, but guaranteesSTRING
HIGH…emporal/data_imports/tests/e2e/test_bigquery_source.py0manage a bigquery view for testing. we clean up the view after every test. could be quite time expensive, but guaranteesSTRING
HIGH…/tests/temporal/destinations/bigquery/test_activity.py0test that the `insert_into_postgres_activity_from_stage` merges new versions of rows. this unit tests looks at the mutabSTRING
HIGH…s/temporal/destinations/snowflake/test_activity_e2e.py0test that the `insert_into_postgres_activity_from_stage` merges new versions of rows. this unit tests looks at the mutabSTRING
HIGH…/tests/temporal/destinations/redshift/test_activity.py0test that the `insert_into_postgres_activity_from_stage` merges new versions of rows. this unit tests looks at the mutabSTRING
HIGH…s/temporal/destinations/redshift/test_copy_activity.py0test that the `insert_into_postgres_activity_from_stage` merges new versions of rows. this unit tests looks at the mutabSTRING
HIGH…/tests/temporal/destinations/postgres/test_activity.py0test that the `insert_into_postgres_activity_from_stage` merges new versions of rows. this unit tests looks at the mutabSTRING
HIGH…/tests/temporal/destinations/bigquery/test_activity.py0test that the `insert_into_postgres_activity_from_stage` handles changes to the person schema. if we update the schema oSTRING
HIGH…s/temporal/destinations/snowflake/test_activity_e2e.py0test that the `insert_into_postgres_activity_from_stage` handles changes to the person schema. if we update the schema oSTRING
593 more matches not shown…
Over-Commented Block3001 hits · 2848 pts
SeverityFileLineSnippetContext
LOWotel-collector-config.dev.yaml61 scrape_interval: 15sCOMMENT
LOWconftest.py21 # Deliberately no gc.collect() before the freeze: sweeping the boot garbageCOMMENT
LOWpytest.ini1[pytest]COMMENT
LOWdocker-compose.multinode-clickhouse.yml1#COMMENT
LOWdocker-compose.dev.yml1#COMMENT
LOWdocker-compose.sandbox.yml1#COMMENT
LOWdocker-compose.base.yml241 image: provectuslabs/kafka-ui:latestCOMMENT
LOWdocker-compose.base.yml261 # Pin >= 4.05: that's the first release that persists Content-Encoding metadataCOMMENT
LOWdocker-compose.profiles.yml1# Docker Compose profile overlay — historical backwards-compatibility layer.COMMENT
LOW…analytics-platform/dashboard-key-metrics/dashboards.tf1# =============================================================================COMMENT
LOW…eam-analytics-platform/dashboard-key-metrics/alerts.tf1# =============================================================================COMMENT
LOWnodejs/jest.setup-env.ts1import { mkdirSync, readFileSync, writeFileSync } from 'fs'COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts1821 // const user1DistinctId = 'user1-distinct-id'COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts1841 // $set: {COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts1861 // $set: {COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts1881 // })COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts1901 // const personsClickhouse = await fetchPersons(team.id)COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts1921 // const distinctIdsPersons = await fetchDistinctIds(infra.postgres, {COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts1941 // // User 1 creationCOMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts1961 // // User 2 creationCOMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts1981COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts2001 // await ingester.handleKafkaBatch(createKafkaMessages(events, token))COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts2021 // name: 'User 1',COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts2041 // expect(distinctIdsPersons.length).toBe(3)COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts2061 // $set: {COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts2081 // .withProperties({COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts2101 // .withProperties({COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts2121 // await waitForExpect(async () => {COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts2141 // age: 30,COMMENT
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts2721 )COMMENT
LOWnodejs/src/cdp/types.ts381 // group key, not a person distinct_id. The worker must trust this over the live trigger config,COMMENT
LOWnodejs/src/cdp/types.ts421 // UUID of the exact event that triggered the wake, so the logs view can link toCOMMENT
LOWnodejs/src/cdp/types.ts441 // - `executeCurrentAction` on the same next dequeue: skips the "Executing action..."COMMENT
LOWnodejs/src/cdp/workflows-e2e.serial.test.ts381 // is absent, so fixtures must supply it the same way Django would on save.COMMENT
LOWnodejs/src/cdp/workflows-e2e.serial.test.ts3241 // Each routed action runs across two dequeues but only the "real" execution should log.COMMENT
LOWnodejs/src/cdp/workflows-e2e.serial.test.ts3641COMMENT
LOWnodejs/src/cdp/config.ts161 // janitor_touch_count. The first stall retries within seconds (so a transientCOMMENT
LOWnodejs/src/cdp/config.ts281 HOG_FUNCTION_MONITORING_LOG_ENTRIES_PRODUCER: WARPSTREAM_INGESTION_PRODUCER,COMMENT
LOWnodejs/src/cdp/config.ts361 CYCLOTRON_NODE_RESCHEDULE_MAX_CHUNKS_PER_CALL: 20,COMMENT
LOWnodejs/src/cdp/rerun/rerun-e2e.serial.test.ts341 // On the rerun path the paginator strips globals.person; the workerCOMMENT
LOW…js/src/cdp/consumers/cdp-cohort-membership.consumer.ts561 size: messages.length,COMMENT
LOW…cdp/consumers/cdp-cyclotron-worker-hogflow.consumer.ts121 // rather than relying on event.distinct_id being empty so future changes to theCOMMENT
LOW…consumers/cdp-hogflow-subscription-matcher.consumer.ts401 distinctIds: string[],COMMENT
LOWnodejs/src/cdp/services/self-loop-guard.ts1import { Counter } from 'prom-client'COMMENT
LOWnodejs/src/cdp/services/cyclotron-v2/janitor.ts421COMMENT
LOW…ejs/src/cdp/services/cyclotron-v2/cyclotron-v2.test.ts1881 }COMMENT
LOW…/services/monitoring/hog-invocation-results.service.ts81COMMENT
LOW…/services/monitoring/hog-invocation-results.service.ts101// matters.)COMMENT
LOW…rc/cdp/services/messaging/push-notification.service.ts321 // No business metric or VM-state push here — the eventual terminal attempt reports the outcome.COMMENT
LOW…src/cdp/services/messaging/email-validation.service.ts21})COMMENT
LOWnodejs/src/cdp/services/messaging/email.service.ts301 // Like suppression, the tracking decision lives at this choke point so every send pathCOMMENT
LOWnodejs/src/cdp/services/messaging/email.service.ts741 FeedbackForwardingEmailAddress: from.email,COMMENT
LOW…s/src/cdp/services/messaging/message-assets.service.ts61const wrapPlainTextAsHtml = (text: string): string => {COMMENT
LOWnodejs/src/ingestion/ingestion-consumer.serial.test.ts981 // event: '$$heatmap',COMMENT
LOWnodejs/src/ingestion/config.ts121 // (idle worker capacity) or the worker stalls stream reads at capacity.COMMENT
LOWnodejs/src/ingestion/config.ts181 PERSON_MERGE_EVENTS_TEAM_ALLOWLIST: stringCOMMENT
LOW…estion/pipelines/sessionreplay/shared/outputs/index.ts21// deployment produces to it. The key is the domain and not the ref, because the fetcher controlsCOMMENT
LOW…s/src/ingestion/pipelines/ai/costs/input-costs.test.ts1361 $ai_audio_input_tokens: 100,COMMENT
LOWnodejs/src/ingestion/pipelines/ai/costs/input-costs.ts161 const audioInputTokens = numericProperty(event, '$ai_audio_input_tokens')COMMENT
LOW…ion/pipelines/errortracking/error-tracking-pipeline.ts181 // events. Must run as a batch and before any step that depends onCOMMENT
2941 more matches not shown…
Deep Nesting2165 hits · 1876 pts
SeverityFileLineSnippetContext
LOWtools/test_selection_verdict.py47CODE
LOWtools/test_selection_verdict.py156CODE
LOWtools/snob_backend_test_selection_shadow.py194CODE
LOWtools/snob_backend_test_selection_shadow.py424CODE
LOWtools/playwright_spec_selection.py167CODE
LOW…ai/sandboxed_autoresearch_agent/driver/run_campaign.py201CODE
LOW…e_ai/sandboxed_autoresearch_agent/driver/sandboxing.py78CODE
LOW…ce-ai/query_performance_ai/orchestrator/coordinator.py195CODE
LOW…ce-ai/query_performance_ai/orchestrator/coordinator.py637CODE
LOWtools/infra-scripts/clitools/test_toolbox.py986CODE
LOWtools/infra-scripts/clitools/test_toolbox.py1365CODE
LOWtools/infra-scripts/clitools/test_toolbox.py994CODE
LOWtools/infra-scripts/clitools/toolbox.py62CODE
LOWtools/infra-scripts/clitools/toolbox/pod.py28CODE
LOWtools/infra-scripts/clitools/toolbox/pod.py141CODE
LOWtools/infra-scripts/clitools/toolbox/kubernetes.py257CODE
LOWtools/hogli/src/hogli/command_types.py337CODE
LOWtools/hogli/src/hogli/command_types.py402CODE
LOWtools/hogli/src/hogli/cli.py295CODE
LOWtools/hogli/src/hogli/cli.py520CODE
LOWtools/hogli-commands/hogli_commands/metabase.py70CODE
LOWtools/hogli-commands/hogli_commands/metabase.py191CODE
LOWtools/hogli-commands/hogli_commands/db_schema.py314CODE
LOWtools/hogli-commands/hogli_commands/db_schema.py360CODE
LOWtools/hogli-commands/hogli_commands/test_runner.py67CODE
LOWtools/hogli-commands/hogli_commands/test_runner.py436CODE
LOWtools/hogli-commands/hogli_commands/test_runner.py596CODE
LOWtools/hogli-commands/hogli_commands/test_runner.py631CODE
LOWtools/hogli-commands/hogli_commands/migrations.py115CODE
LOWtools/hogli-commands/hogli_commands/migrations.py521CODE
LOWtools/hogli-commands/hogli_commands/migrations.py564CODE
LOWtools/hogli-commands/hogli_commands/migrations.py698CODE
LOWtools/hogli-commands/hogli_commands/doctor.py312CODE
LOWtools/hogli-commands/hogli_commands/doctor.py785CODE
LOWtools/hogli-commands/hogli_commands/doctor.py933CODE
LOWtools/hogli-commands/hogli_commands/doctor.py1468CODE
LOWtools/hogli-commands/hogli_commands/doctor.py2170CODE
LOWtools/hogli-commands/hogli_commands/prechecks.py15CODE
LOWtools/hogli-commands/hogli_commands/worktrees.py460CODE
LOWtools/hogli-commands/hogli_commands/worktrees.py750CODE
LOWtools/hogli-commands/hogli_commands/devenv/wizard.py148CODE
LOWtools/hogli-commands/hogli_commands/devenv/generator.py648CODE
LOWtools/hogli-commands/hogli_commands/devenv/generator.py232CODE
LOW…gli-commands/hogli_commands/tests/test_posthog_auth.py419CODE
LOW…ols/hogli-commands/hogli_commands/product/isolation.py675CODE
LOWtools/hogli-commands/hogli_commands/product/checks.py199CODE
LOWtools/hogli-commands/hogli_commands/product/checks.py467CODE
LOWtools/hogli-commands/hogli_commands/product/checks.py497CODE
LOW…s/hogli-commands/hogli_commands/product/ast_helpers.py38CODE
LOW…s/hogli-commands/hogli_commands/product/ast_helpers.py234CODE
LOW…s/hogli-commands/hogli_commands/product/ast_helpers.py250CODE
LOW…s/hogli-commands/hogli_commands/product/ast_helpers.py290CODE
LOW…s/hogli-commands/hogli_commands/product/ast_helpers.py327CODE
LOW…s/hogli-commands/hogli_commands/product/ast_helpers.py390CODE
LOWtools/hogli-commands/hogli_commands/product/isolate.py79CODE
LOWtools/hogli-commands/hogli_commands/product/isolate.py154CODE
LOWtools/hogli-commands/hogli_commands/product/isolate.py270CODE
LOWtools/hogli-commands/hogli_commands/product/isolate.py391CODE
LOW…ols/hogli-commands/hogli_commands/product/crossings.py397CODE
LOW…ols/hogli-commands/hogli_commands/product/crossings.py444CODE
2105 more matches not shown…
Hallucination Indicators180 hits · 1795 pts
SeverityFileLineSnippetContext
CRITICALnodejs/src/cdp/services/messaging/email.service.test.ts1023 const trackingHeader = sentCommand.input.Content.Simple.Headers.find(CODE
CRITICALnodejs/src/cdp/services/messaging/email.service.test.ts1053 const headerNames = sentCommand.input.Content.Simple.Headers.map((h: { Name: string }) => h.Name)CODE
CRITICAL…ion/pipelines/sessionreplay/parse-message-step.test.ts451 expect(result.value.parsedMessage.eventsRange.start.toMillis()).toBe(fixedTimeMs)CODE
CRITICAL…ion/pipelines/sessionreplay/parse-message-step.test.ts452 expect(result.value.parsedMessage.eventsRange.end.toMillis()).toBe(fixedTimeMs + 5000)CODE
CRITICAL…ion/pipelines/sessionreplay/parse-message-step.test.ts527 expect(result.value.parsedMessage.eventsRange.start.toMillis()).toBe(sixDaysInPast)CODE
CRITICAL…ion/pipelines/sessionreplay/parse-message-step.test.ts528 expect(result.value.parsedMessage.eventsRange.end.toMillis()).toBe(sixDaysInFuture)CODE
CRITICALnodejs/src/common/temporal/codec.ts119 data: this.encrypt(temporal.api.common.v1.Payload.encode(p).finish()),CODE
CRITICALnodejs/src/common/temporal/codec.ts131 return temporal.api.common.v1.Payload.decode(decrypted)CODE
CRITICAL…/hogli-commands/hogli_commands/tests/test_crossings.py116 "import products.alerts.backend.models.alert\nqs = products.alerts.backend.models.alert.AlertConfiguration.oCODE
CRITICAL…/hogli-commands/hogli_commands/tests/test_crossings.py62 ("a = AlertConfiguration._meta.concrete_model._meta.model.objects.create(team=t)", ["write(create)"]),CODE
CRITICALproducts/mcp_store/backend/presentation/agent_views.py20from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALproducts/mcp_store/backend/presentation/views.py14from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALproducts/slack_app/backend/slack_link_unfurl.py9from django.core.exceptions import ValidationErrorCODE
CRITICAL…lack_app/backend/tests/services/test_slack_settings.py6from django.core.exceptions import ValidationErrorCODE
CRITICAL…lack_app/backend/tests/services/test_slack_app_home.py22from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/slack_app/backend/services/slack_app_home.py24from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/slack_app/backend/services/slack_settings.py157 from django.core.exceptions import ValidationErrorCODE
CRITICAL…ckend/temporal/destinations/azure_blob_batch_export.py7from azure.core.exceptions import HttpResponseErrorCODE
CRITICAL…/destinations/azure_blob/test_workflow_error_states.py9from azure.core.exceptions import ClientAuthenticationError, ResourceNotFoundErrorCODE
CRITICAL…ch_exports/backend/api/destination_tests/azure_blob.py37 from azure.core.exceptions import ClientAuthenticationError, ResourceNotFoundError, ServiceRequestErrorCODE
CRITICALproducts/cdp/backend/models/hook.py3from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/cdp/backend/api/hooks.py4from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/feature_flags/backend/models/feature_flag.py6from django.core.exceptions import ValidationErrorCODE
CRITICAL…analytics/backend/tests/test_failure_classification.py84 mock_openai_cls.return_value.chat.completions.create.assert_not_called()CODE
CRITICAL…ics/backend/models/marketing_analytics_goal_mapping.py1from django.core.exceptions import ValidationErrorCODE
CRITICAL…ckend/hogql_queries/test_marketing_analytics_config.py4from django.core.exceptions import ValidationErrorCODE
CRITICAL…alytics/backend/hogql_queries/adapters/test_factory.py7from django.core.exceptions import ValidationErrorCODE
CRITICAL…/backend/hogql_queries/error_tracking_query_builder.py4from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/tasks/backend/models.py22from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/tasks/backend/temporal/process_task/utils.py10from django.core.exceptions import ValidationErrorCODE
CRITICAL…k/activities/tests/test_get_task_processing_context.py6from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/tasks/backend/tests/test_models.py9from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/tasks/backend/tests/test_model_selection.py3from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/tasks/backend/logic/services/peer_messages.py35from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICAL…ducts/tasks/backend/logic/services/comment_activity.py5from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALproducts/tasks/backend/logic/services/network_policy.py7from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/tasks/backend/logic/services/agentsh.py8from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/tasks/backend/facade/api.py31from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALproducts/user_interviews/backend/max_tools.py5from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICALproducts/user_interviews/backend/presentation/views.py8from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICAL…backend/hogql_queries/experiment_mean_query_builder.py211 events_join_key_parts = cast(list[str | int], self._b.metric.source.events_join_key.split("."))STRING
CRITICAL…/backend/management/commands/reingest_signal_report.py5from django.core.exceptions import ValidationErrorCODE
CRITICAL…tics/backend/hogql_queries/paths/paths_query_runner.py730 table.select_from.table.select_from.table.select.extend( # type: ignore[union-attr]CODE
CRITICALproducts/pulse/backend/models.py1from django.core.exceptions import ValidationErrorCODE
CRITICALproducts/pulse/backend/test/test_models.py6from django.core.exceptions import ValidationErrorCODE
CRITICAL…2026-07-reviewer-model-glm52/runs/A-sonnet5-xhigh-3.md223- **Suggestion:** Before creating the ReviewRun, have `process_inbox_pr_review` independently re-verify the self-drivingCODE
CRITICAL…reviewer-model-glm52/runs/A-sonnet5-xhigh-1-tainted.md275- **Suggestion:** Before creating the `ReviewRun` in `process_inbox_pr_review`, cross-validate the caller's claim againsCODE
CRITICAL…ew_hog/eval/experiments/2026-07-resolution-e2e/PLAN.md96 `products.review_hog.backend.temporal.resolution._installation_auth(team_id, "PostHog/posthog")`), callCODE
CRITICALproducts/workflows/backend/api/hog_flow.py14from django.core.exceptions import ValidationError as DjangoValidationErrorCODE
CRITICAL…es/ui/src/features/sessions/sessionServiceHost.test.ts8230 const onData = mockTrpcAgent.onSessionEvent.subscribe.mock.calls.at(CODE
CRITICAL…es/ui/src/features/sessions/sessionServiceHost.test.ts8321 const onData = mockTrpcAgent.onSessionEvent.subscribe.mock.calls.at(CODE
CRITICAL…es/ui/src/features/sessions/sessionServiceHost.test.ts8534 const onData = mockTrpcAgent.onSessionEvent.subscribe.mock.calls.at(CODE
CRITICAL…/src/features/message-editor/tiptap/useTiptapEditor.ts100 const chipNode = view.state.schema.nodes.mentionChip.create({CODE
CRITICAL…s/desktop/packages/core/src/sessions/sessionService.ts2012 this.d.trpc.workspace.verify.query({ taskId }),CODE
CRITICAL…s/desktop/packages/core/src/sessions/sessionService.ts2290 const result = await this.d.trpc.agent.reconnect.mutate({CODE
CRITICAL…s/desktop/packages/core/src/sessions/sessionService.ts2409 await this.d.trpc.agent.cancel.mutate({ sessionId: taskRunId });CODE
CRITICAL…s/desktop/packages/core/src/sessions/sessionService.ts2653 const result = await this.d.trpc.agent.start.mutate({CODE
CRITICAL…s/desktop/packages/core/src/sessions/sessionService.ts3085 const eventSubscription = this.d.trpc.agent.onSessionEvent.subscribe(CODE
CRITICAL…s/desktop/packages/core/src/sessions/sessionService.ts3125 this.d.trpc.agent.onPermissionRequest.subscribe(CODE
CRITICAL…s/desktop/packages/core/src/sessions/sessionService.ts4273 return this.d.trpc.agent.prompt.mutate({CODE
120 more matches not shown…
Modern Structural Boilerplate1558 hits · 1657 pts
SeverityFileLineSnippetContext
LOWtools/hogli/src/hogli/telemetry.py158 def set_enabled(self, enabled: bool) -> None:CODE
LOWtools/hogli/src/hogli/telemetry.py300def set_enabled(enabled: bool) -> None:CODE
LOWtools/hogbox-preview/hogbox_preview/__init__.py16__all__ = [CODE
LOWtools/hogli-commands/hogli_commands/devenv/__init__.py25__all__ = [CODE
LOWtools/hogli-commands/hogli_commands/product/__init__.py7__all__ = [CODE
LOWtools/hogli-commands/hogli_commands/devbox/coder.py1508def update_workspace_parameters(name: str, parameters: dict[str, str]) -> None:CODE
LOW…s/hogli-commands/hogli_commands/workflow_lint/check.py62__all__ = ["CheckResult", "Issue", "WorkflowCheck"]CODE
LOW…s/hogli-commands/hogli_commands/workflow_lint/model.py206__all__ = [CODE
LOW…mmands/hogli_commands/workflow_lint/checks/__init__.py64__all__ = ["CHECKS", "get_check"]CODE
LOWtools/owners/posthog_owners/__init__.py6__all__ = [CODE
LOWtools/traffic-sim/cli.py333async def _set_browserstack_status(page: Page, passed: bool, reason: str = "") -> None:CODE
LOWproducts/managed_migrations/backend/models/__init__.py3__all__ = [CODE
LOWproducts/demo/backend/logic/products/__init__.py4__all__ = ["HedgeboxMatrix", "SpikeGPTMatrix"]CODE
LOWproducts/demo/backend/logic/products/hedgebox/matrix.py1796 def _set_up_demo_oauth_application(self, team: "Team", user: "User") -> None:CODE
LOWproducts/demo/backend/logic/products/hedgebox/matrix.py1602 def _set_up_file_engagement_experiment(self, team: "Team", user: "User", flag: FeatureFlag) -> None:CODE
LOWproducts/demo/backend/logic/products/hedgebox/matrix.py1836 def _set_up_error_tracking_demo_data(self, team: "Team") -> None:CODE
LOW…ducts/demo/backend/logic/products/hedgebox/__init__.py19__all__ = ["HedgeboxMatrix"]CODE
LOW…ducts/demo/backend/logic/products/spikegpt/__init__.py5__all__ = ["SpikeGPTMatrix"]CODE
LOWproducts/demo/backend/logic/matrix/__init__.py5__all__ = ["Matrix", "MatrixManager"]CODE
LOWproducts/demo/backend/facade/api.py59__all__ = [CODE
LOWproducts/mcp_store/backend/catalog_sync.py111def _update_template(template: MCPServerTemplate, entry: CatalogEntry, counts: SyncCounts) -> None:CODE
LOWproducts/mcp_store/backend/admin.py12logger = logging.getLogger(__name__)CODE
LOWproducts/mcp_store/backend/tasks/__init__.py4__all__ = ["sync_installation_tools_task"]CODE
LOWproducts/slack_app/backend/inbox_channel.py41def _set_team_channel(team_id: int, value: str) -> None:CODE
LOWproducts/slack_app/backend/slack_thread.py305 def update_reaction(self, emoji: str) -> None:CODE
LOW…p/backend/tests/test_channel_approval_interactivity.py113 def _set_signing_secret(self, mock_slack_cls: Any) -> None:CODE
LOWproducts/slack_app/backend/tests/helpers.py3__all__ = ["sign_slack_request"]CODE
LOW…slack_app/backend/tests/test_thread_message_routing.py470 def _set_creator_mode(self, mode: str | None) -> None:CODE
LOW…ervices/slack_messages/test_collect_thread_messages.py330 def _set_thread(self, messages: list[dict]) -> None:CODE
LOWproducts/slack_app/backend/facade/run_preferences.py23__all__ = [CODE
LOWproducts/slack_app/backend/facade/slack_settings.py15__all__ = [CODE
LOWproducts/slack_app/backend/views/__init__.py11__all__ = ["slack_app_command_handler", "slack_user_link_authorize", "slack_user_link_callback"]CODE
LOWproducts/slack_app/backend/services/run_preferences.py186__all__ = [CODE
LOWproducts/slack_app/backend/services/model_catalogue.py58__all__ = [CODE
LOWproducts/slack_app/backend/services/slack_settings.py178__all__ = [CODE
LOWproducts/metrics/backend/facade/queries.py11__all__ = ["MetricsQueryRunner"]CODE
LOWproducts/metrics/backend/facade/testing.py10__all__ = ["seed_metric"]CODE
LOWproducts/metrics/backend/presentation/api.py51__all__ = ["MetricsViewSet"]CODE
LOWproducts/batch_exports/backend/temporal/queue.py71 def set_schema(self, record_batch: pa.RecordBatch) -> None:CODE
LOWproducts/batch_exports/backend/temporal/__init__.py18__all__ = ["ACTIVITIES", "WORKFLOWS"]CODE
LOW…atch_exports/backend/temporal/backfill_batch_export.py136async def update_batch_export_backfill_model(inputs: UpdateBatchExportBackfillInputs) -> None:CODE
LOW…ts/batch_exports/backend/temporal/pipeline/consumer.py158 def _set_stage_attribution_span_attributes(self, span: trace.Span, elapsed: float) -> None:CODE
LOWproducts/batch_exports/backend/facade/models.py9__all__ = ["BatchExportRun"]CODE
LOWproducts/batch_exports/backend/models/__init__.py12__all__ = [CODE
LOWproducts/batch_exports/backend/debug/debugger.py182 def set_batch_export_from_loaded(self, batch_export: BatchExport | str | int | uuid.UUID | None = None) -> None:CODE
LOWproducts/cdp/backend/tasks/__init__.py3__all__ = ["hog_functions"]CODE
LOWproducts/cdp/backend/facade/models.py9__all__ = ["HogFunction", "HogFunctionState", "HogFunctionType"]CODE
LOWproducts/cdp/backend/models/__init__.py16__all__ = [CODE
LOWproducts/cdp/backend/models/hog_functions/__init__.py4__all__ = ["HogFunction", "HogFunctionRevision", "HogFunctionState"]CODE
LOW…ducts/feature_flags/backend/session_recording_links.py80def update_linked_flag_key(team: Team, expected_flag_id: int, new_key: str) -> None:CODE
LOWproducts/feature_flags/backend/tasks.py51def update_team_flags_cache(team_id: int) -> None:CODE
LOWproducts/feature_flags/backend/tasks.py95def update_team_service_flags_cache(team_id: int) -> None:CODE
LOWproducts/feature_flags/backend/tasks.py319def _set_ranked_team_gauge(gauge: Gauge, rows: list[dict], value_key: str) -> None:CODE
LOWproducts/feature_flags/backend/models/__init__.py7__all__ = [CODE
LOW…ture_flags/backend/models/team_feature_flags_config.py8logger = logging.getLogger(__name__)CODE
LOW…gs/backend/models/team_feature_flag_defaults_config.py7logger = logging.getLogger(__name__)CODE
LOWproducts/feature_flags/backend/api/feature_flag.py136logger = logging.getLogger(__name__)CODE
LOWproducts/feature_flags/backend/api/feature_flag.py2472def _update_feature_flag_dashboard(feature_flag: FeatureFlag, old_key: str) -> None:CODE
LOW…eature_flags/backend/api/test/test_scheduled_change.py953 def _set_flag_access(self, flag: FeatureFlag, access_level: str) -> None:CODE
LOWproducts/context_layer/backend/facade/api.py64__all__ = [CODE
1498 more matches not shown…
Fake / Example Data914 hits · 991 pts
SeverityFileLineSnippetContext
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts4472 $set: { email: 'user@example.com', name: 'Identified User' },CODE
LOWnodejs/tests/ingestion/ingestion-e2e.serial.test.ts4488 email: 'user@example.com',CODE
LOWnodejs/tests/ingestion/person-updates-e2e.test.ts678 $set: { email: 'user@example.com' },CODE
LOWnodejs/src/cdp/cdp-api.serial.test.ts67 name: 'Jane Doe',CODE
LOWnodejs/src/cdp/cdp-api.serial.test.ts214 "name": "Jane Doe",CODE
LOWnodejs/src/cdp/cdp-api.serial.test.ts509 "name": "Jane Doe",CODE
LOWnodejs/src/cdp/_tests/fixtures-hogflows.ts48 name: 'John Doe',CODE
LOWnodejs/src/cdp/_tests/fixtures-hogflows.ts50 name: 'John Doe',CODE
LOWnodejs/src/cdp/utils/hog-function-filtering.test.ts38 properties: { name: 'Acme Corp' },CODE
LOWnodejs/src/cdp/utils/hog-function-filtering.test.ts69 "name": "Acme Corp",CODE
LOWnodejs/src/cdp/utils/hog-function-filtering.test.ts146 person_properties: JSON.stringify({ name: 'John Doe' }),CODE
LOWnodejs/src/cdp/utils/hog-function-filtering.test.ts155 properties: { name: 'John Doe' },CODE
LOWnodejs/src/cdp/utils/hog-function-filtering.test.ts162 properties: { name: 'John Doe' },CODE
LOWnodejs/src/cdp/utils/hog-function-filtering.test.ts178 group0_properties: JSON.stringify({ name: 'Acme Corp' }),CODE
LOWnodejs/src/cdp/utils/hog-function-filtering.test.ts192 expect(result.group_0).toEqual({ properties: { name: 'Acme Corp' } })CODE
LOWnodejs/src/cdp/consumers/cdp-events-consumer.test.ts992 group_properties: { name: 'Acme Inc', industry: 'Tech' },CODE
LOWnodejs/src/cdp/consumers/cdp-events-consumer.test.ts1061 properties: { name: 'Acme Inc', industry: 'Tech' },CODE
LOWnodejs/src/cdp/consumers/cdp-events-consumer.test.ts1096 properties: { name: 'Acme Inc', industry: 'Tech' },CODE
LOW…p/templates/_destinations/unify/unify.template.test.ts95 properties: { company_domain: 'acme.com', company_name: 'Acme Inc' },CODE
LOW…p/templates/_destinations/unify/unify.template.test.ts108 name: 'Acme Inc',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts35 name: 'John Doe',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts42 name: 'John Doe',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts50 user_name: 'John Doe',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts65 name: 'John Doe',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts180 name: 'Acme Corp',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts191 group_name: 'Acme Corp',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts204 name: 'Acme Corp',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts412 company: 'Acme Corp',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts419 user_name: 'John Doe',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts430 name: 'John Doe',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts543 name: 'John Doe',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts546 company: 'Acme Corp',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts552 user_name: 'John Doe',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts562 name: 'John Doe',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts583 name: 'Acme Corp',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts594 group_name: 'Acme Corp',CODE
LOW…templates/_destinations/accoil/accoil.template.test.ts604 name: 'Acme Corp',CODE
LOW…p/templates/_destinations/klime/klime.template.test.ts170 $group_set: { name: 'Acme Inc' },CODE
LOW…p/templates/_destinations/klime/klime.template.test.ts179 expect(batchEvent.traits).toEqual({ name: 'Acme Inc' })CODE
LOW…p/templates/_destinations/klime/klime.template.test.ts235 $group_set: { name: 'Acme Inc', plan: 'enterprise', $initial_os: 'Mac OS X' },CODE
LOW…p/templates/_destinations/klime/klime.template.test.ts243 expect(parseBatchEvent(response).traits).toEqual({ name: 'Acme Inc', plan: 'enterprise' })CODE
LOW…templates/_destinations/retain/retain.template.test.ts34 email: 'user@example.com',CODE
LOW…templates/_destinations/retain/retain.template.test.ts65 email: 'user@example.com',CODE
LOW…templates/_destinations/retain/retain.template.test.ts86 $set: { email: 'user@example.com' },CODE
LOW…templates/_destinations/retain/retain.template.test.ts90 properties: { email: 'user@example.com' },CODE
LOW…/cdp/templates/_destinations/twilio/twilio.template.ts64 requiredScopes: 'placeholder',CODE
LOW…emplates/_sources/stripe/__tests__/stripe-webhook.json39 "customer_email": "test@test.com",CODE
LOW…tions/hash-properties/hash-properties.template.test.ts41 name: 'John Doe',CODE
LOW…tions/hash-properties/hash-properties.template.test.ts62 expect(result.properties.name).toMatch(sha256('John Doe'))CODE
LOW…tions/hash-properties/hash-properties.template.test.ts69 expect(result.properties.name).not.toBe('John Doe')CODE
LOW…tions/hash-properties/hash-properties.template.test.ts80 name: 'John Doe',CODE
LOW…tions/hash-properties/hash-properties.template.test.ts103 expect(result.properties.$set?.name).toMatch(sha256('John Doe'))CODE
LOW…tions/hash-properties/hash-properties.template.test.ts177 name: 'John Doe',CODE
LOW…tions/hash-properties/hash-properties.template.test.ts196 expect(result.properties.name).toBe('John Doe')CODE
LOW…tions/hash-properties/hash-properties.template.test.ts205 name: 'John Doe',CODE
LOW…tions/hash-properties/hash-properties.template.test.ts224 expect(result.properties.name).toMatch(sha256('John Doe'))CODE
LOW…dp/legacy-plugins/_destinations/sendgrid/index.test.ts96 distinct_id: 'user0@example.org',CODE
LOW…dp/legacy-plugins/_destinations/sendgrid/index.test.ts104 email: 'user1@example.org',CODE
LOW…dp/legacy-plugins/_destinations/sendgrid/index.test.ts124 email: 'user0@example.org',CODE
LOW…dp/legacy-plugins/_destinations/sendgrid/index.test.ts142 email: 'user1@example.org',CODE
854 more matches not shown…
Structural Annotation Overuse469 hits · 828 pts
SeverityFileLineSnippetContext
LOW…c/cdp/consumers/cdp-cohort-membership.consumer.test.ts133 // Step 1: Person enters the cohortCOMMENT
LOW…c/cdp/consumers/cdp-cohort-membership.consumer.test.ts159 // Step 2: Person leaves the cohortCOMMENT
LOW…c/cdp/consumers/cdp-cohort-membership.consumer.test.ts187 // Step 3: Person re-enters the cohortCOMMENT
LOW…cdp/services/hogflows/hogflow-executor.service.test.ts1249 // Step 1: run first action (function_id_1)COMMENT
LOW…cdp/services/hogflows/hogflow-executor.service.test.ts1268 // Step 2: run again, should NOT exit early due to exit_only_at_endCOMMENT
LOW…cdp/services/hogflows/hogflow-executor.service.test.ts2967 // Step 1: Hogflow worker executes (queue !== 'email') — should route to email queueCOMMENT
LOW…cdp/services/hogflows/hogflow-executor.service.test.ts2976 // Step 2: Email worker picks up the job (queue === 'email') — should send inline and continueCOMMENT
LOW…ejs/src/ingestion/framework/docs/12-filter-map.test.ts64 // Step 1: Resolve team from teamId (some lookups may fail)COMMENT
LOW…ejs/src/ingestion/framework/docs/12-filter-map.test.ts81 // Step 2: Process event (runs within teamAware context)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts15// Step 1: UUIDs and request IDs (e.g., req_abc123, 550e8400-e29b-41d4-a716-446655440000)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts18// Step 2: ISO timestamps (e.g., 2025-11-08T14:25:51.767Z)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts21// Step 3: Cloud resource paths (e.g., projects/123/locations/us-west2/publishers/google/models/gemini-pro)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts24// Step 4: ResponseId JSON fields (e.g., "responseId":"h2sPacmZI4OWvPEPvIS16Ac")COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts27// Step 5: Generic JSON "id" fields (e.g., "id": "oJf6eVw-z1gNr-99c2d11d156dff07")COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts36// Step 7: Function call IDs (e.g., function call call_edLiisyOJybNZLouC6MCNxyC)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts39// Step 8: User IDs (e.g., 'user_id': 'user_32yQoBNWxpvzxVJG0S0zxnnVSCJ')COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts43// Step 9: Memory object IDs / hex addresses (e.g., 0xfffced405130)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts46// Step 10: Generic id='xxx' patterns (case insensitive)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts49// Step 11: Token counts (e.g., "tokenCount":7125 or "tokenCount": 7125)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts52// Step 12: Large numeric IDs (9+ digits, e.g., project IDs like 1234567890)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts55// Step 13: All remaining numbersCOMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts58// Step 14: Multiple whitespaceCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1363 // Step 1: Cache the target person (simulating fetchForUpdate)COMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1370 // Step 2: Update target person with merged properties (simulating updatePersonForMerge)COMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1397 // Step 3: moveDistinctIds - this should preserve the merged cacheCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1406 // Step 4: Verify that cached merged properties are preservedCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1538 // Step 1: Cache target personCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1545 // Step 2: Multiple merge operationsCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1569 // Step 3: moveDistinctIdsCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1577 // Step 4: Verify all merged properties are preservedCOMMENT
LOW…ommon/overflow-redirect/main-lane-overflow-redirect.ts90 // Step 1: Check local cacheCOMMENT
LOW…ommon/overflow-redirect/main-lane-overflow-redirect.ts114 // Step 2: Batch check Redis for cache misses using MGETCOMMENT
LOW…ommon/overflow-redirect/main-lane-overflow-redirect.ts141 // Step 3: Check rate limiter for unflagged keysCOMMENT
LOW…ommon/overflow-redirect/main-lane-overflow-redirect.ts175 // Step 4: Batch flag newly rate-limited keys in RedisCOMMENT
LOWtools/hogli-commands/hogli_commands/doctor.py658 # Step 1: Prune stale remote branchesCOMMENT
LOWtools/hogli-commands/hogli_commands/doctor.py664 # Step 2: Expire old reflogs (keep 30 days for safety)COMMENT
LOWtools/hogli-commands/hogli_commands/doctor.py670 # Step 3: Run gc --aggressive (this can take 1-2 minutes)COMMENT
LOWproducts/managed_migrations/docs/support-mcp-tools.md17## Step 1: mint the personal API keyCOMMENT
LOWproducts/managed_migrations/docs/support-mcp-tools.md53## Step 2: connect your MCP clientCOMMENT
LOWproducts/managed_migrations/docs/support-mcp-tools.md86## Step 3: verifyCOMMENT
LOWproducts/mcp_store/backend/oauth.py278 # Step 1: Try RFC 9728 Protected Resource Metadata to find the authorization serverCOMMENT
LOWproducts/mcp_store/backend/oauth.py307 # Step 2: Fall back to fetching authorization server metadata directly from the origin.COMMENT
LOW…atch_exports/backend/temporal/backfill_batch_export.py897 # Step 1: Create backfill model with STARTING statusCOMMENT
LOW…atch_exports/backend/temporal/backfill_batch_export.py923 # Step 2: Get backfill info (validation + estimation)COMMENT
LOW…atch_exports/backend/temporal/backfill_batch_export.py941 # Step 3: Update backfill with adjusted start and estimated countCOMMENT
LOW…atch_exports/backend/temporal/backfill_batch_export.py977 # Step 4: Early exit if no data to backfillCOMMENT
LOW…s/backend/hogql_queries/conversion_goals_aggregator.py79 # Step 1: Generate individual conversion goal queries, parallelised across goalsCOMMENT
LOW…s/backend/hogql_queries/conversion_goals_aggregator.py163 # Step 2: UNION ALL the individual queriesCOMMENT
LOW…s/backend/hogql_queries/conversion_goals_aggregator.py169 # Step 3: Create final aggregation query that sums all conversion goalsCOMMENT
LOW…ng/skills/diagnosing-stacktrace-symbolication/SKILL.md38### Step 1 - Find how symbol data is produced and uploadedCOMMENT
LOW…ng/skills/diagnosing-stacktrace-symbolication/SKILL.md56### Step 2 - Build and inspect local artifactsCOMMENT
LOW…ng/skills/diagnosing-stacktrace-symbolication/SKILL.md65### Step 3 - Check symbol sets in PostHogCOMMENT
LOW…ng/skills/diagnosing-stacktrace-symbolication/SKILL.md99### Step 4 - Compare local, uploaded, and served filesCOMMENT
LOW…ng/skills/diagnosing-stacktrace-symbolication/SKILL.md111### Step 5 - Fix the most likely layerCOMMENT
LOWproducts/tasks/backend/prompts.py59## Step 1 - Verify the project buildsCOMMENT
LOWproducts/tasks/backend/prompts.py76## Step 2 - Commit the wizard's changes to a new branchCOMMENT
LOWproducts/tasks/backend/prompts.py113## Step 3 - Configure environment variables for productionCOMMENT
LOWproducts/tasks/backend/prompts.py131## Step 4 - Open the pull requestCOMMENT
LOWproducts/tasks/backend/prompts.py282## Step 5 - Keep CI greenCOMMENT
LOW…ks/skills/analyzing-task-runs/references/log-schema.md15## Step 1: detect the formatCOMMENT
409 more matches not shown…
Modern AI Meta-Vocabulary262 hits · 778 pts
SeverityFileLineSnippetContext
MEDIUMtach.toml11 # Eval trees are dev/CI-only tooling: the harness orchestrates many products byCOMMENT
MEDIUMdocker-compose.profiles.yml21 # Temporal capability - workflow orchestrationCOMMENT
MEDIUMtools/query-performance-ai/ruff.toml4# Pi plugin and in-sandbox driver scripts use stdout as their orchestrationCOMMENT
MEDIUMtools/hogli-commands/README.md81 └── product/ # Product scaffolding subpackage (lazy)CODE
MEDIUM…ols/hogli-commands/hogli_commands/tests/test_checks.py1228 # facade/contracts.py is just scaffolding, not a commitment toSTRING
MEDIUM…s/hogli-commands/hogli_commands/tests/test_scaffold.py26 # commit, so the scaffold must satisfy the same gates product:lint blocks on.COMMENT
MEDIUMtools/hogli-commands/hogli_commands/product/isolate.py232 lines.append("\n## Facade submodules to scaffold")CODE
MEDIUMproducts/managed_migrations/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/mcp_store/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/slack_app/evals/eval_model_classifier.py78# Deliberately not the prompt's own few-shot examples. Reusing those would measureCOMMENT
MEDIUMproducts/metrics/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/batch_exports/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/cdp/mcp/cdp_functions.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/cdp/mcp/cdp_function_templates.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/feature_flags/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/context_layer/backend/scaffold.py220 # not track empty directories, so scaffolding them would not survive a clone.STRING
MEDIUMproducts/context_layer/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUM…s/context_layer/skills/context-layer-dreaming/SKILL.md132. Take the activity windows from the run prompt. Start with Spaces: call `channel-list`, exclude the personal `#me` chaCODE
MEDIUMproducts/tracing/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/mcp_analytics/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUM…ucts/mcp_analytics/skills/improving-mcp-tools/SKILL.md67## Hard guardrailsCOMMENT
MEDIUMproducts/marketing_analytics/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/error_tracking/mcp/error_tracking_alerts.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/error_tracking/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/tasks/backend/facade/api.py2036# moving all ORM access and Temporal/Slack/S3 orchestration behind the facade. Visibility onCOMMENT
MEDIUMproducts/tasks/backend/facade/api.py4931# orchestration (title generation, signal-report linkage, workflow triggers, S3 artifactCOMMENT
MEDIUMproducts/tasks/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/data_warehouse/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/endpoints/backend/logic/execution.py124# Cost guardrails + transient capacity: customer problems, not faults. Skipped from capture andCOMMENT
MEDIUMproducts/endpoints/backend/logic/execution.py99# Deterministic, customer-caused ClickHouse cost guardrails → stable client `code` + remediation.COMMENT
MEDIUMproducts/endpoints/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/data_quality/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/streamlit_apps/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/user_interviews/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/visual_review/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/experiments/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/data_catalog/mcp/tools.yaml3# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-allCOMMENT
MEDIUMproducts/signals/ARCHITECTURE.md1402│ │ ├── AGENTS.md # Documentation for the agentic report generation flowCODE
MEDIUMproducts/signals/ARCHITECTURE.md1403│ │ ├── research.py # Multi-turn sandbox research orchestration + output schemas + research task_run arCODE
MEDIUMproducts/signals/backend/models.py331 # - READY -> CANDIDATE when new matching signals reopen the report for summary / agenticCOMMENT
MEDIUMproducts/signals/backend/signal_metadata.py21# The embedding model whose document rows constitute the signal store; every signalsCOMMENT
MEDIUMproducts/signals/backend/views.py3320 # part of the agentic pipeline contract and must not be hand-edited.COMMENT
MEDIUMproducts/signals/backend/temporal/summary.py330 # 3. Run safety judge first to avoid passing unsafe report into the agentic researchCOMMENT
MEDIUMproducts/signals/backend/temporal/summary.py371 # 4. Select repository for the agentic researchCOMMENT
MEDIUMproducts/signals/backend/temporal/summary.py405 # 5. Run the agentic report research flow with the selected repository to use code/MCP data to assess siCOMMENT
MEDIUM…ts/signals/backend/temporal/agentic/scout_scheduler.py29 # runner -> temporal.agentic -> scout_coordinator -> scout_scheduler -> runner.COMMENT
MEDIUMproducts/signals/backend/temporal/agentic/report.py111 # Only types we care about for the agentic report generationCOMMENT
MEDIUMproducts/signals/backend/temporal/agentic/report.py305 # orchestrates auto-start explicitly, so appends opt out of the model's auto-startCOMMENT
MEDIUMproducts/signals/backend/temporal/agentic/report.py549 # 3. Run the agentic research in the sandboxCOMMENT
MEDIUMproducts/signals/backend/custom_agent/PLAN.md31 cursed_comment_agent.py # realistic example (repo research + agentic resolvers)CODE
MEDIUMproducts/signals/backend/custom_agent/PLAN.md32 auto_start.py # shared with the agentic signals pipelineCODE
MEDIUMproducts/signals/backend/test/test_scout_harness.py826 # Shared scaffolding is still present on both personas.COMMENT
MEDIUM…nals/backend/test/test_signal_report_artefact_model.py68 # The agentic pipeline appends _AGENTIC_ARTEFACT_TYPES versions on every run. The set mustCOMMENT
MEDIUMproducts/signals/backend/management/AGENTS.md86## Repository selection (agentic)COMMENT
MEDIUMproducts/signals/backend/management/CLAUDE.md86## Repository selection (agentic)COMMENT
MEDIUM…ackend/management/commands/run_custom_agent_example.py10 # Cursed-comment finder (real research against a repo, agentic resolvers)STRING
MEDIUMproducts/signals/backend/scout_report/persistence.py201 # the scout's task. This keeps an agentic report auditable as NOT pipeline-generated (aCOMMENT
MEDIUMproducts/signals/backend/report_generation/research.py26# eager-imports agentic -> report -> back into this module, forming a circular import.COMMENT
MEDIUM…ducts/signals/backend/report_generation/select_repo.py33 # __init__ (agentic -> back into report_generation), a circular import. SignalData isCOMMENT
MEDIUMproducts/signals/backend/scout_harness/tools/report.py609 # temporal/agentic + sandbox stack off this harness-tool module's import path (it loads at worker boot).COMMENT
202 more matches not shown…
AI Slop Vocabulary248 hits · 663 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml385# deltalite's test suite bootstraps its harness/planner via sys.path (the package is aCOMMENT
MEDIUMdocker-compose.dev.yml813 # Not 8000 (the Django dev server) and not 18000, which the eval harness binds for itsCOMMENT
MEDIUMtach.toml11 # Eval trees are dev/CI-only tooling: the harness orchestrates many products byCOMMENT
MEDIUMtach.toml12 # design, and product-owned suites under products/*/evals import the harnessCOMMENT
MEDIUMtach.toml743 # Facade-only (enforced by data_catalog's [[interfaces]] block): the scout harness gatesCOMMENT
MEDIUMtach.toml753 # Facade-only: the scout harness pre-resolves the external MCP servers a run's sandbox willCOMMENT
MEDIUM…ng/logs-sampling.rate-limit-impact.integration.test.ts174 // ~10× over the limit → a large share is dropped. We assert a robust floor rather than anCOMMENT
MEDIUMnodejs/src/cdp/services/hogflows/hogflow-utils.ts120// rather than the compiled bytecode is robust to bytecode/version changes (no need to enumerate theCOMMENT
MEDIUMnodejs/src/common/kafka/producer.ts156 // NOTE: The MessageHeader type is super weird. Essentially you are passing in a record and it expects a strCOMMENT
MEDIUMnodejs/src/logs/sampling/compile-rules.ts81 // case at write time, but the ingestion path stays robust to legacy or hand-crafted rows.COMMENT
LOWtools/hogli/src/hogli/command_types.py243 # If not relative to repo root, just return the nameCOMMENT
LOW…s/hogli-commands/hogli_commands/product_structure.yaml440 __init__: false # just create the folderCODE
LOW…s/hogli-commands/hogli_commands/product_structure.yaml443 __init__: false # just create the folderCODE
LOW…s/hogli-commands/hogli_commands/product_structure.yaml446 __init__: false # just create the folderCODE
LOW…s/hogli-commands/hogli_commands/product_structure.yaml449 __init__: false # just create the folderCODE
MEDIUMproducts/slack_app/evals/eval_followup_classifier.py173 # concurrently under the harness's limiter.COMMENT
MEDIUMproducts/slack_app/evals/eval_model_classifier.py230 # still run concurrently under the harness's limiter.COMMENT
MEDIUM…ack_app/backend/tests/services/test_run_preferences.py115 # The harness is the process the sandbox launched with, so a Codex model isCOMMENT
MEDIUMproducts/slack_app/backend/services/run_preferences.py159 # treat a run we can't place as unswitchable rather than guessing its harness.COMMENT
MEDIUMproducts/metrics/agent/tests/scale/farm_server.py55 print( # noqa: T201 — container log line, the harness's readiness signalCODE
LOW…backend/temporal/destinations/redshift_batch_export.py291 # as we have just set cursor_factory.COMMENT
MEDIUM…ests/temporal/destinations/databricks/test_workflow.py219 """Reduce the poll interval for the Databricks client, in order to speed up the tests."""STRING
LOW…/backend/tests/temporal/destinations/redshift/utils.py131 # to determine if it is empty. If it is, we can just set the value toCOMMENT
MEDIUM…ducts/batch_exports/backend/tests/temporal/utils/s3.py128 # To facilitate comparison, we isoformat the dates.COMMENT
LOWproducts/cdp/backend/api/hog_function.py774 # For non-transformation types, just create normallyCOMMENT
MEDIUM…ytics/backend/management/commands/seed_mcp_sessions.py73# harness buckets (Claude Code, OpenAI Codex, Cursor, Claude.ai, VS Code). Weighted toward theCOMMENT
MEDIUM…cts/mcp_analytics/backend/hogql_queries/tool_tables.py74# A per-row distinct-and-sorted list of resolved harness labels, collected from theCOMMENT
MEDIUM…p_analytics/backend/hogql_queries/harness_breakdown.py70 # The harness label and token are HogQL fragments from mcp_harness; parse themCOMMENT
MEDIUM…ackend/hogql_queries/test_conversion_goal_processor.py111 """Create comprehensive test data covering various scenarios"""STRING
MEDIUM…ackend/hogql_queries/attribution_table_query_runner.py48# left to right from the crudest split to the most nuanced.COMMENT
MEDIUMproducts/tasks/backend/metrics.py448 # ACP's default harness is Claude. A model-only override deliberately leavesCOMMENT
MEDIUMproducts/tasks/backend/models.py971 # `runtime_adapter` selects the harness (claude | codex) and the agent server derivesCOMMENT
MEDIUMproducts/tasks/backend/prompts.py106# 2. Harness skills folders (.claude/skills/, .agents/skills/, any .<harness>/skills/):COMMENT
MEDIUM…mporal/process_task/activities/relay_sandbox_events.py217 # harness). Exit quietly — logger and Redis are already unusable here,COMMENT
MEDIUMproducts/tasks/backend/tests/test_facade.py1695 # The agent-server rejects a model its harness can't drive. Sending the effortCOMMENT
MEDIUMproducts/tasks/backend/logic/stream/redis_stream.py611 # transaction guards against can't happen under the test harness.COMMENT
MEDIUMproducts/tasks/backend/logic/services/docker_sandbox.py509 # Opt-in bind-mount for local skills. Set by the eval harness soCOMMENT
MEDIUM…ducts/data_warehouse/backend/models/test/test_table.py754 # Assert this is a comprehensive list of all possible ClickHouse typesCOMMENT
MEDIUMproducts/endpoints/backend/tests/test_endpoint.py652 """Test creating a endpoint with a comprehensive TrendsQuery containing many fields."""STRING
MEDIUMproducts/experiments/backend/experiment_service.py3129 # from the backend is already more robust (while not ideal).COMMENT
LOW…experiments/backend/test/test_recalculation_service.py278 # and we just set query_to on the recalc above.COMMENT
LOW…riments/backend/test/test_metrics_recalculation_api.py175 # and we just set query_to on the recalc above.COMMENT
MEDIUMproducts/experiments/backend/test/test_facade.py104 """Test creating experiment with comprehensive field set."""STRING
MEDIUM…ts/experiments/backend/test/test_experiment_service.py3192 # Positive control: the gate is live in this harness — a payload a policy doesCOMMENT
MEDIUM…ckend/hogql_queries/experiment_funnel_query_builder.py161 # Use separate exposures CTE to leverage precomputed exposure cache when available.STRING
LOW…/experiments/backend/hogql_queries/base_query_utils.py478 # Default to include all events selected, so we just set a large value here (3 years)COMMENT
LOW…ents/backend/hogql_queries/experiment_metric_values.py73 # No conversion window limit - just return true since temporal filteringCOMMENT
MEDIUMproducts/experiments/stats/bayesian/utils.py294 # Use comprehensive shared validationCOMMENT
MEDIUMproducts/data_catalog/evals/eval_governed_metrics.py441 # Injected-listing arm, mirroring the scout harness's pre-fetched catalog paragraphCOMMENT
MEDIUMproducts/signals/backend/models.py1838 # `scout_harness/derived_metadata.py` and holds booleans the harness computes from the run'sCOMMENT
MEDIUMproducts/signals/backend/views.py1103 # working against?") and by the agent harness to fan commit artefacts out to them. Uses theCOMMENT
MEDIUMproducts/signals/backend/views.py2981 # robust=True: a broker outage while enqueuing must not 500 an edit that already committed.COMMENT
MEDIUM…ts/signals/backend/temporal/agentic/scout_scheduler.py28 # Type-only: importing the harness runner at module load would close the cycleCOMMENT
MEDIUM…/signals/backend/temporal/agentic/scout_coordinator.py301 # harness-seeded rows the team hasn't edited, so a content change rolls out within oneCOMMENT
MEDIUM…/signals/backend/temporal/agentic/scout_coordinator.py326 # on the scout's NEXT RUN for any harness-seeded row the team hasn't forked. What theCOMMENT
MEDIUM…als/backend/custom_agent/examples/cookie_poem_agent.py15 # Direct, no Temporal harness (useful for testing the agent locally)STRING
MEDIUMproducts/signals/backend/emission/jira_issues.py164 # depends on the warehouse sync, so wrap in toString(...) + parseDateTimeBestEffort to be robustCOMMENT
MEDIUMproducts/signals/backend/test/test_scout_coordinator.py153 # Default to a canonical (harness-seeded) skill — the realistic case; pass seeded=False for aCOMMENT
MEDIUMproducts/signals/backend/test/test_scout_harness.py606 # project-profile harness tool, eliminating the discovery-burn theCOMMENT
MEDIUMproducts/signals/backend/test/test_scout_harness.py610 # The base prompt teaches the agent to call the harness MCP tools by name.COMMENT
188 more matches not shown…
Verbosity Indicators346 hits · 633 pts
SeverityFileLineSnippetContext
LOW…c/cdp/consumers/cdp-cohort-membership.consumer.test.ts133 // Step 1: Person enters the cohortCOMMENT
LOW…c/cdp/consumers/cdp-cohort-membership.consumer.test.ts159 // Step 2: Person leaves the cohortCOMMENT
LOW…c/cdp/consumers/cdp-cohort-membership.consumer.test.ts187 // Step 3: Person re-enters the cohortCOMMENT
LOW…cdp/services/hogflows/hogflow-executor.service.test.ts1249 // Step 1: run first action (function_id_1)COMMENT
LOW…cdp/services/hogflows/hogflow-executor.service.test.ts1268 // Step 2: run again, should NOT exit early due to exit_only_at_endCOMMENT
LOW…cdp/services/hogflows/hogflow-executor.service.test.ts2967 // Step 1: Hogflow worker executes (queue !== 'email') — should route to email queueCOMMENT
LOW…cdp/services/hogflows/hogflow-executor.service.test.ts2976 // Step 2: Email worker picks up the job (queue === 'email') — should send inline and continueCOMMENT
LOW…ejs/src/ingestion/framework/docs/12-filter-map.test.ts64 // Step 1: Resolve team from teamId (some lookups may fail)COMMENT
LOW…ejs/src/ingestion/framework/docs/12-filter-map.test.ts81 // Step 2: Process event (runs within teamAware context)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts15// Step 1: UUIDs and request IDs (e.g., req_abc123, 550e8400-e29b-41d4-a716-446655440000)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts18// Step 2: ISO timestamps (e.g., 2025-11-08T14:25:51.767Z)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts21// Step 3: Cloud resource paths (e.g., projects/123/locations/us-west2/publishers/google/models/gemini-pro)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts24// Step 4: ResponseId JSON fields (e.g., "responseId":"h2sPacmZI4OWvPEPvIS16Ac")COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts27// Step 5: Generic JSON "id" fields (e.g., "id": "oJf6eVw-z1gNr-99c2d11d156dff07")COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts36// Step 7: Function call IDs (e.g., function call call_edLiisyOJybNZLouC6MCNxyC)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts39// Step 8: User IDs (e.g., 'user_id': 'user_32yQoBNWxpvzxVJG0S0zxnnVSCJ')COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts43// Step 9: Memory object IDs / hex addresses (e.g., 0xfffced405130)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts46// Step 10: Generic id='xxx' patterns (case insensitive)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts49// Step 11: Token counts (e.g., "tokenCount":7125 or "tokenCount": 7125)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts52// Step 12: Large numeric IDs (9+ digits, e.g., project IDs like 1234567890)COMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts55// Step 13: All remaining numbersCOMMENT
LOW…s/src/ingestion/pipelines/ai/errors/normalize-error.ts58// Step 14: Multiple whitespaceCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1363 // Step 1: Cache the target person (simulating fetchForUpdate)COMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1370 // Step 2: Update target person with merged properties (simulating updatePersonForMerge)COMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1397 // Step 3: moveDistinctIds - this should preserve the merged cacheCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1406 // Step 4: Verify that cached merged properties are preservedCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1538 // Step 1: Cache target personCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1545 // Step 2: Multiple merge operationsCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1569 // Step 3: moveDistinctIdsCOMMENT
LOW…tion/common/persons/batch-writing-person-store.test.ts1577 // Step 4: Verify all merged properties are preservedCOMMENT
LOW…ommon/overflow-redirect/main-lane-overflow-redirect.ts90 // Step 1: Check local cacheCOMMENT
LOW…ommon/overflow-redirect/main-lane-overflow-redirect.ts114 // Step 2: Batch check Redis for cache misses using MGETCOMMENT
LOW…ommon/overflow-redirect/main-lane-overflow-redirect.ts141 // Step 3: Check rate limiter for unflagged keysCOMMENT
LOW…ommon/overflow-redirect/main-lane-overflow-redirect.ts175 // Step 4: Batch flag newly rate-limited keys in RedisCOMMENT
LOWtools/hogli-commands/hogli_commands/doctor.py658 # Step 1: Prune stale remote branchesCOMMENT
LOWtools/hogli-commands/hogli_commands/doctor.py664 # Step 2: Expire old reflogs (keep 30 days for safety)COMMENT
LOWtools/hogli-commands/hogli_commands/doctor.py670 # Step 3: Run gc --aggressive (this can take 1-2 minutes)COMMENT
LOWproducts/mcp_store/backend/oauth.py278 # Step 1: Try RFC 9728 Protected Resource Metadata to find the authorization serverCOMMENT
LOWproducts/mcp_store/backend/oauth.py307 # Step 2: Fall back to fetching authorization server metadata directly from the origin.COMMENT
LOW…atch_exports/backend/temporal/backfill_batch_export.py897 # Step 1: Create backfill model with STARTING statusCOMMENT
LOW…atch_exports/backend/temporal/backfill_batch_export.py923 # Step 2: Get backfill info (validation + estimation)COMMENT
LOW…atch_exports/backend/temporal/backfill_batch_export.py941 # Step 3: Update backfill with adjusted start and estimated countCOMMENT
LOW…atch_exports/backend/temporal/backfill_batch_export.py977 # Step 4: Early exit if no data to backfillCOMMENT
LOW…ics/backend/hogql_queries/conversion_goal_processor.py2324 # For ActionsNode, we need to check if this is an action conditionCOMMENT
LOW…s/backend/hogql_queries/conversion_goals_aggregator.py79 # Step 1: Generate individual conversion goal queries, parallelised across goalsCOMMENT
LOW…s/backend/hogql_queries/conversion_goals_aggregator.py163 # Step 2: UNION ALL the individual queriesCOMMENT
LOW…s/backend/hogql_queries/conversion_goals_aggregator.py169 # Step 3: Create final aggregation query that sums all conversion goalsCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py127 # Step 1: Execute inline — establish the baseline shapeCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py136 # Step 2: Set up materializationCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py139 # Step 3: Mock process_query_model to return flat HogQL dataCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py185 # Step 1: Inline baselineCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py192 # Step 2: MaterializeCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py195 # Step 3: Mock with breakdown_value columnCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py335 # Step 1: Inline baselineCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py344 # Step 2: MaterializeCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py347 # Step 3: Mock with lifecycle columns in ALPHABETICAL orderCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py413 # Step 2: MaterializeCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py416 # Step 3: Mock with retention columns in ALPHABETICAL orderCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py474 # Step 1: Inline baseline — should have results from both seriesCOMMENT
LOW…ndpoints/backend/tests/test_insight_response_parity.py480 # Step 2: MaterializeCOMMENT
286 more matches not shown…
Redundant / Tautological Comments291 hits · 424 pts
SeverityFileLineSnippetContext
LOWtools/infra-scripts/clitools/toolbox/pod.py124 # Check if we should print an updateCOMMENT
LOWtools/hogli/src/hogli/manifest.py276 # Check if any manifest command shares this prefixCOMMENT
LOWtools/hogli/src/hogli/validate.py26 # Check if executable and not a config fileCOMMENT
LOWtools/hogli-commands/hogli_commands/migrations.py920 # Check if already cachedCOMMENT
LOWtools/hogli-commands/hogli_commands/doctor.py517 # Check if cargo is availableCOMMENT
LOWtools/hogli-commands/hogli_commands/doctor.py876 # Check if this is a workspace root or standalone packageCOMMENT
LOWtools/hogli-commands/hogli_commands/doctor.py1209 # Check if the parent is a known process managerCOMMENT
LOWtools/hogli-commands/hogli_commands/product/maturity.py457 # Check if the facade is real (has function definitions, not re-exports)COMMENT
LOWproducts/demo/backend/logic/products/hedgebox/models.py380 # Check if it's nightCOMMENT
LOWproducts/demo/backend/logic/products/hedgebox/models.py383 # Check if it's 9 to 5 on a work dayCOMMENT
LOWproducts/demo/backend/logic/products/spikegpt/models.py111 # Check if it's nightCOMMENT
LOWproducts/demo/backend/logic/products/spikegpt/models.py114 # Check if it's 9 to 5 on a work dayCOMMENT
LOWproducts/slack_app/backend/api.py4745 # Check if we own this context locallyCOMMENT
LOW…atch_exports/backend/temporal/backfill_batch_export.py997 # Set timeout to a month for now, as unending backfills are an internal feature we areCOMMENT
LOW…ackend/temporal/destinations/snowflake_batch_export.py786 # Check if we've exceeded the timeoutCOMMENT
LOW…d/tests/temporal/destinations/snowflake/test_client.py90 # Check if the query was actually cancelled/aborted in SnowflakeCOMMENT
LOWproducts/batch_exports/backend/api/batch_export.py1249 # Check if offset fields are in the request (for PATCH, distinguish between absent and None)COMMENT
LOWproducts/cdp/backend/tasks/hog_functions.py46 # Check if this team references the cohort in its test_account_filtersCOMMENT
LOWproducts/cdp/backend/api/hog_function.py1758 # Check if backfill is already enabledCOMMENT
LOWproducts/feature_flags/backend/flags_cache.py652 # Check if evaluation_metadata is present in cached data.COMMENT
LOWproducts/feature_flags/backend/max_tools.py405 # Check if any group has a rollout percentageCOMMENT
LOW…s/feature_flags/backend/test/test_feature_flag_sync.py267 # Set lock to prevent executionCOMMENT
LOWproducts/feature_flags/backend/api/feature_flag.py1830 # Check if the referenced flag is activeCOMMENT
LOWproducts/feature_flags/backend/api/feature_flag.py2083 # Check if flag is used in session replay settingsCOMMENT
LOWproducts/feature_flags/backend/api/feature_flag.py2118 # Check if this flag depends on any disabled flagsCOMMENT
LOWproducts/feature_flags/backend/api/feature_flag.py4754 # Check if user has editor or higher access to feature flags for this teamCOMMENT
LOW…hogql_queries/marketing_analytics_base_query_runner.py1069 # Check if this is an aggregated query (no GROUP BY)COMMENT
LOW…ogql_queries/marketing_analytics_table_query_runner.py104 # Check if there are more resultsCOMMENT
LOW…marketing_analytics/backend/hogql_queries/constants.py513 # Check if it's a StrEnum (has __members__)COMMENT
LOW…marketing_analytics/backend/hogql_queries/constants.py682 # Check if it's a base columnCOMMENT
LOW…marketing_analytics/backend/hogql_queries/constants.py689 # Check if it's a conversion goal or cost per conversionCOMMENT
LOW…ics/backend/hogql_queries/conversion_goal_processor.py2326 # Check if this condition comes from action_to_expr (complex action conditions)COMMENT
LOW…eries/non_integrated_conversions_table_query_runner.py101 # Check if there are more resultsCOMMENT
LOWproducts/error_tracking/backend/max_tools.py305 # Set searchQuery to empty string if None (matches dashboard behavior)STRING
LOW…dpoints/backend/tests/test_variable_materialization.py1961 # Check if this row matches all variable valuesCOMMENT
LOWproducts/endpoints/backend/logic/execution.py373 # Check if materialized data is stale. Keyed on the version's freshness target, notCOMMENT
LOWproducts/endpoints/backend/logic/execution.py382 # Check if variables are valid for materialized executionCOMMENT
LOWproducts/experiments/backend/experiment_service.py3977 # Check if saved_metric assignment has changedCOMMENT
LOW…ckend/hogql_queries/experiment_funnel_query_builder.py586 # Check if any step is a data warehouse nodeSTRING
LOW…ments/backend/hogql_queries/hogql_aggregation_utils.py58 # Check if the expression is a function callCOMMENT
LOW…backend/hogql_queries/experiment_mean_query_builder.py105 # Check if this is a session property metric - use special CTE structureSTRING
LOW…backend/hogql_queries/experiment_mean_query_builder.py196 # Check if this is a session property metric - use different placeholdersSTRING
LOW…backend/hogql_queries/experiment_mean_query_builder.py343 # Check if we need to apply winsorization (outlier handling)STRING
LOW…ts/experiments/backend/hogql_queries/error_handling.py95 # Check if error is an instance of any of the registered typesCOMMENT
LOW…end/hogql_queries/experiment_exposures_query_runner.py317 # Set limit to avoid being cut-off by the default 100 rows limitCOMMENT
LOW…experiments/backend/hogql_queries/funnel_validation.py194 # Check if there are any DW stepsCOMMENT
LOWproducts/experiments/backend/hogql_queries/utils.py561 # Check if we can perform statistical analysisCOMMENT
LOWproducts/experiments/backend/hogql_queries/utils.py664 # Check if we can perform statistical analysisCOMMENT
LOW…riments/backend/hogql_queries/funnels_statistics_v2.py183 # Check if any variant has high enough probabilityCOMMENT
LOW…xperiments/backend/hogql_queries/breakdown_injector.py124 # Check if this is an unordered funnel (has exposures CTE with LEFT JOIN)COMMENT
LOW…ckend/hogql_queries/experiment_funnels_query_runner.py196 # Check if "control" is presentCOMMENT
LOW…ckend/hogql_queries/experiment_funnels_query_runner.py203 # Check if at least one of the test variants is presentCOMMENT
LOW…ments/backend/hogql_queries/experiment_query_runner.py281 # Check if this is a data warehouse queryCOMMENT
LOW…ts/backend/hogql_queries/trends_statistics_v2_count.py148 # Check if any variant has a high enough probability of being bestCOMMENT
LOW…ackend/hogql_queries/experiment_trends_query_runner.py387 # Check if "control" is presentCOMMENT
LOW…ackend/hogql_queries/experiment_trends_query_runner.py393 # Check if at least one of the test variants is presentCOMMENT
LOW…/experiments/backend/hogql_queries/base_query_utils.py127 # Check if the source has a math type that indicates continuous valuesCOMMENT
LOW…ckend/hogql_queries/trends_statistics_v2_continuous.py170 # Check if any variant has a high enough probability of being bestCOMMENT
LOWproducts/signals/backend/emission/emit_signals.py32 # Check if we care about this source type + schemaCOMMENT
LOW…ucts/product_analytics/backend/presentation/insight.py1203 # Check if user has access to this insight when viewed in dashboard contextSTRING
231 more matches not shown…
Docstring Block Structure63 hits · 315 pts
SeverityFileLineSnippetContext
HIGHproducts/batch_exports/backend/service.py56Align a timestamp to the batch export's interval boundary. For batch exports, intervals can have an offset from theSTRING
HIGH…oducts/batch_exports/backend/temporal/batch_exports.py275Iterate over Arrow batch records for a batch export. TODO: this can be removed once HTTP batch exports are migratedSTRING
HIGH…oducts/batch_exports/backend/temporal/batch_exports.py384Return the start and end of an export's data interval. Args: interval: The interval of the BatchExport assoSTRING
HIGH…ackend/temporal/destinations/snowflake_batch_export.py746Wrap Snowflake connector's polling API in a coroutine. This enables asynchronous execution of queries to releasSTRING
HIGH…ckend/temporal/destinations/databricks_batch_export.py513Execute a query asynchronously and poll for results. This is useful for long running queries as it means we donSTRING
HIGH…backend/temporal/destinations/bigquery_batch_export.py712Execute a query and wait for it to complete. Args: query: The query to execute. start_qSTRING
HIGHproducts/batch_exports/backend/api/batch_export.py92Validate and parse a date/datetime input as a proper dt.datetime. If the interval is daily or weekly, we expect theSTRING
HIGHproducts/experiments/backend/facade/api.py20 Create a new experiment. Transactional safety is provided by ExperimentService.create_experiment. Args: STRING
HIGH…ments/backend/hogql_queries/hogql_aggregation_utils.py32 Extract the aggregation function, inner expression, parameters, and distinct flag from a HogQL expression. ArgSTRING
HIGH…ments/backend/hogql_queries/hogql_aggregation_utils.py131 Build an aggregation function call AST node. Args: aggregation_function: The aggregation function nameSTRING
HIGH…cts/experiments/backend/hogql_queries/metric_source.py50 Factory method to create MetricSourceInfo from any source type. This provides a uniform interface for STRING
HIGH…riments/backend/hogql_queries/funnels_statistics_v2.py21 Calculate the win probabilities for each variant in an experiment using Bayesian analysis for funnel conversionSTRING
HIGH…riments/backend/hogql_queries/funnels_statistics_v2.py145 Determine if the experiment results are statistically significant using Bayesian analysis for funnel conversionSTRING
HIGH…riments/backend/hogql_queries/funnels_statistics_v2.py203 Calculate Bayesian credible intervals for conversion rates of each variant. This function computes the 95% creSTRING
HIGH…ts/backend/hogql_queries/trends_statistics_v2_count.py26 Calculate the win probabilities for each variant in an experiment using Bayesian analysis. This function compuSTRING
HIGH…ts/backend/hogql_queries/trends_statistics_v2_count.py103 Determines if experiment results are statistically significant. This function evaluates whether any variant caSTRING
HIGH…ts/backend/hogql_queries/trends_statistics_v2_count.py168 Calculate Bayesian credible intervals for each variant's rate using a Gamma-Poisson model. Credible intervals STRING
HIGH…ts/backend/hogql_queries/trends_statistics_v2_count.py234 Calculates expected loss in count/rate using Gamma-Poisson conjugate prior. This implementation uses a BayesiaSTRING
HIGH…periments/backend/hogql_queries/funnel_step_builder.py104 Build step columns as constants for DW subquery. Used in UNION ALL queries where each subquery represeSTRING
HIGH…ckend/hogql_queries/trends_statistics_v2_continuous.py30 Calculate the win probabilities for each variant in an experiment using Bayesian analysis for continuous metricSTRING
HIGH…ckend/hogql_queries/trends_statistics_v2_continuous.py190 Calculate Bayesian credible intervals for each variant's mean value using a log-normal model. This function coSTRING
HIGHproducts/experiments/stats/shared/cuped.py161Apply CUPED variance reduction to experiment statistics. This is the main public API. It computes the optimal regreSTRING
HIGHproducts/experiments/stats/frequentist/utils.py16 Calculate point estimate for treatment vs control comparison. Args: treatment_stat: Treatment group stSTRING
HIGHproducts/experiments/stats/frequentist/method.py69 Run statistical test comparing treatment vs control. Args: treatment_stat: Treatment groupSTRING
HIGHproducts/experiments/stats/bayesian/utils.py23 Calculate effect size and its variance for Bayesian analysis. Args: treatment_stat: Treatment group stSTRING
HIGHproducts/experiments/stats/bayesian/method.py119 Run Bayesian statistical test comparing treatment vs control. Args: treatment_stat: TreatmSTRING
HIGHproducts/experiments/stats/bayesian/tests.py154 Run Bayesian t-test comparing treatment vs control. Args: treatment_stat: Treatment group STRING
HIGHproducts/experiments/stats/bayesian/tests.py246 Run Bayesian test for proportion data using Normal approximation. Args: treatment_stat: TrSTRING
HIGHproducts/cohorts/backend/models/cohort.py1145 Remove a user from the cohort by their UUID. This operation is idempotent - it succeeds even if the peSTRING
HIGH…ckend/temporal/data_imports/sources/hubspot/helpers.py141 Fetch data from HUBSPOT endpoint using a specified API key and yield the properties of each result. For paginatSTRING
HIGH…ckend/temporal/data_imports/sources/hubspot/helpers.py241 Retrieve property names for a given entity from the HubSpot API. Args: entity: The entity name for whiSTRING
HIGHproducts/ai_observability/backend/translation/llm.py18 Translate text to target language using the LLM gateway. Args: text: The text to translate tarSTRING
HIGHproducts/ai_observability/backend/api/summarization.py257Extract entity ID and validated entity data based on summarize type. Args: summarize_type: 'trace' STRING
HIGHee/hogai/artifacts/manager.py111Retrieve artifact content by ID from the database. Args: artifact_id: The artifact's short ID. STRING
HIGHee/hogai/context/insight/query_executor.py169 Run a query and format the results with detailed fallback information. Args: query: The quSTRING
HIGHee/hogai/context/insight/query_executor.py265 Run a query and format the results with detailed fallback information. Args: query: The quSTRING
HIGHee/hogai/context/insight/query_executor.py312 Execute a query and return the response dict. Args: query: The query object exSTRING
HIGHee/hogai/context/insight/query_executor.py502 Format query results using appropriate formatter based on query type. Args: query: The queSTRING
HIGHee/hogai/chat_agent/parallel_task_execution/nodes.py151 Execute multiple tasks in parallel and yield results as they complete. This method implements true parSTRING
HIGHee/billing/queue/BillingConsumer.py87 Decompress and parse message body based on content encoding. Args: raw_body: The raw messaSTRING
HIGHcommon/migration_utils/__init__.py72Get the cache path for a migration file. Validates inputs before constructing path to prevent path traversal. STRING
HIGHcommon/migration_utils/__init__.py109Cache a migration file for later rollback. Creates the cache directory structure if needed and copies the migrationSTRING
HIGHposthog/email.py436 Sanitizes properties that will be used in email templates to prevent HTML injection and to defang URL-shaped stSTRING
HIGHposthog/temporal/proxy_service/cloudflare.py238 Create a Custom Hostname in Cloudflare for SaaS. This creates a custom hostname with: - SSL certificate prSTRING
HIGHposthog/temporal/proxy_service/cloudflare.py276 Get details of a Custom Hostname by ID. Args: hostname_id: The Cloudflare Custom Hostname ID RetuSTRING
HIGHposthog/temporal/proxy_service/cloudflare.py300 Find a Custom Hostname by domain name. Args: domain: The customer's domain (e.g., "analytics.customer.STRING
HIGHposthog/temporal/proxy_service/cloudflare.py339 Delete a Custom Hostname. Args: hostname_id: The Cloudflare Custom Hostname ID Returns: TSTRING
HIGH…mporal/ai_observability/trace_clustering/clustering.py39 Determine optimal k using silhouette score and return the clustering results. Args: embeddings: Array STRING
HIGHposthog/clickhouse/client/migration_tools.py41 Executes a SQL query on each node separately with specific options, handling distributed execution and node roles. STRING
HIGHposthog/dags/events_backfill_to_duckling.py955Parse a partition key into team_id and date. Args: key: Partition key in format "{team_id}_{date}" (e.g., "STRING
HIGHposthog/dags/events_backfill_to_duckling.py1097Check if a table exists in the DuckLake catalog. Args: conn: psycopg connection to the org's duckgres serveSTRING
HIGHposthog/dags/person_property_reconciliation.py1779 Query ClickHouse for distinct team_ids with property-setting events in the bug window. Args: bug_windoSTRING
HIGHposthog/tasks/process_scheduled_changes.py86 Compute the next scheduled run time based on recurrence interval. Uses relativedelta for reliable date arithmeSTRING
HIGHposthog/tasks/alerts/detectors/registry.py27 Factory function to create detector from config. Args: config: Detector configuration dict with 'type'STRING
HIGHposthog/models/person/point_in_time_properties.py33 Helper function to get person object and all distinct_ids for a person based on either distinct_id or person_id. STRING
HIGHposthog/models/person/point_in_time_properties.py112 Build person properties at a specific point in time from ClickHouse events. Args: team_id: The team IDSTRING
HIGHposthog/api/capture.py575 capture_batch_internal submits multiple capture request payloads to capture-rs on behalf of a customer team. TSTRING
HIGHposthog/api/capture.py759 capture_internal submits a single-event capture request payload to the capture-rs backend service. This is theSTRING
HIGHposthog/api/authentication.py728 Handle passkey-based 2FA authentication. Args: request: The HTTP request user:STRING
HIGHposthog/api/authentication.py817 Handle TOTP token or backup code 2FA authentication. Args: request: The HTTP request STRING
3 more matches not shown…
AI Structural Patterns241 hits · 197 pts
SeverityFileLineSnippetContext
LOWtools/hogbox-preview/hogbox_preview/hogland_backend.py99CODE
LOW…ols/hogli-commands/hogli_commands/tests/test_devbox.py912CODE
LOWtools/hogli-commands/hogli_commands/devbox/coder.py1285CODE
LOW…pp/backend/tests/services/test_slack_app_home_stats.py88CODE
LOWproducts/metrics/backend/tests/_seeder.py87CODE
LOWproducts/metrics/backend/tests/_seeder.py176CODE
LOW…ducts/batch_exports/backend/temporal/temporary_file.py64CODE
LOW…ducts/batch_exports/backend/temporal/temporary_file.py643CODE
LOWproducts/batch_exports/backend/temporal/utils.py252CODE
LOW…nd/temporal/destinations/file_download_batch_export.py276CODE
LOW…backend/temporal/destinations/postgres_batch_export.py648CODE
LOW…ports/backend/temporal/destinations/s3_batch_export.py798CODE
LOW…backend/temporal/destinations/bigquery_batch_export.py1162CODE
LOW…/tests/temporal/destinations/base_destination_tests.py293CODE
LOW…xports/backend/tests/temporal/destinations/s3/utils.py175CODE
LOW…/tests/temporal/destinations/bigquery/test_activity.py56CODE
LOW…/backend/tests/temporal/destinations/bigquery/utils.py60CODE
LOW…s/temporal/destinations/snowflake/test_workflow_e2e.py46CODE
LOW…backend/tests/temporal/destinations/snowflake/utils.py368CODE
LOW…s/temporal/destinations/snowflake/test_activity_e2e.py49CODE
LOW…/tests/temporal/destinations/redshift/test_activity.py38CODE
LOW…s/temporal/destinations/redshift/test_copy_activity.py59CODE
LOW…/backend/tests/temporal/destinations/redshift/utils.py58CODE
LOW…/tests/temporal/destinations/postgres/test_activity.py38CODE
LOW…/batch_exports/backend/tests/temporal/utils/persons.py100CODE
LOW…tch_exports/backend/api/destination_tests/snowflake.py222CODE
LOW…tch_exports/backend/api/destination_tests/snowflake.py314CODE
LOW…ucts/batch_exports/backend/api/destination_tests/s3.py115CODE
LOWproducts/cdp/backend/api/test/test_hog_function.py1897CODE
LOWproducts/cdp/backend/api/test/test_hog_function.py1932CODE
LOW…feature_flags/backend/api/organization_feature_flag.py724CODE
LOW…oducts/mcp_analytics/backend/tests/test_tool_tables.py402CODE
LOW…oducts/mcp_analytics/backend/tests/test_tool_tables.py139CODE
LOW…oducts/mcp_analytics/backend/tests/test_tool_tables.py253CODE
LOWproducts/marketing_analytics/backend/test_max_tools.py82CODE
LOWproducts/marketing_analytics/backend/test_max_tools.py120CODE
LOW…d/hogql_queries/test_attribution_paths_query_runner.py101CODE
LOW…hogql_queries/test_marketing_retention_query_runner.py75CODE
LOW…arketing_analytics/backend/services/test_setup_plan.py39CODE
LOW…aged_warehouse/backend/temporal/compaction_workflow.py161CODE
LOW…hogql_queries/test/test_error_tracking_query_runner.py218CODE
LOWproducts/tasks/backend/models.py787CODE
LOWproducts/tasks/backend/models.py1048CODE
LOWproducts/tasks/backend/models.py1104CODE
LOWproducts/tasks/backend/temporal/client.py193CODE
LOWproducts/tasks/backend/temporal/client.py291CODE
LOWproducts/tasks/backend/temporal/process_task/utils.py597CODE
LOW…s/backend/temporal/process_task/tests/test_workflow.py88CODE
LOW…ocess_task/activities/tests/test_start_agent_server.py51CODE
LOWproducts/tasks/backend/tests/test_webhooks.py1930CODE
LOWproducts/tasks/backend/logic/repo_selection/agent.py402CODE
LOW…kend/logic/services/custom_prompt_multi_turn_runner.py53CODE
LOW…kend/logic/services/custom_prompt_multi_turn_runner.py148CODE
LOW…asks/backend/logic/services/custom_prompt_internals.py206CODE
LOW…ducts/tasks/backend/logic/services/living_artifacts.py100CODE
LOW…ducts/tasks/backend/logic/services/living_artifacts.py166CODE
LOW…/tasks/backend/logic/services/agent_server_launcher.py78CODE
LOW…/tasks/backend/logic/services/agent_server_launcher.py216CODE
LOWproducts/tasks/backend/logic/services/workflow_tasks.py109CODE
LOWproducts/tasks/backend/logic/services/sandbox.py256CODE
181 more matches not shown…
Synthetic Comment Markers19 hits · 118 pts
SeverityFileLineSnippetContext
HIGHproducts/signals/backend/test/test_scout_harness_api.py890 # processing must not receive AI-generated records into its project.COMMENT
HIGHproducts/workflows/mcp/apps/EmailTemplateView.test.tsx46 // AI-generated html must not be able to run scripts.COMMENT
HIGHproducts/exports/backend/models/subscription.py601 # AI-generated summary sent in the delivery, when summary_enabled is on for the subscription.COMMENT
HIGH…ports/sources/adobe_commerce/canonical_descriptions.py193 "description": "Coupon codes attached to cart price rules, including auto-generated codes and their usage limitsCODE
HIGH…backend/temporal/data_imports/sources/gong/settings.py105 # participants and CRM links. Kept as its own default-off table because a call's AI-generatedCOMMENT
HIGHproducts/actions/backend/models/action.py58 summary = models.TextField(blank=True, null=True, help_text="A summary of the action, generated by AI")CODE
HIGHproducts/surveys/backend/models.py274 # AI-generated headline summarySTRING
HIGHproducts/surveys/backend/models.py278 # AI-generated per-question summariesSTRING
HIGHproducts/surveys/backend/models.py285 # Used as the "original" label in the editor and as the source language for AI-generated translations.STRING
HIGHproducts/surveys/backend/api/survey.py253 help_text="Editor field paths generated by AI and safe to highlight as draft content.",CODE
HIGHfrontend/src/scenes/insights/insightDataLogic.tsx637 // AI-generated link) have no default to compare against, so treat as changedCOMMENT
HIGHfrontend/src/scenes/feature-flags/flagSelectionLogic.ts158 // Copied targets are inferred as requested-minus-failed (robust to success itemsCOMMENT
HIGH…end/src/layout/scenes/components/SceneTitleSection.tsx458 // external update (loading a resource, an AI-generated name) apart from an echo ofCOMMENT
HIGH…rc/layout/scenes/components/SceneTitleSection.test.tsx32 // an AI-generated name) must still replace the field's value.COMMENT
HIGH…c/lib/components/HedgehogMode/HedgehogMode.stories.tsx20// NOTE: 100% generated by ChatGPT for fun!COMMENT
HIGHee/api/test/test_subscription.py2145 # row so they fall below the read level required to see AI-generated report content.COMMENT
HIGH.agents/skills/survey-sdk-audit/SKILL.md284_This issue was generated by Claude using the `/survey-sdk-audit` skill._CODE
HIGH…_recordings/sql/session_replay_event_migrations_sql.py356# MIGRATION: Add AI-generated columns for session taggingSTRING
HIGHposthog/hogql_queries/query_runner.py2113 # current state. Async-only and cache-only modes are left as requested — they explicitly optCOMMENT
Slop Phrases23 hits · 42 pts
SeverityFileLineSnippetContext
LOWproducts/feature_flags/backend/flag_analytics.py46# :NOTE: When making changes here, make sure you run test_no_interference_between_different_types_of_new_incoming_incremCOMMENT
LOWproducts/feature_flags/backend/models/feature_flag.py144 # When adding new fields, make sure to update organization_feature_flags.py::copy_flagsCOMMENT
MEDIUM…backend/templates/announce_a_new_feature_template.json771 "html": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional //EN\" \"http://www.w3.oCODE
MEDIUMproducts/revenue_analytics/dags/exchange_rate.py20 # NOTE: For local development, you can add this key to a `.env` file in the root of the projectCOMMENT
LOWproducts/notebooks/backend/models.py88 # When adding a new foreign key, make sure to add the foreign key field and append field nameCOMMENT
LOW…/backend/lazy_computation/lazy_computation_executor.py725 # Don't forget to add the last rangeCOMMENT
LOW…src/scenes/settings/environment/replayTriggersLogic.ts521 ${sanitizedUrl}, ${sanitizedUrl}/, ${sanitizedUrl}/page, etc. Don't forget to include https:// aCODE
LOW…src/scenes/settings/environment/replayTriggersLogic.ts538 ${sanitizedUrl}, ${sanitizedUrl}/, ${sanitizedUrl}/page, etc. Don't forget to include https:// aCODE
MEDIUM…ntend/src/scenes/surveys/SurveyWidgetCustomization.tsx74 info="Enter a class or ID selector for the feedback button, like .feedback-button or #feCODE
LOW…omponents/IngestionControls/triggers/urlConfigLogic.ts224 ${sanitizedUrl}, ${sanitizedUrl}/, ${sanitizedUrl}/page, etc. Don't forget to include https:// aCODE
MEDIUMee/hogai/core/runner.py346 content="I'm unable to process this request. The conversation may be too long. Please start a neCODE
MEDIUMee/hogai/core/runner.py370 content="I'm unable to respond right now due to a temporary service issue. Please try again lateCODE
MEDIUMee/hogai/core/runner.py394 content="I'm unable to respond right now due to a temporary service issue. Please try again lateCODE
MEDIUMee/hogai/core/runner.py418 content="I'm unable to respond right now. Please try again later.",CODE
MEDIUMee/hogai/core/test/test_runner.py125 "I'm unable to process this request. The conversation may be too long. Please start a new conversation."CODE
MEDIUMee/hogai/core/test/test_runner.py219 "I'm unable to respond right now due to a temporary service issue. Please try again later.",CODE
MEDIUMee/hogai/core/test/test_runner.py281 "I'm unable to respond right now due to a temporary service issue. Please try again later.",CODE
MEDIUMee/hogai/core/test/test_runner.py342 "I'm unable to respond right now. Please try again later.",CODE
MEDIUM.dagster_home/workspace.yaml4 ## Most dags are not loaded in local dev, but you can add things if you believe they belong here.COMMENT
LOWposthog/urls.py689 # NOTE: When adding paths here that should be public make sure to update ALWAYS_ALLOWED_ENDPOINTS in middleware.pyCOMMENT
LOWposthog/models/tagged_item.py39 # When adding a new taggeditem-model relationship, make sure to add the foreign key field and append field name toCOMMENT
MEDIUMposthog/models/exchange_rate/currencies.py8# If you need a currency that's not in this list, you can add it to the list byCOMMENT
LOW…hogql/transforms/preaggregated_table_transformation.py429 # Some of these could be supported in the future, if you add them, make sure you add some tests!COMMENT
Dead Code17 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUM…/stamphog/packages/pr-approval-agent/test_review_pr.py570CODE
MEDIUM…eling/backend/test/test_preview_freshness_schedules.py39CODE
MEDIUM…/data_modeling/backend/test/test_schedule_reconcile.py155CODE
MEDIUM…/data_modeling/backend/test/test_schedule_reconcile.py340CODE
MEDIUM…/data_modeling/backend/test/test_schedule_reconcile.py390CODE
MEDIUM…modeling/backend/test/test_schedule_materialization.py29CODE
MEDIUM…deling/backend/tests/test_managed_viewset_providers.py41CODE
MEDIUM…orts/sources/common/rest_source/tests/test_resource.py14CODE
MEDIUM…_imports/sources/sourcegraph/tests/test_sourcegraph.py365CODE
MEDIUMee/hogai/core/test/test_agent_executor.py530CODE
MEDIUMee/hogai/core/test/test_runner.py29CODE
MEDIUMee/hogai/core/test/test_runner.py763CODE
MEDIUMee/hogai/stream/test/test_redis_stream.py409CODE
MEDIUM…thog/temporal/tests/data_modeling/test_run_workflow.py1788CODE
MEDIUM…thog/temporal/tests/data_modeling/test_run_workflow.py1851CODE
MEDIUM…ests/data_modeling/test_materialize_view_activities.py1659CODE
MEDIUMservices/llm-gateway/tests/test_streaming_errors.py232CODE
Magic Placeholder Names5 hits · 25 pts
SeverityFileLineSnippetContext
HIGH…end/temporal/data_imports/sources/mailerlite/source.py127 -H "Authorization: Bearer YOUR_API_KEY" \\CODE
HIGHrust/capture-logs/README.md95 -H "Authorization: Bearer your-api-key" \CODE
HIGHrust/capture-logs/README.md106 -H "Authorization: Bearer your-api-key" \CODE
HIGHdocs/onboarding/product-analytics/helicone.tsx39 api_key="your-api-key-here", # Replace with your OpenAI API keyCODE
HIGHdocs/onboarding/ai-observability/vercel-ai-gateway.tsx11 apiKeyPlaceholder: '<your_api_key>',CODE
Example Usage Blocks16 hits · 25 pts
SeverityFileLineSnippetContext
LOWnodejs/src/logs/sampling-seed-services-curl.sh13# Usage:COMMENT
LOWtools/phrocs/install.sh4# Usage:COMMENT
LOWproducts/desktop/scripts/clean-posthog-code-macos.sh5# Usage:COMMENT
LOWproducts/desktop/packages/agent/e2e/run-e2e.sh11# Usage:COMMENT
LOW…ktop/apps/code/scripts/dev-update/run-from-ci-forge.sh12# Usage:COMMENT
LOW…ts/desktop/apps/code/scripts/dev-update/run-from-ci.sh11# Usage:COMMENT
LOWproducts/desktop/apps/mobile/scripts/send-test-push.sh3# Usage:COMMENT
LOWbin/send-dev-metrics.sh5# Usage:COMMENT
LOWlivestream/docker-compose.integration.yml4# Usage:COMMENT
LOWcommon/storybook/update-storybook-timings.sh6# Usage:COMMENT
LOW.github/workflows/rust-smoke-test-build.yml7# Usage:COMMENT
LOW…b/scripts/verify-playwright-new-tests-and-snapshots.sh7# Usage:COMMENT
LOW.github/scripts/verify-storybook-new-stories.sh7# Usage:COMMENT
LOW.github/scripts/compare-ci-runners.py10# Usage:COMMENT
LOWposthog/management/commands/js_snippet_version.py25# Usage:COMMENT
LOWposthog/models/scoping/__init__.py14# Usage:COMMENT
Overly Generic Function Names23 hits · 21 pts
SeverityFileLineSnippetContext
LOW…/hogli-commands/hogli_commands/tests/test_crossings.py498 module = "BOT_DEFINITIONS = [...]\nLIMIT: int = 5\n_private = 1\n\nclass Runner: ...\n\ndef helper(): ...\n"STRING
LOW…oducts/tasks/backend/logic/services/hogland_sandbox.py414 def execute_task(CODE
LOWproducts/tasks/backend/logic/services/sandbox.py500 def execute_task(CODE
LOWproducts/tasks/backend/logic/services/modal_sandbox.py1182 def execute_task(CODE
LOWproducts/tasks/backend/logic/services/docker_sandbox.py834 def execute_task(CODE
LOWproducts/tasks/backend/facade/api.py6627def run_task(CODE
LOW…/desktop/packages/enricher/src/import-resolver.test.ts45 "def helper():\n pass\n",CODE
LOWfrontend/src/lib/ui/Collapsible/Collapsible.stories.tsx87 {`function handleRequest(req, res) {CODE
LOWee/hogai/chat_agent/parallel_task_execution/nodes.py185 async def execute_task(callable_func=task_callable, input_data=input_dict):CODE
LOW.semgrep/rules/security/data-imports-http-transport.py124def do_something() -> None:CODE
LOW.semgrep/rules/security/data-imports-grpc-transport.py88def do_something() -> None:CODE
LOWcommon/storybook/.storybook/public/mockServiceWorker.js121async function handleRequest(event, requestId, requestInterceptedAt) {CODE
LOWposthog/clickhouse/client/test/test_tracing.py19 def test_function(CODE
LOWposthog/clickhouse/client/test/test_tracing.py74 def test_function(CODE
LOWposthog/clickhouse/client/test/test_tracing.py104 def test_function(CODE
LOWposthog/clickhouse/client/test/test_tracing.py134 def test_function(CODE
LOWposthog/clickhouse/client/test/test_tracing.py177 def test_function(CODE
LOWposthog/clickhouse/client/test/test_tracing.py207 def test_function(CODE
LOWposthog/clickhouse/client/test/test_tracing.py236 def test_function(CODE
LOWposthog/clickhouse/client/test/test_tracing.py266 def test_function(CODE
LOWposthog/clickhouse/client/test/test_tracing.py288 def test_function(CODE
LOWposthog/clickhouse/client/test/test_tracing.py310 def test_function(CODE
LOWposthog/slo/context.py18 def helper() -> None:STRING
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…nd/hogql_queries/test/test_web_stats_pre_aggregated.py420 # Note: PAGE and VIEWPORT breakdowns are excluded. I will add them back in later.COMMENT
TODO Padding5 hits · 6 pts
SeverityFileLineSnippetContext
LOW…ns/components/session-update/ToolCallBlock.stories.tsx411 text: `src/utils/helpers.ts:15: // TODO: Add error handlingCODE
LOW…ts/access_control/backend/tests/test_access_control.py1497# TODO: Add tests to check that a dashboard can't be edited if the user doesn't have accessCOMMENT
LOWee/tasks/subscriptions/slack_subscriptions.py135 # TODO: Write error to subscription...COMMENT
LOWrust/batch-import-worker/src/parse/content/amplitude.rs1361 // TODO: Add test for cache failure scenarios once we have better error handlingCOMMENT
LOW…es/insights/funnels/funnel_correlation_query_runner.py1003 # TODO: implement or removeSTRING