Repository Analysis

streamlit/streamlit

Streamlit — A faster way to build and share data apps.

21.6 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of streamlit/streamlit, a Python project with 45,222 GitHub stars. SynthScan v2.0 examined 588,855 lines of code across 2337 source files, recording 10419 pattern matches distributed across 25 syntactic categories. The overall adjusted score of 21.6 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).

21.6
Adjusted Score
21.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
45.2K
Stars
Python
Language
588.9K
Lines of Code
2.3K
Files
10.4K
Pattern Hits
2026-07-14
Scan Date
0.12
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 1HIGH 282MEDIUM 719LOW 9417

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 10419 distinct pattern matches across 25 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 Identifiers6706 hits · 6246 pts
SeverityFileLineSnippetContext
LOWfrontend/app/src/App.test.tsx419function getMockConnectionManagerProp(CODE
LOWfrontend/app/src/App.test.tsx4577 function prepareHostCommunicationManager(CODE
LOWfrontend/app/src/util/hostConfigHelpers.ts82export function reconcileHostConfigValues(CODE
LOWfrontend/app/src/components/Navigation/TopNav.test.tsx51function getNavigationContextOutput(CODE
LOWfrontend/app/src/components/Navigation/utils.ts79export function processNavigationStructure(CODE
LOW…tend/app/src/components/Navigation/SidebarNav.test.tsx148function getSidebarConfigContextOutput(CODE
LOW…tend/app/src/components/Navigation/SidebarNav.test.tsx161function getNavigationContextOutput(CODE
LOWfrontend/app/src/components/AppView/AppView.test.tsx52function getSidebarConfigContextOutput(CODE
LOWfrontend/app/src/components/AppView/AppView.test.tsx65function getNavigationContextOutput(CODE
LOW…end/app/src/components/SkillsNudgeToast/skillsNudge.ts118export function isSkillsNudgeDroppedConnection(error: unknown): boolean {CODE
LOWfrontend/connection/src/ConnectionManager.test.ts92 function getMockWebsocketConnection(): WebsocketConnection {CODE
LOWfrontend/connection/src/StaticConnection.tsx100export async function dispatchAppForwardMessages(CODE
LOWfrontend/connection/src/StaticConnection.tsx125export async function establishStaticConnection(CODE
LOWfrontend/connection/src/WebsocketConnection.test.tsx102function setupFetchMockWithFailures(CODE
LOWfrontend/connection/src/utils.ts39export function isHostConfigBypassEnabled(): boolean {CODE
LOWfrontend/connection/src/ForwardMessageCache.test.ts51function createForwardMsgWithFragment(CODE
LOWfrontend/lib/src/util/utils.test.ts1327 function makeIframeWithEmbeddingClass(CODE
LOWfrontend/lib/src/util/formatNumber.ts48function formatIntlNumberWithLocales(CODE
LOWfrontend/lib/src/util/utils.ts199export function isLightThemeInQueryParams(): boolean {CODE
LOWfrontend/lib/src/util/utils.ts471export function labelVisibilityProtoValueToEnum(CODE
LOWfrontend/lib/src/util/utils.ts493export function chatInputAcceptFileProtoValueToEnum(CODE
LOWfrontend/lib/src/util/utils.ts514function findAnIFrameWithClassName(CODE
LOWfrontend/lib/src/util/utils.ts609export function extractPageNameFromPathName(CODE
LOWfrontend/lib/src/dataframes/arrowFormatUtils.ts181function convertTimestampToSeconds(CODE
LOWfrontend/lib/src/dataframes/arrowParseUtils.ts229function parsePandasIndexColumnTypes(CODE
LOWfrontend/lib/src/dataframes/arrowParseUtils.ts324function parseCategoricalOptionsForColumns(CODE
LOW…ib/src/components/core/Layout/useLayoutStyles.test.tsx1167 function withContentWidthContainer(parentWidth?: number) {CODE
LOWfrontend/lib/src/components/core/Block/utils.ts200export function checkFlexContainerBackwardsCompatibile(CODE
LOWfrontend/lib/src/components/core/Block/utils.ts213export function shouldActivateScrollToBottom(blockNode: BlockNode): boolean {CODE
LOWfrontend/lib/src/components/core/Block/utils.ts231export function getBorderBackwardsCompatible(blockProto: BlockProto): boolean {CODE
LOWfrontend/lib/src/components/core/Block/Block.test.tsx41function makeHorizontalBlockWithColumns(numColumns: number): BlockNode {CODE
LOWfrontend/lib/src/components/core/Block/Block.test.tsx70function makeVerticalBlockComponent(node: BlockNode): ReactElement {CODE
LOWfrontend/lib/src/components/shared/Icon/DynamicIcon.tsx80export function extractLeadingMaterialIcon(CODE
LOWfrontend/lib/src/components/shared/Modal/Modal.tsx78function shouldCloseOnInteractOutside(element: Element): boolean {CODE
LOW…mponents/shared/StreamlitMarkdown/styled-components.ts102function getMarkdownHeadingDefinitions(CODE
LOW…ponents/shared/StreamlitMarkdown/StreamlitMarkdown.tsx218function rehypeSetCodeInlineProperty() {CODE
LOW…ponents/shared/StreamlitMarkdown/StreamlitMarkdown.tsx723function createRemarkColoringAndSmall(CODE
LOW…ponents/shared/StreamlitMarkdown/StreamlitMarkdown.tsx842function createRemarkUnsupportedDirectivesCleanup(): () => (CODE
LOW…ponents/shared/StreamlitMarkdown/StreamlitMarkdown.tsx866function createRemarkMaterialIcons(theme: EmotionTheme) {CODE
LOW…ponents/shared/StreamlitMarkdown/StreamlitMarkdown.tsx918function createRemarkStreamlitLogo() {CODE
LOW…ponents/shared/StreamlitMarkdown/StreamlitMarkdown.tsx946function createRemarkTypographicalSymbols() {CODE
LOW…nts/elements/DeckGlJsonChart/patchLumaCanvasContext.ts61 function patchedGetMaxDrawingBufferSize(): [number, number] {CODE
LOW…ib/src/components/elements/PlotlyChart/CustomTheme.tsx39export function applyStreamlitThemeTemplateLayout(CODE
LOW…ents/elements/CodeBlock/StreamlitSyntaxHighlighter.tsx44function StreamlitSyntaxHighlighter({CODE
LOW…lib/src/components/elements/Markdown/Markdown.test.tsx451 function getElementNodeRendererProps(CODE
LOW…rc/components/elements/GraphVizChart/GraphVizChart.tsx59function sanitizeNamespacedXlinkHref(element: Element): void {CODE
LOW…ontend/lib/src/components/elements/Html/HtmlWithJs.tsx53function sanitizeHtmlStringAllowingScripts(html: string): string {CODE
LOWfrontend/lib/src/components/elements/Dialog/Dialog.tsx39function mapDialogWidthToModalSize(CODE
LOW…ments/ArrowVegaLiteChart/useVegaElementPreprocessor.ts71function isNonNegativeFiniteNumber(value: unknown): value is number {CODE
LOW…ments/ArrowVegaLiteChart/useVegaElementPreprocessor.ts118function sanitizeUsermetaEmbedOptions(spec: VegaLiteSpec): void {CODE
LOW…c/components/widgets/DataFrame/hooks/useWidgetState.ts64function parseSelectionStateToGridSelection(CODE
LOW…widgets/DataFrame/hooks/useButtonColumnInteractions.ts94function useButtonColumnInteractions({CODE
LOW…/components/widgets/DataFrame/menus/statisticsUtils.ts461export function computeDateTimeStatistics(CODE
LOW…components/widgets/DataFrame/menus/StatisticsChart.tsx77function createPopoverTooltipStyles(theme: EmotionTheme): CSSObject {CODE
LOW…/lib/src/components/widgets/DataFrame/columns/utils.ts735export function getLinkDisplayValueFromRegex(CODE
LOW…/components/widgets/CustomComponent/componentUtils.tsx94export function createIframeMessageHandler(CODE
LOW…nents/widgets/BaseWidget/WidgetLabelHelpIconInline.tsx45export function WidgetLabelHelpIconInline({CODE
LOWfrontend/lib/src/theme/getColors.ts270function defaultDivergingColorsArray(genericColors: GenericColors): string[] {CODE
LOWfrontend/lib/src/theme/getColors.ts285function defaultSequentialColorsArray(genericColors: GenericColors): string[] {CODE
LOWfrontend/lib/src/theme/getColors.ts291function defaultCategoricalColorsArray(CODE
6646 more matches not shown…
Decorative Section Separators521 hits · 1762 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml15# =============================================================================COMMENT
MEDIUMpyproject.toml17# =============================================================================COMMENT
MEDIUMpyproject.toml24# =============================================================================COMMENT
MEDIUMpyproject.toml50# =============================================================================COMMENT
MEDIUMpyproject.toml52# =============================================================================COMMENT
MEDIUMpyproject.toml165# =============================================================================COMMENT
MEDIUMpyproject.toml167# =============================================================================COMMENT
MEDIUMpyproject.toml349# =============================================================================COMMENT
MEDIUMpyproject.toml351# =============================================================================COMMENT
MEDIUMpyproject.toml436# =============================================================================COMMENT
MEDIUMpyproject.toml438# =============================================================================COMMENT
MEDIUM…d/lib/src/components/shared/UploadedFile/utils.test.ts39// ── getFileTypeIcon ─────────────────────────────────────────────────COMMENT
MEDIUM…d/lib/src/components/shared/UploadedFile/utils.test.ts171// ── getFileExtension ────────────────────────────────────────────────COMMENT
MEDIUM…d/lib/src/components/shared/UploadedFile/utils.test.ts204// ── isImageFile ─────────────────────────────────────────────────────COMMENT
MEDIUM…d/lib/src/components/shared/UploadedFile/utils.test.ts224// ── truncateFilename ────────────────────────────────────────────────COMMENT
MEDIUM…d/lib/src/components/shared/UploadedFile/utils.test.ts389// ── useImagePreview ─────────────────────────────────────────────────COMMENT
MEDIUM…ontend/lib/src/components/shared/UploadedFile/utils.ts32// ── File extension helpers ──────────────────────────────────────────COMMENT
MEDIUM…ontend/lib/src/components/shared/UploadedFile/utils.ts131// ── Filename truncation ─────────────────────────────────────────────COMMENT
MEDIUM…ontend/lib/src/components/shared/UploadedFile/utils.ts180// ── Image preview hook ──────────────────────────────────────────────COMMENT
MEDIUMe2e_playwright/st_chat_input_test.py1795# =====================================================================COMMENT
MEDIUMe2e_playwright/st_chat_input_test.py1797# =====================================================================COMMENT
MEDIUMe2e_playwright/st_expander.py120# ============================================================================STRING
MEDIUMe2e_playwright/st_expander.py122# ============================================================================STRING
MEDIUMe2e_playwright/st_expander.py213# ============================================================================STRING
MEDIUMe2e_playwright/st_expander.py226# ============================================================================STRING
MEDIUMe2e_playwright/st_expander.py247# ============================================================================STRING
MEDIUMe2e_playwright/st_expander.py268# ============================================================================STRING
MEDIUMe2e_playwright/st_expander.py270# ============================================================================STRING
MEDIUMe2e_playwright/st_expander.py281# ============================================================================STRING
MEDIUMe2e_playwright/st_expander.py284# ============================================================================STRING
MEDIUMe2e_playwright/web_server_test.py49# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py51# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py102# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py104# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py277# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py279# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py306# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py308# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py325# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py327# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py425# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py427# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py523# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py525# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py563# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py565# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py625# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py627# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py491# =============================================================================COMMENT
MEDIUMe2e_playwright/web_server_test.py493# =============================================================================COMMENT
MEDIUMe2e_playwright/st_popover.py100# ============================================================================COMMENT
MEDIUMe2e_playwright/st_popover.py102# ============================================================================COMMENT
MEDIUMe2e_playwright/st_popover.py137# ============================================================================COMMENT
MEDIUMe2e_playwright/st_popover.py139# ============================================================================COMMENT
MEDIUMe2e_playwright/st_popover.py150# ============================================================================COMMENT
MEDIUMe2e_playwright/st_popover.py152# ============================================================================COMMENT
MEDIUMe2e_playwright/st_popover.py173# ============================================================================COMMENT
MEDIUMe2e_playwright/st_popover.py175# ============================================================================COMMENT
MEDIUMe2e_playwright/st_popover.py244# ============================================================================COMMENT
MEDIUMe2e_playwright/st_popover.py247# ============================================================================COMMENT
461 more matches not shown…
Cross-File Repetition247 hits · 1235 pts
SeverityFileLineSnippetContext
HIGHe2e_playwright/st_feedback_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_slider_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_dataframe_selections_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_select_slider_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_checkbox_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_multiselect_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_camera_input_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_link_button_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_radio_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_date_input_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_plotly_chart_select_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_color_picker_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_number_input_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_segmented_control_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_selectbox_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_text_input_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_toggle_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_components_v1_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_altair_chart_basic_select_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_pills_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_data_editor_editing_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_download_button_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_file_uploader_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_time_input_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_text_area_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_button_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_container_test.py0test that the container can have a custom css class via the key argument.STRING
HIGHe2e_playwright/st_datetime_input_test.py0test that a clearable time input (value=none) can be seeded as empty from url.STRING
HIGHe2e_playwright/st_date_input_test.py0test that a clearable time input (value=none) can be seeded as empty from url.STRING
HIGHe2e_playwright/st_time_input_test.py0test that a clearable time input (value=none) can be seeded as empty from url.STRING
HIGHe2e_playwright/st_datetime_input_test.py0test that an invalid url value reverts to the default.STRING
HIGHe2e_playwright/st_date_input_test.py0test that an invalid url value reverts to the default.STRING
HIGHe2e_playwright/st_time_input_test.py0test that an invalid url value reverts to the default.STRING
HIGHe2e_playwright/st_checkbox_test.py0test that invalid url values are cleared and widget uses default.STRING
HIGHe2e_playwright/st_radio_test.py0test that invalid url values are cleared and widget uses default.STRING
HIGHe2e_playwright/st_color_picker_test.py0test that invalid url values are cleared and widget uses default.STRING
HIGHe2e_playwright/st_number_input_test.py0test that invalid url values are cleared and widget uses default.STRING
HIGHe2e_playwright/st_selectbox_test.py0test that invalid url values are cleared and widget uses default.STRING
HIGHe2e_playwright/st_toggle_test.py0test that invalid url values are cleared and widget uses default.STRING
HIGHe2e_playwright/st_link_button_test.py0test button width examples via screenshot matching.STRING
HIGHe2e_playwright/st_download_button_test.py0test button width examples via screenshot matching.STRING
HIGHe2e_playwright/st_button_test.py0test button width examples via screenshot matching.STRING
HIGHe2e_playwright/st_radio_test.py0test that the pills can be updated dynamically while keeping the state. this tests that: 1. options can be changed dynamSTRING
HIGHe2e_playwright/st_segmented_control_test.py0test that the pills can be updated dynamically while keeping the state. this tests that: 1. options can be changed dynamSTRING
HIGHe2e_playwright/st_pills_test.py0test that the pills can be updated dynamically while keeping the state. this tests that: 1. options can be changed dynamSTRING
HIGHe2e_playwright/st_date_input_test.py0test that it correctly calls the callback on change.STRING
HIGHe2e_playwright/st_selectbox_test.py0test that it correctly calls the callback on change.STRING
HIGHe2e_playwright/st_text_input_test.py0test that it correctly calls the callback on change.STRING
HIGHe2e_playwright/st_time_input_test.py0test that it correctly calls the callback on change.STRING
HIGHe2e_playwright/st_text_area_test.py0test that it correctly calls the callback on change.STRING
HIGHe2e_playwright/multipage_apps/mpa_basics_test.py0test that we can switch between pages by clicking on sidebar links.STRING
HIGHe2e_playwright/multipage_apps_v2/mpa_v2_title_test.py0test that we can switch between pages by clicking on sidebar links.STRING
HIGHe2e_playwright/multipage_apps_v2/mpa_v2_basics_test.py0test that we can switch between pages by clicking on sidebar links.STRING
HIGHe2e_playwright/theming/custom_dark_theme_test.py0test that the custom light sidebar theme is rendered correctly with no light configs.STRING
HIGH…_playwright/theming/custom_light_sidebar_theme_test.py0test that the custom light sidebar theme is rendered correctly with no light configs.STRING
HIGH…e_playwright/theming/custom_dark_sidebar_theme_test.py0test that the custom light sidebar theme is rendered correctly with no light configs.STRING
HIGHe2e_playwright/theming/size_and_weight_test_app.py0<style> .stmainblockcontainer { padding-top: 4rem; } </style>STRING
HIGHe2e_playwright/theming/theme_chart_colors_app.py0<style> .stmainblockcontainer { padding-top: 4rem; } </style>STRING
HIGHe2e_playwright/theming/custom_text_colors.py0<style> .stmainblockcontainer { padding-top: 4rem; } </style>STRING
HIGHe2e_playwright/theming/custom_main_colors.py0<style> .stmainblockcontainer { padding-top: 4rem; } </style>STRING
187 more matches not shown…
Over-Commented Block1241 hits · 1182 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWpyproject.toml1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWfrontend/.yarnrc.yml1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWfrontend/vitest.setup.ts21// public API if React Aria ever exposes it.COMMENT
LOWfrontend/vitest.setup.ts41 act(() => {COMMENT
LOWfrontend/vitest.setup.ts61// get StreamlitConfig() {COMMENT
LOWfrontend/app/performance/apps/crud_app.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWfrontend/app/performance/apps/blank_app.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWfrontend/app/performance/apps/__init__.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWfrontend/app/performance/apps/dashboard_app.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOW…ontend/app/performance/apps/multipage/multipage_app.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOW…app/performance/apps/multipage/pages/2_Mapping_Demo.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOW…pp/performance/apps/multipage/pages/3_Plotting_Demo.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOW…p/performance/apps/multipage/pages/1_Animation_Demo.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWfrontend/app/src/App.tsx301COMMENT
LOWfrontend/app/src/App.tsx541 // for the first render.COMMENT
LOWfrontend/app/src/App.tsx761 })COMMENT
LOWfrontend/app/src/App.tsx1521 sendMessageToHost: this.hostCommunicationMgr.sendMessageToHost,COMMENT
LOWfrontend/utils/src/types/index.ts41 BACKEND_BASE_URL?: stringCOMMENT
LOWfrontend/lib/src/hostComm/HostCommunicationManager.tsx201 public receiveHostMessage = (event: MessageEvent): void => {COMMENT
LOWfrontend/lib/src/util/IFrameUtil.ts41 // Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this canCOMMENT
LOW…end/lib/src/components/shared/Tooltip/Tooltip.test.tsx41const renderTooltip = (props: Partial<TooltipProps> = {}): RenderResult => {COMMENT
LOW…/src/components/shared/BaseButton/styled-components.ts701// SC_SELF_* — used on the current-element (&) side of rules. Emotion replaces `&`COMMENT
LOW…ponents/shared/StreamlitMarkdown/StreamlitMarkdown.tsx361 elementId={elementId}COMMENT
LOW…ontend/lib/src/components/elements/Popover/Popover.tsx181 const popoverBodyRef = useRef<HTMLDivElement>(null)COMMENT
LOW…ments/ArrowVegaLiteChart/useVegaElementPreprocessor.ts381 useContainerHeight,COMMENT
LOW…nts/elements/ArrowVegaLiteChart/ArrowVegaLiteChart.tsx201 // do not work well with stretch/container widthCOMMENT
LOW…nts/elements/ArrowVegaLiteChart/ArrowVegaLiteChart.tsx221 : 0COMMENT
LOW…nts/elements/ArrowVegaLiteChart/ArrowVegaLiteChart.tsx321 const needsContainerWidth = useStretchWidth || isFullScreenCOMMENT
LOW…nts/elements/ArrowVegaLiteChart/ArrowVegaLiteChart.tsx421 // The references to data and datasets will always change each rerunCOMMENT
LOW…ib/src/components/widgets/DataFrame/arrowUtils.test.ts121 #T_f116e_row0_col2 { color: red; opacity: 20% }COMMENT
LOW…widgets/BidiComponent/BidiComponentContextProvider.tsx81 }COMMENT
LOW…c/components/widgets/BidiComponent/utils/theme.test.ts241 const result = objectToCssCustomProperties(createTheme(), "--custom")COMMENT
LOW…c/components/widgets/BidiComponent/utils/theme.test.ts261 // 2) Either map it in `extractComponentsV2Theme` or add it toCOMMENT
LOW…lib/src/components/widgets/ButtonGroup/ButtonGroup.tsx181 groupRef.current.setAttribute("aria-required", "true")COMMENT
LOWfrontend/lib/src/components/widgets/Slider/Slider.tsx601 : thumb2ValueRect.widthCOMMENT
LOWfrontend/lib/src/components/widgets/Slider/Slider.tsx621 //COMMENT
LOWfrontend/lib/src/components/widgets/Slider/Slider.tsx661 //COMMENT
LOW…end/lib/src/components/widgets/ChatInput/ChatInput.tsx441 ])COMMENT
LOW…end/lib/src/components/widgets/ChatInput/ChatInput.tsx461 submitMode === ChatInputProto.SubmitMode.SUBMIT_MODE_STOP &&COMMENT
LOW…mponents/widgets/CustomComponent/ComponentInstance.tsx421 // display a warning.COMMENT
LOW…/components/widgets/CustomComponent/componentUtils.tsx201 // any further non-JSON datatypes we add support for down the road willCOMMENT
LOW…nd/lib/src/components/widgets/CustomComponent/enums.ts21 // Data: { apiVersion: number }COMMENT
LOWfrontend/lib/src/theme/primitives/zIndices.ts21const bottom = sidebar - 1COMMENT
LOWe2e_playwright/st_components_v1_import_via_st_test.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_write_images.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_context_test.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_chat_input_test.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_layouts_container_various_elements.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/fast_rerun_safety_test.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_query_params_test.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_menu_button.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_tabs_test.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_session_state.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_feedback_test.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_pagination_test.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_container.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_expander_state_test.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_session_state_test.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
LOWe2e_playwright/st_menu_button_test.py1# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)COMMENT
1181 more matches not shown…
Unused Imports690 hits · 645 pts
SeverityFileLineSnippetContext
LOWfrontend/app/performance/apps/crud_app.py15CODE
LOWfrontend/app/performance/apps/blank_app.py16CODE
LOWe2e_playwright/st_chat_input_test.py15CODE
LOWe2e_playwright/st_layouts_container_various_elements.py15CODE
LOWe2e_playwright/st_feedback_test.py15CODE
LOWe2e_playwright/st_pagination_test.py15CODE
LOWe2e_playwright/st_pydeck_chart_select.py14CODE
LOWe2e_playwright/auth.py15CODE
LOWe2e_playwright/asgi_app_test.py21CODE
LOWe2e_playwright/st_pyplot.py25CODE
LOWe2e_playwright/conftest.py20CODE
LOWe2e_playwright/auth_test.py15CODE
LOWe2e_playwright/st_app_advanced.py20CODE
LOWe2e_playwright/st_main_layout_test.py15CODE
LOWe2e_playwright/st_navigation_external_links_test.py21CODE
LOWe2e_playwright/appnode_hierarchy.py27CODE
LOWe2e_playwright/st_dataframe_styler_support.py15CODE
LOWe2e_playwright/st_pydeck_chart_select_test.py16CODE
LOWe2e_playwright/st_datetime_input_test.py15CODE
LOWe2e_playwright/mega_tester_app.py15CODE
LOWe2e_playwright/st_navigation_expanded_test.py17CODE
LOWe2e_playwright/st_app_advanced_script.py21CODE
LOWe2e_playwright/st_app_advanced_test.py21CODE
LOWe2e_playwright/st_pydeck_chart.py16CODE
LOWe2e_playwright/web_server_test.py30CODE
LOWe2e_playwright/st_multiselect_test.py15CODE
LOWe2e_playwright/st_fragments_nested_test.py15CODE
LOWe2e_playwright/markdown_features_test.py15CODE
LOWe2e_playwright/basic_app_test.py14CODE
LOWe2e_playwright/st_map.py15CODE
LOWe2e_playwright/st_map.py23CODE
LOWe2e_playwright/st_layouts_container_gap_size.py15CODE
LOWe2e_playwright/st_layouts_container_gap_size.py22CODE
LOWe2e_playwright/websocket_reconnects_test.py15CODE
LOWe2e_playwright/st_navigation_test.py15CODE
LOWe2e_playwright/forward_msg_cache_test.py14CODE
LOWe2e_playwright/st_audio_input_test.py15CODE
LOWe2e_playwright/st_table.py15CODE
LOWe2e_playwright/st_selectbox_test.py14CODE
LOWe2e_playwright/st_space.py15CODE
LOWe2e_playwright/st_space.py22CODE
LOWe2e_playwright/st_layouts_container_alignment.py15CODE
LOWe2e_playwright/skills_nudge_test.py15CODE
LOWe2e_playwright/hostframe_app_test.py15CODE
LOWe2e_playwright/mega_tester_app_test.py15CODE
LOWe2e_playwright/st_data_editor_editing.py15CODE
LOWe2e_playwright/st_dataframe_config.py15CODE
LOWe2e_playwright/st_dataframe_interactions_test.py15CODE
LOWe2e_playwright/st_image.py15CODE
LOWe2e_playwright/iframe_resizer_test.py15CODE
LOWe2e_playwright/st_data_editor_editing_test.py15CODE
LOWe2e_playwright/st_multiselect.py15CODE
LOWe2e_playwright/st_fragment_parallel_test.py17CODE
LOWe2e_playwright/st_columns.py15CODE
LOWe2e_playwright/st_columns.py25CODE
LOWe2e_playwright/appnode_hierarchy_test.py15CODE
LOWe2e_playwright/st_fragment_multiple_fragments_test.py15CODE
LOWe2e_playwright/st_time_input_test.py15CODE
LOWe2e_playwright/host_config_bypass_test.py22CODE
LOWe2e_playwright/custom_components/pdf_component.py22CODE
630 more matches not shown…
Self-Referential Comments143 hits · 456 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml18# This file defines:COMMENT
MEDIUMe2e_playwright/st_pyplot.py99# Create a simple figure for width testingCOMMENT
MEDIUMe2e_playwright/st_help.py96# Create a class with very long documentation to demonstrate width differencesCOMMENT
MEDIUMe2e_playwright/basic_app_test.py42 # Define an acceptable threshold for total size of web assets loaded on theCOMMENT
MEDIUMe2e_playwright/basic_app_test.py94 # Define an acceptable threshold for total websocket message size (in bytes)COMMENT
MEDIUMe2e_playwright/forward_msg_cache.py79 # Create a large dataframeCOMMENT
MEDIUMe2e_playwright/web_server.py35# Create a simple 1x1 red pixel PNG for testing.COMMENT
MEDIUMe2e_playwright/forward_msg_cache_test.py78 # Define an acceptable threshold for total websocket message size (in MB)COMMENT
MEDIUMe2e_playwright/st_table.py308# Create a larger dataset for scrolling testsCOMMENT
MEDIUMe2e_playwright/asgi_app.py19# Create the ASGI app pointing to the mega_tester_app.py scriptCOMMENT
MEDIUMe2e_playwright/st_plotly_chart_dimensions.py24# Create a simple chart for width testingCOMMENT
MEDIUMe2e_playwright/st_plotly_chart_dimensions.py51# Create a simple chart for height testingCOMMENT
MEDIUMe2e_playwright/st_altair_chart.py148# Create a scatter plot with marginal histograms using the pattern: top_hist & (points | right_hist)COMMENT
MEDIUMe2e_playwright/st_file_uploader_test.py59 # Create a nested structure so the uploaded directory preserves relative pathsCOMMENT
MEDIUMe2e_playwright/st_file_uploader_test.py69 # Create the directoryCOMMENT
MEDIUMe2e_playwright/st_file_uploader_test.py416 # Create a temporary directory with test filesCOMMENT
MEDIUMe2e_playwright/multipage_apps_v2/mpa_v2_top_nav.py115 # Create a single section with 3 pagesCOMMENT
MEDIUMscripts/create_release.py54 # Create the release with the generated release notesCOMMENT
MEDIUMscripts/update_material_icon_font_and_names.py71# Create a set to store unique namesCOMMENT
MEDIUM.github/workflows/release-tag-and-pr-creation.yml137 # Create the tag explicitly on the verified commitCOMMENT
MEDIUM.github/actions/make_init/action.yml47 # Create the cache directory if it does not exist.COMMENT
MEDIUMlib/streamlit/delta_generator.py638 # Create a child cursor for this new block. open_block() also advancesCOMMENT
MEDIUMlib/streamlit/config.py1355# Create a section for each custom theme elementSTRING
MEDIUMlib/streamlit/type_util.py492 # Create a new event loop.COMMENT
MEDIUMlib/streamlit/config_util.py536 # Create a filtered copy of the theme contentCOMMENT
MEDIUMlib/streamlit/config_util.py551 # Create the section in our filtered theme and validate itCOMMENT
MEDIUMlib/streamlit/web/bootstrap.py430 # Create the server. It won't start running yet.COMMENT
MEDIUMlib/streamlit/web/bootstrap.py451 # Define a main function to handle the event loop logicCOMMENT
MEDIUMlib/streamlit/web/server/starlette/starlette_app.py274 # Create the Starlette application with lifespan handlerCOMMENT
MEDIUMlib/streamlit/web/server/starlette/starlette_app.py791 # Create the runtime if not already createdCOMMENT
MEDIUMlib/streamlit/runtime/secrets.py487 # Create a mutable copy of current secretsCOMMENT
MEDIUMlib/streamlit/runtime/state/widgets.py187 # Create the widget's updated metadata, and register it with session_state.COMMENT
MEDIUMlib/streamlit/runtime/caching/cache_data_api.py233 # Create a new cache object and put it in our dictCOMMENT
MEDIUMlib/streamlit/runtime/caching/cache_utils.py505 # Create the hash from each arg value, except for those args whose nameCOMMENT
MEDIUMlib/streamlit/runtime/caching/cache_resource_api.py152 # Create a new cache object and put it in our dictCOMMENT
MEDIUMlib/streamlit/runtime/caching/cache_resource_api.py499 ... # Create a database session object that points to the URL.STRING
MEDIUMlib/streamlit/runtime/caching/cache_resource_api.py523 ... # Create a database session object that points to the URL.STRING
MEDIUMlib/streamlit/runtime/caching/cache_resource_api.py536 ... # Create a database connection object that points to the URL.STRING
MEDIUMlib/streamlit/runtime/caching/cache_resource_api.py556 ... # Create a database connection object that points to the URL.STRING
MEDIUMlib/streamlit/components/v2/bidi_component/main.py339 # Create an empty state with the default value and return itCOMMENT
MEDIUMlib/streamlit/elements/graphviz_chart.py114 >>> # Create a graphlib graph objectSTRING
MEDIUMlib/streamlit/elements/lib/built_in_chart_utils.py181 # Create a Chart with x and y encodings.COMMENT
MEDIUMlib/streamlit/elements/lib/built_in_chart_utils.py271 # Create a selection that chooses the nearest point & selects based on x-value.COMMENT
MEDIUMlib/streamlit/elements/lib/options_selector_utils.py522 # Create a set of formatted options for O(1) lookup.COMMENT
MEDIUMlib/tests/delta_generator_test_case.py60 # Create a new ScriptRunContext to use for the test.COMMENT
MEDIUMlib/tests/delta_generator_test_case.py76 # Create a MemoryMediaFileStorage instance, and the MediaFileManagerCOMMENT
MEDIUMlib/tests/streamlit/streamlit_test.py281 # Define an acceptable threshold for import time (in microseconds).COMMENT
MEDIUMlib/tests/streamlit/write_test.py503 # Create a mock for ChatCompletionChunkCOMMENT
MEDIUMlib/tests/streamlit/config_util_test.py1075 # Create a theme file larger than 1MBCOMMENT
MEDIUMlib/tests/streamlit/components_test.py496 # Create a component instance without a key and some custom dataCOMMENT
MEDIUMlib/tests/streamlit/components_test.py503 # Create a second component instance with different custom dataCOMMENT
MEDIUMlib/tests/streamlit/components_test.py467 # Create a component instance with a key and some custom dataCOMMENT
MEDIUMlib/tests/streamlit/components_test.py479 # Create a second component instance with the same key, and different custom dataCOMMENT
MEDIUMlib/tests/streamlit/components_test.py705 # Create a test DataFrameCOMMENT
MEDIUMlib/tests/streamlit/components_test.py726 # Create an empty DataFrameCOMMENT
MEDIUMlib/tests/streamlit/config_test.py183 # Create the config option.COMMENT
MEDIUMlib/tests/streamlit/config_test.py219 # Create the config option.COMMENT
MEDIUMlib/tests/streamlit/config_test.py474 # Create a dummy default option.COMMENT
MEDIUMlib/tests/streamlit/config_test.py547 # Create a dummy default optionCOMMENT
MEDIUMlib/tests/streamlit/config_test.py583 # Create a dummy default option.COMMENT
83 more matches not shown…
Excessive Try-Catch Wrapping214 hits · 236 pts
SeverityFileLineSnippetContext
LOWe2e_playwright/conftest.py421 except Exception:CODE
LOWe2e_playwright/conftest.py1180 except Exception as exc:CODE
LOWe2e_playwright/conftest.py1196 except Exception:CODE
LOWe2e_playwright/st_markdown.py180 except Exception:STRING
LOWe2e_playwright/st_status.py59except Exception:CODE
LOWe2e_playwright/mega_tester_app.py1165 except Exception as ex:STRING
LOWe2e_playwright/mega_tester_app.py1178 except Exception as ex:STRING
LOWe2e_playwright/basic_app_test.py61 except Exception as ex:CODE
MEDIUMe2e_playwright/basic_app_test.py62 print(f"Error calculating size of web assets: {ex}")CODE
LOWe2e_playwright/st_audio_input_test.py49 except Exception:CODE
LOWe2e_playwright/st_rerun.py45 except Exception as e:CODE
MEDIUMe2e_playwright/st_rerun.py41def fragment_with_rerun_in_try_block():CODE
LOWe2e_playwright/shared/performance.py98 except Exception:CODE
LOWe2e_playwright/shared/performance.py190 except Exception:CODE
LOWe2e_playwright/shared/performance.py197 except Exception:CODE
LOWe2e_playwright/shared/performance.py203 except Exception:CODE
LOWe2e_playwright/shared/dataframe_utils.py490 except Exception as e:CODE
LOWe2e_playwright/load_testing/worker.py171 except Exception as e:CODE
LOWe2e_playwright/load_testing/test_load.py137 except Exception as e:CODE
LOWspecs/2026-03-05-parallel-fragments/tech-spec.md306 except Exception as e:CODE
LOW.claude/hooks/pre_bash_redirect.py71 except Exception as e:STRING
MEDIUM.claude/hooks/pre_bash_redirect.py68def main() -> None:CODE
LOWscripts/update_e2e_snapshots.py290 except Exception as e:CODE
MEDIUMscripts/update_e2e_snapshots.py291 print(f"Error: {e}")CODE
MEDIUMscripts/snapshot_cleanup.py163 print(f"Error finding test files: {e}")CODE
LOWscripts/snapshot_cleanup.py212 except Exception as e:CODE
MEDIUMscripts/snapshot_cleanup.py213 print(f"Error processing {test_file}: {e}")CODE
LOWscripts/snapshot_cleanup.py231 except Exception as e:CODE
MEDIUMscripts/snapshot_cleanup.py232 print(f"Error searching for {snapshot_name}: {e}")CODE
LOWscripts/snapshot_cleanup.py430 except Exception as e:CODE
LOWscripts/check_license_headers.py106 except Exception:CODE
MEDIUMscripts/sync_vscode_devcontainer.py87 print(f"Error: File not found: {file_path}")CODE
MEDIUMscripts/sync_vscode_devcontainer.py90 print(f"Error: Invalid JSON in {file_path}: {e}")CODE
LOWscripts/sync_vscode_devcontainer.py113 except Exception as e:CODE
MEDIUMscripts/sync_vscode_devcontainer.py114 print(f"Error: Failed to save {file_path}: {e}")CODE
LOWscripts/sync_vscode_devcontainer.py214 except Exception as e:CODE
LOWscripts/sync_vscode_devcontainer.py254 except Exception as e:CODE
MEDIUMscripts/sync_vscode_devcontainer.py273 print("Error: 'recommendations' key not found in .vscode/extensions.json")CODE
LOWscripts/pypi_nightly_create_tag.py51 except Exception as e:CODE
MEDIUMscripts/changelog_fetch_prs.py61 print(f"Error running git log: {result.stderr}", file=sys.stderr)CODE
MEDIUMscripts/changelog_fetch_prs.py183 print("Error: failed to fetch PR metadata from GitHub API.", file=sys.stderr)CODE
LOWscripts/log_agent_metrics.py47 except Exception:CODE
LOWscripts/log_agent_metrics.py60 except Exception:CODE
MEDIUMscripts/changelog_categorize_prs.py192 print(f"Error: input file '{args.input}' not found", file=sys.stderr)CODE
MEDIUMscripts/sync_ruff_version.py57 print(f"Error: File not found: {pyproject_path}")CODE
MEDIUMscripts/sync_ruff_version.py76 print(f"Error: File not found: {pre_commit_config_path}")CODE
MEDIUMscripts/sync_ruff_version.py101 print(f"Error updating .pre-commit-config.yaml: {e}")CODE
MEDIUMscripts/sync_ruff_version.py122 print("Error: Could not find ruff version in pyproject.toml")CODE
MEDIUMscripts/sync_ruff_version.py126 print("Error: Could not find ruff version in .pre-commit-config.yaml")CODE
MEDIUMscripts/sync_ruff_version.py157 print("Error: Could not find ruff version in pyproject.toml")CODE
MEDIUMscripts/sync_ruff_version.py163 print("Error: Could not find ruff version in .pre-commit-config.yaml")CODE
MEDIUMscripts/fetch_flaky_tests.py49 print(f"Error running gh command: {' '.join(args)}", file=sys.stderr)CODE
LOWlib/streamlit/config.py385 except Exception: # noqa: S110CODE
LOWlib/streamlit/config.py2705 except Exception:CODE
LOWlib/streamlit/config.py2808 except Exception: # noqa: S110CODE
LOWlib/streamlit/config.py2813 except Exception: # noqa: S110CODE
LOWlib/streamlit/config.py548 except Exception:STRING
LOWlib/streamlit/dataframe_util.py1053 except Exception:CODE
LOWlib/streamlit/dataframe_util.py1064 except Exception:CODE
LOWlib/streamlit/dataframe_util.py1084 except Exception:CODE
154 more matches not shown…
Cross-Language Confusion33 hits · 182 pts
SeverityFileLineSnippetContext
HIGHe2e_playwright/st_tabs_test.py377 "(elements) => elements.filter(el => el.offsetParent !== null).length"CODE
HIGHe2e_playwright/st_sidebar_flicker_test.py57 if (this.dataset && this.dataset.testid === 'stSidebar' && name === 'aria-expanded') {CODE
HIGHe2e_playwright/st_sidebar_flicker_test.py58 window.__sidebarStates.push({CODE
HIGHe2e_playwright/st_sidebar_flicker_test.py74 if (!lastState || lastState.ariaExpanded !== ariaExpanded) {CODE
HIGHe2e_playwright/st_sidebar_flicker_test.py75 window.__sidebarStates.push({CODE
HIGHe2e_playwright/st_audio_input_test.py575 window.blobTracking.created.push(url);CODE
HIGHe2e_playwright/st_audio_input_test.py581 window.blobTracking.revoked.push(url);CODE
HIGHe2e_playwright/st_video_test.py55 video_element.evaluate("el => el.readyState >= 3 || el.duration > 0")CODE
HIGHe2e_playwright/shared/app_utils.py1192 if (!mutationList || mutationList.length === 0) {CODE
HIGHe2e_playwright/shared/app_utils.py1202 window.streamlitPlaywrightDebugConnectionStatuses.push(state);CODE
HIGHe2e_playwright/shared/app_utils.py1262 if (!mutationList || mutationList.length === 0) {STRING
HIGHe2e_playwright/shared/app_utils.py1327 return images.every(img => img.complete && img.naturalHeight !== 0);CODE
HIGHlib/streamlit/web/skills.py103 ``cd repo && streamlit run sub/app.py`` launch, where ``repo`` is theSTRING
HIGHlib/streamlit/web/skills.py105 otherwise (e.g. ``cd /tmp && streamlit run /proj/app.py``, where ``/tmp``STRING
HIGHlib/streamlit/runtime/session_manager.py231 When active session-related methods are left undefined, their defaultSTRING
HIGHlib/streamlit/runtime/caching/hashing.py321 hash_stacks.current.push(obj)CODE
HIGHlib/streamlit/elements/lib/built_in_chart_utils.py1162 return "quantitative" # Pick anything. If undefined, Vega-Lite may hide the axis.CODE
HIGHlib/tests/streamlit/dataframe_util_test.py695 # if snowflake.snowpark.dataframe.DataFrame def is_snowpark_data_object should return trueCOMMENT
HIGHlib/tests/streamlit/components_test.py541 assert df.equals(return_value), "df != return_value"CODE
HIGHlib/tests/streamlit/config_test.py940 '{"key": null}',CODE
HIGHlib/tests/streamlit/web/skills_test.py324 Mirrors ``cd repo && streamlit run sub/app.py`` with no project marker —STRING
HIGHlib/tests/streamlit/web/skills_test.py342 Mirrors ``cd /tmp && streamlit run /proj/app.py`` — the unrelated cwdSTRING
HIGH…treamlit/web/server/starlette/starlette_routes_test.py345 This guards against a None config (e.g. TOML null) being coerced intoSTRING
HIGHlib/tests/streamlit/runtime/caching/hashing_test.py917 stack.push(BadStr())CODE
HIGHlib/tests/streamlit/testing/element_tree_test.py281 assert d.value.equals(CODE
HIGHlib/tests/streamlit/testing/element_tree_test.py1061 assert at.table[0].value.equals(df)CODE
HIGHlib/tests/streamlit/elements/vega_charts_test.py3250 '{"data": {"name": "e49f4eae50f240b9cf1895776f847b5d"}, "mark": {"type": "point"}, "encoding": {"color":CODE
HIGHlib/tests/streamlit/elements/vega_charts_test.py3254 '{"data": {"name": "438d17320890cc476723f9301ba57f91"}, "mark": {"type": "bar"}, "encoding": {"fillOpaciCODE
HIGHlib/tests/streamlit/elements/vega_charts_test.py3258 '{"data": {"name": "438d17320890cc476723f9301ba57f91"}, "mark": {"type": "bar"}, "encoding": {"fillOpaciCODE
HIGHlib/tests/streamlit/elements/vega_charts_test.py3373 '{"vconcat": [{"hconcat": [{"mark": {"type": "point"}, "encoding": {"color": {"field": "species", "type"CODE
HIGHlib/tests/streamlit/elements/vega_charts_test.py3374 '{"vconcat": [{"hconcat": [{"mark": {"type": "point"}, "encoding": {"color": {"field": "species", "type"CODE
HIGHlib/tests/streamlit/elements/text_area_test.py80 # If a proto property is null, it is not determined byCOMMENT
HIGHlib/tests/streamlit/elements/text_input_test.py78 # If a proto property is null, it is not determined byCOMMENT
Redundant / Tautological Comments105 hits · 158 pts
SeverityFileLineSnippetContext
LOWe2e_playwright/st_data_editor_config_test.py141 # Check if that the value was submittedCOMMENT
LOWe2e_playwright/st_data_editor_config_test.py171 # Check if that the value was submittedCOMMENT
LOWe2e_playwright/conftest.py1375 # Check if reruns are enabled for this test runCOMMENT
LOWe2e_playwright/conftest.py1585 # Add error to the list of test failures:COMMENT
LOWe2e_playwright/st_heading_test.py342 # Check if the page is still scrolled to the topCOMMENT
LOWe2e_playwright/st_datetime_input_test.py282 # Set value to 2028/01/01 which is valid in initial bounds (2010-2030)COMMENT
LOWe2e_playwright/st_date_input_test.py353 # Set date to 1960/01/01, which is outside of the allowed min dateCOMMENT
LOWe2e_playwright/st_date_input_test.py515 # Set value to 2028/01/01 which is valid in initial bounds (2010-2030)COMMENT
LOWe2e_playwright/st_plotly_chart_select_test.py142 # Check if the callback was triggeredCOMMENT
LOWe2e_playwright/st_selectbox_test.py250 # Check if value is still initial value:COMMENT
LOWe2e_playwright/st_altair_chart_multiview_select.py62# Check if any selection parameter has actual data (non-empty dict/list)COMMENT
LOWe2e_playwright/st_altair_chart_multiview_select.py93# Check if any selection parameter has actual data (non-empty dict/list)COMMENT
LOWe2e_playwright/st_altair_chart_multiview_select.py124# Check if any selection parameter has actual data (non-empty dict/list)COMMENT
LOWe2e_playwright/st_altair_chart_multiview_select.py159# Check if any selection parameter has actual data (non-empty dict/list)COMMENT
LOWe2e_playwright/st_data_editor_editing_test.py354 # Check if that the value was submittedCOMMENT
LOWe2e_playwright/st_data_editor_editing_test.py393 # Check if that the value was submittedCOMMENT
LOWe2e_playwright/st_data_editor_editing_test.py419 # Check if that the value was submittedCOMMENT
LOWe2e_playwright/st_dataframe_stable_rendering_test.py48 # Set use_container_width to False:COMMENT
LOWe2e_playwright/st_status_test.py50 # Check if it has a spinner icon:COMMENT
LOWe2e_playwright/st_time_input_test.py207 # Check if popover is visible:COMMENT
LOWe2e_playwright/st_time_input_test.py213 # Check if value is still initial value:COMMENT
LOWe2e_playwright/shared/animation_utils.py58 # Check if the bounding box is entirely outside the viewportCOMMENT
LOWe2e_playwright/shared/dataframe_utils.py410 # Check if dimensions or position changedCOMMENT
LOW.claude/hooks/pre_bash_redirect.py88 # Check if this is a pytest command targeting e2e_playwrightSTRING
LOW.claude/hooks/pre_bash_redirect.py97 # Check if command starts with a tool/command that requires `uv run`STRING
LOW.claude/hooks/post_edit_autofix.sh31# Check if file exists (might have been deleted)COMMENT
LOW.claude/hooks/stop_check.sh27# Check if stop hook already triggered a continuation to prevent infinite loopsCOMMENT
LOWscripts/ensure_relative_imports.sh25 # Check if the file has a .ts or .js extensionCOMMENT
LOWscripts/ensure_relative_imports.sh27 # Check if the search string does not exist in the fileCOMMENT
LOWscripts/snapshot_cleanup.py313 # Check if this snapshot is usedCOMMENT
LOWscripts/snapshot_cleanup.py341 # Check if this snapshot is in the disallow listCOMMENT
LOWscripts/pypi_nightly_create_tag.py76 # Verify if version is PEP440 compliant.COMMENT
LOW.github/workflows/pr-preview.yml665 # Set output to indicate package was builtCOMMENT
LOW.github/workflows/playwright-changed-files.yml106 # Check if file is in e2e_playwright directory (including subdirectories)COMMENT
LOW.github/workflows/playwright-changed-files.yml113 # Check if file still exists (not deleted)COMMENT
LOW.github/workflows/playwright-changed-files.yml129 # Check if the corresponding test file existsCOMMENT
LOW.github/workflows/playwright-changed-files.yml140 # Check if we've already added this testCOMMENT
LOW.github/workflows/update-emojis-material-icons.yml68 # Check if any files were modified (indicating updates were made)COMMENT
LOW.github/actions/make_init/action.yml106 # Check if the cached venv has valid symlinksCOMMENT
LOWlib/streamlit/config.py877 # Check if we are running in Linux and DISPLAY is unsetSTRING
LOWlib/streamlit/auth_util.py459 # Check if cookie needs to be splitCOMMENT
LOWlib/streamlit/source_util.py52 # Open file respecting PEP263 encoding. If no encoding header isCOMMENT
LOWlib/streamlit/config_util.py625 # Check if it's a URL using the url_util helper (only allow http/https schemes by default)COMMENT
LOWlib/streamlit/config_util.py781 # Check if it's a file path or URL (not just "light" or "dark")COMMENT
LOWlib/streamlit/watcher/local_sources_watcher.py131 # Check if this is a file in a watched directoryCOMMENT
LOWlib/streamlit/web/bootstrap.py458 # Check if we're already in an event loopCOMMENT
LOWlib/streamlit/web/skills.py128 # Check if start_dir or a project ancestor already has agent directories.COMMENT
LOWlib/streamlit/web/skills.py331 # Check if it's a Streamlit-owned symlink we can replaceCOMMENT
LOWlib/streamlit/web/skills.py837 # Check if running interactivelyCOMMENT
LOWlib/streamlit/web/cli.py414 # Check if the script contains an ASGI app instance (st.App, FastAPI, Starlette).COMMENT
LOW…server/starlette/starlette_path_security_middleware.py168 # Check if the path contains unsafe patternsSTRING
LOWlib/streamlit/web/server/starlette/starlette_app.py667 # Check if CLI set the main script path (streamlit run)COMMENT
LOWlib/streamlit/web/server/starlette/starlette_app.py777 # Check if the runtime was actually started by the parent framework.COMMENT
LOWlib/streamlit/runtime/credentials.py216 # Write the fileCOMMENT
LOWlib/streamlit/runtime/state/session_state.py1480 # Check if URL value is empty (e.g., ?foo= with no value)COMMENT
LOWlib/streamlit/runtime/state/query_params.py462 # Check if any bound params existCOMMENT
LOW…amlit/runtime/scriptrunner_utils/script_run_context.py259 # Check if this is a same-page rerun BEFORE updating page_script_hashCOMMENT
LOW…ts/templates/apps/dashboard-companies/streamlit_app.py403 # Check if the clicked cell is in the company_name columnCOMMENT
LOWlib/streamlit/navigation/page.py288 # Check if page is an external URLCOMMENT
LOWlib/streamlit/components/v2/component_registry.py348 # Check if the existing definition is different and NOT a placeholder.COMMENT
45 more matches not shown…
AI Structural Patterns158 hits · 156 pts
SeverityFileLineSnippetContext
LOW…aywright/bidi_components/session_state_interactions.py57CODE
LOWlib/streamlit/config.py262CODE
LOWlib/streamlit/config_option.py101CODE
LOWlib/streamlit/runtime/state/widgets.py47CODE
LOWlib/streamlit/runtime/caching/cache_data_api.py431CODE
LOWlib/streamlit/runtime/caching/legacy_cache_api.py35CODE
LOWlib/streamlit/runtime/caching/cache_resource_api.py315CODE
LOWlib/streamlit/runtime/caching/cache_resource_api.py328CODE
LOWlib/streamlit/elements/media.py504CODE
LOWlib/streamlit/elements/media.py228CODE
LOWlib/streamlit/elements/vega_charts.py637CODE
LOWlib/streamlit/elements/vega_charts.py873CODE
LOWlib/streamlit/elements/vega_charts.py1163CODE
LOWlib/streamlit/elements/vega_charts.py1494CODE
LOWlib/streamlit/elements/vega_charts.py1970CODE
LOWlib/streamlit/elements/vega_charts.py1986CODE
LOWlib/streamlit/elements/vega_charts.py2001CODE
LOWlib/streamlit/elements/vega_charts.py2246CODE
LOWlib/streamlit/elements/arrow.py478CODE
LOWlib/streamlit/elements/arrow.py497CODE
LOWlib/streamlit/elements/arrow.py516CODE
LOWlib/streamlit/elements/map.py88CODE
LOWlib/streamlit/elements/metric.py94CODE
LOWlib/streamlit/elements/form.py246CODE
LOWlib/streamlit/elements/form.py461CODE
LOWlib/streamlit/elements/plotly_chart.py397CODE
LOWlib/streamlit/elements/plotly_chart.py416CODE
LOWlib/streamlit/elements/layouts.py104CODE
LOWlib/streamlit/elements/layouts.py1019CODE
LOWlib/streamlit/elements/layouts.py1350CODE
LOWlib/streamlit/elements/image.py50CODE
LOWlib/streamlit/elements/lib/built_in_chart_utils.py115CODE
LOWlib/streamlit/elements/lib/column_types.py515CODE
LOWlib/streamlit/elements/lib/column_types.py695CODE
LOWlib/streamlit/elements/lib/column_types.py833CODE
LOWlib/streamlit/elements/lib/column_types.py1009CODE
LOWlib/streamlit/elements/lib/column_types.py1134CODE
LOWlib/streamlit/elements/lib/column_types.py2115CODE
LOWlib/streamlit/elements/lib/column_types.py2362CODE
LOWlib/streamlit/elements/lib/column_types.py2539CODE
LOWlib/streamlit/elements/lib/column_types.py2705CODE
LOWlib/streamlit/elements/lib/column_types.py2872CODE
LOWlib/streamlit/elements/lib/column_types.py3131CODE
LOWlib/streamlit/elements/lib/column_types.py3256CODE
LOWlib/streamlit/elements/lib/column_types.py3272CODE
LOWlib/streamlit/elements/lib/column_types.py3288CODE
LOWlib/streamlit/elements/widgets/time_widgets.py661CODE
LOWlib/streamlit/elements/widgets/time_widgets.py681CODE
LOWlib/streamlit/elements/widgets/time_widgets.py701CODE
LOWlib/streamlit/elements/widgets/time_widgets.py907CODE
LOWlib/streamlit/elements/widgets/time_widgets.py1016CODE
LOWlib/streamlit/elements/widgets/time_widgets.py1038CODE
LOWlib/streamlit/elements/widgets/time_widgets.py1060CODE
LOWlib/streamlit/elements/widgets/time_widgets.py1299CODE
LOWlib/streamlit/elements/widgets/time_widgets.py1469CODE
LOWlib/streamlit/elements/widgets/time_widgets.py1490CODE
LOWlib/streamlit/elements/widgets/time_widgets.py1511CODE
LOWlib/streamlit/elements/widgets/time_widgets.py1534CODE
LOWlib/streamlit/elements/widgets/time_widgets.py1798CODE
LOWlib/streamlit/elements/widgets/select_slider.py162CODE
98 more matches not shown…
Deep Nesting114 hits · 100 pts
SeverityFileLineSnippetContext
LOWe2e_playwright/conftest.py1314CODE
LOWe2e_playwright/st_sidebar_flicker_test.py93CODE
LOWe2e_playwright/custom_components/popular_components.py109CODE
LOWe2e_playwright/shared/performance.py105CODE
LOWe2e_playwright/shared/stats_reporter.py500CODE
LOWscripts/snapshot_cleanup.py141CODE
LOWscripts/snapshot_cleanup.py237CODE
LOWscripts/slack_notifications.py61CODE
LOWscripts/changelog_fetch_prs.py132CODE
LOWscripts/changelog_categorize_prs.py74CODE
LOWscripts/sync_ruff_version.py46CODE
LOWscripts/fetch_flaky_tests.py167CODE
LOWlib/streamlit/config.py3022CODE
LOWlib/streamlit/dataframe_util.py1364CODE
LOWlib/streamlit/logger.py32CODE
LOWlib/streamlit/config_util.py91CODE
LOWlib/streamlit/config_util.py336CODE
LOWlib/streamlit/config_util.py367CODE
LOWlib/streamlit/config_util.py441CODE
LOWlib/streamlit/config_util.py510CODE
LOWlib/streamlit/config_util.py744CODE
LOWlib/streamlit/watcher/util.py41CODE
LOWlib/streamlit/watcher/local_sources_watcher.py126CODE
LOWlib/streamlit/watcher/event_based_path_watcher.py400CODE
LOWlib/streamlit/web/bootstrap.py215CODE
LOWlib/streamlit/web/skills.py300CODE
LOWlib/streamlit/web/skills.py370CODE
LOWlib/streamlit/web/skills.py991CODE
LOWlib/streamlit/web/server/app_discovery.py123CODE
LOWlib/streamlit/web/server/app_discovery.py263CODE
LOWlib/streamlit/web/server/starlette/starlette_server.py330CODE
LOWlib/streamlit/web/server/starlette/starlette_server.py522CODE
LOWlib/streamlit/web/server/starlette/starlette_routes.py337CODE
LOWlib/streamlit/web/server/starlette/starlette_routes.py359CODE
LOW…/streamlit/web/server/starlette/starlette_websocket.py362CODE
LOW…/streamlit/web/server/starlette/starlette_websocket.py387CODE
LOWlib/streamlit/web/server/starlette/starlette_app.py491CODE
LOWlib/streamlit/runtime/app_session.py1221CODE
LOWlib/streamlit/runtime/app_session.py351CODE
LOWlib/streamlit/runtime/app_session.py613CODE
LOWlib/streamlit/runtime/credentials.py229CODE
LOWlib/streamlit/runtime/runtime.py624CODE
LOWlib/streamlit/runtime/media_file_manager.py137CODE
LOWlib/streamlit/runtime/fragment.py442CODE
LOWlib/streamlit/runtime/fragment.py324CODE
LOWlib/streamlit/runtime/fragment.py469CODE
LOWlib/streamlit/runtime/fragment.py488CODE
LOWlib/streamlit/runtime/secrets.py525CODE
LOWlib/streamlit/runtime/stats.py363CODE
LOWlib/streamlit/runtime/download_data_util.py20CODE
LOWlib/streamlit/runtime/state/session_state.py270CODE
LOWlib/streamlit/runtime/state/session_state.py664CODE
LOWlib/streamlit/runtime/state/session_state.py933CODE
LOWlib/streamlit/runtime/state/session_state.py1076CODE
LOWlib/streamlit/runtime/state/session_state.py1247CODE
LOWlib/streamlit/runtime/state/session_state.py1461CODE
LOWlib/streamlit/runtime/state/query_params.py896CODE
LOWlib/streamlit/runtime/state/query_params.py763CODE
LOWlib/streamlit/runtime/scriptrunner/magic.py56CODE
LOWlib/streamlit/runtime/scriptrunner/script_runner.py528CODE
54 more matches not shown…
Fake / Example Data91 hits · 94 pts
SeverityFileLineSnippetContext
LOW…src/components/widgets/DataFrame/columns/utils.test.ts75 const errorCell = getErrorCell("Foo Error", "Lorem Ipsum Dolor")CODE
LOW…src/components/widgets/DataFrame/columns/utils.test.ts81 expect(errorCell.errorDetails).toEqual("Lorem Ipsum Dolor")CODE
LOW…ib/src/components/widgets/TextInput/TextInput.test.tsx102 expect(textInput).toHaveAttribute("placeholder", props.element.placeholder)CODE
LOW…omponents/widgets/DateTimeInput/DateTimeInput.test.tsx386 expect(inputField).toHaveAttribute("placeholder", "DD/MM/YYYY, HH:MM")CODE
LOW…omponents/widgets/DateTimeInput/DateTimeInput.test.tsx398 expect(inputField).toHaveAttribute("placeholder", "MM-DD-YYYY, HH:MM")CODE
LOW…omponents/widgets/DateTimeInput/DateTimeInput.test.tsx410 expect(inputField).toHaveAttribute("placeholder", "YYYY-MM-DD, HH:MM")CODE
LOW…/lib/src/components/widgets/TextArea/TextArea.test.tsx147 expect(textArea).toHaveAttribute("placeholder", props.element.placeholder)CODE
LOW…ib/src/components/widgets/ChatInput/ChatInput.test.tsx165 expect(chatInput).toHaveAttribute("placeholder", props.element.placeholder)CODE
LOW…ib/src/components/widgets/ChatInput/ChatInput.test.tsx770 expect(textarea).toHaveAttribute("placeholder", "Upload a directory")CODE
LOW…rc/components/widgets/Multiselect/Multiselect.test.tsx153 describe("placeholder", () => {CODE
LOWe2e_playwright/st_chat_input_test.py361 "Lorem ipsum dolor amet, consectetur adipiscing elit. Mauris tristique est at "CODE
LOWe2e_playwright/st_chat_input_test.py371 "Lorem ipsum dolor amet, consectetur adipiscing elit. Mauris tristique est at "CODE
LOWe2e_playwright/st_chat_input_test.py540 "Lorem ipsum dolor amet, consectetur adipiscing elit. "CODE
LOWe2e_playwright/st_chat_input_test.py906 "placeholder", "Initial dynamic chat input"CODE
LOWe2e_playwright/st_chat_input_test.py924 "placeholder", "Updated dynamic chat input"CODE
LOWe2e_playwright/auth_test.py162 expect_markdown(app, "John Doe")CODE
LOWe2e_playwright/auth_test.py174 text = app.get_by_test_id("stMarkdownContainer").filter(has_text="John Doe")CODE
LOWe2e_playwright/auth_test.py190 expect_markdown(app, "John Doe")CODE
LOWe2e_playwright/mega_tester_app.py81 yield "dolor sit amet"STRING
LOWe2e_playwright/st_expander.py47 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum arcu nisl, tincidunt id "CODE
LOWe2e_playwright/st_expander.py47 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum arcu nisl, tincidunt id "CODE
LOWe2e_playwright/st_expander.py62 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum arcu nisl, tincidunt id "CODE
LOWe2e_playwright/st_expander.py62 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum arcu nisl, tincidunt id "CODE
LOWe2e_playwright/web_server_test.py711 ['streamlit', 'placeholder', sessionId]STRING
LOWe2e_playwright/st_altair_chart_title.py25 title="Lorem ipsum dolor sit amet, consectetur adipiscing elit. " * 5,CODE
LOWe2e_playwright/st_altair_chart_title.py25 title="Lorem ipsum dolor sit amet, consectetur adipiscing elit. " * 5,CODE
LOWe2e_playwright/st_text.py25 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore "CODE
LOWe2e_playwright/st_text.py25 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore "CODE
LOWe2e_playwright/forward_msg_cache.py39 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus quis neque "CODE
LOWe2e_playwright/forward_msg_cache.py39 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus quis neque "CODE
LOWe2e_playwright/forward_msg_cache.py44 "pharetra et non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing "CODE
LOWe2e_playwright/forward_msg_cache.py44 "pharetra et non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing "CODE
LOWe2e_playwright/st_table.py270 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore.",CODE
LOWe2e_playwright/st_table.py270 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore.",CODE
LOWe2e_playwright/st_selectbox_test.py442 expect(selectbox_input).to_have_attribute("placeholder", "Add an option")CODE
LOWe2e_playwright/mega_tester_app_test.py458 expect(app.get_by_text("lorem ipsum", exact=False)).to_be_visible()CODE
LOWe2e_playwright/mega_tester_app_test.py459 expect(app.get_by_text("dolor sit amet", exact=False)).to_be_visible()CODE
LOWe2e_playwright/st_write_stream.py27Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt utCODE
LOWe2e_playwright/st_write_stream.py27Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt utCODE
LOWe2e_playwright/st_chat_message.py51Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tristique estSTRING
LOWe2e_playwright/st_chat_message.py51Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tristique estSTRING
LOWe2e_playwright/st_chat_message.py69 st.write("Lorem ipsum dolor sit amet")CODE
LOWe2e_playwright/st_chat_message.py69 st.write("Lorem ipsum dolor sit amet")CODE
LOWe2e_playwright/st_columns.py28 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor "CODE
LOWe2e_playwright/st_columns.py28 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor "CODE
LOWe2e_playwright/st_heading.py60lorem_ipsum_text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit"CODE
LOWe2e_playwright/st_heading.py60lorem_ipsum_text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit"CODE
LOWe2e_playwright/shared/oidc_mock_server.py132 "name": "John Doe",CODE
LOW…playwright/load_testing/scenarios/many_messages_app.py28# ~1KB lorem ipsum text blockCOMMENT
LOW…playwright/load_testing/scenarios/many_messages_app.py33 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus quis neque "CODE
LOW…playwright/load_testing/scenarios/many_messages_app.py33 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus quis neque "CODE
LOW…playwright/load_testing/scenarios/many_messages_app.py38 "pharetra et non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing "CODE
LOW…playwright/load_testing/scenarios/many_messages_app.py38 "pharetra et non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing "CODE
LOW…ts/templates/apps/dashboard-companies/streamlit_app.py49 "Acme Corp",CODE
LOWlib/streamlit/elements/write.py144 >>> Lorem ipsum dolor sit amet, **consectetur adipiscing** elit, sed do eiusmod temporCODE
LOWlib/streamlit/elements/write.py144 >>> Lorem ipsum dolor sit amet, **consectetur adipiscing** elit, sed do eiusmod temporCODE
LOWlib/streamlit/elements/layouts.py317 >>> long_text = "Lorem ipsum. " * 1000STRING
LOWlib/streamlit/elements/layouts.py568 >>> left.markdown("Lorem ipsum " * 10)STRING
LOWlib/streamlit/elements/layouts.py569 >>> middle.markdown("Lorem ipsum " * 5)STRING
LOWlib/streamlit/elements/layouts.py570 >>> right.markdown("Lorem ipsum ")STRING
31 more matches not shown…
Modern Structural Boilerplate63 hits · 67 pts
SeverityFileLineSnippetContext
LOWscripts/update_version.py99def update_files(data: dict[str, str], version: str) -> None:CODE
LOWscripts/update_name.py43def update_root_pyproject_toml(project_name: str) -> None:CODE
LOWscripts/update_name.py85def update_files(project_name: str, files: dict[str, str]) -> None:CODE
LOWlib/streamlit/starlette.py34__all__ = ["App"]CODE
LOWlib/streamlit/config.py129def set_option(key: str, value: Any, where_defined: str = _USER_DEFINED) -> None:CODE
LOWlib/streamlit/config.py155def set_user_option(key: str, value: Any) -> None:CODE
LOWlib/streamlit/config.py2600def _set_option(key: str, value: Any, where_defined: str) -> None:CODE
LOWlib/streamlit/config.py2688def _update_config_with_toml(raw_toml: str, where_defined: str) -> None:CODE
LOWlib/streamlit/config.py3018def _set_development_mode() -> None:CODE
LOWlib/streamlit/__init__.py172def _update_logger() -> None:CODE
LOWlib/streamlit/column_config.py21__all__ = [CODE
LOWlib/streamlit/logger.py32def set_log_level(level: str | int) -> None:CODE
LOWlib/streamlit/logger.py86def update_formatter() -> None:CODE
LOWlib/streamlit/config_option.py242 def set_value(self, value: Any, where_defined: str | None = None) -> None:CODE
LOWlib/streamlit/watcher/__init__.py23__all__ = [CODE
LOWlib/streamlit/watcher/local_sources_watcher.py81 def update_watched_pages(self) -> None:CODE
LOWlib/streamlit/watcher/local_sources_watcher.py266 def update_watched_modules(self) -> None:CODE
LOWlib/streamlit/web/bootstrap.py38def _set_up_signal_handler(server: Server) -> None:CODE
LOWlib/streamlit/web/server/app_discovery.py425__all__ = ["AppDiscoveryResult", "discover_asgi_app"]CODE
LOWlib/streamlit/web/server/__init__.py21__all__ = [CODE
LOWlib/streamlit/web/server/starlette/__init__.py18__all__ = [CODE
LOW…treamlit/web/server/starlette/starlette_auth_routes.py173 def set_single_cookie(cookie_name: str, value: str) -> None:CODE
LOWlib/streamlit/web/server/starlette/starlette_routes.py187async def _set_cors_headers(request: Request, response: Response) -> None:CODE
LOWlib/streamlit/web/server/starlette/starlette_routes.py666 async def _set_upload_headers(request: Request, response: Response) -> None:CODE
LOWlib/streamlit/web/server/starlette/starlette_app.py122def _set_anyio_thread_limiter() -> None:CODE
LOWlib/streamlit/web/server/starlette/starlette_app.py926__all__ = ["App", "create_starlette_app"]CODE
LOWlib/streamlit/runtime/__init__.py42__all__ = [CODE
LOWlib/streamlit/runtime/runtime.py620 def _set_state(self, new_state: RuntimeState) -> None:CODE
LOWlib/streamlit/runtime/secrets.py126 def set_missing_attr_message(self, message: Callable[[str], str]) -> None:CODE
LOWlib/streamlit/runtime/secrets.py130 def set_missing_key_message(self, message: Callable[[str], str]) -> None:CODE
LOWlib/streamlit/runtime/secrets.py134 def set_no_secrets_found_message(self, message: Callable[[list[str]], str]) -> None:CODE
LOWlib/streamlit/runtime/secrets.py150 def set_invalid_secret_path_message(self, message: Callable[[str], str]) -> None:CODE
LOWlib/streamlit/runtime/pages_manager.py89 def set_current_page_script_hash(self, page_script_hash: PageHash) -> None:CODE
LOWlib/streamlit/runtime/pages_manager.py138 def _set_pages(self, pages: dict[PageHash, PageInfo]) -> None:CODE
LOWlib/streamlit/runtime/state/session_state.py242 def set_widget_from_proto(self, widget_state: WidgetStateProto) -> None:CODE
LOWlib/streamlit/runtime/state/session_state.py246 def set_from_value(self, k: str, v: Any) -> None:CODE
LOWlib/streamlit/runtime/state/session_state.py250 def set_widget_metadata(self, widget_meta: WidgetMetadata[Any]) -> None:CODE
LOWlib/streamlit/runtime/state/session_state.py385 def set_key_id_mapping(self, key_id_mapping: dict[str, str]) -> None:CODE
LOWlib/streamlit/runtime/state/session_state.py828 def set_widgets_from_proto(self, widget_states: WidgetStatesProto) -> None:CODE
LOWlib/streamlit/runtime/state/session_state.py1215 def _set_widget_metadata(self, widget_metadata: WidgetMetadata[Any]) -> None:CODE
LOWlib/streamlit/runtime/state/session_state.py1232 def _set_key_widget_mapping(self, widget_id: str, user_key: str) -> None:CODE
LOWlib/streamlit/runtime/state/__init__.py35__all__ = [CODE
LOWlib/streamlit/runtime/state/query_params.py372 def _set_item_internal(self, key: str, value: str | Iterable[str]) -> None:CODE
LOWlib/streamlit/runtime/state/query_params.py495 def set_with_no_forward_msg(self, key: str, val: list[str] | str) -> None:CODE
LOWlib/streamlit/runtime/state/query_params.py680 def set_initial_query_params(self, query_string: str) -> None:CODE
LOWlib/streamlit/runtime/state/query_params.py691 def set_initial_query_params_from_current(self) -> None:CODE
LOWlib/streamlit/runtime/state/query_params.py740 def set_corrected_value(self, param_key: str, value: Any, value_type: str) -> None:CODE
LOWlib/streamlit/runtime/state/query_params.py760 def _set_corrected_value(self, param_key: str, value: Any, value_type: str) -> None:CODE
LOWlib/streamlit/runtime/scriptrunner/__init__.py28__all__ = [CODE
LOWlib/streamlit/runtime/caching/__init__.py106__all__ = [CODE
LOWlib/streamlit/runtime/caching/storage/__init__.py23__all__ = [CODE
LOW…amlit/runtime/scriptrunner_utils/script_run_context.py240 def set_mpa_v2_page(self, page_script_hash: str) -> None:CODE
LOWlib/streamlit/testing/v1/__init__.py17__all__ = ["AppTest"]CODE
LOWlib/streamlit/connections/__init__.py24__all__ = [CODE
LOWlib/streamlit/components/v1/__init__.py43__all__ = [CODE
LOWlib/streamlit/components/v1/components.py33__all__ = [CODE
LOWlib/streamlit/components/v2/component_registry.py403 def update_component(self, definition: BidiComponentDefinition) -> None:CODE
LOWlib/streamlit/components/v2/__init__.py548__all__ = [CODE
LOWlib/streamlit/components/v2/types.py311__all__ = [CODE
LOWlib/streamlit/components/v2/bidi_component/__init__.py23__all__ = ["BidiComponentMixin", "BidiComponentResult", "ComponentResult"]CODE
3 more matches not shown…
AI Slop Vocabulary35 hits · 65 pts
SeverityFileLineSnippetContext
MEDIUMfrontend/lib/src/hooks/useScrollToBottom.ts87 // Essentially we are not suppose to be animating cause a scrollCOMMENT
MEDIUMe2e_playwright/st_markdown.py552# Complex markdown in tooltip - comprehensive testCOMMENT
MEDIUMe2e_playwright/window_config_test.py40 # Inject comprehensive configuration BEFORE the page loadsCOMMENT
MEDIUMe2e_playwright/st_audio_input_test.py610 # Use wait_until pattern for async checks as per best practicesSTRING
MEDIUMe2e_playwright/skills_nudge_test.py60 # An agent harness is considered "present" when its home config dir exists.COMMENT
LOWlib/streamlit/delta_generator.py588 # If the message was not enqueued, just return self since it's aCOMMENT
MEDIUMlib/streamlit/config.py1234 """Port where users should point their browsers in order to connect to theSTRING
LOWlib/streamlit/dataframe_util.py912 # If there is a recursion error, we just return the table as-isCOMMENT
LOWlib/streamlit/dataframe_util.py1123 # of the enum members. For other enums, we just return the enum member.COMMENT
MEDIUMlib/streamlit/web/skills.py931# (harness, project_skills_dir, home_skills_dir, agent_home_dir) - skill dirsCOMMENT
MEDIUMlib/streamlit/web/skills.py933# to detect the harness itself independent of Streamlit skills.COMMENT
MEDIUMlib/streamlit/web/skills.py1022 # (saves 2 isfile calls per absent harness — common on hostedCOMMENT
LOWlib/streamlit/web/server/starlette/starlette_routes.py117 # unit, and help text, so we can just use the first one to constructCOMMENT
LOWlib/streamlit/web/server/starlette/starlette_routes.py147 # unit, and help text, so we can just use the first one to fill inCOMMENT
MEDIUMlib/streamlit/runtime/backend_operation_handler.py214 # - no agent harness present: nothing would consume the skills.COMMENT
LOWlib/streamlit/runtime/fragment.py491 # NOTE: We need to call get_script_run_ctx here again and can't just use theCOMMENT
MEDIUMlib/streamlit/runtime/scriptrunner/script_runner.py128# is designed to leverage our original v1 version of multi-page apps. ThisCOMMENT
LOWlib/streamlit/runtime/caching/cache_resource_api.py719 # so just use that.COMMENT
LOW…treamlit/runtime/scriptrunner_utils/script_requests.py225 # new_data contains a new fragment_id_queue, so we just use it.COMMENT
LOWlib/streamlit/connections/snowflake_connection.py629 # If we're running in SiS-on-warehouses, just call get_active_session() andCOMMENT
LOWlib/streamlit/elements/write.py438 # we can just call markdown directly and skip the buffer logic.COMMENT
LOWlib/streamlit/elements/vega_charts.py2391 # Its enough to just use the names here since they are expectedCOMMENT
LOWlib/streamlit/elements/vega_charts.py2418 # If its not used with selections activated, just returnCOMMENT
LOWlib/streamlit/elements/dialog_decorator.py126# We just call it 'title' here though to make the user-doc more friendly asCOMMENT
LOWlib/streamlit/elements/lib/image_utils.py444 # MediaFileManager. For this, we just add the index to the image's "coordinates".COMMENT
LOWlib/streamlit/elements/lib/built_in_chart_utils.py544 # We can't just call set(col_names) because sets don't have stable ordering,COMMENT
LOWlib/streamlit/elements/lib/skeleton_placeholder.py153 # Not in a script thread - just return without showing anythingCOMMENT
MEDIUMlib/streamlit/elements/widgets/data_editor.py1193 # We also utilize the arrow schema to determine the data kinds of every column.COMMENT
LOWlib/streamlit/elements/widgets/slider.py151 # as it is in the given datetime object, we just set the tzinfo to UTC andCOMMENT
LOWlib/streamlit/elements/widgets/slider.py988 # Empty list, so let's just use the outer boundsSTRING
MEDIUMlib/tests/streamlit/config_test.py1993 """Test comprehensive theme inheritance with all option types."""STRING
MEDIUMlib/tests/streamlit/config_test.py2096 # Patch both config and config_util os.path.exists for comprehensive mockingSTRING
MEDIUMlib/tests/streamlit/web/skills_test.py1909 # Isolated HOME: an agent harness present, but no skills installed there.COMMENT
LOW…lit/components/v2/bidi_component/test_serialization.py133 # Should just return the state as-isCOMMENT
MEDIUMlib/tests/streamlit/elements/checkbox_test.py100 """Test that the checkbox help properly dedents in order to avoid code blocks"""STRING
Structural Annotation Overuse27 hits · 46 pts
SeverityFileLineSnippetContext
LOWe2e_playwright/st_chat_input_test.py1648 # Step 2: Delete the uploaded fileCOMMENT
LOWe2e_playwright/st_chat_input_test.py1655 # Step 3: Verify the upload button still works after the upload + delete cycleCOMMENT
LOWe2e_playwright/st_chat_input_test.py1629 # Step 1: Upload a file using the buttonCOMMENT
LOWe2e_playwright/st_tabs_test.py214 # Step 1: interact with a widget while in Alpha (sets widgetMgr to "Alpha")COMMENT
LOWe2e_playwright/st_tabs_test.py218 # Step 2: programmatic nav to Beta via session_stateCOMMENT
LOWe2e_playwright/st_tabs_test.py223 # Step 3: interact with widget inside Beta — before the fix this silentlyCOMMENT
LOWe2e_playwright/st_pills_test.py350 # Step 1: EN mode - "apple" is selected, no callback yetCOMMENT
LOWe2e_playwright/st_pills_test.py356 # Step 2: switch to ES by clicking the button - format_func changes, options don'tCOMMENT
LOWe2e_playwright/st_pills_test.py368 # Step 3: user selects "naranja" (option B) - callback should fire onceCOMMENT
LOW.claude/skills/generating-changelog/SKILL.md16## Step 1: Validate inputCOMMENT
LOW.claude/skills/generating-changelog/SKILL.md33## Step 2: Fetch PR dataCOMMENT
LOW.claude/skills/generating-changelog/SKILL.md84## Step 5: Present classification for reviewCOMMENT
LOW.claude/skills/generating-changelog/SKILL.md99## Step 6: Rewrite descriptions and generate outputCOMMENT
LOW.claude/skills/generating-changelog/SKILL.md177## Step 7: Final summaryCOMMENT
LOW.claude/skills/creating-pull-requests/SKILL.md16## Step 1: Choose modeCOMMENT
LOW.claude/skills/creating-pull-requests/SKILL.md27## Step 2: Execute git workflowCOMMENT
LOW.claude/skills/creating-pull-requests/SKILL.md60## Step 3: Compose and create PRCOMMENT
LOWlib/streamlit/runtime/memory_session_storage.py35 # NOTE: The defaults for maxsize and ttl are chosen arbitrarily for now. TheseCOMMENT
LOWlib/streamlit/runtime/session_manager.py375 # NOTE: The following methods only need to be overwritten when a concreteCOMMENT
LOW…mlit/.agents/skills/developing-with-streamlit/SKILL.md37### Step 1: Locate the Streamlit Source Code (if needed)COMMENT
LOW…mlit/.agents/skills/developing-with-streamlit/SKILL.md79### Step 2: Identify Task Type and Route to ReferenceCOMMENT
LOW…mlit/.agents/skills/developing-with-streamlit/SKILL.md186### Step 3: Apply Guidance to Edit CodeCOMMENT
LOW…mlit/.agents/skills/developing-with-streamlit/SKILL.md196### Step 4: Check Running Apps and Offer to RunCOMMENT
LOW…sts/streamlit/watcher/event_based_path_watcher_test.py625 # Step 1: Simulate file being createdCOMMENT
LOW…sts/streamlit/watcher/event_based_path_watcher_test.py642 # Step 2: Simulate file being modifiedCOMMENT
LOW…b/tests/streamlit/watcher/polling_path_watcher_test.py307 # Step 1: Simulate file being createdCOMMENT
LOW…b/tests/streamlit/watcher/polling_path_watcher_test.py318 # Step 2: Simulate file being modifiedCOMMENT
Verbosity Indicators13 hits · 25 pts
SeverityFileLineSnippetContext
LOWe2e_playwright/st_chat_input_test.py1648 # Step 2: Delete the uploaded fileCOMMENT
LOWe2e_playwright/st_chat_input_test.py1655 # Step 3: Verify the upload button still works after the upload + delete cycleCOMMENT
LOWe2e_playwright/st_chat_input_test.py1629 # Step 1: Upload a file using the buttonCOMMENT
LOWe2e_playwright/st_tabs_test.py214 # Step 1: interact with a widget while in Alpha (sets widgetMgr to "Alpha")COMMENT
LOWe2e_playwright/st_tabs_test.py218 # Step 2: programmatic nav to Beta via session_stateCOMMENT
LOWe2e_playwright/st_tabs_test.py223 # Step 3: interact with widget inside Beta — before the fix this silentlyCOMMENT
LOWe2e_playwright/st_pills_test.py350 # Step 1: EN mode - "apple" is selected, no callback yetCOMMENT
LOWe2e_playwright/st_pills_test.py356 # Step 2: switch to ES by clicking the button - format_func changes, options don'tCOMMENT
LOWe2e_playwright/st_pills_test.py368 # Step 3: user selects "naranja" (option B) - callback should fire onceCOMMENT
LOW…sts/streamlit/watcher/event_based_path_watcher_test.py625 # Step 1: Simulate file being createdCOMMENT
LOW…sts/streamlit/watcher/event_based_path_watcher_test.py642 # Step 2: Simulate file being modifiedCOMMENT
LOW…b/tests/streamlit/watcher/polling_path_watcher_test.py307 # Step 1: Simulate file being createdCOMMENT
LOW…b/tests/streamlit/watcher/polling_path_watcher_test.py318 # Step 2: Simulate file being modifiedCOMMENT
Slop Phrases5 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMe2e_playwright/basic_app_test.py44 # size of web assets low, you can modify this threshold if it's really neededCOMMENT
MEDIUMe2e_playwright/basic_app_test.py96 # size low, you can modify this threshold if it's really needed, justified,COMMENT
LOWlib/pyproject.toml81 # Let's make sure to remove this "toml" library when we stop supporting Python 3.10.COMMENT
LOWlib/streamlit/watcher/util.py216 # Don't forget to include a break/return when the thing you're trying to doSTRING
MEDIUMlib/streamlit/elements/write.py383 As mentioned earlier, ``st.write()`` also accepts other data formats, such asSTRING
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALlib/tests/streamlit/elements/number_input_test.py441 self.script_run_ctx.session_state._state._new_widget_state.set_widget_from_proto(CODE
Cross-Language Confusion (JS/TS)1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHfrontend/lib/src/components/elements/Tabs/Tabs.tsx207 // overrides session_state, making tab.open return False for the new tab.COMMENT
Overly Generic Function Names6 hits · 6 pts
SeverityFileLineSnippetContext
LOWe2e_playwright/st_code.py114def process_data(data):CODE
LOWlib/tests/streamlit/runtime/metrics_util_test.py308 def test_function(param1: int, param2: str, param3: float = 0.1) -> str:CODE
LOWlib/tests/streamlit/runtime/metrics_util_test.py491 def test_function() -> str:CODE
LOWlib/tests/streamlit/runtime/metrics_util_test.py534 def my_method(self, x: int, y: str) -> None:CODE
LOWlib/tests/streamlit/runtime/fragment_test.py1081 def my_function():CODE
LOWlib/tests/streamlit/elements/file_uploader_test.py292 "file2", "project/utils.py", "text/plain", b"def helper(): pass"CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.claude/skills/addressing-pr-review-comments/SKILL.md177✅ #2 [chore] (general): Updated README as requestedCODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…nts/skills/developing-with-streamlit/references/cli.md139### Project scaffoldingCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMlib/tests/streamlit/write_test.py723CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…nts/widgets/CustomComponent/ComponentInstance.test.tsx780 // // TODO: implement test to check handling of daataframe valuesCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWe2e_playwright/st_code.py123# Example usageCOMMENT