remove elo (#1304)
This commit is contained in:
+5
-5
@@ -866,15 +866,15 @@
|
||||
"title_wildcard": "Týdenní zpráva BR — {br} BR",
|
||||
"title_squadron": "Týdenní zpráva BR — [{tag}] {long} • {br} BR",
|
||||
"window_label": "Období: {start} → {end}",
|
||||
"wildcard_desc_first": "Top {count} letek podle ELO • Pozice {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} letek podle ELO • Pozice {low}–{high}",
|
||||
"wildcard_desc_first": "Top {count} letek podle Score • Pozice {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} letek podle Score • Pozice {low}–{high}",
|
||||
"squadron_stats_line": "- {games} bitev • K/D {kdr} • Vítězství {wr}%",
|
||||
"top_players_inline_header": "🥇 Nejlepší hráči:",
|
||||
"player_line_short": " {rank}. {nick} ⭐ {score} ({games}b)",
|
||||
"top_players_header": "**Top {count} hráčů podle ELO:**",
|
||||
"top_players_header": "**Top {count} hráčů podle Score:**",
|
||||
"player_line_full": "{rank}. **{nick}** ⭐ {score} • {games} bitev • K/D {kdr}",
|
||||
"squadron_header_line": "ELO letky: {score} • {games} bitev • Vítězství {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "ELO letky: tento týden nedostatek týmové aktivity.",
|
||||
"squadron_header_line": "Score letky: {score} • {games} bitev • Vítězství {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Score letky: tento týden nedostatek týmové aktivity.",
|
||||
"no_data": "Žádné zápasy pro [{tag}] v této rotaci BR."
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -866,15 +866,15 @@
|
||||
"title_wildcard": "Wöchentlicher BR-Bericht — {br} BR",
|
||||
"title_squadron": "Wöchentlicher BR-Bericht — [{tag}] {long} • {br} BR",
|
||||
"window_label": "Zeitraum: {start} → {end}",
|
||||
"wildcard_desc_first": "Top {count} Geschwader nach ELO • Plätze {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} Geschwader nach ELO • Plätze {low}–{high}",
|
||||
"wildcard_desc_first": "Top {count} Geschwader nach Score • Plätze {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} Geschwader nach Score • Plätze {low}–{high}",
|
||||
"squadron_stats_line": "- {games} Spiele • K/D {kdr} • Siegrate {wr}%",
|
||||
"top_players_inline_header": "🥇 Top-Spieler:",
|
||||
"player_line_short": " {rank}. {nick} ⭐ {score} ({games}S)",
|
||||
"top_players_header": "**Top {count} Spieler nach ELO:**",
|
||||
"top_players_header": "**Top {count} Spieler nach Score:**",
|
||||
"player_line_full": "{rank}. **{nick}** ⭐ {score} • {games} Spiele • K/D {kdr}",
|
||||
"squadron_header_line": "Geschwader-ELO: {score} • {games} Spiele • Siegrate {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Geschwader-ELO: nicht genügend Teamspiele in dieser Woche.",
|
||||
"squadron_header_line": "Geschwader-Score: {score} • {games} Spiele • Siegrate {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Geschwader-Score: nicht genügend Teamspiele in dieser Woche.",
|
||||
"no_data": "Keine Spiele für [{tag}] in dieser BR-Rotation aufgezeichnet."
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -868,15 +868,15 @@
|
||||
"title_wildcard": "Weekly BR Report — {br} BR",
|
||||
"title_squadron": "Weekly BR Report — [{tag}] {long} • {br} BR",
|
||||
"window_label": "Window: {start} → {end}",
|
||||
"wildcard_desc_first": "Top {count} squadrons by ELO • Ranks {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} squadrons by ELO • Ranks {low}–{high}",
|
||||
"wildcard_desc_first": "Top {count} squadrons by Score • Ranks {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} squadrons by Score • Ranks {low}–{high}",
|
||||
"squadron_stats_line": "- {games} games • K/D {kdr} • WR {wr}%",
|
||||
"top_players_inline_header": "🥇 Top players:",
|
||||
"player_line_short": " {rank}. {nick} ⭐ {score} ({games}g)",
|
||||
"top_players_header": "**Top {count} players by ELO:**",
|
||||
"top_players_header": "**Top {count} players by Score:**",
|
||||
"player_line_full": "{rank}. **{nick}** ⭐ {score} • {games} games • K/D {kdr}",
|
||||
"squadron_header_line": "Squadron ELO: {score} • {games} games • WR {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Squadron ELO: not enough team activity to score this week.",
|
||||
"squadron_header_line": "Squadron Score: {score} • {games} games • WR {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Squadron Score: not enough team activity to score this week.",
|
||||
"no_data": "No matches recorded for [{tag}] this BR rotation."
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -866,15 +866,15 @@
|
||||
"title_wildcard": "Informe BR Semanal — {br} BR",
|
||||
"title_squadron": "Informe BR Semanal — [{tag}] {long} • {br} BR",
|
||||
"window_label": "Periodo: {start} → {end}",
|
||||
"wildcard_desc_first": "Top {count} escuadrones por ELO • Puestos {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} escuadrones por ELO • Puestos {low}–{high}",
|
||||
"wildcard_desc_first": "Top {count} escuadrones por Score • Puestos {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} escuadrones por Score • Puestos {low}–{high}",
|
||||
"squadron_stats_line": "- {games} partidas • K/D {kdr} • Victorias {wr}%",
|
||||
"top_players_inline_header": "🥇 Mejores jugadores:",
|
||||
"player_line_short": " {rank}. {nick} ⭐ {score} ({games}p)",
|
||||
"top_players_header": "**Top {count} jugadores por ELO:**",
|
||||
"top_players_header": "**Top {count} jugadores por Score:**",
|
||||
"player_line_full": "{rank}. **{nick}** ⭐ {score} • {games} partidas • K/D {kdr}",
|
||||
"squadron_header_line": "ELO de escuadrón: {score} • {games} partidas • Victorias {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "ELO de escuadrón: poca actividad de equipo esta semana.",
|
||||
"squadron_header_line": "Score de escuadrón: {score} • {games} partidas • Victorias {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Score de escuadrón: poca actividad de equipo esta semana.",
|
||||
"no_data": "No hay partidas registradas de [{tag}] en esta rotación de BR."
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -866,15 +866,15 @@
|
||||
"title_wildcard": "Rapport BR hebdomadaire — {br} BR",
|
||||
"title_squadron": "Rapport BR hebdomadaire — [{tag}] {long} • {br} BR",
|
||||
"window_label": "Période : {start} → {end}",
|
||||
"wildcard_desc_first": "Top {count} escadrons par ELO • Rangs {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} escadrons par ELO • Rangs {low}–{high}",
|
||||
"wildcard_desc_first": "Top {count} escadrons par Score • Rangs {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} escadrons par Score • Rangs {low}–{high}",
|
||||
"squadron_stats_line": "- {games} parties • K/D {kdr} • Victoires {wr}%",
|
||||
"top_players_inline_header": "🥇 Meilleurs joueurs :",
|
||||
"player_line_short": " {rank}. {nick} ⭐ {score} ({games}p)",
|
||||
"top_players_header": "**Top {count} joueurs par ELO :**",
|
||||
"top_players_header": "**Top {count} joueurs par Score :**",
|
||||
"player_line_full": "{rank}. **{nick}** ⭐ {score} • {games} parties • K/D {kdr}",
|
||||
"squadron_header_line": "ELO escadron : {score} • {games} parties • Victoires {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "ELO escadron : pas assez d'activité d'équipe cette semaine.",
|
||||
"squadron_header_line": "Score escadron : {score} • {games} parties • Victoires {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Score escadron : pas assez d'activité d'équipe cette semaine.",
|
||||
"no_data": "Aucun match enregistré pour [{tag}] cette rotation BR."
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -866,15 +866,15 @@
|
||||
"title_wildcard": "Report BR Settimanale — {br} BR",
|
||||
"title_squadron": "Report BR Settimanale — [{tag}] {long} • {br} BR",
|
||||
"window_label": "Periodo: {start} → {end}",
|
||||
"wildcard_desc_first": "Top {count} squadroni per ELO • Posizioni {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} squadroni per ELO • Posizioni {low}–{high}",
|
||||
"wildcard_desc_first": "Top {count} squadroni per Score • Posizioni {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} squadroni per Score • Posizioni {low}–{high}",
|
||||
"squadron_stats_line": "- {games} partite • K/D {kdr} • Vittorie {wr}%",
|
||||
"top_players_inline_header": "🥇 Migliori giocatori:",
|
||||
"player_line_short": " {rank}. {nick} ⭐ {score} ({games}p)",
|
||||
"top_players_header": "**Top {count} giocatori per ELO:**",
|
||||
"top_players_header": "**Top {count} giocatori per Score:**",
|
||||
"player_line_full": "{rank}. **{nick}** ⭐ {score} • {games} partite • K/D {kdr}",
|
||||
"squadron_header_line": "ELO squadrone: {score} • {games} partite • Vittorie {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "ELO squadrone: troppa poca attività di squadra questa settimana.",
|
||||
"squadron_header_line": "Score squadrone: {score} • {games} partite • Vittorie {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Score squadrone: troppa poca attività di squadra questa settimana.",
|
||||
"no_data": "Nessuna partita registrata per [{tag}] in questa rotazione BR."
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -866,15 +866,15 @@
|
||||
"title_wildcard": "Tygodniowy raport BR — {br} BR",
|
||||
"title_squadron": "Tygodniowy raport BR — [{tag}] {long} • {br} BR",
|
||||
"window_label": "Okres: {start} → {end}",
|
||||
"wildcard_desc_first": "Top {count} szwadronów wg ELO • Miejsca {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} szwadronów wg ELO • Miejsca {low}–{high}",
|
||||
"wildcard_desc_first": "Top {count} szwadronów wg Score • Miejsca {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} szwadronów wg Score • Miejsca {low}–{high}",
|
||||
"squadron_stats_line": "- {games} bitew • K/D {kdr} • Zwycięstw {wr}%",
|
||||
"top_players_inline_header": "🥇 Najlepsi gracze:",
|
||||
"player_line_short": " {rank}. {nick} ⭐ {score} ({games}b)",
|
||||
"top_players_header": "**Top {count} graczy wg ELO:**",
|
||||
"top_players_header": "**Top {count} graczy wg Score:**",
|
||||
"player_line_full": "{rank}. **{nick}** ⭐ {score} • {games} bitew • K/D {kdr}",
|
||||
"squadron_header_line": "ELO szwadronu: {score} • {games} bitew • Zwycięstw {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "ELO szwadronu: zbyt mała aktywność drużyny w tym tygodniu.",
|
||||
"squadron_header_line": "Score szwadronu: {score} • {games} bitew • Zwycięstw {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Score szwadronu: zbyt mała aktywność drużyny w tym tygodniu.",
|
||||
"no_data": "Brak meczów dla [{tag}] w tej rotacji BR."
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -866,15 +866,15 @@
|
||||
"title_wildcard": "Relatório BR Semanal — {br} BR",
|
||||
"title_squadron": "Relatório BR Semanal — [{tag}] {long} • {br} BR",
|
||||
"window_label": "Período: {start} → {end}",
|
||||
"wildcard_desc_first": "Top {count} esquadrões por ELO • Posições {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} esquadrões por ELO • Posições {low}–{high}",
|
||||
"wildcard_desc_first": "Top {count} esquadrões por Score • Posições {low}–{high}",
|
||||
"wildcard_desc_second": "Top {count} esquadrões por Score • Posições {low}–{high}",
|
||||
"squadron_stats_line": "- {games} partidas • K/D {kdr} • Vitórias {wr}%",
|
||||
"top_players_inline_header": "🥇 Melhores jogadores:",
|
||||
"player_line_short": " {rank}. {nick} ⭐ {score} ({games}p)",
|
||||
"top_players_header": "**Top {count} jogadores por ELO:**",
|
||||
"top_players_header": "**Top {count} jogadores por Score:**",
|
||||
"player_line_full": "{rank}. **{nick}** ⭐ {score} • {games} partidas • K/D {kdr}",
|
||||
"squadron_header_line": "ELO do esquadrão: {score} • {games} partidas • Vitórias {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "ELO do esquadrão: pouca atividade da equipe esta semana.",
|
||||
"squadron_header_line": "Score do esquadrão: {score} • {games} partidas • Vitórias {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Score do esquadrão: pouca atividade da equipe esta semana.",
|
||||
"no_data": "Nenhuma partida registrada para [{tag}] nesta rotação de BR."
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -866,15 +866,15 @@
|
||||
"title_wildcard": "Еженедельный отчёт BR — {br} BR",
|
||||
"title_squadron": "Еженедельный отчёт BR — [{tag}] {long} • {br} BR",
|
||||
"window_label": "Период: {start} → {end}",
|
||||
"wildcard_desc_first": "Топ-{count} полков по ELO • Места {low}–{high}",
|
||||
"wildcard_desc_second": "Топ-{count} полков по ELO • Места {low}–{high}",
|
||||
"wildcard_desc_first": "Топ-{count} полков по Score • Места {low}–{high}",
|
||||
"wildcard_desc_second": "Топ-{count} полков по Score • Места {low}–{high}",
|
||||
"squadron_stats_line": "- {games} боёв • K/D {kdr} • Побед {wr}%",
|
||||
"top_players_inline_header": "🥇 Лучшие игроки:",
|
||||
"player_line_short": " {rank}. {nick} ⭐ {score} ({games}б)",
|
||||
"top_players_header": "**Топ-{count} игроков по ELO:**",
|
||||
"top_players_header": "**Топ-{count} игроков по Score:**",
|
||||
"player_line_full": "{rank}. **{nick}** ⭐ {score} • {games} боёв • K/D {kdr}",
|
||||
"squadron_header_line": "ELO полка: {score} • {games} боёв • Побед {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "ELO полка: недостаточно активности команды на этой неделе.",
|
||||
"squadron_header_line": "Score полка: {score} • {games} боёв • Побед {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Score полка: недостаточно активности команды на этой неделе.",
|
||||
"no_data": "Нет матчей для [{tag}] в этой ротации BR."
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -866,15 +866,15 @@
|
||||
"title_wildcard": "Тижневий звіт BR — {br} BR",
|
||||
"title_squadron": "Тижневий звіт BR — [{tag}] {long} • {br} BR",
|
||||
"window_label": "Період: {start} → {end}",
|
||||
"wildcard_desc_first": "Топ-{count} полків за ELO • Місця {low}–{high}",
|
||||
"wildcard_desc_second": "Топ-{count} полків за ELO • Місця {low}–{high}",
|
||||
"wildcard_desc_first": "Топ-{count} полків за Score • Місця {low}–{high}",
|
||||
"wildcard_desc_second": "Топ-{count} полків за Score • Місця {low}–{high}",
|
||||
"squadron_stats_line": "- {games} боїв • K/D {kdr} • Перемог {wr}%",
|
||||
"top_players_inline_header": "🥇 Найкращі гравці:",
|
||||
"player_line_short": " {rank}. {nick} ⭐ {score} ({games}б)",
|
||||
"top_players_header": "**Топ-{count} гравців за ELO:**",
|
||||
"top_players_header": "**Топ-{count} гравців за Score:**",
|
||||
"player_line_full": "{rank}. **{nick}** ⭐ {score} • {games} боїв • K/D {kdr}",
|
||||
"squadron_header_line": "ELO полку: {score} • {games} боїв • Перемог {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "ELO полку: недостатньо активності команди цього тижня.",
|
||||
"squadron_header_line": "Score полку: {score} • {games} боїв • Перемог {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "Score полку: недостатньо активності команди цього тижня.",
|
||||
"no_data": "Немає матчів для [{tag}] у цій ротації BR."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -868,15 +868,15 @@
|
||||
"title_wildcard": "周BR报告 — {br} BR",
|
||||
"title_squadron": "周BR报告 — [{tag}] {long} • {br} BR",
|
||||
"window_label": "时段:{start} → {end}",
|
||||
"wildcard_desc_first": "按ELO排序前 {count} 中队 • 排名 {low}–{high}",
|
||||
"wildcard_desc_second": "按ELO排序前 {count} 中队 • 排名 {low}–{high}",
|
||||
"wildcard_desc_first": "按Score排序前 {count} 中队 • 排名 {low}–{high}",
|
||||
"wildcard_desc_second": "按Score排序前 {count} 中队 • 排名 {low}–{high}",
|
||||
"squadron_stats_line": "- {games} 场 • K/D {kdr} • 胜率 {wr}%",
|
||||
"top_players_inline_header": "🥇 顶尖玩家:",
|
||||
"player_line_short": " {rank}. {nick} ⭐ {score} ({games}场)",
|
||||
"top_players_header": "**按ELO排序前 {count} 名玩家:**",
|
||||
"top_players_header": "**按Score排序前 {count} 名玩家:**",
|
||||
"player_line_full": "{rank}. **{nick}** ⭐ {score} • {games} 场 • K/D {kdr}",
|
||||
"squadron_header_line": "中队 ELO:{score} • {games} 场 • 胜率 {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "中队 ELO:本周团队活动不足,无法评分。",
|
||||
"squadron_header_line": "中队 Score:{score} • {games} 场 • 胜率 {wr}% • K/D {kdr}",
|
||||
"squadron_header_no_aggregate": "中队 Score:本周团队活动不足,无法评分。",
|
||||
"no_data": "本次BR轮换中 [{tag}] 没有比赛记录。"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1765,7 +1765,7 @@ def _build_wildcard_embeds(
|
||||
end=f"<t:{int(window['end'])}:D>",
|
||||
)
|
||||
|
||||
# The "highest ELO person for the entire week" -- single trophy on the
|
||||
# The highest-scoring person for the entire week -- single trophy on the
|
||||
# top-scoring player across all squadrons in the payload.
|
||||
top_uid: Optional[str] = None
|
||||
top_score = -1.0
|
||||
@@ -1955,9 +1955,9 @@ async def execute_weekly_br_report_task(window: Dict[str, Any]) -> None:
|
||||
logging.info("(WBR) Skip — marker says window %s already fired", start_ts)
|
||||
return
|
||||
|
||||
# 1. Hit the heavy ELO pipeline ONCE per fire. The maps are reused below for
|
||||
# 1. Hit the heavy scoring pipeline ONCE per fire. The maps are reused below for
|
||||
# both the wildcard payload and every per-squadron variant, so 30 guilds
|
||||
# subscribing don't trigger 30 full ELO recomputes.
|
||||
# subscribing don't trigger 30 full score recomputes.
|
||||
sq_map = await _wbr_squadron_scores(start_ts, end_ts)
|
||||
pl_map = await _wbr_player_scores(start_ts, end_ts)
|
||||
wildcard_payload = top_n_squadrons_with_top_k_players_from_maps(
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
weekly_br_elo.py
|
||||
|
||||
Window-scoped player & squadron ELO scoring. Python port of the
|
||||
Window-scoped player & squadron scoring. Python port of the
|
||||
computePerformanceScore + ratingCtes pipeline from server.js, used by the
|
||||
Weekly BR Report executor.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user