chore(ci): make quality checks pass across repo

- fix ruff violations in dataset, recording, and value modules

- fix typos findings and markdown/workflow lint issues

- update pages workflow checkout to disable credential persistence

- apply pre-commit auto-formatting and EOF normalization

- include requested repo housekeeping updates (.gitignore and README)
这个提交包含在:
Elvin
2026-03-04 11:02:06 +08:00
父节点 8b6a85cf0f
当前提交 c96c678772
共有 26 个文件被更改,包括 143 次插入 和 115 次删除

查看文件

@ -60,10 +60,7 @@ def _from_meta_stats(dataset: Any, indicator_field: str) -> ACPIndicatorStats |
count_raw = _stats_entry_to_scalar(field_stats, "count")
total_count = int(round(count_raw)) if count_raw is not None else -1
if total_count >= 0:
positive_count = int(round(ratio * total_count))
else:
positive_count = -1
positive_count = int(round(ratio * total_count)) if total_count >= 0 else -1
return ACPIndicatorStats(
indicator_field=indicator_field,