AI Slop Code RIsk Monitor

mage-ai/mage-ai

🧙 Build, run, and manage data pipelines for integrating and transforming data.

12.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for mage-ai/mage-ai, a Python project with 8,827 GitHub stars. SynthScan examined 556,116 lines of code across 5092 source files, recording 4529 pattern matches distributed across 27 syntactic categories. The legacy adjusted pattern signal is 12.2 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

12.2
Adjusted Signal
12.2
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
8.8K
Stars
Python
Language
556.1K
Lines of Code
5.1K
Files
4.5K
Pattern Hits
2026-10-12
Scan Date
0.09
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 25.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 2987 finding(s).

Hallucinated Dependency & Supply Chain Risk 5.9/100 · LOW

Are imports declared and package/API names verified? 420 finding(s).

Agent Over-Engineering Ratio 35.0/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 3028 finding(s).

PR Review Velocity Impact 48.5/100 · MEDIUM

Which changes need focused human review? 4529 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 11HIGH 442MEDIUM 273LOW 3803

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 4529 distinct pattern matches across 27 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers1753 hits · 1738 pts
SeverityFileLineSnippetContext
LOWmage_ai/settings/server.py79def is_disable_pipeline_edit_access(CODE
LOWmage_ai/settings/repo.py30def base_repo_path_directory_name() -> str:CODE
LOW⚡mage_ai/settings/platform/constants.py10def platform_settings_full_path() -> str:CODE
LOW⚡mage_ai/settings/platform/constants.py14def set_project_platform_activated_flag():CODE
LOW⚡mage_ai/settings/platform/constants.py24def project_platform_activated() -> bool:CODE
LOW⚡mage_ai/settings/platform/constants.py28def user_project_platform_activated() -> bool:CODE
LOWmage_ai/settings/platform/__init__.py69def build_repo_path_for_all_projects(CODE
LOWmage_ai/settings/platform/__init__.py100def repo_path_from_database_query_to_project_repo_path(CODE
LOWmage_ai/settings/platform/__init__.py139def get_repo_paths_for_file_path(CODE
LOWmage_ai/settings/platform/__init__.py215def build_active_project_repo_path(CODE
LOWmage_ai/settings/platform/__init__.py370def project_platform_settings(CODE
LOWmage_ai/settings/platform/__init__.py417def __combined_platform_settings(repo_path: str = None, mage_projects_only: bool = False) -> Dict:CODE
LOWmage_ai/settings/platform/__init__.py460def __get_projects_of_any_type() -> Dict:CODE
LOWmage_ai/settings/platform/__init__.py534def local_platform_settings_full_path(repo_path: str = None) -> str:CODE
LOWmage_ai/settings/platform/__init__.py541def __local_platform_settings(repo_path: str = None) -> Dict:CODE
LOWmage_ai/settings/platform/__init__.py560def __update_local_platform_settings(CODE
LOWmage_ai/settings/platform/utils.py17def get_pipeline_from_platform(CODE
LOWmage_ai/settings/platform/utils.py49async def get_pipeline_from_platform_async(CODE
LOWmage_ai/settings/platform/utils.py142def full_paths_for_all_projects(CODE
LOWmage_ai/kernels/magic/kernels/models.py137 async def __cleanup_resources_async(self) -> None:CODE
LOWmage_ai/kernels/magic/threads/reader.py11def read_queue_and_forward_results(read_queue: Queue, write_queue: FasterQueue, stop_event: Event):CODE
LOWmage_ai/kernels/magic/queues/manager.py24def get_execution_result_queue(uuid: Optional[str] = None) -> FasterQueue:CODE
LOWmage_ai/kernels/magic/queues/manager.py34async def get_execution_result_queue_async() -> Dict[str, FasterQueue]:CODE
LOW⚡mage_ai/kernels/default/utils.py28def is_cmdline_contains_ipykernel(cmdline, search_term='ipykernel_launcher'):CODE
LOW⚡mage_ai/kernels/default/utils.py35async def find_ipykernel_launchers_info_async(timeout: int = 5) -> List[Dict]:CODE
LOWmage_ai/kernels/default/utils.py48def find_ipykernel_launchers_info(check_active_status: bool = False) -> List[Dict]:CODE
LOWmage_ai/autocomplete/utils.py84async def extract_classes_from_file(file_path: str, cwd: str = None, mode: str = 'r'):CODE
LOWmage_ai/autocomplete/utils.py125async def build_file_content_mapping(paths, files):CODE
LOWmage_ai/cache/file.py36 def initialize_cache_with_settings(self, replace: bool = False) -> "FileCache":CODE
LOWmage_ai/cache/pipeline.py162 async def initialize_cache_for_models(self, pipelines: List[Dict] = None) -> None:CODE
LOWmage_ai/cache/block.py101 def get_pipeline_count_mapping(self) -> Dict:CODE
LOWmage_ai/cache/block.py240 async def initialize_cache_for_all_pipelines(CODE
LOWmage_ai/cache/tag.py28 def get_pipeline_uuids_with_tags(self, tags: List):CODE
LOWmage_ai/cache/tag.py39 def get_all_pipeline_uuids_with_tags(self):CODE
LOWmage_ai/cache/tag.py152 async def initialize_cache_for_all_objects(self) -> None:CODE
LOWmage_ai/cache/dbt/cache.py63 async def initialize_cache_for_models_async(CODE
LOWmage_ai/cache/dbt/cache.py78 def initialize_cache_for_models(CODE
LOWmage_ai/cache/dbt/utils.py17def absolute_project_file_path(relative_project_path: str) -> str:CODE
LOWmage_ai/cache/dbt/utils.py164def get_project_path_from_file_path(CODE
LOWmage_ai/cache/block_action_object/__init__.py47def parse_block_file_absolute_path(block_file_absolute_path: str) -> Dict:CODE
LOWmage_ai/cache/block_action_object/__init__.py112 def build_key_for_custom_block_template(CODE
LOWmage_ai/cache/block_action_object/__init__.py135 def build_key_for_mage_template(self, block_action_object: Dict) -> str:CODE
LOWmage_ai/cache/block_action_object/__init__.py216 def update_custom_block_template(CODE
LOWmage_ai/cache/block_action_object/__init__.py240 async def initialize_cache_for_all_objects(self, project=None) -> None:CODE
LOWmage_ai/frontend/oracle/components/Calendar/utils.ts5export function getDateAndTimeObjFromDatetimeString(CODE
LOWmage_ai/frontend/tests/pages.spec.ts4 async function navigateToAndWaitTilLoaded(name: string) {CODE
LOWmage_ai/frontend/utils/useAutoResizer.ts122 function observeThenResizeElements(resizeElements?: ResizableElements) {CODE
LOWmage_ai/frontend/utils/date.ts223export function dateFromFromUnixTimestamp(CODE
LOWmage_ai/frontend/utils/date.ts236export function dateFormatLongFromUnixTimestamp(text, opts: { withSeconds?: boolean } = {}) {CODE
LOWmage_ai/frontend/utils/date.ts240export function isoDateFormatFromDateParts(CODE
LOWmage_ai/frontend/utils/date.ts263export function getDatePartsFromUnixTimestamp(timestamp: string | number): {CODE
LOWmage_ai/frontend/utils/date.ts299export function getStartDateStringFromPeriod(CODE
LOWmage_ai/frontend/utils/date.ts331export function getDayRangeForCurrentMonth() {CODE
LOWmage_ai/frontend/utils/date.ts344export function convertToMillisecondsTimestamp(value: number): number {CODE
LOWmage_ai/frontend/utils/array.ts117export function sortTuplesArrayByFirstItem(arr, opts: any = {}) {CODE
LOWmage_ai/frontend/utils/string.ts169export function capitalizeRemoveUnderscoreLower(word = '') {CODE
LOWmage_ai/frontend/utils/string.ts173export function lowercaseRemoveUnderscore(word = '') {CODE
LOWmage_ai/frontend/utils/string.ts210export function camelCaseToNormalWithSpaces(camelCaseString: string): string {CODE
LOWmage_ai/frontend/utils/string.ts297export function changeDecimalToWholeNumber(number, floatingPoints = 2) {CODE
LOWmage_ai/frontend/utils/string.ts314export function randomSimpleHashGenerator() {CODE
1693 more matches not shown…
Empty Error Handlers199 hits · 942 pts
SeverityFileLineSnippetContext
HIGHmage_ai/settings/repo.py222except Exception:CODE
HIGHmage_ai/settings/platform/__init__.py186except ValueError:CODE
HIGHmage_ai/settings/platform/__init__.py203except ValueError:CODE
HIGHmage_ai/settings/models/configuration_option.py114except ValueError:CODE
HIGHmage_ai/kernels/models.py80except Exception:CODE
HIGHmage_ai/kernels/magic/kernels/models.py170except Empty:CODE
HIGHmage_ai/kernels/magic/kernels/models.py182except Empty:CODE
HIGHmage_ai/kernels/magic/threads/reader.py32except Empty:CODE
HIGHmage_ai/kernels/default/models.py88except Exception:CODE
HIGHmage_ai/kernels/default/utils.py64except (psutil.NoSuchProcess, psutil.AccessDenied, psutil.ZombieProcess):CODE
HIGHmage_ai/io/mssql.py277except AttributeError:CODE
HIGHmage_ai/io/mssql.py284except AttributeError:CODE
HIGHmage_ai/io/bigquery.py497except Exception:CODE
HIGHmage_ai/io/oracledb.py150except AttributeError:CODE
HIGHmage_ai/io/oracledb.py157except AttributeError:CODE
HIGHmage_ai/io/postgres.py257except AttributeError:CODE
HIGHmage_ai/io/postgres.py264except AttributeError:CODE
HIGHmage_ai/io/duckdb.py107except AttributeError:CODE
HIGHmage_ai/io/duckdb.py114except AttributeError:CODE
HIGHmage_ai/io/mysql.py189except AttributeError:CODE
HIGHmage_ai/io/mysql.py196except AttributeError:CODE
HIGHmage_ai/tests/base_test.py83except Exception:CODE
HIGHmage_ai/tests/base_test.py122except Exception:CODE
HIGHmage_ai/tests/settings/test_platform.py72except Exception:CODE
HIGHmage_ai/tests/settings/test_platform.py76except Exception:CODE
HIGH…data_preparation/test_repo_manager_project_platform.py59except Exception:CODE
HIGH…data_preparation/test_repo_manager_project_platform.py66except Exception:CODE
HIGHmage_ai/tests/data_preparation/models/test_file.py59except FileNotFoundError:CODE
HIGHmage_ai/tests/data_preparation/models/test_file.py63except FileNotFoundError:CODE
HIGH…/tests/data_preparation/storage/shared/test_secrets.py116except Exception:CODE
HIGHmage_ai/tests/shared/mixins.py410except Exception:CODE
HIGHmage_ai/tests/shared/mixins.py414except Exception:CODE
HIGHmage_ai/tests/api/resources/test_base_resource.py195except Exception:CODE
HIGHmage_ai/tests/api/resources/test_base_resource.py234except Exception:CODE
HIGHmage_ai/tests/api/resources/test_base_resource.py120except Exception:CODE
HIGHmage_ai/data_preparation/repo_manager.py122except Exception:CODE
HIGHmage_ai/data_preparation/shared/utils.py28except Exception:CODE
HIGHmage_ai/data_preparation/shared/utils.py34except Exception:CODE
HIGHmage_ai/data_preparation/shared/secrets.py152except InvalidToken:CODE
HIGHmage_ai/data_preparation/shared/secrets.py182except InvalidToken:CODE
HIGHmage_ai/data_preparation/shared/secrets.py198except InvalidToken:CODE
HIGHmage_ai/data_preparation/models/variable.py1608except ValueError:CODE
HIGHmage_ai/data_preparation/models/variable.py1012except Exception:CODE
HIGHmage_ai/data_preparation/models/variable.py1052except Exception:CODE
HIGHmage_ai/data_preparation/models/variable.py1393except Exception:CODE
HIGHmage_ai/data_preparation/models/variable.py1316except Exception:CODE
HIGHmage_ai/data_preparation/models/pipeline.py875except Exception:CODE
HIGHmage_ai/data_preparation/models/pipeline.py728except Exception:CODE
HIGH…a_preparation/models/pipelines/integration_pipeline.py280except json.decoder.JSONDecodeError:CODE
HIGHmage_ai/data_preparation/models/project/__init__.py88except Exception:CODE
HIGHmage_ai/data_preparation/models/block/utils.py331except Exception:CODE
HIGHmage_ai/data_preparation/models/block/outputs.py328except ValueError:CODE
HIGHmage_ai/data_preparation/models/block/dbt/block_sql.py108except ValueError:CODE
HIGHmage_ai/data_preparation/models/block/dbt/block_sql.py116except ValueError:CODE
HIGHmage_ai/data_preparation/models/block/dbt/block_yaml.py146except Exception:CODE
HIGHmage_ai/data_preparation/models/block/dbt/block.py264except FileNotFoundError:CODE
HIGH…/data_preparation/models/block/integration/__init__.py325except json.decoder.JSONDecodeError:CODE
HIGHmage_ai/data_preparation/models/block/platform/utils.py104except ValueError:CODE
HIGH…ata_preparation/models/block/data_integration/utils.py1499except json.decoder.JSONDecodeError:CODE
HIGH…ata_preparation/models/block/data_integration/utils.py357except json.JSONDecodeError:CODE
139 more matches not shown…
Cross-File Repetition185 hits · 925 pts
SeverityFileLineSnippetContext
HIGH…/monaco-editor/min/vs/basic-languages/python/python.js0/,"string","@popall"],[/'/,"string"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/STRING
HIGH…tend_dist/_next/static/chunks/8864.7850fff7eb0aacd7.js0/,"string","@popall"],[/'/,"string"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/STRING
HIGH…/monaco-editor/min/vs/basic-languages/python/python.js0/,"string","@popall"],[/'/,"string"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/STRING
HIGH…_template/_next/static/chunks/8864.7850fff7eb0aacd7.js0/,"string","@popall"],[/'/,"string"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/STRING
HIGH…/monaco-editor/min/vs/basic-languages/python/python.js0/,"string","@popall"],[/'/,"string"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"string.delimiter",next:"@doublequotedheredoc"}],[/STRING
HIGH…tend_dist/_next/static/chunks/7682.a7f192e7f7048fe9.js0/,{token:"string.delimiter",next:"@doublequotedheredoc"}],[/STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"string.delimiter",next:"@doublequotedheredoc"}],[/STRING
HIGH…_template/_next/static/chunks/7682.a7f192e7f7048fe9.js0/,{token:"string.delimiter",next:"@doublequotedheredoc"}],[/STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"string.delimiter",next:"@doublequotedheredoc"}],[/STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"string.delimiter",next:"@pop"}],{include:"@stringcontentinterpol"}],singlequotedheredoc:[[/STRING
HIGH…tend_dist/_next/static/chunks/7682.a7f192e7f7048fe9.js0/,{token:"string.delimiter",next:"@pop"}],{include:"@stringcontentinterpol"}],singlequotedheredoc:[[/STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"string.delimiter",next:"@pop"}],{include:"@stringcontentinterpol"}],singlequotedheredoc:[[/STRING
HIGH…_template/_next/static/chunks/7682.a7f192e7f7048fe9.js0/,{token:"string.delimiter",next:"@pop"}],{include:"@stringcontentinterpol"}],singlequotedheredoc:[[/STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"string.delimiter",next:"@pop"}],{include:"@stringcontentinterpol"}],singlequotedheredoc:[[/STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"comment.block.documentation",next:"@doublequotedheredocdocstring"}],[/\@(module|type)?doc (~[ss])?STRING
HIGH…tend_dist/_next/static/chunks/7682.a7f192e7f7048fe9.js0/,{token:"comment.block.documentation",next:"@doublequotedheredocdocstring"}],[/\@(module|type)?doc (~[ss])?STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"comment.block.documentation",next:"@doublequotedheredocdocstring"}],[/\@(module|type)?doc (~[ss])?STRING
HIGH…_template/_next/static/chunks/7682.a7f192e7f7048fe9.js0/,{token:"comment.block.documentation",next:"@doublequotedheredocdocstring"}],[/\@(module|type)?doc (~[ss])?STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"comment.block.documentation",next:"@doublequotedheredocdocstring"}],[/\@(module|type)?doc (~[ss])?STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringcontent"}],singlequotedheredocdocstring:[[/STRING
HIGH…tend_dist/_next/static/chunks/7682.a7f192e7f7048fe9.js0/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringcontent"}],singlequotedheredocdocstring:[[/STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringcontent"}],singlequotedheredocdocstring:[[/STRING
HIGH…_template/_next/static/chunks/7682.a7f192e7f7048fe9.js0/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringcontent"}],singlequotedheredocdocstring:[[/STRING
HIGH…/monaco-editor/min/vs/basic-languages/elixir/elixir.js0/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringcontent"}],singlequotedheredocdocstring:[[/STRING
HIGH…blic/monaco-editor/min/vs/basic-languages/java/java.js0/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape",STRING
HIGH…tend_dist/_next/static/chunks/6023.43a9147a8746404e.js0/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape",STRING
HIGH…dist/monaco-editor/min/vs/basic-languages/java/java.js0/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape",STRING
HIGH…_template/_next/static/chunks/6023.43a9147a8746404e.js0/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape",STRING
HIGH…late/monaco-editor/min/vs/basic-languages/java/java.js0/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape",STRING
HIGH…/monaco-editor/min/vs/basic-languages/kotlin/kotlin.js0/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape",STRING
HIGH…tend_dist/_next/static/chunks/9539.964eb50deb1bc7f9.js0/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape",STRING
HIGH…/monaco-editor/min/vs/basic-languages/kotlin/kotlin.js0/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape",STRING
HIGH…_template/_next/static/chunks/9539.964eb50deb1bc7f9.js0/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape",STRING
HIGH…/monaco-editor/min/vs/basic-languages/kotlin/kotlin.js0/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape",STRING
HIGH…ic/monaco-editor/min/vs/basic-languages/scala/scala.js0/,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@rawsSTRING
HIGH…tend_dist/_next/static/chunks/3568.2846268cea131344.js0/,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@rawsSTRING
HIGH…st/monaco-editor/min/vs/basic-languages/scala/scala.js0/,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@rawsSTRING
HIGH…_template/_next/static/chunks/3568.2846268cea131344.js0/,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@rawsSTRING
HIGH…te/monaco-editor/min/vs/basic-languages/scala/scala.js0/,{token:"string.quote",bracket:"@open",next:"@rawstringt"}],[/\braw"/,{token:"string.quote",bracket:"@open",next:"@rawsSTRING
HIGH…ic/monaco-editor/min/vs/basic-languages/scala/scala.js0"/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstringSTRING
HIGH…tend_dist/_next/static/chunks/3568.2846268cea131344.js0"/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstringSTRING
HIGH…st/monaco-editor/min/vs/basic-languages/scala/scala.js0"/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstringSTRING
HIGH…_template/_next/static/chunks/3568.2846268cea131344.js0"/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstringSTRING
HIGH…te/monaco-editor/min/vs/basic-languages/scala/scala.js0"/,{token:"string.quote",bracket:"@open",next:"@fstringt"}],[/\bf"/,{token:"string.quote",bracket:"@open",next:"@fstringSTRING
HIGH…ic/monaco-editor/min/vs/basic-languages/swift/swift.js0/,"string.quote","@enddbldocstring"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/STRING
HIGH…tend_dist/_next/static/chunks/8921.8948fb1d14fa5d4a.js0/,"string.quote","@enddbldocstring"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/STRING
HIGH…st/monaco-editor/min/vs/basic-languages/swift/swift.js0/,"string.quote","@enddbldocstring"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/STRING
HIGH…_template/_next/static/chunks/8921.8948fb1d14fa5d4a.js0/,"string.quote","@enddbldocstring"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/STRING
HIGH…te/monaco-editor/min/vs/basic-languages/swift/swift.js0/,"string.quote","@enddbldocstring"]],enddbldocstring:[[/[^"]+/,"string"],[/\\"/,"string"],[/STRING
HIGH…onaco-editor/min/vs/basic-languages/graphql/graphql.js0/,{token:"string",next:"@mlstring",nextembedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quSTRING
HIGH…tend_dist/_next/static/chunks/8834.2c9736273be09191.js0/,{token:"string",next:"@mlstring",nextembedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quSTRING
HIGH…onaco-editor/min/vs/basic-languages/graphql/graphql.js0/,{token:"string",next:"@mlstring",nextembedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quSTRING
HIGH…_template/_next/static/chunks/8834.2c9736273be09191.js0/,{token:"string",next:"@mlstring",nextembedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quSTRING
HIGH…onaco-editor/min/vs/basic-languages/graphql/graphql.js0/,{token:"string",next:"@mlstring",nextembedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quSTRING
HIGH…ic/monaco-editor/min/vs/basic-languages/julia/julia.js0/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/rawSTRING
HIGH…tend_dist/_next/static/chunks/1793.92253d9ee5bda191.js0/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/rawSTRING
HIGH…st/monaco-editor/min/vs/basic-languages/julia/julia.js0/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/rawSTRING
HIGH…_template/_next/static/chunks/1793.92253d9ee5bda191.js0/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/rawSTRING
HIGH…te/monaco-editor/min/vs/basic-languages/julia/julia.js0/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/rawSTRING
125 more matches not shown…
Excessive Try-Catch Wrapping567 hits · 613 pts
SeverityFileLineSnippetContext
LOW⚡mage_ai/settings/server.py30 except Exception:CODE
LOWmage_ai/settings/repo.py222 except Exception:CODE
LOWmage_ai/settings/models/configuration_option.py31 except Exception as err:CODE
LOWmage_ai/kernels/models.py80 except Exception:CODE
MEDIUMmage_ai/kernels/models.py65def prepare_usage(self):CODE
LOWmage_ai/kernels/magic/execution.py146 except Exception as err:CODE
LOWmage_ai/kernels/magic/process.py46 except Exception as err:CODE
LOWmage_ai/kernels/magic/kernels/models.py84 except Exception as e:CODE
LOWmage_ai/kernels/magic/kernels/manager.py85 except Exception as e:CODE
LOWmage_ai/kernels/magic/threads/reader.py34 except Exception as err:CODE
LOWmage_ai/kernels/default/models.py88 except Exception:CODE
MEDIUMmage_ai/kernels/default/models.py73def prepare_usage(self):CODE
LOW⚡mage_ai/kernels/default/utils.py24 except Exception as e:CODE
LOWmage_ai/kernels/default/utils.py149 except Exception as e:CODE
LOWmage_ai/cache/mem_lru.py71 except Exception:CODE
LOWmage_ai/cache/mem_lru.py106 except Exception:CODE
LOWmage_ai/cache/file.py89 except Exception as err:CODE
LOWmage_ai/cache/block.py73 except Exception:CODE
LOWmage_ai/cache/dbt/utils.py72 except Exception as err:CODE
LOWmage_ai/cache/dbt/utils.py123 except Exception as err:CODE
LOWmage_ai/io/redshift.py127 except Exception as e:CODE
LOWmage_ai/io/redshift.py272 except Exception as e:CODE
LOWmage_ai/io/bigquery.py408 except Exception:STRING
LOWmage_ai/io/bigquery.py422 except Exception:STRING
LOWmage_ai/io/bigquery.py424 except Exception:STRING
LOWmage_ai/io/bigquery.py497 except Exception:STRING
LOWmage_ai/io/oracledb.py134 except Exception as exc:STRING
LOWmage_ai/io/weaviate.py98 except Exception:CODE
LOWmage_ai/io/weaviate.py122 except Exception:CODE
LOWmage_ai/io/algolia.py62 except Exception as e:CODE
LOWmage_ai/io/algolia.py91 except Exception as e:CODE
LOWmage_ai/io/postgres.py164 except Exception:CODE
LOWmage_ai/io/spark.py21 except Exception:CODE
LOWmage_ai/tests/base_test.py83 except Exception:CODE
LOWmage_ai/tests/base_test.py122 except Exception:CODE
MEDIUMmage_ai/tests/base_test.py79def tearDownClass(self):CODE
MEDIUMmage_ai/tests/base_test.py118def tearDownClass(self):CODE
LOWmage_ai/tests/factory.py38 except Exception as err:CODE
LOWmage_ai/tests/settings/test_platform.py72 except Exception:CODE
LOWmage_ai/tests/settings/test_platform.py76 except Exception:CODE
MEDIUMmage_ai/tests/settings/test_platform.py69def tearDown(self):CODE
LOWmage_ai/tests/settings/platform/test_utils.py59 except Exception:CODE
LOWmage_ai/tests/settings/platform/test_utils.py121 except Exception:CODE
LOW…_ai/tests/settings/models/test_configuration_option.py53 except Exception as err:CODE
MEDIUM…_ai/tests/settings/models/test_configuration_option.py50def tearDown(self):CODE
LOW…data_preparation/test_repo_manager_project_platform.py59 except Exception:CODE
LOW…data_preparation/test_repo_manager_project_platform.py66 except Exception:CODE
LOW…ts/data_preparation/models/test_global_data_product.py39 except Exception:CODE
LOWmage_ai/tests/data_preparation/models/test_pipeline.py1115 except Exception:STRING
LOW⚡…a_preparation/models/global_hooks/test_global_hooks.py288 except Exception:CODE
LOW⚡…a_preparation/models/global_hooks/test_global_hooks.py297 except Exception:CODE
LOW⚡…a_preparation/models/global_hooks/test_global_hooks.py307 except Exception:CODE
LOW…a_preparation/models/block/test_global_data_product.py22 except Exception:CODE
LOW…/data_preparation/models/block/hook/test_hook_block.py78 except Exception as err:CODE
LOW…/tests/data_preparation/storage/shared/test_secrets.py116 except Exception:CODE
LOWmage_ai/tests/shared/mixins.py390 except Exception as err:STRING
LOWmage_ai/tests/shared/mixins.py410 except Exception:STRING
LOWmage_ai/tests/shared/mixins.py414 except Exception:STRING
LOWmage_ai/tests/shared/mixins.py443 except Exception as err:STRING
LOWmage_ai/tests/shared/mixins.py469 except Exception as err:STRING
507 more matches not shown…
Deep Nesting632 hits · 598 pts
SeverityFileLineSnippetContext
LOWmage_ai/settings/repo.py34CODE
LOWmage_ai/settings/repo.py162CODE
LOWmage_ai/settings/platform/__init__.py22CODE
LOWmage_ai/settings/platform/__init__.py139CODE
LOWmage_ai/settings/platform/__init__.py460CODE
LOWmage_ai/settings/models/configuration_option.py79CODE
LOWmage_ai/kernels/magic/execution.py18CODE
LOWmage_ai/kernels/magic/kernels/models.py174CODE
LOWmage_ai/kernels/magic/kernels/manager.py53CODE
LOWmage_ai/kernels/magic/threads/reader.py11CODE
LOWmage_ai/kernels/default/models.py27CODE
LOWmage_ai/cache/dbt/cache.py93CODE
LOWmage_ai/cache/dbt/cache.py136CODE
LOWmage_ai/cache/block_action_object/__init__.py240CODE
LOWmage_ai/version_control/models.py321CODE
LOWmage_ai/version_control/models.py386CODE
LOWmage_ai/version_control/models.py492CODE
LOWmage_ai/io/redshift.py138CODE
LOWmage_ai/io/redshift.py194CODE
LOWmage_ai/io/trino.py273CODE
LOWmage_ai/io/trino.py323CODE
LOWmage_ai/io/mssql.py265CODE
LOWmage_ai/io/bigquery.py198CODE
LOWmage_ai/io/bigquery.py360CODE
LOWmage_ai/io/bigquery.py242CODE
LOWmage_ai/io/oracledb.py139CODE
LOWmage_ai/io/snowflake.py197CODE
LOWmage_ai/io/snowflake.py433CODE
LOWmage_ai/io/snowflake.py238CODE
LOWmage_ai/io/postgres.py95CODE
LOWmage_ai/io/postgres.py211CODE
LOWmage_ai/io/sql.py220CODE
LOWmage_ai/io/sql.py294CODE
LOWmage_ai/io/duckdb.py96CODE
LOWmage_ai/io/chroma.py37CODE
LOWmage_ai/io/s3.py84CODE
LOWmage_ai/io/base.py54CODE
LOWmage_ai/io/base.py154CODE
LOWmage_ai/io/base.py253CODE
LOWmage_ai/io/mysql.py178CODE
LOW…_ai/tests/settings/models/test_configuration_option.py73CODE
LOW…_ai/tests/settings/models/test_configuration_option.py131CODE
LOW…ts/data_preparation/models/test_global_data_product.py122CODE
LOW…ts/data_preparation/models/test_global_data_product.py158CODE
LOWmage_ai/tests/data_preparation/models/test_project.py63CODE
LOW…sts/data_preparation/models/global_hooks/test_utils.py16CODE
LOW…ests/data_preparation/models/global_hooks/test_hook.py443CODE
LOW…ests/data_preparation/models/global_hooks/test_hook.py604CODE
LOW…data_preparation/models/global_hooks/test_pipelines.py53CODE
LOW…ata_preparation/models/global_hooks/test_predicates.py419CODE
LOW…ata_preparation/models/global_hooks/test_predicates.py292CODE
LOW…ts/data_preparation/models/block/dynamic/test_utils.py12CODE
LOW…/data_preparation/models/block/platform/test_mixins.py104CODE
LOW…/data_preparation/models/block/platform/test_mixins.py204CODE
LOW…/tests/data_preparation/storage/shared/test_secrets.py85CODE
LOW…hestration/test_pipeline_scheduler_project_platform.py32CODE
LOW…hestration/test_pipeline_scheduler_project_platform.py63CODE
LOW…hestration/test_pipeline_scheduler_project_platform.py164CODE
LOW…hestration/test_pipeline_scheduler_project_platform.py216CODE
LOWmage_ai/tests/api/endpoints/mixins.py33CODE
572 more matches not shown…
Decorative Section Separators127 hits · 399 pts
SeverityFileLineSnippetContext
MEDIUM⚡mage_ai/settings/server.py35# ----------------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py37# ----------------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py45# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py47# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py142# --------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py144# --------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py150# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py152# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py201# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py203# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py212# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py214# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py231# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py233# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py240# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py242# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py247# -------------------------COMMENT
MEDIUM⚡mage_ai/settings/server.py249# -------------------------COMMENT
MEDIUMmage_ai/settings/server.py65# -------------------------COMMENT
MEDIUMmage_ai/settings/server.py67# -------------------------COMMENT
MEDIUMmage_ai/settings/server.py93# -------------------COMMENT
MEDIUMmage_ai/settings/server.py95# -------------------COMMENT
MEDIUMmage_ai/settings/server.py115# ---------------------COMMENT
MEDIUMmage_ai/settings/server.py117# ---------------------COMMENT
MEDIUMmage_ai/settings/server.py184# -----------------------------COMMENT
MEDIUMmage_ai/settings/server.py186# -----------------------------COMMENT
MEDIUMmage_ai/frontend/scripts/convert.py40# # # -----------------------------------------COMMENT
MEDIUMmage_ai/data_preparation/git/__init__.py337 # -------------------------------------------------------COMMENT
MEDIUMmage_ai/orchestration/constants.py16# ================================================COMMENT
MEDIUMintegrations/newrelic/example_newrelic.ini1# ---------------------------------------------------------------------------COMMENT
MEDIUMintegrations/newrelic/example_newrelic.ini21# ---------------------------------------------------------------------------COMMENT
MEDIUMintegrations/newrelic/example_newrelic.ini187# ---------------------------------------------------------------------------COMMENT
MEDIUMintegrations/newrelic/example_newrelic.ini210# ---------------------------------------------------------------------------COMMENT
MEDIUM…tegrations/sources/mongodb/tests/test_mongodb_oplog.py104 # -------------------------------COMMENT
MEDIUM…tegrations/sources/mongodb/tests/test_mongodb_oplog.py106 # -------------------------------COMMENT
MEDIUM…tegrations/sources/mongodb/tests/test_mongodb_oplog.py135 # -----------------------------------COMMENT
MEDIUM…tegrations/sources/mongodb/tests/test_mongodb_oplog.py137 # -----------------------------------COMMENT
MEDIUM…tegrations/sources/mongodb/tests/test_mongodb_oplog.py224 # -----------------------------------COMMENT
MEDIUM…tegrations/sources/mongodb/tests/test_mongodb_oplog.py226 # -----------------------------------COMMENT
MEDIUM…urces/mongodb/tests/test_mongodb_cname_restrictions.py101 # ---------------------------------COMMENT
MEDIUM…urces/mongodb/tests/test_mongodb_cname_restrictions.py103 # ---------------------------------COMMENT
MEDIUM…urces/mongodb/tests/test_mongodb_cname_restrictions.py130 # ----------------------------------------COMMENT
MEDIUM…urces/mongodb/tests/test_mongodb_cname_restrictions.py132 # ----------------------------------------COMMENT
MEDIUM…urces/mongodb/tests/test_mongodb_cname_restrictions.py219 # -------------------------------------------COMMENT
MEDIUM…urces/mongodb/tests/test_mongodb_cname_restrictions.py221 # -------------------------------------------COMMENT
MEDIUM…tions/sources/mongodb/tests/test_mongodb_full_table.py147 # -------------------------------COMMENT
MEDIUM…tions/sources/mongodb/tests/test_mongodb_full_table.py149 # -------------------------------COMMENT
MEDIUM…tions/sources/mongodb/tests/test_mongodb_full_table.py165 # -------------------------------------------COMMENT
MEDIUM…tions/sources/mongodb/tests/test_mongodb_full_table.py167 # -------------------------------------------COMMENT
MEDIUM…tions/sources/mongodb/tests/test_mongodb_full_table.py212 # -------------------------------------------COMMENT
MEDIUM…tions/sources/mongodb/tests/test_mongodb_full_table.py214 # -------------------------------------------COMMENT
MEDIUM…/sources/mongodb/tests/test_mongodb_table_reset_log.py99 # ---------------------------------COMMENT
MEDIUM…/sources/mongodb/tests/test_mongodb_table_reset_log.py101 # ---------------------------------COMMENT
MEDIUM…/sources/mongodb/tests/test_mongodb_table_reset_log.py129 # ----------------------------------------COMMENT
MEDIUM…/sources/mongodb/tests/test_mongodb_table_reset_log.py131 # ----------------------------------------COMMENT
MEDIUM…/sources/mongodb/tests/test_mongodb_table_reset_log.py168 # -------------------------------------------COMMENT
MEDIUM…/sources/mongodb/tests/test_mongodb_table_reset_log.py170 # -------------------------------------------COMMENT
MEDIUM…urces/mongodb/tests/test_mongodb_fname_restrictions.py104 # ---------------------------------COMMENT
MEDIUM…urces/mongodb/tests/test_mongodb_fname_restrictions.py106 # ---------------------------------COMMENT
MEDIUM…urces/mongodb/tests/test_mongodb_fname_restrictions.py134 # ----------------------------------------COMMENT
67 more matches not shown…
Unused Imports352 hits · 349 pts
SeverityFileLineSnippetContext
LOWmage_ai/settings/__init__.py6CODE
LOWmage_ai/settings/platform/__init__.py9CODE
LOWmage_ai/settings/keys/__init__.py1CODE
LOWmage_ai/kernels/models.py1CODE
LOWmage_ai/kernels/default/models.py1CODE
LOWmage_ai/tests/orchestration/utils/test_resources.py1CODE
LOWmage_ai/tests/orchestration/utils/test_resources.py2CODE
LOWmage_ai/data_preparation/models/variable.py1CODE
LOW…_ai/data_preparation/models/block/dynamic/variables.py1CODE
LOWmage_ai/data_preparation/models/block/dbt/__init__.py1CODE
LOW…n/templates/data_exporters/streaming/generic_python.py2CODE
LOW…ation/templates/data_integrations/destinations/base.py1CODE
LOW…reparation/templates/data_integrations/sources/base.py1CODE
LOW…reparation/templates/data_integrations/sources/base.py1CODE
LOW…reparation/templates/repo/data_loaders/load_titanic.py1CODE
LOW…reparation/templates/repo/data_loaders/load_titanic.py3CODE
LOWmage_ai/server/utils/output_display.py1CODE
LOWmage_ai/shared/croniter.py9CODE
LOWmage_ai/shared/croniter.py9CODE
LOWmage_ai/shared/croniter.py9CODE
LOWmage_ai/shared/enum.py3CODE
LOWmage_ai/shared/enum.py3CODE
LOWmage_ai/shared/enum.py5CODE
LOWmage_ai/system/models.py1CODE
LOWmage_ai/system/browser/models.py1CODE
LOWmage_ai/orchestration/pipeline_scheduler.py1CODE
LOW…ai/api/resources/PipelineExecutionFrameworkResource.py1CODE
LOWmage_ai/api/resources/BrowserItemResource.py1CODE
LOWmage_ai/api/resources/BaseResource.py1CODE
LOWmage_ai/frameworks/execution/models/pipeline/adapter.py1CODE
LOWmage_ai/frameworks/execution/models/pipeline/base.py1CODE
LOWmage_ai/frameworks/execution/models/block/adapter.py1CODE
LOWmage_ai/data/variables/wrapper.py1CODE
LOW…ge_integrations/mage_integrations/destinations/sink.py3CODE
LOW…integrations/mage_integrations/destinations/sqlsink.py3CODE
LOW…_integrations/mage_integrations/destinations/target.py3CODE
LOW…ns/mage_integrations/destinations/delta_lake/writer.py2CODE
LOW…ns/mage_integrations/destinations/delta_lake/schema.py1CODE
LOW…ns/mage_integrations/destinations/delta_lake/schema.py6CODE
LOW…ons/destinations/clickhouse/target_clickhouse/sinks.py3CODE
LOW…ns/destinations/clickhouse/target_clickhouse/target.py1CODE
LOW…_integrations/destinations/trino/connectors/iceberg.py5CODE
LOW…stinations/elasticsearch/target_elasticsearch/sinks.py11CODE
LOW…stinations/elasticsearch/target_elasticsearch/sinks.py11CODE
LOW…stinations/elasticsearch/target_elasticsearch/sinks.py11CODE
LOW…stinations/elasticsearch/target_elasticsearch/sinks.py11CODE
LOW…stinations/elasticsearch/target_elasticsearch/sinks.py11CODE
LOW…stinations/elasticsearch/target_elasticsearch/sinks.py11CODE
LOW…integrations/mage_integrations/utils/schema_helpers.py1CODE
LOW…integrations/mage_integrations/utils/schema_helpers.py1CODE
LOW…integrations/mage_integrations/utils/schema_helpers.py1CODE
LOW…_integrations/connections/google_analytics/__init__.py9CODE
LOW…_integrations/connections/google_analytics/__init__.py19CODE
LOWmage_integrations/mage_integrations/sources/query.py1CODE
LOW…integrations/sources/postmark/tap_postmark/__init__.py4CODE
LOW…mage_integrations/sources/postmark/tap_postmark/tap.py6CODE
LOW…integrations/sources/postmark/tap_postmark/cleaners.py4CODE
LOW…ations/sources/freshdesk/tests/test_freshdesk_check.py2CODE
LOW…ations/sources/freshdesk/tests/test_freshdesk_check.py4CODE
LOW…ations/sources/freshdesk/tests/test_freshdesk_check.py4CODE
292 more matches not shown…
Over-Commented Block285 hits · 255 pts
SeverityFileLineSnippetContext
LOW.pre-commit-config.yaml41 # - id: blackCOMMENT
LOWmage_ai/settings/repo.py121 # get_repo_path() == /home/src/test/nested_repo_projectCOMMENT
LOWmage_ai/frontend/next-env.d.ts1/// <reference types="next" />COMMENT
LOW…nd/components/ComputeManagement/Stages/StagesTable.tsx581 <Text {...SHARED_TEXT_PROPS} key="submissionTime">COMMENT
LOW…ponents/CustomTemplates/TemplateDetail/index.style.tsx61export const ContentStyle = styled.div`COMMENT
LOW…ponents/CustomTemplates/TemplateDetail/index.style.tsx81// border-radius: ${BORDER_RADIUS}px;COMMENT
LOW…ponents/CustomTemplates/TemplateDetail/index.style.tsx101// export const CardDescriptionStyle = styled.div`COMMENT
LOWmage_ai/frontend/components/v2/IDE/index.style.tsx61 // width: 100%;COMMENT
LOWmage_ai/frontend/components/v2/IDE/index.style.tsx81 // }COMMENT
LOWmage_ai/frontend/components/v2/IDE/Manager.tsx421 callback(this.languageClient);COMMENT
LOWmage_ai/frontend/components/v2/IDE/Manager.tsx441 // },COMMENT
LOWmage_ai/frontend/components/v2/IDE/Manager.tsx461 // '/home/src/mage_ai/autocomplete',COMMENT
LOWmage_ai/frontend/components/v2/IDE/Manager.tsx481 // '/home/src/mage_ai/shared',COMMENT
LOW…e_ai/frontend/components/v2/IDE/autocomplete/index.tsx1import { Ref } from 'react';COMMENT
LOW…e_ai/frontend/components/v2/IDE/autocomplete/index.tsx21// OperatorCOMMENT
LOW…e_ai/frontend/components/v2/IDE/autocomplete/index.tsx161 // applyCustomDecorations(monaco.editor);COMMENT
LOWmage_ai/frontend/components/v2/IDE/utils/index.ts1// webSocket.onopen = () => {COMMENT
LOWmage_ai/frontend/components/v2/IDE/utils/index.ts21// uri: model.uri.toString(),COMMENT
LOWmage_ai/frontend/components/v2/IDE/utils/index.ts41// languageClient.sendNotification('textDocument/didOpen', languageclient.TextDocumentItem.create(COMMENT
LOWmage_ai/frontend/components/v2/IDE/utils/index.ts61// new Error('You cannot add a new model as neither editor nor diff editor is available.'),COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts21function saveCode(monaco, onSave) {COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts81 .map(func => func(monaco))COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts101// "11": "PageUp",COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts121// "128": "LaunchMediaPlayer",COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts141// "27": "Digit6",COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts161// "45": "KeyO",COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts181// "63": "F5",COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts201// "81": "F23",COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts221// "ABNT_C1": 115,COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts241// "Delete": 20,COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts261// "F12": 70,COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts281// "F9": 67,COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts301// "KeyP": 46,COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts321// "Meta": 57,COMMENT
LOWmage_ai/frontend/components/v2/IDE/shortcuts/index.ts341// "PageDown": 12,COMMENT
LOW…e_ai/frontend/components/v2/IDE/events/addListeners.ts21 // onDidChangeCursorPositionCOMMENT
LOW…e_ai/frontend/components/v2/IDE/events/addListeners.ts41 // onDidTypeCOMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts21 // Foreground color of the editor.COMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts41 // Highlight/Selection colorssCOMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts81 'editorBracketHighlight.foreground6': '#CBFE001A',COMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts101 // ----------------------------------------------------------------------------------------------COMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts121 'editorWarning.foreground': '#FFCC19', // YellowCOMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts141 'editor.lineNumbersForeground': '#FFFFFF',COMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts201 'editorSuggestWidget.highlightForeground': '#FF144D',COMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts241 // Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.COMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts261 // // Border color of the editor hover.COMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts281 // ListsCOMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts301 // // List/Tree foreground color of the match highlights when searching inside the list/tree.COMMENT
LOWmage_ai/frontend/components/v2/IDE/themes/base.ts321 // // Foreground color of list items containing warnings.COMMENT
LOWmage_ai/frontend/components/v2/Canvas/utils/rect.ts881COMMENT
LOWmage_ai/frontend/components/v2/Apps/Layout.tsx81 const colsInRow = configs?.length || 0;COMMENT
LOW…i/frontend/components/v2/Apps/PipelineCanvas/index.tsx1081 // }COMMENT
LOW…i/frontend/components/v2/Apps/PipelineCanvas/index.tsx1121COMMENT
LOW…tend/components/v2/Apps/PipelineCanvas/utils/blocks.ts261 // "downstream_blocks": [COMMENT
LOW…i/frontend/components/v2/Apps/Browser/System/worker.ts1export const createWorker = async () => {COMMENT
LOW…i/frontend/components/v2/Apps/Browser/System/worker.ts21 // removeContextMenu();COMMENT
LOW…i/frontend/components/v2/Apps/Browser/System/worker.ts41 // uuid: app?.uuid,COMMENT
LOW…i/frontend/components/v2/Apps/Browser/System/worker.ts61 // worker.postMessage({COMMENT
LOW…ntend/components/CodeBlockV2/dbt/useCodeBlockProps.tsx601 }),COMMENT
LOW…end/components/PipelineDetail/FileHeaderMenu/index.tsx141 },COMMENT
225 more matches not shown…
Self-Referential Comments53 hits · 170 pts
SeverityFileLineSnippetContext
MEDIUMmage_ai/frontend/components/v2/Builder/mocks.ts587 "from mlops.utils.deploy.aws import (\n IAM_USER_NAME,\n POLICY_NAME_TERRAFORM_APPLY_DEPLOY_MAGE,\n POLCODE
MEDIUMmage_ai/frontend/components/v2/Builder/mocks.ts878 "from mlops.utils.deploy.aws import (\n IAM_USER_NAME_CICD,\n POLICY_NAME_GITHUB_ACTIONS_DEPLOY_MAGE,\n CODE
MEDIUMmage_ai/io/airtable.py30 self.client = Api(token, **kwargs) # Create the Airtable API clientCODE
MEDIUMmage_ai/tests/test_shared.py73 # Create the CSR matrix with specified shapeCOMMENT
MEDIUM…e_ai/tests/data_preparation/storage/test_s3_storage.py10 # Create a mock for the s3.Client instanceCOMMENT
MEDIUM…_ai/tests/data_preparation/storage/test_gcs_storage.py21 # Create a mock for the gcs.Client instanceCOMMENT
MEDIUMmage_ai/tests/streaming/sources/test_kafka_raw_value.py12 # Create a mock message with non-UTF8 keyCOMMENT
MEDIUMmage_ai/tests/streaming/sources/test_kafka_raw_value.py46 # Create a mock message with UTF-8 keyCOMMENT
MEDIUMmage_ai/tests/streaming/sources/test_kafka_raw_value.py78 # Create a mock message with non-UTF8 key but without RAW_VALUECOMMENT
MEDIUMmage_ai/tests/authentication/providers/test_oidc.py26 # Creating an instance of OidcProvider with userinfo_endpoint includedCOMMENT
MEDIUMmage_ai/tests/services/k8s/test_job_manager.py257 # Create a mock K8sExecutorConfig with container_configCOMMENT
MEDIUMmage_ai/tests/services/aws/ecs/test_config.py39 # Create an instance of EcsConfig and call the method to testCOMMENT
MEDIUM…ts/cluster_manager/kubernetes/test_workload_manager.py147 # Create a mock Ingress objectCOMMENT
MEDIUMmage_ai/data_preparation/models/block/dynamic/utils.py930 # Create a mapping of the original upstream blockCOMMENT
MEDIUMmage_ai/data_preparation/executors/block_executor.py943 # Create a block run for the stream for each batch in that stream.COMMENT
MEDIUMmage_ai/data_preparation/executors/block_executor.py1036 # Create a child block run for every selected stream.COMMENT
MEDIUMmage_ai/data_preparation/executors/pipeline_executor.py59 # Create the async task to executeCOMMENT
MEDIUMmage_ai/data_preparation/git/__init__.py385 # Create a temporary directory to store the current contents of the submoduleCOMMENT
MEDIUMmage_ai/system/memory/utils.py454 # Create a format string for padding the columnsCOMMENT
MEDIUMmage_ai/data_integrations/utils/scheduler.py369 # Create a child block run in batches.COMMENT
MEDIUMmage_ai/data/tabular/utils.py59 # Create a Polars Series from the PyArrow ArrayCOMMENT
MEDIUM…ervices/azure/container_instance/container_instance.py37 # Create the ACI management clientCOMMENT
MEDIUM…ervices/azure/container_instance/container_instance.py78 # Create the container groupCOMMENT
MEDIUMmage_ai/services/k8s/job_manager.py139 # Create the specification of deploymentCOMMENT
MEDIUMmage_ai/services/ssh/aws/emr/models.py298 # This method is invoked when the server restarts.COMMENT
MEDIUM…integrations/sources/postmark/tap_postmark/discover.py37 # Create a catalog entryCOMMENT
MEDIUM…integrations/sources/postmark/tap_postmark/cleaners.py245 # Create a new recordCOMMENT
MEDIUM…ions/mage_integrations/sources/freshdesk/tests/base.py171 # Create the connectionCOMMENT
MEDIUM…grations/mage_integrations/sources/intercom/streams.py501 # Initialize parent objectCOMMENT
MEDIUM…urces/facebook_ads/tests/unittests/test_retry_logic.py27 # Create the mock and force the function to throw an errorCOMMENT
MEDIUM…urces/facebook_ads/tests/unittests/test_retry_logic.py38 # Initialize the object and call `sync()`COMMENT
MEDIUM⚡…urces/facebook_ads/tests/unittests/test_retry_logic.py50 # Create the mock and force the function to throw an errorCOMMENT
MEDIUM⚡…urces/facebook_ads/tests/unittests/test_retry_logic.py55 # Initialize the object and call `sync()`COMMENT
MEDIUM⚡…urces/facebook_ads/tests/unittests/test_retry_logic.py119 # Create the mock and force the function to throw an errorCOMMENT
MEDIUM⚡…urces/facebook_ads/tests/unittests/test_retry_logic.py124 # Initialize the object and call `sync()`COMMENT
MEDIUM⚡…urces/facebook_ads/tests/unittests/test_retry_logic.py137 # Create the mock and force the function to throw an errorCOMMENT
MEDIUM⚡…urces/facebook_ads/tests/unittests/test_retry_logic.py142 # Initialize the object and call `sync()`COMMENT
MEDIUM⚡…urces/facebook_ads/tests/unittests/test_retry_logic.py207 # Create the mock and force the function to throw an errorCOMMENT
MEDIUM⚡…urces/facebook_ads/tests/unittests/test_retry_logic.py213 # Initialize the object and call `sync()`COMMENT
MEDIUM…urces/facebook_ads/tests/unittests/test_retry_logic.py252 # Create the mock and force the function to throw an errorCOMMENT
MEDIUM…urces/facebook_ads/tests/unittests/test_retry_logic.py257 # Initialize the object and call `sync()`COMMENT
MEDIUM…/mongodb/tests/test_mongodb_log_based_interruptible.py204 # Create a new collection which is still not replicatedCOMMENT
MEDIUM⚡…ations/mage_integrations/sources/hubspot/tests/base.py225 # Create the connectionCOMMENT
MEDIUM…_integrations/sources/zendesk/test/test_all_streams.py79 # Create the connection for ZendeskCOMMENT
MEDIUM…ge_integrations/sources/zendesk/test/test_bookmarks.py49 # Create the connection for ZendeskCOMMENT
MEDIUM…ge_integrations/sources/zendesk/test/test_bookmarks.py95 # Create a new recordCOMMENT
MEDIUM…ns/sources/zendesk/test/test_custom_fields_discover.py11 # Create the connection for ZendeskCOMMENT
MEDIUM…ns/sources/zendesk/test/test_custom_fields_discover.py32 # Create an array of arrays where the first element is the word minus the last letter ie: "organization"COMMENT
MEDIUM…rations/sources/zendesk/test/test_minimal_selection.py26 # Create the connection for ZendeskCOMMENT
MEDIUM…es/salesforce/client/tap_salesforce/salesforce/bulk.py142 # Create a new jobCOMMENT
MEDIUM…egrations/mage_integrations/sources/stripe/__init__.py829 # The following code arose because we encountered a bug in the APICOMMENT
MEDIUM…egrations/mage_integrations/sources/stripe/__init__.py1040 # Create a map to hold relate event object ids to timestampsCOMMENT
MEDIUMscripts/frontend/fix.sh4# Initialize the variable to store the value of --stdin-filenameCOMMENT
Cross-Language Confusion27 hits · 150 pts
SeverityFileLineSnippetContext
HIGHmage_ai/version_control/models.py358 return await branch_utils.push(self)CODE
HIGHmage_ai/version_control/branch/utils.py45 # custom_progress = api.push(COMMENT
HIGHmage_ai/version_control/branch/utils.py66 # git_manager.push()COMMENT
HIGH⚡…_ai/tests/data_cleaner/transformer_actions/test_row.py343 action = dict(action_code='(value < 110 and value >= 50) and (value != null)')CODE
HIGH⚡…_ai/tests/data_cleaner/transformer_actions/test_row.py345 action3 = dict(action_code='(brand != null and value > 60) or (discounted == null)')CODE
HIGH⚡…_ai/tests/data_cleaner/transformer_actions/test_row.py348 ' or (discounted == False and value != null)'CODE
HIGH⚡…_ai/tests/data_cleaner/transformer_actions/test_row.py352 ' or (discounted != null)'CODE
HIGH⚡…_ai/tests/data_cleaner/transformer_actions/test_row.py465 action = dict(action_code='("Val ue" < 110 and "Val ue" >= 50) and ("Val ue" != null)')CODE
HIGH⚡…_ai/tests/data_cleaner/transformer_actions/test_row.py469 '== null)'CODE
HIGH⚡…_ai/tests/data_cleaner/transformer_actions/test_row.py473 ' or ("dis>>> ??cou nted" == False and "Val ue" != null)'CODE
HIGH⚡…_ai/tests/data_cleaner/transformer_actions/test_row.py477 'nTory" <= 80) or ("dis>>> ??cou nted" != null)'CODE
HIGH…_ai/tests/data_cleaner/transformer_actions/test_row.py550 action_code='("e e e e e e e e" != null and " kas22d fe ($)" != null) and "e e e e 'CODE
HIGH…_ai/tests/data_cleaner/transformer_actions/test_row.py554 action_code='("e e e e e e e e" != null and " kas22d fe ($)" != null) and "e e e e 'CODE
HIGH…_ai/tests/data_cleaner/transformer_actions/test_row.py655 action = dict(action_code='(col != null) and (orig_col != null)')CODE
HIGHmage_ai/data_preparation/repo_manager.py365 overwrite_uuid (str): If not null, the overwrite_uuid will overwrite the currentSTRING
HIGHmage_ai/data_preparation/git/__init__.py468 self.repo.git.push(CODE
HIGHmage_ai/data_preparation/git/__init__.py513 remote.push(branch_name, custom_progress)CODE
HIGH⚡mage_ai/data_preparation/git/api.py176 remote.push(branch_name, custom_progress)CODE
HIGHmage_ai/server/terminal_server.py114 command[index] = r"clear -x && history -c && history -w && clear -x"CODE
HIGHmage_ai/server/websockets/terminal/utils.py171 "ls --color=al > /dev/null 2>&1 && alias ls='ls -F --color=al' || alias ls='ls -G'",CODE
HIGHmage_ai/api/resources/GitBranchResource.py267 custom_progress = api.push(CODE
HIGHmage_ai/api/resources/GitBranchResource.py289 git_manager.push()CODE
HIGH…ge_ai/command_center/version_control/projects/utils.py131 'but run cat ~/.ssh/id_ed25519 | base64 | tr -d \\n && echo 'CODE
HIGHmage_ai/data_cleaner/cleaning_rules/impute_values.py107 4. Else, if less than RAND_EMPTY_UB ratio of entries are null, use random imputationSTRING
HIGHmage_ai/data_cleaner/cleaning_rules/impute_values.py164 4. Else, if less than RAND_EMPTY_UB ratio of entries are null, use random imputationSTRING
HIGHmage_ai/data_cleaner/cleaning_rules/impute_values.py198 4. Else, if less than RAND_EMPTY_UB ratio of entries are null, use random imputationSTRING
HIGH…/mage_integrations/sources/zendesk/tap_zendesk/http.py114 Return true if exception is required to retry otherwise return falseSTRING
Docstring Block Structure27 hits · 135 pts
SeverityFileLineSnippetContext
HIGHmage_ai/settings/repo.py41 Retrieve the repository path based on the given parameters. Args: file_path (str, optional): The path STRING
HIGHmage_ai/io/airtable.py37 Initializes an Airtable client from a configuration loader. Args: config (BaseConfigLoaderSTRING
HIGHmage_ai/io/mongodb.py49 Loads the data frame from the MongoDB collection. Args: collection (str): MongoDB collectiSTRING
HIGHmage_ai/io/sql.py29 Maps pandas Data Frame column to SQL type Args: series (Series): Column to map STRING
HIGHmage_ai/io/base.py155 Gets data frame reader based on file format Args: format (Union[FileFormat, str]): Format STRING
HIGHmage_ai/io/google_sheets.py89Fetches a Google Sheet, given a sheet_url, sheet_id, or sheet_name. Args: sheet_url (str, optional)STRING
HIGHmage_ai/io/google_sheets.py130Fetches a worksheet from a Google Sheet, given a sheet_url, sheet_id, or sheet_name. The worksheet may be fetcheSTRING
HIGHmage_ai/io/google_sheets.py179Loads a Google Sheet into a Pandas DataFrame, given a sheet_url, sheet_id, or sheet_name. A worksheet name or poSTRING
HIGHmage_ai/io/google_sheets.py249Checks if a given sheet & worksheet (optional) exists. Args: sheet_url (str, optional): A sheet URLSTRING
HIGHmage_ai/data_preparation/models/pipeline.py1598 Searches for a file with a specified name in the provided directory and its subdirectories. Used in theSTRING
HIGHmage_ai/data_preparation/models/triggers/__init__.py165 Retrieve triggers for a given pipeline, utilizing a cache to avoid unnecessary file reads. This function checkSTRING
HIGHmage_ai/data_preparation/models/block/sql/__init__.py56 Execute SQL code within the given block's data context. Args: block (Block): The block containing the STRING
HIGHmage_ai/data_preparation/logging/logger_manager.py219 Get the full log file path for the current pipeline or block. Args: create_dir (bool, optiSTRING
HIGHmage_ai/server/active_kernel.py30 Switches the active kernel to the specified kernel name, handling its startup and shutdown. This function STRING
HIGHmage_ai/streaming/sinks/sink_factory.py85 Find the class that's decorated with streaming_sink from the source code. Args: content (sSTRING
HIGHmage_ai/streaming/sources/kafka_oauth.py34 Create an OAuth token provider for OAUTHBEARER mechanism. Args: sasl_config: SASL configuration coSTRING
HIGHmage_ai/streaming/sources/source_factory.py58 Find the class that's decorated with streaming_source from the source code. Args: content STRING
HIGHmage_ai/data/tabular/reader.py55 Dynamically creates a filter expression for a given column, value, and comparison operation. Args: - columnSTRING
HIGH…_integrations/mage_integrations/destinations/target.py181Get sink for a stream. Developers can override this method to return a custom Sink type depending on thSTRING
HIGH…ns/destinations/clickhouse/target_clickhouse/target.py92Internal method to process jsonl lines from a Singer tap. Args: file_input: Readable stream of messSTRING
HIGH…ns/destinations/opensearch/target_opensearch/target.py196Internal method to process jsonl lines from a Singer tap. Args: file_input: Readable stream of messSTRING
HIGH…ns/mage_integrations/destinations/bigquery/__init__.py698 Run a BigQuery load job using the provided parameters. Args: client: The BigQuery client iSTRING
HIGH…grations/destinations/mongodb/target_mongodb/target.py81Internal method to process jsonl lines from a Singer tap. Args: file_input: Readable stream of messSTRING
HIGH…ns/destinations/salesforce/target_salesforce/target.py133Internal method to process jsonl lines from a Singer tap. Args: file_input: Readable stream of messSTRING
HIGH…tinations/elasticsearch/target_elasticsearch/target.py222Internal method to process jsonl lines from a Singer tap. Args: file_input: Readable stream of messSTRING
HIGH…integrations/mage_integrations/connections/sql/base.py34 Execute the provided SQL queries using the given connection, or create a new one if not provided. If a STRING
HIGH…ns/mage_integrations/sources/google_sheets/__init__.py200 Retrieves metadata for a given sheet in a Google Spreadsheet. Args: sheet (dict): The metaSTRING
Hallucination Indicators11 hits · 135 pts
SeverityFileLineSnippetContext
CRITICAL…ontend_dist/_next/static/chunks/52.f85240ece214e16f.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52],{17463:function(e,t,i){i.d(t,{p:function(){retCODE
CRITICAL…tend_dist/_next/static/chunks/4261.d74157a140111d66.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4261],{39584:function(e){"use strict";function t(e,t,r){e instaCODE
CRITICAL⚡…ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){rCODE
CRITICAL…th_template/_next/static/chunks/52.f85240ece214e16f.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52],{17463:function(e,t,i){i.d(t,{p:function(){retCODE
CRITICAL…_template/_next/static/chunks/4261.d74157a140111d66.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4261],{39584:function(e){"use strict";function t(e,t,r){e instaCODE
CRITICAL⚡…ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){rCODE
CRITICALmage_ai/orchestration/db/__init__.py105 self.session.registry.registry.value.start_cache()CODE
CRITICALmage_ai/orchestration/db/__init__.py110 self.session.registry.registry.value.stop_cache()CODE
CRITICALmage_ai/services/spark/models/stages.py301 # org.apache.spark.sql.Dataset.count(Dataset.scala:3625)COMMENT
CRITICALmage_ai/services/spark/models/stages.py417 # org.apache.spark.sql.Dataset.count(Dataset.scala:3625)COMMENT
CRITICALmage_ai/services/spark/models/threads.py17 # "java.base@11.0.20/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)",COMMENT
AI Structural Patterns153 hits · 128 pts
SeverityFileLineSnippetContext
LOWmage_ai/io/redshift.py138CODE
LOWmage_ai/io/clickhouse.py195CODE
LOWmage_ai/io/trino.py273CODE
LOWmage_ai/io/mongodb.py11CODE
LOWmage_ai/io/bigquery.py198CODE
LOWmage_ai/io/druid.py151CODE
LOWmage_ai/io/snowflake.py197CODE
LOWmage_ai/io/postgres.py23CODE
LOWmage_ai/io/pinot.py115CODE
LOWmage_ai/io/sql.py220CODE
LOW…a_preparation/models/global_hooks/test_global_hooks.py52CODE
LOWmage_ai/tests/shared/mixins.py80CODE
LOWmage_ai/tests/shared/mixins.py212CODE
LOWmage_ai/tests/api/test_views.py17CODE
LOWmage_ai/tests/api/test_views.py267CODE
LOWmage_ai/tests/api/test_views.py277CODE
LOWmage_ai/tests/api/endpoints/mixins.py79CODE
LOWmage_ai/tests/api/endpoints/mixins.py198CODE
LOWmage_ai/tests/api/endpoints/mixins.py303CODE
LOWmage_ai/tests/api/endpoints/mixins.py408CODE
LOWmage_ai/tests/api/endpoints/mixins.py513CODE
LOWmage_ai/tests/api/endpoints/mixins.py97CODE
LOWmage_ai/tests/api/endpoints/mixins.py214CODE
LOWmage_ai/tests/api/endpoints/mixins.py319CODE
LOWmage_ai/tests/api/endpoints/mixins.py424CODE
LOWmage_ai/tests/api/endpoints/mixins.py529CODE
LOWmage_ai/tests/api/endpoints/mixins.py648CODE
LOWmage_ai/tests/api/endpoints/mixins.py733CODE
LOWmage_ai/tests/api/endpoints/mixins.py822CODE
LOWmage_ai/tests/api/endpoints/mixins.py909CODE
LOWmage_ai/tests/api/endpoints/mixins.py1020CODE
LOWmage_ai/tests/api/endpoints/mixins.py115CODE
LOWmage_ai/tests/api/endpoints/mixins.py230CODE
LOWmage_ai/tests/api/endpoints/mixins.py335CODE
LOWmage_ai/tests/api/endpoints/mixins.py440CODE
LOWmage_ai/tests/api/endpoints/mixins.py545CODE
LOW…icies/permissions/test_base_policy_with_permissions.py491CODE
LOWmage_ai/data_preparation/variable_manager.py61CODE
LOWmage_ai/data_preparation/variable_manager.py213CODE
LOWmage_ai/data_preparation/variable_manager.py326CODE
LOWmage_ai/data_preparation/variable_manager.py367CODE
LOWmage_ai/data_preparation/models/variable.py71CODE
LOWmage_ai/data_preparation/models/file.py523CODE
LOWmage_ai/data_preparation/models/file.py167CODE
LOWmage_ai/data_preparation/models/pipeline.py94CODE
LOWmage_ai/data_preparation/models/pipeline.py1148CODE
LOWmage_ai/data_preparation/models/pipeline.py1921CODE
LOWmage_ai/data_preparation/models/widget/__init__.py72CODE
LOW…_ai/data_preparation/models/global_hooks/predicates.py56CODE
LOWmage_ai/data_preparation/models/global_hooks/models.py373CODE
LOWmage_ai/data_preparation/models/global_hooks/models.py472CODE
LOWmage_ai/data_preparation/models/global_hooks/models.py571CODE
LOWmage_ai/data_preparation/models/global_hooks/models.py929CODE
LOWmage_ai/data_preparation/models/global_hooks/models.py1030CODE
LOWmage_ai/data_preparation/models/global_hooks/models.py950CODE
LOWmage_ai/data_preparation/models/block/__init__.py170CODE
LOWmage_ai/data_preparation/models/block/__init__.py267CODE
LOWmage_ai/data_preparation/models/block/__init__.py357CODE
LOWmage_ai/data_preparation/models/block/__init__.py696CODE
LOWmage_ai/data_preparation/models/block/__init__.py1046CODE
93 more matches not shown…
AI Slop Vocabulary29 hits · 68 pts
SeverityFileLineSnippetContext
MEDIUM⚡…ublic/monaco-editor/min/vs/language/html/htmlWorker.js259 * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/doCOMMENT
MEDIUM⚡…ublic/monaco-editor/min/vs/language/html/htmlWorker.js269Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{namCODE
MEDIUM⚡…ublic/monaco-editor/min/vs/language/html/htmlWorker.js269Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{namCODE
MEDIUM…ublic/monaco-editor/min/vs/language/html/htmlWorker.js287**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users,CODE
LOWmage_ai/io/snowflake.py328 # should_create_table is True when the table does not exist, so just create theCOMMENT
LOW…ata_preparation/models/block/data_integration/utils.py841 # If source, then just pass the output file to the destination to read from.COMMENT
MEDIUM…tend_dist/_next/static/chunks/7849-e52eeca7d1a2b973.js2(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7849],{26037:function(e){"use strict";e.exports=function(e,n){vCODE
MEDIUM…tend_dist/_next/static/chunks/7849-e52eeca7d1a2b973.js2(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7849],{26037:function(e){"use strict";e.exports=function(e,n){vCODE
MEDIUM…dist/_next/static/chunks/framework-ea07653270784974.js2"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9774],{9188:function(e,t,n){var r=n(82684);functioCODE
MEDIUM…dist/_next/static/chunks/framework-ea07653270784974.js2"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9774],{9188:function(e,t,n){var r=n(82684);functioCODE
MEDIUM⚡…_dist/monaco-editor/min/vs/language/html/htmlWorker.js259 * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/doCOMMENT
MEDIUM⚡…_dist/monaco-editor/min/vs/language/html/htmlWorker.js269Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{namCODE
MEDIUM⚡…_dist/monaco-editor/min/vs/language/html/htmlWorker.js269Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{namCODE
MEDIUM…_dist/monaco-editor/min/vs/language/html/htmlWorker.js287**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users,CODE
MEDIUM…_template/_next/static/chunks/7849-e52eeca7d1a2b973.js2(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7849],{26037:function(e){"use strict";e.exports=function(e,n){vCODE
MEDIUM…_template/_next/static/chunks/7849-e52eeca7d1a2b973.js2(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7849],{26037:function(e){"use strict";e.exports=function(e,n){vCODE
MEDIUM…late/_next/static/chunks/framework-ea07653270784974.js2"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9774],{9188:function(e,t,n){var r=n(82684);functioCODE
MEDIUM…late/_next/static/chunks/framework-ea07653270784974.js2"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9774],{9188:function(e,t,n){var r=n(82684);functioCODE
MEDIUM⚡…plate/monaco-editor/min/vs/language/html/htmlWorker.js259 * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/doCOMMENT
MEDIUM⚡…plate/monaco-editor/min/vs/language/html/htmlWorker.js269Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{namCODE
MEDIUM⚡…plate/monaco-editor/min/vs/language/html/htmlWorker.js269Default mode, which indicates no preference for the decoding mode. The browser decides what is best for the user.`},{namCODE
MEDIUM…plate/monaco-editor/min/vs/language/html/htmlWorker.js287**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users,CODE
LOWmage_ai/api/resources/GitBranchResource.py217 # arguments to the action, but for now we will just pass in a single argument.COMMENT
MEDIUM…ns/mage_integrations/destinations/teradata/__init__.py212 # Run commands in one Teradata session to leverage TEMP tableSTRING
MEDIUM…s/mage_integrations/destinations/snowflake/__init__.py468 # Run commands in one Snowflake session to leverage TEMP tableSTRING
LOW…ions/mage_integrations/sources/hubspot/tests/client.py73 # to do a response.json() on a 204 response. To get around this we just return an empty listCOMMENT
MEDIUM…egrations/mage_integrations/sources/stripe/__init__.py842 # in the wild. To make it as robust as possible we're currentlyCOMMENT
LOW…egrations/mage_integrations/sources/stripe/__init__.py953 # Events can have the same created at time, so just use the first oneCOMMENT
LOW…egrations/mage_integrations/sources/stripe/__init__.py971 # Else just returnCOMMENT
Modern Structural Boilerplate43 hits · 47 pts
SeverityFileLineSnippetContext
LOWmage_ai/settings/backends.py8logger = logging.getLogger(__name__)CODE
LOWmage_ai/settings/repo.py113def set_repo_path(repo_path: str) -> None:CODE
LOWmage_ai/cache/dbt/cache.py93 async def update_async(self, file_path: str) -> None:CODE
LOWmage_ai/version_control/models.py651 def set_user_config(self) -> None:CODE
LOWmage_ai/io/duckdb.py13logger = logging.getLogger(__name__)CODE
LOWmage_ai/io/chroma.py10logger = logging.getLogger(__name__)CODE
LOWmage_ai/data_preparation/repo_manager.py36logger = logging.getLogger(__name__)CODE
LOW⚡mage_ai/data_preparation/repo_manager.py345def set_project_uuid_from_metadata() -> None:CODE
LOW⚡mage_ai/data_preparation/repo_manager.py354def update_settings_on_metadata_change() -> None:CODE
LOWmage_ai/data_preparation/repo_manager.py408def set_repo_path(repo_path: str) -> None:CODE
LOW⚡mage_ai/data_preparation/models/file.py637async def update_caches_async(repo_path: str, dir_path: str, filename: str) -> None:CODE
LOW⚡mage_ai/data_preparation/models/file.py652def update_caches(repo_path: str, dir_path: str, filename: str) -> None:CODE
LOW⚡mage_ai/data_preparation/models/file.py667def update_file_cache() -> None:CODE
LOW⚡mage_ai/data_preparation/models/block/__init__.py3163 def update_callback_blocks(self, callback_blocks: List[Any]) -> None:CODE
LOW⚡mage_ai/data_preparation/models/block/__init__.py3166 def update_conditional_blocks(self, conditional_blocks: List[Any]) -> None:CODE
LOW⚡mage_ai/data_preparation/models/block/__init__.py3169 def update_upstream_blocks(self, upstream_blocks: List[Any], **kwargs) -> None:CODE
LOWmage_ai/data_preparation/models/block/__init__.py3211 def update_status(self, status: BlockStatus) -> None:CODE
LOWmage_ai/data_preparation/models/block/__init__.py3474 def set_global_vars(self, global_vars: Dict) -> None:CODE
LOWmage_ai/data_preparation/models/block/dbt/__init__.py3__all__ = ['DBTBlock']CODE
LOW…ta_preparation/models/block/data_integration/mixins.py191 def update_catalog_file(self, catalog: Dict = None) -> None:CODE
LOWmage_ai/data_preparation/models/block/spark/mixins.py183 def set_spark_job_execution_start(self, execution_uuid: str = None) -> None:CODE
LOWmage_ai/data_preparation/models/block/spark/mixins.py207 def set_spark_job_execution_end(self) -> None:CODE
LOWmage_ai/data_preparation/git/__init__.py517 def set_origin(self, remote_name: str) -> None:CODE
LOWmage_ai/data_preparation/git/__init__.py564 def update_config(self, settings: Dict) -> None:CODE
LOWmage_ai/server/server.py152 def update_latest_activity(self) -> None:CODE
LOW⚡mage_ai/server/execution_manager.py43def set_current_pipeline_process(process: multiprocessing.Process) -> None:CODE
LOW⚡mage_ai/server/execution_manager.py50def set_current_message_task(task: asyncio.Task) -> None:CODE
LOWmage_ai/server/execution_manager.py96def set_previous_config_path(path: str) -> None:CODE
LOWmage_ai/shared/conversions.py13logger = logging.getLogger(__name__)CODE
LOWmage_ai/shared/logger.py11logger = logging.getLogger(__name__)CODE
LOWmage_ai/shared/logger.py87def set_logging_format(logging_format: str = None, level: str = None) -> None:CODE
LOWmage_ai/streaming/sources/kafka_oauth.py30logger = logging.getLogger(__name__)CODE
LOWmage_ai/orchestration/db/models/schedules.py1223 def update_block_run_statuses(self, block_runs: List['BlockRun']) -> None:CODE
LOWmage_ai/data_cleaner/statistics/calculator.py23logger = logging.getLogger(__name__)CODE
LOWmage_ai/data_cleaner/analysis/calculator.py25logger = logging.getLogger(__name__)CODE
LOWmage_ai/data_cleaner/transformer_actions/utils.py18logger = logging.getLogger(__name__)CODE
LOWmage_ai/data_cleaner/transformer_actions/column.py28logger = logging.getLogger(__name__)CODE
LOWmage_ai/authentication/permissions/seed.py37logger = logging.getLogger(__name__)CODE
LOWmage_ai/services/aws/emr/emr.py19logger = logging.getLogger(__name__)CODE
LOWmage_ai/services/aws/emr/emr_basics.py15logger = logging.getLogger(__name__)CODE
LOW…integrations/mage_integrations/destinations/sqlsink.py414__all__ = ["SQLSink", "SQLConnector"]STRING
LOW…ns/sources/pipedrive/tap_pipedrive/streams/__init__.py18__all__ = ['CurrenciesStream', 'ActivityTypesStream', 'FiltersStream', 'StagesStream', 'PipelinesStream',CODE
LOW…e_integrations/sources/zendesk/spikes/ticket_events.py27logger = logging.getLogger(__name__)CODE
Redundant / Tautological Comments27 hits · 38 pts
SeverityFileLineSnippetContext
LOWmage_ai/kernels/default/utils.py55 # Check if cmdline is available and contains 'ipykernel_launcher'COMMENT
LOWmage_ai/tests/api/operations/test_pipeline_schedules.py101 # Check if trigger in triggers.yaml config file was also updatedCOMMENT
LOWmage_ai/data_preparation/models/pipeline.py346 # Verify if zip contents are part of a root folderCOMMENT
LOWmage_ai/data_preparation/models/triggers/__init__.py89 # Check if trigger has valid cron expressionCOMMENT
LOWmage_ai/data_preparation/models/block/__init__.py1387 # Print result to block outputCOMMENT
LOWmage_ai/server/api/downloads.py121 if file_list[0].endswith('.xlsx'): # Check if it's an XLSX fileCODE
LOWmage_ai/streaming/sources/nats_js.py113 # Check if the stream exists, and create it if it doesn'tCOMMENT
LOWmage_ai/system/memory/process.py180 # Check if any line in the traceback belongs to your function's code fileCOMMENT
LOWmage_ai/ai/utils/xgboost.py18 # Check if the booster has been trained by checking for the existence of an attributeCOMMENT
LOWmage_ai/orchestration/triggers/global_data_product.py184 # Check if most recent pipeline run has failed, canceled, or report the statusCOMMENT
LOWmage_ai/orchestration/triggers/global_data_product.py202 # Check if polling has timed outCOMMENT
LOWmage_ai/orchestration/triggers/global_data_product.py216 # Check if global data product is outdatedCOMMENT
LOWmage_ai/orchestration/utils/resources.py48 # Check if cgroup v2 is being used (single unified hierarchy)COMMENT
LOWmage_ai/api/policies/mixins/user_permissions.py101 # Check if user is an ownerCOMMENT
LOWmage_ai/data/models/generator.py19 # Check if the total length has been determined alreadyCOMMENT
LOWmage_ai/data/models/generator.py56 self.data = None # Set data to None when the generator is exhaustedCODE
LOWdocs/docs.sh3# Check if mintlify is installedCOMMENT
LOW…rations/sources/twitter_ads/tap_twitter_ads/streams.py513 # Increment countersCOMMENT
LOW…rations/sources/twitter_ads/tap_twitter_ads/streams.py963 # Increment total_recordsCOMMENT
LOW…rations/mage_integrations/sources/dynamodb/__init__.py118 # Check if streams availableCOMMENT
LOW…e_integrations/sources/hubspot/tap_hubspot/__init__.py804 # Check if we should include associationsCOMMENT
LOW…ns/mage_integrations/sources/github/tap_github/sync.py128 # Check if the key is available in the list of currently selected repo's list or not.COMMENT
LOW…es/salesforce/client/tap_salesforce/salesforce/bulk.py111 # Set pk_chunking to True to indicate that we should write a bookmark differentlyCOMMENT
LOWscripts/dev.sh211# Check if SERVICES is empty and set it to default services if it isCOMMENT
LOWscripts/devex/copy_git_hooks.sh7# Check if the correct number of arguments are providedCOMMENT
LOWscripts/devex/copy_git_hooks.sh16# Check if the source and destination directories existCOMMENT
LOWscripts/frontend/fix.py57 # Check if line contains a filename (assuming error lines do not start with '/')STRING
Fake / Example Data28 hits · 28 pts
SeverityFileLineSnippetContext
LOW…ublic/monaco-editor/min/vs/language/html/htmlWorker.js439**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet ECODE
LOWmage_ai/frontend/pages/settings/workspace/sync-data.tsx325 value: 'placeholder',CODE
LOW…ests/authentication/providers/test_active_directory.py45 'userPrincipalName': 'test@test.com',CODE
LOW…ests/authentication/providers/test_active_directory.py131 self.assertEqual(user_info['email'], 'test@test.com')CODE
LOW…ests/authentication/providers/test_active_directory.py132 self.assertEqual(user_info['username'], 'test@test.com')CODE
LOWmage_ai/server/frontend_dist/v2.html37</style></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"mCODE
LOW…_dist/_next/static/chunks/29107295-c0a511dcab14f9e9.js2(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3662],{10103:function(n,t,r){var e;n=r.nmd(n),function(){var u,CODE
LOW…pages/settings/workspace/sync-data-da85e399cc91f625.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2403],{79264:function(e,t,n){"use strict";var i=n(82394),r=n(75CODE
LOWmage_ai/server/frontend_dist/v2/canvas.html37</style></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"mCODE
LOW…_dist/monaco-editor/min/vs/language/html/htmlWorker.js439**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet ECODE
LOWmage_ai/server/frontend_dist_base_path_template/v2.html37</style></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"mCODE
LOW…plate/_next/static/chunks/29107295-c0a511dcab14f9e9.js2(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3662],{10103:function(n,t,r){var e;n=r.nmd(n),function(){var u,CODE
LOW…pages/settings/workspace/sync-data-da85e399cc91f625.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2403],{79264:function(e,t,n){"use strict";var i=n(82394),r=n(75CODE
LOW…server/frontend_dist_base_path_template/v2/canvas.html37</style></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"mCODE
LOW…plate/monaco-editor/min/vs/language/html/htmlWorker.js439**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet ECODE
LOW…rations/sources/hubspot/tap_hubspot/schemas/forms.json112 "placeholder": {CODE
LOW…ions/mage_integrations/sources/hubspot/tests/client.py1114 # "placeholder": ""COMMENT
LOW…ions/mage_integrations/sources/hubspot/tests/client.py1053 "placeholder": ""CODE
LOW…ions/mage_integrations/sources/hubspot/tests/client.py1083 "placeholder": ""CODE
LOW…ge_integrations/sources/zendesk/test/test_bookmarks.py113 user = User(name="John Doe", email="{}@mailinator.com".format(uuid.uuid4()))CODE
LOW…/sources/zendesk/test/unittests/test_discovery_mode.py61 discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 'start_date':STARTCODE
LOW…/sources/zendesk/test/unittests/test_discovery_mode.py104 discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 'start_date':STARTCODE
LOW…/sources/zendesk/test/unittests/test_discovery_mode.py149 responses = discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 'startCODE
LOW…/sources/zendesk/test/unittests/test_discovery_mode.py187 responses = discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 'sCODE
LOW…/sources/zendesk/test/unittests/test_discovery_mode.py226 responses = discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 'sCODE
LOW…/sources/zendesk/test/unittests/test_discovery_mode.py264 discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 'start_date':STARTCODE
LOW…/sources/zendesk/test/unittests/test_discovery_mode.py303 responses = discover.discover_streams('dummy_client', {'subdomain': 'arp', 'access_token': 'dummy_token', 'sCODE
LOW…egrations/mage_integrations/sources/stripe/__init__.py583 record = {'id': 'dummy_id', 'tiers': [{"flat_amount": 4578"unit_amount": 7241350}]}STRING
Modern AI Meta-Vocabulary7 hits · 19 pts
SeverityFileLineSnippetContext
MEDIUM…/data_preparation/models/block/dynamic/test_factory.py4# from mage_ai.orchestration.pipeline_scheduler import PipelineSchedulerCOMMENT
MEDIUM…sts/orchestration/triggers/test_global_data_product.py12# from mage_ai.orchestration.pipeline_scheduler import PipelineScheduler, schedule_allCOMMENT
MEDIUM…e_ai/data_preparation/templates/data_loaders/qdrant.py20 # Use all-MiniLM-L6-v2 embedding model as default.COMMENT
MEDIUM⚡…ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){rCODE
MEDIUM…ages/pipelines/[pipeline]/settings-03d9bca3bc5e6088.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8170],{81334:function(e,n,t){"use strict";t.d(n,{Z:function(){rCODE
MEDIUM⚡…ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){rCODE
MEDIUM…ages/pipelines/[pipeline]/settings-03d9bca3bc5e6088.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8170],{81334:function(e,n,t){"use strict";t.d(n,{Z:function(){rCODE
Slop Phrases11 hits · 18 pts
SeverityFileLineSnippetContext
LOW…/public/monaco-editor/min/vs/language/css/cssWorker.js31`);return[{language:"html",value:t}]},n.prototype.doPrint=function(e,t){for(var r=0,i=e;r<i.length;r++){var o=i[r];this.CODE
MEDIUM…ublic/monaco-editor/min/vs/language/html/htmlWorker.js305**Usage note:** Do not use this attribute, as it has been deprecated. The [\`<caption>\`](https://developer.mozilla.org/CODE
LOW…pages/settings/workspace/sync-data-da85e399cc91f625.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2403],{79264:function(e,t,n){"use strict";var i=n(82394),r=n(75CODE
MEDIUM⚡…ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){rCODE
LOW…nd_dist/monaco-editor/min/vs/language/css/cssWorker.js31`);return[{language:"html",value:t}]},n.prototype.doPrint=function(e,t){for(var r=0,i=e;r<i.length;r++){var o=i[r];this.CODE
MEDIUM…_dist/monaco-editor/min/vs/language/html/htmlWorker.js305**Usage note:** Do not use this attribute, as it has been deprecated. The [\`<caption>\`](https://developer.mozilla.org/CODE
LOW…pages/settings/workspace/sync-data-da85e399cc91f625.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2403],{79264:function(e,t,n){"use strict";var i=n(82394),r=n(75CODE
MEDIUM⚡…ks/pages/pipelines/[pipeline]/edit-08c613f3ee652f20.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2551],{53779:function(e,n,t){"use strict";t.d(n,{C:function(){rCODE
LOW…emplate/monaco-editor/min/vs/language/css/cssWorker.js31`);return[{language:"html",value:t}]},n.prototype.doPrint=function(e,t){for(var r=0,i=e;r<i.length;r++){var o=i[r];this.CODE
MEDIUM…plate/monaco-editor/min/vs/language/html/htmlWorker.js305**Usage note:** Do not use this attribute, as it has been deprecated. The [\`<caption>\`](https://developer.mozilla.org/CODE
LOW…ge_integrations/sources/zendesk/test/test_bookmarks.py159 # TODO NEW TEST: Ticket Audits/Comments, etc... -- make sure to test Audits+Comments selection permutationsCOMMENT
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHmage_ai/tests/settings/models/test_dbt_project2.yml31# In this example config, we tell dbt to build all models in the example/COMMENT
HIGHmage_ai/tests/settings/models/test_dbt_project1.yml31# In this example config, we tell dbt to build all models in the example/COMMENT
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHmage_ai/frontend/components/ChartBlock/constants.ts392 elif not isinstance(item, pd.DataFrame):CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…grations/mage_integrations/sources/freshdesk/README.md21Follow [Freshdesk’s documentation](https://support.freshdesk.com/en/support/solutions/articles/215517-how-to-find-your-aCODE
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡mage_ai/frontend/components/v2/IDE/utils/index.ts65// // Step 1: Create a new model referenceCOMMENT
LOW⚡mage_ai/frontend/components/v2/IDE/utils/index.ts71// // Step 2: Update editor models with the new modelCOMMENT
Structural Annotation Overuse2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡mage_ai/frontend/components/v2/IDE/utils/index.ts65// // Step 1: Create a new model referenceCOMMENT
LOW⚡mage_ai/frontend/components/v2/IDE/utils/index.ts71// // Step 2: Update editor models with the new modelCOMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWmage_ai/data_preparation/variable_manager.py42 # TODO: implement caching logicCOMMENT
LOWmage_ai/data_preparation/models/global_hooks/models.py324 # TODO: implementCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMmage_ai/tests/shared/test_retry.py13CODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWmage_ai/server/utils/execute_custom_code.py62def run_task(CODE
LOWmage_ai/services/aws/ecs/ecs.py8def run_task(CODE