Skip to content

Commit cdb4fad

Browse files
committed
fix pre commit
1 parent 6c4eb22 commit cdb4fad

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/sphinx_doc/source/tutorial/develop_selector.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# 🧪 Experimental: Task Selection & Scheduling System
33

44
```{note}
5-
This module is currently in **experimental status**. Interfaces may change in future versions.
5+
This module is currently in **experimental status**. Interfaces may change in future versions.
66
This document describes the functionality and intended usage of the system.
77
```
88

@@ -160,12 +160,12 @@ class PassRateCalculator(ExperienceOperator):
160160

161161
def process(self, exps: List[Experience]) -> Tuple[List[Experience], Dict]:
162162
raw_metric = defaultdict(lambda: defaultdict(list))
163-
163+
164164
for exp in exps:
165165
task_index = exp.info["task_index"]
166166
assert "taskset_id" in task_index and "index" in task_index
167167
raw_metric[task_index["taskset_id"]][task_index["index"]].append(exp.reward)
168-
168+
169169
metric = {}
170170
for taskset_id, task_metrics in raw_metric.items():
171171
indices = []

docs/sphinx_doc/source_zh/tutorial/develop_selector.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 🧪 实验性功能:任务选择与调度系统
22

33
```{note}
4-
该模块目前处于 **实验阶段**,接口可能在后续版本中发生变化。
4+
该模块目前处于 **实验阶段**,接口可能在后续版本中发生变化。
55
本文档描述了系统的功能及预期使用方式。
66
```
77

@@ -157,12 +157,12 @@ class PassRateCalculator(ExperienceOperator):
157157

158158
def process(self, exps: List[Experience]) -> Tuple[List[Experience], Dict]:
159159
raw_metric = defaultdict(lambda: defaultdict(list))
160-
160+
161161
for exp in exps:
162162
task_index = exp.info["task_index"]
163163
assert "taskset_id" in task_index and "index" in task_index
164164
raw_metric[task_index["taskset_id"]][task_index["index"]].append(exp.reward)
165-
165+
166166
metric = {}
167167
for taskset_id, task_metrics in raw_metric.items():
168168
indices = []

0 commit comments

Comments
 (0)