File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 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.
66This 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 = []
Original file line number Diff line number Diff line change 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 = []
You can’t perform that action at this time.
0 commit comments