Repository Analysis

microsoft/data-formulator

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

41.9 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of microsoft/data-formulator, a Python project with 17,028 GitHub stars. SynthScan v2.0 examined 154,462 lines of code across 571 source files, recording 3728 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 41.9 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).

41.9
Adjusted Score
41.9
Raw Score
100%
Time Factor
2026-08-24
Last Push
17.0K
Stars
Python
Language
154.5K
Lines of Code
571
Files
3.7K
Pattern Hits
2026-08-29
Scan Date
0.05
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 1072LOW 2628

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 3728 distinct pattern matches across 24 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 Separators1026 hits · 3720 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.py61# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py63# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py92# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py94# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py927# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py929# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py1607# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py1609# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py2437# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py2439# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py348# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py350# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py791# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py793# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py2648# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/data_connector.py2650# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1145 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1147 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1395 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1397 # ------------------------------------------------------------------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.py261# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py263# ---------------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py331 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py333 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py353 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py355 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py498 # ── No committing action → the run is over ────────────────COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py584 # ── Terminal action → the run pauses ──────────────────────COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py639 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py641 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py887 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py889 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py933 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py935 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1547 # ── Action present → cardinality guard (first-wins) ───────────COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1559 # ── Only inspection tools → execute all and loop ───────────────COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py2052 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py2054 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/skills/__init__.py206 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/skills/__init__.py212 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/skills/core/skill.py57 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/skills/core/skill.py59 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/skills/core/skill.py88 # ------------------------------------------------------------------COMMENT
MEDIUMpy-src/data_formulator/analyst/skills/core/skill.py90 # ------------------------------------------------------------------COMMENT
966 more matches not shown…
Hyper-Verbose Identifiers1531 hits · 1506 pts
SeverityFileLineSnippetContext
LOW.cursor/skills/path-safety/SKILL.md118def _enforce_deployment_restrictions():CODE
LOWpy-src/data_formulator/workspace_factory.py31def _build_azure_container_client(cfg: dict):CODE
LOWpy-src/data_formulator/workspace_factory.py79def _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.py96def classify_and_raise_connector_error(error: Exception, *, operation: str = "") -> None:CODE
LOWpy-src/data_formulator/data_connector.py1531def _update_user_connector_display_name(identity: str, connector_id: str, display_name: str) -> None:CODE
LOWpy-src/data_formulator/data_connector.py1924def connector_get_catalog_tree():CODE
LOWpy-src/data_formulator/data_connector.py175def _lightweight_tree_for_response(tree: list[dict[str, Any]]) -> list[dict[str, Any]]:CODE
LOWpy-src/data_formulator/data_connector.py233def _is_sensitive_or_auth_param(CODE
LOWpy-src/data_formulator/data_connector.py312def _resolve_connector_with_key(data: dict[str, Any]) -> tuple[str, "DataConnector"]:CODE
LOWpy-src/data_formulator/data_connector.py819def resolve_catalog_refresh_target(CODE
LOWpy-src/data_formulator/data_connector.py1000def discover_data_loader_options():CODE
LOWpy-src/data_formulator/data_connector.py1474def _validate_connector_id_for_fs(connector_id: str) -> str:CODE
LOWpy-src/data_formulator/data_connector.py1994def connector_get_catalog_progress():CODE
LOWpy-src/data_formulator/data_connector.py2009def connector_get_cached_catalog_tree():CODE
LOWpy-src/data_formulator/data_connector.py2066def connector_sync_catalog_metadata():CODE
LOWpy-src/data_formulator/desktop.py18def _configure_standard_streams() -> None:CODE
LOWpy-src/data_formulator/desktop.py29def _signal_existing_instance(timeout: float = 1.0) -> bool:CODE
LOWpy-src/data_formulator/analyst/agent.py1348 def _build_focused_thread_context(CODE
LOWpy-src/data_formulator/analyst/agent.py1353 def _build_peripheral_thread_context(CODE
LOWpy-src/data_formulator/analyst/agent.py1359 def _build_available_charts_context(CODE
LOWpy-src/data_formulator/analyst/agent.py1386 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.py687 def _build_skill_body_message(CODE
LOWpy-src/data_formulator/analyst/skills/core/skill.py259 def _sanitize_clarification_options(cls, raw_options: Any) -> list[dict[str, Any]]:CODE
LOWpy-src/data_formulator/analyst/skills/core/skill.py283 def _sanitize_clarification_questions(cls, raw_questions: Any) -> list[dict[str, Any]]:CODE
LOWpy-src/data_formulator/analyst/skills/core/skill.py314 def _normalize_interact_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/data_operations/discovery.py67def ensure_no_auth_catalogs_cached(user_home: Any) -> None:CODE
LOWpy-src/data_formulator/data_operations/actions.py8def build_data_operation_action(operation: DataOperation) -> dict[str, Any]:CODE
LOWpy-src/data_formulator/data_operations/repository.py273def resolve_interaction_response(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.py787def _build_connector_summary_block(CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1236 def _tool_replace_data_memory(self, args):CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1629 def _tool_show_user_data_preview(self, args, scratch_jail):CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2062 def _normalize_load_plan_candidate(self, candidate):CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2164 def _format_valid_sources_hint(self) -> str:CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2197 def _normalize_load_query_filters(filters):CODE
LOWpy-src/data_formulator/agents/client_utils.py170def _salvage_tool_calls_from_content(response, tools):CODE
LOWpy-src/data_formulator/agents/client_utils.py292 def _strip_images_from_messages(self, messages):CODE
LOWpy-src/data_formulator/agents/client_utils.py317 def _is_image_deserialize_error(self, error_text: str, has_images: bool = False) -> bool:CODE
LOWpy-src/data_formulator/agents/client_utils.py332 def _is_reasoning_effort_error(self, error_text: str) -> bool:CODE
LOWpy-src/data_formulator/agents/client_utils.py430 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.py750def 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.py30def _get_workspace_metadata_lookups(workspace: Any) -> tuple[dict[str, str], dict[str, dict[str, str]], dict[str, str]]:CODE
1471 more matches not shown…
Excessive Try-Catch Wrapping452 hits · 413 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.py165 except Exception as exc: # pragma: no cover - filesystem edge casesCODE
LOWpy-src/data_formulator/app.py183 except Exception:CODE
LOWpy-src/data_formulator/app.py410 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py922 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1527 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1576 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1582 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1592 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1599 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1902 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1911 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1919 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2432 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py322 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py517 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py532 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py544 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py555 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py623 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py670 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py704 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py717 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py756 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py858 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py876 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1029 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py1131 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py1260 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1271 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1361 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1408 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1442 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1446 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1514 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1713 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1732 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1736 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1767 except Exception as exc:CODE
LOWpy-src/data_formulator/data_connector.py1776 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1812 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1823 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py1972 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py1987 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2057 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2120 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py2151 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2179 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2221 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2257 except Exception:CODE
LOWpy-src/data_formulator/data_connector.py2267 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2320 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2355 except Exception as e:CODE
LOWpy-src/data_formulator/data_connector.py2418 except Exception as e:CODE
392 more matches not shown…
Unused Imports370 hits · 308 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/_startup_spinner.py14CODE
LOWpy-src/data_formulator/workspace_factory.py24CODE
LOWpy-src/data_formulator/workspace_factory.py26CODE
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/desktop.py214CODE
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/skills/__init__.py25CODE
LOWpy-src/data_formulator/analyst/skills/__init__.py35CODE
LOWpy-src/data_formulator/analyst/skills/__init__.py35CODE
LOWpy-src/data_formulator/analyst/skills/__init__.py35CODE
LOWpy-src/data_formulator/analyst/skills/base.py39CODE
LOWpy-src/data_formulator/analyst/skills/core/skill.py27CODE
LOW…c/data_formulator/analyst/skills/data_loading/skill.py1CODE
LOW…c/data_formulator/analyst/skills/data-loading/skill.py1CODE
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
LOW…c/data_formulator/auth/gateways/kusto_oauth_gateway.py6CODE
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/data_operations/models.py1CODE
LOWpy-src/data_formulator/data_operations/discovery.py1CODE
LOWpy-src/data_formulator/data_operations/actions.py1CODE
LOWpy-src/data_formulator/data_operations/__init__.py1CODE
LOWpy-src/data_formulator/data_operations/__init__.py2CODE
LOWpy-src/data_formulator/data_operations/__init__.py2CODE
LOWpy-src/data_formulator/data_operations/__init__.py2CODE
LOWpy-src/data_formulator/data_operations/__init__.py7CODE
LOWpy-src/data_formulator/data_operations/__init__.py7CODE
310 more matches not shown…
Modern Structural Boilerplate97 hits · 100 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/workspace_factory.py28logger = 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.py72def _set_catalog_progress(connector_id: str, message: str) -> None:CODE
LOWpy-src/data_formulator/data_connector.py1531def _update_user_connector_display_name(identity: str, connector_id: str, display_name: str) -> None:CODE
LOWpy-src/data_formulator/data_connector.py46logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/analyst/tools.py146__all__ = [CODE
LOWpy-src/data_formulator/analyst/__init__.py40__all__ = [CODE
LOWpy-src/data_formulator/analyst/agent.py66logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/analyst/skills/__init__.py43logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/analyst/skills/__init__.py382__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/data_operations/discovery.py8logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/data_operations/__init__.py26__all__ = [CODE
LOWpy-src/data_formulator/data_operations/executor.py25logger = 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.py24logger = 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.py35logger = 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.py53__all__ = ["safe_source_id"]CODE
LOW…ta_formulator/datalake/azure_blob_workspace_manager.py35logger = logging.getLogger(__name__)CODE
LOW…ta_formulator/datalake/azure_blob_workspace_manager.py299 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.py24logger = 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.py439 def update_display_name(self, workspace_id: str, display_name: str) -> None:CODE
LOWpy-src/data_formulator/datalake/catalog_refresh.py18logger = logging.getLogger(__name__)CODE
LOWpy-src/data_formulator/datalake/blob_disk_cache.py42logger = logging.getLogger(__name__)CODE
37 more matches not shown…
Deep Nesting130 hits · 100 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/data_connector.py274CODE
LOWpy-src/data_formulator/data_connector.py899CODE
LOWpy-src/data_formulator/data_connector.py1034CODE
LOWpy-src/data_formulator/data_connector.py1328CODE
LOWpy-src/data_formulator/data_connector.py1848CODE
LOWpy-src/data_formulator/data_connector.py1924CODE
LOWpy-src/data_formulator/data_connector.py2066CODE
LOWpy-src/data_formulator/data_connector.py2578CODE
LOWpy-src/data_formulator/desktop.py56CODE
LOWpy-src/data_formulator/analyst/agent.py357CODE
LOWpy-src/data_formulator/analyst/agent.py802CODE
LOWpy-src/data_formulator/analyst/agent.py937CODE
LOWpy-src/data_formulator/analyst/agent.py1472CODE
LOWpy-src/data_formulator/analyst/agent.py1925CODE
LOWpy-src/data_formulator/analyst/agent.py2113CODE
LOW…c/data_formulator/analyst/skills/data_loading/skill.py29CODE
LOW…c/data_formulator/analyst/skills/data_loading/skill.py238CODE
LOW…c/data_formulator/analyst/skills/data-loading/skill.py29CODE
LOW…c/data_formulator/analyst/skills/data-loading/skill.py238CODE
LOWpy-src/data_formulator/auth/token_store.py346CODE
LOWpy-src/data_formulator/auth/providers/__init__.py30CODE
LOWpy-src/data_formulator/data_operations/discovery.py88CODE
LOWpy-src/data_formulator/data_operations/discovery.py142CODE
LOWpy-src/data_formulator/data_operations/repository.py171CODE
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.py916CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1131CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1256CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1385CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py1468CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2197CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2250CODE
LOW…-src/data_formulator/agents/agent_data_loading_chat.py2334CODE
LOWpy-src/data_formulator/agents/client_utils.py57CODE
LOWpy-src/data_formulator/agents/client_utils.py93CODE
LOWpy-src/data_formulator/agents/client_utils.py224CODE
LOWpy-src/data_formulator/agents/client_utils.py278CODE
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.py30CODE
LOWpy-src/data_formulator/agents/context.py56CODE
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.py332CODE
LOWpy-src/data_formulator/datalake/catalog_cache.py384CODE
LOWpy-src/data_formulator/datalake/workspace_metadata.py555CODE
LOW…ta_formulator/datalake/azure_blob_workspace_manager.py117CODE
70 more matches not shown…
Hallucination Indicators5 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALpy-src/data_formulator/datalake/azure_blob_workspace.py482 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALpy-src/data_formulator/datalake/azure_blob_workspace.py622 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALpy-src/data_formulator/datalake/azure_blob_workspace.py223 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALpy-src/data_formulator/datalake/azure_blob_workspace.py674 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICAL…ta_formulator/datalake/azure_blob_workspace_manager.py78 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.py366 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.py458 Fetch data from the external source as a PyArrow Table. This is the primary method for data feSTRING
Over-Commented Block35 hits · 34 pts
SeverityFileLineSnippetContext
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/agents/semantic_types.py401# Name-based Heuristic InferenceCOMMENT
LOWpy-src/data_formulator/datalake/azure_blob_workspace.py141 root = datalake_root.strip("/")COMMENT
LOWpy-src/data_formulator/datalake/azure_blob_workspace.py161 scratch_base.mkdir(parents=True, exist_ok=True)COMMENT
LOWpy-src/data_formulator/knowledge/__init__.py1# Copyright (c) Microsoft Corporation.COMMENT
LOW…/data_formulator/data_loader/sample_datasets_loader.py61 def auth_mode() -> str: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// component="svg"COMMENT
LOWsrc/app/LayoutProvider.tsx1// ════════════════════════════════════════════════════════════════════════COMMENT
LOWsrc/app/layout.ts1// ════════════════════════════════════════════════════════════════════════COMMENT
LOWsrc/app/layout.ts241// fragile:COMMENT
LOWsrc/app/layout.ts301// them on every density change; `src/index.css` seeds the reference values soCOMMENT
LOWsrc/scss/EncodingShelf.scss141 }COMMENT
LOWsrc/components/VirtualizedCatalogTree.tsx141COMMENT
LOWsrc/views/SimpleChartRecBox.tsx221 // We just track the selections here. The agent is invoked when the LASTCOMMENT
LOWsrc/views/SimpleChartRecBox.tsx241 // breaks on binary/Excel and large files). `scratchPath` is the returnedCOMMENT
LOWsrc/views/SimpleChartRecBox.tsx261 // linear chain (table → clarify → table → explain). Set once at run start,COMMENT
LOWsrc/views/SessionDistill.tsx61 isLeafDerivedTable,COMMENT
LOWsrc/views/DataFormulator.tsx361 // not entering a session: stay on the landing page until data lands.COMMENT
LOWsrc/views/DataFormulator.tsx581 // Runs on every split-container resize, not just on discrete events:COMMENT
LOWsrc/views/DataLoadingChat.tsx1221 // Monotonic session token. Bumped on every external reset; theCOMMENT
LOWsrc/views/DataSourceSidebar.tsx461 // browsing is a focused activity; users don't need multiple trees openCOMMENT
LOWsrc/views/DataSourceSidebar.tsx2441 // scales the paper from 75% → 100%, which reads as aCOMMENT
LOWsrc/views/threadLayout.ts1// DataThread column geometry, at the reference density.COMMENT
LOWsrc/views/ChartQuickConfig.tsx221 // Encoding-action value is a configuration *override* stored inCOMMENT
LOWsrc/views/VisualizationView.tsx881 : 'min(75vh, 800px)';COMMENT
LOWsrc/views/InteractionEntryCard.tsx421 // delegate) all read as "the agent talking" — wrap them in a borderedCOMMENT
LOWsrc/views/DataThread.tsx501// A session can start with no data at all, so the first run has no table toCOMMENT
LOWsrc/views/DataThread.tsx801 // Build a flat sequence of timeline items: [trigger, table, charts, trigger, table, charts, ...]COMMENT
LOWsrc/views/DataThread.tsx821 // We compare on table IDs rather than display names: names are derivedCOMMENT
LOWsrc/views/DataThread.tsx2881 ? 2COMMENT
LOWsrc/views/KnowledgePanel.tsx261 // active workspace. When the workspace already has a distilledCOMMENT
AI Slop Vocabulary11 hits · 31 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/data_connector.py2305 # preview columns, so we keep this path lean and just return data.COMMENT
MEDIUMpy-src/data_formulator/analyst/agent.py1540 # 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
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.tsx564 title?: string, // AI-generated chart title (from the analyst's visualize action)CODE
HIGHsrc/views/SimpleChartRecBox.tsx2511 // 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.py1494 "'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.py1085 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.py458 # Create a legacy source workspace (no workspace_meta.json)COMMENT
MEDIUMtests/backend/data/test_all_loader_verification.py104 # 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.py766 # 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.py239 # 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.tsx486 // 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.py894 # Safety limit for the agentic loop. Web/scrape tasks (fetch_url -> read_fileCOMMENT
MEDIUMpy-src/data_formulator/agents/context.py405 # 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.tsx486 // 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 Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpy-src/data_formulator/analyst/agent.py357CODE
LOWpy-src/data_formulator/agents/agent_diagnostics.py59CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/data_formulator/data_loader/databricks_data_loader.py101 # TODO: implement databricks_oauth_gateway.py (Authorization Code + PKCECOMMENT