[
  {
    "cell": null,
    "code": "I001",
    "end_location": {
      "column": 2,
      "row": 81
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": {
      "applicability": "safe",
      "edits": [
        {
          "content": "from __future__ import annotations\n\nimport argparse\nimport fcntl\nimport hashlib\nimport json\nimport os\nimport re\nimport stat\nimport uuid\nfrom contextlib import contextmanager\nfrom contextvars import ContextVar\nfrom dataclasses import dataclass\nfrom datetime import date, datetime, time, timedelta, timezone\nfrom pathlib import Path\nfrom threading import local\nfrom types import MappingProxyType\nfrom typing import Callable, Iterator, Mapping\nfrom zoneinfo import ZoneInfo\n\nfrom pydantic import ValidationError\n\nfrom checkin_cli.adaptive_nutrition import (\n    _DUAL_COACH_RISK_POLICY_FILE,\n    _DUAL_COACH_RISK_POLICY_ID,\n    _DUAL_COACH_RISK_POLICY_SCHEMA,\n    AdaptiveEventStore,\n    _dual_coach_risk_policy_document_digest,\n    _validate_dual_coach_risk_policy_value,\n    append_approved_policy_extension,\n    canonical_event_records,\n    canonical_json,\n    customer_policy_from_onboarding_artifact,\n    feature_config_digest,\n    initialize_adaptive_customer,\n)\nfrom checkin_cli.adaptive_nutrition import (\n    digest as adaptive_digest,\n)\nfrom checkin_cli.customer_coaching import (\n    CONSENT_VERSION,\n    AdaptiveRegistrationInputs,\n    AiProcessingConsent,\n    CustomerRegistry,\n    CustomerRegistryError,\n    CustomerRuntime,\n    CustomerSpec,\n    CustomerTrainingScheduleEntry,\n    RegistryDocument,\n    TelegramAddress,\n    load_customer_registry,\n)\nfrom checkin_cli.customer_reporting import PilotKPIJudgement, judge_pilot_kpis\nfrom checkin_cli.customer_schedule import (\n    CustomerScheduleError,\n    _claims_by_schedule,\n    _current_rows,\n    _read_fence,\n    _read_jsonl,\n    _validate_schedule_rows,\n)\nfrom checkin_cli.models import OperatorTask, PaymentKind, PaymentMethod, RecordResult\nfrom checkin_cli.nutrition_onboarding_fs import (\n    atomic_write_private_json,\n    read_private_json,\n    validate_private_file,\n    validate_profile_path,\n)\nfrom checkin_cli.nutrition_onboarding_projection import (\n    apply_nutrition_onboarding_projection as apply_nutrition_onboarding_projection,\n)\nfrom checkin_cli.nutrition_onboarding_projection import (\n    build_legacy_activation_authority as build_legacy_activation_authority,\n)\nfrom checkin_cli.nutrition_onboarding_projection import (\n    build_nutrition_activation_receipt_v2,\n    customer_nutrition_projection_digest,\n    validate_legacy_activation_authority,\n)\nfrom checkin_cli.nutrition_onboarding_projection import (\n    project_nutrition_document as project_nutrition_document,\n)\nfrom checkin_cli.nutrition_readiness import (\n    NUTRITION_READINESS_REASON_CODES,\n    NutritionReadinessError,\n    require_nutrition_start_readiness,\n)\nfrom checkin_cli.store import CanonicalEventTransaction, EventStore\n\n",
          "end_location": {
            "column": 1,
            "row": 83
          },
          "location": {
            "column": 1,
            "row": 3
          }
        }
      ],
      "message": "Organize imports"
    },
    "location": {
      "column": 1,
      "row": 3
    },
    "message": "Import block is un-sorted or un-formatted",
    "name": "unsorted-imports",
    "noqa_row": 3,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
  },
  {
    "cell": null,
    "code": "UP035",
    "end_location": {
      "column": 47,
      "row": 19
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": {
      "applicability": "safe",
      "edits": [
        {
          "content": "from collections.abc import Callable, Iterator, Mapping",
          "end_location": {
            "column": 47,
            "row": 19
          },
          "location": {
            "column": 1,
            "row": 19
          }
        }
      ],
      "message": "Import from `collections.abc`"
    },
    "location": {
      "column": 1,
      "row": 19
    },
    "message": "Import from `collections.abc` instead: `Callable`, `Iterator`, `Mapping`",
    "name": "deprecated-import",
    "noqa_row": 19,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/deprecated-import"
  },
  {
    "cell": null,
    "code": "PLC0414",
    "end_location": {
      "column": 83,
      "row": 53
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": {
      "applicability": "unsafe",
      "edits": [
        {
          "content": "apply_nutrition_onboarding_projection",
          "end_location": {
            "column": 83,
            "row": 53
          },
          "location": {
            "column": 5,
            "row": 53
          }
        }
      ],
      "message": "Remove import alias"
    },
    "location": {
      "column": 5,
      "row": 53
    },
    "message": "Import alias does not rename original package",
    "name": "useless-import-alias",
    "noqa_row": 53,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/useless-import-alias"
  },
  {
    "cell": null,
    "code": "PLC0414",
    "end_location": {
      "column": 75,
      "row": 54
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": {
      "applicability": "unsafe",
      "edits": [
        {
          "content": "build_legacy_activation_authority",
          "end_location": {
            "column": 75,
            "row": 54
          },
          "location": {
            "column": 5,
            "row": 54
          }
        }
      ],
      "message": "Remove import alias"
    },
    "location": {
      "column": 5,
      "row": 54
    },
    "message": "Import alias does not rename original package",
    "name": "useless-import-alias",
    "noqa_row": 54,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/useless-import-alias"
  },
  {
    "cell": null,
    "code": "PLC0414",
    "end_location": {
      "column": 61,
      "row": 57
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": {
      "applicability": "unsafe",
      "edits": [
        {
          "content": "project_nutrition_document",
          "end_location": {
            "column": 61,
            "row": 57
          },
          "location": {
            "column": 5,
            "row": 57
          }
        }
      ],
      "message": "Remove import alias"
    },
    "location": {
      "column": 5,
      "row": 57
    },
    "message": "Import alias does not rename original package",
    "name": "useless-import-alias",
    "noqa_row": 57,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/useless-import-alias"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 21,
      "row": 1418
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 12,
      "row": 1418
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1418,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 21,
      "row": 1422
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 12,
      "row": 1422
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1422,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 21,
      "row": 1440
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 12,
      "row": 1440
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1440,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 21,
      "row": 1444
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 12,
      "row": 1444
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1444,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 21,
      "row": 1659
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 12,
      "row": 1659
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1659,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 21,
      "row": 1668
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 12,
      "row": 1668
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1668,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 25,
      "row": 1682
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 16,
      "row": 1682
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1682,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 25,
      "row": 1706
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 16,
      "row": 1706
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1706,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 25,
      "row": 1710
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 16,
      "row": 1710
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1710,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 25,
      "row": 1726
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 16,
      "row": 1726
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1726,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 25,
      "row": 1740
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 16,
      "row": 1740
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1740,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 25,
      "row": 1748
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 16,
      "row": 1748
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 1748,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "SIM102",
    "end_location": {
      "column": 11,
      "row": 2599
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 5,
      "row": 2596
    },
    "message": "Use a single `if` statement instead of nested `if` statements",
    "name": "collapsible-if",
    "noqa_row": 2596,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/collapsible-if"
  },
  {
    "cell": null,
    "code": "C409",
    "end_location": {
      "column": 10,
      "row": 3322
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": {
      "applicability": "unsafe",
      "edits": [
        {
          "content": "(",
          "end_location": {
            "column": 14,
            "row": 3318
          },
          "location": {
            "column": 23,
            "row": 3317
          }
        },
        {
          "content": ")",
          "end_location": {
            "column": 10,
            "row": 3322
          },
          "location": {
            "column": 13,
            "row": 3321
          }
        }
      ],
      "message": "Remove the outer call to `tuple()`"
    },
    "location": {
      "column": 23,
      "row": 3317
    },
    "message": "Unnecessary tuple literal passed to `tuple()` (remove the outer call to `tuple()`)",
    "name": "unnecessary-literal-within-tuple-call",
    "noqa_row": 3317,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/unnecessary-literal-within-tuple-call"
  },
  {
    "cell": null,
    "code": "RUF059",
    "end_location": {
      "column": 31,
      "row": 3950
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": {
      "applicability": "unsafe",
      "edits": [
        {
          "content": "_pending",
          "end_location": {
            "column": 31,
            "row": 3950
          },
          "location": {
            "column": 24,
            "row": 3950
          }
        }
      ],
      "message": "Prefix it with an underscore or any other dummy variable pattern"
    },
    "location": {
      "column": 24,
      "row": 3950
    },
    "message": "Unpacked variable `pending` is never used",
    "name": "unused-unpacked-variable",
    "noqa_row": 3950,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/unused-unpacked-variable"
  },
  {
    "cell": null,
    "code": "SIM102",
    "end_location": {
      "column": 62,
      "row": 3985
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 13,
      "row": 3984
    },
    "message": "Use a single `if` statement instead of nested `if` statements",
    "name": "collapsible-if",
    "noqa_row": 3984,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/collapsible-if"
  },
  {
    "cell": null,
    "code": "SIM102",
    "end_location": {
      "column": 89,
      "row": 4523
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 5,
      "row": 4522
    },
    "message": "Use a single `if` statement instead of nested `if` statements",
    "name": "collapsible-if",
    "noqa_row": 4522,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/collapsible-if"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 25,
      "row": 5191
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 16,
      "row": 5191
    },
    "message": "Do not catch blind exception: `Exception`",
    "name": "blind-except",
    "noqa_row": 5191,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "TRY004",
    "end_location": {
      "column": 57,
      "row": 5473
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 13,
      "row": 5473
    },
    "message": "Prefer `TypeError` exception for invalid type",
    "name": "type-check-without-type-error",
    "noqa_row": 5473,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/type-check-without-type-error"
  },
  {
    "cell": null,
    "code": "TRY004",
    "end_location": {
      "column": 57,
      "row": 5480
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 13,
      "row": 5480
    },
    "message": "Prefer `TypeError` exception for invalid type",
    "name": "type-check-without-type-error",
    "noqa_row": 5480,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/type-check-without-type-error"
  },
  {
    "cell": null,
    "code": "TRY004",
    "end_location": {
      "column": 58,
      "row": 5488
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 13,
      "row": 5488
    },
    "message": "Prefer `TypeError` exception for invalid type",
    "name": "type-check-without-type-error",
    "noqa_row": 5488,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/type-check-without-type-error"
  },
  {
    "cell": null,
    "code": "TRY203",
    "end_location": {
      "column": 18,
      "row": 6013
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": null,
    "location": {
      "column": 9,
      "row": 6012
    },
    "message": "Remove exception handler; error is immediately re-raised",
    "name": "useless-try-except",
    "noqa_row": 6012,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/useless-try-except"
  },
  {
    "cell": null,
    "code": "SIM114",
    "end_location": {
      "column": 47,
      "row": 6568
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/checkin_cli/customer_admin.py",
    "fix": {
      "applicability": "safe",
      "edits": [
        {
          "content": " or set(review) != {\"user_id\", \"chat_id\", \"topic_id\", \"version\"} and (\n        {\"user_id\", \"chat_id\", \"topic_id\", \"version\"} - set(review)\n    )",
          "end_location": {
            "column": 39,
            "row": 6563
          },
          "location": {
            "column": 39,
            "row": 6563
          }
        },
        {
          "content": "",
          "end_location": {
            "column": 1,
            "row": 6569
          },
          "location": {
            "column": 1,
            "row": 6565
          }
        }
      ],
      "message": "Combine `if` branches"
    },
    "location": {
      "column": 5,
      "row": 6563
    },
    "message": "Combine `if` branches using logical `or` operator",
    "name": "if-with-same-arms",
    "noqa_row": 6563,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/if-with-same-arms"
  },
  {
    "cell": null,
    "code": "I001",
    "end_location": {
      "column": 56,
      "row": 51
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/tests/test_customer_admin.py",
    "fix": {
      "applicability": "safe",
      "edits": [
        {
          "content": "from __future__ import annotations\n\nimport json\nimport shutil\nimport threading\nfrom dataclasses import replace\nfrom datetime import date, time, timedelta\nfrom pathlib import Path\n\nimport checkin_cli.customer_admin as customer_admin_module\nimport pytest\nfrom checkin_cli.adaptive_nutrition import (\n    digest,\n    feature_config_digest,\n    initialize_adaptive_customer,\n    load_approved_adaptive_artifacts,\n)\nfrom checkin_cli.customer_admin import (\n    CustomerAdminError,\n    CustomerDraft,\n    activate_customer,\n    approve_adaptive_registration_inputs,\n    approve_dual_coach_risk_policy,\n    audit_gate_d_preflight,\n    load_approved_adaptive_registration_inputs,\n    load_runtime_customer_registry,\n    main,\n    prepare_adaptive_nutrition_runtime,\n    reconcile_adaptive_nutrition_journals,\n    register_customer,\n    set_customer_ai_consent,\n    set_customer_enabled,\n    update_adaptive_registration_inputs,\n    validate_committed_activation,\n)\nfrom checkin_cli.customer_coaching import (\n    CONSENT_VERSION,\n    AiProcessingConsent,\n    TelegramAddress,\n)\nfrom checkin_cli.customer_schedule import initialize_schedule_delivery_fence\nfrom checkin_cli.nutrition_onboarding_authority import (\n    validate_current_registry_authority,\n)\nfrom checkin_cli.nutrition_onboarding_contract import OnboardingAuthority\nfrom checkin_cli.nutrition_onboarding_migration import (\n    commit_legacy_migration,\n    legacy_migration_preflight,\n)\nfrom checkin_cli.store import CanonicalEventTransaction\n\n\n",
          "end_location": {
            "column": 1,
            "row": 54
          },
          "location": {
            "column": 1,
            "row": 1
          }
        }
      ],
      "message": "Organize imports"
    },
    "location": {
      "column": 1,
      "row": 1
    },
    "message": "Import block is un-sorted or un-formatted",
    "name": "unsorted-imports",
    "noqa_row": 1,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/unsorted-imports"
  },
  {
    "cell": null,
    "code": "BLE001",
    "end_location": {
      "column": 29,
      "row": 1527
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/tests/test_customer_admin.py",
    "fix": null,
    "location": {
      "column": 16,
      "row": 1527
    },
    "message": "Do not catch blind exception: `BaseException`",
    "name": "blind-except",
    "noqa_row": 1527,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/blind-except"
  },
  {
    "cell": null,
    "code": "SIM117",
    "end_location": {
      "column": 70,
      "row": 1610
    },
    "filename": "/home/cube/projects/richard/traning coach/.omo/evidence/task26/task26-owner-customer-v1-candidate-v3/snapshot/profile-package/tests/test_customer_admin.py",
    "fix": null,
    "location": {
      "column": 5,
      "row": 1609
    },
    "message": "Use a single `with` statement with multiple contexts instead of nested `with` statements",
    "name": "multiple-with-statements",
    "noqa_row": 1609,
    "severity": "error",
    "url": "https://docs.astral.sh/ruff/rules/multiple-with-statements"
  }
]