WHU1psh commited on
Commit
66546c8
·
verified ·
1 Parent(s): 316314d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
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
- """构建待评估样本池,并分配匿名ID。"""
474
- sync_results_from_hub_to_local()
475
  all_samples = load_dataset_index()
476
- evaluated_pairs = load_evaluated_method_story_pairs()
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)