DOC-FULL-004:ActiveTimeTracker V2 #105
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
目标
实现 V2 有效学习时长计算器。iOS 每 15 秒调用 Rust heartbeat,Rust 根据 timestamp 计算 activeSecondsDelta。
核心规则
建议配置
需要支持
warning 建议
验收标准
完成证据
产物:
crates/zx_document_core/src/time_tracker.rs(166 行)已有提交:
66649bbfeat: DOC-FULL-004 ActiveTimeTracker核心规则:
iOS controls when to call tick)test_time_goes_backwards)测试: 8 个已有测试 (test_start_returns_zero, test_43_seconds_total, test_pause_stops_time, test_inactive_tick_returns_zero, test_close_returns_residual, test_close_inactive_returns_zero, test_time_goes_backwards, test_remainder_accumulates) — 168 passed