Riy777 commited on
Commit
8083847
·
verified ·
1 Parent(s): 9f79335

Update ml_engine/data_manager.py

Browse files
Files changed (1) hide show
  1. ml_engine/data_manager.py +2 -2
ml_engine/data_manager.py CHANGED
@@ -121,7 +121,7 @@ class DataManager:
121
 
122
  # نأخذ أفضل 50 مرشحاً فقط لفحص دفتر الطلبات لتجنب حظر API
123
  semi_final_list.sort(key=lambda x: x['l1_sort_score'], reverse=True)
124
- candidates_for_depth = semi_final_list[:50]
125
 
126
  for item in candidates_for_depth:
127
  # إذا كانت تجميع (Squeeze) أو قاع، نفحص هل هناك دعم حقيقي في الأسفل؟
@@ -153,7 +153,7 @@ class DataManager:
153
 
154
  # 5. الترتيب النهائي والإرجاع
155
  final_list.sort(key=lambda x: x['l1_sort_score'], reverse=True)
156
- selection = final_list[:60]
157
 
158
  print(f"✅ [Layer 1] Passed {len(selection)} candidates (With Depth Verification).")
159
  return selection
 
121
 
122
  # نأخذ أفضل 50 مرشحاً فقط لفحص دفتر الطلبات لتجنب حظر API
123
  semi_final_list.sort(key=lambda x: x['l1_sort_score'], reverse=True)
124
+ candidates_for_depth = semi_final_list[:150]
125
 
126
  for item in candidates_for_depth:
127
  # إذا كانت تجميع (Squeeze) أو قاع، نفحص هل هناك دعم حقيقي في الأسفل؟
 
153
 
154
  # 5. الترتيب النهائي والإرجاع
155
  final_list.sort(key=lambda x: x['l1_sort_score'], reverse=True)
156
+ selection = final_list[:150]
157
 
158
  print(f"✅ [Layer 1] Passed {len(selection)} candidates (With Depth Verification).")
159
  return selection