Skip to content

feat: add evaluation authentication - #4

Draft
chanzhi82020 wants to merge 1 commit into
eval-devfrom
feat-evaluation-authentication
Draft

chanzhi82020 wants to merge 1 commit into
eval-devfrom
feat-evaluation-authentication

Conversation

@chanzhi82020

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

github-actions Bot commented Sep 5, 2025

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 25.5% 16211 / 63558
🔵 Statements 25.5% 16211 / 63558
🔵 Functions 35.25% 471 / 1336
🔵 Branches 74.04% 1606 / 2169
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/global/support/permission/constant.ts 100% 100% 100% 100%
packages/global/support/permission/evaluation/constant.ts 100% 100% 100% 100%
packages/global/support/permission/evaluation/controller.ts 82.35% 50% 100% 82.35% 12-14
packages/global/support/permission/user/constant.ts 100% 100% 100% 100%
packages/global/support/permission/user/controller.ts 85.71% 60% 100% 85.71% 25-27, 29-30
packages/service/core/evaluation/common.ts 19.61% 100% 12% 19.61% 14-27, 30-33, 35-38, 41-44, 50-110, 119-145, 151-165, 171-185, 192-221, 229-249, 255-275, 281-291, 299-311, 317-331, 337-351, 357-381, 449-460, 466-477, 483-492, 498-507, 513-522, 528-546
packages/service/core/evaluation/task/index.ts 5.1% 100% 0% 5.1% 24-52, 55-60, 63-73, 77-90, 93-229, 232-264, 267-288, 291-333, 336-396, 401-417, 420-429, 432-437, 440-474, 477-538, 541-559, 563-636, 640-701
packages/service/support/permission/evaluation/auth.ts 9.73% 100% 0% 9.73% 35-98, 101-134, 138-204, 207-240, 243-280, 284-348, 351-384
projects/app/src/pages/api/common/file/upload.ts 0% 100% 100% 0% 2-140
projects/app/src/pages/api/core/evaluation/dataset/collection/create.ts 100% 95% 100% 100%
projects/app/src/pages/api/core/evaluation/dataset/collection/delete.ts 100% 96.15% 100% 100%
projects/app/src/pages/api/core/evaluation/dataset/collection/deleteTask.ts 0% 100% 100% 0% 2-98
projects/app/src/pages/api/core/evaluation/dataset/collection/failedTasks.ts 0% 100% 100% 0% 2-64
projects/app/src/pages/api/core/evaluation/dataset/collection/list.ts 80.32% 75% 100% 80.32% 33-49, 78-80, 96-111, 178-180, 202
projects/app/src/pages/api/core/evaluation/dataset/collection/qualityAssessmentBatch.ts 0% 100% 100% 0% 2-212
projects/app/src/pages/api/core/evaluation/dataset/collection/retryTask.ts 0% 100% 100% 0% 2-98
projects/app/src/pages/api/core/evaluation/dataset/collection/update.ts 100% 96.29% 100% 100%
projects/app/src/pages/api/core/evaluation/dataset/data/create.ts 100% 97.22% 100% 100%
projects/app/src/pages/api/core/evaluation/dataset/data/delete.ts 94.73% 81.25% 100% 94.73% 41-42, 50-51
projects/app/src/pages/api/core/evaluation/dataset/data/fileId.ts 95.08% 89% 100% 95.08% 197-198, 201-202, 238-239, 253-254, 257-258, 327-328
projects/app/src/pages/api/core/evaluation/dataset/data/list.ts 100% 94.11% 100% 100%
projects/app/src/pages/api/core/evaluation/dataset/data/qualityAssessment.ts 94.02% 86.95% 100% 94.02% 41-42, 50-51
projects/app/src/pages/api/core/evaluation/dataset/data/smartGenerate.ts 0% 100% 100% 0% 2-118
projects/app/src/pages/api/core/evaluation/dataset/data/update.ts 96.82% 93.61% 100% 96.82% 91-92, 100-101
projects/app/src/pages/api/core/evaluation/metric/create.ts 83.33% 81.81% 100% 83.33% 21-22, 25-26, 29-30, 37-38
projects/app/src/pages/api/core/evaluation/metric/delete.ts 100% 100% 100% 100%
projects/app/src/pages/api/core/evaluation/metric/detail.ts 90% 85.71% 100% 90% 16-17
projects/app/src/pages/api/core/evaluation/metric/list.ts 95% 77.27% 100% 95% 45-47, 104-105, 108
projects/app/src/pages/api/core/evaluation/metric/update.ts 73.58% 79.41% 100% 73.58% 15-16, 19-20, 23-24, 27-28, 31-32, 35-36, 39-40
projects/app/src/pages/api/core/evaluation/task/create.ts 88.7% 75% 100% 88.7% 35-36, 45-46, 76-78
projects/app/src/pages/api/core/evaluation/task/delete.ts 74.19% 33.33% 100% 74.19% 18-19, 35-40
projects/app/src/pages/api/core/evaluation/task/detail.ts 80.64% 66.66% 100% 80.64% 38-43
projects/app/src/pages/api/core/evaluation/task/list.ts 87% 61.53% 100% 87% 25-26, 29-30, 41-43, 89-91, 122-124
projects/app/src/pages/api/core/evaluation/task/retryFailed.ts 0% 100% 100% 0% 2-47
projects/app/src/pages/api/core/evaluation/task/start.ts 80.64% 66.66% 100% 80.64% 35-40
projects/app/src/pages/api/core/evaluation/task/stats.ts 82.35% 66.66% 100% 82.35% 38-43
projects/app/src/pages/api/core/evaluation/task/stop.ts 74.19% 33.33% 100% 74.19% 18-19, 35-40
projects/app/src/pages/api/core/evaluation/task/update.ts 78.72% 25% 100% 78.72% 19-20, 28-29, 53-58
projects/app/src/pages/api/core/evaluation/task/item/delete.ts 0% 100% 100% 0% 2-43
projects/app/src/pages/api/core/evaluation/task/item/detail.ts 0% 100% 100% 0% 2-46
projects/app/src/pages/api/core/evaluation/task/item/export.ts 0% 100% 100% 0% 2-68
projects/app/src/pages/api/core/evaluation/task/item/list.ts 0% 100% 100% 0% 2-66
projects/app/src/pages/api/core/evaluation/task/item/retry.ts 0% 100% 100% 0% 2-43
projects/app/src/pages/api/core/evaluation/task/item/update.ts 0% 100% 100% 0% 2-62
Generated in workflow #7 for commit 36e59cc by the Vitest Coverage Report Action

sxf-xiongtao pushed a commit that referenced this pull request Sep 9, 2026
* docs: fix misspelled upgrade-instruction path

Rename self-host/upgrading/upgrade-intruction(.en).mdx to
upgrade-instruction(.en).mdx and update every reference: doc links,
toc entries, sidenav meta, middleware redirect targets, version
timeline exclusion in page.tsx, and doc-last-modified keys

* docs: fix broken relative links in .agents docs and 499 upgrade notes

- remove 9 dead ./assets image references in image-search dev doc (files not in repo)
- repoint report.md source links to current paths after agentLoop refactor
  (agentLoop/domain/usage.ts, agentLoop/provider/piAgent/, sub/sandbox/prepare.ts,
  dispatch/agentLoopCore/application/context/reminder.ts)
- fix pr-review/test-case SKILL.md repo-root relative paths (vitest.config.mts, test/mocks)
- fix dead zh anchor in 499.mdx to #4-获取文件详情
- drop ':192' suffix GitHub cannot resolve in a relative link

* docs: redirect pre-rename misspelled upgrade URLs

The upgrade-intruction → upgrade-instruction rename 404s bookmarks and
inbound links that point at the old misspelled path. Keep both old forms
resolving via the existing middleware exactMap, as suggested in review.

* docs: remove obsolete agent design documents

* docs: remove obsolete image search requirements

---------

Co-authored-by: Archer <545436317@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant