Repository navigation
Conversation
Owner
Author
验收结论(verifier,HEAD d35b8df)结论:不放行(fail) — 功能与门槛都对,但有一处会重复取数的实现问题 + 一处方向写错的文案。 已跑
问题
通过项:口径正确( |
Owner
Author
|
验收结论:放行。
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动
StatsQuery.error_trend(src/stats/query.py):读usage_hourly_dim按小时桶 × error_type 聚合失败行数(requests - ok_count),可选 provider/model 下钻;窗口两端对齐整点,缺省 7 天,桶数上限 5000,超出从下界截断并回传实际区间 +truncated。不含逐行救援判定(无 rescued 字段)。GET /api/stats/error-trend(src/api/admin_stats.py):沿用统计只读权限,viewer+ 可读,未登录 401。验证
uv run ruff check src tests scripts全绿uv run pytest -q --cov=src --cov-report=term --cov-fail-under=100→ 6614 passed,覆盖率 100%cd web && pnpm exec tsc --noEmit && pnpm exec vitest run && pnpm build→ 1051 passed,build 成功无 schema 变更、无保留期调整(明细仍 45 天)。