Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
main
oh-my-pi
/
packages
/
stats
/
test
下载当前目录
C
can1357
fix(stats): preserved service-tier across incremental parseSessionFile offsets
be0d9d3e
创建于
17 天前
历史提交
文件
最后提交记录
最后更新时间
behavior-backfill.test.ts
fix(stats): preserve pending behavior backfills
20 天前
db-cost.test.ts
fix(stats): resolved stats openai-codex cost fallback to OpenAI rates - Updated Codex model pricing data to include non-zero input/output/cacheRead rates. - Added generate-models fallback to copy billable OpenAI costs into bundled openai-codex models. - Added catalog-cost helpers to fallback openai-codex pricing to openai and compute token totals. - Added regression tests for openai-codex cost parity and db backfill, and documented the fix in changelog.
1 个月前
db-range.test.ts
feat(stats): added stats range params, selectors, and all-range cutoff - Added optional time-range parameters to stats API endpoints and client requests. - Added dashboard time-range selector controls and wired range updates to stats refresh. - Implemented range normalization and cutoff calculation for dashboard stat aggregation. - Updated DB queries to support optional cutoffs and unlimited mode for
range=all
. - Added tests for 24h, 7d, all, and unknown-range fallback filtering behavior.
21 天前
priority-premium-requests.test.ts
fix(stats): preserved service-tier across incremental parseSessionFile offsets Stats sync depends on service_tier_change entries to derive priority premium requests since 69043d307 stopped folding priority-tier into per-message premiumRequests. parseSessionFile(path, fromOffset) initialized currentServiceTier to undefined per call, so an incremental resume past the tier change attributed subsequent priority OpenAI replies with premiumRequests: 0. When fromOffset > 0, parseSessionFile now replays bytes[0..start] purely to seed currentServiceTier from the latest service_tier_change before parsing the unprocessed tail. Bytes are already loaded, so no extra I/O.
17 天前
user-metrics.test.ts
feat(stats): added frustration metrics to stats parser and charting - Added new frustration and revised behavior metrics across stats types, parser mappings, and UI charts. - Reworked session sync to fan out parsing across a capped worker pool with SyncOptions progress callbacks. - Added worker-based parse messaging and throttled TTY progress rendering in the stats sync command. - Updated behavior scoring to strip structured content, ignore noisy prompts, and fix profanity boundary regressions. - Expanded user message schema and migrations, then repaired assistant model/provider links during sync backfill. - Updated worker-import guidance in AGENTS.md and recorded sync-progress/metrics updates in package changelogs.
20 天前