Repository Analysis

microsoft/data-formulator

🪄 Data Formulator is an interactive AI-powered data analysis system makes it easy to connect, explore and visualize data.

46.1 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of microsoft/data-formulator, a Python project with 15,930 GitHub stars. SynthScan v2.0 examined 136,333 lines of code across 482 source files, recording 3496 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 46.1 places this repository in the Strong 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).

46.1
Adjusted Score
46.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
15.9K
Stars
Python
Language
136.3K
Lines of Code
482
Files
3.5K
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 5HIGH 23MEDIUM 1073LOW 2395

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 3496 distinct pattern matches across 23 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.

Decorative Section Separators1033 hits · 3750 pts
SeverityFileLineSnippetContext
MEDIUMpy-src/data_formulator/agent_config.py39# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/agent_config.py41# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/agent_config.py48 # ── Heavy: code-gen, multi-step, tool-using ─────────────────────────────COMMENT
MEDIUMpy-src/data_formulator/agent_config.py55 # ── Light: single-turn extractors / classifiers / formatters ────────────COMMENT
MEDIUMpy-src/data_formulator/error_handler.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/error_handler.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/error_handler.py103# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/error_handler.py105# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/error_handler.py133# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/error_handler.py135# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/error_handler.py201# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/error_handler.py203# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/error_handler.py244# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/error_handler.py246# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py62# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py91# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py93# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py860# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py862# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py1377# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py1379# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py2202# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py2204# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py347# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py349# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py786# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py788# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py2413# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py2415# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/mini_agent.py228 # ------------------------------------------------------------------STRING
MEDIUMpy-src/data_formulator/analyst/mini_agent.py230 # ------------------------------------------------------------------STRING
MEDIUMpy-src/data_formulator/analyst/mini_agent.py251 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/mini_agent.py253 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/mini_agent.py268 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/mini_agent.py273 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/mini_agent.py430 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/mini_agent.py432 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/mini_agent.py566 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/mini_agent.py568 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/mini_agent.py716 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/mini_agent.py718 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1121 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1123 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1352 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1354 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py85# ── Action-argument coercion ──────────────────────────────────────────────COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py106# ── Live tool-argument streaming (design-docs/36 §5) ───────────────────────COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py267# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py269# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py337 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py339 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py359 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py361 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py494 # ── No committing action → the run is over ────────────────COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py579 # ── Terminal action → the run pauses ──────────────────────COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py634 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py636 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py874 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py876 # ------------------------------------------------------------------COMMENT
973 more matches not shown…
Hyper-Verbose Identifiers1397 hits · 1389 pts
SeverityFileLineSnippetContext
LOW.cursor/skills/path-safety/SKILL.md118def _enforce_deployment_restrictions():CODE
LOWpy-src/data_formulator/workspace_factory.py30def _build_azure_container_client(cfg: dict):CODE
LOWpy-src/data_formulator/workspace_factory.py78def _get_user_workspaces_root(identity_id: str) -> Path:CODE
LOWpy-src/data_formulator/error_handler.py76def classify_and_wrap_llm_error(exc: Exception) -> AppError:CODE
LOWpy-src/data_formulator/data_connector.py95def classify_and_raise_connector_error(error: Exception, *, operation: str = "") -> None:CODE
LOWpy-src/data_formulator/data_connector.py1692def connector_get_catalog_tree():CODE
LOWpy-src/data_formulator/data_connector.py174def _lightweight_tree_for_response(tree: list[dict[str, Any]]) -> list[dict[str, Any]]:CODE
LOWpy-src/data_formulator/data_connector.py232def _is_sensitive_or_auth_param(CODE
LOWpy-src/data_formulator/data_connector.py311def _resolve_connector_with_key(data: dict[str, Any]) -> tuple[str, "DataConnector"]:CODE
LOWpy-src/data_formulator/data_connector.py933def discover_data_loader_options():CODE
LOWpy-src/data_formulator/data_connector.py1761def connector_get_catalog_progress():CODE
LOWpy-src/data_formulator/data_connector.py1776def connector_get_cached_catalog_tree():CODE
LOWpy-src/data_formulator/data_connector.py1833def connector_sync_catalog_metadata():CODE
LOWpy-src/data_formulator/analyst/agent.py1305 def _build_focused_thread_context(CODE
LOWpy-src/data_formulator/analyst/agent.py1310 def _build_peripheral_thread_context(CODE
LOWpy-src/data_formulator/analyst/agent.py1316 def _build_available_charts_context(CODE
LOWpy-src/data_formulator/analyst/agent.py1343 def _build_lightweight_table_context(CODE
LOWpy-src/data_formulator/analyst/agent.py92def _rescue_unpack_json_strings(data: dict) -> None:CODE
LOWpy-src/data_formulator/analyst/agent.py682 def _build_skill_body_message(CODE
LOWpy-src/data_formulator/analyst/skills/core/skill.py291 def _sanitize_clarification_options(cls, raw_options: Any) -> list[dict[str, Any]]:CODE
LOWpy-src/data_formulator/analyst/skills/core/skill.py315 def _sanitize_clarification_questions(cls, raw_questions: Any) -> list[dict[str, Any]]:CODE
LOWpy-src/data_formulator/analyst/skills/core/skill.py346 def _normalize_interact_action(cls, action: dict[str, Any]) -> dict[str, Any]:CODE
LOWpy-src/data_formulator/analyst/skills/core/skill.py376 def _normalize_delegate_action(cls, action: dict[str, Any]) -> dict[str, Any]:CODE
LOWpy-src/data_formulator/analyst/skills/report/skill.py57def _strip_leaked_tool_syntax(text: str) -> str:CODE
LOWpy-src/data_formulator/security/sanitize.py25def _extract_traceback_summary(message: str) -> str:CODE
LOWpy-src/data_formulator/security/sanitize.py54def _structured_error_response(code: str, message: str, status_code: int):CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py22def field_metadata_to_semantic_types(CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py539 def assign_aesthetic_channels():CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py1225def _post_process_candlestick(CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py1581def _post_process_streamgraph(spec: dict, encodings: dict, config: dict | None) -> None:CODE
LOWpy-src/data_formulator/workflows/chart_semantics.py570def resolve_channel_semantics(CODE
LOWpy-src/data_formulator/workflows/chart_semantics.py184def _looks_like_year_integers(values: List[Any]) -> bool:CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py693def _build_connector_summary_block(CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1441 def _tool_show_user_data_preview(self, args, scratch_jail):CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2042 def _normalize_load_plan_candidate(self, candidate):CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2125 def _format_valid_sources_hint(self) -> str:CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2158 def _normalize_load_plan_filters(filters):CODE
LOWpy-src/data_formulator/agents/client_utils.py169def _salvage_tool_calls_from_content(response, tools):CODE
LOWpy-src/data_formulator/agents/client_utils.py285 def _strip_images_from_messages(self, messages):CODE
LOWpy-src/data_formulator/agents/client_utils.py298 def _is_image_deserialize_error(self, error_text: str) -> bool:CODE
LOWpy-src/data_formulator/agents/client_utils.py303 def _is_reasoning_effort_error(self, error_text: str) -> bool:CODE
LOWpy-src/data_formulator/agents/client_utils.py396 def get_completion_with_tools(self, messages, tools, stream=False,CODE
LOWpy-src/data_formulator/agents/agent_utils.py83def accumulate_reasoning_content(CODE
LOWpy-src/data_formulator/agents/agent_utils.py109def _source_table_matches_catalog_entry(CODE
LOWpy-src/data_formulator/agents/agent_utils.py124def build_catalog_metadata_lookups(CODE
LOWpy-src/data_formulator/agents/agent_utils.py207def format_dataframe_sample_with_budget(CODE
LOWpy-src/data_formulator/agents/agent_utils.py241def field_name_to_ts_variable_name(field_name):CODE
LOWpy-src/data_formulator/agents/agent_utils.py292def extract_code_from_gpt_response(code_raw, language):CODE
LOWpy-src/data_formulator/agents/agent_utils.py372def _fix_json_trailing_commas(s: str) -> str:CODE
LOWpy-src/data_formulator/agents/agent_utils.py747def ensure_output_variable_in_code(code: str, output_variable: str) -> tuple[str, bool, str]:CODE
LOWpy-src/data_formulator/agents/agent_utils_sql.py17def create_duckdb_conn_with_parquet_views(workspace, input_tables: list[dict]):CODE
LOWpy-src/data_formulator/agents/context.py29def _ensure_no_auth_catalogs_cached(user_home: Any) -> None:CODE
LOWpy-src/data_formulator/agents/context.py84def _get_workspace_metadata_lookups(workspace: Any) -> tuple[dict[str, str], dict[str, dict[str, str]], dict[str, str]]:CODE
LOWpy-src/data_formulator/agents/context.py110def build_focused_thread_context(focused_thread: list[dict[str, Any]]) -> str:CODE
LOWpy-src/data_formulator/agents/context.py149def build_peripheral_thread_context(other_threads: list[dict[str, Any]]) -> str:CODE
LOWpy-src/data_formulator/agents/context.py166def build_lightweight_table_context(CODE
LOWpy-src/data_formulator/agents/context.py301def handle_inspect_source_data(CODE
LOWpy-src/data_formulator/agents/context.py366def handle_read_catalog_metadata(CODE
LOWpy-src/data_formulator/agents/semantic_types.py264def generate_semantic_types_prompt() -> str:CODE
LOWpy-src/data_formulator/agents/web_utils.py312def _configured_max_fetch_bytes() -> int:CODE
1337 more matches not shown…
Excessive Try-Catch Wrapping412 hits · 370 pts
SeverityFileLineSnippetContext
LOW.cursor/skills/error-handling/SKILL.md77 except Exception as e:CODE
LOW.cursor/skills/error-handling/SKILL.md117 except Exception as e:CODE
LOW.cursor/skills/error-handling/SKILL.md267 except Exception as e:CODE
LOW.cursor/skills/error-handling/SKILL.md285except Exception as e:CODE
MEDIUM.cursor/skills/error-handling/SKILL.md113def generate():CODE
MEDIUM.cursor/skills/error-handling/SKILL.md263def my_table_op():CODE
LOWpy-src/data_formulator/_startup_spinner.py32 except Exception:CODE
LOWpy-src/data_formulator/app.py318 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py855 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1346 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1352 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1362 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1369 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1670 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1679 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1687 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2197 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py321 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py512 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py527 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py539 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py550 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py618 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py665 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py699 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py712 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py751 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py962 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py1064 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py1080 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1091 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1180 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1227 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1261 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1265 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1315 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1328 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1481 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1500 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1504 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1535 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py1544 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1580 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1591 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1739 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1754 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1824 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1887 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1918 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1946 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1988 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2024 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py2034 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2085 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2120 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2183 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2251 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2319 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2347 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2365 except Exception as e:CODE
352 more matches not shown…
Unused Imports326 hits · 265 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/_startup_spinner.py14CODE
LOWpy-src/data_formulator/workspace_factory.py24CODE
LOWpy-src/data_formulator/agent_config.py32CODE
LOWpy-src/data_formulator/app.py24CODE
LOWpy-src/data_formulator/app.py25CODE
LOWpy-src/data_formulator/app.py26CODE
LOWpy-src/data_formulator/app.py26CODE
LOWpy-src/data_formulator/app.py31CODE
LOWpy-src/data_formulator/error_handler.py19CODE
LOWpy-src/data_formulator/errors.py15CODE
LOWpy-src/data_formulator/analyst/tools.py20CODE
LOWpy-src/data_formulator/analyst/__init__.py29CODE
LOWpy-src/data_formulator/analyst/__init__.py29CODE
LOWpy-src/data_formulator/analyst/__init__.py29CODE
LOWpy-src/data_formulator/analyst/__init__.py29CODE
LOWpy-src/data_formulator/analyst/__init__.py29CODE
LOWpy-src/data_formulator/analyst/__init__.py29CODE
LOWpy-src/data_formulator/analyst/__init__.py29CODE
LOWpy-src/data_formulator/analyst/__init__.py38CODE
LOWpy-src/data_formulator/analyst/__init__.py39CODE
LOWpy-src/data_formulator/analyst/mini_agent.py42CODE
LOWpy-src/data_formulator/analyst/skills/__init__.py23CODE
LOWpy-src/data_formulator/analyst/skills/__init__.py33CODE
LOWpy-src/data_formulator/analyst/skills/__init__.py33CODE
LOWpy-src/data_formulator/analyst/skills/__init__.py33CODE
LOWpy-src/data_formulator/analyst/skills/base.py39CODE
LOWpy-src/data_formulator/analyst/skills/core/skill.py27CODE
LOWpy-src/data_formulator/analyst/skills/report/skill.py31CODE
LOWpy-src/data_formulator/security/url_allowlist.py38CODE
LOWpy-src/data_formulator/security/log_sanitizer.py28CODE
LOWpy-src/data_formulator/security/log_sanitizer.py30CODE
LOWpy-src/data_formulator/security/path_safety.py14CODE
LOWpy-src/data_formulator/security/sanitize.py6CODE
LOWpy-src/data_formulator/security/sanitize.py11CODE
LOWpy-src/data_formulator/auth/token_store.py12CODE
LOWpy-src/data_formulator/auth/token_store.py17CODE
LOWpy-src/data_formulator/auth/token_store.py17CODE
LOWpy-src/data_formulator/auth/providers/oidc.py37CODE
LOWpy-src/data_formulator/auth/providers/oidc.py51CODE
LOWpy-src/data_formulator/auth/providers/github_oauth.py18CODE
LOWpy-src/data_formulator/auth/providers/azure_easyauth.py17CODE
LOWpy-src/data_formulator/auth/providers/__init__.py16CODE
LOWpy-src/data_formulator/auth/providers/base.py10CODE
LOWpy-src/data_formulator/auth/gateways/github_gateway.py12CODE
LOWpy-src/data_formulator/auth/gateways/oidc_gateway.py20CODE
LOWpy-src/data_formulator/auth/vault/__init__.py17CODE
LOWpy-src/data_formulator/auth/vault/base.py5CODE
LOWpy-src/data_formulator/auth/vault/local_vault.py12CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py2CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py9CODE
LOWpy-src/data_formulator/workflows/chart_semantics.py23CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py16CODE
LOWpy-src/data_formulator/agents/reasoning_log.py22CODE
LOWpy-src/data_formulator/agents/__init__.py4CODE
LOWpy-src/data_formulator/agents/__init__.py5CODE
LOWpy-src/data_formulator/agents/__init__.py6CODE
LOWpy-src/data_formulator/agents/__init__.py7CODE
LOWpy-src/data_formulator/agents/agent_diagnostics.py11CODE
LOWpy-src/data_formulator/agents/agent_simple.py14CODE
LOWpy-src/data_formulator/agents/web_utils.py8CODE
266 more matches not shown…
Deep Nesting124 hits · 94 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/data_connector.py273CODE
LOWpy-src/data_formulator/data_connector.py832CODE
LOWpy-src/data_formulator/data_connector.py967CODE
LOWpy-src/data_formulator/data_connector.py1147CODE
LOWpy-src/data_formulator/data_connector.py1616CODE
LOWpy-src/data_formulator/data_connector.py1692CODE
LOWpy-src/data_formulator/data_connector.py1833CODE
LOWpy-src/data_formulator/data_connector.py2343CODE
LOWpy-src/data_formulator/analyst/mini_agent.py351CODE
LOWpy-src/data_formulator/analyst/mini_agent.py570CODE
LOWpy-src/data_formulator/analyst/mini_agent.py736CODE
LOWpy-src/data_formulator/analyst/agent.py363CODE
LOWpy-src/data_formulator/analyst/agent.py788CODE
LOWpy-src/data_formulator/analyst/agent.py924CODE
LOWpy-src/data_formulator/analyst/agent.py1429CODE
LOWpy-src/data_formulator/analyst/agent.py1881CODE
LOWpy-src/data_formulator/analyst/agent.py2069CODE
LOWpy-src/data_formulator/analyst/skills/core/skill.py376CODE
LOWpy-src/data_formulator/auth/token_store.py346CODE
LOWpy-src/data_formulator/auth/providers/__init__.py30CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py309CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py610CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py1032CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py1078CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py1735CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py1855CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py375CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py426CODE
LOWpy-src/data_formulator/workflows/chart_semantics.py460CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py822CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1037CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1073CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1202CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1280CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1594CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2158CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2211CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2282CODE
LOWpy-src/data_formulator/agents/client_utils.py56CODE
LOWpy-src/data_formulator/agents/client_utils.py92CODE
LOWpy-src/data_formulator/agents/client_utils.py223CODE
LOWpy-src/data_formulator/agents/client_utils.py271CODE
LOWpy-src/data_formulator/agents/agent_utils.py124CODE
LOWpy-src/data_formulator/agents/agent_utils.py250CODE
LOWpy-src/data_formulator/agents/agent_utils.py315CODE
LOWpy-src/data_formulator/agents/agent_utils.py388CODE
LOWpy-src/data_formulator/agents/agent_utils.py429CODE
LOWpy-src/data_formulator/agents/agent_utils.py568CODE
LOWpy-src/data_formulator/agents/context.py29CODE
LOWpy-src/data_formulator/agents/context.py84CODE
LOWpy-src/data_formulator/agents/context.py110CODE
LOWpy-src/data_formulator/agents/agent_chart_restyle.py104CODE
LOWpy-src/data_formulator/agents/agent_chart_restyle.py215CODE
LOWpy-src/data_formulator/agents/agent_workflow_distill.py434CODE
LOWpy-src/data_formulator/datalake/catalog_cache.py155CODE
LOWpy-src/data_formulator/datalake/catalog_cache.py207CODE
LOWpy-src/data_formulator/datalake/workspace_metadata.py555CODE
LOW…ta_formulator/datalake/azure_blob_workspace_manager.py116CODE
LOWpy-src/data_formulator/datalake/workspace.py134CODE
LOWpy-src/data_formulator/datalake/workspace.py555CODE
64 more matches not shown…
Modern Structural Boilerplate88 hits · 90 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/workspace_factory.py27logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/__init__.py10__all__ = [CODE
LOWpy-src/data_formulator/app.py124logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/error_handler.py32logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/data_connector.py71def _set_catalog_progress(connector_id: str, message: str) -> None:CODE
LOWpy-src/data_formulator/data_connector.py45logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/analyst/tools.py146__all__ = [CODE
LOWpy-src/data_formulator/analyst/__init__.py41__all__ = [CODE
LOWpy-src/data_formulator/analyst/agent.py66logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/analyst/skills/__init__.py41logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/analyst/skills/__init__.py371__all__ = [CODE
LOWpy-src/data_formulator/analyst/skills/base.py179__all__ = [CODE
LOWpy-src/data_formulator/analyst/skills/core/skill.py42logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/analyst/skills/report/skill.py45logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/security/url_allowlist.py44logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/security/code_signing.py33logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/security/path_safety.py20logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/security/sanitize.py18logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/auth/token_store.py21logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/auth/identity.py38logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/auth/providers/oidc.py53logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/auth/providers/github_oauth.py28logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/auth/providers/azure_easyauth.py26logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/auth/gateways/github_gateway.py24logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/auth/gateways/oidc_gateway.py34logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/auth/vault/__init__.py26logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/auth/vault/local_vault.py24logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/workflows/create_vl_plots.py19logger = logging.getLogger(__name__)CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py25logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/agents/reasoning_log.py36logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/agents/agent_data_load.py16logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/agents/agent_sort_data.py11logger = logging.getLogger(__name__)CODE
LOW…-src/data_formulator/agents/agent_starter_questions.py11logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/agents/__init__.py9__all__ = [CODE
LOWpy-src/data_formulator/agents/context.py23logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/agents/agent_simple.py17logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/agents/agent_chart_restyle.py27logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/agents/agent_chart_restyle.py34logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/agents/web_utils.py13logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/agents/agent_code_explanation.py11logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/agents/agent_workflow_distill.py26logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/datalake/table_names.py182__all__ = [CODE
LOWpy-src/data_formulator/datalake/catalog_cache.py33logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/datalake/workspace_metadata.py23logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/datalake/azure_blob_workspace.py64logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/datalake/parquet_utils.py26logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/datalake/naming.py40__all__ = ["safe_source_id"]CODE
LOW…ta_formulator/datalake/azure_blob_workspace_manager.py34logger = logging.getLogger(__name__)CODE
LOW…ta_formulator/datalake/azure_blob_workspace_manager.py289 def update_display_name(self, workspace_id: str, display_name: str) -> None:CODE
LOWpy-src/data_formulator/datalake/__init__.py88__all__ = [CODE
LOWpy-src/data_formulator/datalake/ephemeral_workspace.py30logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/datalake/workspace.py51logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/datalake/workspace_manager.py27logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/datalake/workspace_manager.py417 def update_display_name(self, workspace_id: str, display_name: str) -> None:CODE
LOWpy-src/data_formulator/datalake/blob_disk_cache.py42logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/datalake/file_manager.py24logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/knowledge/store.py28logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/sandbox/not_a_sandbox.py19logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/sandbox/local_sandbox.py22logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/sandbox/docker_sandbox.py27logger = logging.getLogger(__name__)CODE
28 more matches not shown…
Hallucination Indicators5 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALpy-src/data_formulator/datalake/azure_blob_workspace.py478 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALpy-src/data_formulator/datalake/azure_blob_workspace.py618 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALpy-src/data_formulator/datalake/azure_blob_workspace.py219 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALpy-src/data_formulator/datalake/azure_blob_workspace.py670 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICAL…ta_formulator/datalake/azure_blob_workspace_manager.py77 from azure.core.exceptions import ResourceNotFoundErrorCODE
Docstring Block Structure11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHpy-src/data_formulator/workflows/create_vl_plots.py618 Assemble a Vega-Lite chart specification from a dataframe, chart type, and encodings. Parameters: - dfSTRING
HIGHpy-src/data_formulator/agents/web_utils.py57 Validate a URL to prevent SSRF attacks. Performs the following checks: 1. Protocol validation (HTTP/HTSTRING
HIGHpy-src/data_formulator/agents/web_utils.py114 Download HTML content from a given URL with SSRF protection. This function implements comprehensive SSRF pSTRING
HIGHpy-src/data_formulator/agents/web_utils.py356 Fetch a remote resource (HTML page or data file) with SSRF protection and a size cap. Unlike ``download_html_cSTRING
HIGHpy-src/data_formulator/agents/web_utils.py485 Render a JavaScript-heavy page with a headless browser and return the final HTML. This is an OPTIONAL fallbackSTRING
HIGHpy-src/data_formulator/datalake/parquet_utils.py44Unicode-safe filename sanitisation for data files. Prevents path traversal by extracting the basename while preservSTRING
HIGHpy-src/data_formulator/datalake/workspace.py534 Get the filename for a table, suitable for use in generated code. Returns just the filename (e.g. "salSTRING
HIGHpy-src/data_formulator/datalake/workspace.py556 Read a table from the workspace as a pandas DataFrame. Automatically selects the appropriate reader baSTRING
HIGHpy-src/data_formulator/datalake/workspace_manager.py344 Open an existing workspace and return a Workspace instance. Args: workspace_id: Workspace STRING
HIGHpy-src/data_formulator/datalake/file_manager.py208 Save an uploaded file to the workspace. The file is stored as-is without conversion. Metadata is added to STRING
HIGH…rc/data_formulator/data_loader/external_data_loader.py419 Fetch data from the external source as a PyArrow Table. This is the primary method for data feSTRING
AI Slop Vocabulary11 hits · 31 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/data_connector.py2070 # preview columns, so we keep this path lean and just return data.COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1497 # ends with exactly ONE action; the harness enforces that here.COMMENT
MEDIUMpy-src/data_formulator/workflows/create_vl_plots.py848 # Uses the robust convert_temporal_data which handles datetime objects,COMMENT
MEDIUMpy-src/data_formulator/workflows/chart_semantics.py267# Date string detection (mirrors TS looksLikeDateString, much more robust)COMMENT
MEDIUMpublic/df_global_energy.json1{"tables": [{"kind": "table", "id": "global-energy-20-small.csv", "displayId": "energy-co2", "names": ["Year", "Entity",CODE
MEDIUMpublic/df_global_energy.json1{"tables": [{"kind": "table", "id": "global-energy-20-small.csv", "displayId": "energy-co2", "names": ["Year", "Entity",CODE
MEDIUMpublic/df_global_energy.json1{"tables": [{"kind": "table", "id": "global-energy-20-small.csv", "displayId": "energy-co2", "names": ["Year", "Entity",CODE
MEDIUMpublic/df_stock_prices_live.json1{"tables": [{"kind": "table", "id": "history", "displayId": "stock-hist", "names": ["symbol", "date", "open", "high", "lCODE
MEDIUMpublic/df_stock_prices_live.json1{"tables": [{"kind": "table", "id": "history", "displayId": "stock-hist", "names": ["symbol", "date", "open", "high", "lCODE
MEDIUMpublic/df_unemployment.json1{"tables": [{"kind": "table", "id": "unemployment-across-industries", "displayId": "unemp-by-ind", "names": ["series", "CODE
MEDIUMpublic/df_unemployment.json1{"tables": [{"kind": "table", "id": "unemployment-across-industries", "displayId": "unemp-by-ind", "names": ["series", "CODE
Over-Commented Block31 hits · 29 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/errors.py61COMMENT
LOWpy-src/data_formulator/data_connector.py761 return loaderCOMMENT
LOWpy-src/data_formulator/analyst/agent.py321COMMENT
LOWpy-src/data_formulator/security/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWpy-src/data_formulator/auth/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWpy-src/data_formulator/auth/gateways/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWpy-src/data_formulator/datalake/azure_blob_workspace.py141 # (e.g. sandbox) may reference them, so we set them to None ratherCOMMENT
LOWpy-src/data_formulator/datalake/azure_blob_workspace.py161 # (inherited from :class:`Workspace`, returns ``self._confined_root``)COMMENT
LOWpy-src/data_formulator/knowledge/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOW…rc/data_formulator/data_loader/external_data_loader.py721 of segments (e.g. ``["public", "users"]``). When present,COMMENT
LOWpy-src/data_formulator/routes/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOWdocs/docs-cn/config-examples/superset/oauth_config.py421 },COMMENT
LOWsrc/icons.tsx161// sx={{COMMENT
LOWsrc/app/dfSlice.tsx1761 ...action.payload,COMMENT
LOWsrc/scss/EncodingShelf.scss161 }COMMENT
LOWsrc/components/VirtualizedCatalogTree.tsx141// - Table leaf: TableIcon.COMMENT
LOWsrc/views/SimpleChartRecBox.tsx181 const [chatPrompt, setChatPrompt] = useState("");COMMENT
LOWsrc/views/SimpleChartRecBox.tsx1221 // card. Shares the 'clarifying' status / pending-clarificationCOMMENT
LOWsrc/views/SessionDistill.tsx61 isLeafDerivedTable,COMMENT
LOWsrc/views/ChartVariantStrip.tsx1// Copyright (c) Microsoft Corporation.COMMENT
LOWsrc/views/DataLoadingChat.tsx941 // has moved on (i.e. the user reset / restarted the chat mid-stream).COMMENT
LOWsrc/views/DataLoadingChat.tsx1361 }COMMENT
LOWsrc/views/DataSourceSidebar.tsx1021 }COMMENT
LOWsrc/views/InteractionEntryCard.tsx341 const isCollapsible = hasPlan || !!collapsedLabel || canClampText;COMMENT
LOWsrc/views/InteractionEntryCard.tsx361 || entry.role === 'summary';COMMENT
LOWsrc/views/DataThread.tsx1181 type TimelineItem = { key: string; element: React.ReactNode; type: 'used-table' | 'trigger' | 'table' | 'chart' | 'lCOMMENT
LOWsrc/views/DataThread.tsx2581 const K = Math.max(1, Math.round(threadItems[li] / budget));COMMENT
LOWsrc/views/DataThread.tsx2921 // Its height is governed by the parent Allotment pane and stays constantCOMMENT
LOWsrc/views/DataThread.tsx3061 const visibleBottom = containerRect.bottom - BOTTOM_MARGIN;COMMENT
LOWsrc/views/DataThread.tsx3141COMMENT
LOWsrc/views/KnowledgePanel.tsx201 }, [deleteTarget, store]);COMMENT
Synthetic Comment Markers3 hits · 24 pts
SeverityFileLineSnippetContext
HIGHtests/backend/benchmarks/benchmark_sandbox.py26# Realistic Data Formulator code snippets (typical AI-generated transforms)COMMENT
HIGHsrc/components/ComponentType.tsx420 title?: string, // AI-generated chart title (from the analyst's visualize action)CODE
HIGHsrc/views/SimpleChartRecBox.tsx1974 // When a root table is focused, show a muted row of AI-generated starterCOMMENT
Cross-Language Confusion5 hits · 22 pts
SeverityFileLineSnippetContext
HIGH…-src/data_formulator/agents/agent_data_loading_chat.py1306 "'uv pip install playwright && python -m playwright install chromium', "CODE
HIGHpy-src/data_formulator/agents/web_utils.py516 "'uv pip install playwright && python -m playwright install chromium'."CODE
HIGHpy-src/data_formulator/agents/web_utils.py491 uv pip install playwright && python -m playwright install chromiumSTRING
HIGHpy-src/data_formulator/routes/agents.py896 raw = raw.replace(': NaN,', ': null,').replace(': NaN}', ': null}').replace(':NaN,', ':null,').replace('CODE
HIGHtests/backend/agents/test_agent_diagnostics.py222 """The front-end currently does JSON.stringify(diagnostics, null, 2)STRING
Self-Referential Comments6 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMpy-src/data_formulator/agents/web_utils.py163 # Create a custom adapter to hook into redirect handlingCOMMENT
MEDIUMtests/backend/benchmarks/benchmark_sandbox.py195 # Create a temporary workspace directoryCOMMENT
MEDIUMtests/backend/data/test_workspace_manager.py451 # Create a legacy source workspace (no workspace_meta.json)COMMENT
MEDIUMtests/backend/data/test_all_loader_verification.py103 # Create a minimal stub that has params but doesn't connectCOMMENT
MEDIUMtests/database-dockers/docker-compose.test.yml3# This file is intentionally additive: existing per-service docker-compose.ymlCOMMENT
MEDIUMtests/database-dockers/superset/init-superset.sh4# This file is kept as a reference if you need to customize init further.COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…/data_formulator/data_loader/sample_datasets_loader.py0read the file into duckdb and compute the spjq there.STRING
HIGH…ata_formulator/data_loader/local_folder_data_loader.py0read the file into duckdb and compute the spjq there.STRING
HIGHpy-src/data_formulator/data_loader/s3_data_loader.py0read the file into duckdb and compute the spjq there.STRING
Redundant / Tautological Comments8 hits · 12 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/workflows/create_vl_plots.py101 # Check if values look like 4-digit years (1000-2999).COMMENT
LOWpy-src/data_formulator/workflows/create_vl_plots.py107 # Check if it looks like a discrete categorical variableCOMMENT
LOWpy-src/data_formulator/agents/agent_utils.py763 # Check if output_variable appears as an assignment target (= but not ==, !=, <=, >=)COMMENT
LOWpy-src/data_formulator/agents/web_utils.py29 # Check if IP is private, loopback, link-local, multicast, reserved, or unspecifiedCOMMENT
LOWpy-src/data_formulator/agents/web_utils.py100 # Check if this resolved IP is private/internalCOMMENT
LOWpy-src/data_formulator/datalake/file_manager.py256 # Write the fileCOMMENT
LOWpy-src/data_formulator/data_loader/kusto_data_loader.py155 # Check if values look like datetime strings or timestamp numbersCOMMENT
LOWtests/database-dockers/cosmosdb/test_cosmosdb_loader.py52 # Check if the database exists (seed_data.py must have run)COMMENT
Structural Annotation Overuse6 hits · 9 pts
SeverityFileLineSnippetContext
LOWCODESPACES.md7### Step 1: Create a Codespace (~5 minutes)COMMENT
LOWCODESPACES.md15### Step 2: Run the appCOMMENT
LOWsrc/app/utils.tsx503 // Step 2: Group by and aggregateCOMMENT
LOWsrc/views/SessionDistill.tsx230 // Step 1: drop tool_call events.COMMENT
LOWsrc/views/SessionDistill.tsx243 // Step 2: shrink each create_table.sample_rows to 1 row.COMMENT
LOWsrc/views/SessionDistill.tsx260 // Step 3: drop oldest threads (first in render order).COMMENT
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…-src/data_formulator/agents/agent_data_loading_chat.py800 # Safety limit for the agentic loop. Web/scrape tasks (fetch_url -> read_fileCOMMENT
MEDIUMpy-src/data_formulator/agents/context.py413 # agentic, design 37 §3.6).COMMENT
MEDIUMdocs/dev-guides/12-sandbox-session.md56### 在非 agentic 场景中(传统方式,不受影响)COMMENT
Fake / Example Data9 hits · 9 pts
SeverityFileLineSnippetContext
LOWtests/backend/auth/test_credential_vault.py140 "username": "user@example.com",CODE
LOWtests/backend/data/test_superset_smart_filter.py206 sl._access_token = "fake-token"CODE
LOWtests/backend/data/test_superset_smart_filter.py210 sl._ensure_token = MagicMock(return_value="fake-token")CODE
LOWtests/backend/data/test_superset_catalog_sync.py36 # Bypass JWT expiry check — "fake-token" is not a real JWTCOMMENT
LOWtests/backend/data/test_superset_catalog_sync.py28 loader._access_token = "fake-token"CODE
LOWsrc/i18n/locales/zh/upload.json23 "placeholder": {CODE
LOWsrc/i18n/locales/zh/dataLoading.json19 "placeholder": "描述要提取、上传或生成的数据...",CODE
LOWsrc/i18n/locales/en/upload.json23 "placeholder": {CODE
LOWsrc/i18n/locales/en/dataLoading.json19 "placeholder": "Describe data to extract, upload, or generate...",CODE
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOWtests/database-dockers/bigquery/start.sh4# Usage:COMMENT
LOWtests/database-dockers/mongodb/start.sh4# Usage:COMMENT
LOWtests/database-dockers/postgres/start.sh4# Usage:COMMENT
LOWtests/database-dockers/cosmosdb/start.sh4# Usage:COMMENT
LOWtests/database-dockers/mysql/start.sh4# Usage:COMMENT
LOWtests/database-dockers/superset/start.sh4# Usage:COMMENT
Slop Phrases3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMpublic/df_global_energy.json1{"tables": [{"kind": "table", "id": "global-energy-20-small.csv", "displayId": "energy-co2", "names": ["Year", "Entity",CODE
MEDIUMpublic/df_stock_prices_live.json1{"tables": [{"kind": "table", "id": "history", "displayId": "stock-hist", "names": ["symbol", "date", "open", "high", "lCODE
MEDIUMpublic/df_unemployment.json1{"tables": [{"kind": "table", "id": "unemployment-across-industries", "displayId": "unemp-by-ind", "names": ["series", "CODE
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/app/utils.tsx503 // Step 2: Group by and aggregateCOMMENT
LOWsrc/views/SessionDistill.tsx230 // Step 1: drop tool_call events.COMMENT
LOWsrc/views/SessionDistill.tsx243 // Step 2: shrink each create_table.sample_rows to 1 row.COMMENT
LOWsrc/views/SessionDistill.tsx260 // Step 3: drop oldest threads (first in render order).COMMENT
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtests/database-dockers/mongodb/init_data.js65print("Test database initialized: products(12), customers(10), orders(10), app_settings(4)");CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/agents/agent_diagnostics.py59CODE