Developer
82a9e75842
fix: code review — 7 issues resolved
...
(C1) Add dimensionScores/radarData/passed columns to AssessmentSession
(C2) Mock DataSource in service.spec.ts + app.e2e-spec.ts
(C3) Mock AuditLogService in controller.spec.ts
(C4) Rewrite deleteSession tests for dataSource.transaction
(I1) batchDeleteSessions uses transaction with certificate cleanup
(I2) extractDimensionScores reads from session property
(I3/I5) PDF generator supports multi-page + newline splitting
(I4) findOne inside transaction uses deleteCondition
2026-05-19 10:06:30 +08:00
Developer
7f8e7214b3
P3-02-03-04: audit log, batch ops, transactions
...
P3-02: audit-log.entity + service, manual logging in controller
(startSession, submitAnswer, deleteSession, review, forceEnd)
P3-03: POST batch-delete, POST batch-export endpoints + service methods
P3-04: DataSource.transaction for deleteSession + reviewAssessment,
graph state cleanup on session delete
2026-05-19 09:52:31 +08:00
Developer
eb0798de5b
P2-1: remove dead cost-control module (3 files)
...
P2-2: switch TypeORM to autoLoadEntities: true
Remove unused vision-pipeline-cost-aware.service.ts,
cost-control.service.ts and its orphan module.
Switch explicit entities[] list to autoLoadEntities.
2026-05-19 09:39:41 +08:00
Developer
33e48f6d4e
P1-3: grader/interviewer node unit tests (24 passing)
...
grader.node.spec.ts — 13 tests: LLM mock validation, breakout logic
(shorts/IDontKnow), error handling, scoring/indexing, zh/ja language support
interviewer.node.spec.ts — 11 tests: empty questions, index bounds,
standard presentation, follow-up mode, zh/ja/en localization
2026-05-19 09:30:19 +08:00
Developer
b139ae18b7
P1-2: certificate E2E integration tests + API verification
...
- Certificate lifecycle tests: create/verify/idempotency/level
- Public endpoint integration tests for verifyCertificate and getPublicCertificateInfo
- API verified: /public returns 200, /verify returns 200, auth endpoint returns 404 for missing
2026-05-19 09:26:34 +08:00
Developer
68371922ca
P0-1/P0-2/P1-1: dimensions form + E2E tests + PDF export
...
P0-1 Backend: dimensions column on template entity + validation
P0-1 Frontend: dimensions edit UI in TemplateManager
P0-2: routeAfterGrading unit tests (10 cases), service spec fix + certificate tests, jest-e2e.json
P1-1: proper PDF generation with embedded CJK font via pdf-lib low-level API
2026-05-19 08:42:03 +08:00
Developer
0b0a060967
fix: 全部TS错误修复(25->0) + 证书API 500修复 + i18n缺失key补全 + 类型定义修正
...
- 证书API 500修复: AssessmentCertificate实体注册到app.module.ts
- 前端TS错误25个清零: i18n key 17个, 类型定义8个
- i18n补全: 17个缺失key添加到zh/en/ja
- KnowledgeFile类型: 添加title, content字段
- importService: 改用apiClient.request替代raw fetch
- ModeSelector: 移除jsx prop
- questionBankService: .ok -> .status >= 400
- NotebookDetailView: .filter -> .items.filter
- ImportTasksDrawer: tasks.items提取
- API端点审计: 16/16通过
- 数据库Schema审计: 25表288列一致
- AGENTS.md更新
2026-05-18 08:30:59 +08:00
Developer
631e99c0e0
docs: 更新debugging-checklist v2.2 - 整合验证报告
2026-05-15 10:10:15 +08:00
Developer
7ee13b3499
fix: 整合验证修复9个代码缺口 - 历史限制3条、证书公开端点、题库默认DRAFT状态、Admin硬编码
2026-05-15 10:09:27 +08:00
Developer
97287b0fc4
fix: 题库创建唯一约束检查 + 前端错误消息透传
2026-05-15 10:02:32 +08:00
Developer
b70dc68a85
fix: 题库生成功能全面修复 - create方法templateId传参、异常改为BadRequest、前端错误消息透传
2026-05-15 09:55:03 +08:00
Developer
186423d172
fix: 修复10个TS类型错误 - ForbiddenException导入、sort字段、user.name、question.content、lines类型、status比较
2026-05-15 08:22:10 +08:00
Developer
6cc65f7776
docs: 添加Docker混合模式开发指南,修正Git配置地址
2026-05-14 14:01:40 +08:00
Developer
368eddfd75
fix: 代码整合修复 - Entity类型、题库生成、评估流程等14项修复
2026-05-14 09:55:07 +08:00
Developer
122ab5e96f
docs: 更新VERSION.md到v1.1.0
2026-05-13 23:15:18 +08:00
Developer
176fe2270f
feat: 添加历史管理和用户评估记录API
...
- GET /assessment/history: 获取用户评估历史(保留最近100条)
- cleanupOldSessions: 保持最多3条记录(在创建新session时自动清理)
- 复查记录保留完整历史(reviewHistory)
2026-05-13 23:12:03 +08:00
Developer
649844a657
feat: 添加复查功能和批量审核操作
...
- 复查功能: PUT /assessment/:id/review
* 支持调整最终总分
* 记录复查历史(reviewHistory)
* 保存原始分数(originalScore)
* 保留复查人、复查时间、复查意见
- 批量审核: POST /question-banks/:bankId/items/batch-review
* 支持批量通过/拒绝题目
* 可添加审核意见
- AssessmentSession实体: 添加复查相关字段
2026-05-13 23:06:40 +08:00
Developer
332b14454b
docs: 添加版本管理文档 VERSION.md
2026-05-13 22:10:28 +08:00
Developer
b2c17e3eca
feat: 题库管理功能完善
...
- QuestionBankView: 添加删除按钮、卡片点击跳转详情页
- QuestionBankDetailView: 新建题库详情页(题目CRUD/AI生成/审核)
- questionBankService: 添加generateQuestions方法
- index.tsx: 添加详情页路由
2026-05-13 21:51:33 +08:00
Developer
8686d101cd
Initial commit: AuraK人才测评系统基础框架
...
## 已实现功能
- 题库管理后端API完整实现
- 模板管理页面(Settings-测评模板)
- 评估统计页面
- 人才测评页面(AssessmentView)
- QuestionBank前端服务层
## 技术栈
- 后端: Node.js + NestJS + TypeORM
- 前端: React + TypeScript
- 容器化: Docker Compose
## 已知待完善
- 题库列表页缺少删除按钮
- 题库详情页未实现(题目管理/AI生成/审核)
2026-05-13 21:32:41 +08:00
Developer
0a9588abb7
feat: implement QuestionBank CRUD with pagination and template query
...
- Add pagination support to findAll (page, limit query params)
- Add findByTemplateId method to service
- Add GET /by-template/:templateId endpoint to controller
- Service already includes CRUD for QuestionBank and QuestionBankItem
2026-04-23 17:19:11 +08:00