GitHub Actions commited on
Commit
7058380
·
1 Parent(s): c052d0d

Sync from GitHub repo

Browse files
Files changed (1) hide show
  1. templates/leaderboard.html +115 -0
templates/leaderboard.html CHANGED
@@ -549,6 +549,17 @@
549
  filter: invert(1);
550
  }
551
 
 
 
 
 
 
 
 
 
 
 
 
552
  .timeline-select, .timeline-button {
553
  background-color: var(--light-gray);
554
  border-color: var(--border-color);
@@ -697,6 +708,57 @@
697
  padding: 24px;
698
  color: var(--text-color);
699
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
700
  </style>
701
  {% endblock %}
702
 
@@ -794,6 +856,17 @@
794
  <span class="tooltip">Proprietary model</span>
795
  {% endif %}
796
  </div>
 
 
 
 
 
 
 
 
 
 
 
797
  </div>
798
  <div class="win-rate">{{ model.win_rate }}</div>
799
  <div class="total-votes">{{ model.total_votes }}</div>
@@ -832,6 +905,17 @@
832
  <span class="tooltip">Proprietary model</span>
833
  {% endif %}
834
  </div>
 
 
 
 
 
 
 
 
 
 
 
835
  </div>
836
  <div class="win-rate">{{ model.win_rate }}</div>
837
  <div class="total-votes">{{ model.total_votes }}</div>
@@ -956,6 +1040,17 @@
956
  <span class="tooltip">Proprietary model</span>
957
  {% endif %}
958
  </div>
 
 
 
 
 
 
 
 
 
 
 
959
  </div>
960
  <div class="win-rate">{{ model.win_rate }}</div>
961
  <div class="total-votes">{{ model.total_votes }}</div>
@@ -994,6 +1089,16 @@
994
  <span class="tooltip">Proprietary model</span>
995
  {% endif %}
996
  </div>
 
 
 
 
 
 
 
 
 
 
997
  </div>
998
  <div class="win-rate">{{ model.win_rate }}</div>
999
  <div class="total-votes">{{ model.total_votes }}</div>
@@ -1300,6 +1405,16 @@
1300
  <img src="${model.is_open ? '/static/open.svg' : '/static/closed.svg'}" alt="${model.is_open ? 'Open' : 'Proprietary'}">
1301
  <span class="tooltip">${model.is_open ? 'Open model' : 'Proprietary model'}</span>
1302
  </div>
 
 
 
 
 
 
 
 
 
 
1303
  </div>
1304
  <div class="win-rate">${model.win_rate}</div>
1305
  <div class="total-votes">${model.total_votes}</div>
 
549
  filter: invert(1);
550
  }
551
 
552
+ .disputed-badge {
553
+ background-color: rgba(254, 243, 199, 0.2);
554
+ color: #fbbf24;
555
+ border-color: #f59e0b;
556
+ }
557
+
558
+ .disputed-badge .tooltip {
559
+ background-color: rgba(0, 0, 0, 0.9);
560
+ color: white;
561
+ }
562
+
563
  .timeline-select, .timeline-button {
564
  background-color: var(--light-gray);
565
  border-color: var(--border-color);
 
708
  padding: 24px;
709
  color: var(--text-color);
710
  }
711
+
712
+ .disputed-badge {
713
+ display: inline-flex;
714
+ align-items: center;
715
+ gap: 4px;
716
+ background-color: #fef3c7;
717
+ color: #92400e;
718
+ padding: 2px 6px;
719
+ border-radius: 12px;
720
+ font-size: 10px;
721
+ font-weight: 600;
722
+ margin-left: 6px;
723
+ cursor: help;
724
+ position: relative;
725
+ border: 1px solid #f59e0b;
726
+ text-transform: uppercase;
727
+ letter-spacing: 0.025em;
728
+ }
729
+
730
+ .disputed-badge svg {
731
+ width: 10px;
732
+ height: 10px;
733
+ color: #f59e0b;
734
+ flex-shrink: 0;
735
+ }
736
+
737
+ .disputed-badge .tooltip {
738
+ visibility: hidden;
739
+ background-color: rgba(0, 0, 0, 0.9);
740
+ color: white;
741
+ text-align: center;
742
+ border-radius: 4px;
743
+ padding: 6px 10px;
744
+ position: absolute;
745
+ z-index: 1;
746
+ bottom: 125%;
747
+ left: 50%;
748
+ transform: translateX(-50%);
749
+ opacity: 0;
750
+ transition: opacity 0.3s;
751
+ font-weight: normal;
752
+ font-size: 12px;
753
+ white-space: nowrap;
754
+ text-transform: none;
755
+ letter-spacing: normal;
756
+ }
757
+
758
+ .disputed-badge:hover .tooltip {
759
+ visibility: visible;
760
+ opacity: 1;
761
+ }
762
  </style>
763
  {% endblock %}
764
 
 
856
  <span class="tooltip">Proprietary model</span>
857
  {% endif %}
858
  </div>
859
+ {% if model.id == "lanternfish-1" %}
860
+ <div class="disputed-badge">
861
+ <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
862
+ <path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/>
863
+ <line x1="12" y1="9" x2="12" y2="13"/>
864
+ <line x1="12" y1="17" x2="12" y2="17"/>
865
+ </svg>
866
+ <span>Disputed</span>
867
+ <span class="tooltip">Potential vote manipulation</span>
868
+ </div>
869
+ {% endif %}
870
  </div>
871
  <div class="win-rate">{{ model.win_rate }}</div>
872
  <div class="total-votes">{{ model.total_votes }}</div>
 
905
  <span class="tooltip">Proprietary model</span>
906
  {% endif %}
907
  </div>
908
+ {% if model.id == "lanternfish-1" %}
909
+ <div class="disputed-badge">
910
+ <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
911
+ <path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/>
912
+ <line x1="12" y1="9" x2="12" y2="13"/>
913
+ <line x1="12" y1="17" x2="12" y2="17"/>
914
+ </svg>
915
+ <span>Disputed</span>
916
+ <span class="tooltip">Potential vote manipulation</span>
917
+ </div>
918
+ {% endif %}
919
  </div>
920
  <div class="win-rate">{{ model.win_rate }}</div>
921
  <div class="total-votes">{{ model.total_votes }}</div>
 
1040
  <span class="tooltip">Proprietary model</span>
1041
  {% endif %}
1042
  </div>
1043
+ {% if model.id == "lanternfish-1" %}
1044
+ <div class="disputed-badge">
1045
+ <svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
1046
+ <path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/>
1047
+ <line x1="12" y1="9" x2="12" y2="13"/>
1048
+ <line x1="12" y1="17" x2="12" y2="17"/>
1049
+ </svg>
1050
+ <span>Disputed</span>
1051
+ <span class="tooltip">Potential vote manipulation</span>
1052
+ </div>
1053
+ {% endif %}
1054
  </div>
1055
  <div class="win-rate">{{ model.win_rate }}</div>
1056
  <div class="total-votes">{{ model.total_votes }}</div>
 
1089
  <span class="tooltip">Proprietary model</span>
1090
  {% endif %}
1091
  </div>
1092
+ {% if model.id == "lanternfish-1" %}
1093
+ <div class="disputed-icon">
1094
+ <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
1095
+ <path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/>
1096
+ <line x1="12" y1="9" x2="12" y2="13"/>
1097
+ <line x1="12" y1="17" x2="12" y2="17"/>
1098
+ </svg>
1099
+ <span class="tooltip">Disputed - Potential vote manipulation</span>
1100
+ </div>
1101
+ {% endif %}
1102
  </div>
1103
  <div class="win-rate">{{ model.win_rate }}</div>
1104
  <div class="total-votes">{{ model.total_votes }}</div>
 
1405
  <img src="${model.is_open ? '/static/open.svg' : '/static/closed.svg'}" alt="${model.is_open ? 'Open' : 'Proprietary'}">
1406
  <span class="tooltip">${model.is_open ? 'Open model' : 'Proprietary model'}</span>
1407
  </div>
1408
+ ${model.id === 'lanternfish-1' ? `
1409
+ <div class="disputed-icon">
1410
+ <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
1411
+ <path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/>
1412
+ <line x1="12" y1="9" x2="12" y2="13"/>
1413
+ <line x1="12" y1="17" x2="12" y2="17"/>
1414
+ </svg>
1415
+ <span class="tooltip">Disputed - Potential vote manipulation</span>
1416
+ </div>
1417
+ ` : ''}
1418
  </div>
1419
  <div class="win-rate">${model.win_rate}</div>
1420
  <div class="total-votes">${model.total_votes}</div>