Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -470,14 +470,9 @@ def sync_results_from_hub_to_local() -> None:
|
|
| 470 |
|
| 471 |
|
| 472 |
def build_pending_samples() -> List[Dict[str, Any]]:
|
| 473 |
-
"""构建
|
| 474 |
-
sync_results_from_hub_to_local()
|
| 475 |
all_samples = load_dataset_index()
|
| 476 |
-
|
| 477 |
-
pending = [
|
| 478 |
-
s for s in all_samples
|
| 479 |
-
if (s["method"], s["story_name"]) not in evaluated_pairs
|
| 480 |
-
]
|
| 481 |
|
| 482 |
# 按“随机方法 -> 方法内随机 story”组织顺序
|
| 483 |
by_method: Dict[str, List[Dict[str, Any]]] = defaultdict(list)
|
|
|
|
| 470 |
|
| 471 |
|
| 472 |
def build_pending_samples() -> List[Dict[str, Any]]:
|
| 473 |
+
"""构建样本池(直接读取 input),并分配匿名ID。"""
|
|
|
|
| 474 |
all_samples = load_dataset_index()
|
| 475 |
+
pending = all_samples
|
|
|
|
|
|
|
|
|
|
|
|
|
| 476 |
|
| 477 |
# 按“随机方法 -> 方法内随机 story”组织顺序
|
| 478 |
by_method: Dict[str, List[Dict[str, Any]]] = defaultdict(list)
|