🪄 Data Formulator is an interactive AI-powered data analysis system makes it easy to connect, explore and visualize data.
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | py-src/data_formulator/agent_config.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/agent_config.py | 41 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/agent_config.py | 48 | # ── Heavy: code-gen, multi-step, tool-using ───────────────────────────── | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/agent_config.py | 55 | # ── Light: single-turn extractors / classifiers / formatters ──────────── | COMMENT |
| MEDIUM | py-src/data_formulator/error_handler.py | 51 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/error_handler.py | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/error_handler.py | 103 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/error_handler.py | 105 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/error_handler.py | 133 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/error_handler.py | 135 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/error_handler.py | 201 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/error_handler.py | 203 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/error_handler.py | 244 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/error_handler.py | 246 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/data_connector.py | 60 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/data_connector.py | 62 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/data_connector.py | 91 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/data_connector.py | 93 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/data_connector.py | 860 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/data_connector.py | 862 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/data_connector.py | 1377 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/data_connector.py | 1379 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/data_connector.py | 2202 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/data_connector.py | 2204 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/data_connector.py | 347 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/data_connector.py | 349 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/data_connector.py | 786 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/data_connector.py | 788 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/data_connector.py | 2413 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/data_connector.py | 2415 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 228 | # ------------------------------------------------------------------ | STRING |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 230 | # ------------------------------------------------------------------ | STRING |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 251 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 253 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 268 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 273 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 430 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 432 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 566 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 568 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 716 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/mini_agent.py | 718 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/analyst/agent.py | 1121 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/analyst/agent.py | 1123 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/analyst/agent.py | 1352 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/analyst/agent.py | 1354 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 85 | # ── Action-argument coercion ────────────────────────────────────────────── | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 106 | # ── Live tool-argument streaming (design-docs/36 §5) ─────────────────────── | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 267 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 269 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 337 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 339 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 359 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 361 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 494 | # ── No committing action → the run is over ──────────────── | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 579 | # ── Terminal action → the run pauses ────────────────────── | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 634 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 636 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 874 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 876 | # ------------------------------------------------------------------ | COMMENT |
| 973 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .cursor/skills/path-safety/SKILL.md | 118 | def _enforce_deployment_restrictions(): | CODE |
| LOW | py-src/data_formulator/workspace_factory.py | 30 | def _build_azure_container_client(cfg: dict): | CODE |
| LOW | py-src/data_formulator/workspace_factory.py | 78 | def _get_user_workspaces_root(identity_id: str) -> Path: | CODE |
| LOW | py-src/data_formulator/error_handler.py | 76 | def classify_and_wrap_llm_error(exc: Exception) -> AppError: | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 95 | def classify_and_raise_connector_error(error: Exception, *, operation: str = "") -> None: | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 1692 | def connector_get_catalog_tree(): | CODE |
| LOW | py-src/data_formulator/data_connector.py | 174 | def _lightweight_tree_for_response(tree: list[dict[str, Any]]) -> list[dict[str, Any]]: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 232 | def _is_sensitive_or_auth_param( | CODE |
| LOW | py-src/data_formulator/data_connector.py | 311 | def _resolve_connector_with_key(data: dict[str, Any]) -> tuple[str, "DataConnector"]: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 933 | def discover_data_loader_options(): | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1761 | def connector_get_catalog_progress(): | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1776 | def connector_get_cached_catalog_tree(): | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1833 | def connector_sync_catalog_metadata(): | CODE |
| LOW⚡ | py-src/data_formulator/analyst/agent.py | 1305 | def _build_focused_thread_context( | CODE |
| LOW⚡ | py-src/data_formulator/analyst/agent.py | 1310 | def _build_peripheral_thread_context( | CODE |
| LOW⚡ | py-src/data_formulator/analyst/agent.py | 1316 | def _build_available_charts_context( | CODE |
| LOW⚡ | py-src/data_formulator/analyst/agent.py | 1343 | def _build_lightweight_table_context( | CODE |
| LOW | py-src/data_formulator/analyst/agent.py | 92 | def _rescue_unpack_json_strings(data: dict) -> None: | CODE |
| LOW | py-src/data_formulator/analyst/agent.py | 682 | def _build_skill_body_message( | CODE |
| LOW⚡ | py-src/data_formulator/analyst/skills/core/skill.py | 291 | def _sanitize_clarification_options(cls, raw_options: Any) -> list[dict[str, Any]]: | CODE |
| LOW | py-src/data_formulator/analyst/skills/core/skill.py | 315 | def _sanitize_clarification_questions(cls, raw_questions: Any) -> list[dict[str, Any]]: | CODE |
| LOW | py-src/data_formulator/analyst/skills/core/skill.py | 346 | def _normalize_interact_action(cls, action: dict[str, Any]) -> dict[str, Any]: | CODE |
| LOW | py-src/data_formulator/analyst/skills/core/skill.py | 376 | def _normalize_delegate_action(cls, action: dict[str, Any]) -> dict[str, Any]: | CODE |
| LOW⚡ | py-src/data_formulator/analyst/skills/report/skill.py | 57 | def _strip_leaked_tool_syntax(text: str) -> str: | CODE |
| LOW | py-src/data_formulator/security/sanitize.py | 25 | def _extract_traceback_summary(message: str) -> str: | CODE |
| LOW | py-src/data_formulator/security/sanitize.py | 54 | def _structured_error_response(code: str, message: str, status_code: int): | CODE |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 22 | def field_metadata_to_semantic_types( | CODE |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 539 | def assign_aesthetic_channels(): | CODE |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 1225 | def _post_process_candlestick( | CODE |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 1581 | def _post_process_streamgraph(spec: dict, encodings: dict, config: dict | None) -> None: | CODE |
| LOW⚡ | py-src/data_formulator/workflows/chart_semantics.py | 570 | def resolve_channel_semantics( | CODE |
| LOW | py-src/data_formulator/workflows/chart_semantics.py | 184 | def _looks_like_year_integers(values: List[Any]) -> bool: | CODE |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 693 | def _build_connector_summary_block( | CODE |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 1441 | def _tool_show_user_data_preview(self, args, scratch_jail): | CODE |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 2042 | def _normalize_load_plan_candidate(self, candidate): | CODE |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 2125 | def _format_valid_sources_hint(self) -> str: | CODE |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 2158 | def _normalize_load_plan_filters(filters): | CODE |
| LOW | py-src/data_formulator/agents/client_utils.py | 169 | def _salvage_tool_calls_from_content(response, tools): | CODE |
| LOW | py-src/data_formulator/agents/client_utils.py | 285 | def _strip_images_from_messages(self, messages): | CODE |
| LOW | py-src/data_formulator/agents/client_utils.py | 298 | def _is_image_deserialize_error(self, error_text: str) -> bool: | CODE |
| LOW | py-src/data_formulator/agents/client_utils.py | 303 | def _is_reasoning_effort_error(self, error_text: str) -> bool: | CODE |
| LOW | py-src/data_formulator/agents/client_utils.py | 396 | def get_completion_with_tools(self, messages, tools, stream=False, | CODE |
| LOW | py-src/data_formulator/agents/agent_utils.py | 83 | def accumulate_reasoning_content( | CODE |
| LOW | py-src/data_formulator/agents/agent_utils.py | 109 | def _source_table_matches_catalog_entry( | CODE |
| LOW | py-src/data_formulator/agents/agent_utils.py | 124 | def build_catalog_metadata_lookups( | CODE |
| LOW | py-src/data_formulator/agents/agent_utils.py | 207 | def format_dataframe_sample_with_budget( | CODE |
| LOW | py-src/data_formulator/agents/agent_utils.py | 241 | def field_name_to_ts_variable_name(field_name): | CODE |
| LOW | py-src/data_formulator/agents/agent_utils.py | 292 | def extract_code_from_gpt_response(code_raw, language): | CODE |
| LOW | py-src/data_formulator/agents/agent_utils.py | 372 | def _fix_json_trailing_commas(s: str) -> str: | CODE |
| LOW | py-src/data_formulator/agents/agent_utils.py | 747 | def ensure_output_variable_in_code(code: str, output_variable: str) -> tuple[str, bool, str]: | CODE |
| LOW | py-src/data_formulator/agents/agent_utils_sql.py | 17 | def create_duckdb_conn_with_parquet_views(workspace, input_tables: list[dict]): | CODE |
| LOW | py-src/data_formulator/agents/context.py | 29 | def _ensure_no_auth_catalogs_cached(user_home: Any) -> None: | CODE |
| LOW⚡ | py-src/data_formulator/agents/context.py | 84 | def _get_workspace_metadata_lookups(workspace: Any) -> tuple[dict[str, str], dict[str, dict[str, str]], dict[str, str]]: | CODE |
| LOW | py-src/data_formulator/agents/context.py | 110 | def build_focused_thread_context(focused_thread: list[dict[str, Any]]) -> str: | CODE |
| LOW | py-src/data_formulator/agents/context.py | 149 | def build_peripheral_thread_context(other_threads: list[dict[str, Any]]) -> str: | CODE |
| LOW | py-src/data_formulator/agents/context.py | 166 | def build_lightweight_table_context( | CODE |
| LOW | py-src/data_formulator/agents/context.py | 301 | def handle_inspect_source_data( | CODE |
| LOW | py-src/data_formulator/agents/context.py | 366 | def handle_read_catalog_metadata( | CODE |
| LOW⚡ | py-src/data_formulator/agents/semantic_types.py | 264 | def generate_semantic_types_prompt() -> str: | CODE |
| LOW⚡ | py-src/data_formulator/agents/web_utils.py | 312 | def _configured_max_fetch_bytes() -> int: | CODE |
| 1337 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .cursor/skills/error-handling/SKILL.md | 77 | except Exception as e: | CODE |
| LOW | .cursor/skills/error-handling/SKILL.md | 117 | except Exception as e: | CODE |
| LOW | .cursor/skills/error-handling/SKILL.md | 267 | except Exception as e: | CODE |
| LOW | .cursor/skills/error-handling/SKILL.md | 285 | except Exception as e: | CODE |
| MEDIUM | .cursor/skills/error-handling/SKILL.md | 113 | def generate(): | CODE |
| MEDIUM | .cursor/skills/error-handling/SKILL.md | 263 | def my_table_op(): | CODE |
| LOW | py-src/data_formulator/_startup_spinner.py | 32 | except Exception: | CODE |
| LOW | py-src/data_formulator/app.py | 318 | except Exception: | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 855 | except Exception as e: | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 1346 | except Exception: | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 1352 | except Exception as e: | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 1362 | except Exception: | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 1369 | except Exception as e: | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 1670 | except Exception as e: | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 1679 | except Exception as e: | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 1687 | except Exception as e: | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 2197 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 321 | except Exception as exc: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 512 | except Exception as exc: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 527 | except Exception as exc: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 539 | except Exception as exc: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 550 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 618 | except Exception as exc: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 665 | except Exception as exc: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 699 | except Exception as exc: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 712 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 751 | except Exception as exc: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 962 | except Exception as exc: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1064 | except Exception as exc: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1080 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1091 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1180 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1227 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1261 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1265 | except Exception: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1315 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1328 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1481 | except Exception: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1500 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1504 | except Exception: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1535 | except Exception as exc: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1544 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1580 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1591 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1739 | except Exception: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1754 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1824 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1887 | except Exception: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1918 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1946 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 1988 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 2024 | except Exception: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 2034 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 2085 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 2120 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 2183 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 2251 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 2319 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 2347 | except Exception as e: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 2365 | except Exception as e: | CODE |
| 352 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py-src/data_formulator/_startup_spinner.py | 14 | CODE | |
| LOW | py-src/data_formulator/workspace_factory.py | 24 | CODE | |
| LOW | py-src/data_formulator/agent_config.py | 32 | CODE | |
| LOW | py-src/data_formulator/app.py | 24 | CODE | |
| LOW | py-src/data_formulator/app.py | 25 | CODE | |
| LOW | py-src/data_formulator/app.py | 26 | CODE | |
| LOW | py-src/data_formulator/app.py | 26 | CODE | |
| LOW | py-src/data_formulator/app.py | 31 | CODE | |
| LOW | py-src/data_formulator/error_handler.py | 19 | CODE | |
| LOW | py-src/data_formulator/errors.py | 15 | CODE | |
| LOW | py-src/data_formulator/analyst/tools.py | 20 | CODE | |
| LOW | py-src/data_formulator/analyst/__init__.py | 29 | CODE | |
| LOW | py-src/data_formulator/analyst/__init__.py | 29 | CODE | |
| LOW | py-src/data_formulator/analyst/__init__.py | 29 | CODE | |
| LOW | py-src/data_formulator/analyst/__init__.py | 29 | CODE | |
| LOW | py-src/data_formulator/analyst/__init__.py | 29 | CODE | |
| LOW | py-src/data_formulator/analyst/__init__.py | 29 | CODE | |
| LOW | py-src/data_formulator/analyst/__init__.py | 29 | CODE | |
| LOW | py-src/data_formulator/analyst/__init__.py | 38 | CODE | |
| LOW | py-src/data_formulator/analyst/__init__.py | 39 | CODE | |
| LOW | py-src/data_formulator/analyst/mini_agent.py | 42 | CODE | |
| LOW | py-src/data_formulator/analyst/skills/__init__.py | 23 | CODE | |
| LOW | py-src/data_formulator/analyst/skills/__init__.py | 33 | CODE | |
| LOW | py-src/data_formulator/analyst/skills/__init__.py | 33 | CODE | |
| LOW | py-src/data_formulator/analyst/skills/__init__.py | 33 | CODE | |
| LOW | py-src/data_formulator/analyst/skills/base.py | 39 | CODE | |
| LOW | py-src/data_formulator/analyst/skills/core/skill.py | 27 | CODE | |
| LOW | py-src/data_formulator/analyst/skills/report/skill.py | 31 | CODE | |
| LOW | py-src/data_formulator/security/url_allowlist.py | 38 | CODE | |
| LOW | py-src/data_formulator/security/log_sanitizer.py | 28 | CODE | |
| LOW | py-src/data_formulator/security/log_sanitizer.py | 30 | CODE | |
| LOW | py-src/data_formulator/security/path_safety.py | 14 | CODE | |
| LOW | py-src/data_formulator/security/sanitize.py | 6 | CODE | |
| LOW | py-src/data_formulator/security/sanitize.py | 11 | CODE | |
| LOW | py-src/data_formulator/auth/token_store.py | 12 | CODE | |
| LOW | py-src/data_formulator/auth/token_store.py | 17 | CODE | |
| LOW | py-src/data_formulator/auth/token_store.py | 17 | CODE | |
| LOW | py-src/data_formulator/auth/providers/oidc.py | 37 | CODE | |
| LOW | py-src/data_formulator/auth/providers/oidc.py | 51 | CODE | |
| LOW | py-src/data_formulator/auth/providers/github_oauth.py | 18 | CODE | |
| LOW | py-src/data_formulator/auth/providers/azure_easyauth.py | 17 | CODE | |
| LOW | py-src/data_formulator/auth/providers/__init__.py | 16 | CODE | |
| LOW | py-src/data_formulator/auth/providers/base.py | 10 | CODE | |
| LOW | py-src/data_formulator/auth/gateways/github_gateway.py | 12 | CODE | |
| LOW | py-src/data_formulator/auth/gateways/oidc_gateway.py | 20 | CODE | |
| LOW | py-src/data_formulator/auth/vault/__init__.py | 17 | CODE | |
| LOW | py-src/data_formulator/auth/vault/base.py | 5 | CODE | |
| LOW | py-src/data_formulator/auth/vault/local_vault.py | 12 | CODE | |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 2 | CODE | |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 9 | CODE | |
| LOW | py-src/data_formulator/workflows/chart_semantics.py | 23 | CODE | |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 16 | CODE | |
| LOW | py-src/data_formulator/agents/reasoning_log.py | 22 | CODE | |
| LOW | py-src/data_formulator/agents/__init__.py | 4 | CODE | |
| LOW | py-src/data_formulator/agents/__init__.py | 5 | CODE | |
| LOW | py-src/data_formulator/agents/__init__.py | 6 | CODE | |
| LOW | py-src/data_formulator/agents/__init__.py | 7 | CODE | |
| LOW | py-src/data_formulator/agents/agent_diagnostics.py | 11 | CODE | |
| LOW | py-src/data_formulator/agents/agent_simple.py | 14 | CODE | |
| LOW | py-src/data_formulator/agents/web_utils.py | 8 | CODE | |
| 266 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py-src/data_formulator/data_connector.py | 273 | CODE | |
| LOW | py-src/data_formulator/data_connector.py | 832 | CODE | |
| LOW | py-src/data_formulator/data_connector.py | 967 | CODE | |
| LOW | py-src/data_formulator/data_connector.py | 1147 | CODE | |
| LOW | py-src/data_formulator/data_connector.py | 1616 | CODE | |
| LOW | py-src/data_formulator/data_connector.py | 1692 | CODE | |
| LOW | py-src/data_formulator/data_connector.py | 1833 | CODE | |
| LOW | py-src/data_formulator/data_connector.py | 2343 | CODE | |
| LOW | py-src/data_formulator/analyst/mini_agent.py | 351 | CODE | |
| LOW | py-src/data_formulator/analyst/mini_agent.py | 570 | CODE | |
| LOW | py-src/data_formulator/analyst/mini_agent.py | 736 | CODE | |
| LOW | py-src/data_formulator/analyst/agent.py | 363 | CODE | |
| LOW | py-src/data_formulator/analyst/agent.py | 788 | CODE | |
| LOW | py-src/data_formulator/analyst/agent.py | 924 | CODE | |
| LOW | py-src/data_formulator/analyst/agent.py | 1429 | CODE | |
| LOW | py-src/data_formulator/analyst/agent.py | 1881 | CODE | |
| LOW | py-src/data_formulator/analyst/agent.py | 2069 | CODE | |
| LOW | py-src/data_formulator/analyst/skills/core/skill.py | 376 | CODE | |
| LOW | py-src/data_formulator/auth/token_store.py | 346 | CODE | |
| LOW | py-src/data_formulator/auth/providers/__init__.py | 30 | CODE | |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 309 | CODE | |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 610 | CODE | |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 1032 | CODE | |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 1078 | CODE | |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 1735 | CODE | |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 1855 | CODE | |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 375 | CODE | |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 426 | CODE | |
| LOW | py-src/data_formulator/workflows/chart_semantics.py | 460 | CODE | |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 822 | CODE | |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 1037 | CODE | |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 1073 | CODE | |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 1202 | CODE | |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 1280 | CODE | |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 1594 | CODE | |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 2158 | CODE | |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 2211 | CODE | |
| LOW | …-src/data_formulator/agents/agent_data_loading_chat.py | 2282 | CODE | |
| LOW | py-src/data_formulator/agents/client_utils.py | 56 | CODE | |
| LOW | py-src/data_formulator/agents/client_utils.py | 92 | CODE | |
| LOW | py-src/data_formulator/agents/client_utils.py | 223 | CODE | |
| LOW | py-src/data_formulator/agents/client_utils.py | 271 | CODE | |
| LOW | py-src/data_formulator/agents/agent_utils.py | 124 | CODE | |
| LOW | py-src/data_formulator/agents/agent_utils.py | 250 | CODE | |
| LOW | py-src/data_formulator/agents/agent_utils.py | 315 | CODE | |
| LOW | py-src/data_formulator/agents/agent_utils.py | 388 | CODE | |
| LOW | py-src/data_formulator/agents/agent_utils.py | 429 | CODE | |
| LOW | py-src/data_formulator/agents/agent_utils.py | 568 | CODE | |
| LOW | py-src/data_formulator/agents/context.py | 29 | CODE | |
| LOW | py-src/data_formulator/agents/context.py | 84 | CODE | |
| LOW | py-src/data_formulator/agents/context.py | 110 | CODE | |
| LOW | py-src/data_formulator/agents/agent_chart_restyle.py | 104 | CODE | |
| LOW | py-src/data_formulator/agents/agent_chart_restyle.py | 215 | CODE | |
| LOW | py-src/data_formulator/agents/agent_workflow_distill.py | 434 | CODE | |
| LOW | py-src/data_formulator/datalake/catalog_cache.py | 155 | CODE | |
| LOW | py-src/data_formulator/datalake/catalog_cache.py | 207 | CODE | |
| LOW | py-src/data_formulator/datalake/workspace_metadata.py | 555 | CODE | |
| LOW | …ta_formulator/datalake/azure_blob_workspace_manager.py | 116 | CODE | |
| LOW | py-src/data_formulator/datalake/workspace.py | 134 | CODE | |
| LOW | py-src/data_formulator/datalake/workspace.py | 555 | CODE | |
| 64 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py-src/data_formulator/workspace_factory.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/__init__.py | 10 | __all__ = [ | CODE |
| LOW | py-src/data_formulator/app.py | 124 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/error_handler.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | py-src/data_formulator/data_connector.py | 71 | def _set_catalog_progress(connector_id: str, message: str) -> None: | CODE |
| LOW | py-src/data_formulator/data_connector.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/analyst/tools.py | 146 | __all__ = [ | CODE |
| LOW | py-src/data_formulator/analyst/__init__.py | 41 | __all__ = [ | CODE |
| LOW | py-src/data_formulator/analyst/agent.py | 66 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/analyst/skills/__init__.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/analyst/skills/__init__.py | 371 | __all__ = [ | CODE |
| LOW | py-src/data_formulator/analyst/skills/base.py | 179 | __all__ = [ | CODE |
| LOW | py-src/data_formulator/analyst/skills/core/skill.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | py-src/data_formulator/analyst/skills/report/skill.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | py-src/data_formulator/security/url_allowlist.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | py-src/data_formulator/security/code_signing.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/security/path_safety.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/security/sanitize.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/auth/token_store.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/auth/identity.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/auth/providers/oidc.py | 53 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/auth/providers/github_oauth.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/auth/providers/azure_easyauth.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/auth/gateways/github_gateway.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/auth/gateways/oidc_gateway.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/auth/vault/__init__.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/auth/vault/local_vault.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …-src/data_formulator/agents/agent_data_loading_chat.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/agents/reasoning_log.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/agents/agent_data_load.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/agents/agent_sort_data.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | …-src/data_formulator/agents/agent_starter_questions.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/agents/__init__.py | 9 | __all__ = [ | CODE |
| LOW | py-src/data_formulator/agents/context.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | py-src/data_formulator/agents/agent_simple.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/agents/agent_chart_restyle.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/agents/agent_chart_restyle.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/agents/web_utils.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/agents/agent_code_explanation.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/agents/agent_workflow_distill.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/datalake/table_names.py | 182 | __all__ = [ | CODE |
| LOW | py-src/data_formulator/datalake/catalog_cache.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/datalake/workspace_metadata.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/datalake/azure_blob_workspace.py | 64 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | py-src/data_formulator/datalake/parquet_utils.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/datalake/naming.py | 40 | __all__ = ["safe_source_id"] | CODE |
| LOW | …ta_formulator/datalake/azure_blob_workspace_manager.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …ta_formulator/datalake/azure_blob_workspace_manager.py | 289 | def update_display_name(self, workspace_id: str, display_name: str) -> None: | CODE |
| LOW | py-src/data_formulator/datalake/__init__.py | 88 | __all__ = [ | CODE |
| LOW | py-src/data_formulator/datalake/ephemeral_workspace.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/datalake/workspace.py | 51 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/datalake/workspace_manager.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/datalake/workspace_manager.py | 417 | def update_display_name(self, workspace_id: str, display_name: str) -> None: | CODE |
| LOW | py-src/data_formulator/datalake/blob_disk_cache.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/datalake/file_manager.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/knowledge/store.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | py-src/data_formulator/sandbox/not_a_sandbox.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | py-src/data_formulator/sandbox/local_sandbox.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | py-src/data_formulator/sandbox/docker_sandbox.py | 27 | logger = logging.getLogger(__name__) | CODE |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | py-src/data_formulator/datalake/azure_blob_workspace.py | 478 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL⚡ | py-src/data_formulator/datalake/azure_blob_workspace.py | 618 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | py-src/data_formulator/datalake/azure_blob_workspace.py | 219 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | py-src/data_formulator/datalake/azure_blob_workspace.py | 670 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| CRITICAL | …ta_formulator/datalake/azure_blob_workspace_manager.py | 77 | from azure.core.exceptions import ResourceNotFoundError | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | py-src/data_formulator/workflows/create_vl_plots.py | 618 | Assemble a Vega-Lite chart specification from a dataframe, chart type, and encodings. Parameters: - df | STRING |
| HIGH | py-src/data_formulator/agents/web_utils.py | 57 | Validate a URL to prevent SSRF attacks. Performs the following checks: 1. Protocol validation (HTTP/HT | STRING |
| HIGH | py-src/data_formulator/agents/web_utils.py | 114 | Download HTML content from a given URL with SSRF protection. This function implements comprehensive SSRF p | STRING |
| HIGH | py-src/data_formulator/agents/web_utils.py | 356 | Fetch a remote resource (HTML page or data file) with SSRF protection and a size cap. Unlike ``download_html_c | STRING |
| HIGH | py-src/data_formulator/agents/web_utils.py | 485 | Render a JavaScript-heavy page with a headless browser and return the final HTML. This is an OPTIONAL fallback | STRING |
| HIGH | py-src/data_formulator/datalake/parquet_utils.py | 44 | Unicode-safe filename sanitisation for data files. Prevents path traversal by extracting the basename while preserv | STRING |
| HIGH | py-src/data_formulator/datalake/workspace.py | 534 | Get the filename for a table, suitable for use in generated code. Returns just the filename (e.g. "sal | STRING |
| HIGH | py-src/data_formulator/datalake/workspace.py | 556 | Read a table from the workspace as a pandas DataFrame. Automatically selects the appropriate reader ba | STRING |
| HIGH | py-src/data_formulator/datalake/workspace_manager.py | 344 | Open an existing workspace and return a Workspace instance. Args: workspace_id: Workspace | STRING |
| HIGH | py-src/data_formulator/datalake/file_manager.py | 208 | 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.py | 419 | Fetch data from the external source as a PyArrow Table. This is the primary method for data fe | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py-src/data_formulator/data_connector.py | 2070 | # preview columns, so we keep this path lean and just return data. | COMMENT |
| MEDIUM | py-src/data_formulator/analyst/agent.py | 1497 | # ends with exactly ONE action; the harness enforces that here. | COMMENT |
| MEDIUM | py-src/data_formulator/workflows/create_vl_plots.py | 848 | # Uses the robust convert_temporal_data which handles datetime objects, | COMMENT |
| MEDIUM⚡ | py-src/data_formulator/workflows/chart_semantics.py | 267 | # Date string detection (mirrors TS looksLikeDateString, much more robust) | COMMENT |
| MEDIUM⚡ | public/df_global_energy.json | 1 | {"tables": [{"kind": "table", "id": "global-energy-20-small.csv", "displayId": "energy-co2", "names": ["Year", "Entity", | CODE |
| MEDIUM⚡ | public/df_global_energy.json | 1 | {"tables": [{"kind": "table", "id": "global-energy-20-small.csv", "displayId": "energy-co2", "names": ["Year", "Entity", | CODE |
| MEDIUM⚡ | public/df_global_energy.json | 1 | {"tables": [{"kind": "table", "id": "global-energy-20-small.csv", "displayId": "energy-co2", "names": ["Year", "Entity", | CODE |
| MEDIUM⚡ | public/df_stock_prices_live.json | 1 | {"tables": [{"kind": "table", "id": "history", "displayId": "stock-hist", "names": ["symbol", "date", "open", "high", "l | CODE |
| MEDIUM⚡ | public/df_stock_prices_live.json | 1 | {"tables": [{"kind": "table", "id": "history", "displayId": "stock-hist", "names": ["symbol", "date", "open", "high", "l | CODE |
| MEDIUM⚡ | public/df_unemployment.json | 1 | {"tables": [{"kind": "table", "id": "unemployment-across-industries", "displayId": "unemp-by-ind", "names": ["series", " | CODE |
| MEDIUM⚡ | public/df_unemployment.json | 1 | {"tables": [{"kind": "table", "id": "unemployment-across-industries", "displayId": "unemp-by-ind", "names": ["series", " | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py-src/data_formulator/errors.py | 61 | COMMENT | |
| LOW | py-src/data_formulator/data_connector.py | 761 | return loader | COMMENT |
| LOW | py-src/data_formulator/analyst/agent.py | 321 | COMMENT | |
| LOW | py-src/data_formulator/security/__init__.py | 1 | # Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | py-src/data_formulator/auth/__init__.py | 1 | # Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | py-src/data_formulator/auth/gateways/__init__.py | 1 | # Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | py-src/data_formulator/datalake/azure_blob_workspace.py | 141 | # (e.g. sandbox) may reference them, so we set them to None rather | COMMENT |
| LOW | py-src/data_formulator/datalake/azure_blob_workspace.py | 161 | # (inherited from :class:`Workspace`, returns ``self._confined_root``) | COMMENT |
| LOW | py-src/data_formulator/knowledge/__init__.py | 1 | # Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | …rc/data_formulator/data_loader/external_data_loader.py | 721 | of segments (e.g. ``["public", "users"]``). When present, | COMMENT |
| LOW | py-src/data_formulator/routes/__init__.py | 1 | # Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | docs/docs-cn/config-examples/superset/oauth_config.py | 421 | }, | COMMENT |
| LOW | src/icons.tsx | 161 | // sx={{ | COMMENT |
| LOW | src/app/dfSlice.tsx | 1761 | ...action.payload, | COMMENT |
| LOW | src/scss/EncodingShelf.scss | 161 | } | COMMENT |
| LOW | src/components/VirtualizedCatalogTree.tsx | 141 | // - Table leaf: TableIcon. | COMMENT |
| LOW | src/views/SimpleChartRecBox.tsx | 181 | const [chatPrompt, setChatPrompt] = useState(""); | COMMENT |
| LOW | src/views/SimpleChartRecBox.tsx | 1221 | // card. Shares the 'clarifying' status / pending-clarification | COMMENT |
| LOW | src/views/SessionDistill.tsx | 61 | isLeafDerivedTable, | COMMENT |
| LOW | src/views/ChartVariantStrip.tsx | 1 | // Copyright (c) Microsoft Corporation. | COMMENT |
| LOW | src/views/DataLoadingChat.tsx | 941 | // has moved on (i.e. the user reset / restarted the chat mid-stream). | COMMENT |
| LOW | src/views/DataLoadingChat.tsx | 1361 | } | COMMENT |
| LOW | src/views/DataSourceSidebar.tsx | 1021 | } | COMMENT |
| LOW | src/views/InteractionEntryCard.tsx | 341 | const isCollapsible = hasPlan || !!collapsedLabel || canClampText; | COMMENT |
| LOW | src/views/InteractionEntryCard.tsx | 361 | || entry.role === 'summary'; | COMMENT |
| LOW | src/views/DataThread.tsx | 1181 | type TimelineItem = { key: string; element: React.ReactNode; type: 'used-table' | 'trigger' | 'table' | 'chart' | 'l | COMMENT |
| LOW | src/views/DataThread.tsx | 2581 | const K = Math.max(1, Math.round(threadItems[li] / budget)); | COMMENT |
| LOW | src/views/DataThread.tsx | 2921 | // Its height is governed by the parent Allotment pane and stays constant | COMMENT |
| LOW | src/views/DataThread.tsx | 3061 | const visibleBottom = containerRect.bottom - BOTTOM_MARGIN; | COMMENT |
| LOW | src/views/DataThread.tsx | 3141 | COMMENT | |
| LOW | src/views/KnowledgePanel.tsx | 201 | }, [deleteTarget, store]); | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/backend/benchmarks/benchmark_sandbox.py | 26 | # Realistic Data Formulator code snippets (typical AI-generated transforms) | COMMENT |
| HIGH | src/components/ComponentType.tsx | 420 | title?: string, // AI-generated chart title (from the analyst's visualize action) | CODE |
| HIGH | src/views/SimpleChartRecBox.tsx | 1974 | // When a root table is focused, show a muted row of AI-generated starter | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …-src/data_formulator/agents/agent_data_loading_chat.py | 1306 | "'uv pip install playwright && python -m playwright install chromium', " | CODE |
| HIGH | py-src/data_formulator/agents/web_utils.py | 516 | "'uv pip install playwright && python -m playwright install chromium'." | CODE |
| HIGH⚡ | py-src/data_formulator/agents/web_utils.py | 491 | uv pip install playwright && python -m playwright install chromium | STRING |
| HIGH | py-src/data_formulator/routes/agents.py | 896 | raw = raw.replace(': NaN,', ': null,').replace(': NaN}', ': null}').replace(':NaN,', ':null,').replace(' | CODE |
| HIGH⚡ | tests/backend/agents/test_agent_diagnostics.py | 222 | """The front-end currently does JSON.stringify(diagnostics, null, 2) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | py-src/data_formulator/agents/web_utils.py | 163 | # Create a custom adapter to hook into redirect handling | COMMENT |
| MEDIUM | tests/backend/benchmarks/benchmark_sandbox.py | 195 | # Create a temporary workspace directory | COMMENT |
| MEDIUM⚡ | tests/backend/data/test_workspace_manager.py | 451 | # Create a legacy source workspace (no workspace_meta.json) | COMMENT |
| MEDIUM⚡ | tests/backend/data/test_all_loader_verification.py | 103 | # Create a minimal stub that has params but doesn't connect | COMMENT |
| MEDIUM | tests/database-dockers/docker-compose.test.yml | 3 | # This file is intentionally additive: existing per-service docker-compose.yml | COMMENT |
| MEDIUM | tests/database-dockers/superset/init-superset.sh | 4 | # This file is kept as a reference if you need to customize init further. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/data_formulator/data_loader/sample_datasets_loader.py | 0 | read the file into duckdb and compute the spjq there. | STRING |
| HIGH | …ata_formulator/data_loader/local_folder_data_loader.py | 0 | read the file into duckdb and compute the spjq there. | STRING |
| HIGH | py-src/data_formulator/data_loader/s3_data_loader.py | 0 | read the file into duckdb and compute the spjq there. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 101 | # Check if values look like 4-digit years (1000-2999). | COMMENT |
| LOW | py-src/data_formulator/workflows/create_vl_plots.py | 107 | # Check if it looks like a discrete categorical variable | COMMENT |
| LOW | py-src/data_formulator/agents/agent_utils.py | 763 | # Check if output_variable appears as an assignment target (= but not ==, !=, <=, >=) | COMMENT |
| LOW | py-src/data_formulator/agents/web_utils.py | 29 | # Check if IP is private, loopback, link-local, multicast, reserved, or unspecified | COMMENT |
| LOW | py-src/data_formulator/agents/web_utils.py | 100 | # Check if this resolved IP is private/internal | COMMENT |
| LOW | py-src/data_formulator/datalake/file_manager.py | 256 | # Write the file | COMMENT |
| LOW | py-src/data_formulator/data_loader/kusto_data_loader.py | 155 | # Check if values look like datetime strings or timestamp numbers | COMMENT |
| LOW | tests/database-dockers/cosmosdb/test_cosmosdb_loader.py | 52 | # Check if the database exists (seed_data.py must have run) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CODESPACES.md | 7 | ### Step 1: Create a Codespace (~5 minutes) | COMMENT |
| LOW | CODESPACES.md | 15 | ### Step 2: Run the app | COMMENT |
| LOW | src/app/utils.tsx | 503 | // Step 2: Group by and aggregate | COMMENT |
| LOW | src/views/SessionDistill.tsx | 230 | // Step 1: drop tool_call events. | COMMENT |
| LOW | src/views/SessionDistill.tsx | 243 | // Step 2: shrink each create_table.sample_rows to 1 row. | COMMENT |
| LOW | src/views/SessionDistill.tsx | 260 | // Step 3: drop oldest threads (first in render order). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …-src/data_formulator/agents/agent_data_loading_chat.py | 800 | # Safety limit for the agentic loop. Web/scrape tasks (fetch_url -> read_file | COMMENT |
| MEDIUM | py-src/data_formulator/agents/context.py | 413 | # agentic, design 37 §3.6). | COMMENT |
| MEDIUM | docs/dev-guides/12-sandbox-session.md | 56 | ### 在非 agentic 场景中(传统方式,不受影响) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/backend/auth/test_credential_vault.py | 140 | "username": "user@example.com", | CODE |
| LOW⚡ | tests/backend/data/test_superset_smart_filter.py | 206 | sl._access_token = "fake-token" | CODE |
| LOW⚡ | tests/backend/data/test_superset_smart_filter.py | 210 | sl._ensure_token = MagicMock(return_value="fake-token") | CODE |
| LOW | tests/backend/data/test_superset_catalog_sync.py | 36 | # Bypass JWT expiry check — "fake-token" is not a real JWT | COMMENT |
| LOW | tests/backend/data/test_superset_catalog_sync.py | 28 | loader._access_token = "fake-token" | CODE |
| LOW | src/i18n/locales/zh/upload.json | 23 | "placeholder": { | CODE |
| LOW | src/i18n/locales/zh/dataLoading.json | 19 | "placeholder": "描述要提取、上传或生成的数据...", | CODE |
| LOW | src/i18n/locales/en/upload.json | 23 | "placeholder": { | CODE |
| LOW | src/i18n/locales/en/dataLoading.json | 19 | "placeholder": "Describe data to extract, upload, or generate...", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/database-dockers/bigquery/start.sh | 4 | # Usage: | COMMENT |
| LOW | tests/database-dockers/mongodb/start.sh | 4 | # Usage: | COMMENT |
| LOW | tests/database-dockers/postgres/start.sh | 4 | # Usage: | COMMENT |
| LOW | tests/database-dockers/cosmosdb/start.sh | 4 | # Usage: | COMMENT |
| LOW | tests/database-dockers/mysql/start.sh | 4 | # Usage: | COMMENT |
| LOW | tests/database-dockers/superset/start.sh | 4 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | public/df_global_energy.json | 1 | {"tables": [{"kind": "table", "id": "global-energy-20-small.csv", "displayId": "energy-co2", "names": ["Year", "Entity", | CODE |
| MEDIUM⚡ | public/df_stock_prices_live.json | 1 | {"tables": [{"kind": "table", "id": "history", "displayId": "stock-hist", "names": ["symbol", "date", "open", "high", "l | CODE |
| MEDIUM⚡ | public/df_unemployment.json | 1 | {"tables": [{"kind": "table", "id": "unemployment-across-industries", "displayId": "unemp-by-ind", "names": ["series", " | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/app/utils.tsx | 503 | // Step 2: Group by and aggregate | COMMENT |
| LOW | src/views/SessionDistill.tsx | 230 | // Step 1: drop tool_call events. | COMMENT |
| LOW | src/views/SessionDistill.tsx | 243 | // Step 2: shrink each create_table.sample_rows to 1 row. | COMMENT |
| LOW | src/views/SessionDistill.tsx | 260 | // Step 3: drop oldest threads (first in render order). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/database-dockers/mongodb/init_data.js | 65 | print("Test database initialized: products(12), customers(10), orders(10), app_settings(4)"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py-src/data_formulator/agents/agent_diagnostics.py | 59 | CODE |