镜像自地址
https://github.com/MINT-SJTU/Evo-RL.git
已同步 2026-11-20 18:17:06 +00:00
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)
这个提交包含在:
@ -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,
|
||||
|
||||
在新工单中引用
屏蔽一个用户