Open Source Feature Flags, Experimentation, and Product Analytics
This report presents the forensic synthetic code analysis of growthbook/growthbook, a TypeScript project with 7,991 GitHub stars. SynthScan v2.0 examined 809,610 lines of code across 3250 source files, recording 1985 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 2.8 places this repository in the Likely human-written 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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.
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.
The scanner identified 1985 distinct pattern matches across 20 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/stats-ts/src/contextualBanditWeights.ts | 450 | export function computeContextualBanditWeights( | CODE |
| LOW | packages/stats-ts/src/statistics.ts | 573 | export function computeThetaRegressionAdjustedRatio( | CODE |
| LOW | packages/stats-ts/src/statistics.ts | 752 | export function createThetaAdjustedStatistics( | CODE |
| LOW | packages/stats-ts/src/settings.ts | 264 | export function getContextualBanditSettings( | CODE |
| LOW | packages/stats-ts/src/utils.ts | 146 | export function isStatisticallySignificant(ci: number[]): boolean { | CODE |
| LOW | packages/stats-ts/src/banditWeights.ts | 125 | function probKthArmIsBiggestGaussHermite( | CODE |
| LOW | packages/stats-ts/src/banditWeights.ts | 141 | export function bestArmProbabilitiesGaussHermite( | CODE |
| LOW⚡ | packages/sdk-js/src/core.ts | 1038 | function getStickyBucketExperimentKey( | CODE |
| LOW⚡ | packages/sdk-js/src/core.ts | 1046 | export function getStickyBucketAttributeKey( | CODE |
| LOW⚡ | packages/sdk-js/src/core.ts | 1053 | function getStickyBucketAssignments( | CODE |
| LOW | packages/sdk-js/src/core.ts | 1087 | function generateStickyBucketAssignmentDoc( | CODE |
| LOW | packages/sdk-js/src/core.ts | 1118 | function deriveStickyBucketIdentifierAttributes( | CODE |
| LOW | packages/sdk-js/src/core.ts | 1149 | export async function getAllStickyBucketAssignmentDocs( | CODE |
| LOW | packages/sdk-js/src/core.ts | 1158 | export function getStickyBucketAttributes( | CODE |
| LOW | packages/sdk-js/src/util.ts | 377 | export function getAutoExperimentChangeType( | CODE |
| LOW | packages/shared/test/decisionCriteria.test.ts | 14 | function setMetricsOnResultsStatus({ | CODE |
| LOW | packages/shared/test/permissions-demo-project.test.ts | 32 | function getAdminPermissionsForDemoOnlyOrg(): Permissions { | CODE |
| LOW | packages/shared/test/snapshot-analysis-chunks.test.ts | 89 | function makeExperimentSnapshotAnalysisChunk( | CODE |
| LOW | packages/shared/scripts/gen-sdk-resources.ts | 14 | function defineSDKCapabilityVersion(sdk: string, capabilities: string[]) { | CODE |
| LOW | packages/shared/src/dates.ts | 89 | export function dateStringArrayBetweenDates( | CODE |
| LOW | packages/shared/src/sql.ts | 126 | export function usesBackslashStringEscapes( | CODE |
| LOW | packages/shared/src/ai-chat.ts | 89 | export function stringifyToolResultForStorage(output: unknown): string { | CODE |
| LOW | packages/shared/src/ai.ts | 289 | export function resolveImageModelIdForSdk(model: string): string { | CODE |
| LOW | packages/shared/src/ai.ts | 381 | export function buildImageAspectInstruction({ | CODE |
| LOW | packages/shared/src/ai.ts | 433 | export function getProviderFromEmbeddingModel( | CODE |
| LOW | packages/shared/src/ai.ts | 554 | export function formatAIRateLimitRetryMessage( | CODE |
| LOW | packages/shared/src/snapshot-analysis-chunks.ts | 64 | export function encodeSnapshotAnalysisChunks( | CODE |
| LOW | packages/shared/src/snapshot-analysis-chunks.ts | 229 | export function decodeSnapshotAnalysisChunks( | CODE |
| LOW | packages/shared/src/snapshot-analysis-chunks.ts | 378 | export function migrateLegacySnapshotAnalysisChunkData( | CODE |
| LOW | packages/shared/src/power/power.ts | 430 | export function sequentialPowerSequentialVariance( | CODE |
| LOW | packages/shared/src/power/power.ts | 447 | export function sequentialPowerStandardError( | CODE |
| LOW | packages/shared/src/power/power.ts | 476 | function getSequentialTuningParameter( | CODE |
| LOW | packages/shared/src/power/power.ts | 727 | function calculatePriorMeanSpecified( | CODE |
| LOW | packages/shared/src/power/power.ts | 739 | function calculatePriorVarianceSpecified( | CODE |
| LOW | packages/shared/src/power/power.ts | 759 | function calculatePriorVarianceDGP( | CODE |
| LOW | packages/shared/src/power/power.ts | 784 | function getMarginalVarianceTauHat( | CODE |
| LOW | …ed/src/settings/resolvers/genMetricOverrideResolver.ts | 12 | export default function genMetricOverrideResolver( | CODE |
| LOW | packages/shared/src/sdk-versioning/sdk-payload.ts | 93 | export function conditionHasSavedGroupErrors( | CODE |
| LOW | packages/shared/src/sdk-versioning/index.ts | 254 | export function getMinSupportedSDKVersions( | CODE |
| LOW | packages/shared/src/enterprise/power.ts | 97 | function sequentialIntervalHalfwidth( | CODE |
| LOW | packages/shared/src/enterprise/power.ts | 108 | function calculateMidExperimentPowerSingleError( | CODE |
| LOW | packages/shared/src/enterprise/power.ts | 128 | export function calculateMidExperimentPowerSingle( | CODE |
| LOW | packages/shared/src/enterprise/power.ts | 290 | function calculateMidExperimentPowerBayes( | CODE |
| LOW | packages/shared/src/enterprise/power.ts | 310 | function calculateMidExperimentPowerFreq( | CODE |
| LOW | packages/shared/src/enterprise/power.ts | 334 | export function calculateMidExperimentPower( | CODE |
| LOW | packages/shared/src/enterprise/power.ts | 441 | export function getAverageExposureOverLastNDays( | CODE |
| LOW | packages/shared/src/enterprise/pipeline.ts | 41 | export function normalizeIncrementalFullRefreshField( | CODE |
| LOW | packages/shared/src/enterprise/pipeline.ts | 55 | export function getIncrementalFullRefreshReasons( | CODE |
| LOW | packages/shared/src/enterprise/pipeline.ts | 81 | export function isExperimentCoveredByIncrementalPipeline( | CODE |
| LOW | packages/shared/src/enterprise/pipeline.ts | 99 | export function getUnsupportedIncrementalExperimentTypeReason( | CODE |
| LOW | packages/shared/src/enterprise/pipeline.ts | 119 | export function isExperimentIncrementalEnabled( | CODE |
| LOW | packages/shared/src/enterprise/pipeline.ts | 137 | export function getIncrementalPipelineUnsupportedReason(params: { | CODE |
| LOW | packages/shared/src/enterprise/pipeline.ts | 226 | export function bigQueryCreateTableOptions( | CODE |
| LOW⚡ | packages/shared/src/enterprise/pipeline.ts | 239 | export function databricksCreateTableOptions( | CODE |
| LOW⚡ | packages/shared/src/enterprise/pipeline.ts | 249 | export function snowflakeCreateTableOptions( | CODE |
| LOW⚡ | packages/shared/src/enterprise/pipeline.ts | 258 | export function getPipelineValidationCreateTableQuery({ | CODE |
| LOW | packages/shared/src/enterprise/pipeline.ts | 271 | export function getPipelineValidationInsertQuery({ | CODE |
| LOW | packages/shared/src/enterprise/pipeline.ts | 281 | export function getPipelineValidationDropTableQuery({ | CODE |
| LOW | packages/shared/src/enterprise/pipeline.ts | 293 | export function bigQueryCreateTablePartitions( | CODE |
| LOW | packages/shared/src/enterprise/pipeline.ts | 325 | export function prestoCreateTablePartitions(columns: string[]) { | CODE |
| 1527 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/shared/src/util/features.ts | 1436 | // ── Scheduled / deferred publish ──────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/shared/src/revisions/helpers.ts | 460 | // ── Revision display helpers ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/shared/src/revisions/scheduledPublish.ts | 1 | // ── Scheduled / deferred publish ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …/front-end/test/components/RampScheduleSection.test.ts | 232 | // ── Timing changes must NOT break the match ─────────────────────────────── | COMMENT |
| MEDIUM | …rprise/components/ProductAnalytics/ExplorerContext.tsx | 66 | // ─── State ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rprise/components/ProductAnalytics/ExplorerContext.tsx | 91 | // ─── Modifiers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/front-end/styles/global.scss | 3794 | // ── rrweb-player control bar overrides ─────────────────────────────────────── | COMMENT |
| MEDIUM | …-end/components/RampSchedule/RampMonitoringSignals.tsx | 971 | // ── Signal-aware buttons (rollback / hold) ────────────────────────────── | COMMENT |
| MEDIUM | …-end/components/RampSchedule/RampMonitoringSignals.tsx | 1073 | // ── Approval CTA ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ges/front-end/components/RampSchedule/RampTimeline.tsx | 27 | // ─── helpers ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ges/front-end/components/RampSchedule/RampTimeline.tsx | 153 | // ─── PopoverEffectRow ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ges/front-end/components/RampSchedule/RampTimeline.tsx | 176 | // ─── Popover patch display ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ges/front-end/components/RampSchedule/RampTimeline.tsx | 338 | // ─── Node popover content ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ges/front-end/components/RampSchedule/RampTimeline.tsx | 568 | // ─── NodeDot ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ges/front-end/components/RampSchedule/RampTimeline.tsx | 594 | // ─── Node ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ges/front-end/components/RampSchedule/RampTimeline.tsx | 669 | // ─── Connector ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ges/front-end/components/RampSchedule/RampTimeline.tsx | 691 | // ─── RampTimeline ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ges/front-end/components/RampSchedule/RampTimeline.tsx | 701 | // ─── Exported helpers (used by parent pages to build header rows) ───────────── | COMMENT |
| MEDIUM | …ges/front-end/components/RampSchedule/RampTimeline.tsx | 752 | // ─── RampTimeline ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ront-end/components/RampSchedule/RampScheduleModal.tsx | 27 | // ─── Types ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ront-end/components/RampSchedule/RampScheduleModal.tsx | 38 | // ─── Helpers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ront-end/components/RampSchedule/RampScheduleModal.tsx | 129 | // ─── Component ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ront-end/components/RampSchedule/RampScheduleModal.tsx | 143 | // ── Ramp section state ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ront-end/components/RampSchedule/RampScheduleModal.tsx | 150 | // ── Save ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ront-end/components/RampSchedule/RampScheduleModal.tsx | 218 | // ── Render ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-end/components/RampSchedule/RampTimeline.module.scss | 1 | // ─── Theme-aware color tokens ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-end/components/RampSchedule/RampTimeline.module.scss | 16 | // ─── constants (mirrored from TSX) ────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-end/components/RampSchedule/RampTimeline.module.scss | 41 | // ─── NodeDot ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-end/components/RampSchedule/RampTimeline.module.scss | 74 | // ─── Node ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-end/components/RampSchedule/RampTimeline.module.scss | 100 | // ─── Connector ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-end/components/RampSchedule/RampTimeline.module.scss | 127 | // ─── PopoverEffectRow ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-end/components/RampSchedule/RampTimeline.module.scss | 138 | // ─── NodePopoverContent ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-end/components/RampSchedule/RampTimeline.module.scss | 150 | // ─── Scheduled date two-line label ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-end/components/RampSchedule/RampTimeline.module.scss | 156 | // ─── RampTimeline root ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …s/front-end/components/Features/FeatureDiffRenders.tsx | 255 | // ─── Ramp schedule diff helpers ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …s/front-end/components/Features/FeatureDiffRenders.tsx | 1658 | // ─── Prerequisite diff helpers ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-end/components/SavedGroups/SavedGroupDiffRenders.tsx | 150 | // ─── Section renders ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …t-end/components/SavedGroups/SavedGroupDiffRenders.tsx | 582 | // ─── Badge getters ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 43 | // ─── Helpers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 141 | // ─── Section renders ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 179 | // ── Attribute targeting (condition) ────────────────────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 207 | // ── Saved group targeting ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 233 | // ── Prerequisite targeting ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 261 | // ── Traffic (coverage + weights) ───────────────────────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 287 | // ── Namespace ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 308 | // ── Hash seed ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 589 | // ── Bandit schedule / burn-in ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 623 | // ── Long-text fields ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 638 | // ── Fallback for any future/unhandled fields ─────────────────────────────── | COMMENT |
| MEDIUM⚡ | …nt-end/components/Experiment/ExperimentDiffRenders.tsx | 752 | // ─── Badge getters ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ckages/front-end/components/Reviews/diffCopyFormats.ts | 175 | // ── "LLM / agents": XML-wrapped before/after per entity ────────────────────── | COMMENT |
| MEDIUM | …nt-end/components/Reviews/Feature/revisionLogReplay.ts | 7 | // ─── Log replay engine ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/back-end/test/services/rampSchedule.test.ts | 807 | // ── condition ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/back-end/test/services/rampSchedule.test.ts | 834 | // ── savedGroups ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/back-end/test/services/rampSchedule.test.ts | 861 | // ── prerequisites ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/back-end/test/services/rampSchedule.test.ts | 888 | // ── force (null is a valid value, not a clear signal) ──────────────────── | COMMENT |
| MEDIUM | packages/back-end/test/services/rampSchedule.test.ts | 907 | // ── cross-field independence ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/back-end/src/events/eventEnvironments.ts | 9 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/back-end/src/events/eventEnvironments.ts | 27 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/back-end/src/services/experiment-feature.ts | 426 | // ── Phase 1: prune stale + gate on approval + merge against live ───────── | COMMENT |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | charts/growthbook/values.yaml | 81 | # - name: EMAIL_HOST | COMMENT |
| LOW | charts/growthbook/values.yaml | 101 | # - name: S3_REGION | COMMENT |
| LOW | charts/growthbook/values.yaml | 121 | # value: "" | COMMENT |
| LOW | charts/growthbook/charts/server/Chart.yaml | 1 | apiVersion: v2 | COMMENT |
| LOW | charts/growthbook/charts/server/Chart.yaml | 21 | # incremented each time you make changes to the application. Versions are not expected to | COMMENT |
| LOW | charts/growthbook/charts/server/values.yaml | 81 | paths: | COMMENT |
| LOW | docs/sidebars.js | 441 | type: "doc", | COMMENT |
| LOW | docs/src/styles/custom.scss | 261 | // --ifm-color-primary-lighter: #d9bff8; | COMMENT |
| LOW | docs/src/styles/components/_menus.scss | 141 | // padding-inline-end: 0; | COMMENT |
| LOW | docs/src/styles/components/_stepper.scss | 41 | background: var(--stepper-step-number-border); | COMMENT |
| LOW | docs/src/styles/components/_button-card.scss | 41 | // Unused classes that we may use in the future | COMMENT |
| LOW | docs/src/styles/components/_button-card.scss | 61 | // &.button-card--default { | COMMENT |
| LOW | docs/src/styles/components/_markdown.scss | 1 | // html[data-theme="light"] { | COMMENT |
| LOW | packages/shared/types/feature.d.ts | 61 | // `environments: string[]`. Upgraded by `upgradeV0Feature`. | COMMENT |
| LOW | packages/shared/types/query.d.ts | 81 | | "aggregatedFactTableCreate" | COMMENT |
| LOW | packages/shared/types/stats.d.ts | 21 | // comparisons / display strings) or any single piece of it without pulling | COMMENT |
| LOW | packages/shared/src/snapshot-analysis-chunks.ts | 341 | // -- Legacy chunk migration -- | COMMENT |
| LOW | packages/shared/src/enterprise/product-analytics/sql.ts | 681 | `Selected unit ${selectedUnit} is not in the fact table user id types`, | COMMENT |
| LOW | packages/shared/src/util/diffFormats.ts | 1 | // Schema-keyed JSON formats for change-sets (feature revisions, etc.). These | COMMENT |
| LOW | packages/shared/src/util/diffFormats.ts | 241 | // { | COMMENT |
| LOW | packages/shared/src/util/diffFormats.ts | 301 | COMMENT | |
| LOW | packages/shared/src/util/event-forwarder-datasource.ts | 21 | COMMENT | |
| LOW | packages/shared/src/util/format-json.ts | 1 | // Format a parsed JSON value for display/storage with one design rule: | COMMENT |
| LOW | packages/shared/src/util/features.ts | 361 | } | COMMENT |
| LOW | packages/shared/src/util/features.ts | 461 | // safely, so preserve the value's `$extends` array verbatim (lossless, just | COMMENT |
| LOW | packages/shared/src/util/features.ts | 1361 | // because changes were published after approval. | COMMENT |
| LOW | packages/shared/src/util/features.ts | 1541 | normalizeMetadataValue(k, revision.metadata![k]), | COMMENT |
| LOW | packages/shared/src/util/features.ts | 2161 | COMMENT | |
| LOW | packages/shared/src/util/index.ts | 401 | if (rule.environments === undefined) return applicableEnvs; | COMMENT |
| LOW | packages/shared/src/validators/constant.ts | 81 | } | COMMENT |
| LOW | packages/shared/src/validators/constant.ts | 181 | } | COMMENT |
| LOW | packages/shared/src/validators/features.ts | 541 | COMMENT | |
| LOW | packages/shared/src/validators/features.ts | 621 | // auto-publish executes with this user's authority. Absent when armed by | COMMENT |
| LOW | packages/shared/src/validators/revisions.ts | 161 | // `authorId` when absent. | COMMENT |
| LOW | packages/front-end/ui/Modal/index.tsx | 281 | COMMENT | |
| LOW | …/front-end/test/components/RampScheduleSection.test.ts | 401 | }); | COMMENT |
| LOW | packages/front-end/test/services/importing.test.ts | 1141 | // The LD importer produces output consumed directly by the v2 write | COMMENT |
| LOW | …ages/front-end/test/services/statsig-importing.test.ts | 1 | import { StatsigFeatureGate } from "@/services/importing/statsig/types"; | COMMENT |
| LOW | …components/ProductAnalytics/AIChat/ChatMessageList.tsx | 161 | !!item.toolResultData && | COMMENT |
| LOW | packages/front-end/components/OpenVisualEditorLink.tsx | 61 | COMMENT | |
| LOW | …es/front-end/components/GeneralSettings/AISettings.tsx | 61 | // We present a closed dropdown rather than free text — letting users | COMMENT |
| LOW | …components/Experiment/CompareExperimentEventsModal.tsx | 101 | // Exhaustiveness-checked map of every ExperimentPhaseStringDates field to its | COMMENT |
| LOW | …s/front-end/components/Experiment/SnapshotProvider.tsx | 141 | // the dimensionless snapshot | COMMENT |
| LOW | …components/Experiment/VisualChangesetTable.module.scss | 1 | // Component-local stylesheet for the redesigned "Values" block (visual | COMMENT |
| LOW | …ont-end/components/Experiment/VisualChangesetTable.tsx | 381 | COMMENT | |
| LOW | …t-end/components/Experiment/visualChangesetHumanize.ts | 21 | // filenames, color/border tokens, line counts) is either cryptic | COMMENT |
| LOW | packages/front-end/components/Revision/RevisionDiff.tsx | 21 | // "full" renders the human-readable summary followed by the JSON diffs | COMMENT |
| LOW | …/front-end/components/Revision/revisionTimelineLogs.ts | 161 | // are available — i.e. the diff/raw-JSON the disclosure was scoped to | COMMENT |
| LOW | …/front-end/components/Revision/ReviewAndPublishTab.tsx | 381 | scheduledPending && !!revision.scheduledPublishBypassApproval; | COMMENT |
| LOW | …ckages/front-end/components/Reviews/diffCommentRefs.ts | 1 | import { diffLines } from "diff"; | COMMENT |
| LOW | …ckages/front-end/components/Reviews/diffCommentRefs.ts | 21 | // is the semantic key of the diff section (see `FeatureRevisionDiff.key`), | COMMENT |
| LOW | packages/front-end/components/Reviews/ReviewHeader.tsx | 61 | title: string; | COMMENT |
| LOW | …/front-end/components/Reviews/reviewAndPublishState.ts | 1 | import type { RevisionStatus } from "shared/validators"; | COMMENT |
| LOW | …/front-end/components/Reviews/reviewAndPublishState.ts | 41 | // can return it to draft even if someone else requested the review. | COMMENT |
| LOW | …ages/front-end/components/Reviews/DivergenceNotice.tsx | 21 | // When the approval is stale: when the surviving approval was given and how | COMMENT |
| LOW | …/front-end/components/Reviews/ReviewCommentPopover.tsx | 61 | interface Props { | COMMENT |
| LOW | …/front-end/components/Reviews/ReviewCommentPopover.tsx | 81 | // the non-armed "Submit and Publish" option, which publishes as the reviewer. | COMMENT |
| LOW | …ages/front-end/components/Reviews/RevisionTimeline.tsx | 81 | COMMENT | |
| LOW | …ont-end/components/Reviews/ScheduledPublishControl.tsx | 41 | // mode dropdown ("when approved" vs "on a specific date" — mutually exclusive on | COMMENT |
| LOW | …ont-end/components/Reviews/ScheduledPublishControl.tsx | 81 | // { scheduledPublishAt: null } to clear. | COMMENT |
| 71 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ghlighting/Snippets/MultivariateFeatureCodeSnippet.tsx | 167 | print(value) | CODE |
| HIGH | …ghlighting/Snippets/MultivariateFeatureCodeSnippet.tsx | 220 | print(value) | CODE |
| HIGH⚡ | …axHighlighting/Snippets/GrowthBookSetupCodeSnippet.tsx | 518 | print("Viewed Experiment") | CODE |
| HIGH⚡ | …axHighlighting/Snippets/GrowthBookSetupCodeSnippet.tsx | 519 | print("Experiment Id: ", experiment.key) | CODE |
| HIGH⚡ | …axHighlighting/Snippets/GrowthBookSetupCodeSnippet.tsx | 520 | print("Variation Id: ", experimentResult.variationId) | CODE |
| HIGH⚡ | …axHighlighting/Snippets/GrowthBookSetupCodeSnippet.tsx | 679 | print("Viewed Experiment") | CODE |
| HIGH⚡ | …axHighlighting/Snippets/GrowthBookSetupCodeSnippet.tsx | 680 | print("Experiment Id: " + experiment.key) | CODE |
| HIGH⚡ | …axHighlighting/Snippets/GrowthBookSetupCodeSnippet.tsx | 681 | print("Variation Id: " + result.key) | CODE |
| HIGH⚡ | …axHighlighting/Snippets/GrowthBookSetupCodeSnippet.tsx | 778 | print("Viewed Experiment") | CODE |
| HIGH⚡ | …axHighlighting/Snippets/GrowthBookSetupCodeSnippet.tsx | 779 | print("Experiment Id: " + gbExperiment.key) | CODE |
| HIGH⚡ | …axHighlighting/Snippets/GrowthBookSetupCodeSnippet.tsx | 780 | print("Variation Id: " + gbExperimentResult.variationId) | CODE |
| HIGH | …taxHighlighting/Snippets/BooleanFeatureCodeSnippet.tsx | 190 | print("Feature is enabled!") | CODE |
| HIGH | packages/back-end/src/services/notebook.ts | 244 | print(create_notebook( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/shared/test/permissions-demo-project.test.ts | 16 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/shared/test/permissions.test.ts | 12 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/shared/test/permissions.test.ts | 976 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/shared/test/resolveConstants.test.ts | 287 | expect(resolveConstantRefs("{{ @const:full }}", map)).toBe("Jane Doe"); | CODE |
| LOW | …ckages/front-end/components/Forms/MultiSelectField.tsx | 195 | "value" | "onChange" | "options" | "multi" | "initialOption" | "placeholder" | CODE |
| LOW | …ckages/front-end/components/Forms/MultiSelectField.tsx | 252 | | "placeholder" | CODE |
| LOW | packages/front-end/components/Forms/SelectField.tsx | 49 | "value" | "onChange" | "options" | "multi" | "initialOption" | "placeholder" | CODE |
| LOW | …ages/front-end/components/Features/CustomHookModal.tsx | 56 | email: "user@example.com", | CODE |
| LOW | …front-end/components/CustomFields/CustomFieldModal.tsx | 400 | {...form.register("placeholder")} | CODE |
| LOW | packages/back-end/README.md | 453 | 1. Run `yarn workspace back-end generate-dummy-data`. This will create CSV files in `/tmp/csv` | CODE |
| LOW | packages/back-end/package.json | 23 | "generate-dummy-data": "ts-node ./test/data-generator/new-generator.ts", | CODE |
| LOW | packages/back-end/test/migrations.test.ts | 2087 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/migrations.test.ts | 2102 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/migrations.test.ts | 2134 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 3057 | // ownerEmail: "test@test.com", | COMMENT |
| LOW | packages/back-end/test/permissions.test.ts | 3125 | // ownerEmail: "test@test.com", | COMMENT |
| LOW | packages/back-end/test/permissions.test.ts | 14 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 1481 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 1642 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 1858 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2017 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2135 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2294 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2384 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2485 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2581 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2649 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2717 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2785 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2853 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2921 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 2989 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 3194 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 3281 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 3402 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 3489 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 3576 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 3667 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 3791 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 3882 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 4091 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 4335 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 4544 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 4656 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 4774 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 4886 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 5059 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 5117 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 5175 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 5232 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 5329 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 5452 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 5586 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 5645 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 5722 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 5876 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 5931 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 6051 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 6197 | ownerEmail: "test@test.com", | CODE |
| LOW | packages/back-end/test/permissions.test.ts | 6271 | ownerEmail: "test@test.com", | CODE |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/shared/src/ai.ts | 301 | // When an AI-generated image replaces an existing one on the page, it drops | COMMENT |
| HIGH | …rprise/components/ProductAnalytics/ExplorerContext.tsx | 233 | // so configs loaded from URLs, saved explorations, or AI-generated | COMMENT |
| HIGH | packages/back-end/src/util/secrets.ts | 304 | // Kraken.io credentials — AI-generated images are resized + re-encoded to | COMMENT |
| HIGH | packages/back-end/src/api/visual-editor-ai/scopeCss.ts | 1 | // Scopes a stylesheet under a single root selector so an AI-generated | COMMENT |
| HIGH | …/back-end/src/api/visual-editor-ai/postPromoteImage.ts | 8 | // Moves an AI-generated image out of the throwaway `gen/` quarantine prefix | COMMENT |
| HIGH | packages/back-end/src/services/imageOptimization.ts | 11 | // AI-generated images are optimized via the Kraken.io API (resize + WebP), | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .agents/guides/backend/api-patterns.md | 72 | #### Step 1: Create the OpenAPI spec | COMMENT |
| LOW | .agents/guides/backend/api-patterns.md | 106 | #### Step 2: Wire up the API config in the model | COMMENT |
| LOW | .agents/guides/backend/api-patterns.md | 129 | #### Step 3: Register the model for routing | COMMENT |
| LOW | .agents/guides/backend/api-patterns.md | 133 | #### Step 4: Implement `toApiInterface` | COMMENT |
| LOW | .agents/guides/backend/model-patterns.md | 11 | ### Step 1: Create the Base Class | COMMENT |
| LOW | .agents/guides/backend/model-patterns.md | 38 | ### Step 2: Extend with Permission Logic | COMMENT |
| LOW | .agents/guides/backend/model-patterns.md | 64 | ### Step 3: Add to the RequestContext so it can be used from anywhere | COMMENT |
| LOW | packages/sdk-js/README.md | 41 | ### Step 1: Configure your app | COMMENT |
| LOW | packages/sdk-js/README.md | 73 | ### Step 2: Start Feature Flagging! | COMMENT |
| LOW⚡ | packages/front-end/components/DataViz/PivotTable.tsx | 434 | // Step 1: Extract metadata | COMMENT |
| LOW⚡ | packages/front-end/components/DataViz/PivotTable.tsx | 437 | // Step 2: Get sorted x-axis values | COMMENT |
| LOW⚡ | packages/front-end/components/DataViz/PivotTable.tsx | 440 | // Step 3: Build lookup map for efficient row access | COMMENT |
| LOW⚡ | packages/front-end/components/DataViz/PivotTable.tsx | 446 | // Step 4: Build column headers | COMMENT |
| LOW⚡ | packages/front-end/components/DataViz/PivotTable.tsx | 453 | // Step 5: Build rows (with or without dimensions) | COMMENT |
| LOW | packages/sdk-react/README.md | 38 | ### Step 1: Configure your app | COMMENT |
| LOW | packages/sdk-react/README.md | 80 | ### Step 2: Start feature flagging! | COMMENT |
| LOW⚡ | packages/back-end/test/services/rampSchedule.test.ts | 669 | // Step 0: baseline for both | COMMENT |
| LOW⚡ | packages/back-end/test/services/rampSchedule.test.ts | 674 | // Step 1: only TARGET_A coverage update | COMMENT |
| LOW⚡ | packages/back-end/test/services/rampSchedule.test.ts | 676 | // Step 2: only TARGET_B condition update | COMMENT |
| LOW | packages/back-end/test/services/rampSchedule.test.ts | 987 | // Step 2: sum = 300 (step 0) + 0 (pure approval, step 1) + 600 (step 2) = 900 | COMMENT |
| LOW | packages/back-end/test/services/rampSchedule.test.ts | 3969 | // Step 0: pure approval (no interval). Step 1: instant (no interval, no holds). | COMMENT |
| LOW | packages/back-end/src/models/FeatureRevisionModel.ts | 1847 | // Step 1: bake this reviewer's verdict, scoped to their own entry so | COMMENT |
| LOW | packages/back-end/src/models/FeatureRevisionModel.ts | 1882 | // Step 2: reconcile `status` from the stored reviews (CAS-guarded on both | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/shared/test/decisionCriteria.test.ts | 487 | // All guardrails losing - should match | COMMENT |
| MEDIUM | …-end/components/RampSchedule/RampMonitoringSignals.tsx | 973 | // guardrails or active hold signals always take priority over the approval | COMMENT |
| MEDIUM | …-end/components/SafeRollout/Results/CompactResults.tsx | 149 | // Only include goals in calculation, not secondary or guardrails | COMMENT |
| MEDIUM | …ents/DecisionCriteria/DecisionCriteriaModalContent.tsx | 49 | // Direction options for guardrails | COMMENT |
| MEDIUM | packages/front-end/hooks/useExperimentTableRows.ts | 305 | // Only include goals in calculation, not secondary or guardrails | COMMENT |
| MEDIUM | packages/back-end/src/util/migrations.ts | 858 | // We know the metric ids included, but don't know if they were goals or guardrails | COMMENT |
| MEDIUM | packages/back-end/src/models/ExperimentModel.ts | 1432 | // Remove from guardrails | COMMENT |
| MEDIUM | packages/back-end/src/services/rampSchedule.ts | 1004 | // guardrails here is the required mechanism to get them into analysisSummary. | COMMENT |
| MEDIUM | packages/back-end/src/services/rampScheduleEvaluator.ts | 39 | // guardrails/health, min sample size, signal metrics) has already cleared. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | packages/front-end/components/DataViz/PivotTable.tsx | 434 | // Step 1: Extract metadata | COMMENT |
| LOW⚡ | packages/front-end/components/DataViz/PivotTable.tsx | 437 | // Step 2: Get sorted x-axis values | COMMENT |
| LOW⚡ | packages/front-end/components/DataViz/PivotTable.tsx | 440 | // Step 3: Build lookup map for efficient row access | COMMENT |
| LOW⚡ | packages/front-end/components/DataViz/PivotTable.tsx | 446 | // Step 4: Build column headers | COMMENT |
| LOW⚡ | packages/front-end/components/DataViz/PivotTable.tsx | 453 | // Step 5: Build rows (with or without dimensions) | COMMENT |
| LOW | packages/front-end/services/sqlAutoComplete.ts | 151 | // So we need to check if the path is empty before adding it to the completions | COMMENT |
| LOW⚡ | packages/back-end/test/services/rampSchedule.test.ts | 669 | // Step 0: baseline for both | COMMENT |
| LOW⚡ | packages/back-end/test/services/rampSchedule.test.ts | 674 | // Step 1: only TARGET_A coverage update | COMMENT |
| LOW⚡ | packages/back-end/test/services/rampSchedule.test.ts | 676 | // Step 2: only TARGET_B condition update | COMMENT |
| LOW | packages/back-end/test/services/rampSchedule.test.ts | 987 | // Step 2: sum = 300 (step 0) + 0 (pure approval, step 1) + 600 (step 2) = 900 | COMMENT |
| LOW | packages/back-end/test/services/rampSchedule.test.ts | 3969 | // Step 0: pure approval (no interval). Step 1: instant (no interval, no holds). | COMMENT |
| LOW | packages/back-end/src/models/FeatureRevisionModel.ts | 1847 | // Step 1: bake this reviewer's verdict, scoped to their own entry so | COMMENT |
| LOW | packages/back-end/src/models/FeatureRevisionModel.ts | 1882 | // Step 2: reconcile `status` from the stored reviews (CAS-guarded on both | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | packages/back-end/src/api/projects/putProject.ts | 14 | req.context.models.projects.updateValidator.parse(req.body), | CODE |
| CRITICAL | packages/back-end/src/api/projects/postProject.ts | 7 | const payload = req.context.models.projects.createValidator.parse(req.body); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/stats/tests/test_utils.py | 1 | CODE | |
| LOW | packages/stats/tests/test_utils.py | 3 | CODE | |
| LOW | packages/stats/tests/test_utils.py | 6 | CODE | |
| LOW | packages/stats/tests/test_utils.py | 7 | CODE | |
| LOW | packages/stats/tests/test_shared_models.py | 6 | CODE | |
| LOW | packages/stats/tests/test_midexperimentpower.py | 1 | CODE | |
| LOW | packages/stats/tests/test_midexperimentpower.py | 2 | CODE | |
| LOW | packages/stats/tests/test_midexperimentpower.py | 3 | CODE | |
| LOW | packages/stats/tests/test_midexperimentpower.py | 5 | CODE | |
| LOW | packages/stats/tests/test_midexperimentpower.py | 6 | CODE | |
| LOW | packages/stats/tests/test_gbstats.py | 8 | CODE | |
| LOW | packages/stats/tests/test_gbstats.py | 8 | CODE | |
| LOW | packages/stats/tests/test_gbstats.py | 8 | CODE | |
| LOW | packages/stats/tests/test_gbstats.py | 22 | CODE | |
| LOW | packages/stats/tests/test_gbstats.py | 24 | CODE | |
| LOW | packages/stats/tests/test_gbstats.py | 29 | CODE | |
| LOW | packages/stats/tests/test_devtools.py | 1 | CODE | |
| LOW | packages/stats/tests/test_devtools.py | 2 | CODE | |
| LOW | packages/stats/tests/test_devtools.py | 3 | CODE | |
| LOW | packages/stats/tests/test_devtools.py | 6 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/stats/gbstats/models/tests.py | 0 | return uninformative output when ab test analysis can't be performed adequately | STRING |
| HIGH | packages/stats/gbstats/frequentist/tests.py | 0 | return uninformative output when ab test analysis can't be performed adequately | STRING |
| HIGH | packages/stats/gbstats/bayesian/tests.py | 0 | return uninformative output when ab test analysis can't be performed adequately | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …kages/front-end/styles/_bootstrap-theme-overrides.scss | 459 | // Absolutely centered inside the host cell — the in-flow icon was forcing | COMMENT |
| LOW | packages/stats/gbstats/gbstats.py | 334 | # if there are no goal metrics, just use 1 as the number of tests | COMMENT |
| MEDIUM | packages/back-end/src/app.ts | 234 | // TODO: more robust health check? | COMMENT |
| MEDIUM | …s/back-end/src/routers/revision/revision.controller.ts | 881 | // is robust to benign serialization drift between the client's cached | COMMENT |
| MEDIUM | packages/back-end/src/services/features.ts | 1927 | // We might want to investigate a more robust solution in the future. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/stats/tests/frequentist/test_tests.py | 39 | CODE | |
| LOW | packages/stats/tests/frequentist/test_post_strat.py | 170 | CODE | |
| LOW | packages/stats/tests/bayesian/test_tests.py | 27 | CODE | |
| LOW | packages/stats/gbstats/gbstats.py | 162 | CODE | |
| LOW | packages/stats/gbstats/gbstats.py | 192 | CODE | |
| LOW | packages/stats/gbstats/gbstats.py | 280 | CODE | |
| LOW | packages/stats/gbstats/gbstats.py | 317 | CODE | |
| LOW | packages/stats/gbstats/gbstats.py | 745 | CODE | |
| LOW | packages/stats/gbstats/gbstats.py | 1054 | CODE | |
| LOW | packages/stats/gbstats/gbstats.py | 1373 | CODE | |
| LOW | packages/stats/gbstats/models/tests.py | 1364 | CODE | |
| LOW | packages/stats/gbstats/models/tests.py | 1523 | CODE | |
| LOW | packages/stats/gbstats/devtools/simulation.py | 150 | CODE | |
| LOW | packages/stats/gbstats/devtools/simulation.py | 292 | CODE | |
| LOW | …back-end/test/integrations/integration-query-runner.py | 295 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …axHighlighting/Snippets/GrowthBookSetupCodeSnippet.tsx | 616 | # Create a context for the current user/request | COMMENT |
| MEDIUM⚡ | packages/stats/gbstats/gbstats.py | 938 | # Create a copy to avoid SettingWithCopy warnings or mutating the original | COMMENT |
| MEDIUM | packages/stats/gbstats/gbstats.py | 1083 | # Create the variation response object | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/stats/gbstats/utils.py | 180 | except Exception as e: | CODE |
| LOW | packages/stats/gbstats/gbstats.py | 1453 | except Exception as e: | CODE |
| LOW | …back-end/test/integrations/integration-query-runner.py | 317 | except Exception as e: | CODE |
| MEDIUM | …back-end/test/integrations/integration-query-runner.py | 280 | def read_queries_cache() -> dict: | CODE |
| LOW | packages/back-end/scripts/stats_server.py | 18 | except Exception as e: | CODE |
| LOW | packages/back-end/scripts/stats_server.py | 35 | except Exception as e: | CODE |
| LOW | packages/back-end/scripts/stats_server.py | 49 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/back-end/src/scripts/generate-openapi.ts | 344 | parts.push(` -H 'Authorization: Bearer YOUR_API_KEY'`); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | packages/stats/gbstats/gbstats.py | 948 | # Check if the original column exists before trying to replace it | COMMENT |
| LOW | .github/workflows/auto-approve-docs-changes.yml | 65 | # Check if any non-markdown or non-mdx files exist | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …axHighlighting/Snippets/GrowthBookSetupCodeSnippet.tsx | 1025 | async function handleRequest(event) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/stats/gbstats/gbstats.py | 925 | CODE | |
| LOW | packages/stats/gbstats/gbstats.py | 1051 | CODE |