實作邏輯題結果與資料庫整合

This commit is contained in:
2025-09-29 02:56:23 +08:00
parent 0887347116
commit aa34d2d078
31 changed files with 1839 additions and 88 deletions

View File

@@ -31,6 +31,18 @@
"test-logic-instructions": "node scripts/test-logic-instructions.js",
"test-logic-simple-instructions": "node scripts/test-logic-simple-instructions.js",
"test-combined-logic-instructions": "node scripts/test-combined-logic-instructions.js",
"check-db-tables": "node scripts/check-db-tables.js",
"test-logic-db-upload": "node scripts/test-logic-db-upload.js",
"test-logic-api": "node scripts/test-logic-api.js",
"fix-logic-answers-table": "node scripts/fix-logic-answers-table.js",
"check-test-results": "node scripts/check-test-results.js",
"test-api-direct": "node scripts/test-api-direct.js",
"test-db-models": "npx tsx scripts/test-db-models.js",
"test-direct-insert": "node scripts/test-direct-insert.js",
"check-user-exists": "node scripts/check-user-exists.js",
"test-create-result": "node scripts/test-create-result.js",
"test-simple-insert": "node scripts/test-simple-insert.js",
"test-user-results-api": "node scripts/test-user-results-detailed.js",
"update-logic-table": "node scripts/update-logic-table.js",
"seed-db": "npx tsx lib/database/seed.ts",
"seed-logic-questions": "npx tsx lib/database/seed-logic-questions.ts",