Files
16gagent/docs/reports/benchmark-results.json
2026-06-06 10:40:48 +08:00

1373 lines
36 KiB
JSON

[
{
"id": "petcare",
"input": "做一个宠物护理管理平台,宠物主人可以管理宠物档案、健康日程、日常记录和成长相册",
"projectName": "PetCare",
"domain": "pet",
"reqTime": 0.1,
"frontend": {
"hasPackageJson": true,
"hasNextConfig": true,
"hasAppPage": true,
"hasEntityPages": true,
"hasServices": true,
"hasTypes": true,
"fileCount": 37,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "PetCare",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/petcare/frontend",
"stats": {
"totalFiles": 37,
"pages": 7,
"components": 9,
"hooks": 7,
"services": 6,
"pageFiles": [
"app/page.tsx",
"app/pet/[id]/page.tsx",
"app/schedule/page.tsx",
"app/daily-log/page.tsx",
"app/album/page.tsx",
"app/hospitals/page.tsx",
"app/profile/page.tsx"
],
"componentFiles": [
"components/layout/Sidebar.tsx",
"components/layout/BottomNav.tsx",
"components/ui/Button.tsx",
"components/ui/Card.tsx",
"components/ui/Input.tsx",
"components/ui/Modal.tsx",
"components/ui/EmptyState.tsx",
"components/pet/PetCard.tsx",
"components/pet/ScheduleCard.tsx"
]
}
}
},
"backend": {
"hasPackageJson": true,
"hasDbSchema": true,
"hasRoutes": true,
"hasServices": true,
"hasAuth": true,
"hasMiddleware": true,
"hasTypes": true,
"fileCount": 26,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "PetCare",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/petcare/backend",
"stats": {
"totalFiles": 26,
"routes": 4,
"services": 4,
"tests": 5,
"dbSchema": 4,
"routeFiles": [
"src/routes/users.ts",
"src/routes/pets.ts",
"src/routes/schedules.ts",
"src/routes/daily_logs.ts"
],
"serviceFiles": [
"src/services/user.ts",
"src/services/pet.ts",
"src/services/schedule.ts",
"src/services/daily_log.ts"
],
"testFiles": [
"src/__tests__/auth.test.ts",
"src/__tests__/users.test.ts",
"src/__tests__/pets.test.ts",
"src/__tests__/schedules.test.ts",
"src/__tests__/daily_logs.test.ts"
]
}
}
},
"fullstack": {
"hasWeb": true,
"hasApi": true,
"hasSharedTypes": true,
"hasSharedConfig": true,
"hasRootPackageJson": true,
"hasReadme": true,
"fileCount": 75,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "PetCare",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/petcare/fullstack",
"stats": {
"totalFiles": 75,
"webFiles": 37,
"apiFiles": 26,
"sharedFiles": 6,
"rootFiles": 4,
"dbSchema": 4
}
}
},
"build": {
"frontend": {
"build": "PASS",
"error": null
},
"backend": {
"build": "PASS",
"error": null
},
"fullstack": {
"build": "PASS",
"reason": "Structure validated (monorepo)"
}
},
"api": {
"health": true,
"register": true,
"login": true,
"me": true,
"create": true,
"read": true,
"update": true,
"delete": true,
"crudAllPass": true,
"authAllPass": true,
"routeCount": 5
},
"totalTime": 16.8
},
{
"id": "crm",
"input": "做一个客户关系管理系统,支持客户管理、销售漏斗、跟进记录和数据分析仪表盘",
"projectName": "NoteApp",
"domain": "note",
"reqTime": 0.1,
"frontend": {
"hasPackageJson": true,
"hasNextConfig": true,
"hasAppPage": true,
"hasEntityPages": true,
"hasServices": true,
"hasTypes": true,
"fileCount": 28,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "NoteApp",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/crm/frontend",
"stats": {
"totalFiles": 28,
"pages": 5,
"components": 8,
"hooks": 4,
"services": 3,
"pageFiles": [
"app/page.tsx",
"app/notes/page.tsx",
"app/note/[id]/page.tsx",
"app/tags/page.tsx",
"app/settings/page.tsx"
],
"componentFiles": [
"components/layout/Sidebar.tsx",
"components/layout/BottomNav.tsx",
"components/ui/Button.tsx",
"components/ui/Card.tsx",
"components/ui/Input.tsx",
"components/ui/Modal.tsx",
"components/ui/EmptyState.tsx",
"components/note/NoteCard.tsx"
]
}
}
},
"backend": {
"hasPackageJson": true,
"hasDbSchema": true,
"hasRoutes": true,
"hasServices": true,
"hasAuth": true,
"hasMiddleware": true,
"hasTypes": true,
"fileCount": 26,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "NoteApp",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/crm/backend",
"stats": {
"totalFiles": 26,
"routes": 4,
"services": 4,
"tests": 5,
"dbSchema": 4,
"routeFiles": [
"src/routes/users.ts",
"src/routes/notes.ts",
"src/routes/tags.ts",
"src/routes/note_tags.ts"
],
"serviceFiles": [
"src/services/user.ts",
"src/services/note.ts",
"src/services/tag.ts",
"src/services/note_tag.ts"
],
"testFiles": [
"src/__tests__/auth.test.ts",
"src/__tests__/users.test.ts",
"src/__tests__/notes.test.ts",
"src/__tests__/tags.test.ts",
"src/__tests__/note_tags.test.ts"
]
}
}
},
"fullstack": {
"hasWeb": true,
"hasApi": true,
"hasSharedTypes": true,
"hasSharedConfig": true,
"hasRootPackageJson": true,
"hasReadme": true,
"fileCount": 66,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "NoteApp",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/crm/fullstack",
"stats": {
"totalFiles": 66,
"webFiles": 28,
"apiFiles": 26,
"sharedFiles": 6,
"rootFiles": 4,
"dbSchema": 4
}
}
},
"build": {
"frontend": {
"build": "PASS",
"error": null
},
"backend": {
"build": "PASS",
"error": null
},
"fullstack": {
"build": "PASS",
"reason": "Structure validated (monorepo)"
}
},
"api": {
"health": true,
"register": true,
"login": true,
"me": true,
"create": true,
"read": true,
"update": true,
"delete": true,
"crudAllPass": true,
"authAllPass": true,
"routeCount": 5
},
"totalTime": 19
},
{
"id": "inventory",
"input": "做一个库存管理系统,支持商品入库出库、库存盘点、供应商管理和库存预警",
"projectName": "ShopApp",
"domain": "ecommerce",
"reqTime": 0.1,
"frontend": {
"hasPackageJson": true,
"hasNextConfig": true,
"hasAppPage": true,
"hasEntityPages": true,
"hasServices": true,
"hasTypes": true,
"fileCount": 35,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "ShopApp",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/inventory/frontend",
"stats": {
"totalFiles": 35,
"pages": 6,
"components": 8,
"hooks": 7,
"services": 6,
"pageFiles": [
"app/page.tsx",
"app/product/[id]/page.tsx",
"app/cart/page.tsx",
"app/orders/page.tsx",
"app/order/[id]/page.tsx",
"app/profile/page.tsx"
],
"componentFiles": [
"components/layout/Sidebar.tsx",
"components/layout/BottomNav.tsx",
"components/ui/Button.tsx",
"components/ui/Card.tsx",
"components/ui/Input.tsx",
"components/ui/Modal.tsx",
"components/ui/EmptyState.tsx",
"components/ecommerce/ProductCard.tsx"
]
}
}
},
"backend": {
"hasPackageJson": true,
"hasDbSchema": true,
"hasRoutes": true,
"hasServices": true,
"hasAuth": true,
"hasMiddleware": true,
"hasTypes": true,
"fileCount": 29,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "ShopApp",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/inventory/backend",
"stats": {
"totalFiles": 29,
"routes": 5,
"services": 5,
"tests": 6,
"dbSchema": 5,
"routeFiles": [
"src/routes/users.ts",
"src/routes/products.ts",
"src/routes/orders.ts",
"src/routes/order_items.ts",
"src/routes/logistics.ts"
],
"serviceFiles": [
"src/services/user.ts",
"src/services/product.ts",
"src/services/order.ts",
"src/services/order_item.ts",
"src/services/logistic.ts"
],
"testFiles": [
"src/__tests__/auth.test.ts",
"src/__tests__/users.test.ts",
"src/__tests__/products.test.ts",
"src/__tests__/orders.test.ts",
"src/__tests__/order_items.test.ts",
"src/__tests__/logistics.test.ts"
]
}
}
},
"fullstack": {
"hasWeb": true,
"hasApi": true,
"hasSharedTypes": true,
"hasSharedConfig": true,
"hasRootPackageJson": true,
"hasReadme": true,
"fileCount": 76,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "ShopApp",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/inventory/fullstack",
"stats": {
"totalFiles": 76,
"webFiles": 35,
"apiFiles": 29,
"sharedFiles": 6,
"rootFiles": 4,
"dbSchema": 5
}
}
},
"build": {
"frontend": {
"build": "PASS",
"error": null
},
"backend": {
"build": "PASS",
"error": null
},
"fullstack": {
"build": "PASS",
"reason": "Structure validated (monorepo)"
}
},
"api": {
"health": true,
"register": true,
"login": true,
"me": true,
"create": true,
"read": true,
"update": true,
"delete": true,
"crudAllPass": true,
"authAllPass": true,
"routeCount": 6
},
"totalTime": 16.3
},
{
"id": "ticket",
"input": "做一个工单系统,支持工单创建、分配、处理流程、优先级管理和工单归档",
"projectName": "OAFlow",
"domain": "enterprise",
"reqTime": 0.1,
"frontend": {
"hasPackageJson": true,
"hasNextConfig": true,
"hasAppPage": true,
"hasEntityPages": true,
"hasServices": true,
"hasTypes": true,
"fileCount": 34,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "OAFlow",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/ticket/frontend",
"stats": {
"totalFiles": 34,
"pages": 6,
"components": 7,
"hooks": 7,
"services": 6,
"pageFiles": [
"app/page.tsx",
"app/attendance/page.tsx",
"app/approvals/page.tsx",
"app/contacts/page.tsx",
"app/notices/page.tsx",
"app/profile/page.tsx"
],
"componentFiles": [
"components/layout/Sidebar.tsx",
"components/layout/BottomNav.tsx",
"components/ui/Button.tsx",
"components/ui/Card.tsx",
"components/ui/Input.tsx",
"components/ui/Modal.tsx",
"components/ui/EmptyState.tsx"
]
}
}
},
"backend": {
"hasPackageJson": true,
"hasDbSchema": true,
"hasRoutes": true,
"hasServices": true,
"hasAuth": true,
"hasMiddleware": true,
"hasTypes": true,
"fileCount": 29,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "OAFlow",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/ticket/backend",
"stats": {
"totalFiles": 29,
"routes": 5,
"services": 5,
"tests": 6,
"dbSchema": 5,
"routeFiles": [
"src/routes/users.ts",
"src/routes/departments.ts",
"src/routes/approvals.ts",
"src/routes/approval_steps.ts",
"src/routes/attendance.ts"
],
"serviceFiles": [
"src/services/user.ts",
"src/services/department.ts",
"src/services/approval.ts",
"src/services/approval_step.ts",
"src/services/attendance.ts"
],
"testFiles": [
"src/__tests__/auth.test.ts",
"src/__tests__/users.test.ts",
"src/__tests__/departments.test.ts",
"src/__tests__/approvals.test.ts",
"src/__tests__/approval_steps.test.ts",
"src/__tests__/attendance.test.ts"
]
}
}
},
"fullstack": {
"hasWeb": true,
"hasApi": true,
"hasSharedTypes": true,
"hasSharedConfig": true,
"hasRootPackageJson": true,
"hasReadme": true,
"fileCount": 75,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "OAFlow",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/ticket/fullstack",
"stats": {
"totalFiles": 75,
"webFiles": 34,
"apiFiles": 29,
"sharedFiles": 6,
"rootFiles": 4,
"dbSchema": 5
}
}
},
"build": {
"frontend": {
"build": "PASS",
"error": null
},
"backend": {
"build": "PASS",
"error": null
},
"fullstack": {
"build": "PASS",
"reason": "Structure validated (monorepo)"
}
},
"api": {
"health": true,
"register": true,
"login": true,
"me": true,
"create": true,
"read": true,
"update": true,
"delete": true,
"crudAllPass": true,
"authAllPass": true,
"routeCount": 6
},
"totalTime": 14.7
},
{
"id": "blog-cms",
"input": "做一个博客内容管理系统,支持文章发布、分类标签、评论管理和媒体库",
"projectName": "SocialApp",
"domain": "social",
"reqTime": 0.1,
"frontend": {
"hasPackageJson": true,
"hasNextConfig": true,
"hasAppPage": true,
"hasEntityPages": true,
"hasServices": true,
"hasTypes": true,
"fileCount": 30,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "SocialApp",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/blog-cms/frontend",
"stats": {
"totalFiles": 30,
"pages": 4,
"components": 7,
"hooks": 6,
"services": 5,
"pageFiles": [
"app/page.tsx",
"app/publish/page.tsx",
"app/messages/page.tsx",
"app/profile/[userId]/page.tsx"
],
"componentFiles": [
"components/layout/Sidebar.tsx",
"components/layout/BottomNav.tsx",
"components/ui/Button.tsx",
"components/ui/Card.tsx",
"components/ui/Input.tsx",
"components/ui/Modal.tsx",
"components/ui/EmptyState.tsx"
]
}
}
},
"backend": {
"hasPackageJson": true,
"hasDbSchema": true,
"hasRoutes": true,
"hasServices": true,
"hasAuth": true,
"hasMiddleware": true,
"hasTypes": true,
"fileCount": 20,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "SocialApp",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/blog-cms/backend",
"stats": {
"totalFiles": 20,
"routes": 2,
"services": 2,
"tests": 3,
"dbSchema": 2,
"routeFiles": [
"src/routes/users.ts",
"src/routes/items.ts"
],
"serviceFiles": [
"src/services/user.ts",
"src/services/item.ts"
],
"testFiles": [
"src/__tests__/auth.test.ts",
"src/__tests__/users.test.ts",
"src/__tests__/items.test.ts"
]
}
}
},
"fullstack": {
"hasWeb": true,
"hasApi": true,
"hasSharedTypes": true,
"hasSharedConfig": true,
"hasRootPackageJson": true,
"hasReadme": true,
"fileCount": 62,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "SocialApp",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/blog-cms/fullstack",
"stats": {
"totalFiles": 62,
"webFiles": 30,
"apiFiles": 20,
"sharedFiles": 6,
"rootFiles": 4,
"dbSchema": 2
}
}
},
"build": {
"frontend": {
"build": "PASS",
"error": null
},
"backend": {
"build": "PASS",
"error": null
},
"fullstack": {
"build": "PASS",
"reason": "Structure validated (monorepo)"
}
},
"api": {
"health": true,
"register": true,
"login": true,
"me": true,
"create": true,
"read": true,
"update": true,
"delete": true,
"crudAllPass": true,
"authAllPass": true,
"routeCount": 3
},
"totalTime": 16.6
},
{
"id": "project-mgmt",
"input": "做一个项目管理系统,支持项目看板、任务分配、甘特图和团队协作",
"projectName": "MyProject",
"domain": "generic",
"reqTime": 0.1,
"frontend": {
"hasPackageJson": true,
"hasNextConfig": true,
"hasAppPage": true,
"hasEntityPages": true,
"hasServices": true,
"hasTypes": true,
"fileCount": 25,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "MyProject",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/project-mgmt/frontend",
"stats": {
"totalFiles": 25,
"pages": 3,
"components": 7,
"hooks": 4,
"services": 3,
"pageFiles": [
"app/page.tsx",
"app/feature/page.tsx",
"app/profile/page.tsx"
],
"componentFiles": [
"components/layout/Sidebar.tsx",
"components/layout/BottomNav.tsx",
"components/ui/Button.tsx",
"components/ui/Card.tsx",
"components/ui/Input.tsx",
"components/ui/Modal.tsx",
"components/ui/EmptyState.tsx"
]
}
}
},
"backend": {
"hasPackageJson": true,
"hasDbSchema": true,
"hasRoutes": true,
"hasServices": true,
"hasAuth": true,
"hasMiddleware": true,
"hasTypes": true,
"fileCount": 20,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "MyProject",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/project-mgmt/backend",
"stats": {
"totalFiles": 20,
"routes": 2,
"services": 2,
"tests": 3,
"dbSchema": 2,
"routeFiles": [
"src/routes/users.ts",
"src/routes/items.ts"
],
"serviceFiles": [
"src/services/user.ts",
"src/services/item.ts"
],
"testFiles": [
"src/__tests__/auth.test.ts",
"src/__tests__/users.test.ts",
"src/__tests__/items.test.ts"
]
}
}
},
"fullstack": {
"hasWeb": true,
"hasApi": true,
"hasSharedTypes": true,
"hasSharedConfig": true,
"hasRootPackageJson": true,
"hasReadme": true,
"fileCount": 57,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "MyProject",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/project-mgmt/fullstack",
"stats": {
"totalFiles": 57,
"webFiles": 25,
"apiFiles": 20,
"sharedFiles": 6,
"rootFiles": 4,
"dbSchema": 2
}
}
},
"build": {
"frontend": {
"build": "PASS",
"error": null
},
"backend": {
"build": "PASS",
"error": null
},
"fullstack": {
"build": "PASS",
"reason": "Structure validated (monorepo)"
}
},
"api": {
"health": true,
"register": true,
"login": true,
"me": true,
"create": true,
"read": true,
"update": true,
"delete": true,
"crudAllPass": true,
"authAllPass": true,
"routeCount": 3
},
"totalTime": 15.6
},
{
"id": "hr",
"input": "做一个人力资源管理系统,支持员工档案、考勤管理、招聘流程和绩效评估",
"projectName": "OAFlow",
"domain": "enterprise",
"reqTime": 0.1,
"frontend": {
"hasPackageJson": true,
"hasNextConfig": true,
"hasAppPage": true,
"hasEntityPages": true,
"hasServices": true,
"hasTypes": true,
"fileCount": 34,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "OAFlow",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/hr/frontend",
"stats": {
"totalFiles": 34,
"pages": 6,
"components": 7,
"hooks": 7,
"services": 6,
"pageFiles": [
"app/page.tsx",
"app/attendance/page.tsx",
"app/approvals/page.tsx",
"app/contacts/page.tsx",
"app/notices/page.tsx",
"app/profile/page.tsx"
],
"componentFiles": [
"components/layout/Sidebar.tsx",
"components/layout/BottomNav.tsx",
"components/ui/Button.tsx",
"components/ui/Card.tsx",
"components/ui/Input.tsx",
"components/ui/Modal.tsx",
"components/ui/EmptyState.tsx"
]
}
}
},
"backend": {
"hasPackageJson": true,
"hasDbSchema": true,
"hasRoutes": true,
"hasServices": true,
"hasAuth": true,
"hasMiddleware": true,
"hasTypes": true,
"fileCount": 29,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "OAFlow",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/hr/backend",
"stats": {
"totalFiles": 29,
"routes": 5,
"services": 5,
"tests": 6,
"dbSchema": 5,
"routeFiles": [
"src/routes/users.ts",
"src/routes/departments.ts",
"src/routes/approvals.ts",
"src/routes/approval_steps.ts",
"src/routes/attendance.ts"
],
"serviceFiles": [
"src/services/user.ts",
"src/services/department.ts",
"src/services/approval.ts",
"src/services/approval_step.ts",
"src/services/attendance.ts"
],
"testFiles": [
"src/__tests__/auth.test.ts",
"src/__tests__/users.test.ts",
"src/__tests__/departments.test.ts",
"src/__tests__/approvals.test.ts",
"src/__tests__/approval_steps.test.ts",
"src/__tests__/attendance.test.ts"
]
}
}
},
"fullstack": {
"hasWeb": true,
"hasApi": true,
"hasSharedTypes": true,
"hasSharedConfig": true,
"hasRootPackageJson": true,
"hasReadme": true,
"fileCount": 75,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "OAFlow",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/hr/fullstack",
"stats": {
"totalFiles": 75,
"webFiles": 34,
"apiFiles": 29,
"sharedFiles": 6,
"rootFiles": 4,
"dbSchema": 5
}
}
},
"build": {
"frontend": {
"build": "PASS",
"error": null
},
"backend": {
"build": "PASS",
"error": null
},
"fullstack": {
"build": "PASS",
"reason": "Structure validated (monorepo)"
}
},
"api": {
"health": true,
"register": true,
"login": true,
"me": true,
"create": true,
"read": true,
"update": true,
"delete": true,
"crudAllPass": true,
"authAllPass": true,
"routeCount": 6
},
"totalTime": 15.4
},
{
"id": "asset",
"input": "做一个固定资产管理系统,支持资产登记、领用归还、折旧计算和盘点统计",
"projectName": "MyProject",
"domain": "generic",
"reqTime": 0.1,
"frontend": {
"hasPackageJson": true,
"hasNextConfig": true,
"hasAppPage": true,
"hasEntityPages": true,
"hasServices": true,
"hasTypes": true,
"fileCount": 25,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "MyProject",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/asset/frontend",
"stats": {
"totalFiles": 25,
"pages": 3,
"components": 7,
"hooks": 4,
"services": 3,
"pageFiles": [
"app/page.tsx",
"app/feature/page.tsx",
"app/profile/page.tsx"
],
"componentFiles": [
"components/layout/Sidebar.tsx",
"components/layout/BottomNav.tsx",
"components/ui/Button.tsx",
"components/ui/Card.tsx",
"components/ui/Input.tsx",
"components/ui/Modal.tsx",
"components/ui/EmptyState.tsx"
]
}
}
},
"backend": {
"hasPackageJson": true,
"hasDbSchema": true,
"hasRoutes": true,
"hasServices": true,
"hasAuth": true,
"hasMiddleware": true,
"hasTypes": true,
"fileCount": 20,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "MyProject",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/asset/backend",
"stats": {
"totalFiles": 20,
"routes": 2,
"services": 2,
"tests": 3,
"dbSchema": 2,
"routeFiles": [
"src/routes/users.ts",
"src/routes/items.ts"
],
"serviceFiles": [
"src/services/user.ts",
"src/services/item.ts"
],
"testFiles": [
"src/__tests__/auth.test.ts",
"src/__tests__/users.test.ts",
"src/__tests__/items.test.ts"
]
}
}
},
"fullstack": {
"hasWeb": true,
"hasApi": true,
"hasSharedTypes": true,
"hasSharedConfig": true,
"hasRootPackageJson": true,
"hasReadme": true,
"fileCount": 57,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "MyProject",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/asset/fullstack",
"stats": {
"totalFiles": 57,
"webFiles": 25,
"apiFiles": 20,
"sharedFiles": 6,
"rootFiles": 4,
"dbSchema": 2
}
}
},
"build": {
"frontend": {
"build": "PASS",
"error": null
},
"backend": {
"build": "PASS",
"error": null
},
"fullstack": {
"build": "PASS",
"reason": "Structure validated (monorepo)"
}
},
"api": {
"health": true,
"register": true,
"login": true,
"me": true,
"create": true,
"read": true,
"update": true,
"delete": true,
"crudAllPass": true,
"authAllPass": true,
"routeCount": 3
},
"totalTime": 18.1
},
{
"id": "course",
"input": "做一个在线课程管理系统,支持课程发布、章节管理、学员进度和作业批改",
"projectName": "EduPlatform",
"domain": "education",
"reqTime": 0.1,
"frontend": {
"hasPackageJson": true,
"hasNextConfig": true,
"hasAppPage": true,
"hasEntityPages": true,
"hasServices": true,
"hasTypes": true,
"fileCount": 32,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "EduPlatform",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/course/frontend",
"stats": {
"totalFiles": 32,
"pages": 6,
"components": 7,
"hooks": 6,
"services": 5,
"pageFiles": [
"app/page.tsx",
"app/course/[id]/page.tsx",
"app/learn/[courseId]/[lessonId]/page.tsx",
"app/exercises/page.tsx",
"app/live/page.tsx",
"app/profile/page.tsx"
],
"componentFiles": [
"components/layout/Sidebar.tsx",
"components/layout/BottomNav.tsx",
"components/ui/Button.tsx",
"components/ui/Card.tsx",
"components/ui/Input.tsx",
"components/ui/Modal.tsx",
"components/ui/EmptyState.tsx"
]
}
}
},
"backend": {
"hasPackageJson": true,
"hasDbSchema": true,
"hasRoutes": true,
"hasServices": true,
"hasAuth": true,
"hasMiddleware": true,
"hasTypes": true,
"fileCount": 29,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "EduPlatform",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/course/backend",
"stats": {
"totalFiles": 29,
"routes": 5,
"services": 5,
"tests": 6,
"dbSchema": 5,
"routeFiles": [
"src/routes/users.ts",
"src/routes/courses.ts",
"src/routes/lessons.ts",
"src/routes/exercises.ts",
"src/routes/user_progress.ts"
],
"serviceFiles": [
"src/services/user.ts",
"src/services/cours.ts",
"src/services/lesson.ts",
"src/services/exercis.ts",
"src/services/user_progress.ts"
],
"testFiles": [
"src/__tests__/auth.test.ts",
"src/__tests__/users.test.ts",
"src/__tests__/courses.test.ts",
"src/__tests__/lessons.test.ts",
"src/__tests__/exercises.test.ts",
"src/__tests__/user_progress.test.ts"
]
}
}
},
"fullstack": {
"hasWeb": true,
"hasApi": true,
"hasSharedTypes": true,
"hasSharedConfig": true,
"hasRootPackageJson": true,
"hasReadme": true,
"fileCount": 73,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "EduPlatform",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/course/fullstack",
"stats": {
"totalFiles": 73,
"webFiles": 32,
"apiFiles": 29,
"sharedFiles": 6,
"rootFiles": 4,
"dbSchema": 5
}
}
},
"build": {
"frontend": {
"build": "PASS",
"error": null
},
"backend": {
"build": "PASS",
"error": null
},
"fullstack": {
"build": "PASS",
"reason": "Structure validated (monorepo)"
}
},
"api": {
"health": true,
"register": true,
"login": true,
"me": true,
"create": true,
"read": true,
"update": true,
"delete": true,
"crudAllPass": true,
"authAllPass": true,
"routeCount": 6
},
"totalTime": 39.1
},
{
"id": "appointment",
"input": "做一个预约管理系统,支持服务项目、时间段预约、客户通知和预约统计",
"projectName": "MyProject",
"domain": "generic",
"reqTime": 0.1,
"frontend": {
"hasPackageJson": true,
"hasNextConfig": true,
"hasAppPage": true,
"hasEntityPages": true,
"hasServices": true,
"hasTypes": true,
"fileCount": 25,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "MyProject",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/appointment/frontend",
"stats": {
"totalFiles": 25,
"pages": 3,
"components": 7,
"hooks": 4,
"services": 3,
"pageFiles": [
"app/page.tsx",
"app/feature/page.tsx",
"app/profile/page.tsx"
],
"componentFiles": [
"components/layout/Sidebar.tsx",
"components/layout/BottomNav.tsx",
"components/ui/Button.tsx",
"components/ui/Card.tsx",
"components/ui/Input.tsx",
"components/ui/Modal.tsx",
"components/ui/EmptyState.tsx"
]
}
}
},
"backend": {
"hasPackageJson": true,
"hasDbSchema": true,
"hasRoutes": true,
"hasServices": true,
"hasAuth": true,
"hasMiddleware": true,
"hasTypes": true,
"fileCount": 20,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "MyProject",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/appointment/backend",
"stats": {
"totalFiles": 20,
"routes": 2,
"services": 2,
"tests": 3,
"dbSchema": 2,
"routeFiles": [
"src/routes/users.ts",
"src/routes/items.ts"
],
"serviceFiles": [
"src/services/user.ts",
"src/services/item.ts"
],
"testFiles": [
"src/__tests__/auth.test.ts",
"src/__tests__/users.test.ts",
"src/__tests__/items.test.ts"
]
}
}
},
"fullstack": {
"hasWeb": true,
"hasApi": true,
"hasSharedTypes": true,
"hasSharedConfig": true,
"hasRootPackageJson": true,
"hasReadme": true,
"fileCount": 57,
"elapsed": 0.1,
"allPassed": true,
"result": {
"projectName": "MyProject",
"outputDir": "/Users/a1234/.openclaw/workspace/.benchmark/appointment/fullstack",
"stats": {
"totalFiles": 57,
"webFiles": 25,
"apiFiles": 20,
"sharedFiles": 6,
"rootFiles": 4,
"dbSchema": 2
}
}
},
"build": {
"frontend": {
"build": "PASS",
"error": null
},
"backend": {
"build": "PASS",
"error": null
},
"fullstack": {
"build": "PASS",
"reason": "Structure validated (monorepo)"
}
},
"api": {
"health": true,
"register": true,
"login": true,
"me": true,
"create": true,
"read": true,
"update": true,
"delete": true,
"crudAllPass": true,
"authAllPass": true,
"routeCount": 3
},
"totalTime": 29.8
}
]