fix: refill from expanded candidate history
This commit is contained in:
@@ -236,11 +236,17 @@ def run_daily_batches(
|
||||
wave_results.append(wave_result)
|
||||
submitted_total += summary["submittedCount"]
|
||||
round_submitted += summary["submittedCount"]
|
||||
skip_reasons = summary.get("skipReasonCounts") or {}
|
||||
skip_reason_text = ",".join(
|
||||
f"{reason}:{count}"
|
||||
for reason, count in list(skip_reasons.items())[:4]
|
||||
) or "none"
|
||||
log(
|
||||
f"[daily] wave_done name={wave.name} "
|
||||
f"candidates={summary['candidateCount']} planned={summary['plannedSubmitCount']} "
|
||||
f"submitted={summary['submittedCount']} skipped={summary['skippedCount']} "
|
||||
f"duplicates={summary.get('duplicateCount', 0)} failed={summary['failedCount']} "
|
||||
f"skip_reasons={skip_reason_text} "
|
||||
f"remaining_before_run={summary['remainingDailyQuotaBeforeRun']}"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user