{
  "exported_at": "2026-08-18T13:20:46.219Z",
  "scope": "scope_accounting-starting-or-managing-a-business",
  "data": {
    "profile": {
      "id": "profile_demo-alex",
      "user_id": "demo-alex",
      "display_name": "Alex",
      "education_or_career_stage": "Secondary school student",
      "preferred_language": "English",
      "explanation_style": "step_by_step",
      "weekly_study_minutes": 210,
      "general_goals": "Get to a level 5 in HKDSE BAFS and stop losing marks on double entry.",
      "learning_memory_enabled": true,
      "consent_store_conversations": true,
      "consent_granted_at": "2026-07-05T11:43:19.884Z",
      "created_at": "2026-07-05T11:43:19.884Z",
      "updated_at": "2026-08-18T11:43:19.884Z"
    },
    "scopes": [
      {
        "id": "scope_accounting-starting-or-managing-a-business",
        "user_id": "demo-alex",
        "name": "Accounting — Starting or managing a business",
        "subject": "Accounting",
        "goal_type": "business_application",
        "goal_description": "Keep the books for the family shop",
        "curriculum": "Practical bookkeeping for a small business",
        "exam_board": null,
        "current_level": "Beginner",
        "target_level": "Confident practitioner",
        "target_grade": null,
        "target_date": null,
        "weekly_study_minutes": 60,
        "status": "active",
        "creation_source": "user_created",
        "structure_is_ai_proposed": true,
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      }
    ],
    "categories": [
      {
        "id": "cat_accounting-starting-or-managing-a-business-foundation",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "name": "Foundation",
        "description": "The bookkeeping vocabulary an owner needs.",
        "order_index": 0,
        "created_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "cat_accounting-starting-or-managing-a-business-core",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "name": "Core",
        "description": "The records you keep every week.",
        "order_index": 1,
        "created_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "cat_accounting-starting-or-managing-a-business-applied",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "name": "Applied",
        "description": "Month-end, tax and compliance in practice.",
        "order_index": 2,
        "created_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "cat_accounting-starting-or-managing-a-business-advanced",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "name": "Advanced",
        "description": "Using the numbers to make decisions.",
        "order_index": 3,
        "created_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "cat_accounting-starting-or-managing-a-business-exam-practice",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "name": "Exam Practice",
        "description": "Self-checks that prove your books are right.",
        "order_index": 4,
        "created_at": "2026-07-28T11:43:19.884Z"
      }
    ],
    "topics": [
      {
        "id": "topic_accounting-starting-or-managing-a-business-purpose-of-accounting",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-foundation",
        "parent_topic_id": null,
        "canonical_name": "Purpose of accounting",
        "normalized_name": "purpose",
        "description": "What your books need to tell you as an owner.",
        "syllabus_unit": null,
        "depth_level": "introductory",
        "importance_weight": 0.8,
        "mastery_score": 0,
        "mastery_state": "unverified",
        "classification_confidence": 1,
        "evidence_count": 0,
        "last_practiced_at": null,
        "order_index": 0,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "topic_accounting-starting-or-managing-a-business-accounting-equation",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-foundation",
        "parent_topic_id": null,
        "canonical_name": "Accounting equation",
        "normalized_name": "equation",
        "description": "What the business owns, owes, and what is yours.",
        "syllabus_unit": null,
        "depth_level": "introductory",
        "importance_weight": 0.8,
        "mastery_score": 0,
        "mastery_state": "unverified",
        "classification_confidence": 1,
        "evidence_count": 0,
        "last_practiced_at": null,
        "order_index": 1,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "topic_accounting-starting-or-managing-a-business-double-entry-system",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-foundation",
        "parent_topic_id": null,
        "canonical_name": "Double-entry system",
        "normalized_name": "double entry",
        "description": "Recording each transaction twice so the books always balance.",
        "syllabus_unit": null,
        "depth_level": "introductory",
        "importance_weight": 1,
        "mastery_score": 0.91,
        "mastery_state": "verified_strong",
        "classification_confidence": 1,
        "evidence_count": 2,
        "last_practiced_at": "2026-08-14T11:43:19.884Z",
        "order_index": 2,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-08-14T11:43:19.884Z"
      },
      {
        "id": "topic_accounting-starting-or-managing-a-business-debit-and-credit",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-foundation",
        "parent_topic_id": null,
        "canonical_name": "Debit and credit",
        "normalized_name": "credit debit",
        "description": "Which way money moves in your cash, sales and expense accounts.",
        "syllabus_unit": null,
        "depth_level": "introductory",
        "importance_weight": 0.9,
        "mastery_score": 0,
        "mastery_state": "unverified",
        "classification_confidence": 1,
        "evidence_count": 0,
        "last_practiced_at": null,
        "order_index": 3,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "topic_accounting-starting-or-managing-a-business-source-documents",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-foundation",
        "parent_topic_id": null,
        "canonical_name": "Source documents",
        "normalized_name": "document source",
        "description": "Invoices, receipts and bank statements you must keep.",
        "syllabus_unit": null,
        "depth_level": "introductory",
        "importance_weight": 0.85,
        "mastery_score": 0,
        "mastery_state": "unverified",
        "classification_confidence": 1,
        "evidence_count": 0,
        "last_practiced_at": null,
        "order_index": 4,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "topic_accounting-starting-or-managing-a-business-recording-sales-and-purchases",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-core",
        "parent_topic_id": null,
        "canonical_name": "Recording sales and purchases",
        "normalized_name": "purchase recording sale",
        "description": "Day-to-day entries for customer invoices and supplier bills.",
        "syllabus_unit": null,
        "depth_level": "intermediate",
        "importance_weight": 0.95,
        "mastery_score": 0,
        "mastery_state": "unverified",
        "classification_confidence": 1,
        "evidence_count": 0,
        "last_practiced_at": null,
        "order_index": 5,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "topic_accounting-starting-or-managing-a-business-cash-flow-tracking",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-core",
        "parent_topic_id": null,
        "canonical_name": "Cash flow tracking",
        "normalized_name": "cash flow tracking",
        "description": "Knowing what is actually in the bank next month.",
        "syllabus_unit": null,
        "depth_level": "intermediate",
        "importance_weight": 1,
        "mastery_score": 0,
        "mastery_state": "unverified",
        "classification_confidence": 1,
        "evidence_count": 0,
        "last_practiced_at": null,
        "order_index": 6,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "topic_accounting-starting-or-managing-a-business-financial-statements",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-core",
        "parent_topic_id": null,
        "canonical_name": "Financial statements",
        "normalized_name": "financial statement",
        "description": "Reading your own profit and loss and balance sheet.",
        "syllabus_unit": null,
        "depth_level": "intermediate",
        "importance_weight": 0.9,
        "mastery_score": 0,
        "mastery_state": "unverified",
        "classification_confidence": 1,
        "evidence_count": 0,
        "last_practiced_at": null,
        "order_index": 7,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "topic_accounting-starting-or-managing-a-business-bank-reconciliation",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-applied",
        "parent_topic_id": null,
        "canonical_name": "Bank reconciliation",
        "normalized_name": "bank reconciliation",
        "description": "Matching your records against the bank each month.",
        "syllabus_unit": null,
        "depth_level": "intermediate",
        "importance_weight": 0.8,
        "mastery_score": 0,
        "mastery_state": "unverified",
        "classification_confidence": 1,
        "evidence_count": 0,
        "last_practiced_at": null,
        "order_index": 8,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "topic_accounting-starting-or-managing-a-business-payroll-basics",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-applied",
        "parent_topic_id": null,
        "canonical_name": "Payroll basics",
        "normalized_name": "payroll",
        "description": "MPF, salaries tax and recording staff costs.",
        "syllabus_unit": null,
        "depth_level": "intermediate",
        "importance_weight": 0.7,
        "mastery_score": 0,
        "mastery_state": "unverified",
        "classification_confidence": 1,
        "evidence_count": 0,
        "last_practiced_at": null,
        "order_index": 9,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "topic_accounting-starting-or-managing-a-business-tax-and-compliance",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-applied",
        "parent_topic_id": null,
        "canonical_name": "Tax and compliance",
        "normalized_name": "compliance tax",
        "description": "Profits tax filing and what records the IRD expects.",
        "syllabus_unit": null,
        "depth_level": "advanced",
        "importance_weight": 0.75,
        "mastery_score": 0,
        "mastery_state": "unverified",
        "classification_confidence": 1,
        "evidence_count": 0,
        "last_practiced_at": null,
        "order_index": 10,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      },
      {
        "id": "topic_accounting-starting-or-managing-a-business-choosing-accounting-software",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "category_id": "cat_accounting-starting-or-managing-a-business-applied",
        "parent_topic_id": null,
        "canonical_name": "Choosing accounting software",
        "normalized_name": "choosing software",
        "description": "Matching a tool to your transaction volume.",
        "syllabus_unit": null,
        "depth_level": "introductory",
        "importance_weight": 0.5,
        "mastery_score": 0,
        "mastery_state": "unverified",
        "classification_confidence": 1,
        "evidence_count": 0,
        "last_practiced_at": null,
        "order_index": 11,
        "provenance": "Seeded from this scope’s AI-proposed learning structure.",
        "created_at": "2026-07-28T11:43:19.884Z",
        "updated_at": "2026-07-28T11:43:19.884Z"
      }
    ],
    "topicRelationships": [
      {
        "id": "rel_topic_accounting-starting-or-managing-a-business-double-entry-system-prereq-topic_accounting-starting-or-managing-a-business-accounting-equation",
        "source_topic_id": "topic_accounting-starting-or-managing-a-business-double-entry-system",
        "target_topic_id": "topic_accounting-starting-or-managing-a-business-accounting-equation",
        "relationship_type": "prerequisite"
      },
      {
        "id": "rel_topic_accounting-starting-or-managing-a-business-recording-sales-and-purchases-prereq-topic_accounting-starting-or-managing-a-business-double-entry-system",
        "source_topic_id": "topic_accounting-starting-or-managing-a-business-recording-sales-and-purchases",
        "target_topic_id": "topic_accounting-starting-or-managing-a-business-double-entry-system",
        "relationship_type": "prerequisite"
      },
      {
        "id": "rel_topic_accounting-starting-or-managing-a-business-financial-statements-prereq-topic_accounting-starting-or-managing-a-business-recording-sales-and-purchases",
        "source_topic_id": "topic_accounting-starting-or-managing-a-business-financial-statements",
        "target_topic_id": "topic_accounting-starting-or-managing-a-business-recording-sales-and-purchases",
        "relationship_type": "prerequisite"
      }
    ],
    "sessions": [],
    "messages": [],
    "sessionTopics": [],
    "diagnostics": [
      {
        "id": "diag_demo-alex-biz-1",
        "user_id": "demo-alex",
        "scope_id": "scope_accounting-starting-or-managing-a-business",
        "session_id": null,
        "topic_id": "topic_accounting-starting-or-managing-a-business-double-entry-system",
        "question": "You put HK$10,000 of your own money into the shop bank account. What are the two sides of that entry?",
        "rubric_json": [
          {
            "key": "cash_account",
            "description": "Identifies the cash (or bank) account as one of the two accounts",
            "weight": 1,
            "accept": [
              "cash",
              "bank"
            ]
          },
          {
            "key": "capital_account",
            "description": "Identifies the capital / owner’s equity account as the other account",
            "weight": 1,
            "accept": [
              "capital",
              "equity",
              "owner",
              "owners"
            ]
          },
          {
            "key": "debit_side",
            "description": "Debits cash, because the asset increases",
            "weight": 1.5,
            "accept": [
              "debit cash",
              "dr cash",
              "cash is debited",
              "debit the cash",
              "cash debit",
              "debit bank",
              "bank is debited",
              "dr bank"
            ],
            "reject": [
              "credit cash",
              "cash is credited",
              "cr cash",
              "credit the cash",
              "credit bank",
              "bank is credited"
            ],
            "misconception": "Credits the cash account when the business receives cash — the debit and credit sides are reversed."
          },
          {
            "key": "credit_side",
            "description": "Credits capital, because the owner’s claim increases",
            "weight": 1.5,
            "accept": [
              "credit capital",
              "cr capital",
              "capital is credited",
              "credit the capital",
              "credit equity",
              "equity is credited"
            ],
            "reject": [
              "debit capital",
              "capital is debited",
              "dr capital",
              "debit equity"
            ],
            "misconception": "Debits the capital account when the owner invests — the debit and credit sides are reversed."
          }
        ],
        "ideal_answer": "Debit the bank account HK$10,000 and credit owner’s capital HK$10,000.",
        "student_answer": "Debit bank 10,000 because the business has the money, credit capital 10,000 because the business owes it back to me.",
        "student_confidence": 0.8,
        "evaluation_score": 0.91,
        "evaluation_json": {
          "score": 0.91,
          "matched": [
            "Identifies the cash (or bank) account as one of the two accounts",
            "Identifies the capital / owner’s equity account as the other account",
            "Debits cash, because the asset increases",
            "Credits capital, because the owner’s claim increases"
          ],
          "missed": [],
          "misconceptions": [],
          "feedback": "Strong answer — the key points are all there.",
          "calibration_gap": -0.11
        },
        "created_at": "2026-08-14T11:43:19.884Z",
        "completed_at": "2026-08-14T11:43:19.884Z"
      }
    ],
    "misconceptions": [],
    "masteryEvents": [],
    "revisionPlans": [],
    "revisionActivities": []
  }
}