AI Slop Code RIsk Monitor

mealie-recipes/mealie

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

7.9 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for mealie-recipes/mealie, a Python project with 13,505 GitHub stars. SynthScan examined 346,442 lines of code across 1529 source files, recording 2198 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 7.9 (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.

7.9
Adjusted Signal
7.9
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
13.5K
Stars
Python
Language
346.4K
Lines of Code
1.5K
Files
2.2K
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 19.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 6.7/100 · LOW

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

Agent Over-Engineering Ratio 25.0/100 · MEDIUM

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

PR Review Velocity Impact 32.4/100 · MEDIUM

Which changes need focused human review? 2198 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 5HIGH 19MEDIUM 185LOW 1989

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 2198 distinct pattern matches across 19 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 Identifiers1204 hits · 1226 pts
SeverityFileLineSnippetContext
LOWfrontend/app/composables/use-recipe-explorer-search.ts53function createRecipeExplorerSearchState(groupSlug: ComputedRef<string>): RecipeExplorerSearchState {CODE
LOWfrontend/app/composables/use-recipe-explorer-search.ts473export 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.ts86export function useUserMealPlanPreferences(): Ref<UserMealPlanPreferences> {CODE
LOWfrontend/app/composables/use-users/preferences.ts135export function useUserActivityPreferences(): Ref<UserActivityPreferences> {CODE
LOWfrontend/app/composables/use-users/preferences.ts147export function useUserSearchQuerySession(): Ref<UserSearchQuery> {CODE
LOWfrontend/app/composables/use-users/preferences.ts159export function useShoppingListPreferences(): Ref<UserShoppingListPreferences> {CODE
LOWfrontend/app/composables/use-users/preferences.ts214export function useRecipeFinderPreferences(): Ref<UserRecipeFinderPreferences> {CODE
LOWfrontend/app/composables/use-users/preferences.ts234export function useRecipeCreatePreferences(): Ref<UserRecipeCreatePreferences> {CODE
LOWfrontend/app/composables/use-users/preferences.ts251export 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.ts4export 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.ts5export 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.vue309async function consolidateRecipesIntoSections(recipes: RecipeWithScale[]) {CODE
LOW…onents/Domain/Recipe/RecipeDialogAddToShoppingList.vue411async function openShoppingListIngredientDialog(list: ShoppingListSummary) {CODE
LOW…nd/app/components/Domain/Recipe/RecipeDialogSearch.vue110function scrollSelectedRecipeIntoView() {CODE
LOW…/RecipePage/RecipePageParts/RecipePageInstructions.vue718function 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.py126def test_create_access_token_defaults_to_token_time():CODE
LOWtests/unit_tests/test_security.py138def test_create_access_token_honors_an_explicit_lifetime():CODE
LOWtests/unit_tests/test_security.py147def test_every_token_is_stamped_with_issuer_and_issued_at():CODE
LOWtests/unit_tests/test_security.py165def test_validate_file_token_rejects_a_token_without_a_file_claim():CODE
LOWtests/unit_tests/test_security.py180async def test_download_file_security_restrictions():CODE
LOWtests/unit_tests/test_security.py253def test_ldap_user_creation_invalid_group_or_household(CODE
LOWtests/unit_tests/test_security.py290def test_ldap_user_creation_fail(monkeypatch: MonkeyPatch):CODE
LOWtests/unit_tests/test_security.py308def test_ldap_user_creation_non_admin(monkeypatch: MonkeyPatch):CODE
LOWtests/unit_tests/test_security.py331def test_ldap_user_creation_admin(monkeypatch: MonkeyPatch):CODE
LOWtests/unit_tests/test_security.py366def test_user_login_ldap_auth_method(monkeypatch: MonkeyPatch, ldap_user: PrivateUser):CODE
LOWtests/unit_tests/test_security.py422def test_ldap_rejects_empty_password(monkeypatch: MonkeyPatch):CODE
LOWtests/unit_tests/test_security.py441def 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
LOW…s/unit_tests/test_structured_recipe_times_migration.py87def test_ambiguous_unit_words_are_dropped(tmp_path: Path) -> None:CODE
1144 more matches not shown…
Decorative Section Separators128 hits · 476 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.py64# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/unit_tests/services_tests/test_recipe_data_service.py66# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/unit_tests/services_tests/test_recipe_data_service.py147# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/unit_tests/services_tests/test_recipe_data_service.py149# ---------------------------------------------------------------------------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.py214# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit_tests/pkgs/safehttp/test_transport.py216# ---------------------------------------------------------------------------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.py12# =======================================================================COMMENT
MEDIUM…tegration_tests/admin_tests/test_admin_ai_providers.py28# =======================================================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py272# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py274# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py370# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py372# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py477# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py479# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py583# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py585# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py731# ==========================================COMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py733# ==========================================COMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py38# ==========================================COMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py40# ==========================================COMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py167# ==========================================COMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py169# ==========================================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
MEDIUM⚡…tests/category_tag_tool_tests/test_organizers_merge.py242# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/category_tag_tool_tests/test_organizers_merge.py244# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…tests/category_tag_tool_tests/test_organizers_merge.py267# ---------------------------------------------------------------------------COMMENT
68 more matches not shown…
Unused Imports484 hits · 401 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py51CODE
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
LOWmealie/schema/response/__init__.py11CODE
424 more matches not shown…
Excessive Try-Catch Wrapping149 hits · 164 pts
SeverityFileLineSnippetContext
LOWtests/unit_tests/services_tests/test_openai_service.py246 except Exception as e:CODE
MEDIUMtests/unit_tests/services_tests/test_openai_service.py243def _fake_ping(self, provider, message, images=None):CODE
LOW…tests/services_tests/backup_v2_tests/test_backup_v2.py274 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.py253 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.py148 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.py375 except Exception as e:CODE
LOWmealie/repos/repository_recipes.py113 except Exception:CODE
LOWmealie/repos/repository_recipes.py121 except Exception:CODE
LOWmealie/repos/repository_recipes.py144 except Exception as e:CODE
LOWmealie/repos/repository_recipes.py352 except Exception as e:CODE
LOWmealie/repos/repository_units.py134 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.py295 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.py60 except Exception as e:CODE
LOWmealie/schema/meal_plan/plan_rules.py88 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.py215 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
LOWmealie/db/init_db.py84 except Exception:CODE
LOWmealie/db/models/_model_utils/auto_init.py71 except Exception:CODE
89 more matches not shown…
Self-Referential Comments45 hits · 144 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.py128 # Create a mock raw response which matches the OpenAI chat response formatCOMMENT
MEDIUM…/unit_tests/repository_tests/test_recipe_repository.py953 # Create a recipe with one noteCOMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py1673 # Create a sub-recipe ONLY in group 2COMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py1683 # Create a parent recipe in group 1COMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py1717 # Create a foodCOMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py1725 # Create a recipe_aCOMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py2350 # Create a recipe name that's extremely long like the one in the GitHub issueCOMMENT
MEDIUM⚡…ntegration_tests/user_recipe_tests/test_recipe_crud.py2353 # Create the recipeCOMMENT
MEDIUM…ntegration_tests/user_recipe_tests/test_recipe_crud.py1493 # Create a spice mix recipeCOMMENT
MEDIUM…ntegration_tests/user_recipe_tests/test_recipe_crud.py1505 # Create a main recipe that uses the spice mix twiceCOMMENT
MEDIUM…ntegration_tests/user_recipe_tests/test_recipe_crud.py1608 # Create a recipe with the same slug in both groupsCOMMENT
MEDIUM…ntegration_tests/user_recipe_tests/test_recipe_crud.py1633 # Create a parent recipe in group 1COMMENT
MEDIUM…ion_tests/public_explorer_tests/test_public_recipes.py290 # Create a public and private recipe with a known tagCOMMENT
MEDIUM…ion_tests/public_explorer_tests/test_public_recipes.py324 # Create a recipe in another household with the same known tagCOMMENT
MEDIUM…ion_tests/public_explorer_tests/test_public_recipes.py345 # 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.py114 # Create a brand new group the admin doesn't belong toCOMMENT
MEDIUM⚡…tion_tests/user_group_tests/test_group_ai_providers.py384 # Create a provider so there's something to GET (using repos directly to bypass permission check)COMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py57 # Create a provider firstCOMMENT
MEDIUM…tion_tests/user_group_tests/test_group_ai_providers.py772 # 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.yml91 # 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.py414 # 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.py123except FileNotFoundError:CODE
HIGHmealie/routes/users/ratings.py28except ValueError:CODE
HIGHmealie/routes/_base/mixins.py26except ImportError:CODE
HIGH…/services/parser_services/parser_utils/string_utils.py117except ZeroDivisionError:CODE
Deep Nesting60 hits · 58 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.py175CODE
LOW…tests/services_tests/backup_v2_tests/test_backup_v2.py227CODE
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.py242CODE
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.py242CODE
LOWmealie/repos/repository_units.py18CODE
LOWmealie/core/logger/config.py38CODE
LOWmealie/core/dependencies/dependencies.py35CODE
LOWmealie/pkgs/img/minify.py170CODE
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/recipe_crud_routes.py140CODE
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.py161CODE
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
LOWmealie/services/query_filter/builder.py675CODE
LOWmealie/services/openai/transcription.py58CODE
LOWmealie/services/openai/openai.py286CODE
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
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 Boilerplate47 hits · 50 pts
SeverityFileLineSnippetContext
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.py32def _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/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__.py20__all__ = [CODE
LOWmealie/schema/recipe/__init__.py105__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__.py14__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__.py18__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.py67Custom 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.py179 # 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.py576 # Check if this recipe is already in the current path (cycle detected)COMMENT
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
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.py1691 "placeholder",CODE
LOW…tegration_tests/admin_tests/test_admin_user_actions.py130 "email": "user@example.com",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
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.py249 # 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.py294CODE
LOWmealie/repos/repository_recipes.py387CODE
LOWmealie/db/models/recipe/nutrition.py36CODE
LOWmealie/db/models/recipe/recipe.py195CODE
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.vue984 return; // TODO: Handle errorCODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWmealie/pkgs/safehttp/transport.py198 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE