AI Slop Code Risk Monitor

mealie-recipes/mealie

SlopCodeMonitor badge for mealie-recipes/mealie Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and mealie will automatically import the relevant data or add a family recipe with the UI editor

8.3 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for mealie-recipes/mealie, a Python project with 13,750 GitHub stars. SynthScan examined 359,120 lines of code across 1582 source files, recording 2400 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 8.3 (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.

8.3
Adjusted Signal
8.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
13.8K
Stars
Python
Language
359.1K
Lines of Code
1.6K
Files
2.4K
Pattern Hits
2026-10-31
Scan Date
0.02
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 20.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 6.7/100 · LOW

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

Agent Over-Engineering Ratio 26.4/100 · MEDIUM

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

PR Review Velocity Impact 33.5/100 · MEDIUM

Which changes need focused human review? 2400 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 6HIGH 19MEDIUM 193LOW 2182

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 2400 distinct pattern matches across 20 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 Identifiers1373 hits · 1401 pts
SeverityFileLineSnippetContext
LOWfrontend/app/composables/use-recipe-explorer-search.ts53function createRecipeExplorerSearchState(groupSlug: ComputedRef<string>): RecipeExplorerSearchState {CODE
LOWfrontend/app/composables/use-recipe-explorer-search.ts481export function clearRecipeExplorerSearchState(groupSlug: string) {CODE
LOWfrontend/app/composables/use-announcements.ts60 function updateUnreadAnnouncements(lastReadKey: string) {CODE
LOWfrontend/app/composables/use-group-recipe-actions.ts42 async function refreshGroupRecipeActions() {CODE
LOWfrontend/app/composables/use-users/preferences.ts87export function useUserMealPlanPreferences(): Ref<UserMealPlanPreferences> {CODE
LOWfrontend/app/composables/use-users/preferences.ts136export function useUserActivityPreferences(): Ref<UserActivityPreferences> {CODE
LOWfrontend/app/composables/use-users/preferences.ts148export function useUserSearchQuerySession(): Ref<UserSearchQuery> {CODE
LOWfrontend/app/composables/use-users/preferences.ts160export function useShoppingListPreferences(): Ref<UserShoppingListPreferences> {CODE
LOWfrontend/app/composables/use-users/preferences.ts215export function useRecipeFinderPreferences(): Ref<UserRecipeFinderPreferences> {CODE
LOWfrontend/app/composables/use-users/preferences.ts235export function useRecipeCreatePreferences(): Ref<UserRecipeCreatePreferences> {CODE
LOWfrontend/app/composables/use-users/preferences.ts252export function useUserExperiencePreferences(): Ref<UserExperiencePreferences> {CODE
LOW…nd/app/composables/use-users/user-registration-form.ts13export function resetUserRegistrationForm() {CODE
LOW…pp/composables/recipes/use-parse-ingredients-dialog.ts17export function useParseIngredientsDialog(CODE
LOW…pp/composables/recipes/use-ingredient-substitutions.ts26export function useIngredientSubstitutions(ingredient: () => RecipeIngredient) {CODE
LOW…pp/composables/recipes/use-ingredient-substitutions.ts40export function ingredientSubstitutionSummary(ingredient: RecipeIngredient, usePluralFood = false): string {CODE
LOWfrontend/app/composables/api/static-routes.ts30 function recipeTimelineEventSmallImage(recipeId: string, timelineEventId: string) {CODE
LOWfrontend/app/composables/api/static-routes.ts34 function recipeTimelineEventTinyImage(recipeId: string, timelineEventId: string) {CODE
LOW…ables/recipe-page/use-extract-ingredient-references.ts11function removeTrailingPunctuation(word: string): string {CODE
LOW…ables/recipe-page/use-extract-ingredient-references.ts16function removeStartingPunctuation(word: string): string {CODE
LOW…ables/recipe-page/use-extract-ingredient-references.ts37export function useExtractIngredientReferences() {CODE
LOW…ables/recipe-page/use-extract-ingredient-references.ts40 function extractIngredientReferences(recipeIngredients: RecipeIngredient[], activeRefs: string[], text: string): Set<sCODE
LOW…/shopping-list-page/use-add-to-shopping-list-dialog.ts5export function useAddToShoppingListDialog() {CODE
LOW…mposables/shopping-list-page/use-shopping-list-page.ts103 function updateIndexUncheckedByLabel(labelName: string, labeledUncheckedItems: ShoppingListItemOut[]) {CODE
LOW…mposables/shopping-list-page/use-shopping-list-page.ts166 function toggleReorderLabelsDialog() {CODE
LOW…es/shopping-list-page/use-shopping-list-item-editor.ts15export function useShoppingListItemEditor(listItem: ModelRef<ShoppingListItemOut, string, ShoppingListItemOut, ShoppingLCODE
LOW…page/sub-composables/use-shopping-list-item-actions.ts23export function useShoppingListItemActions(shoppingListId: string) {CODE
LOW…list-page/sub-composables/use-shopping-list-sorting.ts30 function groupAndSortListItemsByFood(shoppingList: ShoppingListOut) {CODE
LOW…ng-list-page/sub-composables/use-shopping-list-crud.ts227 function toggleReorderLabelsDialog(reorderLabelsDialog: Ref<boolean>) {CODE
LOW…list-page/sub-composables/use-shopping-list-recipes.ts31 async function removeRecipeReferenceToList(recipeId: string) {CODE
LOW…onents/Domain/Recipe/RecipeDialogAddToShoppingList.vue360async function consolidateRecipesIntoSections(recipes: RecipeWithScale[]) {CODE
LOW…onents/Domain/Recipe/RecipeDialogAddToShoppingList.vue476async function openShoppingListIngredientDialog(list: ShoppingListSummary) {CODE
LOW…nd/app/components/Domain/Recipe/RecipeDialogSearch.vue110function scrollSelectedRecipeIntoView() {CODE
LOW…/RecipePage/RecipePageParts/RecipePageInstructions.vue743function saveAndOpenNextDialogLinks() {CODE
LOWfrontend/app/lib/recipe/recipe-finder.ts1export function normalizeMissingItemLimit(value: number | null | undefined): number {CODE
LOWfrontend/app/pages/index.vue22async function redirectPublicUserToDefaultGroup() {CODE
LOWfrontend/app/pages/group/data/foods.vue527async function applyReverseSubstitutions(foodId: string) {CODE
LOWtests/multitenant_tests/test_multitenant_cases.py23def test_multitenant_cases_get_all(CODE
LOWtests/multitenant_tests/test_multitenant_cases.py60def test_multitenant_cases_same_named_resources(CODE
LOWtests/unit_tests/test_recipe_image_backfill.py12def test_image_on_disk_finds_every_id_spelling(tmp_path: Path) -> None:CODE
LOWtests/unit_tests/test_recipe_image_backfill.py31def test_image_on_disk_is_false_without_a_file(tmp_path: Path) -> None:CODE
LOWtests/unit_tests/test_security.py133def test_create_access_token_defaults_to_token_time():CODE
LOWtests/unit_tests/test_security.py145def test_create_access_token_honors_an_explicit_lifetime():CODE
LOWtests/unit_tests/test_security.py154def test_every_token_is_stamped_with_issuer_and_issued_at():CODE
LOWtests/unit_tests/test_security.py172def test_validate_file_token_rejects_a_token_without_a_file_claim():CODE
LOWtests/unit_tests/test_security.py187async def test_download_file_security_restrictions():CODE
LOWtests/unit_tests/test_security.py260def test_ldap_user_creation_invalid_group_or_household(CODE
LOWtests/unit_tests/test_security.py297def test_ldap_user_creation_fail(monkeypatch: MonkeyPatch):CODE
LOWtests/unit_tests/test_security.py315def test_ldap_user_creation_non_admin(monkeypatch: MonkeyPatch):CODE
LOWtests/unit_tests/test_security.py338def test_ldap_user_creation_admin(monkeypatch: MonkeyPatch):CODE
LOWtests/unit_tests/test_security.py361def test_ldap_admin_filter_searches_as_query_account(monkeypatch: MonkeyPatch):CODE
LOWtests/unit_tests/test_security.py392def test_user_login_ldap_auth_method(monkeypatch: MonkeyPatch, ldap_user: PrivateUser):CODE
LOWtests/unit_tests/test_security.py448def test_ldap_rejects_empty_password(monkeypatch: MonkeyPatch):CODE
LOWtests/unit_tests/test_security.py467def test_ldap_escapes_username_in_search_filter(monkeypatch: MonkeyPatch):CODE
LOW⚡tests/unit_tests/test_oidc_native_client.py27def test_no_native_id_uses_web_client(monkeypatch: MonkeyPatch):CODE
LOW⚡tests/unit_tests/test_oidc_native_client.py35def test_native_id_confidential_keeps_secret(monkeypatch: MonkeyPatch):CODE
LOW⚡tests/unit_tests/test_oidc_native_client.py43def test_native_id_public_drops_secret(monkeypatch: MonkeyPatch):CODE
LOW⚡tests/unit_tests/test_oidc_native_client.py52def test_public_without_native_id_warns_and_stays_confidential(monkeypatch: MonkeyPatch, caplog: LogCaptureFixture):CODE
LOW⚡tests/unit_tests/test_oidc_native_client.py62def test_empty_native_id_falls_back_to_web_client(monkeypatch: MonkeyPatch):CODE
LOW⚡tests/unit_tests/test_oidc_native_client.py69def test_public_native_client_leaves_web_client_unaffected(monkeypatch: MonkeyPatch):CODE
LOW…s/unit_tests/test_structured_recipe_times_migration.py83def test_parse_seconds_leaves_text_alone(value: str | None) -> None:CODE
1313 more matches not shown…
Decorative Section Separators131 hits · 490 pts
SeverityFileLineSnippetContext
MEDIUMdocker/docker-compose.yml19 # =====================================COMMENT
MEDIUMdocker/docker-compose.yml26 # =====================================COMMENT
MEDIUMdocker/setup_nltk_data.sh2# ------------------------------------------------------------------------------COMMENT
MEDIUMdocker/setup_nltk_data.sh14# ------------------------------------------------------------------------------COMMENT
MEDIUM…_tests/core/security/providers/test_openid_provider.py346# ---------------------------------------------------------------------------COMMENT
MEDIUM…_tests/core/security/providers/test_openid_provider.py348# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/unit_tests/services_tests/test_recipe_data_service.py66# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/unit_tests/services_tests/test_recipe_data_service.py68# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/unit_tests/services_tests/test_recipe_data_service.py105# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/unit_tests/services_tests/test_recipe_data_service.py107# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/unit_tests/services_tests/test_recipe_data_service.py188# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/unit_tests/services_tests/test_recipe_data_service.py190# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py58# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py60# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py69# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py71# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py144# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py146# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py241# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py243# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py421# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py423# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py463# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_fetch.py465# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/pkgs/safehttp/test_fetch.py10# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/pkgs/safehttp/test_fetch.py12# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/pkgs/safehttp/test_fetch.py319# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit_tests/pkgs/safehttp/test_fetch.py321# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_transport.py237# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_transport.py239# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…it_tests/repository_tests/test_query_filter_builder.py86# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…it_tests/repository_tests/test_query_filter_builder.py88# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…it_tests/repository_tests/test_query_filter_builder.py116# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…it_tests/repository_tests/test_query_filter_builder.py118# ---------------------------------------------------------------------------COMMENT
MEDIUM…tegration_tests/admin_tests/test_admin_ai_providers.py13# =======================================================================COMMENT
MEDIUM…tegration_tests/admin_tests/test_admin_ai_providers.py29# =======================================================================COMMENT
MEDIUM…tegration_tests/admin_tests/test_admin_ai_providers.py140# =======================================================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py278# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py280# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py376# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py378# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py482# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py484# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py596# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py598# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py671# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py673# ==========================================COMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py44# ==========================================COMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py46# ==========================================COMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py173# ==========================================COMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py175# ==========================================COMMENT
MEDIUM…ests/category_tag_tool_tests/test_organizers_common.py10# ==============================================================================COMMENT
MEDIUM⚡…tests/category_tag_tool_tests/test_organizers_merge.py63# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/category_tag_tool_tests/test_organizers_merge.py65# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/category_tag_tool_tests/test_organizers_merge.py97# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/category_tag_tool_tests/test_organizers_merge.py99# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/category_tag_tool_tests/test_organizers_merge.py120# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/category_tag_tool_tests/test_organizers_merge.py122# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/category_tag_tool_tests/test_organizers_merge.py221# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/category_tag_tool_tests/test_organizers_merge.py223# ---------------------------------------------------------------------------COMMENT
71 more matches not shown…
Unused Imports498 hits · 410 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py51CODE
LOWtests/unit_tests/test_recipe_step_duration.py11CODE
LOWtests/utils/__init__.py1CODE
LOWtests/utils/__init__.py2CODE
LOWtests/utils/__init__.py3CODE
LOWtests/utils/__init__.py4CODE
LOWtests/utils/__init__.py5CODE
LOWtests/utils/routes/__init__.py1CODE
LOWtests/utils/routes/__init__.py2CODE
LOWtests/utils/routes/__init__.py3CODE
LOWtests/utils/routes/__init__.py4CODE
LOWtests/utils/routes/__init__.py5CODE
LOWtests/utils/routes/__init__.py6CODE
LOWdev/code-generation/unit_systems.py14CODE
LOWdev/code-generation/utils/__init__.py1CODE
LOWdev/code-generation/utils/__init__.py2CODE
LOWdev/code-generation/utils/__init__.py2CODE
LOWdev/code-generation/utils/__init__.py2CODE
LOWdev/code-generation/utils/__init__.py2CODE
LOWdev/code-generation/utils/__init__.py2CODE
LOWdev/code-generation/utils/__init__.py2CODE
LOWdev/code-generation/utils/__init__.py3CODE
LOWdev/code-generation/utils/__init__.py3CODE
LOWdev/code-generation/utils/__init__.py3CODE
LOWdev/code-generation/utils/__init__.py3CODE
LOWdev/code-generation/utils/__init__.py3CODE
LOWdev/code-generation/utils/__init__.py4CODE
LOWdev/code-generation/utils/__init__.py4CODE
LOWdev/code-generation/utils/__init__.py4CODE
LOWdev/code-generation/utils/__init__.py4CODE
LOWdev/code-generation/utils/__init__.py4CODE
LOWdev/code-generation/utils/__init__.py4CODE
LOWmealie/repos/__init__.py1CODE
LOWmealie/repos/repository_recipes.py1CODE
LOWmealie/core/settings/__init__.py1CODE
LOWmealie/core/settings/__init__.py2CODE
LOWmealie/core/security/security.py13CODE
LOWmealie/core/security/security.py13CODE
LOWmealie/core/security/__init__.py1CODE
LOWmealie/core/security/providers/openid_provider.py1CODE
LOWmealie/core/dependencies/__init__.py1CODE
LOWmealie/lang/__init__.py1CODE
LOWmealie/schema/_mealie/__init__.py2CODE
LOWmealie/schema/_mealie/__init__.py2CODE
LOWmealie/schema/_mealie/__init__.py2CODE
LOWmealie/schema/_mealie/__init__.py2CODE
LOWmealie/schema/_mealie/__init__.py3CODE
LOWmealie/schema/_mealie/__init__.py3CODE
LOWmealie/schema/_mealie/__init__.py3CODE
LOWmealie/schema/_mealie/mealie_model.py1CODE
LOWmealie/schema/response/__init__.py2CODE
LOWmealie/schema/response/__init__.py2CODE
LOWmealie/schema/response/__init__.py2CODE
LOWmealie/schema/response/__init__.py2CODE
LOWmealie/schema/response/__init__.py2CODE
LOWmealie/schema/response/__init__.py2CODE
LOWmealie/schema/response/__init__.py10CODE
LOWmealie/schema/response/__init__.py11CODE
LOWmealie/schema/response/__init__.py11CODE
LOWmealie/schema/response/__init__.py11CODE
438 more matches not shown…
Excessive Try-Catch Wrapping151 hits · 164 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit_tests/services_tests/test_openai_service.py306def _fake_ping(self, provider, message, images=None):CODE
LOWtests/unit_tests/services_tests/test_openai_service.py309 except Exception as e:CODE
LOW…tests/services_tests/backup_v2_tests/test_backup_v2.py282 except Exception as e:CODE
LOW…tests/services_tests/backup_v2_tests/test_backup_v2.py290 except Exception as e:CODE
LOW…gration_tests/user_recipe_tests/test_recipe_ratings.py38 except Exception:CODE
LOW…tests/recipe_migration_tests/test_recipe_migrations.py263 except Exception:CODE
LOW…ests/user_household_tests/test_group_mealplan_rules.py25 except Exception:CODE
LOW…ion_tests/user_household_tests/test_group_cookbooks.py55 except Exception:CODE
LOWdev/code-generation/unit_systems.py156 except Exception as e:CODE
LOWdev/code-generation/gen_ts_types.py223 except Exception:STRING
LOWdev/code-generation/gen_ts_types.py235 except Exception:STRING
LOWdev/code-generation/utils/anonymize_backups.py48 except Exception as e:CODE
MEDIUMdev/code-generation/utils/anonymize_backups.py31def clean_value(value):CODE
LOWdev/code-generation/utils/open_api_parser.py112 except Exception:CODE
MEDIUM⚡dev/scripts/all_recipes_stress_test.py235 console.print(f"Error: {r.status_code}")CODE
MEDIUM⚡dev/scripts/all_recipes_stress_test.py242 console.print(f"Error: {recipe_json.status_code}")CODE
MEDIUM⚡dev/scripts/all_recipes_stress_test.py251 console.print(f"Error: {r.status_code}")CODE
LOWmealie/repos/repository_factory.py127 except Exception as e:CODE
LOWmealie/repos/repository_factory.py164 except Exception as e:CODE
LOWmealie/repos/repository_factory.py201 except Exception as e:CODE
LOWmealie/repos/repository_factory.py247 except Exception as e:CODE
LOWmealie/repos/repository_foods.py150 except Exception as e:CODE
LOWmealie/repos/repository_generic.py185 except Exception:CODE
LOWmealie/repos/repository_generic.py203 except Exception:CODE
LOWmealie/repos/repository_generic.py271 except Exception as e:CODE
LOWmealie/repos/repository_generic.py289 except Exception as e:CODE
LOWmealie/repos/repository_generic.py351 except Exception as e:CODE
LOWmealie/repos/_recipe_suggestions.py379 except Exception as e:CODE
LOWmealie/repos/repository_recipes.py154 except Exception:CODE
LOWmealie/repos/repository_recipes.py162 except Exception:CODE
LOWmealie/repos/repository_recipes.py185 except Exception as e:CODE
LOWmealie/repos/repository_recipes.py395 except Exception as e:CODE
LOWmealie/repos/repository_units.py137 except Exception as e:CODE
LOWmealie/repos/seed/seeders.py64 except Exception as e:CODE
LOWmealie/repos/seed/seeders.py97 except Exception as e:CODE
LOWmealie/repos/seed/seeders.py144 except Exception:CODE
LOWmealie/repos/seed/seeders.py149 except Exception as e:CODE
LOWmealie/core/release_checker.py30 except Exception:CODE
LOWmealie/core/security/providers/openid_provider.py135 except Exception as e:CODE
LOWmealie/core/security/providers/openid_provider.py294 except Exception as e:CODE
LOW…alie/core/security/providers/reverse_proxy_provider.py46 except Exception as e:CODE
LOWmealie/core/dependencies/dependencies.py57 except Exception:CODE
LOWmealie/core/dependencies/dependencies.py62 except Exception:CODE
LOWmealie/core/dependencies/dependencies.py98 except Exception:CODE
LOWmealie/schema/cookbook/cookbook.py57 except Exception as e:CODE
LOWmealie/schema/cookbook/cookbook.py89 except Exception:CODE
LOWmealie/schema/meal_plan/plan_rules.py68 except Exception as e:CODE
LOWmealie/schema/meal_plan/plan_rules.py96 except Exception:CODE
LOWmealie/schema/household/group_shopping_list.py92 except Exception:CODE
LOWmealie/schema/openai/_base.py39 except Exception:CODE
LOWmealie/pkgs/img/minify.py229 except Exception as e:CODE
LOWmealie/pkgs/safehttp/flaresolverr.py46 except Exception:CODE
LOWmealie/pkgs/safehttp/flaresolverr.py56 except Exception:CODE
LOWmealie/pkgs/i18n/json_provider.py45 except Exception:CODE
LOWmealie/scripts/reprocess_images.py48 except Exception:CODE
LOWmealie/scripts/reprocess_images.py54 except Exception:CODE
LOWmealie/scripts/reprocess_images.py91 except Exception:CODE
LOWmealie/scripts/reprocess_images.py117 except Exception:CODE
LOWmealie/scripts/reprocess_images.py127 except Exception:CODE
LOWmealie/db/init_db.py76 except Exception:CODE
91 more matches not shown…
Self-Referential Comments44 hits · 140 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit_tests/core/test_security.py35 # Create a very long password which bcrypt doesn't supportCOMMENT
MEDIUM…services_tests/ingredient_parser/test_openai_parser.py126 # Create a mock raw response which matches the OpenAI chat response formatCOMMENT
MEDIUM…/unit_tests/repository_tests/test_recipe_repository.py1031 # Create a recipe with one noteCOMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py1676 # Create a sub-recipe ONLY in group 2COMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py1686 # Create a parent recipe in group 1COMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py1720 # Create a foodCOMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py1728 # Create a recipe_aCOMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py2394 # Create a recipe name that's extremely long like the one in the GitHub issueCOMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py2397 # Create the recipeCOMMENT
MEDIUM…ntegration_tests/user_recipe_tests/test_recipe_crud.py1496 # Create a spice mix recipeCOMMENT
MEDIUM…ntegration_tests/user_recipe_tests/test_recipe_crud.py1508 # Create a main recipe that uses the spice mix twiceCOMMENT
MEDIUM…ntegration_tests/user_recipe_tests/test_recipe_crud.py1611 # Create a recipe with the same slug in both groupsCOMMENT
MEDIUM…ntegration_tests/user_recipe_tests/test_recipe_crud.py1636 # Create a parent recipe in group 1COMMENT
MEDIUM…ion_tests/public_explorer_tests/test_public_recipes.py347 # Create a public and private recipe with a known tagCOMMENT
MEDIUM…ion_tests/public_explorer_tests/test_public_recipes.py381 # Create a recipe in another household with the same known tagCOMMENT
MEDIUM…ion_tests/public_explorer_tests/test_public_recipes.py402 # Create a public cookbook with tagCOMMENT
MEDIUM…n_tests/public_explorer_tests/test_public_cookbooks.py148 # Create a public and private recipe with a known tagCOMMENT
MEDIUM…n_tests/public_explorer_tests/test_public_cookbooks.py182 # Create a public and private recipe with a known tag in another householdCOMMENT
MEDIUM…n_tests/public_explorer_tests/test_public_cookbooks.py210 # Create a public cookbook with tagCOMMENT
MEDIUM…n_tests/public_explorer_tests/test_public_cookbooks.py239 # Create a public recipe with a known tagCOMMENT
MEDIUM…n_tests/public_explorer_tests/test_public_cookbooks.py268 # Create a public recipe with a known tag on a private householdCOMMENT
MEDIUM…n_tests/public_explorer_tests/test_public_cookbooks.py291 # Create a public cookbook with tagCOMMENT
MEDIUM…tegration_tests/admin_tests/test_admin_user_actions.py72 # Create a new userCOMMENT
MEDIUM…tegration_tests/admin_tests/test_admin_ai_providers.py115 # Create a brand new group the admin doesn't belong toCOMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py63 # Create a provider firstCOMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py637 # Create a user in the new group with can_manage=TrueCOMMENT
MEDIUM…tion_tests/user_household_tests/test_group_webhooks.py106 # Create a webhook and post itCOMMENT
MEDIUM.github/workflows/locale-sync.yml93 # Create a new branch from the base branchCOMMENT
MEDIUMdev/code-generation/gen_py_schema_exports.py8template = """# This file is auto-generated by gen_schema_exports.pyCODE
MEDIUMmealie/schema/_mealie/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/response/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/group/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/recipe/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/admin/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/labels/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/user/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/cookbook/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/meal_plan/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/household/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/openai/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/analytics/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/schema/reports/__init__.py1# This file is auto-generated by gen_schema_exports.pyCOMMENT
MEDIUMmealie/services/backups_v2/backup_v2.py37 # Create a backup of the SQLite databaseCOMMENT
MEDIUMmealie/services/openai/openai.py553 # Create a transcription from the audioCOMMENT
Empty Error Handlers15 hits · 75 pts
SeverityFileLineSnippetContext
HIGH…ion_tests/user_recipe_tests/test_recipe_bulk_action.py35except sqlalchemy.exc.NoResultFound:CODE
HIGH…gration_tests/user_recipe_tests/test_recipe_ratings.py38except Exception:CODE
HIGH…on_tests/user_recipe_tests/test_recipe_share_tokens.py27except sqlalchemy.exc.NoResultFound:CODE
HIGH…ests/user_household_tests/test_group_mealplan_rules.py25except Exception:CODE
HIGH…ion_tests/user_household_tests/test_group_cookbooks.py55except Exception:CODE
HIGHmealie/repos/repository_group.py63except ValueError:CODE
HIGHmealie/repos/repository_household.py85except ValueError:CODE
HIGHmealie/scripts/reprocess_images.py89except UnidentifiedImageError:CODE
HIGHmealie/db/models/_model_utils/datetime.py47except Exception:CODE
HIGH…3-16.15.07_2298bb460ffd_added_user_to_shopping_list.py44except orm.exc.NoResultFound:CODE
HIGH…3-16.15.07_2298bb460ffd_added_user_to_shopping_list.py52except orm.exc.NoResultFound:CODE
HIGHmealie/routes/recipe/timeline_events.py142except FileNotFoundError:CODE
HIGHmealie/routes/users/ratings.py27except ValueError:CODE
HIGHmealie/routes/_base/mixins.py27except ImportError:CODE
HIGH…/services/parser_services/parser_utils/string_utils.py117except ZeroDivisionError:CODE
Deep Nesting62 hits · 60 pts
SeverityFileLineSnippetContext
LOWtests/multitenant_tests/test_multitenant_cases.py23CODE
LOWtests/multitenant_tests/test_multitenant_cases.py60CODE
LOW…tests/services_tests/backup_v2_tests/test_backup_v2.py184CODE
LOW…tests/services_tests/backup_v2_tests/test_backup_v2.py236CODE
LOWtests/integration_tests/test_route_permissions.py90CODE
LOWtests/integration_tests/test_repository_factory.py76CODE
LOW…ration_tests/user_tests/test_user_password_services.py15CODE
LOW…ration_tests/user_tests/test_user_password_services.py63CODE
LOW…tests/recipe_migration_tests/test_recipe_migrations.py252CODE
LOW…ests/user_household_tests/test_group_shopping_lists.py249CODE
LOW…ests/user_household_tests/test_group_shopping_lists.py830CODE
LOW…ests/user_household_tests/test_group_shopping_lists.py912CODE
LOWtests/utils/helpers.py9CODE
LOWdev/code-generation/gen_py_pytest_routes.py27CODE
LOWdev/code-generation/gen_ts_types.py88CODE
LOWdev/code-generation/gen_ts_types.py120CODE
LOWdev/code-generation/utils/open_api_parser.py76CODE
LOWdev/code-generation/utils/open_api_parser.py103CODE
LOWdev/code-generation/utils/open_api_parser.py117CODE
LOWmealie/repos/repository_recipes.py114CODE
LOWmealie/repos/repository_recipes.py283CODE
LOWmealie/repos/repository_units.py18CODE
LOWmealie/core/logger/config.py38CODE
LOWmealie/core/dependencies/dependencies.py35CODE
LOWmealie/pkgs/img/minify.py184CODE
LOWmealie/pkgs/i18n/json_provider.py17CODE
LOWmealie/pkgs/i18n/json_provider.py33CODE
LOWmealie/pkgs/stats/fs_stats.py8CODE
LOWmealie/scripts/reprocess_images.py132CODE
LOWmealie/db/fixes/fix_migration_data.py136CODE
LOWmealie/db/models/_model_utils/auto_init.py83CODE
LOWmealie/db/models/_model_utils/auto_init.py111CODE
LOWmealie/db/models/_model_utils/auto_init.py119CODE
LOWmealie/db/models/_model_utils/auto_init.py121CODE
LOW….59.01_a39c7f1826e3_add_unit_standardization_fields.py42CODE
LOW…-09-15.31.00_7cf3054cbbcc_remove_instructions_index.py103CODE
LOW…ons/2024-07-12-16.16.29_feecc8ffb956_add_households.py44CODE
LOWmealie/routes/recipe/timeline_events.py48CODE
LOWmealie/routes/recipe/recipe_crud_routes.py143CODE
LOWmealie/routes/admin/admin_maintenance.py16CODE
LOWmealie/routes/admin/admin_maintenance.py38CODE
LOWmealie/routes/_base/controller.py168CODE
LOWmealie/services/backups_v2/alchemy_exporter.py111CODE
LOWmealie/services/backups_v2/alchemy_exporter.py202CODE
LOWmealie/services/backups_v2/alchemy_exporter.py262CODE
LOWmealie/services/backups_v2/backup_v2.py44CODE
LOWmealie/services/parser_services/_base.py60CODE
LOWmealie/services/parser_services/_base.py78CODE
LOWmealie/services/parser_services/brute/process.py133CODE
LOWmealie/services/recipe/recipe_data_service.py159CODE
LOW…eduler/tasks/delete_old_checked_shopping_list_items.py54CODE
LOWmealie/services/query_filter/keywords.py12CODE
LOWmealie/services/query_filter/builder.py195CODE
LOWmealie/services/query_filter/builder.py235CODE
LOWmealie/services/query_filter/builder.py255CODE
LOWmealie/services/query_filter/builder.py393CODE
LOWmealie/services/query_filter/builder.py447CODE
LOWmealie/services/query_filter/builder.py511CODE
LOWmealie/services/query_filter/builder.py551CODE
LOWmealie/services/query_filter/builder.py638CODE
2 more matches not shown…
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICAL…_recipe_tests/test_recipe_create_from_mealie_export.py15from tests.utils.helpers import parse_sse_eventsCODE
CRITICAL…ntegration_tests/user_recipe_tests/test_recipe_crud.py45from tests.utils.helpers import parse_sse_eventsCODE
CRITICAL…ts/user_recipe_tests/test_recipe_create_from_openai.py20from tests.utils.helpers import parse_sse_eventsCODE
CRITICAL…_tests/user_recipe_tests/test_recipe_create_from_ai.py33from tests.utils.helpers import parse_sse_eventsCODE
CRITICALmealie/schema/recipe/recipe.py17from mealie.core.exceptions import SlugErrorCODE
CRITICAL…e/services/recipe/import_workflow/recipe_conversion.py3from mealie.core.exceptions import SlugErrorCODE
Modern Structural Boilerplate49 hits · 52 pts
SeverityFileLineSnippetContext
LOW…tegration_tests/user_tests/test_reverse_proxy_login.py19def _set_signup_enabled(monkeypatch: MonkeyPatch, enabled: bool) -> None:CODE
LOW…tests/category_tag_tool_tests/test_organizers_merge.py43def _set_recipe_tags(api_client: TestClient, user: TestUser, slug: str, tags: list[dict]) -> None:CODE
LOW…tests/category_tag_tool_tests/test_organizers_merge.py52def _set_recipe_categories(api_client: TestClient, user: TestUser, slug: str, categories: list[dict]) -> None:CODE
LOW⚡…category_tag_tool_tests/test_organizers_tools_merge.py33def _set_recipe_tools(api_client: TestClient, user: TestUser, slug: str, tools: list[dict]) -> None:CODE
LOW…category_tag_tool_tests/test_organizers_foods_merge.py30def _set_recipe_foods(api_client: TestClient, user: TestUser, slug: str, foods: list[dict]) -> None:CODE
LOW…ests/user_household_tests/test_organize_permissions.py23def set_can_organize(user: TestUser, value: bool) -> None:CODE
LOWdev/code-generation/gen_py_schema_exports.py12__all__ = [CODE
LOWdev/code-generation/utils/__init__.py6__all__ = [CODE
LOWmealie/main.py21logger = logging.getLogger(__name__)CODE
LOWmealie/repos/__init__.py3__all__ = [CODE
LOWmealie/core/security/security.py16__all__ = [CODE
LOWmealie/core/security/providers/openid_provider.py263 def _update_profile_image_from_claim(self, user_id: UUID4, claims: UserInfo) -> None:CODE
LOWmealie/lang/providers.py25def set_locale_context(translator: Translator, locale_config: LocaleConfig) -> None:CODE
LOWmealie/schema/_mealie/__init__.py5__all__ = [CODE
LOWmealie/schema/response/__init__.py22__all__ = [CODE
LOW⚡mealie/schema/response/pagination.py60 def _set_next(self, route: str, query_params: dict[str, Any]) -> None:CODE
LOW⚡mealie/schema/response/pagination.py69 def _set_prev(self, route: str, query_params: dict[str, Any]) -> None:CODE
LOW⚡mealie/schema/response/pagination.py78 def set_pagination_guides(self, route: str, query_params: dict[str, Any] | None) -> None:CODE
LOWmealie/schema/group/__init__.py27__all__ = [CODE
LOWmealie/schema/recipe/__init__.py109__all__ = [CODE
LOWmealie/schema/admin/__init__.py10__all__ = [CODE
LOWmealie/schema/labels/__init__.py12__all__ = [CODE
LOWmealie/schema/user/__init__.py48__all__ = [CODE
LOWmealie/schema/cookbook/__init__.py4__all__ = [CODE
LOWmealie/schema/meal_plan/__init__.py15__all__ = [CODE
LOWmealie/schema/household/__init__.py72__all__ = [CODE
LOWmealie/schema/openai/__init__.py14__all__ = [CODE
LOWmealie/schema/analytics/__init__.py4__all__ = [CODE
LOWmealie/schema/reports/__init__.py12__all__ = [CODE
LOWmealie/pkgs/safehttp/__init__.py19__all__ = [CODE
LOWmealie/db/models/recipe/ingredient.py278 def _set_substitutions(self, session: Session, group_id: GUID, substitutions: list[dict] | None) -> None:CODE
LOWmealie/db/models/recipe/ingredient.py552 def _set_substitutions(self, session: Session, group_id: GUID | None, substitutions: list[dict] | None) -> None:CODE
LOWmealie/db/models/household/__init__.py19__all__ = [CODE
LOW…-18.44.53_c7427796f7b6_more_aggresive_normalization.py22def _update_table(session: orm.Session, table: str, columns: list[str], source_columns: list[str]) -> None:CODE
LOW…-18.44.53_c7427796f7b6_more_aggresive_normalization.py37def update_normalization() -> None:CODE
LOWmealie/routes/_base/controller.py195def _update_cbv_route_endpoint_signature(cls: type[Any], route: Route | WebSocketRoute) -> None:CODE
LOW⚡mealie/services/scraper/scraped_extras.py26 def set_tags(self, tags: list[str]) -> None:CODE
LOW⚡mealie/services/scraper/scraped_extras.py29 def set_categories(self, categories: list[str]) -> None:CODE
LOW⚡mealie/services/scraper/scraped_extras.py32 def set_tools(self, tools: list[str]) -> None:CODE
LOWmealie/services/parser_services/brute/__init__.py3__all__ = [CODE
LOWmealie/services/parser_services/openai/__init__.py3__all__ = [CODE
LOWmealie/services/recipe/recipe_bulk_service.py62 def set_settings(self, recipes: list[str], settings: RecipeSettings) -> None:CODE
LOWmealie/services/recipe/import_workflow/__init__.py11__all__ = [CODE
LOW…alie/services/recipe/import_workflow/steps/__init__.py6__all__ = [CODE
LOW…/services/recipe/import_workflow/compilers/__init__.py15__all__ = [CODE
LOWmealie/services/scheduler/tasks/__init__.py10__all__ = [CODE
LOWmealie/services/group_services/labels_service.py17 def _update_shopping_list_label_references(self, new_labels: list[MultiPurposeLabelOut]) -> None:CODE
LOWmealie/services/email/__init__.py3__all__ = [CODE
LOWmealie/services/openai/__init__.py3__all__ = [CODE
Structural Annotation Overuse15 hits · 28 pts
SeverityFileLineSnippetContext
LOW⚡…ocumentation/getting-started/migrating-to-mealie-v1.md38## Step 1: Setting Up The New ApplicationCOMMENT
LOW⚡…ocumentation/getting-started/migrating-to-mealie-v1.md42## Step 2: Exporting Your Data from Pre-v1COMMENT
LOW⚡…ocumentation/getting-started/migrating-to-mealie-v1.md49## Step 3: Using the Migration ToolCOMMENT
LOW⚡…ocumentation/getting-started/migrating-to-mealie-v1.md59## Step 4: Reviewing New FeaturesCOMMENT
LOW…getting-started/installation/installation-checklist.md40## Step 1: Deployment TypeCOMMENT
LOW⚡…getting-started/installation/installation-checklist.md51## Step 2: Setting up your files.COMMENT
LOW⚡…getting-started/installation/installation-checklist.md61## Step 3: Customizing The `docker-compose.yaml` files.COMMENT
LOW⚡…getting-started/installation/installation-checklist.md70## Step 4: StartupCOMMENT
LOW…getting-started/installation/installation-checklist.md90## Step 5: Validate InstallationCOMMENT
LOW…getting-started/installation/installation-checklist.md94## Step 6: BackupCOMMENT
LOWdocs/docs/documentation/community-guide/swag.md10## Step 1: Get a domainCOMMENT
LOWdocs/docs/documentation/community-guide/swag.md14## Step 2: Set-up SWAGCOMMENT
LOWdocs/docs/documentation/community-guide/swag.md52## Step 3: Change the config filesCOMMENT
LOWdocs/docs/documentation/community-guide/swag.md83## Step 4: Port-forward port 443COMMENT
LOWdocs/docs/documentation/community-guide/swag.md87## Step 5: Restart SWAGCOMMENT
Cross-Language Confusion3 hits · 18 pts
SeverityFileLineSnippetContext
HIGHmealie/core/settings/settings.py68Custom serializer for sensitive settings. If the setting is None, then will serialize as null, otherwise,STRING
HIGHmealie/schema/recipe/recipe_ingredient.py69 # sometimes the frontend will give us an empty string instead of null, so we convert it to None,COMMENT
HIGHmealie/routes/auth/auth.py202 # request.client should never be null, except sometimes during testingCOMMENT
Over-Commented Block14 hits · 14 pts
SeverityFileLineSnippetContext
LOWdocker/setup_nltk_data.sh1#!/bin/bashCOMMENT
LOW…-list-page/sub-composables/use-shopping-list-search.ts41 // A food-backed item can still carry a note ("ripe ones"), which theCOMMENT
LOWfrontend/app/assets/variables.scss1// Ref: https://github.com/nuxt-community/vuetify-module#customvariablesCOMMENT
LOWtests/e2e/playwright.config.ts61 // {COMMENT
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/stale.yml21 # This stops an issue from ever getting closed automatically.COMMENT
LOWdev/code-generation/unit_systems.py41#: these. All this does is name the two dimensions we display and fix the scale of the emittedCOMMENT
LOWdev/code-generation/unit_systems.py61COMMENT
LOWmealie/alembic/alembic.ini21# leave blank for localtimeCOMMENT
LOWmealie/alembic/alembic.ini41# version_locations = %(here)s/bar:%(here)s/bat:alembic/versionsCOMMENT
LOWmealie/alembic/alembic.ini61# on newly generated revision scripts. See the documentation for furtherCOMMENT
LOWmealie/services/scraper/cleaner.py201 return default or []COMMENT
LOWmealie/services/scraper/cleaner.py241 case [{"text": str()}, *_]:COMMENT
LOWmealie/services/scraper/cleaner.py261 #COMMENT
Redundant / Tautological Comments8 hits · 13 pts
SeverityFileLineSnippetContext
LOW…ests/category_tag_tool_tests/test_organizers_common.py256 # Check if Organizer is returned with 10 RecipeSummaryCOMMENT
LOW.github/workflows/auto-merge-l10n.yml57 # Check if file matches any allowed pathCOMMENT
LOWmealie/services/scraper/scraper_strategies.py404 # Check if we can actually download something to transcribeCOMMENT
LOWmealie/services/scraper/scraped_extras.py50 # Check if tag existsCOMMENT
LOWmealie/services/scraper/scraped_extras.py77 # Check if category existsCOMMENT
LOWmealie/services/scraper/scraped_extras.py104 # Check if tool existsCOMMENT
LOWmealie/services/parser_services/brute/process.py111 # Check if the matching opening bracket is in the same tokenCOMMENT
LOW⚡mealie/services/recipe/recipe_service.py614 # Check if this recipe is already in the current path (cycle detected)COMMENT
Fake / Example Data12 hits · 12 pts
SeverityFileLineSnippetContext
LOW…ntend/app/components/Domain/QueryFilterSummary.test.ts23 useUserStore: mockStore([{ id: USER_ID, fullName: "Jane Doe" }]),CODE
LOW…ntend/app/components/Domain/QueryFilterSummary.test.ts52 expect(text).toContain("Jane Doe");CODE
LOW…ain/Recipe/RecipePage/RecipePageParts/CookTime.test.ts23 expect(wrapper.find("input").attributes("placeholder")).toBe("Minutes");CODE
LOWfrontend/app/pages/register/index.test.ts35 email: ref("user@example.com"),CODE
LOW⚡…unit_tests/core/security/auth_cache/test_auth_cache.py193 "email": "user@example.com",CODE
LOW…unit_tests/core/security/auth_cache/test_auth_cache.py206 assert retrieved["userinfo"]["email"] == "user@example.com"CODE
LOW…ore/security/auth_cache/test_auth_cache_integration.py130 "name": "John Doe",CODE
LOWtests/unit_tests/repository_tests/test_pagination.py1731 "placeholder",CODE
LOW…tegration_tests/admin_tests/test_admin_user_actions.py130 "email": "user@example.com",CODE
LOW…tests/recipe_migration_tests/test_recipe_migrations.py415 {"note": "x", "referencedRecipe": {"id": None, "name": "placeholder", "slug": other_slug, "extras": {}}}CODE
LOW…s-with-scallion-brown-butter-and-snow-peas-recipe.html1<!DOCTYPE html><html lang="en-US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>NuCODE
LOW⚡tests/data/html/detroit-style-pepperoni-pizza.html924</p><ul class="ReviewListMeta-gTSwIE jdKQPB"><li class="BaseWrap-sc-TURhJ BaseText-fFzBQt ReviewListMetaItem-iuExFx eTiICODE
Dead Code6 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM.semgrep/authz.py26CODE
MEDIUM.semgrep/authz.py29CODE
MEDIUM.semgrep/authz.py32CODE
MEDIUM.semgrep/authz.py35CODE
MEDIUM.semgrep/authz.py38CODE
MEDIUM.semgrep/authz.py41CODE
AI Slop Vocabulary4 hits · 8 pts
SeverityFileLineSnippetContext
LOW⚡tests/data/html/detroit-style-pepperoni-pizza.html924</p><ul class="ReviewListMeta-gTSwIE jdKQPB"><li class="BaseWrap-sc-TURhJ BaseText-fFzBQt ReviewListMetaItem-iuExFx eTiICODE
MEDIUMmealie/routes/_base/controller.py157 # In order to use a "" as a router and utilize the prefix in the original routerCOMMENT
LOWmealie/services/parser_services/ingredient_parser.py258 # For now, just add them as a note ("and amt_1, and amt_2, and ...")COMMENT
LOWmealie/services/query_filter/builder.py632 # this component does not have any keywords or operators, so we just add it as-isCOMMENT
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…services_tests/ingredient_parser/test_openai_parser.py49CODE
LOWmealie/middleware/locale_context.py22CODE
LOWmealie/repos/repository_recipes.py335CODE
LOWmealie/repos/repository_recipes.py434CODE
LOWmealie/db/models/recipe/nutrition.py36CODE
LOWmealie/db/models/recipe/recipe.py196CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHmealie/schema/recipe/recipe.py43Generate a slug from a recipe name, truncating to a reasonable length. Args: name: The recipe name to creatSTRING
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…/RecipePage/RecipePageParts/RecipePageInstructions.vue1009 return; // TODO: Handle errorCODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWmealie/pkgs/safehttp/transport.py224 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE