AI Slop Code RIsk Monitor

Netflix/metaflow

Build, Manage and Deploy AI/ML Systems

32.0 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Netflix/metaflow, a Python project with 10,300 GitHub stars. SynthScan examined 181,106 lines of code across 942 source files, recording 3152 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 32.0 (High 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.

32.0
Adjusted Signal
32.0
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
10.3K
Stars
Python
Language
181.1K
Lines of Code
942
Files
3.2K
Pattern Hits
2026-10-12
Scan Date
0.51
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 39.0/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 17.7/100 · LOW

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

Agent Over-Engineering Ratio 68.6/100 · HIGH

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

PR Review Velocity Impact 81.8/100 · CRITICAL

Which changes need focused human review? 3152 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 4HIGH 477MEDIUM 300LOW 2371

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 3152 distinct pattern matches across 24 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.

Cross-File Repetition316 hits · 1580 pts
SeverityFileLineSnippetContext
HIGHtest/core/tests/resume_foreach_inner.py0resuming from a foreach split should work. check that data changes in all downstream steps after resume.STRING
HIGHtest/core/tests/resume_foreach_join.py0resuming from a foreach split should work. check that data changes in all downstream steps after resume.STRING
HIGHtest/core/tests/resume_ubf_foreach_join.py0resuming from a foreach split should work. check that data changes in all downstream steps after resume.STRING
HIGHtest/core/tests/resume_foreach_split.py0resuming from a foreach split should work. check that data changes in all downstream steps after resume.STRING
HIGHtest/test_config/helloconfig.py0this is the 'start' step. all flows must have a step named 'start' that is the first step in the flow.STRING
HIGHtest/ux/core/flows/basic/helloproject.py0this is the 'start' step. all flows must have a step named 'start' that is the first step in the flow.STRING
HIGHtest/ux/core/flows/basic/helloconda.py0this is the 'start' step. all flows must have a step named 'start' that is the first step in the flow.STRING
HIGHmetaflow/tutorials/00-helloworld/helloworld.py0this is the 'start' step. all flows must have a step named 'start' that is the first step in the flow.STRING
HIGHtest/test_config/helloconfig.py0this is the 'end' step. all flows must have an 'end' step, which is the last step in the flow.STRING
HIGHtest/ux/core/flows/basic/helloproject.py0this is the 'end' step. all flows must have an 'end' step, which is the last step in the flow.STRING
HIGHtest/ux/core/flows/basic/helloconda.py0this is the 'end' step. all flows must have an 'end' step, which is the last step in the flow.STRING
HIGHmetaflow/tutorials/00-helloworld/helloworld.py0this is the 'end' step. all flows must have an 'end' step, which is the last step in the flow.STRING
HIGHmetaflow/metaflow_environment.py0called to add custom files needed by this step mutator. this hook will be called in the `metaflowpackage` class where meSTRING
HIGHmetaflow/decorators.py0called to add custom files needed by this step mutator. this hook will be called in the `metaflowpackage` class where meSTRING
HIGHmetaflow/user_decorators/user_flow_decorator.py0called to add custom files needed by this step mutator. this hook will be called in the `metaflowpackage` class where meSTRING
HIGHmetaflow/user_decorators/user_step_decorator.py0called to add custom files needed by this step mutator. this hook will be called in the `metaflowpackage` class where meSTRING
HIGHmetaflow/_vendor/zipp.py0given a path with elements separated by posixpath.sep, generate all parents of that path. >>> list(_parents('b/d')) ['b'STRING
HIGHmetaflow/_vendor/v3_7/zipp.py0given a path with elements separated by posixpath.sep, generate all parents of that path. >>> list(_parents('b/d')) ['b'STRING
HIGHmetaflow/_vendor/v3_6/zipp.py0given a path with elements separated by posixpath.sep, generate all parents of that path. >>> list(_parents('b/d')) ['b'STRING
HIGHmetaflow/_vendor/zipp.py0given a path with elements separated by posixpath.sep, generate all elements of that path >>> list(_ancestry('b/d')) ['bSTRING
HIGHmetaflow/_vendor/v3_7/zipp.py0given a path with elements separated by posixpath.sep, generate all elements of that path >>> list(_ancestry('b/d')) ['bSTRING
HIGHmetaflow/_vendor/v3_6/zipp.py0given a path with elements separated by posixpath.sep, generate all elements of that path >>> list(_ancestry('b/d')) ['bSTRING
HIGHmetaflow/_vendor/zipp.py0return items in minuend not in subtrahend, retaining order with o(1) lookup.STRING
HIGHmetaflow/_vendor/v3_7/zipp.py0return items in minuend not in subtrahend, retaining order with o(1) lookup.STRING
HIGHmetaflow/_vendor/v3_6/zipp.py0return items in minuend not in subtrahend, retaining order with o(1) lookup.STRING
HIGHmetaflow/_vendor/zipp.py0a zipfile subclass that ensures that implied directories are always included in the namelist.STRING
HIGHmetaflow/_vendor/v3_7/zipp.py0a zipfile subclass that ensures that implied directories are always included in the namelist.STRING
HIGHmetaflow/_vendor/v3_6/zipp.py0a zipfile subclass that ensures that implied directories are always included in the namelist.STRING
HIGHmetaflow/_vendor/zipp.py0if the name represents a directory, return that name as a directory (with the trailing slash).STRING
HIGHmetaflow/_vendor/v3_7/zipp.py0if the name represents a directory, return that name as a directory (with the trailing slash).STRING
HIGHmetaflow/_vendor/v3_6/zipp.py0if the name represents a directory, return that name as a directory (with the trailing slash).STRING
HIGHmetaflow/_vendor/zipp.py0given a source (filename or zipfile), return an appropriate completedirs subclass.STRING
HIGHmetaflow/_vendor/v3_7/zipp.py0given a source (filename or zipfile), return an appropriate completedirs subclass.STRING
HIGHmetaflow/_vendor/v3_6/zipp.py0given a source (filename or zipfile), return an appropriate completedirs subclass.STRING
HIGHmetaflow/_vendor/zipp.py0zipfile subclass to ensure implicit dirs exist and are resolved rapidly.STRING
HIGHmetaflow/_vendor/v3_7/zipp.py0zipfile subclass to ensure implicit dirs exist and are resolved rapidly.STRING
HIGHmetaflow/_vendor/v3_6/zipp.py0zipfile subclass to ensure implicit dirs exist and are resolved rapidly.STRING
HIGHmetaflow/_vendor/zipp.py0for path-like objects, convert to a filename for compatibility on python 3.6.1 and earlier.STRING
HIGHmetaflow/_vendor/v3_7/zipp.py0for path-like objects, convert to a filename for compatibility on python 3.6.1 and earlier.STRING
HIGHmetaflow/_vendor/v3_6/zipp.py0for path-like objects, convert to a filename for compatibility on python 3.6.1 and earlier.STRING
HIGHmetaflow/_vendor/zipp.py0a pathlib-compatible interface for zip files. consider a zip file with this structure:: . ├── a.txt └── b ├── c.txt └── STRING
HIGHmetaflow/_vendor/v3_7/zipp.py0a pathlib-compatible interface for zip files. consider a zip file with this structure:: . ├── a.txt └── b ├── c.txt └── STRING
HIGHmetaflow/_vendor/v3_6/zipp.py0a pathlib-compatible interface for zip files. consider a zip file with this structure:: . ├── a.txt └── b ├── c.txt └── STRING
HIGHmetaflow/_vendor/zipp.py0construct a path from a zipfile or filename. note: when the source is an existing zipfile object, its type (__class__) wSTRING
HIGHmetaflow/_vendor/v3_7/zipp.py0construct a path from a zipfile or filename. note: when the source is an existing zipfile object, its type (__class__) wSTRING
HIGHmetaflow/_vendor/v3_6/zipp.py0construct a path from a zipfile or filename. note: when the source is an existing zipfile object, its type (__class__) wSTRING
HIGHmetaflow/_vendor/zipp.py0open this entry as text or binary following the semantics of ``pathlib.path.open()`` by passing arguments through to io.STRING
HIGHmetaflow/_vendor/v3_7/zipp.py0open this entry as text or binary following the semantics of ``pathlib.path.open()`` by passing arguments through to io.STRING
HIGHmetaflow/_vendor/v3_6/zipp.py0open this entry as text or binary following the semantics of ``pathlib.path.open()`` by passing arguments through to io.STRING
HIGHmetaflow/_vendor/typing_extensions.py0this decorator can be used to indicate to type checkers that the decorated method cannot be overridden, and decorated clSTRING
HIGHmetaflow/_vendor/v3_7/typing_extensions.py0this decorator can be used to indicate to type checkers that the decorated method cannot be overridden, and decorated clSTRING
HIGHmetaflow/_vendor/v3_6/typing_extensions.py0this decorator can be used to indicate to type checkers that the decorated method cannot be overridden, and decorated clSTRING
HIGHmetaflow/_vendor/typing_extensions.py0a type that can be used to indicate to type checkers that the corresponding value has a value literally equivalent to thSTRING
HIGHmetaflow/_vendor/v3_7/typing_extensions.py0a type that can be used to indicate to type checkers that the corresponding value has a value literally equivalent to thSTRING
HIGHmetaflow/_vendor/v3_6/typing_extensions.py0a type that can be used to indicate to type checkers that the corresponding value has a value literally equivalent to thSTRING
HIGHmetaflow/_vendor/typing_extensions.py0check if an annotation is a typeddict class for example:: class film(typeddict): title: str year: int is_typeddict(film)STRING
HIGHmetaflow/_vendor/v3_7/typing_extensions.py0check if an annotation is a typeddict class for example:: class film(typeddict): title: str year: int is_typeddict(film)STRING
HIGHmetaflow/_vendor/v3_6/typing_extensions.py0check if an annotation is a typeddict class for example:: class film(typeddict): title: str year: int is_typeddict(film)STRING
HIGHmetaflow/_vendor/typing_extensions.py0strips annotated, required and notrequired from a given type.STRING
HIGHmetaflow/_vendor/v3_7/typing_extensions.py0strips annotated, required and notrequired from a given type.STRING
256 more matches not shown…
Hyper-Verbose Identifiers842 hits · 846 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md192def test_symlink_traversal_handles_circular_references():CODE
LOW⚡test/cmd/develop/test_stub_generator.py125 def test_get_element_name_forward_references(self):CODE
LOW⚡test/cmd/develop/test_stub_generator.py131 def test_get_element_name_string_annotations(self):CODE
LOW⚡test/cmd/develop/test_stub_generator.py136 def test_get_element_name_self_reference(self):CODE
LOW⚡test/cmd/develop/test_stub_generator.py142 def test_function_stub_generation(self):CODE
LOW⚡test/cmd/develop/test_stub_generator.py371 def test_get_element_name_error_handling_none_module(self):CODE
LOW⚡test/cmd/develop/test_stub_generator.py378 def test_get_element_name_error_handling_eval_failure(self):CODE
LOW⚡test/cmd/develop/test_stub_generator.py386 def test_get_element_name_generic_origin_without_name(self):CODE
LOWtest/cmd/develop/test_stub_generator.py46 def test_get_element_name_basic_types(self):CODE
LOWtest/cmd/develop/test_stub_generator.py59 def test_get_element_name_class_objects(self):CODE
LOWtest/cmd/develop/test_stub_generator.py70 def test_get_element_name_generic_alias_with_class_objects(self):CODE
LOWtest/cmd/develop/test_stub_generator.py87 def test_get_element_name_nested_generics(self):CODE
LOWtest/cmd/develop/test_stub_generator.py105 def test_get_element_name_callable_with_class_args(self):CODE
LOWtest/cmd/develop/test_stub_generator.py159 def test_class_stub_generation(self):CODE
LOWtest/cmd/develop/test_stub_generator.py178 def test_exploit_annotation_method(self):CODE
LOWtest/cmd/develop/test_stub_generator.py198 def test_imports_and_typing_imports(self):CODE
LOWtest/cmd/develop/test_stub_generator.py208 def test_safe_module_aliasing(self):CODE
LOWtest/cmd/develop/test_stub_generator.py228 def test_get_element_name_union_types(self):CODE
LOWtest/cmd/develop/test_stub_generator.py244 def test_get_element_name_tuple_types(self):CODE
LOWtest/cmd/develop/test_stub_generator.py259 def test_get_element_name_tuple_with_ellipsis(self):CODE
LOWtest/cmd/develop/test_stub_generator.py274 def test_get_element_name_callable_with_ellipsis(self):CODE
LOWtest/cmd/develop/test_stub_generator.py289 def test_get_element_name_newtype(self):CODE
LOWtest/cmd/develop/test_stub_generator.py299 def test_get_element_name_classvar(self):CODE
LOWtest/cmd/develop/test_stub_generator.py316 def test_get_element_name_final(self):CODE
LOWtest/cmd/develop/test_stub_generator.py330 def test_get_element_name_literal(self):CODE
LOWtest/cmd/develop/test_stub_generator.py343 def test_get_element_name_deeply_nested(self):CODE
LOWtest/cmd/develop/test_stub_generator.py403 def test_get_element_name_builtin_collections(self):CODE
LOWtest/cmd/develop/test_stub_generator.py423 def test_get_element_name_type_with_special_chars(self):CODE
LOWtest/cmd/develop/test_stub_generator.py436 def test_get_element_name_nested_classes(self):CODE
LOWtest/cmd/develop/test_stub_generator.py451 def test_generator_state_isolation(self):CODE
LOWtest/cmd/develop/test_stub_generator.py466 def test_get_element_name_nonetype_handling(self):CODE
LOWtest/cmd/develop/test_stub_generator.py489def test_class_objects_in_generic_types_no_leakage():CODE
LOWtest/cmd/diff/test_metaflow_diff.py20 def test_extract_code_package(self, mock_run):CODE
LOWtest/cmd/diff/test_metaflow_diff.py36 def test_perform_diff_output_false(self, mock_isatty, mock_run, use_tty):CODE
LOWtest/cmd/diff/test_metaflow_diff.py85 def test_perform_diff_output_true(self, mock_run):CODE
LOWtest/unit/test_serializer_lifecycle.py14def test_serializer_record_default_fields():CODE
LOWtest/unit/test_serializer_lifecycle.py27def test_serializer_record_as_dict():CODE
LOWtest/unit/test_serializer_lifecycle.py55def test_store_separates_all_vs_active():CODE
LOWtest/unit/test_serializer_lifecycle.py90def test_bootstrap_activates_dependency_free_serializer():CODE
LOWtest/unit/test_serializer_lifecycle.py174def test_bootstrap_missing_module_parks_entry():CODE
LOWtest/unit/test_serializer_lifecycle.py195def test_bootstrap_missing_class_in_module_broken():CODE
LOWtest/unit/test_serializer_lifecycle.py215def test_bootstrap_setup_imports_missing_dep_parks_entry():CODE
LOWtest/unit/test_serializer_lifecycle.py257def test_bootstrap_setup_imports_other_exception_broken():CODE
LOWtest/unit/test_serializer_lifecycle.py299def test_bootstrap_disabled_toggle():CODE
LOWtest/unit/test_serializer_lifecycle.py338def test_retry_activates_pending_record_on_module_import():CODE
LOWtest/unit/test_serializer_lifecycle.py402def test_retry_hits_loop_guard_after_repeated_failure():CODE
LOWtest/unit/test_serializer_lifecycle.py458def test_retry_fires_via_real_import_hook(tmp_path, monkeypatch):CODE
LOWtest/unit/test_serializer_lifecycle.py526def test_bootstrap_with_no_extensions_still_runs_core():CODE
LOWtest/unit/test_serializer_lifecycle.py554def test_bootstrap_stamps_core_source_on_record():CODE
LOWtest/unit/test_serializer_lifecycle.py576def test_bootstrap_entries_accepts_source_override():CODE
LOWtest/unit/test_serializer_lifecycle.py624def test_bootstrap_applies_disabled_toggle(monkeypatch):CODE
LOWtest/unit/test_serializer_lifecycle.py654def test_list_serializer_status_returns_dicts():CODE
LOWtest/unit/test_serializer_lifecycle.py700def test_reset_for_tests_clears_registry_state():CODE
LOWtest/unit/test_serializer_lifecycle.py134def test_bootstrap_rejects_name_type_mismatch():STRING
LOWtest/unit/test_sourceless_dag_node.py28def _make_dynamic_single_step_flow():CODE
LOWtest/unit/test_sourceless_dag_node.py41def test_dynamic_single_step_without_inspectable_source():CODE
LOWtest/unit/test_compute_resource_attributes.py8def test_compute_resource_attributes():CODE
LOWtest/unit/test_compute_resource_attributes.py50def test_compute_resource_attributes_string():CODE
LOWtest/unit/test_content_addressed_store.py67def test_load_blobs_error_message_uses_current_path_key(CODE
LOWtest/unit/test_to_pod.py29def test_to_pod_list_set_tuple():CODE
782 more matches not shown…
Decorative Section Separators193 hits · 735 pts
SeverityFileLineSnippetContext
MEDIUM⚡test/unit/test_graph_structure.py196# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_graph_structure.py198# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_graph_structure.py208# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_graph_structure.py210# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_graph_structure.py261# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_graph_structure.py263# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_graph_structure.py434# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_graph_structure.py436# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_graph_structure.py508# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_graph_structure.py510# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_graph_structure.py655# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_graph_structure.py657# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py23# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py126# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py128# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py168# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py170# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py314# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py316# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py338# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py340# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py366# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py368# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py544# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_graph_structure.py546# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_argo_nested_conditional_join.py19# ── Flows ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/unit/test_argo_nested_conditional_join.py233# ── Fixtures ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/unit/test_argo_nested_conditional_join.py295# ── Tests ────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡test/unit/test_system_context.py12# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py14# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py23# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py25# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py34# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py36# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py96# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py98# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py123# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py125# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py173# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py175# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py187# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py189# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py207# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py209# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py230# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py232# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py338# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py340# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py402# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py404# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py415# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_system_context.py417# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_add_to_package.py79# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_add_to_package.py81# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_add_to_package.py269# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_add_to_package.py271# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_add_to_package.py376# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡test/unit/test_add_to_package.py378# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/unit/test_add_to_package.py23# ---------------------------------------------------------------------------COMMENT
133 more matches not shown…
Empty Error Handlers138 hits · 690 pts
SeverityFileLineSnippetContext
HIGHtest/unit/test_pypi_parsers.py107except ParserValueError:CODE
HIGHtest/core/run_tests.py358except Exception:CODE
HIGHtest/core/tests/tag_catch.py93except KeyError:CODE
HIGHtest/core/tests/basic_parameters.py45except AttributeError:CODE
HIGHtest/core/tests/catch_retry.py91except KeyError:CODE
HIGHtest/core/tests/constants.py51except AttributeError:CODE
HIGHtest/core/tests/constants.py58except AttributeError:CODE
HIGHtest/core/tests/basic_config_parameters.py113except TypeError:CODE
HIGHtest/core/tests/basic_config_parameters.py119except TypeError:CODE
HIGHtest/core/tests/basic_include.py51except AttributeError:CODE
HIGHtest/ux/core/test_utils.py46except Exception:CODE
HIGHtest/ux/core/test_airflow_compilation.py128except ImportError:CODE
HIGHtest/ux/core/test_airflow_compilation.py56except OSError:CODE
HIGHtest/ux/core/test_airflow_compilation.py77except OSError:CODE
HIGHtest/ux/core/test_airflow_compilation.py154except OSError:CODE
HIGHtest/data/s3/conftest.py66except AttributeError:CODE
HIGHtest/data/s3/conftest.py54except AttributeError:CODE
HIGHmetaflow/exception.py173except KeyError:CODE
HIGHmetaflow/graph.py491except ValueError:CODE
HIGHmetaflow/metaflow_config.py789except KeyError:CODE
HIGHmetaflow/__init__.py202except KeyError:CODE
HIGHmetaflow/runtime.py1043except Exception as ex:CODE
HIGHmetaflow/runtime.py2416except:CODE
HIGHmetaflow/runtime.py2437except:CODE
HIGHmetaflow/runtime.py1705except ValueError:CODE
HIGHmetaflow/runtime.py1718except DataException as e:CODE
HIGHmetaflow/metaflow_version.py34except subprocess.CalledProcessError:CODE
HIGHmetaflow/cmd/develop/stub_generator.py547except:CODE
HIGHmetaflow/cmd/develop/stub_generator.py140except:CODE
HIGHmetaflow/cmd/develop/stub_generator.py144except:CODE
HIGHmetaflow/tracing/tracing_modules.py51except ImportError:CODE
HIGHmetaflow/cli_components/run_cmds.py280except (TypeError, ValueError):CODE
HIGHmetaflow/mflog/mflog.py88except:CODE
HIGHmetaflow/mflog/save_logs_periodically.py41except BaseException:CODE
HIGHmetaflow/mflog/save_logs_periodically.py114except:CODE
HIGHmetaflow/_vendor/typing_extensions.py3590except ImportError:CODE
HIGHmetaflow/_vendor/typing_extensions.py247except (AttributeError, TypeError):CODE
HIGHmetaflow/_vendor/typing_extensions.py381except AttributeError:CODE
HIGHmetaflow/_vendor/typing_extensions.py2721except (AttributeError, TypeError):CODE
HIGHmetaflow/_vendor/typing_extensions.py302except TypeError:CODE
HIGHmetaflow/_vendor/typing_extensions.py3157except AttributeError:CODE
HIGHmetaflow/_vendor/packaging/tags.py208except ValueError:CODE
HIGHmetaflow/_vendor/packaging/markers.py106except InvalidSpecifier:CODE
HIGHmetaflow/_vendor/click/_winconsole.py211except Exception:CODE
HIGHmetaflow/_vendor/click/types.py726except TypeError:CODE
HIGHmetaflow/_vendor/click/parser.py116except UnicodeError:CODE
HIGHmetaflow/_vendor/click/termui.py258except Exception:CODE
HIGHmetaflow/_vendor/click/termui.py677except (KeyboardInterrupt, EOFError):CODE
HIGHmetaflow/_vendor/click/utils.py42except Exception:CODE
HIGHmetaflow/_vendor/click/_compat.py205except ImportError:CODE
HIGHmetaflow/_vendor/click/_compat.py220except ImportError:CODE
HIGHmetaflow/_vendor/click/_compat.py686except ImportError:CODE
HIGHmetaflow/_vendor/click/_compat.py94except Exception:CODE
HIGHmetaflow/_vendor/click/_compat.py764except Exception:CODE
HIGHmetaflow/_vendor/click/_compat.py212except Exception:CODE
HIGHmetaflow/_vendor/click/_compat.py227except Exception:CODE
HIGHmetaflow/_vendor/click/_compat.py613except OSError:CODE
HIGHmetaflow/_vendor/click/_compat.py718except Exception:CODE
HIGHmetaflow/_vendor/click/_compat.py82except Exception:CODE
HIGHmetaflow/_vendor/click/_compat.py303except Exception:CODE
78 more matches not shown…
Unused Imports574 hits · 531 pts
SeverityFileLineSnippetContext
LOWtest/cmd/diff/test_metaflow_diff.py7CODE
LOWtest/cmd/diff/test_metaflow_diff.py7CODE
LOWtest/unit/test_serializer_lifecycle.py6CODE
LOWtest/unit/test_serializer_lifecycle.py529CODE
LOWtest/unit/test_serializer_lifecycle.py505CODE
LOWtest/unit/conftest.py3CODE
LOWtest/unit/test_graph_structure.py16CODE
LOWtest/unit/test_system_context.py3CODE
LOWtest/unit/test_system_context.py3CODE
LOWtest/unit/test_add_to_package.py10CODE
LOWtest/unit/test_add_to_package.py12CODE
LOWtest/unit/test_serializer_integration.py13CODE
LOWtest/unit/test_serializer_integration.py14CODE
LOWtest/unit/test_pickle_serializer.py1CODE
LOWtest/unit/test_s3_empty_input.py19CODE
LOWtest/unit/spin/test_spin.py4CODE
LOWtest/unit/spin/flows/complex_dag_flow.py1CODE
LOWtest/unit/spin/flows/complex_dag_flow.py1CODE
LOWtest/unit/spin/flows/complex_dag_flow.py1CODE
LOWtest/unit/configs/test_config_plain.py10CODE
LOWtest/unit/configs/test_config_naming.py11CODE
LOWtest/parallel/pytorch_parallel_test_flow.py1CODE
LOWtest/parallel/parallel_test_flow.py1CODE
LOWtest/core/run_tests.py1CODE
LOWtest/core/run_tests.py22CODE
LOW…flow_extensions/test_org/plugins/frameworks/pytorch.py1CODE
LOWtest/core/tests/card_timeout.py1CODE
LOWtest/core/tests/card_extension_test.py1CODE
LOWtest/core/tests/foreach_in_switch.py1CODE
LOWtest/core/tests/timeout_decorator.py1CODE
LOWtest/core/tests/card_simple.py1CODE
LOWtest/core/tests/large_artifact.py1CODE
LOWtest/core/tests/dynamic_parameters.py1CODE
LOWtest/core/tests/tag_catch.py1CODE
LOWtest/core/tests/resume_foreach_inner.py1CODE
LOWtest/core/tests/flow_options.py1CODE
LOWtest/core/tests/project_branch.py1CODE
LOWtest/core/tests/project_branch.py1CODE
LOWtest/core/tests/card_error.py2CODE
LOWtest/core/tests/resume_originpath.py1CODE
LOWtest/core/tests/card_id_append.py1CODE
LOWtest/core/tests/card_default_editable_with_id.py1CODE
LOWtest/core/tests/wide_foreach.py1CODE
LOWtest/core/tests/catch_retry.py1CODE
LOWtest/core/tests/catch_retry.py21CODE
LOWtest/core/tests/catch_retry.py35CODE
LOWtest/core/tests/catch_retry.py45CODE
LOWtest/core/tests/run_id_file.py1CODE
LOWtest/core/tests/basic_unbounded_foreach.py1CODE
LOWtest/core/tests/secrets_decorator.py1CODE
LOWtest/core/tests/constants.py1CODE
LOWtest/core/tests/merge_artifacts_propagation.py1CODE
LOWtest/core/tests/merge_artifacts.py1CODE
LOWtest/core/tests/resume_foreach_join.py1CODE
LOWtest/core/tests/current_singleton.py1CODE
LOWtest/core/tests/large_mflog.py1CODE
LOWtest/core/tests/card_default_editable.py1CODE
LOWtest/core/tests/basic_log.py1CODE
LOWtest/core/tests/basic_artifact.py1CODE
LOWtest/core/tests/basic_artifact.py28CODE
514 more matches not shown…
Deep Nesting417 hits · 392 pts
SeverityFileLineSnippetContext
LOWtest/unit/test_add_to_package.py325CODE
LOWtest/core/run_tests.py42CODE
LOWtest/core/run_tests.py96CODE
LOWtest/core/run_tests.py500CODE
LOWtest/core/run_tests.py107CODE
LOWtest/core/test_core_pytest.py24CODE
LOWtest/core/tests/timeout_decorator.py34CODE
LOWtest/core/tests/tag_catch.py74CODE
LOWtest/core/tests/card_default_editable_with_id.py46CODE
LOWtest/core/tests/catch_retry.py72CODE
LOWtest/core/tests/large_mflog.py67CODE
LOWtest/core/tests/card_default_editable.py80CODE
LOWtest/core/tests/resume_succeeded_step.py47CODE
LOWtest/core/tests/basic_tags.py32CODE
LOWtest/core/tests/resume_end_step.py39CODE
LOWtest/core/tests/card_multiple.py61CODE
LOWtest/core/metaflow_test/formatter.py97CODE
LOWtest/core/metaflow_test/metadata_check.py53CODE
LOWtest/core/metaflow_test/cli_check.py39CODE
LOWtest/plugins/conda/test_conda_environment_unit.py16CODE
LOWtest/ux/conftest.py192CODE
LOWtest/ux/core/test_sfn_compilation.py123CODE
LOWtest/ux/core/test_sfn_compilation.py134CODE
LOWtest/ux/core/test_airflow_compilation.py82CODE
LOWtest/ux/core/flows/config/mutable_flow.py28CODE
LOWtest/data/s3/conftest.py28CODE
LOWtest/data/s3/s3_data.py218CODE
LOWtest/data/s3/s3_data.py307CODE
LOWtest/data/s3/s3_data.py361CODE
LOWtest/data/s3/s3_data.py455CODE
LOWtest/data/s3/s3_data.py501CODE
LOWtest/data/s3/s3_data.py522CODE
LOWtest/data/s3/test_s3.py44CODE
LOWtest/data/s3/test_s3.py437CODE
LOWtest/data/s3/test_s3.py523CODE
LOWtest/data/s3/test_s3.py553CODE
LOWtest/data/s3/test_s3.py703CODE
LOWmetaflow/task.py67CODE
LOWmetaflow/task.py317CODE
LOWmetaflow/task.py570CODE
LOWmetaflow/vendor.py66CODE
LOWmetaflow/R.py26CODE
LOWmetaflow/includefile.py442CODE
LOWmetaflow/includefile.py521CODE
LOWmetaflow/multicore_utils.py48CODE
LOWmetaflow/util.py182CODE
LOWmetaflow/util.py415CODE
LOWmetaflow/util.py460CODE
LOWmetaflow/util.py632CODE
LOWmetaflow/util.py638CODE
LOWmetaflow/events.py165CODE
LOWmetaflow/graph.py11CODE
LOWmetaflow/graph.py171CODE
LOWmetaflow/graph.py221CODE
LOWmetaflow/graph.py432CODE
LOWmetaflow/graph.py486CODE
LOWmetaflow/graph.py591CODE
LOWmetaflow/graph.py487CODE
LOWmetaflow/graph.py595CODE
LOWmetaflow/graph.py648CODE
357 more matches not shown…
Excessive Try-Catch Wrapping230 hits · 268 pts
SeverityFileLineSnippetContext
LOWtest/test_included_modules/my_decorators.py39 except Exception as e:CODE
MEDIUMtest/test_included_modules/my_decorators.py40 print(f"Error in step {step_name}: {e}")CODE
LOWtest/unit/test_aws_util.py37 except Exception as e:CODE
MEDIUMtest/unit/localbatch/test_localbatch.py221def _require_docker(self):CODE
MEDIUMtest/unit/localbatch/test_localbatch.py352def _require_docker(self):CODE
LOW⚡test/unit/localbatch/test_localbatch.py226 except Exception:CODE
LOWtest/unit/localbatch/test_localbatch.py290 except Exception:CODE
LOWtest/unit/localbatch/test_localbatch.py357 except Exception:CODE
LOW⚡test/unit/localbatch/conftest.py53 except Exception:CODE
LOWtest/unit/localbatch/conftest.py105 except Exception:CODE
MEDIUMtest/unit/localbatch/conftest.py38def _localbatch_available():CODE
LOWtest/core/conftest.py52 except Exception as e:CODE
LOWtest/core/run_tests.py358 except Exception:CODE
LOWtest/core/tests/runtime_dag.py121 except Exception as e:CODE
LOWtest/core/tests/runtime_dag.py176 except Exception as e:CODE
LOWtest/core/metaflow_test/__init__.py148 except Exception as ex:CODE
MEDIUMtest/core/metaflow_test/__init__.py143def assert_exception(func, exception):CODE
LOWtest/plugins/conda/test_conda_environment_unit.py32 except Exception as e:CODE
MEDIUMtest/plugins/conda/test_conda_environment_unit.py16def _write_manifest_worker(manifest_path, thread_id, writes_per_thread, errors, CODE
LOWtest/ux/conftest.py205 except Exception:CODE
LOWtest/ux/core/test_utils.py46 except Exception:CODE
LOWtest/ux/core/test_sfn_compilation.py110 except Exception as e:CODE
LOWtest/ux/core/test_airflow_compilation.py74 except Exception:CODE
LOWtest/ux/core/test_resume.py109 except Exception as e:CODE
LOWtest/ux/core/test_resume.py158 except Exception as e:CODE
LOWtest/env_escape/example.py209 except Exception as e:CODE
LOWtest/env_escape/example.py220 except Exception as e:CODE
LOWtest/env_escape/example.py231 except Exception as e:CODE
LOWtest/env_escape/example.py242 except Exception as e:CODE
LOWmetaflow/task.py119 except Exception as ex:CODE
LOWmetaflow/task.py127 except Exception as ex:CODE
LOWmetaflow/task.py955 except Exception as ex:CODE
LOWmetaflow/task.py1003 except Exception as ex:CODE
LOWmetaflow/R.py144 except Exception as e:CODE
LOWmetaflow/includefile.py355 except Exception as e:CODE
LOWmetaflow/util.py627 except Exception as e:CODE
LOWmetaflow/__init__.py83except Exception as e:CODE
MEDIUMmetaflow/runtime.py598def clone_task(CODE
MEDIUMmetaflow/runtime.py997def _run_exit_hooks(self):CODE
LOWmetaflow/runtime.py141 except Exception:CODE
LOWmetaflow/runtime.py304 except Exception as ex:CODE
LOWmetaflow/runtime.py540 except Exception:CODE
LOWmetaflow/runtime.py652 except Exception as e:CODE
LOWmetaflow/runtime.py959 except Exception as ex:CODE
LOWmetaflow/runtime.py1032 except Exception as e:CODE
LOWmetaflow/runtime.py1043 except Exception as ex:CODE
LOWmetaflow/flowspec.py1123 except Exception as e:CODE
LOWmetaflow/cli.py751 except Exception as x:CODE
LOWmetaflow/pylint_wrapper.py48 except Exception as e:CODE
LOWmetaflow/parameters.py272 except Exception as e:CODE
MEDIUMmetaflow/parameters.py269def __call__(self, return_str=False):CODE
LOWmetaflow/cmd/make_wrapper.py58 except Exception:CODE
LOWmetaflow/cmd/code/__init__.py32 except Exception as e:CODE
LOWmetaflow/tracing/tracing_modules.py98 except Exception as e: # pylint: disable=broad-exceptCODE
LOWmetaflow/tracing/tracing_modules.py114 except Exception:CODE
MEDIUMmetaflow/tracing/tracing_modules.py111def get_trace_id() -> str:CODE
LOWmetaflow/mflog/__init__.py127 except Exception as ex:CODE
MEDIUMmetaflow/mflog/__init__.py117def _available_logs(tail, stream, echo, should_persist=False):CODE
LOWmetaflow/_vendor/typing_extensions.py762 except Exception as e:CODE
LOWmetaflow/_vendor/click/_winconsole.py211 except Exception:CODE
170 more matches not shown…
Over-Commented Block179 hits · 170 pts
SeverityFileLineSnippetContext
LOWtest/unit/test_pypi_parsers.py21# use `rye lock` or `rye sync` to update this lockfileCOMMENT
LOWtest/core/tests/large_mflog.py121 # GitHub CI runner is constrained on resources causingCOMMENT
LOWtest/ux/ux_test_config.yaml1######################################COMMENT
LOWR/R/utils.R61 return(r_obj)COMMENT
LOWR/R/utils.R81#' @param self the metaflow self object for each step functionCOMMENT
LOWR/R/utils.R101#' \preformatted{COMMENT
LOWR/R/utils.R141COMMENT
LOWR/R/utils.R201 x <- escape_bool(x)COMMENT
LOWR/R/decorators.R1#' Metaflow Decorator.COMMENT
LOWR/R/decorators.R41 xCOMMENT
LOWR/R/decorators.R61#' #> c("@batch(cpu=4)", "\n", "@retry", "\n")COMMENT
LOWR/R/task_client.R1#' task_clientCOMMENT
LOWR/R/parameter.R1#' Assign parameter to the flowCOMMENT
LOWR/R/install.R1#' Install Metaflow Python packageCOMMENT
LOWR/R/install.R101 )COMMENT
LOWR/R/step_client.R1#' step_clientCOMMENT
LOWR/R/step.R1#' Assign a step to the flowCOMMENT
LOWR/R/decorators-aws.R1#' Decorator that configures resources allocated to a stepCOMMENT
LOWR/R/decorators-aws.R21#' \href{https://hub.docker.com/r/rocker/ml}{Rocker Docker image} will beCOMMENT
LOWR/R/decorators-aws.R41#' step. A swappiness value of `0` causes swapping not to happen unlessCOMMENT
LOWR/R/decorators-aws.R61#' message(COMMENT
LOWR/R/imports.R1#' Pipe operatorCOMMENT
LOWR/R/decorators-environment.R1#' Decorator that sets environment variables during step executionCOMMENT
LOWR/R/metadata.R1#' Switch Metadata providerCOMMENT
LOWR/R/metadata.R21#' @return String type. Information about the Metadata provider currently selected.COMMENT
LOWR/R/namespace.R1#' Switch to a namespace specified by the given tag.COMMENT
LOWR/R/flow_client.R1#' flow_clientCOMMENT
LOWR/R/flow_client.R21#' f$run(f$latest_run)COMMENT
LOWR/R/decorators-errors.R1#' Decorator that configures a step to retry upon failureCOMMENT
LOWR/R/decorators-errors.R21#' @examples \dontrun{COMMENT
LOWR/R/decorators-errors.R41#' next_step="end") %>%COMMENT
LOWR/R/decorators-errors.R61#' See \url{https://docs.metaflow.org/v/r/metaflow/failures#catching-exceptions-with-the-catch-decorator}COMMENT
LOWR/R/decorators-errors.R81#' "Error is : ", self$start_failedCOMMENT
LOWR/R/metaflow_client.R1#' Instantiate Metaflow flow/run/step/task clientCOMMENT
LOWR/R/metaflow_client.R21#' s <- client$step(r, step_id)COMMENT
LOWR/R/metaflow_client.R41 #' Create a metaflow RunClient R6 object from a FlowClient R6 object and run_idCOMMENT
LOWR/R/metaflow_client.R61 #' @param step_client step clientCOMMENT
LOWR/R/package.R1#' @description R binding for Metaflow. Metaflow is a human-friendly Python/R libraryCOMMENT
LOWR/R/run.R1#' Run metaflowCOMMENT
LOWR/R/run_client.R1#' run_clientCOMMENT
LOWR/R/run_client.R21#' r$finished_atCOMMENT
LOWR/inst/tutorials/01-playlist/playlist.R1# A flow to help you build your favorite movie playlist.COMMENT
LOWdevtools/ci/forward-bridge-ports.sh1#!/usr/bin/env bashCOMMENT
LOWdevtools/tilt/k8s/minio.yaml1# Standalone MinIO for the devstack.COMMENT
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/ux-tests.yml1name: TestsCOMMENT
LOWmetaflow/task.py81 # If we have wrappers w1, w2 and w3, we need to executeCOMMENT
LOWmetaflow/task.py421 # We track the iteration "stack" for loops. At this time, weCOMMENT
LOWmetaflow/cli_args.py1# This class provides a global singleton `cli_args` which stores the `top` andCOMMENT
LOWmetaflow/includefile.py101 def __init__(self, is_text, encoding):COMMENT
LOWmetaflow/includefile.py121 # - Scenario B: A path. The path can either be:COMMENT
LOWmetaflow/includefile.py161 if prefix_pos > 0:COMMENT
LOWmetaflow/includefile.py321 # second case, we can just return the string as the FilePath.convert methodCOMMENT
LOWmetaflow/multicore_utils.py21COMMENT
LOWmetaflow/util.py641 for d in dirs:COMMENT
LOWmetaflow/graph.py21 # This is the second lineCOMMENT
LOWmetaflow/graph.py61 if hasattr(ast, "Str") and isinstance(node, ast.Str):COMMENT
LOWmetaflow/graph.py81# callers that don't (FunctionSpec-style synthesized single steps) supplyCOMMENT
LOWmetaflow/metaflow_config.py21COMMENT
LOWmetaflow/metaflow_config.py141# so setting it to 0 means each operation will be tried once.COMMENT
119 more matches not shown…
Cross-Language Confusion20 hits · 132 pts
SeverityFileLineSnippetContext
HIGH⚡test/unit/test_argo_nested_conditional_join.py310 assert _depends(aw, "inner_join") == "b-sub-a.Succeeded || b-sub-b.Succeeded"CODE
HIGH⚡test/unit/test_argo_nested_conditional_join.py311 assert _depends(aw, "outer_join") == "a-branch-b.Succeeded || inner-join.Succeeded"CODE
HIGH⚡test/unit/test_argo_nested_conditional_join.py326 assert _depends(aw, "inner_join") == "x-sub-a.Succeeded || x-sub-b.Succeeded"CODE
HIGH⚡test/unit/test_argo_nested_conditional_join.py327 assert _depends(aw, "outer_join") == "inner-join.Succeeded || z-branch-b.Succeeded"CODE
HIGH⚡test/unit/test_argo_nested_conditional_join.py339 assert _depends(aw, "join") == "left.Succeeded || right.Succeeded"CODE
HIGH⚡test/unit/test_argo_nested_conditional_join.py347 assert _depends(aw, "join1") == "left.Succeeded || right.Succeeded"CODE
HIGH⚡test/unit/test_argo_nested_conditional_join.py348 assert _depends(aw, "join2") == "down.Succeeded || up.Succeeded"CODE
HIGH⚡test/unit/test_argo_nested_conditional_join.py357 assert _depends(aw, "merge") == "shortcut.Succeeded || step-c.Succeeded"CODE
HIGH⚡test/unit/localbatch/test_localbatch.py233 command=["sh", "-c", "echo success && exit 0"],CODE
HIGHtest/ux/core/test_lifecycle.py128 # New default path: list field, no null, legacy field absent.COMMENT
HIGHmetaflow/_vendor/click/_termui_impl.py527 return subprocess.Popen(args, stderr=null).wait()CODE
HIGH…plugins/azure/azure_secret_manager_secrets_provider.py77 # if the secret_id is None/empty/does not start with https then return falseCOMMENT
HIGH…plugins/azure/azure_secret_manager_secrets_provider.py188 # if the secret_id is None/empty/does not start with https then return falseCOMMENT
HIGHmetaflow/plugins/airflow/airflow.py603 cmd = "if ! %s >/dev/null 2>/dev/null; then %s && %s; fi" % (CODE
HIGHmetaflow/plugins/aws/step_functions/step_functions.py134 self._state_machine_arn = self._client.push(CODE
HIGHmetaflow/plugins/aws/step_functions/step_functions.py1003 cmd = "if ! %s >/dev/null 2>/dev/null; then %s && %s; fi" % (CODE
HIGHmetaflow/plugins/aws/batch/batch.py96 cmd_str = "true && mkdir -p %s && %s && %s && %s; " % (CODE
HIGHmetaflow/plugins/kubernetes/kubernetes.py124 cmd_str = "true && mkdir -p %s && %s && %s && %s; " % (CODE
HIGHmetaflow/plugins/argo/argo_workflows.py2250 "if ! %s >/dev/null 2>/dev/null; then %s; fi"CODE
HIGHmetaflow/plugins/argo/argo_client.py342 # `schedules` is a list field; use an empty list (not null) whenCOMMENT
Self-Referential Comments42 hits · 124 pts
SeverityFileLineSnippetContext
MEDIUMtest/cmd/develop/test_stub_generator.py72 # Create a generic alias with class objects as argumentsCOMMENT
MEDIUMtest/cmd/develop/test_stub_generator.py89 # Create a complex nested type: Dict[str, List[Optional[TestClass]]]COMMENT
MEDIUMtest/cmd/develop/test_stub_generator.py425 # Create a class with special charactersCOMMENT
MEDIUMtest/cmd/develop/test_stub_generator.py495 # Create the exact problematic type from the original issueCOMMENT
MEDIUMtest/unit/spin/test_spin.py56 # Create a temporary artifacts file with dynamic dataCOMMENT
MEDIUMtest/unit/spin/artifacts/complex_dag_step_d.py1# This file is kept for backwards compatibility but should not be used directlyCOMMENT
MEDIUMtest/test_config/test.py68 # Create the flowCOMMENT
MEDIUMmetaflow/tuple_util.py16# Define the namedtuple with default here if they need to be accessible in clientCOMMENT
MEDIUMmetaflow/cli_args.py1# This class provides a global singleton `cli_args` which stores the `top` andCOMMENT
MEDIUMmetaflow/util.py459# This function is imported from https://github.com/cookiecutter/whichcraftCOMMENT
MEDIUMmetaflow/metaflow_config_funcs.py36 # This function is heavily inspired from LocalStorage.get_datastore_root_from_configCOMMENT
MEDIUMmetaflow/runtime.py204 # Create a new run_id for the spin taskCOMMENT
MEDIUMmetaflow/metaflow_version.py8# This file is adapted from https://github.com/aebrahim/python-git-versionCOMMENT
MEDIUMmetaflow/_vendor/packaging/tags.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMmetaflow/_vendor/packaging/version.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMmetaflow/_vendor/packaging/__init__.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMmetaflow/_vendor/packaging/utils.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMmetaflow/_vendor/packaging/requirements.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMmetaflow/_vendor/packaging/_structures.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMmetaflow/_vendor/packaging/markers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMmetaflow/_vendor/packaging/specifiers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMmetaflow/_vendor/click/_winconsole.py2# This module is based on the excellent work by Adam Bartoš whoCOMMENT
MEDIUMmetaflow/_vendor/yaml/reader.py1# This module contains abstractions for the input stream. You don't have toCOMMENT
MEDIUMmetaflow/_vendor/v3_7/typeguard/_decorators.py101 # Create a new closure and find values for the new free variablesCOMMENT
MEDIUMmetaflow/_vendor/v3_6/typing_extensions.py1128 # This method is called directly when TypedDict is subclassed,COMMENT
MEDIUMmetaflow/_vendor/typeguard/_decorators.py99 # Create a new closure and find values for the new free variablesCOMMENT
MEDIUMmetaflow/plugins/pypi/conda_environment.py437 # Create a stable unique id for the environment.COMMENT
MEDIUMmetaflow/plugins/cards/card_modules/components.py1140 # Create an events componentSTRING
MEDIUMmetaflow/plugins/datatools/s3/s3tail.py22 # This method is required by @aws_retryCOMMENT
MEDIUMmetaflow/plugins/metadata_providers/local.py25 # This method is meant to be overriddenCOMMENT
MEDIUMmetaflow/plugins/env_escape/server.py391 # This function is called to pickle obj to be transferred to the clientCOMMENT
MEDIUMmetaflow/plugins/env_escape/client.py512 # This function is called to pickle obj to be transferred back to theCOMMENT
MEDIUMmetaflow/plugins/env_escape/client.py527 # This function is called when the server sends a remote reference.COMMENT
MEDIUMmetaflow/plugins/env_escape/exception_transferer.py12# This file is heavily inspired from the RPYC projectCOMMENT
MEDIUMmetaflow/plugins/argo/argo_workflows.py2646 # Create a ContainerTemplate for this node. Ideally, we would haveCOMMENT
MEDIUMmetaflow/runner/deployer_impl.py17# This file is needed in any of the DeployerImpl implementationsCOMMENT
MEDIUMmetaflow/extension_support/cmd.py15# This file is identical in functionality to the plugins.py file. Please refer to thatCOMMENT
MEDIUMmetaflow/extension_support/__init__.py21# This file provides the support for Metaflow's extension mechanism which allowsCOMMENT
MEDIUMmetaflow/extension_support/integrations.py8# This file is similar in functionality to the cmd.py file. Please refer to thatCOMMENT
MEDIUMmetaflow/system/system_utils.py9# This function is used to initialize the environment outside a flow.COMMENT
MEDIUMmetaflow/tutorials/04-playlist-plus/playlist.py91 # Define a helper function to compute the similarity between twoCOMMENT
MEDIUMmetaflow/user_configs/config_options.py198 # This function is called by click when processing all the --config andCOMMENT
AI Slop Vocabulary50 hits · 96 pts
SeverityFileLineSnippetContext
MEDIUM⚡test/unit/inheritance/test_inheritance.py212 """Test comprehensive multiple inheritance from independent hierarchies"""STRING
MEDIUMtest/unit/inheritance/test_inheritance.py17 """Test comprehensive linear inheritance: FlowSpec -> BaseA -> BaseB -> BaseC -> Flow"""STRING
MEDIUMtest/unit/inheritance/test_inheritance.py152 """Test comprehensive diamond inheritance pattern"""STRING
MEDIUMR/R/package.R4#' who work on a wide variety of projects from classical statistics to state-of-the-art deep learning.COMMENT
LOWmetaflow/task.py221 # Reset the parameter to just return the value now that we have loaded itCOMMENT
LOWmetaflow/task.py444 # steps are *never* part of an iteration, we can simplify and just set itCOMMENT
LOWmetaflow/includefile.py173 # # just return a blob indicating how to get the file.COMMENT
LOWmetaflow/includefile.py321 # second case, we can just return the string as the FilePath.convert methodCOMMENT
LOWmetaflow/metaflow_config_funcs.py74 # By default, we just return non-null values and thatCOMMENT
MEDIUMmetaflow/metaflow_config.py64# Essentially a whitelist of decorators that are allowed in Spin stepsCOMMENT
MEDIUMmetaflow/metaflow_config.py80# Essentially a blacklist of decorators that are not allowed in Spin stepsCOMMENT
MEDIUMmetaflow/runtime.py437 # leverage the TaskDataStoreSet abstraction to prefetch theCOMMENT
LOWmetaflow/_vendor/packaging/specifiers.py459 # version. If it's not we can short circuit and just return False nowSTRING
LOWmetaflow/_vendor/packaging/specifiers.py484 # version. If it's not we can short circuit and just return False nowSTRING
LOWmetaflow/_vendor/packaging/specifiers.py728 # then we'll just return None since we don't know if this should haveSTRING
LOWmetaflow/_vendor/v3_7/typeguard/_transformer.py455 # If the transformer erased the slice entirely, just return the nodeCOMMENT
LOWmetaflow/_vendor/typeguard/_transformer.py457 # If the transformer erased the slice entirely, just return the nodeCOMMENT
MEDIUMmetaflow/plugins/pypi/pypi_decorator.py85 # We should introduce a more robust mechanism for appending supported environments, for example from within exteCOMMENT
MEDIUMmetaflow/plugins/pypi/pypi_decorator.py162 # We should introduce a more robust mechanism for appending supported environments, for example from within exteCOMMENT
MEDIUMmetaflow/plugins/pypi/conda_decorator.py120 # We should introduce a more robust mechanism for appending supported environments, for example from within exteCOMMENT
MEDIUMmetaflow/plugins/pypi/conda_decorator.py358 # We should introduce a more robust mechanism for appending supported environments, for example from within exteCOMMENT
MEDIUMmetaflow/plugins/datastores/azure_storage.py231 # But checking blob_type is more robustCOMMENT
LOWmetaflow/plugins/datastores/azure_storage.py248 # inline as a class member. So let's just return a regular tuple. list_content()COMMENT
LOW⚡metaflow/plugins/azure/azure_utils.py149 # In most cases, we take a fast path - we always just return that fixed token.COMMENT
LOWmetaflow/plugins/secrets/secrets_spec.py56 # + in this case, user can simply set "azure-key-vault.aws-secrets-manager.XYZ" instead!COMMENT
LOWmetaflow/plugins/cards/component_serializer.py604 # since `editable_cards_meta` hold only `editable=True` by default we can just set this card here.COMMENT
MEDIUMmetaflow/plugins/cards/ui/package-lock.json5032 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
LOWmetaflow/plugins/cards/card_modules/chevron/renderer.py58 # Then just return the current scopeCOMMENT
LOWmetaflow/plugins/gcp/gs_tail.py50 # otherwise download_as_bytes will simply return the same content for consecutive requests with the same attCOMMENT
LOWmetaflow/plugins/airflow/airflow.py214 # we can just use the `default` to infer the object's type.COMMENT
LOWmetaflow/plugins/metadata_providers/local.py65 # We currently just use the timestamp to create an ID. We can be reasonably certainCOMMENT
MEDIUMmetaflow/plugins/env_escape/server.py277 # Keep the print line to facilitate debuggingCOMMENT
LOWmetaflow/plugins/env_escape/client.py61 # Typically it's one override per config so we just use the first one.COMMENT
LOWmetaflow/plugins/env_escape/stub.py263 # the first case. If that is the case, we just pass everything down to theCOMMENT
LOWmetaflow/plugins/aws/step_functions/step_functions.py567 # identity, we will just set their user to `SFN`. We still do needCOMMENT
LOWmetaflow/plugins/aws/batch/batch_decorator.py151 # If metaflow-config specifies a docker image, just use that.COMMENT
MEDIUMmetaflow/plugins/kubernetes/kubernetes_job.py413 # themselves, state machines, nor do we define comprehensive stateCOMMENT
LOWmetaflow/plugins/kubernetes/kubernetes_decorator.py286 # If metaflow-config specifies a docker image, just use that.COMMENT
MEDIUMmetaflow/plugins/argo/argo_workflows.py1752 # thing as the foreach node. We will leverage a similar pattern for theCOMMENT
MEDIUMmetaflow/plugins/argo/argo_workflows.py1797 # we can piggyback on the current mechanism with which we leverage argo.COMMENT
MEDIUMmetaflow/plugins/argo/argo_workflows.py3893 # Service accounts are a hard requirement since we utilize theCOMMENT
LOWmetaflow/plugins/argo/argo_workflows.py1335 # we cant just use hyphens with sprig.COMMENT
LOWmetaflow/metadata_provider/metadata.py451 # If no attempt or not for metadata, just return as isCOMMENT
LOWmetaflow/extension_support/plugins.py162 # If we have no name function, it means we just use the name in the dictionaryCOMMENT
MEDIUMmetaflow/extension_support/__init__.py43# typically used in conjunction with lazy_load_aliases which takes care of actuallyCOMMENT
LOWmetaflow/extension_support/__init__.py1078 # We are aliasing a module, so we just return that oneCOMMENT
LOWmetaflow/datastore/task_datastore.py167 # We already loaded the data metadata so just use thatCOMMENT
LOWmetaflow/user_decorators/user_step_decorator.py267 # If we are ignoring duplicates, we just return None to signal thatCOMMENT
MEDIUMmetaflow/client/core.py1760 # just failed to record metadata. We could make this logic more robustCOMMENT
LOWmetaflow/client/core.py2150 # All tasks have the same environment info so just use the first oneCOMMENT
Redundant / Tautological Comments44 hits · 69 pts
SeverityFileLineSnippetContext
LOWtest/core/metaflow_test/__init__.py128 # Check if the keys matchCOMMENT
LOWtest/data/s3/s3_data.py506 # Check if the data exists and has been modified in the lastCOMMENT
LOWmetaflow/includefile.py181 # Check if this is a valid local fileCOMMENT
LOWmetaflow/graph.py242 # Check if first argument is a dictionary (switch case)COMMENT
LOWmetaflow/metaflow_config.py707# Check if there are extensions to Metaflow to load and override everythingCOMMENT
LOWmetaflow/runtime.py1107 # Check if we are entering a looping construct. Right now, only recursiveCOMMENT
LOWmetaflow/runtime.py1741 # Check if we should be the resume leader (maybe from previous attempt).COMMENT
LOWmetaflow/runtime.py1797 # Check if resume is complete. Resume leader will write the done file.COMMENT
LOWmetaflow/flowspec.py831 # Check if everything in include is present in to_mergeCOMMENT
LOWmetaflow/cli.py367 # Check if we need to setup the distribution finder (if running )COMMENT
LOW⚡metaflow/decorators.py696 # Check if it is a user-defined decorator or metaflow decoratorCOMMENT
LOW⚡metaflow/decorators.py704 # Check if this is a decorator we can importCOMMENT
LOWmetaflow/decorators.py733 # Check if it is a user-defined decorator or metaflow decoratorCOMMENT
LOWmetaflow/cmd/tutorials_cmd.py120 # Check if episode has already been pulled before.COMMENT
LOWmetaflow/_vendor/typing_extensions.py679 # Check if the members appears in the class dictionary...COMMENT
LOWmetaflow/_vendor/yaml/scanner.py114 # Check if the next token is one of the given types.COMMENT
LOWmetaflow/_vendor/yaml/scanner.py300 # Check if a simple key is required at the current position.COMMENT
LOWmetaflow/_vendor/yaml/scanner.py350 # Check if we need to increase indentation.COMMENT
LOWmetaflow/_vendor/v3_7/typing_extensions.py722 # Check if the members appears in the class dictionary...COMMENT
LOWmetaflow/_vendor/v3_7/typeguard/_transformer.py524 # Check if the function is a generator functionCOMMENT
LOW⚡metaflow/_vendor/typeguard/_checkers.py645 # Check if the protocol-side method is a class method or static methodCOMMENT
LOW⚡metaflow/_vendor/typeguard/_checkers.py653 # Check if the subject-side method is a class method or static methodCOMMENT
LOWmetaflow/_vendor/typeguard/_transformer.py540 # Check if the function is a generator functionCOMMENT
LOWmetaflow/plugins/exit_hook/exit_hook_script.py30 # Check if fn expects a run object as an arg.COMMENT
LOW…w/plugins/cards/card_modules/convert_to_native_type.py130 # Check if artifact size exceeds the maximum allowed sizeCOMMENT
LOWmetaflow/plugins/datatools/s3/s3.py1691 # Check if we want to inject failures (for testing)COMMENT
LOWmetaflow/plugins/airflow/airflow.py590 # Assign tags to run objects.COMMENT
LOWmetaflow/plugins/env_escape/server.py517 # Check if __init__ is overriddenCOMMENT
LOWmetaflow/plugins/aws/step_functions/step_functions.py991 # Assign tags to run objects.COMMENT
LOWmetaflow/plugins/kubernetes/kubernetes_job.py584 # Check if the container is done. As a side effect, also refreshes self._job andCOMMENT
LOWmetaflow/plugins/kubernetes/kubernetes_decorator.py305 # Check if TmpFS is enabled and set default tmpfs_size if missing.COMMENT
LOWmetaflow/plugins/argo/argo_workflows.py2614 # Set shared_memory to 0 if it isn't specified. This resultsCOMMENT
LOWmetaflow/plugins/argo/argo_workflows_decorator.py114 # Set splits to 1 since parallelism is handled by JobSet.COMMENT
LOWmetaflow/runner/click_api.py237 # Check if the module has already been loadedCOMMENT
LOWmetaflow/runner/click_api.py455 # Check if it was set through an environment variable -- weCOMMENT
LOWmetaflow/extension_support/__init__.py382 # Check if we even have extensionsCOMMENT
LOWmetaflow/extension_support/__init__.py596 # Check if this is an "init" fileCOMMENT
LOWmetaflow/datastore/task_datastore.py197 # Check if the latest attempt was completed successfully exceptCOMMENT
LOWmetaflow/datastore/spin_datastore.py61 # Check if it's an artifact in the spin_artifactsCOMMENT
LOWmetaflow/datastore/spin_datastore.py65 # Check if it's an attribute of the taskCOMMENT
LOWmetaflow/user_decorators/mutable_flow.py553 # Check if this is a FlowMutator class or instanceCOMMENT
LOWmetaflow/user_decorators/mutable_flow.py634 # Check if the name matches a FlowMutator — these cannot be removedCOMMENT
LOWmetaflow/user_decorators/mutable_step.py496 # Check if the decorator specification matchesCOMMENT
LOWmetaflow/package/__init__.py612 # Check if the path is not duplicated asCOMMENT
AI Structural Patterns50 hits · 48 pts
SeverityFileLineSnippetContext
LOWmetaflow/runtime.py353CODE
LOWmetaflow/runtime.py1582CODE
LOWmetaflow/cli.py333CODE
LOWmetaflow/metaflow_current.py36CODE
LOWmetaflow/cli_components/run_cmds.py223CODE
LOWmetaflow/cli_components/run_cmds.py366CODE
LOWmetaflow/cli_components/step_cmd.py100CODE
LOWmetaflow/cli_components/step_cmd.py256CODE
LOWmetaflow/mflog/__init__.py87CODE
LOWmetaflow/_vendor/click/core.py245CODE
LOWmetaflow/_vendor/click/core.py865CODE
LOWmetaflow/_vendor/click/core.py1468CODE
LOWmetaflow/_vendor/click/core.py1694CODE
LOWmetaflow/_vendor/click/types.py560CODE
LOWmetaflow/_vendor/click/termui.py75CODE
LOWmetaflow/_vendor/click/termui.py294CODE
LOWmetaflow/_vendor/click/termui.py433CODE
LOWmetaflow/_vendor/click/_termui_impl.py53CODE
LOWmetaflow/_vendor/yaml/__init__.py215CODE
LOWmetaflow/_vendor/yaml/__init__.py252CODE
LOWmetaflow/_vendor/yaml/dumper.py11CODE
LOWmetaflow/_vendor/yaml/dumper.py29CODE
LOWmetaflow/_vendor/yaml/dumper.py47CODE
LOWmetaflow/_vendor/yaml/cyaml.py53CODE
LOWmetaflow/_vendor/yaml/cyaml.py70CODE
LOWmetaflow/_vendor/yaml/cyaml.py87CODE
LOWmetaflow/plugins/pypi/micromamba.py281CODE
LOWmetaflow/plugins/cards/card_creator.py62CODE
LOWmetaflow/plugins/cards/card_cli.py625CODE
LOWmetaflow/plugins/cards/card_modules/chevron/renderer.py134CODE
LOWmetaflow/plugins/datatools/s3/s3op.py937CODE
LOWmetaflow/plugins/datatools/s3/s3op.py1136CODE
LOWmetaflow/plugins/datatools/s3/s3op.py1287CODE
LOWmetaflow/plugins/airflow/airflow.py64CODE
LOWmetaflow/plugins/airflow/airflow_cli.py216CODE
LOW…aflow/plugins/aws/step_functions/step_functions_cli.py161CODE
LOWmetaflow/plugins/aws/step_functions/step_functions.py38CODE
LOWmetaflow/plugins/aws/step_functions/step_functions.py189CODE
LOWmetaflow/plugins/aws/batch/batch_cli.py206CODE
LOWmetaflow/plugins/aws/batch/batch.py224CODE
LOWmetaflow/plugins/aws/batch/batch.py409CODE
LOWmetaflow/plugins/kubernetes/kubernetes_cli.py168CODE
LOWmetaflow/plugins/kubernetes/kubernetes.py159CODE
LOWmetaflow/plugins/kubernetes/kubernetes.py464CODE
LOWmetaflow/plugins/kubernetes/spot_monitor_sidecar.py58CODE
LOWmetaflow/plugins/argo/argo_workflows_cli.py257CODE
LOWmetaflow/plugins/argo/argo_workflows.py96CODE
LOWmetaflow/datastore/flow_datastore.py79CODE
LOWmetaflow/datastore/flow_datastore.py257CODE
LOWmetaflow/client/core.py273CODE
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALmetaflow/plugins/datastores/azure_storage.py140 from azure.core.exceptions import ResourceExistsErrorCODE
CRITICALmetaflow/plugins/datastores/azure_storage.py184 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALmetaflow/plugins/datastores/azure_storage.py320 from azure.core.exceptions import ResourceNotFoundErrorCODE
CRITICALmetaflow/plugins/azure/azure_tail.py3from azure.core.exceptions import ResourceNotFoundError, HttpResponseErrorCODE
Modern Structural Boilerplate30 hits · 30 pts
SeverityFileLineSnippetContext
LOWmetaflow/_vendor/zipp.py15__all__ = ['Path']CODE
LOWmetaflow/_vendor/typing_extensions.py13__all__ = [CODE
LOWmetaflow/_vendor/packaging/tags.py26logger = logging.getLogger(__name__)CODE
LOWmetaflow/_vendor/packaging/version.py17__all__ = ["VERSION_PATTERN", "parse", "Version", "InvalidVersion"]CODE
LOWmetaflow/_vendor/packaging/markers.py16__all__ = [CODE
LOWmetaflow/_vendor/importlib_metadata/__init__.py35__all__ = [CODE
LOWmetaflow/_vendor/importlib_metadata/_compat.py5__all__ = ['install', 'NullFinder', 'Protocol']CODE
LOWmetaflow/_vendor/yaml/scanner.py27__all__ = ['Scanner', 'ScannerError']CODE
LOWmetaflow/_vendor/yaml/error.py2__all__ = ['Mark', 'YAMLError', 'MarkedYAMLError']CODE
LOWmetaflow/_vendor/yaml/constructor.py2__all__ = [CODE
LOWmetaflow/_vendor/yaml/composer.py2__all__ = ['Composer', 'ComposerError']CODE
LOWmetaflow/_vendor/yaml/representer.py2__all__ = ['BaseRepresenter', 'SafeRepresenter', 'Representer',CODE
LOWmetaflow/_vendor/yaml/dumper.py2__all__ = ['BaseDumper', 'SafeDumper', 'Dumper']CODE
LOWmetaflow/_vendor/yaml/cyaml.py2__all__ = [CODE
LOWmetaflow/_vendor/yaml/parser.py62__all__ = ['Parser', 'ParserError']CODE
LOWmetaflow/_vendor/yaml/reader.py18__all__ = ['Reader', 'ReaderError']CODE
LOWmetaflow/_vendor/yaml/loader.py2__all__ = ['BaseLoader', 'FullLoader', 'SafeLoader', 'Loader', 'UnsafeLoader']CODE
LOWmetaflow/_vendor/yaml/resolver.py2__all__ = ['BaseResolver', 'Resolver']CODE
LOWmetaflow/_vendor/yaml/serializer.py2__all__ = ['Serializer', 'SerializerError']CODE
LOWmetaflow/_vendor/yaml/emitter.py9__all__ = ['Emitter', 'EmitterError']CODE
LOWmetaflow/_vendor/imghdr/__init__.py6__all__ = ["what"]CODE
LOWmetaflow/_vendor/v3_7/zipp.py15__all__ = ['Path']CODE
LOWmetaflow/_vendor/v3_7/typing_extensions.py12__all__ = [CODE
LOWmetaflow/_vendor/v3_7/importlib_metadata/__init__.py35__all__ = [CODE
LOWmetaflow/_vendor/v3_7/importlib_metadata/_compat.py5__all__ = ['install', 'NullFinder', 'Protocol']CODE
LOWmetaflow/_vendor/v3_6/zipp.py15__all__ = ['Path']CODE
LOWmetaflow/_vendor/v3_6/typing_extensions.py22__all__ = [CODE
LOWmetaflow/_vendor/v3_6/importlib_metadata/__init__.py35__all__ = [CODE
LOWmetaflow/_vendor/v3_6/importlib_metadata/_compat.py5__all__ = ['install', 'NullFinder', 'Protocol']CODE
LOWmetaflow/plugins/cards/card_modules/chevron/__init__.py5__all__ = ["main", "render", "cli_main", "ChevronError"]CODE
Slop Phrases7 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUMtest/unit/test_compute_resource_attributes.py15 # @batch overrides default and you can use ints as attributesCOMMENT
LOWmetaflow/includefile.py106 # Click can call convert multiple times, so we need to make sure to onlyCOMMENT
LOWmetaflow/_vendor/packaging/markers.py190 # added here, make sure to mirror/adapt Requirement.COMMENT
LOWmetaflow/plugins/pypi/micromamba.py162 # If we are forcing a rebuild of the environment, we make sure to remove existing files beforehand.COMMENT
LOWmetaflow/plugins/datastores/gs_storage.py230 # make sure to close the file handle after reading.COMMENT
LOWmetaflow/plugins/datastores/azure_storage.py356 # make sure to close the file handle after reading.COMMENT
LOW⚡metaflow/packaging_sys/v1.py419 # `package_mfext_all` but in that case, make sure to also add aCOMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHmetaflow/plugins/cards/card_datastore.py190 Args: path (str): The path to the card Raises: Exception: When the card_path iSTRING
HIGHmetaflow/plugins/cards/card_cli.py115Resolves the card path for a query. Args: ctx: click context object pathspec: pathspec can be `stepSTRING
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHmetaflow/plugins/airflow/airflow.py741 # Based on the code, Airflow will throw a `AirflowException` when `start_date` is not providedCOMMENT
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtest/core/run_tests.py290 # Step 1: compile and deploy the workflow templateCOMMENT
LOWtest/core/run_tests.py312 # Step 2: trigger the workflow; run_id written to file by --run-id-fileCOMMENT
LOWtest/core/run_tests.py345 # Step 3: poll the metadata service until the run finishesCOMMENT
LOWmetaflow/runtime.py1732 # If the task id already exists, we need to check if current task is the resume leader in previous aCOMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtest/core/run_tests.py290 # Step 1: compile and deploy the workflow templateCOMMENT
LOWtest/core/run_tests.py312 # Step 2: trigger the workflow; run_id written to file by --run-id-fileCOMMENT
LOWtest/core/run_tests.py345 # Step 3: poll the metadata service until the run finishesCOMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWmetaflow/_vendor/v3_7/typeguard/_checkers.py647 # TODO: implement proper compatibility checking and support non-runtime protocolsCOMMENT
LOWmetaflow/_vendor/typeguard/_checkers.py818 # TODO: implement assignability checks for parameter and return valueCOMMENT
LOWmetaflow/plugins/kubernetes/kubernetes_decorator.py442 # TODO: add validation to annotations as well?COMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtest/ux/core/flows/basic/fail_flow.py18CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWmetaflow/plugins/cards/card_modules/test_cards.py77 def __init__(self, options={"key": "dummy_key"}, **kwargs):CODE
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWmetaflow/plugins/cards/card_modules/components.py1075 def my_function():STRING