Repository Analysis

flet-dev/flet

Build realtime web, mobile and desktop apps in Python only. No frontend experience required.

11.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of flet-dev/flet, a Python project with 16,335 GitHub stars. SynthScan v2.0 examined 299,206 lines of code across 3370 source files, recording 2354 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 11.1 places this repository in the Low 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).

11.1
Adjusted Score
11.1
Raw Score
100%
Time Factor
2026-07-13
Last Push
16.3K
Stars
Python
Language
299.2K
Lines of Code
3.4K
Files
2.4K
Pattern Hits
2026-07-14
Scan Date
0.06
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 0HIGH 207MEDIUM 196LOW 1951

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

Cross-File Repetition154 hits · 770 pts
SeverityFileLineSnippetContext
HIGHwebsite/docs/tutorials/solitaire.md0returns list of cards that will be dragged together, starting with the current cardSTRING
HIGH…ples/tutorials/solitaire/solitaire-final-part1/card.py0returns list of cards that will be dragged together, starting with the current cardSTRING
HIGH…mples/tutorials/solitaire/solitaire-game-setup/card.py0returns list of cards that will be dragged together, starting with the current cardSTRING
HIGH…les/tutorials/solitaire/solitaire-fanned-piles/card.py0returns list of cards that will be dragged together, starting with the current cardSTRING
HIGH…k/python/examples/controls/core/column/spacing/main.py0generates a list of custom containers with length `count`.STRING
HIGH…python/examples/controls/core/column/alignment/main.py0generates a list of custom containers with length `count`.STRING
HIGH…ples/controls/core/column/horizontal_alignment/main.py0generates a list of custom containers with length `count`.STRING
HIGH…utorials/solitaire_declarative/solitaire_final/main.py0return the nearest slot to the card within snap_threshold, or none.STRING
HIGH…/solitaire_declarative/drag-and-drop/step7_field_gd.py0return the nearest slot to the card within snap_threshold, or none.STRING
HIGH…/solitaire_declarative/drag-and-drop/step8_field_gd.py0return the nearest slot to the card within snap_threshold, or none.STRING
HIGH…/solitaire_declarative/drag-and-drop/step6_field_gd.py0initialize homes & coordinates: card1 -> deck, card2 -> waste.STRING
HIGH…/solitaire_declarative/drag-and-drop/step5_field_gd.py0initialize homes & coordinates: card1 -> deck, card2 -> waste.STRING
HIGH…/solitaire_declarative/drag-and-drop/step7_field_gd.py0initialize homes & coordinates: card1 -> deck, card2 -> waste.STRING
HIGH…/solitaire_declarative/drag-and-drop/step4_field_gd.py0initialize homes & coordinates: card1 -> deck, card2 -> waste.STRING
HIGH…s/flet-charts/src/flet_charts/line_chart_data_point.py0returns a copy of this object with the specified properties overridden.STRING
HIGH…ages/flet-charts/src/flet_charts/scatter_chart_spot.py0returns a copy of this object with the specified properties overridden.STRING
HIGH…/flet-charts/src/flet_charts/candlestick_chart_spot.py0returns a copy of this object with the specified properties overridden.STRING
HIGH…/packages/flet-charts/src/flet_charts/bar_chart_rod.py0returns a copy of this object with the specified properties overridden.STRING
HIGH…kages/flet-charts/src/flet_charts/candlestick_chart.py0returns a copy of this object with the specified properties overridden.STRING
HIGH…k/python/packages/flet-charts/src/flet_charts/types.py0returns a copy of this object with the specified properties overridden.STRING
HIGH…hon/packages/flet-charts/src/flet_charts/line_chart.py0returns a copy of this object with the specified properties overridden.STRING
HIGH…thon/packages/flet-charts/src/flet_charts/bar_chart.py0returns a copy of this object with the specified properties overridden.STRING
HIGH…/packages/flet-charts/src/flet_charts/scatter_chart.py0returns a copy of this object with the specified properties overridden.STRING
HIGHsdk/python/packages/flet/src/flet/controls/box.py0returns a copy of this object with the specified properties overridden.STRING
HIGHsdk/python/packages/flet/src/flet/controls/alignment.py0returns a copy of this object with the specified properties overridden.STRING
HIGH…k/python/packages/flet/src/flet/controls/text_style.py0returns a copy of this object with the specified properties overridden.STRING
HIGHsdk/python/packages/flet/src/flet/controls/animation.py0returns a copy of this object with the specified properties overridden.STRING
HIGH…ython/packages/flet/src/flet/controls/border_radius.py0returns a copy of this object with the specified properties overridden.STRING
HIGHsdk/python/packages/flet/src/flet/controls/buttons.py0returns a copy of this object with the specified properties overridden.STRING
HIGHsdk/python/packages/flet/src/flet/controls/transform.py0returns a copy of this object with the specified properties overridden.STRING
HIGHsdk/python/packages/flet/src/flet/controls/geometry.py0returns a copy of this object with the specified properties overridden.STRING
HIGHsdk/python/packages/flet/src/flet/controls/painting.py0returns a copy of this object with the specified properties overridden.STRING
HIGHsdk/python/packages/flet/src/flet/controls/border.py0returns a copy of this object with the specified properties overridden.STRING
HIGH…kages/flet-charts/src/flet_charts/candlestick_chart.py0configures the appearance of the right axis, its title and labels.STRING
HIGH…hon/packages/flet-charts/src/flet_charts/line_chart.py0configures the appearance of the right axis, its title and labels.STRING
HIGH…thon/packages/flet-charts/src/flet_charts/bar_chart.py0configures the appearance of the right axis, its title and labels.STRING
HIGH…/packages/flet-charts/src/flet_charts/scatter_chart.py0configures the appearance of the right axis, its title and labels.STRING
HIGH…kages/flet-charts/src/flet_charts/candlestick_chart.py0configures the appearance of the bottom axis, its title and labels.STRING
HIGH…hon/packages/flet-charts/src/flet_charts/line_chart.py0configures the appearance of the bottom axis, its title and labels.STRING
HIGH…thon/packages/flet-charts/src/flet_charts/bar_chart.py0configures the appearance of the bottom axis, its title and labels.STRING
HIGH…/packages/flet-charts/src/flet_charts/scatter_chart.py0configures the appearance of the bottom axis, its title and labels.STRING
HIGH…hon/packages/flet-charts/src/flet_charts/line_chart.py0applies a padding for showing contents inside the tooltip.STRING
HIGH…thon/packages/flet-charts/src/flet_charts/bar_chart.py0applies a padding for showing contents inside the tooltip.STRING
HIGH…/packages/flet-charts/src/flet_charts/scatter_chart.py0applies a padding for showing contents inside the tooltip.STRING
HIGH…hon/packages/flet-charts/src/flet_charts/line_chart.py0forces the tooltip to shift horizontally inside the chart, if overflow happens.STRING
HIGH…thon/packages/flet-charts/src/flet_charts/bar_chart.py0forces the tooltip to shift horizontally inside the chart, if overflow happens.STRING
HIGH…/packages/flet-charts/src/flet_charts/scatter_chart.py0forces the tooltip to shift horizontally inside the chart, if overflow happens.STRING
HIGH…hon/packages/flet-charts/src/flet_charts/line_chart.py0forces the tooltip to shift vertically inside the chart, if overflow happens.STRING
HIGH…thon/packages/flet-charts/src/flet_charts/bar_chart.py0forces the tooltip to shift vertically inside the chart, if overflow happens.STRING
HIGH…/packages/flet-charts/src/flet_charts/scatter_chart.py0forces the tooltip to shift vertically inside the chart, if overflow happens.STRING
HIGH…hon/packages/flet-charts/src/flet_charts/line_chart.py0configures the appearance of the left axis, its title and labels.STRING
HIGH…thon/packages/flet-charts/src/flet_charts/bar_chart.py0configures the appearance of the left axis, its title and labels.STRING
HIGH…/packages/flet-charts/src/flet_charts/scatter_chart.py0configures the appearance of the left axis, its title and labels.STRING
HIGH…hon/packages/flet-charts/src/flet_charts/line_chart.py0configures the appearance of the top axis, its title and labels.STRING
HIGH…thon/packages/flet-charts/src/flet_charts/bar_chart.py0configures the appearance of the top axis, its title and labels.STRING
HIGH…/packages/flet-charts/src/flet_charts/scatter_chart.py0configures the appearance of the top axis, its title and labels.STRING
HIGH…olor-pickers/src/flet_color_pickers/hue_ring_picker.py0called when the primary color is changed. the :attr:`~flet.event.data` property of the event handler argument contains tSTRING
HIGH…t-color-pickers/src/flet_color_pickers/block_picker.py0called when the primary color is changed. the :attr:`~flet.event.data` property of the event handler argument contains tSTRING
HIGH…t-color-pickers/src/flet_color_pickers/color_picker.py0called when the primary color is changed. the :attr:`~flet.event.data` property of the event handler argument contains tSTRING
HIGH…olor-pickers/src/flet_color_pickers/material_picker.py0called when the primary color is changed. the :attr:`~flet.event.data` property of the event handler argument contains tSTRING
94 more matches not shown…
Unused Imports945 hits · 646 pts
SeverityFileLineSnippetContext
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py3CODE
LOWtools/crocodocs/src/crocodocs/config.py3CODE
LOWtools/crocodocs/src/crocodocs/frontmatter.py3CODE
LOWtools/crocodocs/src/crocodocs/partials.py3CODE
LOWtools/crocodocs/src/crocodocs/generate.py3CODE
LOWtools/crocodocs/src/crocodocs/docs.py3CODE
LOWtools/crocodocs/src/crocodocs/cli.py3CODE
LOWtools/crocodocs/src/crocodocs/assets.py3CODE
LOWtools/crocodocs/src/crocodocs/sidebars.py3CODE
LOWtools/crocodocs/src/crocodocs/progress.py3CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py9CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py10CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py11CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py12CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py13CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py14CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py15CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py16CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py17CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py18CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py19CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py20CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py21CODE
LOWsdk/python/examples/apps/flet_build_test/src/main.py22CODE
LOW…examples/apps/declarative/trolli/components/sidebar.py1CODE
LOW…n/examples/apps/declarative/trolli/components/board.py1CODE
LOW…xamples/apps/declarative/trolli/components/__init__.py1CODE
LOW…xamples/apps/declarative/trolli/components/__init__.py2CODE
LOW…xamples/apps/declarative/trolli/components/__init__.py3CODE
LOW…xamples/apps/declarative/trolli/components/__init__.py4CODE
LOW…examples/apps/declarative/trolli/components/dialogs.py1CODE
LOW…examples/apps/declarative/trolli/components/app_bar.py1CODE
LOWsdk/python/examples/apps/dialogs/main.py15CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py1CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py1CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py1CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py1CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py7CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py8CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py8CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py9CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py10CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py10CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py10CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py15CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py15CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py19CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py19CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py20CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py20CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py20CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py20CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py26CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py27CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py27CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py31CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py31CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py31CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py36CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py36CODE
885 more matches not shown…
Decorative Section Separators136 hits · 434 pts
SeverityFileLineSnippetContext
MEDIUMtools/crocodocs/src/crocodocs/partials.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/crocodocs/src/crocodocs/partials.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/crocodocs/src/crocodocs/partials.py145# ---------------------------------------------------------------------------STRING
MEDIUMtools/crocodocs/src/crocodocs/partials.py147# ---------------------------------------------------------------------------STRING
MEDIUMtools/crocodocs/src/crocodocs/partials.py214# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/crocodocs/src/crocodocs/partials.py216# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py23# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py95# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py97# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py145# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/modal_routes/main.py147# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured_views/main.py3# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured_views/main.py5# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured_views/main.py18# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured_views/main.py20# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured_views/main.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured_views/main.py66# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured_views/main.py129# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured_views/main.py131# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured_views/main.py187# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured_views/main.py189# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py7# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py9# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py63# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py65# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py108# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py110# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py167# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py169# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py282# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/examples/apps/router/featured/main.py284# ---------------------------------------------------------------------------COMMENT
MEDIUM…n/packages/flet-cli/tests/test_project_dependencies.py10# ---------------------------------------------------------------------------COMMENT
MEDIUM…n/packages/flet-cli/tests/test_project_dependencies.py12# ---------------------------------------------------------------------------COMMENT
MEDIUM…n/packages/flet-cli/tests/test_project_dependencies.py143# ---------------------------------------------------------------------------COMMENT
MEDIUM…n/packages/flet-cli/tests/test_project_dependencies.py145# ---------------------------------------------------------------------------COMMENT
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py15# ---------------------------------------------------------------------------COMMENT
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py17# ---------------------------------------------------------------------------COMMENT
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py77# ---------------------------------------------------------------------------COMMENT
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py79# ---------------------------------------------------------------------------COMMENT
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py142# ---------------------------------------------------------------------------COMMENT
MEDIUM…let/integration_tests/examples/apps/test_use_dialog.py144# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py44# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py46# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py272# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py274# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py408# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py410# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py488# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py490# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py698# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py700# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py810# ---------------------------------------------------------------------------COMMENT
MEDIUM…es/flet/integration_tests/examples/apps/test_router.py812# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/packages/flet/tests/test_router_recursive.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/packages/flet/tests/test_router_recursive.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/packages/flet/tests/test_router_recursive.py92# ---------------------------------------------------------------------------COMMENT
MEDIUMsdk/python/packages/flet/tests/test_router_recursive.py94# ---------------------------------------------------------------------------COMMENT
76 more matches not shown…
Hyper-Verbose Identifiers409 hits · 425 pts
SeverityFileLineSnippetContext
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py166def _modernize_annotation_text(text: str) -> str:CODE
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py432def _normalize_python_statement(code: str) -> tuple[str, bool]:CODE
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py476def _formatted_function_signature(obj: Any) -> str:CODE
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py500def _formatted_attribute_signature(obj: Any) -> str | None:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py115def _candidate_simple_root_urls(base_url: str) -> list[str]:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py158def _parse_anchor_text_and_href(html: str) -> list[tuple[str, str]]:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py185def _filename_from_href_or_text(text: str, href: str) -> str:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py221def _platforms_from_wheel_tags(tags) -> set[str]:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py311def _fetch_packages_and_versions_cached(CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py405def _merge_duplicate_projects(packages_raw: ProjectIndex) -> ProjectIndex:CODE
LOWtools/crocodocs/src/crocodocs/partials.py22def _normalize_local_markdown_links(content: str) -> str:CODE
LOWtools/crocodocs/src/crocodocs/partials.py39def _escape_mdx_text_outside_code(content: str) -> str:CODE
LOWtools/crocodocs/src/crocodocs/partials.py67def _normalize_cli_partial_markdown(content: str) -> str:CODE
LOWtools/crocodocs/src/crocodocs/generate.py70def _extract_api_data_with_griffe(CODE
LOWtools/crocodocs/src/crocodocs/generate.py119def _should_skip_example_path(root: Path, path: Path) -> bool:CODE
LOWtools/crocodocs/src/crocodocs/generate.py170def _generate_examples_metadata(examples_root: Path, output_path: Path) -> int:CODE
LOWtools/crocodocs/src/crocodocs/docs.py32def extract_symbol_blocks_from_mdx(CODE
LOWtools/crocodocs/src/crocodocs/cli.py18def _add_shared_generate_arguments(parser: argparse.ArgumentParser) -> None:CODE
LOWtools/crocodocs/src/crocodocs/cli.py72def _apply_shared_generate_overrides(config, args: argparse.Namespace) -> None:CODE
LOWtools/crocodocs/src/crocodocs/sidebars.py61def _convert_category_mapping(CODE
LOWtools/crocodocs/src/crocodocs/sidebars.py104def _convert_labeled_source_entry(CODE
LOWtools/crocodocs/src/crocodocs/sidebars.py136def build_sidebars_from_source(CODE
LOWtools/crocodocs/src/crocodocs/sidebars.py157def write_sidebars_js_from_source(CODE
LOW…cs/src/crocodocs/scripts/cross_platform_permissions.py28def _load_cross_platform_permissions() -> dict:CODE
LOW…cs/src/crocodocs/scripts/cross_platform_permissions.py87def cross_platform_permissions_list() -> str:CODE
LOWtools/crocodocs/src/crocodocs/scripts/cli_to_md.py9def render_flet_cli_as_markdown(CODE
LOWwebsite/plugins/remark-inject-example-headings.js86module.exports = function remarkInjectExampleHeadings() {CODE
LOWwebsite/functions/api/confirm-subscription.js35async function subscribeMailingListMember(mailgunApiKey, listName, memberAddress) {CODE
LOWwebsite/src/components/crocodocs/utils.js233export function firstSentenceFromDocstring(docstring, docstringSections) {CODE
LOWwebsite/src/components/crocodocs/utils.js405function resolveRestCrossReference(role, target, context) {CODE
LOWwebsite/src/components/crocodocs/utils.js545function renderTextWithCrossReferences(text, context, keyPrefix) {CODE
LOWwebsite/src/components/crocodocs/utils.js580function preprocessCrossReferenceMarkdown(text, context) {CODE
LOWwebsite/src/components/crocodocs/utils.js604function preprocessRestCrossReferenceMarkdown(text, context) {CODE
LOWwebsite/src/components/crocodocs/utils.js735function normalizeDocstringMarkdown(docstring) {CODE
LOWwebsite/src/theme/DocItem/Layout/index.js27function CrocoDocsTOCDesktopPlaceholder() {CODE
LOW…thon/examples/extensions/geolocator/geolocator/main.py29 async def handle_permission_request(e: ft.Event[ft.OutlinedButton]):CODE
LOW…thon/examples/extensions/geolocator/geolocator/main.py37 async def handle_get_permission_status(e: ft.Event[ft.OutlinedButton]):CODE
LOW…thon/examples/extensions/geolocator/geolocator/main.py44 async def handle_get_current_position(e: ft.Event[ft.OutlinedButton]):CODE
LOW…thon/examples/extensions/geolocator/geolocator/main.py53 async def handle_get_last_known_position(e):CODE
LOW…thon/examples/extensions/geolocator/geolocator/main.py64 async def handle_location_service_enabled(e):CODE
LOW…thon/examples/extensions/geolocator/geolocator/main.py71 async def handle_open_location_settings(e: ft.Event[ft.OutlinedButton]):CODE
LOW…n/examples/extensions/camera/camera_playground/main.py126 def device_orientation_degrees(orientation: ft.DeviceOrientation | None) -> int:CODE
LOW…n/examples/extensions/camera/camera_playground/main.py149 def apply_last_image_transform(src_width: int | None, src_height: int | None):CODE
LOW…mples/extensions/audio_recorder/audio_recorder/main.py45 async def handle_audio_encoder_test(e: ft.Event[ft.Button]):CODE
LOW…/extensions/datatable2/sortable_and_selectable/main.py59 def handle_row_selection_change(e: ft.Event[ftd.DataRow2]) -> None:CODE
LOW…ntrols/core/dismissible/dismissible_list_tiles/main.py5 async def handle_dialog_action_click(e: ft.Event[ft.TextButton]):CODE
LOW…hon/examples/controls/core/semantics/semantics/main.py5 def handle_gain_accessibility_focus(e: ft.Event[ft.Semantics]):CODE
LOW…hon/examples/controls/core/semantics/semantics/main.py8 def handle_lose_accessibility_focus(e: ft.Event[ft.Semantics]):CODE
LOW…trols/cupertino/cupertino_navigation_bar/wired/main.py9 def handle_nav_destination_change(e: ft.Event[ft.CupertinoNavigationBar]):CODE
LOW…/cupertino_timer_picker/cupertino_timer_picker/main.py15 def handle_timer_picker_change(e: ft.Event[ft.CupertinoTimerPicker]):CODE
LOW…rols/material/expansion_tile/theme_mode_toggle/main.py18 def handle_expansion_tile_change(e: ft.Event[ft.ExpansionTile]):CODE
LOW…es/controls/material/app_bar/theme_mode_toggle/main.py10 def handle_checked_item_click(e: ft.Event[ft.PopupMenuItem]):CODE
LOW…ntrols/material/app_bar/actions_and_popup_menu/main.py7 def handle_checked_item_click(e: ft.Event[ft.PopupMenuItem]):CODE
LOW…s/material/range_slider/handling_change_events/main.py7 def handle_slider_change_start(e: ft.Event[ft.RangeSlider]):CODE
LOW…ls/material/data_table/sortable_and_selectable/main.py43 def handle_row_selection_change(e: ft.Event[ft.DataRow]) -> None:CODE
LOW…s/controls/material/data_table/handling_events/main.py5 def handle_row_selection_change(e: ft.Event[ft.DataRow]) -> None:CODE
LOWsdk/python/examples/apps/studio_gallery/video_player.py58 def handle_playback_rate_change(e: ft.Event[ft.Slider]):CODE
LOW…/python/examples/apps/declarative/shape_drawer/main.py82 def handle_secondary_tap_down(e: ft.TapEvent):CODE
LOWsdk/python/examples/apps/declarative/trolli/main.py37 def parse_board_id_from_route(route: str) -> Optional[int]:CODE
LOWsdk/python/examples/apps/7guis/flight_booker/main.py28 def handle_departure_picker_change(e: ft.Event[ft.DatePicker]):CODE
349 more matches not shown…
Modern Structural Boilerplate296 hits · 296 pts
SeverityFileLineSnippetContext
LOWtools/crocodocs/src/crocodocs/__init__.py3__all__ = ["__version__"]CODE
LOW…/examples/controls/material/data_table/spacing/main.py22 def update_spacing() -> None:CODE
LOW…/examples/controls/material/data_table/spacing/main.py30 def set_preset(horizontal_margin: float, column_spacing: float) -> None:CODE
LOW…xamples/apps/declarative/trolli/components/__init__.py6__all__ = [CODE
LOW…s/flet-charts/src/flet_charts/line_chart_data_point.py7__all__ = ["LineChartDataPoint", "LineChartDataPointTooltip"]CODE
LOW…kages/flet-charts/src/flet_charts/pie_chart_section.py6__all__ = ["PieChartSection"]CODE
LOW…ages/flet-charts/src/flet_charts/scatter_chart_spot.py7__all__ = ["ScatterChartSpot", "ScatterChartSpotTooltip"]CODE
LOW…/flet-charts/src/flet_charts/candlestick_chart_spot.py7__all__ = ["CandlestickChartSpot", "CandlestickChartSpotTooltip"]CODE
LOW…/packages/flet-charts/src/flet_charts/bar_chart_rod.py8__all__ = ["BarChartRod", "BarChartRodTooltip"]CODE
LOW…hon/packages/flet-charts/src/flet_charts/chart_axis.py6__all__ = ["ChartAxis", "ChartAxisLabel"]CODE
LOW…ckages/flet-charts/src/flet_charts/matplotlib_chart.py25__all__ = [CODE
LOW…let-charts/src/flet_charts/bar_chart_rod_stack_item.py6__all__ = ["BarChartRodStackItem"]CODE
LOW…kages/flet-charts/src/flet_charts/candlestick_chart.py9__all__ = [CODE
LOW…ackages/flet-charts/src/flet_charts/bar_chart_group.py7__all__ = ["BarChartGroup"]CODE
LOW…ython/packages/flet-charts/src/flet_charts/__init__.py69__all__ = [CODE
LOW…thon/packages/flet-charts/src/flet_charts/pie_chart.py8__all__ = ["PieChart", "PieChartEvent"]CODE
LOW…k/python/packages/flet-charts/src/flet_charts/types.py7__all__ = [CODE
LOW…on/packages/flet-charts/src/flet_charts/radar_chart.py9__all__ = ["RadarChart", "RadarChartEvent", "RadarChartTitle", "RadarShape"]CODE
LOW…hon/packages/flet-charts/src/flet_charts/line_chart.py9__all__ = [CODE
LOW…packages/flet-charts/src/flet_charts/radar_data_set.py7__all__ = ["RadarDataSet", "RadarDataSetEntry"]CODE
LOW…thon/packages/flet-charts/src/flet_charts/bar_chart.py10__all__ = [CODE
LOW…n/packages/flet-charts/src/flet_charts/plotly_chart.py16__all__ = ["PlotlyChart"]CODE
LOW…flet-charts/src/flet_charts/matplotlib_chart_canvas.py6__all__ = ["MatplotlibChartCanvas", "MatplotlibChartCanvasResizeEvent"]CODE
LOW…ackages/flet-charts/src/flet_charts/line_chart_data.py8__all__ = ["LineChartData"]CODE
LOW…/packages/flet-charts/src/flet_charts/scatter_chart.py9__all__ = ["ScatterChart", "ScatterChartEvent", "ScatterChartTooltip"]CODE
LOW…/python/packages/flet-video/src/flet_video/__init__.py27__all__ = [CODE
LOWsdk/python/packages/flet-video/src/flet_video/types.py11__all__ = [CODE
LOWsdk/python/packages/flet-video/src/flet_video/video.py22__all__ = ["Video"]CODE
LOW…ages/flet-flashlight/src/flet_flashlight/flashlight.py3__all__ = ["Flashlight"]CODE
LOW…ckages/flet-flashlight/src/flet_flashlight/__init__.py3__all__ = [CODE
LOWsdk/python/packages/flet-ads/src/flet_ads/__init__.py10__all__ = [CODE
LOWsdk/python/packages/flet-ads/src/flet_ads/types.py7__all__ = [CODE
LOWsdk/python/packages/flet-ads/src/flet_ads/native_ad.py5__all__ = ["NativeAd"]CODE
LOW…let-audio-recorder/src/flet_audio_recorder/__init__.py17__all__ = [CODE
LOW…s/flet-audio-recorder/src/flet_audio_recorder/types.py10__all__ = [CODE
LOW…dio-recorder/src/flet_audio_recorder/audio_recorder.py16__all__ = ["AudioRecorder"]CODE
LOW…ython/packages/flet-camera/src/flet_camera/__init__.py21__all__ = [CODE
LOW…k/python/packages/flet-camera/src/flet_camera/types.py10__all__ = [CODE
LOW…/python/packages/flet-camera/src/flet_camera/camera.py20__all__ = ["Camera"]CODE
LOW…k/python/packages/flet-camera/src/flet_camera/utils.py5__all__ = ["detect_video_extension"]CODE
LOW…dler/src/flet_permission_handler/permission_handler.py6__all__ = ["PermissionHandler"]CODE
LOW…ission-handler/src/flet_permission_handler/__init__.py4__all__ = [CODE
LOW…ermission-handler/src/flet_permission_handler/types.py3__all__ = [CODE
LOW…olor-pickers/src/flet_color_pickers/hue_ring_picker.py5__all__ = ["HueRingPicker"]CODE
LOW…t-color-pickers/src/flet_color_pickers/block_picker.py5__all__ = ["BlockPicker"]CODE
LOW…/flet-color-pickers/src/flet_color_pickers/__init__.py13__all__ = [CODE
LOW…src/flet_color_pickers/multiple_choice_block_picker.py5__all__ = ["MultipleChoiceBlockPicker"]CODE
LOW…t-color-pickers/src/flet_color_pickers/color_picker.py6__all__ = ["ColorLabelType", "ColorPicker", "HsvColor", "PaletteType"]CODE
LOW…olor-pickers/src/flet_color_pickers/material_picker.py5__all__ = ["MaterialPicker"]CODE
LOW…t-color-pickers/src/flet_color_pickers/slide_picker.py7__all__ = ["ColorModel", "SlidePicker"]CODE
LOWsdk/python/packages/flet-rive/src/flet_rive/__init__.py3__all__ = ["Rive"]CODE
LOWsdk/python/packages/flet-rive/src/flet_rive/rive.py6__all__ = ["Rive"]CODE
LOW…ckages/flet-datatable2/src/flet_datatable2/datarow2.py5__all__ = ["DataRow2"]CODE
LOW…ckages/flet-datatable2/src/flet_datatable2/__init__.py5__all__ = [CODE
LOW…ages/flet-datatable2/src/flet_datatable2/datatable2.py8__all__ = ["DataTable2"]CODE
LOW…ges/flet-datatable2/src/flet_datatable2/datacolumn2.py6__all__ = ["DataColumn2", "DataColumnSize"]CODE
LOWsdk/python/packages/flet-web/src/flet_web/__init__.py23__all__ = [CODE
LOW…hon/packages/flet-web/src/flet_web/fastapi/__init__.py9__all__ = [CODE
LOWsdk/python/packages/flet/src/flet/version.py11__all__ = [CODE
LOWsdk/python/packages/flet/src/flet/__init__.py621__all__ = [CODE
236 more matches not shown…
Docstring Block Structure33 hits · 165 pts
SeverityFileLineSnippetContext
HIGHsdk/python/packages/flet-video/src/flet_video/video.py363 Captures a screenshot of the current video frame. Args: format: The image format to returnSTRING
HIGH…dio-recorder/src/flet_audio_recorder/audio_recorder.py58 Starts recording audio and saves it to a file or streams it. If neither `upload` nor :attr:`on_stream`STRING
HIGH…on/packages/flet-cli/src/flet_cli/utils/android_sdk.py310 Install a single SDK package when it is not already present. Args: home_dir: Android SDK hSTRING
HIGH…on/packages/flet-cli/src/flet_cli/utils/android_sdk.py391 Query installed SDK packages using `sdkmanager`. Args: home_dir: Android SDK home directorSTRING
HIGH…thon/packages/flet-cli/src/flet_cli/utils/processes.py12 Execute a subprocess command with optional streamed logging. On Windows, the console output code page is tempoSTRING
HIGHsdk/python/packages/flet-web/src/flet_web/uploads.py62 Compute HMAC signature for upload URL validation. Signature derivation: - derive a short-lived signing keySTRING
HIGH…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py398 Build signed upload URL for a file. Args: file_name: File name to be uploaded. STRING
HIGHsdk/python/packages/flet/src/flet/security/__init__.py76 Decrypts data produced by `encrypt()`. Input format must be `base64url(salt + token)`, where the first 16 byteSTRING
HIGHsdk/python/packages/flet/src/flet/security/__init__.py134 Decrypts data produced by `encrypt_aes_gcm_256()`. Input format must be `base64url(salt + nonce + ciphertext_aSTRING
HIGHsdk/python/packages/flet/src/flet/utils/vector.py178 Returns a copy scaled to the specified magnitude. Args: value: Target magnitude. STRING
HIGHsdk/python/packages/flet/src/flet/utils/hashing.py20 Calculates SHA-256 digest for a file. The file is read incrementally using `blocksize` chunks. Args: STRING
HIGHsdk/python/packages/flet/src/flet/utils/validation.py480 Validate that a field contains at least `min_count` visible controls. Property docstring Raises wordinSTRING
HIGHsdk/python/packages/flet/src/flet/utils/validation.py808 Validate that a field value is an integer factor of `base`. Property docstring Raises wording: STRING
HIGHsdk/python/packages/flet/src/flet/utils/validation.py866 Validate that a field value is an integer multiple of `divisor`. Property docstring Raises wording: STRING
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1011 Validate that `value` belongs to a fixed set of allowed values. Property docstring Raises wording: STRING
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1064 Validate that at least one field rule passes. Args: rules: Field rules evaluated in declarSTRING
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1169 Validate that a sized field has length greater than or equal to `minimum`. Property docstring Raises wSTRING
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1233 Validate that a sized field has length equal to `expected`. Property docstring Raises wording: STRING
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1296 Validate that a sized field length is between bounds, inclusive. Property docstring Raises wording: STRING
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1680 Normalize `None` handling for field-level validators. Args: instance: Model or control instance being STRING
HIGHsdk/python/packages/flet/src/flet/utils/validation.py1718 Load and normalize values for a field-vs-field comparison rule. Args: instance: Model or control instaSTRING
HIGH…/packages/flet/src/flet/controls/scrollable_control.py379 Moves the scroll position. Args: offset: Absolute scroll target in pixels. A negative valuSTRING
HIGHsdk/python/packages/flet/src/flet/controls/colors.py86 Selects a random color, with optional exclusions and weights. Args: exclude: A list of ColSTRING
HIGHsdk/python/packages/flet/src/flet/controls/colors.py113 Returns a color with the given opacity. Args: opacity: The opacity value between `0.0` andSTRING
HIGH…s/flet/src/flet/controls/cupertino/cupertino_colors.py53 Returns the color with the specified opacity. Args: opacity: The opacity value between `0.STRING
HIGH…s/flet/src/flet/controls/cupertino/cupertino_colors.py83 Selects a random color, with optional exclusions and weights. Args: exclude: A list of colSTRING
HIGH…/flet/src/flet/controls/services/shared_preferences.py19 Sets a value for the given key. Note: Due to limitations on Android, it is not possible toSTRING
HIGH…/packages/flet/src/flet/controls/services/clipboard.py64 Stores file references on the clipboard. Args: files: A list of file paths. ReturSTRING
HIGH…ackages/flet/src/flet/controls/services/file_picker.py220 Selects a directory and returns its absolute path. Args: dialog_title: The title of the diSTRING
HIGH…python/packages/flet/src/flet/testing/flet_test_app.py511Create an animated GIF from a sequence of PNG frames. Exactly one of `image_names` or `frames` must be providedSTRING
HIGH…/python/packages/flet/src/flet/components/component.py467 Create a frozen `Component` wrapper for a function call. Args: fn: Component function decoSTRING
HIGHsdk/python/packages/flet/src/flet/messaging/session.py431 Invokes a client-side control method and waits for the response. Args: control_id: Target STRING
HIGH…hon/packages/flet-desktop/src/flet_desktop/__init__.py324 Resolve desktop client executable, prepare launch arguments, and environment. Resolution strategy (per platforSTRING
Self-Referential Comments43 hits · 129 pts
SeverityFileLineSnippetContext
MEDIUM…les/extensions/charts/matplotlib_chart/animate/main.py48 # Creating the Animation objectCOMMENT
MEDIUM…python/packages/flet-cli/src/flet_cli/utils/distros.py51 # Create the symbolic linkCOMMENT
MEDIUM…s/flet/integration_tests/controls/core/test_pagelet.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…ages/flet/integration_tests/controls/core/test_icon.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…s/flet/integration_tests/controls/core/test_control.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…integration_tests/controls/core/test_responsive_row.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…flet/integration_tests/controls/core/test_page_view.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…tion_tests/controls/theme/test_expansion_tile_theme.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…gration_tests/controls/theme/test_text_button_theme.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…ts/controls/theme/test_floating_action_button_theme.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…ion_tests/controls/theme/test_outlined_button_theme.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…n_tests/controls/theme/test_date_range_picker_theme.py10# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…gration_tests/controls/theme/test_icon_button_theme.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…egration_tests/controls/theme/test_data_table_theme.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…/integration_tests/controls/theme/test_button_theme.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…ation_tests/controls/theme/test_filled_button_theme.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…/integration_tests/controls/theme/test_color_scheme.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…tegration_tests/controls/theme/test_list_tile_theme.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…gration_tests/controls/theme/test_date_picker_theme.py10# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…tests/controls/cupertino/test_cupertino_date_picker.py10# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…ests/controls/cupertino/test_cupertino_alert_dialog.py10# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…gration_tests/controls/material/test_expansion_tile.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…/integration_tests/controls/material/test_list_tile.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…ntegration_tests/controls/material/test_date_picker.py10# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…/flet/integration_tests/controls/material/test_tabs.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…integration_tests/controls/material/test_data_table.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…ntegration_tests/controls/material/test_time_picker.py10# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…_tests/controls/material/test_reorderable_list_view.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…let/integration_tests/controls/material/test_banner.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…et/integration_tests/controls/material/test_divider.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…tests/controls/material/test_floating_action_button.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…t/integration_tests/controls/material/test_dropdown.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…ation_tests/controls/material/test_segmented_button.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…gration_tests/controls/material/test_navigation_bar.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…tegration_tests/controls/material/test_alert_dialog.py10# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…t/integration_tests/controls/material/test_checkbox.py8# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…tion_tests/controls/material/test_date_range_picker.py10# Create a new flet_app instance for each test methodCOMMENT
MEDIUM…/integration_tests/controls/services/test_clipboard.py13# Create a new flet_app instance for each test method.COMMENT
MEDIUM…egration_tests/controls/services/test_storage_paths.py9# Create a new flet_app instance for each test method.COMMENT
MEDIUM…et/integration_tests/controls/services/test_battery.py8# Create a new flet_app instance for each test method.COMMENT
MEDIUM…ion_tests/controls/services/test_shared_preferences.py10# Create a new flet_app instance for each test method.COMMENT
MEDIUM.github/workflows/ci.yml527 # Create a compressed tarball of the "flet" directory for distributionCOMMENT
MEDIUMclient/pubspec.yaml118# The following section is specific to Flutter.COMMENT
Excessive Try-Catch Wrapping90 hits · 110 pts
SeverityFileLineSnippetContext
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py86 except Exception:CODE
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py229 except Exception: # pragma: no coverCODE
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py331 except Exception: # pragma: no coverCODE
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py730 except Exception:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py44except Exception:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py207 except Exception:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py214 except Exception:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py337 except Exception as e:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py373 except Exception:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py394 except Exception as e:CODE
LOWtools/crocodocs/src/crocodocs/pypi_index.py487 except Exception as e:CODE
LOWtools/crocodocs/src/crocodocs/generate.py260 except Exception as exc: # noqa: BLE001CODE
LOWtools/crocodocs/src/crocodocs/watch.py258 except Exception as exc: # noqa: BLE001CODE
LOWsdk/python/examples/cookbook/cpu_bound_png_stream.py63 except Exception:CODE
MEDIUMsdk/python/examples/extensions/video/events/main.py22 print(f"Error: {e.data}")CODE
LOW…n/examples/extensions/camera/camera_playground/main.py388 except Exception as ex:CODE
LOW…mples/extensions/audio_recorder/audio_recorder/main.py32 except Exception as e:CODE
MEDIUM…n/examples/extensions/lottie/lottie_animations/main.py15 on_error=lambda e: print(f"Error loading Lottie: {e.data}"),CODE
MEDIUM…n/examples/extensions/lottie/lottie_animations/main.py24 on_error=lambda e: print(f"Error loading Lottie: {e.data}"),CODE
LOW…mples/controls/core/types/launch_mode/showcase/main.py18 except Exception as ex:CODE
MEDIUM…mples/controls/core/types/launch_mode/showcase/main.py11def check_support():CODE
LOW…les/controls/core/types/assertiveness/showcase/main.py18 except Exception as ex:CODE
MEDIUM…les/controls/core/types/assertiveness/showcase/main.py11def announce():CODE
LOWsdk/python/examples/community/mind_queue/main.py204 except Exception as ex:CODE
LOWsdk/python/examples/community/mind_queue/main.py315 except Exception as ex:CODE
LOWsdk/python/examples/community/mind_queue/main.py328 except Exception as ex:CODE
LOWsdk/python/examples/community/mind_queue/main.py339 except Exception as ex:CODE
LOWsdk/python/examples/community/mind_queue/main.py363 except Exception as ex:CODE
LOWsdk/python/examples/community/mind_queue/main.py388 except Exception as ex:CODE
MEDIUMsdk/python/examples/community/mind_queue/main.py181def on_add(ev):CODE
LOWsdk/python/examples/apps/studio_gallery/calculator.py28 except Exception:CODE
LOWsdk/python/examples/apps/studio_gallery/calculator.py34 except Exception:CODE
LOWsdk/python/examples/apps/studio_gallery/calculator.py37 except Exception:CODE
MEDIUMsdk/python/examples/apps/studio_gallery/calculator.py31def parse_float(v, fallback=0.0):CODE
LOW…hon/examples/apps/declarative/component_dialog/main.py43 except Exception as e:CODE
LOW…/examples/services/storage_paths/storage_paths/main.py33 except Exception as e:CODE
LOW…k/python/packages/flet-cli/src/flet_cli/utils/plist.py36 except Exception:CODE
LOW…es/flet-cli/src/flet_cli/utils/project_dependencies.py130 except Exception:CODE
LOW…thon/packages/flet-cli/src/flet_cli/commands/create.py139 except Exception as e:CODE
MEDIUM…ython/packages/flet-cli/src/flet_cli/commands/serve.py101 console.print(f"Error: {e}", style=error_style)CODE
LOW…n/packages/flet-cli/src/flet_cli/commands/emulators.py260 except Exception as exc: # pragma: no cover - defensiveCODE
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1330 except Exception as e:CODE
LOW…ages/flet-web/src/flet_web/fastapi/flet_app_manager.py136 except Exception as e:CODE
LOW…ages/flet-web/src/flet_web/fastapi/flet_app_manager.py143 except Exception:CODE
LOW…ages/flet-web/src/flet_web/fastapi/flet_app_manager.py180 except Exception as e:CODE
MEDIUM…ages/flet-web/src/flet_web/fastapi/flet_app_manager.py133def _connect():CODE
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py180 except Exception as e:CODE
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py206 except Exception:CODE
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py228 except Exception as e:CODE
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py306 except Exception as e:CODE
MEDIUMsdk/python/packages/flet/src/flet/version.py70 print(f"Error getting Git version: {e}", file=sys.stderr)CODE
MEDIUMsdk/python/packages/flet/src/flet/version.py72 print(f"Error running Git: {e}", file=sys.stderr)CODE
LOWsdk/python/packages/flet/src/flet/version.py134 except Exception as e:CODE
MEDIUMsdk/python/packages/flet/src/flet/version.py135 print(f"Error parsing {fvmrc_path!r}: {e}", file=sys.stderr)CODE
LOWsdk/python/packages/flet/src/flet/app.py358 except Exception as e:CODE
LOW…on/packages/flet/src/flet/utils/griffe_deprecations.py64 except Exception:CODE
LOW…on/packages/flet/src/flet/utils/griffe_deprecations.py242 except Exception:CODE
LOW…on/packages/flet/src/flet/utils/griffe_deprecations.py245 except Exception:CODE
LOWsdk/python/packages/flet/src/flet/utils/deprecated.py31 except Exception:CODE
LOWsdk/python/packages/flet/src/flet/utils/object_model.py37 except Exception:CODE
30 more matches not shown…
Deep Nesting86 hits · 85 pts
SeverityFileLineSnippetContext
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py43CODE
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py166CODE
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py214CODE
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py585CODE
LOWtools/crocodocs/src/crocodocs/griffe_extract_script.py669CODE
LOWtools/crocodocs/src/crocodocs/partials.py150CODE
LOWtools/crocodocs/src/crocodocs/partials.py219CODE
LOWtools/crocodocs/src/crocodocs/generate.py205CODE
LOWtools/crocodocs/src/crocodocs/docs.py32CODE
LOWtools/crocodocs/src/crocodocs/scripts/cli_to_md.py9CODE
LOW…n/examples/extensions/camera/camera_playground/main.py27CODE
LOW…n/examples/extensions/camera/camera_playground/main.py330CODE
LOW…ples/tutorials/solitaire/solitaire-final-part1/card.py116CODE
LOW…n/examples/tutorials/solitaire/solitaire-final/card.py69CODE
LOW…n/examples/tutorials/solitaire/solitaire-final/card.py108CODE
LOW…mples/tutorials/solitaire/solitaire-game-rules/card.py118CODE
LOWsdk/python/examples/tutorials/calculator/calc5.py89CODE
LOWsdk/python/examples/tutorials/calculator/calc5.py141CODE
LOWsdk/python/examples/tutorials/calculator/calc.py89CODE
LOWsdk/python/examples/tutorials/calculator/calc.py141CODE
LOW…utorials/solitaire_declarative/solitaire_final/main.py246CODE
LOWsdk/python/examples/apps/calculator/main.py89CODE
LOWsdk/python/examples/apps/calculator/main.py141CODE
LOWsdk/python/examples/apps/studio_gallery/minesweeper.py55CODE
LOWsdk/python/examples/apps/studio_gallery/minesweeper.py85CODE
LOW…k/python/examples/apps/declarative/minesweeper/main.py60CODE
LOW…k/python/examples/apps/declarative/minesweeper/main.py90CODE
LOWsdk/python/examples/apps/declarative/trolli/main.py27CODE
LOWsdk/python/examples/apps/declarative/trolli/main.py50CODE
LOWsdk/python/examples/apps/icons_browser/main.py20CODE
LOWsdk/python/examples/apps/icons_browser/main.py74CODE
LOW…/examples/services/storage_paths/storage_paths/main.py4CODE
LOW…ckages/flet-charts/src/flet_charts/matplotlib_chart.py422CODE
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py59CODE
LOW…thon/packages/flet-cli/src/flet_cli/utils/processes.py11CODE
LOW…python/packages/flet-cli/src/flet_cli/utils/distros.py10CODE
LOW…python/packages/flet-cli/src/flet_cli/utils/distros.py27CODE
LOW…python/packages/flet-cli/src/flet_cli/commands/pack.py157CODE
LOW…python/packages/flet-cli/src/flet_cli/commands/pack.py182CODE
LOW…/python/packages/flet-cli/src/flet_cli/commands/run.py381CODE
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py761CODE
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1227CODE
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1376CODE
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1440CODE
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1578CODE
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py1852CODE
LOW…/packages/flet-cli/src/flet_cli/commands/build_base.py2134CODE
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py140CODE
LOW…hon/packages/flet-web/src/flet_web/fastapi/flet_app.py235CODE
LOW…ython/packages/flet/tests/test_validation_benchmark.py22CODE
LOWsdk/python/packages/flet/src/flet/version.py111CODE
LOWsdk/python/packages/flet/src/flet/app.py142CODE
LOWsdk/python/packages/flet/src/flet/app.py316CODE
LOWsdk/python/packages/flet/src/flet/app.py329CODE
LOWsdk/python/packages/flet/src/flet/utils/object_model.py10CODE
LOW…/python/packages/flet/src/flet/utils/platform_utils.py114CODE
LOWsdk/python/packages/flet/src/flet/utils/validation.py1755CODE
LOWsdk/python/packages/flet/src/flet/controls/page.py749CODE
LOWsdk/python/packages/flet/src/flet/controls/page.py1358CODE
LOW…/python/packages/flet/src/flet/controls/value_types.py85CODE
26 more matches not shown…
Cross-Language Confusion (JS/TS)8 hits · 55 pts
SeverityFileLineSnippetContext
HIGHclient/web/python-worker.js72 print("python_module_name:", python_module_name)CODE
HIGHclient/web/python-worker.js73 print("micropip_include_pre:", micropip_include_pre)CODE
HIGHclient/web/python-worker.js76 print("Downloading app archive")CODE
HIGHclient/web/python-worker.js86 elif _archive_path.endswith((".tar.gz", ".tgz")):CODE
HIGHclient/web/python-worker.js95 print("Saving script to a file")CODE
HIGHclient/web/python-worker.js101 print(f"Adding {pkgs_path} to sys.path")CODE
HIGHclient/web/python-worker.js122 print("Loading requirements.txt:", deps)CODE
HIGHclient/web/python-worker.js145 print("Loading pyproject.toml deps:", pyproject_deps)CODE
Structural Annotation Overuse29 hits · 53 pts
SeverityFileLineSnippetContext
LOWwebsite/docs/publish/ios.md222##### Step 1: Go to Apple Developer PortalCOMMENT
LOWwebsite/docs/publish/ios.md227##### Step 2: Create a New Provisioning ProfileCOMMENT
LOWwebsite/docs/publish/ios.md237##### Step 3: Select an App IDCOMMENT
LOWwebsite/docs/publish/ios.md242##### Step 4: Select a Distribution CertificateCOMMENT
LOWwebsite/docs/publish/ios.md249##### Step 5: Select Registered Devices (for Development & Ad Hoc)COMMENT
LOWwebsite/docs/publish/ios.md254##### Step 6: Name and Generate the ProfileCOMMENT
LOWwebsite/docs/tutorials/solitaire.md64### Step 1: Drag the card aroundCOMMENT
LOWwebsite/docs/tutorials/solitaire.md137### Step 2: Drop the card in the slot or bounce it backCOMMENT
LOWwebsite/docs/tutorials/solitaire.md231### Step 3: Adding a second cardCOMMENT
LOWwebsite/docs/tutorials/solitaire.md279### Step 4: Adding more slotsCOMMENT
LOW…utorials/solitaire_declarative/solitaire_final/main.py1# Step 8: Move piles of cards from stackable slots to stackable slots.COMMENT
LOW…/solitaire_declarative/drag-and-drop/step3_field_gd.py1# Step 3: Place the card into a slot if close enough when dropped, otherwise bounceCOMMENT
LOW…/solitaire_declarative/drag-and-drop/step6_field_gd.py1# Step 6: Put cards into slot1, slot2, slot3 with offset, in other slots without offset.COMMENT
LOW…/solitaire_declarative/drag-and-drop/step5_field_gd.py1# Step 5: Slot has piles of Cards. When a Card is dropped into a Slot, it becomes partCOMMENT
LOW…/solitaire_declarative/drag-and-drop/step7_field_gd.py1# Step 7: Refactor calculations to be more readable and maintainable.COMMENT
LOW…/solitaire_declarative/drag-and-drop/step2_field_gd.py1# Step 2: Place the card into a slot if close enough when dropped, otherwise bounceCOMMENT
LOW…/solitaire_declarative/drag-and-drop/step1_field_gd.py1# Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area.COMMENT
LOW…/solitaire_declarative/drag-and-drop/step8_field_gd.py1# Step 8: Move piles of cards from stackable slots to stackable slots.COMMENT
LOW…/solitaire_declarative/drag-and-drop/step4_field_gd.py1# Step 4: Place the card into a slot if close enough when dropped, otherwiseCOMMENT
LOW…k/python/examples/apps/declarative/minesweeper/main.py1# Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area.COMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py107 # Step 1: Check if JAVA_HOME is set and validCOMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py113 # Step 2: On macOS, try /usr/libexec/java_homeCOMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py126 # Step 3: Determine platform-specific download URLCOMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py137 # Step 4: Check if JDK is already installedCOMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py139 # Step 5: Download and extract JDKCOMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py155 # Step 6: Clean up archiveCOMMENT
LOW…ples/controls/material/test_reorderable_drag_handle.py51 # Step 1: move item 0 downward and capture the intermediate state.COMMENT
LOW…ples/controls/material/test_reorderable_drag_handle.py60 # Step 2: continue dragging the same item downward and capture again.COMMENT
LOW…ples/controls/material/test_reorderable_drag_handle.py70 # Step 3: move item 0 to its expected final position.COMMENT
Over-Commented Block36 hits · 36 pts
SeverityFileLineSnippetContext
LOW…utter/flet_charts/lib/src/matplotlib_chart_canvas.dart1import 'dart:async';COMMENT
LOW…/integration_tests/controls/material/test_list_tile.py281 # await flet_app.page.take_screenshot(COMMENT
LOW…ation_tests/examples/controls/core/test_placeholder.py21@pytest.mark.parametrize(COMMENT
LOW…ython/packages/flet/tests/test_object_diff_in_place.py221 assert u_msg[0] == [0]COMMENT
LOW…ython/packages/flet/tests/test_object_diff_in_place.py241 # "controls": [COMMENT
LOW…ython/packages/flet/tests/test_object_diff_in_place.py261 # "_i": 26,COMMENT
LOW…python/packages/flet/src/flet/controls/object_patch.py1#COMMENT
LOW…python/packages/flet/src/flet/controls/object_patch.py841 self._item_removed(path, key, old, frozen=frozen)COMMENT
LOW…python/packages/flet/src/flet/controls/object_patch.py1141 # Reconciled controls are fresh Python objects that take overCOMMENT
LOWsdk/python/packages/flet/src/flet/components/router.py641 prev_route_handler_ref = use_ref(None)COMMENT
LOWsdk/python/packages/flet/src/flet/components/router.py681COMMENT
LOWsdk/python/packages/flet/src/flet/components/router.py821 # Each route component should return a View (with appbar, controls,COMMENT
LOW…/packages/flet/src/flet/components/hooks/use_dialog.py81 if hasattr(dialog, "_frozen"):COMMENT
LOW…/packages/flet/src/flet/components/hooks/use_dialog.py101 dialog.open = TrueCOMMENT
LOW…s/flet-map/src/flutter/flet_map/lib/src/utils/map.dart181}COMMENT
LOWpackages/flet/lib/src/flet_backend.dart381 /// properties [props] to update the control's state. The [props] mapCOMMENT
LOWpackages/flet/lib/src/utils/time.dart1import 'package:flutter/cupertino.dart';COMMENT
LOWpackages/flet/lib/src/models/control.dart141 /// Triggers a control event.COMMENT
LOWpackages/flet/lib/src/models/control.dart161COMMENT
LOWpackages/flet/lib/src/models/control.dart261COMMENT
LOWpackages/flet/lib/src/models/control.dart281 /// tree_index := [[0, {"property|position 1": [index, {"property|position 2"}], ...}]COMMENT
LOWpackages/flet/lib/src/models/control.dart301 /// }COMMENT
LOWpackages/flet/lib/src/protocol/session_payload.dart1class SessionPayload {COMMENT
LOWpackages/flet/lib/src/controls/cupertino_button.dart101 // defaultBackgroundColor: Colors.transparent,COMMENT
LOW.github/scripts/update_build_version.sh1#!/usr/bin/env bashCOMMENT
LOW.github/scripts/update_build_version.sh21# - Development builds get versions like "1.3.0+45" (PyPI: "1.3.0.dev45").COMMENT
LOWclient/pubspec.yaml1name: flet_clientCOMMENT
LOWclient/pubspec.yaml121 # included with your application, so that you can use the icons inCOMMENT
LOWclient/pubspec.yaml141 # fonts:COMMENT
LOWclient/analysis_options.yaml1# This file configures the analyzer, which statically analyzes Dart code toCOMMENT
LOWclient/analysis_options.yaml21 # or a specific dart file by using the `// ignore: name_of_lint` andCOMMENT
LOWclient/linux/flutter/generated_plugin_registrant.h1//COMMENT
LOWclient/windows/runner/utils.h1#ifndef RUNNER_UTILS_H_COMMENT
LOWclient/windows/runner/win32_window.cpp1#include "win32_window.h"COMMENT
LOWclient/windows/runner/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOWclient/windows/flutter/generated_plugin_registrant.h1//COMMENT
Verbosity Indicators19 hits · 34 pts
SeverityFileLineSnippetContext
LOW…utorials/solitaire_declarative/solitaire_final/main.py1# Step 8: Move piles of cards from stackable slots to stackable slots.COMMENT
LOW…/solitaire_declarative/drag-and-drop/step3_field_gd.py1# Step 3: Place the card into a slot if close enough when dropped, otherwise bounceCOMMENT
LOW…/solitaire_declarative/drag-and-drop/step6_field_gd.py1# Step 6: Put cards into slot1, slot2, slot3 with offset, in other slots without offset.COMMENT
LOW…/solitaire_declarative/drag-and-drop/step5_field_gd.py1# Step 5: Slot has piles of Cards. When a Card is dropped into a Slot, it becomes partCOMMENT
LOW…/solitaire_declarative/drag-and-drop/step7_field_gd.py1# Step 7: Refactor calculations to be more readable and maintainable.COMMENT
LOW…/solitaire_declarative/drag-and-drop/step2_field_gd.py1# Step 2: Place the card into a slot if close enough when dropped, otherwise bounceCOMMENT
LOW…/solitaire_declarative/drag-and-drop/step1_field_gd.py1# Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area.COMMENT
LOW…/solitaire_declarative/drag-and-drop/step8_field_gd.py1# Step 8: Move piles of cards from stackable slots to stackable slots.COMMENT
LOW…/solitaire_declarative/drag-and-drop/step4_field_gd.py1# Step 4: Place the card into a slot if close enough when dropped, otherwiseCOMMENT
LOW…k/python/examples/apps/declarative/minesweeper/main.py1# Step 1: Basic drag-and-drop of rectangles (cards) within a bounded area.COMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py107 # Step 1: Check if JAVA_HOME is set and validCOMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py113 # Step 2: On macOS, try /usr/libexec/java_homeCOMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py126 # Step 3: Determine platform-specific download URLCOMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py137 # Step 4: Check if JDK is already installedCOMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py139 # Step 5: Download and extract JDKCOMMENT
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py155 # Step 6: Clean up archiveCOMMENT
LOW…ples/controls/material/test_reorderable_drag_handle.py51 # Step 1: move item 0 downward and capture the intermediate state.COMMENT
LOW…ples/controls/material/test_reorderable_drag_handle.py60 # Step 2: continue dragging the same item downward and capture again.COMMENT
LOW…ples/controls/material/test_reorderable_drag_handle.py70 # Step 3: move item 0 to its expected final position.COMMENT
Cross-Language Confusion12 hits · 30 pts
SeverityFileLineSnippetContext
HIGHsdk/python/packages/flet/src/flet/controls/theme.py2118 If this is null, the time picker defaults to the overall theme'sSTRING
HIGHsdk/python/packages/flet/src/flet/controls/theme.py2183 If this is null, the time picker defaults to the overall theme'sSTRING
HIGH…/packages/flet/src/flet/controls/material/datatable.py271 If this is not null, then this row is selectable. The current selection state ofSTRING
HIGH…/packages/flet/src/flet/controls/material/snack_bar.py312 If not provided, but the snackbar :attr:`action` is not null,STRING
HIGH…/flet/src/flet/controls/material/form_field_control.py207 If non-null, the text is displayed below the input decorator, in the same locationSTRING
HIGH…/flet/src/flet/controls/material/form_field_control.py239 If non-null, the border's color animates to redSTRING
HIGH…ckages/flet/src/flet/controls/material/alert_dialog.py169 If that is null, defaults to color scheme's :attr:`flet.ColorScheme.secondary` ifSTRING
HIGH…hon/packages/flet/src/flet/controls/material/slider.py209 If not null, a secondary track using `secondary_active_color` is drawn betweenSTRING
HIGH…packages/flet/src/flet/controls/material/search_bar.py218 If null, then the default value is 8.0 horizontally.STRING
HIGH…n/packages/flet/src/flet/controls/material/dropdown.py210 If this is not null, the menu items will have extra paddings toSTRING
HIGH…n/packages/flet/src/flet/controls/material/dropdown.py257 If non-null, the border's color animates to red and the :attr:`helper_text` isSTRING
HIGH…n/packages/flet/src/flet/controls/material/dropdown.py378 If non-null, the text is displayed below the input decorator, in the same locationSTRING
Fake / Example Data28 hits · 27 pts
SeverityFileLineSnippetContext
LOW…s/controls/core/types/list_tile_style/showcase/main.py22 title=ft.Text("Jane Doe"),CODE
LOW…/core/types/list_tile_title_alignment/showcase/main.py22 title=ft.Text("Jane Doe"),CODE
LOW…on/examples/controls/core/image/fade_in/pyproject.toml6keywords = ["image", "fade in", "placeholder", "animation", "network"]CODE
LOWsdk/python/examples/controls/core/canvas/text/main.py61 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, "CODE
LOWsdk/python/examples/controls/core/canvas/text/main.py61 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, "CODE
LOW…s/controls/core/placeholder/placeholder/pyproject.toml2name = "placeholder"CODE
LOW…s/controls/core/placeholder/placeholder/pyproject.toml6keywords = ["placeholder", "layout", "fallback size", "ui shell"]CODE
LOW…thon/examples/controls/core/text/custom_styles/main.py73 "Lorem ipsum dolor sit amet, consectetur adipiscing "CODE
LOW…thon/examples/controls/core/text/custom_styles/main.py73 "Lorem ipsum dolor sit amet, consectetur adipiscing "CODE
LOW…thon/examples/controls/core/text/custom_styles/main.py98 "Lorem ipsum dolor sit amet, consectetur adipiscing "CODE
LOW…thon/examples/controls/core/text/custom_styles/main.py98 "Lorem ipsum dolor sit amet, consectetur adipiscing "CODE
LOW…ntrols/core/control/expand_loose_chat_messages/main.py57 "Lorem Ipsum is simply dummy text of the printing and "CODE
LOW…ntrols/core/control/expand_loose_chat_messages/main.py58 "typesetting industry. Lorem Ipsum has been the industry's "CODE
LOW…/core/shimmer/shimmer_basic_placeholder/pyproject.toml6keywords = ["shimmer", "placeholder", "loading", "card", "skeleton"]CODE
LOW…/examples/controls/core/shimmer/shimmer/pyproject.toml6keywords = ["shimmer", "loading", "placeholder", "animation"]CODE
LOW…upertino/cupertino_text_field/selection_change/main.py19 value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.",CODE
LOW…upertino/cupertino_text_field/selection_change/main.py19 value="Lorem ipsum dolor sit amet, consectetur adipiscing elit.",CODE
LOW…/controls/material/text_field/selection_change/main.py31 "Lorem ipsum dolor sit amet, consectetur adipiscing elit."CODE
LOW…/controls/material/text_field/selection_change/main.py31 "Lorem ipsum dolor sit amet, consectetur adipiscing elit."CODE
LOW…ages/flet-rive/src/flutter/flet_rive/lib/src/rive.dart51 var placeholder = widget.control.buildWidget("placeholder");CODE
LOW…e2/src/flutter/flet_datatable2/lib/src/datatable2.dart170 placeholder: cell.getBool("placeholder", false)!,CODE
LOW…es/flet/integration_tests/controls/core/test_canvas.py538 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "CODE
LOW…es/flet/integration_tests/controls/core/test_canvas.py538 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed "CODE
LOW…ion_tests/examples/controls/material/test_list_tile.py16 title="Jane Doe",CODE
LOW…ion_tests/examples/controls/material/test_textfield.py31 ft.TextField(label="Name", hint_text="Jane Doe"),CODE
LOW…/packages/flet/src/flet/controls/material/list_tile.py97 title="Jane Doe",STRING
LOW…/packages/flet/src/flet/controls/material/textfield.py279 ft.TextField(label="Name", hint_text="Jane Doe")STRING
LOWpackages/flet/lib/src/controls/datatable.dart107 placeholder: cell.getBool("placeholder", false)!,CODE
AI Structural Patterns21 hits · 21 pts
SeverityFileLineSnippetContext
LOWtools/crocodocs/src/crocodocs/pypi_index.py451CODE
LOW…kages/flet-charts/src/flet_charts/candlestick_chart.py79CODE
LOW…hon/packages/flet-charts/src/flet_charts/line_chart.py135CODE
LOW…thon/packages/flet-charts/src/flet_charts/bar_chart.py97CODE
LOW…/packages/flet-charts/src/flet_charts/scatter_chart.py68CODE
LOW…k/python/packages/flet-web/src/flet_web/patch_index.py9CODE
LOW…ges/flet-web/src/flet_web/fastapi/flet_static_files.py47CODE
LOW…k/python/packages/flet-web/src/flet_web/fastapi/app.py22CODE
LOW…packages/flet-web/src/flet_web/fastapi/flet_fastapi.py28CODE
LOWsdk/python/packages/flet/src/flet/app.py60CODE
LOWsdk/python/packages/flet/src/flet/app.py142CODE
LOW…k/python/packages/flet/src/flet/auth/oauth_provider.py38CODE
LOWsdk/python/packages/flet/src/flet/controls/box.py345CODE
LOWsdk/python/packages/flet/src/flet/controls/box.py448CODE
LOWsdk/python/packages/flet/src/flet/controls/page.py1046CODE
LOW…k/python/packages/flet/src/flet/controls/text_style.py352CODE
LOWsdk/python/packages/flet/src/flet/controls/buttons.py286CODE
LOWsdk/python/packages/flet/src/flet/controls/painting.py381CODE
LOW…thon/packages/flet/src/flet/controls/services/share.py284CODE
LOW…thon/packages/flet/src/flet/controls/services/share.py233CODE
LOW…python/packages/flet/src/flet/testing/flet_test_app.py128CODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…kages/flet-cli/src/flet_cli/__pyinstaller/win_utils.py123 # Check if the overlay is still presentCOMMENT
LOW…python/packages/flet-cli/src/flet_cli/utils/distros.py43 # Check if the member is a symbolic linkCOMMENT
LOW.github/scripts/update_build_version.sh61# Print values for debugging in logsCOMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWsdk/python/packages/flet-cli/src/flet_cli/utils/jdk.py166# Example usageCOMMENT
LOW…python/packages/flet-cli/src/flet_cli/utils/flutter.py93# Example usage:COMMENT
LOWpackages/flet/lib/src/utils/launch_url.dart24/// Example usage:COMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ython/packages/flet/src/flet/controls/material/tabs.py214 and :attr:`flet.TabBarView.controls`. Don't forget to updateSTRING
MEDIUMclient/pubspec.yaml121 # included with your application, so that you can use the icons inCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsdk/python/packages/flet/src/flet/controls/page.py765 def run_task(CODE