Repository Analysis

reflex-dev/reflex

🕸️ Web apps in pure Python 🐍

23.2 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of reflex-dev/reflex, a Python project with 28,644 GitHub stars. SynthScan v2.0 examined 255,427 lines of code across 1324 source files, recording 3980 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 23.2 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).

23.2
Adjusted Score
23.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
28.6K
Stars
Python
Language
255.4K
Lines of Code
1.3K
Files
4.0K
Pattern Hits
2026-07-14
Scan Date
0.35
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 465MEDIUM 125LOW 3390

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 3980 distinct pattern matches across 21 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 Identifiers2130 hits · 1914 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_auto_memo.py51def test_auto_memo_shared_across_pages(auto_memo_app: AppHarness):CODE
LOWtests/integration/test_lighthouse.py21def lighthouse_landing_app_root(CODE
LOWtests/integration/test_lighthouse.py35def test_landing_page_lighthouse_scores(CODE
LOWtests/integration/test_linked_state.py545def test_modify_shared_state_by_shared_token(CODE
LOWtests/integration/test_linked_state.py587def test_get_state_returns_linked_state(CODE
LOWtests/integration/test_linked_state.py634def test_unrelated_reset_does_not_break_shared_event_link_context(CODE
LOWtests/integration/test_linked_state.py675def test_concurrent_async_vars_do_not_deadlock_linked_token(CODE
LOWtests/integration/test_input.py84def test_fully_controlled_input(fully_controlled_input: AppHarness):CODE
LOW…ts/integration/test_memory_state_manager_expiration.py81def test_memory_state_manager_expires_state_end_to_end(CODE
LOW…ts/integration/test_memory_state_manager_expiration.py116def test_memory_state_manager_delays_expiration_after_use_end_to_end(CODE
LOWtests/integration/test_event_actions.py304def test_event_actions_throttle_debounce(CODE
LOWtests/integration/test_event_actions.py350def test_event_actions_dialog_form_in_form(CODE
LOWtests/integration/test_event_chain.py139 async def click_yield_interim_value_async(self):CODE
LOWtests/integration/test_event_chain.py146 def click_yield_interim_value(self):CODE
LOWtests/integration/test_event_chain.py601def test_event_chain_on_mount(CODE
LOWtests/integration/test_event_chain.py696def test_event_chain_on_mount_strict(CODE
LOWtests/integration/test_event_chain.py750def test_mixed_cond_event_lambda(event_chain: AppHarness, driver: WebDriver):CODE
LOWtests/integration/test_exception_handlers.py115def test_frontend_exception_handler_during_runtime(CODE
LOWtests/integration/test_exception_handlers.py143def test_backend_exception_handler_during_runtime(CODE
LOWtests/integration/test_exception_handlers.py171def test_frontend_exception_handler_with_react(CODE
LOWtests/integration/utils.py131 def _has_number_of_expected_events():CODE
LOWtests/integration/utils.py145def assert_relative_event_order(CODE
LOWtests/integration/utils.py194def poll_assert_relative_event_order(CODE
LOWtests/integration/utils.py210 def _has_number_of_expected_events():CODE
LOWtests/integration/test_call_script.py56 def call_script_callback_other_arg(self, result, other_arg):STRING
LOWtests/integration/test_call_script.py60 def call_scripts_inline_yield(self):STRING
LOWtests/integration/test_call_script.py67 def call_script_inline_return(self):STRING
LOWtests/integration/test_call_script.py71 def call_scripts_inline_yield_callback(self):STRING
LOWtests/integration/test_call_script.py86 def call_script_inline_return_callback(self):STRING
LOWtests/integration/test_call_script.py92 def call_script_inline_return_lambda(self):STRING
LOWtests/integration/test_call_script.py108 def call_scripts_external_yield(self):STRING
LOWtests/integration/test_call_script.py115 def call_script_external_return(self):STRING
LOWtests/integration/test_call_script.py119 def call_scripts_external_yield_callback(self):STRING
LOWtests/integration/test_call_script.py134 def call_script_external_return_callback(self):STRING
LOWtests/integration/test_call_script.py140 def call_script_external_return_lambda(self):STRING
LOWtests/integration/test_call_script.py170 def call_with_var_f_string_wrapped(self):STRING
LOWtests/integration/test_call_script.py177 def call_with_var_str_cast_wrapped(self):STRING
LOWtests/integration/test_prod_build_pipeline.py42def all_compression_formats_env() -> Generator[None, None, None]:CODE
LOWtests/integration/test_prod_build_pipeline.py95def test_js_bundles_have_sidecars(CODE
LOWtests/integration/test_prod_build_pipeline.py114def test_css_bundles_have_sidecars(CODE
LOWtests/integration/test_upload.py455def _wrap_find_elements_by_xpath(CODE
LOWtests/integration/test_upload.py500async def poll_for_stopped_progress(CODE
LOWtests/integration/test_upload.py636async def test_upload_file_multiple(tmp_path, upload_file: AppHarness, driver):CODE
LOWtests/integration/test_upload.py684def test_upload_file_with_bound_arg(CODE
LOWtests/integration/test_upload.py926def test_upload_download_file(CODE
LOWtests/integration/test_upload.py1001def test_uploaded_file_security_headers(CODE
LOWtests/integration/test_lifespan.py70 async def assert_register_blocked_during_lifespan(app):CODE
LOWtests/integration/test_lifespan.py226def test_lifespan_modify_state(lifespan_app: AppHarness):CODE
LOWtests/integration/test_lifespan.py250def test_lifespan_raw_asyncio_task(lifespan_app: AppHarness):CODE
LOWtests/integration/test_dynamic_routes.py322def test_on_load_navigate_non_dynamic(CODE
LOWtests/integration/test_telemetry_compile.py102def telemetry_compile_harness(CODE
LOWtests/integration/test_telemetry_compile.py151def test_compile_event_features_used_initial_and_hot_reload(CODE
LOWtests/integration/test_precompressed_frontend.py36def all_compression_formats_env() -> Generator[None, None, None]:CODE
LOWtests/integration/test_precompressed_frontend.py71def test_prod_frontend_serves_precompressed_index_html(CODE
LOWtests/integration/test_typeddict_form_submit.py194async def test_typeddict_form_submit(driver, typeddict_form: tuple[AppHarness, dict]):CODE
LOWtests/integration/test_background_task.py118 async def disconnect_reconnect_background(self):CODE
LOWtests/integration/test_background_task.py342def test_nested_async_with_self(CODE
LOWtests/integration/test_background_task.py400def test_yield_in_async_with_self(CODE
LOWtests/integration/test_background_task.py433def test_disconnect_reconnect(CODE
LOWtests/integration/test_large_state.py11def _large_state_app_template(var_count: int) -> str:CODE
2070 more matches not shown…
Docstring Block Structure207 hits · 998 pts
SeverityFileLineSnippetContext
HIGHtests/integration/utils.py325Get a key from local storage. Args: key: The key to get. Returns: The value ofSTRING
HIGHtests/integration/test_upload.py506Poll for progress dictionaries to stop updating. Args: get_progress_dicts: A callable that returns the listSTRING
HIGHtests/benchmarks/test_event_creation.py75Parametrized event-like input accepted by ``Event.from_event_type``. Args: request: The pytest fixture requSTRING
HIGHscripts/check_min_deps.py166Return the lone module directory under a ``src/`` layout directory. Args: src: The ``src`` directory of a pSTRING
HIGH…kages/reflex-hosting-cli/src/reflex_cli/core/config.py191Creates a Config instance from a YAML file. Args: yaml_path: The path to the YAML file. Defaults toSTRING
HIGH…kages/reflex-hosting-cli/src/reflex_cli/core/config.py227Creates a Config instance from a TOML file. Args: pyproject_path: The path to the TOML file. DefaulSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py60Create a ScaleAppCliArgs object. Args: regions: The regions to scale to. vm_type: The VSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py169Set the scale type from CLI arguments. Args: cli_args: The CLI arguments. Returns: STRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py283Get an authenticated client. Args: token: The authentication token. interactive: If running in inteSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py393Validate the token with the control plane. Args: token: The access token to validate. Returns: STRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py488Create a new access token. Args: name: The name of the token. expiration: The expiration time in seSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py619Search for an application by name within a specific project. Args: app_name: The name of the application toSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py684Search for a project by name. Args: project_name: The name of the application to search for. clientSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py742Retrieve details of a specific application by its ID. Args: app_id: The ID of the application to retrieve. STRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py784Create a new application. Args: app_name: The name of the application. description: The descriptionSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py823Retrieve or reserve a hostname for a specific application. Args: app_id: The ID of the application. STRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py908Retrieve secrets for a given application. Args: app_id: The ID of the application. client: The authSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py946Update secrets for a given application. Args: app_id: The ID of the application. secrets: The secreSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py982Delete a secret for a given application. Args: app_id: The ID of the application. key: The key of tSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1020Create a new project. Args: name: The name of the project. client: The authenticated client ReSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1114Retrieve a list of projects. Args: client: The authenticated client. Returns: The list of projSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1141Retrieve a single project given the project ID. Args: project_id: The ID of the project. client: ThSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1169Retrieve the roles for a project. Args: project_id: The ID of the project. client: The authenticateSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1201Retrieve the permissions for a specific role in a project. Args: project_id: The ID of the project. STRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1233Retrieve the users for a project. Args: project_id: The ID of the project. client: The authenticateSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1265Invite a user to a project with a specific role. Args: role_id: The ID of the role to assign to the user. STRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1368Create a new deployment for an application. Args: app_name: The name of the application. project_idSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1484Submit a zipped app for security review. Uploads the archive straight to object storage via a presigned URL, then STRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1553Poll a previously submitted security review job. Args: job_id: The id returned by ``submit_security_review`STRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1589Stop a running application. Args: app_id: The ID of the application. client: The authenticated clieSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1620Start a stopped application. Args: app_id: The ID of the application. client: The authenticated cliSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1651Delete an application. Args: app_id: The ID of the application. client: The authenticated client STRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1693Retrieve logs for a given application. Args: app_id: The ID of the application. offset: The offset STRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1756List all the hosted deployments of the authenticated user. Args: project: The project ID to filter deploymeSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1793Retrieve the deployment history for a given application. Args: app_id: The ID of the application. cSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1834Retrieve the status of a specific app. Args: app_id: The ID of the app. client: The authenticated cSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1871Scale an application. Args: app_id: The ID of the application. scale_params: The scaling parametersSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1905Retrieve the status of a specific deployment. Args: deployment_id: The ID of the deployment. clientSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1971Continuously watch the status of a specific deployment. Args: deployment_id: The ID of the deployment. STRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py2020Retrieve the build logs for a specific deployment. Args: deployment_id: The ID of the deployment. cSTRING
HIGH…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py2183Process the environment variables. Args: envs: The environment variables expected in key=value format. STRING
HIGH…/reflex-hosting-cli/src/reflex_cli/utils/dependency.py18Detect the encoding of the given file. Args: filename: The file to detect encoding for. Raises: STRING
HIGHpackages/reflex-hosting-cli/src/reflex_cli/v2/cli.py25Authenticate with Reflex hosting service. Args: loglevel: The log level to use. Returns: InforSTRING
HIGHpackages/reflex-hosting-cli/src/reflex_cli/v2/scan.py60Zip the app source under ``directory`` for security review. Args: directory: The app root to scan. RetSTRING
HIGHpackages/reflex-hosting-cli/src/reflex_cli/v2/gcp.py468Fetch the Dockerfile + deploy script from Reflex. Args: token: The Reflex API token to authenticate with. STRING
HIGHpackages/reflex-hosting-cli/src/reflex_cli/v2/gcp.py535Generate a Cloud Build config that materializes the Dockerfile inline. The Dockerfile body is dropped into a bash hSTRING
HIGHpackages/reflex-hosting-cli/src/reflex_cli/v2/gcp.py586Rewrite the Reflex script's `gcloud builds submit` invocation to use --config=. Replaces the (possibly multi-line) STRING
HIGHpackages/reflex-base/src/reflex_base/style.py111Format a single value in a style dictionary. Args: style_item: The style item to format. Returns: STRING
HIGHpackages/reflex-base/src/reflex_base/environment.py32Get the default value for a field. Args: field: The field. Returns: The default value. RaSTRING
HIGHpackages/reflex-base/src/reflex_base/environment.py53Interpret a boolean environment variable value. Args: value: The environment variable value. field_STRING
HIGHpackages/reflex-base/src/reflex_base/environment.py77Interpret an integer environment variable value. Args: value: The environment variable value. fieldSTRING
HIGHpackages/reflex-base/src/reflex_base/environment.py97Interpret a float environment variable value. Args: value: The environment variable value. field_naSTRING
HIGHpackages/reflex-base/src/reflex_base/environment.py117Interpret a path environment variable value as an existing path. Args: value: The environment variable valuSTRING
HIGHpackages/reflex-base/src/reflex_base/environment.py173Interpret an environment variable value as a Plugin subclass. Resolves a fully qualified import path to the Plugin STRING
HIGHpackages/reflex-base/src/reflex_base/environment.py242Interpret an enum environment variable value. Args: value: The environment variable value. field_tySTRING
HIGHpackages/reflex-base/src/reflex_base/environment.py276Interpret an environment variable value based on the field type. Args: value: The environment variable valuSTRING
HIGHpackages/reflex-base/src/reflex_base/breakpoints.py55Create a new instance of the helper. Only provide a custom component OR use named props. Args: custSTRING
HIGHpackages/reflex-base/src/reflex_base/vars/object.py315Get an attribute of the var. Args: name: The name of the attribute. Returns: TSTRING
HIGHpackages/reflex-base/src/reflex_base/vars/object.py509Create the literal object var. Args: _var_value: The value of the var. _var_type: The tSTRING
HIGHpackages/reflex-base/src/reflex_base/vars/sequence.py439Call fn with a placeholder element to get function arg names and return expression. Args: fn: The fSTRING
147 more matches not shown…
Cross-Language Confusion125 hits · 745 pts
SeverityFileLineSnippetContext
HIGHtests/integration/test_var_operations.py732 rx.text(VarOperationState.list3.length()),CODE
HIGHtests/integration/test_var_operations.py736 rx.text(VarOperationState.obj.length()),CODE
HIGHtests/integration/test_var_operations.py742 VarOperationState.list3.length(),CODE
HIGHtests/integration/test_var_operations.py756 rx.text(VarOperationState.list3.length()),CODE
HIGHtests/integration/test_call_script.py455 == f'["{script}1",null,{{"{script}3":42,"a":[1,2,3],"s":"js","o":{{"a":1,"b":2}}}},"async {script}4"]'STRING
HIGHtests/integration/test_call_script.py474 call_script.poll_for_value(results, exp_not_equal="[]") == '[["lambda",null]]'STRING
HIGHtests/units/test_prerequisites.py1020 '{"scripts": null, "dependencies": null, 'CODE
HIGHtests/units/test_prerequisites.py1021 '"devDependencies": null, "overrides": null}'CODE
HIGHtests/units/test_state.py1121 assert ds1.dynamic_int.equals(DynamicState.dynamic_int) # pyright: ignore [reportAttributeAccessIssue]CODE
HIGHtests/units/test_state.py1126 assert ds1.dynamic_list.equals(DynamicState.dynamic_list) # pyright: ignore [reportAttributeAccessIssue]CODE
HIGHtests/units/test_state.py1134 assert ds1.dynamic_dict.equals(DynamicState.dynamic_dict) # pyright: ignore [reportAttributeAccessIssue]CODE
HIGHtests/units/test_state.py1135 assert ds2.dynamic_dict.equals(DynamicState.dynamic_dict) # pyright: ignore [reportAttributeAccessIssue]CODE
HIGHtests/units/test_event.py325 == 'ReflexEvent("_call_function", {function:(() => (console?.["log"]("message"))),callback:null})'CODE
HIGHtests/units/test_event.py330 == 'ReflexEvent("_call_function", {function:(() => (console?.["log"](message))),callback:null})'CODE
HIGHtests/units/test_event.py335 == 'ReflexEvent("_call_function", {function:(() => (console?.["log"](message2))),callback:null})'CODE
HIGHtests/units/test_event.py350 == 'ReflexEvent("_call_function", {function:(() => (window?.["alert"]("message"))),callback:null})'CODE
HIGHtests/units/test_event.py355 == 'ReflexEvent("_call_function", {function:(() => (window?.["alert"](message))),callback:null})'CODE
HIGHtests/units/test_event.py360 == 'ReflexEvent("_call_function", {function:(() => (window?.["alert"](message2))),callback:null})'CODE
HIGHtests/units/test_event.py862 assert frontend_handler.equals(chain_event)CODE
HIGHtests/units/test_event.py875 assert not frontend_handler.equals(chain_event)CODE
HIGHtests/units/test_event.py1094 assert frontend_handler.equals(chain_event)CODE
HIGHtests/units/test_event.py895 assert frontend_handler.equals(chain_event)CODE
HIGHtests/units/test_event.py944 assert chain_event.equals(Var.create(inner))CODE
HIGHtests/units/test_event.py1048 assert frontend_handler.equals(chain_event)CODE
HIGHtests/units/test_event.py1066 assert frontend_handler.equals(chain_event)CODE
HIGHtests/units/test_style.py93 assert value.equals(d2[key])CODE
HIGHtests/units/test_var.py654 assert str(var[:1]) == f"{var._js_expr}.slice(undefined, 1)"CODE
HIGHtests/units/test_var.py655 assert str(var[1:]) == f"{var._js_expr}.slice(1, undefined)"CODE
HIGHtests/units/test_var.py656 assert str(var[:]) == f"{var._js_expr}.slice(undefined, undefined)"CODE
HIGHtests/units/test_var.py668 assert str(str_var[:1]) == 'str.split("").slice(undefined, 1).join("")'CODE
HIGHtests/units/test_var.py669 assert str(str_var[1:]) == 'str.split("").slice(1, undefined).join("")'CODE
HIGHtests/units/test_var.py670 assert str(str_var[:]) == 'str.split("").slice(undefined, undefined).join("")'CODE
HIGHtests/units/test_var.py674 assert str(str_var[:-1]) == 'str.split("").slice(undefined, -1).join("")'CODE
HIGHtests/units/test_var.py675 assert str(str_var[-1:]) == 'str.split("").slice(-1, undefined).join("")'CODE
HIGHtests/units/test_var.py676 assert str(str_var[:-2]) == 'str.split("").slice(undefined, -2).join("")'CODE
HIGHtests/units/test_var.py677 assert str(str_var[-2:]) == 'str.split("").slice(-2, undefined).join("")'CODE
HIGHtests/units/test_var.py1008 assert str(basic_string.length()) == '"Hello, World!".split("").length'CODE
HIGHtests/units/test_var.py1010 assert str(basic_string.lstrip()) == 'pyLstrip("Hello, World!", null)'CODE
HIGHtests/units/test_var.py1012 assert str(basic_string.strip()) == 'pyStrip("Hello, World!", null)'CODE
HIGHtests/units/test_var.py1013 assert str(basic_string.rstrip()) == 'pyRstrip("Hello, World!", null)'CODE
HIGHtests/units/test_var.py287 assert prop.equals(expected)CODE
HIGHtests/units/test_var.py912 == '[({ ["a"] : 1, ["b"] : 2, ["c"] : ({ ["d"] : 3, ["e"] : 4 }) }), [1, 2, 3, 4], 9, "string", true, false, nulCODE
HIGHtests/units/test_var.py1077 == "[1, 2, 3, 4, 5].slice(0, [1, 2, 3, 4, 5].length).slice().reverse().slice(undefined, undefined).filter((_, i)CODE
HIGHtests/units/test_var.py1102 assert str(array_var.length()) == "[1, 2, 3, 4, 5].length"CODE
HIGHtests/units/reflex_cli/utils/test_hosting.py197 ('{"project": null}', None),CODE
HIGHtests/units/components/test_component.py1993 "const hook3 = useRef(null)",CODE
HIGHtests/units/components/test_component.py2000 "const hook3 = useRef(null)": None,CODE
HIGHtests/units/components/test_component.py2006 _js_expr="const hook3 = useRef(null)",CODE
HIGHtests/units/components/test_component.py2012 "const hook3 = useRef(null)",CODE
HIGHtests/units/components/test_component.py610 assert c1.number.equals(test_state.num)CODE
HIGHtests/units/components/test_component.py1398 assert comp_var.equals(exp_var)CODE
HIGHtests/units/components/test_component.py1755 assert v1.equals(v2)CODE
HIGHtests/units/components/core/test_colors.py40 f'("var(--"+{color_state_name!s}.color{FIELD_MARKER}+"-"+(((__to_string) => __to_string ? __to_string.toStriCODE
HIGHtests/units/components/core/test_colors.py47 f'("var(--"+{color_state_name!s}.color{FIELD_MARKER}+"-"+({color_state_name!s}.alpha{FIELD_MARKER} ? "a" : "CODE
HIGHtests/units/components/core/test_colors.py52 f'("var(--"+{color_state_name!s}.color{FIELD_MARKER}+"-"+(((__to_string) => __to_string ? __to_string.toStriCODE
HIGHtests/units/components/core/test_colors.py62 f'("var(--"+({color_state_name!s}.color_part{FIELD_MARKER}+"ato")+"-"+(((__to_string) => __to_string ? __to_CODE
HIGHtests/units/components/markdown/test_markdown.py77 Var(_js_expr="(({node, children, ...props}) => undefined)"),CODE
HIGHtests/units/components/markdown/test_markdown.py119 Var(_js_expr="(({node, children, ...props}) => undefined)"),CODE
HIGHtests/units/compiler/test_compiler.py546 assert lang.equals(Var.create("en"))CODE
HIGHtests/units/compiler/test_compiler.py552 assert char_set.equals(Var.create("utf-8"))CODE
65 more matches not shown…
Cross-File Repetition133 hits · 665 pts
SeverityFileLineSnippetContext
HIGHtests/integration/test_navigation.py0start componentstateapp app at tmp_path via appharness. args: tmp_path: pytest tmp_path fixture yields: running appharneSTRING
HIGHtests/integration/test_input.py0start componentstateapp app at tmp_path via appharness. args: tmp_path: pytest tmp_path fixture yields: running appharneSTRING
HIGHtests/integration/test_component_state.py0start componentstateapp app at tmp_path via appharness. args: tmp_path: pytest tmp_path fixture yields: running appharneSTRING
HIGHtests/integration/test_var_operations.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_dynamic_components.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_hybrid_properties.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_event_actions.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_computed_vars.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_state_inheritance.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_event_chain.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_call_script.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_server_side_event.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_extra_overlay_function.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_login_flow.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_background_task.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/test_client_storage.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/tests_playwright/test_appearance.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/integration/tests_playwright/test_table.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGH…tegration/tests_playwright/test_datetime_operations.py0start table app at tmp_path via appharness. args: tmp_path_factory: pytest tmp_path_factory fixture yields: running apphSTRING
HIGHtests/units/reflex_cli/v2/test_cli.py0the `python-dotenv` package is required to load environment variables from a file. run `pip install "python-dotenv>=1.1.STRING
HIGHpackages/reflex-hosting-cli/src/reflex_cli/v2/cli.py0the `python-dotenv` package is required to load environment variables from a file. run `pip install "python-dotenv>=1.1.STRING
HIGH…ckages/reflex-hosting-cli/src/reflex_cli/v2/secrets.py0the `python-dotenv` package is required to load environment variables from a file. run `pip install "python-dotenv>=1.1.STRING
HIGHpackages/reflex-base/src/reflex_base/environment.py0the `python-dotenv` package is required to load environment variables from a file. run `pip install "python-dotenv>=1.1.STRING
HIGHpackages/reflex-base/src/reflex_base/vars/color.py0get the hash of the var. returns: the hash of the var.STRING
HIGHpackages/reflex-base/src/reflex_base/vars/object.py0get the hash of the var. returns: the hash of the var.STRING
HIGHpackages/reflex-base/src/reflex_base/vars/sequence.py0get the hash of the var. returns: the hash of the var.STRING
HIGH…es/reflex-base/src/reflex_base/components/component.py0get the hash of the var. returns: the hash of the var.STRING
HIGHpackages/reflex-base/src/reflex_base/event/__init__.py0get the hash of the var. returns: the hash of the var.STRING
HIGHpackages/reflex-base/src/reflex_base/vars/base.py0represent the field in a readable format. returns: the string representation of the field.STRING
HIGH…ckages/reflex-base/src/reflex_base/components/props.py0represent the field in a readable format. returns: the string representation of the field.STRING
HIGH…es/reflex-base/src/reflex_base/components/component.py0represent the field in a readable format. returns: the string representation of the field.STRING
HIGH…ges/reflex-base/src/reflex_base/plugins/tailwind_v4.py0get the packages required by the plugin. args: **context: the context for the plugin. returns: a list of packages requirSTRING
HIGH…reflex-base/src/reflex_base/plugins/shared_tailwind.py0get the packages required by the plugin. args: **context: the context for the plugin. returns: a list of packages requirSTRING
HIGH…ges/reflex-base/src/reflex_base/plugins/tailwind_v3.py0get the packages required by the plugin. args: **context: the context for the plugin. returns: a list of packages requirSTRING
HIGH…es/reflex-base/src/reflex_base/components/component.py0render the component. returns: the dictionary for template of component.STRING
HIGH…omponents-core/src/reflex_components_core/core/cond.py0render the component. returns: the dictionary for template of component.STRING
HIGH…onents-core/src/reflex_components_core/core/foreach.py0render the component. returns: the dictionary for template of component.STRING
HIGH…mponents-core/src/reflex_components_core/core/match.py0render the component. returns: the dictionary for template of component.STRING
HIGH…nents-recharts/src/reflex_components_recharts/polar.py0get the event triggers that pass the component's value to the handler. returns: a dict mapping the event trigger to the STRING
HIGH…ents-recharts/src/reflex_components_recharts/charts.py0get the event triggers that pass the component's value to the handler. returns: a dict mapping the event trigger to the STRING
HIGH…s-recharts/src/reflex_components_recharts/cartesian.py0get the event triggers that pass the component's value to the handler. returns: a dict mapping the event trigger to the STRING
HIGH…radix/src/reflex_components_radix/primitives/slider.py0add the style to the component. returns: the style of the component.STRING
HIGH…s-radix/src/reflex_components_radix/primitives/form.py0add the style to the component. returns: the style of the component.STRING
HIGH…ix/src/reflex_components_radix/primitives/accordion.py0add the style to the component. returns: the style of the component.STRING
HIGH…dix/src/reflex_components_radix/primitives/progress.py0add the style to the component. returns: the style of the component.STRING
HIGH…adix/src/reflex_components_radix/themes/layout/list.py0add the style to the component. returns: the style of the component.STRING
HIGH…ix/src/reflex_components_radix/themes/layout/spacer.py0add the style to the component. returns: the style of the component.STRING
HIGH…flex_components_radix/themes/components/icon_button.py0add the style to the component. returns: the style of the component.STRING
HIGH…reflex_components_radix/themes/components/text_area.py0add the style to the component. returns: the style of the component.STRING
HIGH…ponents-core/src/reflex_components_core/core/sticky.py0add the style to the component. returns: the style of the component.STRING
HIGH…nents-radix/src/reflex_components_radix/themes/base.py0add imports for the component. returns: the import dict.STRING
HIGH…/src/reflex_components_radix/themes/typography/link.py0add imports for the component. returns: the import dict.STRING
HIGH…ponents-core/src/reflex_components_core/core/banner.py0add imports for the component. returns: the import dict.STRING
HIGH…mponents-core/src/reflex_components_core/core/match.py0add imports for the component. returns: the import dict.STRING
HIGH…aeditor/src/reflex_components_dataeditor/dataeditor.py0add imports for the component. returns: the import dict.STRING
HIGH…reflex_components_radix/themes/components/separator.py0interactive components provided by @radix-ui/themes.STRING
HIGH…lex_components_radix/themes/components/aspect_ratio.py0interactive components provided by @radix-ui/themes.STRING
HIGH…ex_components_radix/themes/components/dropdown_menu.py0interactive components provided by @radix-ui/themes.STRING
HIGH…/src/reflex_components_radix/themes/components/tabs.py0interactive components provided by @radix-ui/themes.STRING
HIGH…rc/reflex_components_radix/themes/components/dialog.py0interactive components provided by @radix-ui/themes.STRING
73 more matches not shown…
Unused Imports634 hits · 571 pts
SeverityFileLineSnippetContext
LOWtests/__init__.py3CODE
LOWtests/__init__.py5CODE
LOWtests/test_node_version.py3CODE
LOWtests/integration/test_deploy_url.py3CODE
LOWtests/integration/test_lighthouse.py3CODE
LOWtests/integration/test_linked_state.py3CODE
LOWtests/integration/test_hybrid_properties.py3CODE
LOWtests/integration/test_event_actions.py3CODE
LOWtests/integration/test_computed_vars.py3CODE
LOWtests/integration/test_shared_state.py3CODE
LOWtests/integration/test_state_inheritance.py3CODE
LOWtests/integration/test_event_chain.py3CODE
LOWtests/integration/test_exception_handlers.py3CODE
LOWtests/integration/utils.py3CODE
LOWtests/integration/test_call_script.py3CODE
LOWtests/integration/test_prod_build_pipeline.py6CODE
LOWtests/integration/test_upload.py3CODE
LOWtests/integration/test_login_flow.py3CODE
LOWtests/integration/test_dynamic_routes.py3CODE
LOWtests/integration/test_precompressed_frontend.py3CODE
LOWtests/integration/test_client_storage.py3CODE
LOWtests/integration/lighthouse_utils.py3CODE
LOW…sts/integration/tests_playwright/test_frontend_path.py10CODE
LOWtests/integration/tests_playwright/test_mount_target.py9CODE
LOWtests/integration/tests_playwright/test_router_query.py20CODE
LOWtests/integration/tests_playwright/test_backend_path.py9CODE
LOWtests/units/test_attribute_access_type.py1CODE
LOWtests/units/test_model.py20CODE
LOWtests/units/__init__.py3CODE
LOWtests/units/__init__.py5CODE
LOWtests/units/test_make_pyi.py12CODE
LOWtests/units/test_state.py1CODE
LOWtests/units/test_style.py1CODE
LOWtests/units/test_app.py1CODE
LOWtests/units/middleware/test_hydrate_middleware.py1CODE
LOWtests/units/vars/test_dep_tracking.py3CODE
LOWtests/units/vars/test_dep_tracking_integration.py3CODE
LOW…s/units/reflex_base/utils/pyi_generator/test_hashes.py11CODE
LOW…sts/units/reflex_base/utils/pyi_generator/test_unit.py8CODE
LOW…s/reflex_base/utils/pyi_generator/test_build_hashes.py15CODE
LOW…its/reflex_base/utils/pyi_generator/test_regression.py13CODE
LOWtests/units/plugins/test_embed.py3CODE
LOWtests/units/reflex_cli/utils/test_hosting.py1CODE
LOWtests/units/reflex_cli/v2/test_apps.py1CODE
LOWtests/units/reflex_cli/v2/test_scan.py1CODE
LOWtests/units/reflex_cli/v2/test_gcp.py1CODE
LOWtests/units/reflex_cli/v2/test_cli.py1CODE
LOWtests/units/app_mixins/test_lifespan.py3CODE
LOWtests/units/utils/test_precompressed_staticfiles.py3CODE
LOWtests/units/utils/test_build.py3CODE
LOWtests/units/utils/test_format.py1CODE
LOWtests/units/utils/test_export.py3CODE
LOWtests/units/utils/test_streaming_response.py1CODE
LOWtests/units/utils/test_memo_paths.py3CODE
LOW…/units/components/test_component_future_annotations.py1CODE
LOWtests/units/components/test_props.py1CODE
LOWtests/units/components/test_memo.py3CODE
LOWtests/units/compiler/test_compiler_utils.py1CODE
LOWtests/units/compiler/test_stale_cleanup.py3CODE
LOWtests/benchmarks/conftest.py1CODE
574 more matches not shown…
Fake / Example Data224 hits · 206 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_typeddict_form_submit.py122 "inputs": {"email": "user@example.com", "nickname": "cooluser"},CODE
LOWtests/integration/test_typeddict_form_submit.py124 "expected": {"email": "user@example.com", "nickname": "cooluser"},CODE
LOW…ts/integration/tests_playwright/test_debounce_input.py101 expect(native_input).to_have_attribute("placeholder", "Search...")CODE
LOWtests/units/reflex_cli/utils/test_hosting.py26_CLIENT = AuthenticatedClient(token="fake-token", validated_data={})CODE
LOWtests/units/reflex_cli/v2/test_apps.py139 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py150 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py165 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py175 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py190 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py201 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py212 ["apps", "build-logs", "test_deployment_id", "--token", "fake-token"],CODE
LOWtests/units/reflex_cli/v2/test_apps.py219 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py230 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py245 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py256 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py271 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py282 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py297 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py308 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py322 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py332 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py494 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py507 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py639 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py652 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py667 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py777 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py791 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py848 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py862 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py889 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py904 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py1002 "reflex_cli.utils.hosting.requires_authenticated", return_value="fake_token"CODE
LOWtests/units/reflex_cli/v2/test_apps.py1007 return_value={"X-API-TOKEN": "fake_token"},CODE
LOWtests/units/reflex_cli/v2/test_apps.py1012 ["apps", "logs", "fake_app_id", "--token", "fake_token", "--follow", "false"],CODE
LOWtests/units/reflex_cli/v2/test_apps.py1024 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py1044 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py1058 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py1073 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py1087 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py1128 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py1139 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py1151 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py1162 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py28 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py62 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py73 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py101 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py124 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py345 "reflex_cli.utils.hosting.requires_authenticated", return_value="fake_token"CODE
LOWtests/units/reflex_cli/v2/test_apps.py350 return_value={"X-API-TOKEN": "fake_token"},CODE
LOWtests/units/reflex_cli/v2/test_apps.py364 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py379 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py390 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py405 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py418 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py431 "reflex_cli.utils.hosting.requires_authenticated", return_value="fake_token"CODE
LOWtests/units/reflex_cli/v2/test_apps.py436 return_value={"X-API-TOKEN": "fake_token"},CODE
LOWtests/units/reflex_cli/v2/test_apps.py450 token="fake-token", validated_data={"foo": "bar"}CODE
LOWtests/units/reflex_cli/v2/test_apps.py465 token="fake-token", validated_data={"foo": "bar"}CODE
164 more matches not shown…
Structural Annotation Overuse90 hits · 175 pts
SeverityFileLineSnippetContext
LOWdocs/ai_builder/apis.md16## Step 1: Get API AccessCOMMENT
LOWdocs/ai_builder/apis.md27## Step 2: Hook up with your AppCOMMENT
LOWdocs/ai_builder/apis.md32## Step 3: NotesCOMMENT
LOWdocs/ai_builder/webhooks.md16## Step 1: Create a Webhook in the External ServiceCOMMENT
LOWdocs/ai_builder/webhooks.md23## Step 2: Add the Webhook URL to AI BuilderCOMMENT
LOWdocs/ai_builder/webhooks.md31## Step 3: Sending PayloadsCOMMENT
LOWdocs/ai_builder/webhooks.md38## Step 4: NotesCOMMENT
LOWdocs/hosting/databricks.md15## Step 1: Connect Your RepositoryCOMMENT
LOWdocs/hosting/databricks.md23## Step 2: Configure Application SettingsCOMMENT
LOWdocs/hosting/databricks.md66## Step 3: Enable Single-Port DeploymentCOMMENT
LOWdocs/hosting/databricks.md95## Step 4: Create Databricks AppCOMMENT
LOWdocs/hosting/databricks.md104## Step 5: Set PermissionsCOMMENT
LOWdocs/hosting/databricks.md127## Step 6: Deploy ApplicationCOMMENT
LOW…egrations-docs/src/integrations_docs/docs/snowflake.md9### Step 1: Create an OAuth Integration in SnowflakeCOMMENT
LOW…egrations-docs/src/integrations_docs/docs/snowflake.md42### Step 2: Log in via OAuthCOMMENT
LOW…egrations-docs/src/integrations_docs/docs/snowflake.md50### Step 1: Generate an RSA key pairCOMMENT
LOW…egrations-docs/src/integrations_docs/docs/snowflake.md70### Step 2: Register the public key on a Snowflake userCOMMENT
LOW…egrations-docs/src/integrations_docs/docs/snowflake.md93### Step 3: Fill in the Key Pair tabCOMMENT
LOW…grations-docs/src/integrations_docs/docs/azure_auth.md9## Step 1: Set Up Azure App RegistrationCOMMENT
LOW…grations-docs/src/integrations_docs/docs/azure_auth.md35## Step 2: Configure the IntegrationCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/resend.md18## Step 1: Get Your Resend API KeyCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/resend.md26## Step 2: Configure the Integration in Your AppCOMMENT
LOW…egrations-docs/src/integrations_docs/docs/okta_auth.md21## Step 1: Set Up Okta OIDC AppCOMMENT
LOW…egrations-docs/src/integrations_docs/docs/okta_auth.md53## Step 2: Finding Your Okta Issuer URICOMMENT
LOW…egrations-docs/src/integrations_docs/docs/okta_auth.md71## Step 3: Configure the IntegrationCOMMENT
LOW…egrations-docs/src/integrations_docs/docs/anthropic.md10## Step 1: Obtain an Anthropic API KeyCOMMENT
LOW…egrations-docs/src/integrations_docs/docs/anthropic.md20## Step 2: Configure the Integration in Your AppCOMMENT
LOW…egrations-docs/src/integrations_docs/docs/anthropic.md29## Step 3: NotesCOMMENT
LOW…tegrations-docs/src/integrations_docs/docs/roboflow.md23## Step 1: Obtain a Roboflow API KeyCOMMENT
LOW…tegrations-docs/src/integrations_docs/docs/roboflow.md30## Step 2: Set up your Model in RoboflowCOMMENT
LOW…tegrations-docs/src/integrations_docs/docs/roboflow.md39## Step 3: Configure the Integration in Your AppCOMMENT
LOW…tegrations-docs/src/integrations_docs/docs/roboflow.md48## Step 4: NotesCOMMENT
LOW…s/integrations-docs/src/integrations_docs/docs/groq.md9## Step 1: Obtain a Groq API KeyCOMMENT
LOW…s/integrations-docs/src/integrations_docs/docs/groq.md17## Step 2: Configure the Integration in Your AppCOMMENT
LOW…s/integrations-docs/src/integrations_docs/docs/groq.md25## Step 3: NotesCOMMENT
LOW…ntegrations-docs/src/integrations_docs/docs/descope.md25## Step 1: Obtain Descope CredentialsCOMMENT
LOW…ntegrations-docs/src/integrations_docs/docs/descope.md35## Step 2: Configure the Integration in Your AppCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/openai.md9## Step 1: Obtain an OpenAI API KeyCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/openai.md18## Step 2: Configure the Integration in Your AppCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/openai.md26## Step 3: NotesCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/twilio.md18## Step 1: Obtain Twilio CredentialsCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/twilio.md26## Step 2: Configure the Integration in Your AppCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/twilio.md34## Step 3: NotesCOMMENT
LOW…tegrations-docs/src/integrations_docs/docs/cartesia.md10## Step 1: Obtain a Cartesia API KeyCOMMENT
LOW…tegrations-docs/src/integrations_docs/docs/cartesia.md20## Step 2: Configure the Integration in Your AppCOMMENT
LOW…tegrations-docs/src/integrations_docs/docs/cartesia.md30## Step 3: NotesCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/github.md18## Step 1: Generate a Personal Access TokenCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/github.md33## Step 2: Configure the Integration in Your AppCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/github.md41## Step 3: NotesCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/notion.md18## Step 1: Obtain a Notion API TokenCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/notion.md26## Step 2: Configure the Integration in Your AppCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/notion.md34## Step 3: NotesCOMMENT
LOW…grations-docs/src/integrations_docs/docs/databricks.md22## Step 1: Get Your Databricks CredentialsCOMMENT
LOW…grations-docs/src/integrations_docs/docs/databricks.md93## Step 2: Configure the Integration in Your AppCOMMENT
LOW…grations-docs/src/integrations_docs/docs/databricks.md109## Step 3: NotesCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/cohere.md10## Step 1: Obtain a Cohere API KeyCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/cohere.md18## Step 2: Configure the Integration in Your AppCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/cohere.md27## Step 3: NotesCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/stripe.md17## Step 1: Obtain a Stripe API KeyCOMMENT
LOW…integrations-docs/src/integrations_docs/docs/stripe.md27## Step 2: Configure the Integration in Your AppCOMMENT
30 more matches not shown…
Self-Referential Comments56 hits · 164 pts
SeverityFileLineSnippetContext
MEDIUM…sts/integration/tests_playwright/test_frontend_path.py66 # Create a tiny valid 1x1 red PNG.COMMENT
MEDIUMtests/units/test_state.py1995 # Create a mocked redis client instead of skipping.COMMENT
MEDIUMtests/units/mock_redis.py272 # Create a pubsub to keep the internal event log for assertions.COMMENT
MEDIUMtests/units/vars/test_dep_tracking.py558 # Create a closure to get a cell objectCOMMENT
MEDIUMtests/units/utils/test_processes.py27 # Create a server socket to occupy a portCOMMENT
MEDIUMtests/units/components/graphing/test_plotly.py23 # Create a graph.COMMENT
MEDIUMtests/units/assets/test_assets.py25 # Create a temporary directory to act as the current working directory.COMMENT
MEDIUMdocs/app/reflex_docs/reflex_docs.py41# Create the app.COMMENT
MEDIUMpackages/reflex-base/src/reflex_base/style.py290 # Create a Var to collapse VarData encoded in f-string.COMMENT
MEDIUM…kages/reflex-base/src/reflex_base/vars/dep_tracking.py352 # Create a python source string snippet.COMMENT
MEDIUMpackages/reflex-base/src/reflex_base/utils/format.py44 # Create a matrix of size (len(str1) + 1) x (len(str2) + 1)COMMENT
MEDIUM…es/reflex-base/src/reflex_base/components/component.py1199 # Create the base tag.COMMENT
MEDIUMpackages/reflex-base/src/reflex_base/event/__init__.py154 # Create an event and append it to the list.COMMENT
MEDIUMpackages/reflex-base/src/reflex_base/event/__init__.py2444 # Create an event and append it to the list.COMMENT
MEDIUM…ase/src/reflex_base/event/processor/event_processor.py743 # Create a new task in the same context to invoke the exception handler.COMMENT
MEDIUM…s-radix/src/reflex_components_radix/primitives/form.py172# This class is created mainly for reflex-web docs.COMMENT
MEDIUM…d/src/reflex_site_shared/components/blocks/headings.py20 # This function is imported from 'hast-util-to-string' package.COMMENT
MEDIUM…d/src/reflex_site_shared/components/blocks/headings.py25 # This function is defined by add_custom_code.COMMENT
MEDIUM…hared/src/reflex_site_shared/components/blocks/demo.py57 # Create the code snippet.COMMENT
MEDIUM…hared/src/reflex_site_shared/components/blocks/demo.py132 # Create the demo.STRING
MEDIUM…reflex-site-shared/src/reflex_site_shared/lib/route.py66 # Create a path based on the module name.COMMENT
MEDIUM…ponents-core/src/reflex_components_core/core/upload.py321 # Create the component.COMMENT
MEDIUM…omponents-core/src/reflex_components_core/core/html.py44 # Create the component.COMMENT
MEDIUM…omponents-core/src/reflex_components_core/core/cond.py213 # Create the conditional var.COMMENT
MEDIUM…aeditor/src/reflex_components_dataeditor/dataeditor.py472 # Define the id of the component in case multiple are used in the same page.COMMENT
MEDIUM…aeditor/src/reflex_components_dataeditor/dataeditor.py475 # Define the name of the getData callback associated with this component and assign to get_cell_content.COMMENT
MEDIUM…ts-markdown/src/reflex_components_markdown/markdown.py259 # Create the component.COMMENT
MEDIUM…c/reflex_components_internal/components/base/select.py612 # Create the items childrenCOMMENT
MEDIUM…nents-gridjs/src/reflex_components_gridjs/datatable.py94 # Create the component.COMMENT
MEDIUM…lex-components-code/src/reflex_components_code/code.py488 # Create the component.COMMENT
MEDIUMreflex/assets.py199 # Create the asset folder in the currently compiling app.COMMENT
MEDIUMreflex/app.py564 # Create the socket app. Note event endpoint constant replaces the default 'socket.io' path.COMMENT
MEDIUMreflex/app.py568 # Create the event namespace and attach the main app. Not related to any paths.COMMENT
MEDIUMreflex/app.py688 # Create the event processor.COMMENT
MEDIUMreflex/app.py1715 # Creating a task prevents the update from being blocked behind other coroutines.COMMENT
MEDIUMreflex/state.py486 # Create a fresh copy of only the non-inherited backend variables for this instance.COMMENT
MEDIUMreflex/state.py708 # Create the setvar event handler for this stateCOMMENT
MEDIUMreflex/istate/proxy.py435 # Create a new class that has the __dataclass_fields__ definedCOMMENT
MEDIUMreflex/istate/manager/disk.py183 # Create a new root state tree with all substates instantiated.COMMENT
MEDIUMreflex/istate/manager/redis.py526 # Create the lease break task since we got the lock.COMMENT
MEDIUMreflex/istate/manager/redis.py743 # Create the task now if one didn't sneak past us.COMMENT
MEDIUMreflex/istate/manager/redis.py910 # Create a new or get existing set of waiters in manager lock.COMMENT
MEDIUMreflex/utils/build.py109 # Create a progress bar for zipping the component.COMMENT
MEDIUMreflex/utils/build.py293 # Create a subdirectory that matches the configured frontend_path.COMMENT
MEDIUMreflex/utils/js_runtimes.py1"""This module provides utilities for managing JavaScript runtimes like Node.js and Bun."""STRING
MEDIUMreflex/utils/prerequisites.py664 # Create the reflex directory.COMMENT
MEDIUMreflex/utils/rename.py1"""This module provides utilities for renaming directories and files in a Reflex app."""STRING
MEDIUMreflex/utils/path_ops.py236 # Create the parent directory if it doesn't exist.COMMENT
MEDIUMreflex/utils/path_ops.py239 # Create the file if it doesn't exist.COMMENT
MEDIUMreflex/utils/path_ops.py242 # Create an empty json object if file is emptyCOMMENT
MEDIUMreflex/utils/templates.py1"""This module provides utilities for managing Reflex app templates."""STRING
MEDIUMreflex/utils/templates.py124 # Create a temp directory for the zip download.COMMENT
MEDIUMreflex/utils/templates.py148 # Create a temp directory for the zip extraction.COMMENT
MEDIUMreflex/utils/frontend_skeleton.py1"""This module provides utility functions to initialize the frontend skeleton."""STRING
MEDIUMreflex/compiler/compiler.py640 # Create the document root.COMMENT
MEDIUMreflex/compiler/compiler.py687 # Create the theme.COMMENT
Decorative Section Separators54 hits · 147 pts
SeverityFileLineSnippetContext
MEDIUM…sts/integration/tests_playwright/test_frontend_path.py21# ---------------------------------------------------------------------------COMMENT
MEDIUM…sts/integration/tests_playwright/test_frontend_path.py23# ---------------------------------------------------------------------------COMMENT
MEDIUM…sts/integration/tests_playwright/test_frontend_path.py233# ---------------------------------------------------------------------------COMMENT
MEDIUM…sts/integration/tests_playwright/test_frontend_path.py235# ---------------------------------------------------------------------------COMMENT
MEDIUM…sts/integration/tests_playwright/test_frontend_path.py319# ---------------------------------------------------------------------------COMMENT
MEDIUM…sts/integration/tests_playwright/test_frontend_path.py321# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/units/components/test_memo.py1498# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/units/components/test_memo.py1502# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/units/docgen/test_class_and_component.py98# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/units/docgen/test_class_and_component.py100# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/units/docgen/test_markdown.py580# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/units/docgen/test_markdown.py582# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/tests/test_docgen_double_eval.py84# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/tests/test_docgen_double_eval.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py411 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py413 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py146# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py202# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py204# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py219 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py221 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py238 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py240 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py381 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py384 # ------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py769# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/docgen_pipeline.py771# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/pages/docs/__init__.py108# ---------------------------------------------------------------------------COMMENT
MEDIUMdocs/app/reflex_docs/pages/docs/__init__.py110# ---------------------------------------------------------------------------COMMENT
MEDIUM…ges/reflex-docgen/src/reflex_docgen/markdown/_types.py8# ---------------------------------------------------------------------------COMMENT
MEDIUM…ges/reflex-docgen/src/reflex_docgen/markdown/_types.py10# ---------------------------------------------------------------------------COMMENT
MEDIUM…ges/reflex-docgen/src/reflex_docgen/markdown/_types.py118# ---------------------------------------------------------------------------COMMENT
MEDIUM…ges/reflex-docgen/src/reflex_docgen/markdown/_types.py120# ---------------------------------------------------------------------------COMMENT
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py74 # ------------------------------------------------------------------STRING
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py76 # ------------------------------------------------------------------STRING
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py92 # ------------------------------------------------------------------STRING
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py94 # ------------------------------------------------------------------STRING
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py139 # ------------------------------------------------------------------STRING
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py141 # ------------------------------------------------------------------STRING
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py184 # ------------------------------------------------------------------STRING
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py186 # ------------------------------------------------------------------STRING
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py221 # ------------------------------------------------------------------STRING
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py223 # ------------------------------------------------------------------STRING
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py324 # ------------------------------------------------------------------STRING
MEDIUM…docgen/src/reflex_docgen/markdown/transformer/_base.py326 # ------------------------------------------------------------------STRING
MEDIUM…en/src/reflex_docgen/markdown/transformer/_markdown.py57 # ------------------------------------------------------------------COMMENT
MEDIUM…en/src/reflex_docgen/markdown/transformer/_markdown.py59 # ------------------------------------------------------------------COMMENT
MEDIUM…en/src/reflex_docgen/markdown/transformer/_markdown.py76 # ------------------------------------------------------------------COMMENT
MEDIUM…en/src/reflex_docgen/markdown/transformer/_markdown.py78 # ------------------------------------------------------------------COMMENT
MEDIUM…en/src/reflex_docgen/markdown/transformer/_markdown.py109 # ------------------------------------------------------------------COMMENT
MEDIUM…en/src/reflex_docgen/markdown/transformer/_markdown.py111 # ------------------------------------------------------------------COMMENT
Deep Nesting118 hits · 105 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_large_state.py48CODE
LOWtests/integration/test_urls.py11CODE
LOWtests/units/mock_redis.py19CODE
LOWtests/units/mock_redis.py187CODE
LOWtests/units/mock_redis.py211CODE
LOW…its/reflex_base/utils/pyi_generator/test_regression.py216CODE
LOWdocs/app/tests/test_urls.py11CODE
LOWdocs/app/tests/test_doc_links.py89CODE
LOWdocs/app/reflex_docs/docgen_pipeline.py84CODE
LOWdocs/app/reflex_docs/docgen_pipeline.py428CODE
LOWdocs/app/reflex_docs/docgen_pipeline.py464CODE
LOWdocs/app/reflex_docs/docgen_pipeline.py517CODE
LOWdocs/app/reflex_docs/docgen_pipeline.py645CODE
LOWdocs/app/reflex_docs/pages/docs/__init__.py76CODE
LOWdocs/app/reflex_docs/pages/docs/__init__.py222CODE
LOWdocs/app/reflex_docs/pages/docs/component.py272CODE
LOWdocs/app/reflex_docs/pages/docs/component.py456CODE
LOWdocs/app/reflex_docs/pages/docs/component.py615CODE
LOW…app/reflex_docs/pages/integrations/integration_list.py7CODE
LOW…app/reflex_docs/pages/docs_landing/views/ai_builder.py13CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py457CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/apps.py52CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/apps.py209CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/apps.py274CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/apps.py338CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/apps.py457CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/apps.py657CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/apps.py764CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/cli.py77CODE
LOW…ckages/reflex-hosting-cli/src/reflex_cli/v2/secrets.py40CODE
LOW…ckages/reflex-hosting-cli/src/reflex_cli/v2/secrets.py120CODE
LOW…ckages/reflex-hosting-cli/src/reflex_cli/v2/secrets.py202CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/scan.py59CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/scan.py195CODE
LOW…ckages/reflex-hosting-cli/src/reflex_cli/v2/project.py258CODE
LOWpackages/reflex-base/src/reflex_base/config.py423CODE
LOWpackages/reflex-base/src/reflex_base/config.py516CODE
LOWpackages/reflex-base/src/reflex_base/style.py164CODE
LOWpackages/reflex-base/src/reflex_base/style.py341CODE
LOWpackages/reflex-base/src/reflex_base/environment.py273CODE
LOWpackages/reflex-base/src/reflex_base/vars/base.py518CODE
LOWpackages/reflex-base/src/reflex_base/vars/base.py3722CODE
LOWpackages/reflex-base/src/reflex_base/vars/function.py54CODE
LOW…kages/reflex-base/src/reflex_base/vars/dep_tracking.py247CODE
LOW…kages/reflex-base/src/reflex_base/vars/dep_tracking.py396CODE
LOWpackages/reflex-base/src/reflex_base/plugins/sitemap.py135CODE
LOW…ges/reflex-base/src/reflex_base/plugins/_screenshot.py86CODE
LOW…ges/reflex-base/src/reflex_base/plugins/_screenshot.py95CODE
LOW…eflex-base/src/reflex_base/utils/streaming_response.py38CODE
LOW…eflex-base/src/reflex_base/utils/streaming_response.py97CODE
LOWpackages/reflex-base/src/reflex_base/utils/format.py31CODE
LOWpackages/reflex-base/src/reflex_base/utils/format.py521CODE
LOW…ges/reflex-base/src/reflex_base/utils/pyi_generator.py173CODE
LOW…ges/reflex-base/src/reflex_base/utils/pyi_generator.py309CODE
LOW…ges/reflex-base/src/reflex_base/utils/pyi_generator.py595CODE
LOW…ges/reflex-base/src/reflex_base/utils/pyi_generator.py700CODE
LOW…ges/reflex-base/src/reflex_base/utils/pyi_generator.py803CODE
LOW…ges/reflex-base/src/reflex_base/utils/pyi_generator.py847CODE
LOW…ges/reflex-base/src/reflex_base/utils/pyi_generator.py1210CODE
LOW…ges/reflex-base/src/reflex_base/utils/pyi_generator.py1312CODE
58 more matches not shown…
Excessive Try-Catch Wrapping91 hits · 86 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_urls.py51 except Exception as e:CODE
LOWtests/integration/lighthouse_utils.py1033 except Exception:STRING
LOWdocs/app/tests/test_urls.py58 except Exception as e:CODE
LOWdocs/app/tests/test_doc_links.py152 except Exception as exc:CODE
LOWdocs/app/reflex_docs/docgen_pipeline.py448 except Exception as e:CODE
LOWdocs/app/reflex_docs/docgen_pipeline.py483 except Exception as e:CODE
LOWdocs/app/reflex_docs/pages/docs/__init__.py323 except Exception:CODE
LOWdocs/app/reflex_docs/pages/docs/__init__.py383 except Exception:CODE
LOWdocs/app/reflex_docs/pages/docs/__init__.py426 except Exception:CODE
LOWdocs/app/reflex_docs/pages/docs/component.py146 except Exception:CODE
LOWdocs/app/reflex_docs/pages/docs/component.py564 except Exception:CODE
LOWdocs/app/reflex_docs/pages/docs/component.py571 except Exception as e:CODE
LOWdocs/app/reflex_docs/pages/docs/component.py603 except Exception:CODE
MEDIUMdocs/app/reflex_docs/pages/docs/component.py265def safe_issubclass(cls, class_or_tuple):CODE
LOWdocs/api-reference/utils.md70 except Exception as e:CODE
LOWdocs/api-reference/utils.md98 except Exception as e:CODE
LOWscripts/wait_for_listening_port.py42 except Exception:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py361 except Exception as ex:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py386 except Exception:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py433 except Exception as ex:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py447 except Exception as ex:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py477 except Exception as ex:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1074 except Exception as ex:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1106 except Exception as ex:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py2095 except Exception as ex:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py2177 except Exception as ex:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py2269 except Exception as ex:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py2335 except Exception as ex:CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py2371 except Exception as ex:CODE
LOW…/reflex-hosting-cli/src/reflex_cli/utils/dependency.py41 except Exception:CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/apps.py408 except Exception:CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/apps.py613 except Exception:CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/apps.py620 except Exception as ex:CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/cli.py232 except Exception as ex:CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/cli.py294 except Exception:CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/cli.py407 except Exception as ex:CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/cli.py435 except Exception as ex:CODE
LOW…ckages/reflex-hosting-cli/src/reflex_cli/v2/project.py228 except Exception as e:CODE
LOW…ckages/reflex-hosting-cli/src/reflex_cli/v2/project.py295 except Exception as e:CODE
LOWpackages/reflex-base/src/reflex_base/config.py510 except Exception as exc:CODE
LOWpackages/reflex-base/src/reflex_base/config.py548 except Exception:CODE
LOWpackages/reflex-base/src/reflex_base/config.py870 except Exception:CODE
LOWpackages/reflex-base/src/reflex_base/environment.py201 except Exception as e:CODE
LOWpackages/reflex-base/src/reflex_base/environment.py234 except Exception as e:CODE
LOWpackages/reflex-base/src/reflex_base/vars/base.py2654 except Exception as e:CODE
LOW…ges/reflex-base/src/reflex_base/utils/pyi_generator.py1653 except Exception:CODE
LOW…ase/src/reflex_base/event/processor/event_processor.py304 except Exception as ex:CODE
LOW…ase/src/reflex_base/event/processor/event_processor.py674 except Exception:CODE
LOW…ase/src/reflex_base/event/processor/event_processor.py732 except Exception as ex:CODE
LOW…rc/reflex_base/event/processor/base_state_processor.py160 except Exception as ex:CODE
LOW…rc/reflex_base/event/processor/base_state_processor.py249 except Exception as ex:CODE
LOWpackages/reflex-docgen/src/reflex_docgen/_class.py578 except Exception as e:CODE
LOW…ite-shared/src/reflex_site_shared/backend/get_blogs.py42 except Exception:CODE
LOW…s-core/src/reflex_components_core/el/elements/forms.py160 except Exception:STRING
LOWreflex/model.py528 except Exception as exc:CODE
LOWreflex/app.py207 except Exception as e:CODE
LOWreflex/app.py1351 except Exception as exc:CODE
LOWreflex/state.py2250 except Exception:CODE
LOWreflex/istate/__init__.py21 except Exception:CODE
LOWreflex/istate/shared.py29 except Exception as e:CODE
31 more matches not shown…
Redundant / Tautological Comments29 hits · 42 pts
SeverityFileLineSnippetContext
LOWtests/units/components/datadisplay/test_shiki_code.py135 # Check if the transformer is set correctly if expectedCOMMENT
LOWtests/units/components/datadisplay/test_shiki_code.py141 # Check if the second child is the copy button if can_copy is TrueCOMMENT
LOWdocs/app/tests/test_urls.py27 # Check if the root path contains the target directoriesCOMMENT
LOWdocs/app/reflex_docs/templates/docpage/docpage.py910 # Check if first is (toc, doc_content) from get_tocCOMMENT
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py528 # Check if the user is authenticatedCOMMENT
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py545 # Check if the user is authenticatedCOMMENT
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/cli.py387 # Check if the reflex version is >= 0.7.6COMMENT
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/cli.py415 # Check if the reflex version is >= 0.7.6COMMENT
LOW…ges/reflex-base/src/reflex_base/utils/pyi_generator.py385 # Check if this line has a prop.COMMENT
LOWpackages/reflex-base/src/reflex_base/utils/types.py309 # Check if the class inherits from a generic class (using __orig_bases__)COMMENT
LOWpackages/reflex-base/src/reflex_base/utils/types.py1112 # Check if the origin of both types is the same (e.g., list for list[int])COMMENT
LOW…ckages/reflex-base/src/reflex_base/components/props.py244 # Check if this field expects a specific Props type and we got a dictCOMMENT
LOW…ckages/reflex-base/src/reflex_base/components/props.py250 # Check if this field expects a list of Props and we got a list of dictsCOMMENT
LOW…es/reflex-base/src/reflex_base/components/component.py1049 # Check if the key is an event trigger.COMMENT
LOWreflex/reflex.py878 # Check if we are set up.COMMENT
LOWreflex/app.py925 # Check if the route given is validCOMMENT
LOWreflex/app.py1500 # Check if the function has the necessary annotations and types in the right orderCOMMENT
LOWreflex/app.py1526 # Check if the return type is valid for backend exception handlerCOMMENT
LOWreflex/state.py574 # Check if another substate class with the same name has already been defined.COMMENT
LOWreflex/state.py953 # Check if the method is overridden and not a dunder methodCOMMENT
LOWreflex/state.py1246 # Check if function has stored event_actions from decoratorCOMMENT
LOWreflex/istate/manager/redis.py208 asyncio.get_running_loop() # Check if we're in an event loop.CODE
LOWreflex/istate/manager/redis.py539 # Check if we still have the redis lock, then just try to send this one update and release it.COMMENT
LOWreflex/istate/manager/redis.py1047 # Check if this process got a lease, then we can abandon waiting on the redis lock.COMMENT
LOWreflex/utils/token_manager.py150 # Check if token is already mapped to a different SID (duplicate tab)COMMENT
LOWreflex/utils/templates.py213 # Check if the template is a github repo.COMMENT
LOWreflex/utils/templates.py289 # Check if the app is already initialized.COMMENT
LOWreflex/utils/processes.py356 # Check if the process failed (not printing the logs for SIGINT).COMMENT
LOWreflex/utils/frontend_skeleton.py41 # Write files to the .gitignore file.COMMENT
Modern Structural Boilerplate41 hits · 39 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_linked_state.py34 def set_counter(self, value: int) -> None:CODE
LOWtests/integration/test_linked_state.py38 def set_who(self, who: str) -> None:CODE
LOWtests/units/compiler/test_memoize_plugin.py1414 def set_value(self, v: str) -> None:CODE
LOWtests/benchmarks/conftest.py3__all__ = ["evaluated_page", "unevaluated_page"]CODE
LOW…flex_docs/components/docpage/navbar/buttons/sidebar.py5__all__ = ["docs_sidebar_drawer", "navbar_sidebar_button"]CODE
LOW…s/app/reflex_docs/pages/docs_landing/views/__init__.py11__all__ = [CODE
LOWdocs/app/agent_files/__init__.py3__all__ = ["AgentFilesPlugin"]CODE
LOWdocs/package/reflex_docs_bundle/__init__.py30__all__ = ["DOCS_DIR", "get_doc", "list_docs"]CODE
LOW…kages/reflex-base/src/reflex_base/telemetry_context.py71 def set_exception(self, exc: BaseException | None) -> None:CODE
LOWpackages/reflex-base/src/reflex_base/vars/__init__.py32__all__ = [CODE
LOW…ckages/reflex-base/src/reflex_base/plugins/compiler.py867__all__ = [CODE
LOW…ckages/reflex-base/src/reflex_base/plugins/__init__.py25__all__ = [CODE
LOW…ages/reflex-base/src/reflex_base/constants/__init__.py71__all__ = [CODE
LOW…eflex-base/src/reflex_base/utils/streaming_response.py135__all__ = ["DisconnectAwareStreamingResponse"]CODE
LOWpackages/reflex-base/src/reflex_base/components/memo.py2039__all__ = [CODE
LOW…lex-base/src/reflex_base/components/memoize_helpers.py264__all__ = [CODE
LOW…es/reflex-base/src/reflex_base/components/component.py613def _update_deterministic_hash(hasher: Any, value: object) -> None:CODE
LOW…eflex-base/src/reflex_base/components/tags/__init__.py8__all__ = ["CondTag", "IterTag", "MatchTag", "Tag"]CODE
LOW…ase/src/reflex_base/event/processor/event_processor.py762__all__ = [CODE
LOW…reflex-base/src/reflex_base/event/processor/timeout.py50__all__ = [CODE
LOW…eflex-base/src/reflex_base/event/processor/__init__.py8__all__ = [CODE
LOW…rc/reflex_base/event/processor/base_state_processor.py417__all__ = ["BaseStateEventProcessor", "chain_updates", "process_event"]CODE
LOW…/reflex-base/src/reflex_base/event/processor/future.py98__all__ = [CODE
LOWpackages/reflex-docgen/src/reflex_docgen/__init__.py22__all__ = [CODE
LOW…s/reflex-docgen/src/reflex_docgen/markdown/__init__.py32__all__ = [CODE
LOW…ocgen/src/reflex_docgen/markdown/transformer/reflex.py76__all__ = ["ReflexComponentTransformer"]CODE
LOW…gen/src/reflex_docgen/markdown/transformer/__init__.py18__all__ = [CODE
LOW…ges/reflex-site-shared/src/reflex_site_shared/route.py5__all__ = ["Route", "get_path"]CODE
LOW…ed/src/reflex_site_shared/components/hosting_banner.py5__all__ = ["HostingBannerState", "hosting_banner"]CODE
LOW…es/integrations-docs/src/integrations_docs/__init__.py5__all__ = ["DOCS_DIR", "get_doc", "list_docs"]CODE
LOW…onents-core/src/reflex_components_core/core/_upload.py144 def set_consumer_task(self, task: asyncio.Future[Any]) -> None:CODE
LOW…eflex_components_internal/blocks/telemetry/__init__.py14__all__ = [CODE
LOWreflex/app.py522 def _setup_state(self) -> None:CODE
LOWreflex/state.py2310 def set_is_hydrated(self, value: bool) -> None:CODE
LOWreflex/state.py2421 async def update_vars_internal(self, vars: dict[str, Any]) -> None:CODE
LOWreflex/plugins/__init__.py24__all__ = [CODE
LOWreflex/constants/__init__.py64__all__ = [CODE
LOWreflex/utils/telemetry_accounting.py27__all__ = ["record_compile"]CODE
LOWreflex/compiler/plugins/memoize.py405__all__ = ["MemoizeStatefulPlugin"]CODE
LOWreflex/compiler/plugins/__init__.py19__all__ = [CODE
LOWreflex/compiler/plugins/builtin.py615__all__ = [CODE
AI Slop Vocabulary10 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUMtests/integration/test_lifespan.py323# find the harness in a stopped state and fail.COMMENT
MEDIUMtests/integration/test_tailwind.py45 # Write next to the compiled app (Path.cwd() inside the harness) so rerunsCOMMENT
MEDIUMpackages/reflex-base/src/reflex_base/environment.py649 # Whether to run app harness tests in headless mode.COMMENT
MEDIUMpackages/reflex-base/src/reflex_base/environment.py652 # Which app harness driver to use.COMMENT
MEDIUMpackages/reflex-base/src/reflex_base/environment.py655 # Arguments to pass to the app harness driver.COMMENT
LOWpackages/reflex-base/src/reflex_base/utils/format.py459 # If there's no enclosing state, just return the full name.COMMENT
MEDIUM.github/workflows/check_outdated_dependencies.yml47 # exempts reflex's own integration tests via the app harness flag.COMMENT
MEDIUM.github/workflows/integration_tests.yml116 # exempts reflex's own integration tests via the app harness flag.COMMENT
MEDIUM.github/workflows/integration_tests.yml228 # exempts reflex's own integration tests via the app harness flag.COMMENT
MEDIUMdocker-example/production-compose/compose.yaml4# See `compose.prod.yaml` for more robust and performant deployment option.COMMENT
Over-Commented Block17 hits · 16 pts
SeverityFileLineSnippetContext
LOWtests/integration/test_lifespan.py321# --- Do NOT add new test cases below this line. ---COMMENT
LOW.claude/hooks/session-start.sh1#!/bin/bashCOMMENT
LOWdocs/app/reflex_docs/reflex_docs.py121 # description. Emitting these via `meta` — rather than add_page'sCOMMENT
LOW…/app/reflex_docs/components/docpage/navbar/__init__.py1# Navbar components: buttons.sidebar, search, stateCOMMENT
LOW…lex_docs/templates/docpage/sidebar/sidebar_items/ai.py41 ai_builder.app_lifecycle.deploy_app,COMMENT
LOWscripts/delete_automated_releases.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/delete_automated_releases.sh21# Usage:COMMENT
LOWpackages/reflex-base/src/reflex_base/constants/base.py21COMMENT
LOWpackages/reflex-base/src/reflex_base/constants/base.py41 BUILD_DIR = "build"COMMENT
LOW…ckages/reflex-base/src/reflex_base/utils/memo_paths.py21import inspectCOMMENT
LOWpackages/reflex-base/src/reflex_base/components/memo.py61# eagerly imports ``Bare`` (and thus ``reflex_base.environment``); defining itCOMMENT
LOWpackages/reflex-base/src/reflex_base/components/memo.py1741 # Components with no original structural children own their own JSXCOMMENT
LOW…ts-code/src/reflex_components_code/shiki_code_block.py501 # "position": "relative", # noqa: ERA001COMMENT
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOWreflex/custom_components/custom_components.py101# Some libraries you want to wrap may require dynamic imports.COMMENT
LOWreflex/custom_components/custom_components.py121 # is_default = TrueCOMMENT
LOWreflex/compiler/plugins/memoize.py381 # tag is derived from the rendered memo body insideCOMMENT
Slop Phrases3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/codeql.yml56 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
MEDIUMreflex/custom_components/custom_components.py124 # you can use aliases to differentiate between them and avoid naming conflicts.COMMENT
MEDIUMreflex/custom_components/custom_components.py136 # In this case you can use the lib_dependencies property to specify other libraries to install.COMMENT
AI Structural Patterns9 hits · 8 pts
SeverityFileLineSnippetContext
LOWdocs/app/reflex_docs/utils/http.py29CODE
LOW…ges/reflex-hosting-cli/src/reflex_cli/utils/hosting.py1830CODE
LOWpackages/reflex-hosting-cli/src/reflex_cli/v2/cli.py77CODE
LOWpackages/reflex-base/src/reflex_base/vars/base.py279CODE
LOWpackages/reflex-base/src/reflex_base/utils/decorator.py27CODE
LOWpackages/reflex-base/src/reflex_base/utils/decorator.py47CODE
LOWreflex/app.py871CODE
LOWreflex/istate/storage.py34CODE
LOWreflex/utils/export.py16CODE
Overly Generic Function Names6 hits · 5 pts
SeverityFileLineSnippetContext
LOWtests/units/test_state.py199 def do_something(self):CODE
LOW…sts/units/reflex_base/utils/pyi_generator/test_unit.py434 def helper(self) -> str:STRING
LOW…sts/units/reflex_base/utils/pyi_generator/test_unit.py440 assert "def helper(self) -> str:" in resultSTRING
LOWtests/units/components/test_component.py54 def do_something(self):CODE
LOWtests/units/components/test_component.py2097 def do_something(self):CODE
LOWtests/units/docgen/test_class_and_component.py319 def do_stuff(self) -> None:CODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtests/units/istate/test_proxy.py59CODE
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMdocs/getting_started/chatapp_tutorial.md117We will start by creating a new project and setting up our development environment. If you haven't installed [uv](https:CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/delete_automated_releases.sh21# Usage:COMMENT