{
  "project": "CoreERP — ERP·SCM 통합관리",
  "verifiedAt": "2026-11-24",
  "status": "MVP and daily summary batch implemented and tested; NOT deployed to an external production server",
  "repository": "https://github.com/kimsoonil/CoreERP",
  "sourceVisibility": "public",
  "verifiedCodeCommit": "72e1496e18217a1202df304a626a9fcf171ddb57",
  "ciRun": "https://github.com/kimsoonil/CoreERP/actions/runs/45338960592",
  "tests": {
    "junitMockMvc": 52,
    "vitest": 61,
    "playwright": 4
  },
  "ciJobs": {
    "backend": "success",
    "frontend": "success",
    "browser": "success",
    "docker": "success",
    "sql-performance": "success"
  },
  "demoData": {
    "products": 10000,
    "warehouses": 3,
    "suppliers": 20,
    "customers": 30,
    "purchaseOrders": 120,
    "partialReceipts": 12,
    "salesOrders": 95,
    "confirmedShipments": 90,
    "reservedSalesOrders": 5,
    "scope": "Synthetic seed data; browser tests add disposable transactions"
  },
  "concurrency": {
    "salesRequests": 48,
    "availableStock": 5,
    "successfulReservations": 5,
    "sameOrderShipmentRequests": 24,
    "shipmentsCreated": 1,
    "duplicateRequestKeyRequests": 16,
    "salesOrdersCreatedForDuplicateKey": 1,
    "reversedItemOrderRequests": 20
  },
  "rollback": "Injected database failure on the second receipt/shipment item; entire transaction rollback verified",
  "sqlPerformance": {
    "rows": 200000,
    "warmup": 3,
    "repeats": 7,
    "documentation": "https://github.com/kimsoonil/CoreERP/blob/main/docs/sql-performance.md",
    "scope": "Controlled warm-cache single-query experiment; not a production latency or throughput guarantee"
  },
  "screenshots": [
    "/coreerp-shipment.png",
    "/coreerp-sales.png",
    "/coreerp-mobile.png",
    "/coreerp-daily-batch.png"
  ],
  "notImplemented": [
    "External production deployment",
    "Partial shipment",
    "Returns/payments/accounting",
    "Multi-company tenancy",
    "Password reset"
  ],
  "existingServices": "Existing game database, ERP deployment and original repositories remain unchanged",
  "dailyBatch": {
    "documentation": "https://github.com/kimsoonil/CoreERP/blob/main/docs/daily-batch.md",
    "integrationTests": 13,
    "migrationTests": 1,
    "timezone": "Asia/Seoul",
    "scheduledByDefault": false,
    "validated": [
      "Raw/header/product/customer totals",
      "Unchanged source SKIPPED",
      "Concurrent job BATCH_BUSY",
      "Late cancellation and source changes",
      "Initial/replacement failure rollback and retry",
      "Committed snapshot with failed journal recovery",
      "V900 demo migration preserves source counts",
      "ADMIN and CSRF"
    ]
  },
  "testExpansion": {
    "javaAdded": 11,
    "reactAdded": 13,
    "javaScope": [
      "KST and leap-year date boundaries",
      "366-day maximum and rejected inputs",
      "Scheduler ordering, date deduplication, busy deferral and next-trigger retry"
    ],
    "reactScope": [
      "CSRF lifecycle and session expiration",
      "Business and non-JSON server errors",
      "Pending button and duplicate clicks",
      "SKIPPED notice, failure refresh and retry",
      "Product/customer detail dialog"
    ],
    "documentation": "https://github.com/kimsoonil/CoreERP/blob/main/docs/testing.md",
    "limitations": "jsdom component tests do not replace browser layout or database transaction tests"
  },
  "coverage": {
    "scope": "React remeasured locally with Vitest/jsdom; Java 21 fresh-DB PostgreSQL 18.7 measurement retained from prior step; CI uses PostgreSQL 17; Playwright NOT included",
    "java": {
      "tool": "JaCoCo 0.8.14",
      "lineBefore": 82.43,
      "lineAfter": 84.66,
      "branchBefore": 71.94,
      "branchAfter": 77.04,
      "includes": "All compiled application classes; SQL/XML coverage not measured"
    },
    "react": {
      "tool": "Vitest 4.1.12 V8",
      "lineBefore": 21.29,
      "lineAfter": 96.62,
      "branchBefore": 17.94,
      "branchAfter": 91.17,
      "includes": "All src TS/TSX including untested files; excludes tests, test setup and type declarations"
    },
    "addedTests": {
      "java": 6,
      "react": 10
    },
    "documentation": "https://github.com/kimsoonil/CoreERP/blob/main/docs/coverage.md",
    "remaining": "Some login error, document/inventory modal or search, Operations history cell/period/close lines and branches remain; 100% lines is not proof of all role combinations or async races",
    "react70Goal": {
      "previousLines": 42.33,
      "currentLines": 74.54,
      "covered": 287,
      "total": 385,
      "testsAdded": 12,
      "lineThreshold": 70,
      "sameSourceScope": true
    },
    "react80Goal": {
      "previousLines": 74.54,
      "currentLines": 90.64,
      "covered": 349,
      "total": 385,
      "testsAdded": 14,
      "thresholds": {
        "lines": 80,
        "statements": 80,
        "branches": 80,
        "functions": 80
      },
      "app": {
        "lines": 100,
        "branches": 95
      },
      "documents": {
        "lines": 90.36,
        "branches": 91.42
      },
      "sameSourceScope": true
    },
    "react95Goal": {
      "previousLines": 90.64,
      "currentLines": 96.62,
      "covered": 372,
      "total": 385,
      "testsAdded": 8,
      "thresholds": {
        "lines": 95,
        "statements": 80,
        "branches": 80,
        "functions": 80
      },
      "main": {
        "lines": 100
      },
      "dailyBatch": {
        "lines": 100,
        "branches": 91.66
      },
      "documents": {
        "lines": 96.38,
        "branches": 93.33
      },
      "sameSourceScope": true
    }
  }
}
