From 4f88f5981406390251f468fbfbc5d7bf624de6bc Mon Sep 17 00:00:00 2001 From: Ayushi Date: Wed, 19 Feb 2020 17:59:47 -0800 Subject: [PATCH 01/13] Absent count --- app.json | 1 + gavel/controllers/judge.py | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/app.json b/app.json index 9808adac..66f01c44 100644 --- a/app.json +++ b/app.json @@ -23,6 +23,7 @@ "EMAIL_PASSWORD": "_unused_", "IGNORE_CONFIG_FILE": "true", "TRACKS": [] + "THRESHOLD_ABSENT": 2 }, "keywords": [ "gavel", diff --git a/gavel/controllers/judge.py b/gavel/controllers/judge.py index 48bce69d..2092e6ef 100644 --- a/gavel/controllers/judge.py +++ b/gavel/controllers/judge.py @@ -86,6 +86,13 @@ def tx(): elif request.form['action'] == 'Absent': annotator.next.absent.append(annotator) annotator.ignore.append(annotator.next) + if count >= settings.THRESHOLD_ABSENT: #from here + item_id = request.form['item_id'] + target_state = action == 'Disable' + def tx(): + Item.by_id(item_id).active = False + db.session.commit() #to here + with_retries(tx) else: # ignore things that were deactivated in the middle of judging if annotator.prev.active and annotator.next.active: From 16820d74d7dcb16e3901afd424664d8bedc7bfd9 Mon Sep 17 00:00:00 2001 From: Ayushi Date: Wed, 26 Feb 2020 13:58:40 -0800 Subject: [PATCH 02/13] corrected some bugs --- .DS_Store | Bin 0 -> 8196 bytes app.json | 2 +- gavel/.DS_Store | Bin 0 -> 6148 bytes gavel/controllers/.DS_Store | Bin 0 -> 6148 bytes gavel/controllers/judge.py | 4 +--- 5 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 .DS_Store create mode 100644 gavel/.DS_Store create mode 100644 gavel/controllers/.DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..76b7a1c73bcd136baa9d2753ca258ae7da067aa4 GIT binary patch literal 8196 zcmeHM&2G~`5T5NHPD5#=R%*q`7bFg)O3P0V2q~nkP$YgTQpy2PYbS1NnzkV* z7v2GQ10IDZ;6Zo*_-4ISwv!xsK_GUcof)s^oArJ>wmU8niE5|0Mzl;s20H6f5n@E+ z^W2Bpgc@0Z7Qhp|rHBIZYhKV8^40^I0nLDBKr^5j&?mkhGm0|IzVDfr7KDg5-p*KnN$x#L4_(YL;}Zolii^! zN)Hm9z)2)<5^83lDik4S2hNo4Br1v4QZt|#7-oQLcY`cy2#-_(zTZauc*PE@tRSA4W%#mBa?cZ0yYuq}Jfb-Med#m&HvE!THK z33i(fTwcF){btau1|7c{$vE}ogkcnn!hUJF*IO^It(fcOyZsfjx3N)PG4I^I*Y6jM zr5kGxY6q>e^WOXZhtF6zno!Smnoo`|R+)TM?UBLptyl)*(4HPbto!I0e!u1KS=Vp&K%xJ#w=CyzRnBZF>QUwoMO_ zIGik_5(OKdL0m_Chu$GsTxqp%#3>%pEyw`!P>wrlrK7GIH%}&JX>82Vs|HsY{8ivP zxC*}ILz$Ez)-ud7*vjCF3dg&{>litk4=uqu3#8Lr^yS z1MmlY3SYp7@Bwh{%uv~hBe9AA%|tWjdVJ5^_{^Odn}|ej;&+IeL?lreD|Iv_h3|7+ zDO;xJ22iLmLds}>-#r?wc-s!EfK}jcQ-IfQL#^46V#=@I^P?ykdQsxRgSUsrsCR#= z0*mNcIg5r%ysy|CWPvxN1hG==6)rG?#rwr_Jn#zf8l-s{jlqxb3t*+iXkzEjSl%=p znP>avjiNBk+U@URYrAr#dR5B0tY5Fc>7ORke&%MAwC9dr@zpaoJN1nHJV~NU+x1?A z!F15P{UnJqH;jX^B8Pqem)9@D*iWXtWD@(S8mF&sNLiD$L34LD+iQ1P&R+ZByyeXH z_uDP!!Tm?`c}?!z=^Pv#pPgUK-p@aLX4N4kwpvwg8vG4kV5|}8U4I-$NqhniX0sQI zI3*vG=wS**TUQ>A&sqod7?lhAEi@_$8gm>ggOB1}R8?@# YVFTDTxX_3m6#F8eWU!4@V518B0#4xoCIA2c literal 0 HcmV?d00001 diff --git a/gavel/controllers/.DS_Store b/gavel/controllers/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..bb72ba673c7453d077478c1a08e3be6a9d22fb9c GIT binary patch literal 6148 zcmeHKu};G<5PerF2z04fVD!j@#LN;^Wnkt5plu2&Dos_|fh`OFz%TH9d;q*VTUDEe z6;)=H5hqF5gjEOF2467wCl2li0` zox6_B*#t9e&fnYZv>Xkm<&X?r9@q4XZ!^|(Neocng*h{u?>hgp#y=!~PPVR%8duJ0 z+*6G3iUl6|WOHK4bv0&e$^5c;JbAD6al)q?vxfmzm@>0z+^_CNvd*=kuQqL;3KE8q&O70~ZPpeyDHtBCgLU|~l9 zVw+(z*7avmb3(#AVHJ^gXcAM2F;&tLLt;APA@TBrRm7MMNrw+fBTG7=h>gzvgV7;* zL@!+dS72L#gV^lq{(tlP`F}gfTdsgB@UIk*cK@#5<13}Tb?4=DuMPAEx|;H;i0c$q hY%3;Lx8ifU8RJ1K#5`dYkrA5z2$&3BxB`Ewzz@!sZU+DW literal 0 HcmV?d00001 diff --git a/gavel/controllers/judge.py b/gavel/controllers/judge.py index 2092e6ef..fc923e7e 100644 --- a/gavel/controllers/judge.py +++ b/gavel/controllers/judge.py @@ -86,9 +86,7 @@ def tx(): elif request.form['action'] == 'Absent': annotator.next.absent.append(annotator) annotator.ignore.append(annotator.next) - if count >= settings.THRESHOLD_ABSENT: #from here - item_id = request.form['item_id'] - target_state = action == 'Disable' + if len(annotator.next.absent) >= settings.THRESHOLD_ABSENT: #from here def tx(): Item.by_id(item_id).active = False db.session.commit() #to here From 4a7d484bd3b2242ecff6a682a2623b86644db1d4 Mon Sep 17 00:00:00 2001 From: Ayushi Date: Wed, 26 Feb 2020 14:24:56 -0800 Subject: [PATCH 03/13] removed unnecessary comments --- .DS_Store | Bin 8196 -> 8196 bytes gavel/.DS_Store | Bin 6148 -> 6148 bytes gavel/controllers/judge.py | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.DS_Store b/.DS_Store index 76b7a1c73bcd136baa9d2753ca258ae7da067aa4..47e489956b4e59ba5cc354203f009926faf853a3 100644 GIT binary patch delta 96 zcmZp1XmOa}&nUVvU^hRb=wu#&_{sJHypwMTPGB=K)KM_Bn4Bl%B+15*$WRP~sSG6y u#bv=oc{%xc=?n}EjEge_n4k(b=Lw}UZ7elr+RQHTjb-v5;p-bq4VVBCn;WzM delta 49 zcmZp1XmOa}&nUbxU^hRb@MIo=_{}+je;L^f40RNY3^wNrr!sB6%wxj5nO))=%f= settings.THRESHOLD_ABSENT: #from here + if len(annotator.next.absent) >= settings.THRESHOLD_ABSENT: def tx(): Item.by_id(item_id).active = False - db.session.commit() #to here + db.session.commit() with_retries(tx) else: # ignore things that were deactivated in the middle of judging From 9298c49a6800ef659a3fa6619dc4f81c127118b7 Mon Sep 17 00:00:00 2001 From: Ayushi Date: Thu, 27 Feb 2020 14:40:08 -0800 Subject: [PATCH 04/13] fixing bugs --- .DS_Store | Bin 8196 -> 0 bytes app.json | 2 +- config.template.yaml | 4 +++- gavel/.DS_Store | Bin 6148 -> 8196 bytes gavel/settings.py | 1 + gavel/templates/admin.html | 4 +++- 6 files changed, 8 insertions(+), 3 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 47e489956b4e59ba5cc354203f009926faf853a3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeHM+iuf95S{G}r=c_wMXh-93la~dYFeO32q~nkP$VuDDdhoB>ojR=nzkV* zFZ=`W2Yd=&z=!YwaAv&}+i{Tkf}re1J2PI-8GFx;FXIrAD7WiHqB$Zm&{-Gq5E+g4 zb026UYUB#E0G{YI1>})ialG9DZ#|$H&Gy|Fe&A{Kl0G`?0j3LkcXs?!<0nNaF z$pGIUOmx;IrTdYVw+;wd0zi*pST@+G10=>&x}R0{#Jh4GJmXT0iFd`FFmxPS8@mUurGK4#LI7uVQ3$Y<%K^VN4p6Q7v{R%rKRG$S-f+rH*a=VRu<>Yo6EO*y__+7t$44p(>y-uzU{sHD5p$9 z-FIj@+CG(^U?m7Stop9wx%(Jr%na@FClT5soAyC*2-=z;+X0DeFVHcpCOJtW#VoLK z(l4jt90IjZKBS8{!=k)TMVY2mdP0wBlb%wA%Jd9Y1=|l0p-J`BIebf@FVPyU(-!(e zMA@K6usBu*Rwm7dSkf3&r?#B=0?xWlwdApg6DRIJj@ems2!^tl8RB_f6D&qXD!rzV zRxWyoZXu~`I+01$qT?jNf>R+*TONy8K|1gfRv|exk0?x`I0fP;1Iz9sp?76MJJd+} z^Rf#gw(L11+B)4w;&8HLB?=Zkfw+qJ4SIuQv8C0-7N>YXHy}O8JvrV`GtD|{Ts(=G zg`qLCXAQ0r_=~`|aTa{f^JP-{n9Cr?U@L*kD;%#5&m;3_lCz^2XL(#=@r#>p9fM3W zZ*deBN;l2G85kIieCN3SUmyPc{|phet7bqm@UJl-#@4E9Wt{cTcii*@xYjn&chI@9 zUq8|k0wK$BXjzU!pZ;M8+k`7)N=o-5jS;jz{vm+hE`GgJWImDkT`BP#*Ux{sR$81N G27UmT>dNK- diff --git a/app.json b/app.json index 025ba781..bebc0639 100644 --- a/app.json +++ b/app.json @@ -23,7 +23,7 @@ "EMAIL_PASSWORD": "_unused_", "IGNORE_CONFIG_FILE": "true", "TRACKS": [] - "THRESHOLD_ABSENT": 4 + "THRESHOLD_ABSENT": 1 }, "keywords": [ "gavel", diff --git a/config.template.yaml b/config.template.yaml index a9cf1cba..4a8e399c 100644 --- a/config.template.yaml +++ b/config.template.yaml @@ -188,4 +188,6 @@ send_stats: null # defaults to empty list(no tracks) # # this setting defines any sub-categories('tracks') that contestants can compete in -tracks: null \ No newline at end of file +tracks: null + +threshold_absent: 4 diff --git a/gavel/.DS_Store b/gavel/.DS_Store index b2f5a4cf11a12b996296371148ccde17daeaa348..0c1dfa19e0ecba6c9328e2526d5ae383ec430e14 100644 GIT binary patch delta 182 zcmZoMXmOBWU|?W$DortDU;r^WfEYvza8E20o2aMAD6lbLH}hr%jz7$c**Q2SHn1=X zZ02EUWn?$Bu+&j7HrqUd^$O!;D|X?@OsxGd!O1gNo#Z(gN*GcZav2I3au^c9?BcTE zqP(2^ymXMAlQY>(H*XOMV4m2(BghOC0RjnbAmIwKeX}6Pcjn3bBA%1|c{n&2Ar52M J9M3a{834!&CG!9P delta 120 zcmZp1XfcprU|?W$DortDU=RQ@Ie-{Mvv5r;6q~50$jG-bU^g=(-)0_xRz`LsBSRep zLyOHb1g|hot`sqvSdqDyor6P=8K?sY1h|2OD@gOk!tczJ`DHvoMlmo!j0M@musNP* G4l@8CKorsd diff --git a/gavel/settings.py b/gavel/settings.py index 81d5328a..8084c8b7 100644 --- a/gavel/settings.py +++ b/gavel/settings.py @@ -84,3 +84,4 @@ def _list(item): USE_SENDGRID = _bool(c.get('use_sendgrid', 'USE_SENDGRID', default=False)) SENDGRID_API_KEY = c.get('sendgrid_api_key','SENDGRID_API_KEY', default=None) TRACKS = c.get('tracks', 'TRACKS', default=[]) +THRESHOLD_ABSENT = c.get('threshold_absent','THRESHOLD_ABSENT', default=4) diff --git a/gavel/templates/admin.html b/gavel/templates/admin.html index 01671253..3e096797 100644 --- a/gavel/templates/admin.html +++ b/gavel/templates/admin.html @@ -31,7 +31,8 @@

Projects

Mu Sigma Squared Votes - Seen + Seen + Absent Skipped {% for track in tracks %} {{track | safe}} @@ -52,6 +53,7 @@

Projects

{{ item.sigma_sq | round(4) }} {{ item_counts.get(item.id, 0) }} {{ item.viewed | length }} + {{ item.absent | length }} {{ skipped.get(item.id, 0) }} {% for track in tracks %} {% if item.__dict__[track] == true %} From ebdbbf4593d794a20c1c8303a527d0febb7d7a13 Mon Sep 17 00:00:00 2001 From: htoo97 Date: Thu, 27 Feb 2020 14:52:02 -0800 Subject: [PATCH 05/13] Move absent deactivation outside of retry function --- app.json | 2 +- gavel/controllers/judge.py | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app.json b/app.json index bebc0639..c7567ebc 100644 --- a/app.json +++ b/app.json @@ -22,7 +22,7 @@ "EMAIL_USER": "_unused_", "EMAIL_PASSWORD": "_unused_", "IGNORE_CONFIG_FILE": "true", - "TRACKS": [] + "TRACKS": [], "THRESHOLD_ABSENT": 1 }, "keywords": [ diff --git a/gavel/controllers/judge.py b/gavel/controllers/judge.py index a8e61dbd..2d99ac3e 100644 --- a/gavel/controllers/judge.py +++ b/gavel/controllers/judge.py @@ -87,10 +87,7 @@ def tx(): annotator.next.absent.append(annotator) annotator.ignore.append(annotator.next) if len(annotator.next.absent) >= settings.THRESHOLD_ABSENT: - def tx(): - Item.by_id(item_id).active = False - db.session.commit() - with_retries(tx) + Item.by_id(item_id).active = False else: # ignore things that were deactivated in the middle of judging if annotator.prev.active and annotator.next.active: @@ -127,6 +124,8 @@ def tx(): elif request.form['action'] == 'Absent' : annotator.next.absent.append(annotator) annotator.next = None + if len(annotator.next.absent) >= settings.THRESHOLD_ABSENT: + Item.by_id(item_id).active = False db.session.commit() with_retries(tx) return redirect(url_for('index')) From 58090810f9b562e873470ccb1c87c324f0f38101 Mon Sep 17 00:00:00 2001 From: Ayushi Date: Thu, 27 Feb 2020 15:20:50 -0800 Subject: [PATCH 06/13] more bugs --- gavel/controllers/judge.py | 8 +++++--- gavel/settings.py | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gavel/controllers/judge.py b/gavel/controllers/judge.py index 2d99ac3e..4ec6a67b 100644 --- a/gavel/controllers/judge.py +++ b/gavel/controllers/judge.py @@ -86,8 +86,9 @@ def tx(): elif request.form['action'] == 'Absent': annotator.next.absent.append(annotator) annotator.ignore.append(annotator.next) + print("sssss" + str(settings.THRESHOLD_ABSENT)) if len(annotator.next.absent) >= settings.THRESHOLD_ABSENT: - Item.by_id(item_id).active = False + annotator.next.active = False else: # ignore things that were deactivated in the middle of judging if annotator.prev.active and annotator.next.active: @@ -123,9 +124,10 @@ def tx(): annotator.next = None # will be reset in index elif request.form['action'] == 'Absent' : annotator.next.absent.append(annotator) + print("rrrrrrrr" + str(settings.THRESHOLD_ABSENT)) + if len(annotator.next.absent) >= settings.THRESHOLD_ABSENT: + annotator.next.active = False annotator.next = None - if len(annotator.next.absent) >= settings.THRESHOLD_ABSENT: - Item.by_id(item_id).active = False db.session.commit() with_retries(tx) return redirect(url_for('index')) diff --git a/gavel/settings.py b/gavel/settings.py index 8084c8b7..bacee502 100644 --- a/gavel/settings.py +++ b/gavel/settings.py @@ -84,4 +84,4 @@ def _list(item): USE_SENDGRID = _bool(c.get('use_sendgrid', 'USE_SENDGRID', default=False)) SENDGRID_API_KEY = c.get('sendgrid_api_key','SENDGRID_API_KEY', default=None) TRACKS = c.get('tracks', 'TRACKS', default=[]) -THRESHOLD_ABSENT = c.get('threshold_absent','THRESHOLD_ABSENT', default=4) +THRESHOLD_ABSENT = c.get('threshold_absent','THRESHOLD_ABSENT') From 193c8c15a75bd580d301c9d875600de2ed0f5891 Mon Sep 17 00:00:00 2001 From: htoo97 Date: Thu, 27 Feb 2020 15:39:21 -0800 Subject: [PATCH 07/13] yaml gets prioritized --- app.json | 2 +- gavel/controllers/judge.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app.json b/app.json index c7567ebc..36b5090d 100644 --- a/app.json +++ b/app.json @@ -23,7 +23,7 @@ "EMAIL_PASSWORD": "_unused_", "IGNORE_CONFIG_FILE": "true", "TRACKS": [], - "THRESHOLD_ABSENT": 1 + "THRESHOLD_ABSENT": 2 }, "keywords": [ "gavel", diff --git a/gavel/controllers/judge.py b/gavel/controllers/judge.py index 4ec6a67b..70c66bdd 100644 --- a/gavel/controllers/judge.py +++ b/gavel/controllers/judge.py @@ -86,7 +86,6 @@ def tx(): elif request.form['action'] == 'Absent': annotator.next.absent.append(annotator) annotator.ignore.append(annotator.next) - print("sssss" + str(settings.THRESHOLD_ABSENT)) if len(annotator.next.absent) >= settings.THRESHOLD_ABSENT: annotator.next.active = False else: @@ -124,7 +123,6 @@ def tx(): annotator.next = None # will be reset in index elif request.form['action'] == 'Absent' : annotator.next.absent.append(annotator) - print("rrrrrrrr" + str(settings.THRESHOLD_ABSENT)) if len(annotator.next.absent) >= settings.THRESHOLD_ABSENT: annotator.next.active = False annotator.next = None From 35b31387f89fb706aff829956053814460644571 Mon Sep 17 00:00:00 2001 From: Ayushi Date: Wed, 4 Mar 2020 13:50:23 -0800 Subject: [PATCH 08/13] updated the threshold from 1 to 4 --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index c7567ebc..021cb72e 100644 --- a/app.json +++ b/app.json @@ -23,7 +23,7 @@ "EMAIL_PASSWORD": "_unused_", "IGNORE_CONFIG_FILE": "true", "TRACKS": [], - "THRESHOLD_ABSENT": 1 + "THRESHOLD_ABSENT": 1=4 }, "keywords": [ "gavel", From 0bf3617e905f3edb9356d24dd137ddf887af7444 Mon Sep 17 00:00:00 2001 From: Ayushi Date: Wed, 4 Mar 2020 13:51:24 -0800 Subject: [PATCH 09/13] removed absent header cell --- gavel/templates/admin.html | 1 - 1 file changed, 1 deletion(-) diff --git a/gavel/templates/admin.html b/gavel/templates/admin.html index 3e096797..b29fddf0 100644 --- a/gavel/templates/admin.html +++ b/gavel/templates/admin.html @@ -32,7 +32,6 @@

Projects

Sigma Squared Votes Seen - Absent Skipped {% for track in tracks %} {{track | safe}} From a7905104d38cea67b04ef439323cb31cbdd287dc Mon Sep 17 00:00:00 2001 From: Ayushi Date: Wed, 4 Mar 2020 13:52:47 -0800 Subject: [PATCH 10/13] added the threshold absent count --- config.vagrant.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/config.vagrant.yaml b/config.vagrant.yaml index ec263d61..d9528be9 100644 --- a/config.vagrant.yaml +++ b/config.vagrant.yaml @@ -7,3 +7,4 @@ email_from: '' # needs to be set to something even though email is disabled email_user: '' email_password: '' send_stats: false # disabled for development +threshold_absent: 4 From 675b3eef2fa21d72625a1af334f1c292c0f16476 Mon Sep 17 00:00:00 2001 From: Ayushi Date: Wed, 4 Mar 2020 14:15:11 -0800 Subject: [PATCH 11/13] Removed some unnecessary lines --- app.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app.json b/app.json index 93aca45d..021cb72e 100644 --- a/app.json +++ b/app.json @@ -23,11 +23,7 @@ "EMAIL_PASSWORD": "_unused_", "IGNORE_CONFIG_FILE": "true", "TRACKS": [], -<<<<<<< HEAD "THRESHOLD_ABSENT": 1=4 -======= - "THRESHOLD_ABSENT": 2 ->>>>>>> 193c8c15a75bd580d301c9d875600de2ed0f5891 }, "keywords": [ "gavel", From bb290536a926a495d6e0995c3cf4df86ac4531f2 Mon Sep 17 00:00:00 2001 From: Ayushi Date: Wed, 4 Mar 2020 14:36:24 -0800 Subject: [PATCH 12/13] updated threshold --- app.json | 2 +- gavel/.DS_Store | Bin 8196 -> 0 bytes gavel/controllers/.DS_Store | Bin 6148 -> 0 bytes 3 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 gavel/.DS_Store delete mode 100644 gavel/controllers/.DS_Store diff --git a/app.json b/app.json index 021cb72e..db4adb05 100644 --- a/app.json +++ b/app.json @@ -23,7 +23,7 @@ "EMAIL_PASSWORD": "_unused_", "IGNORE_CONFIG_FILE": "true", "TRACKS": [], - "THRESHOLD_ABSENT": 1=4 + "THRESHOLD_ABSENT": 4 }, "keywords": [ "gavel", diff --git a/gavel/.DS_Store b/gavel/.DS_Store deleted file mode 100644 index 0c1dfa19e0ecba6c9328e2526d5ae383ec430e14..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeHM(TdYR6uq-sYuYLn6t<6f5qv1pvbw8?5bFA{Z$d>MRJuu1cLUj^G^u5+mAv>5 z>L2(iet{q22k5yoV`UW7+L}Z~dHXCS43XgML zD_gp!2^8QH1(ebNuiG?U^EMqu0i%FXz$jo8FbZ4*1#r*iVr{tZt5MS$1&jj!r2>3D z*r<$-#!R6+I?%`z09Zk{EU-BpV2-WP(U>X32#QctprQ($VhBY?zpecojhRA4C!v!M zp;s063>k9DKr6F_nfTCRfes&nfLobXyc(B(4)LTDffkkws zoJGR|?+d<+R*pBM7;7bXR^S3tSp2-8xE^@9^%|sjDNVo+@fyKO@~erRKVx~bWUN2i zS8p5!N!sar6I#zDJ@vNV^=``uNlNbE%iJP8y+I||x;nH@!XTfMT zXx?}fN2wb`qlqL3{s=BFp9hg2&wBAR@)J2vUkzAR&8iKWt@*rr?|$3f-MhPJ+w=YX zPTRh-ySG@>teuJU?(fOJj0U$&oNZ4l{Ae-edpbj)<^#Ujqg z$0mB%f|3moAKY!j&Nf_mP zt)*{i_{cz5o%=ejWrR;K#?`yh9?)y76G|I_v{8fAS!!#u6a$cz_zmM<4Zad_3V~EblRGOoTpb9?m?<>(f2o6Mi~{FXU|UVl;{5;d=I8(CUB>W@0!D!gtbnK- z^bdNtz+b;Ci`UAzwvBp(%7y(hg_44XUASMS)=H5hqF5gjEOF2467wCl2li0` zox6_B*#t9e&fnYZv>Xkm<&X?r9@q4XZ!^|(Neocng*h{u?>hgp#y=!~PPVR%8duJ0 z+*6G3iUl6|WOHK4bv0&e$^5c;JbAD6al)q?vxfmzm@>0z+^_CNvd*=kuQqL;3KE8q&O70~ZPpeyDHtBCgLU|~l9 zVw+(z*7avmb3(#AVHJ^gXcAM2F;&tLLt;APA@TBrRm7MMNrw+fBTG7=h>gzvgV7;* zL@!+dS72L#gV^lq{(tlP`F}gfTdsgB@UIk*cK@#5<13}Tb?4=DuMPAEx|;H;i0c$q hY%3;Lx8ifU8RJ1K#5`dYkrA5z2$&3BxB`Ewzz@!sZU+DW From 4fe123b9787467818b4cacacb3874645fa7e17b3 Mon Sep 17 00:00:00 2001 From: htoo97 Date: Wed, 4 Mar 2020 14:55:47 -0800 Subject: [PATCH 13/13] Delete redundant absent length --- gavel/templates/admin.html | 1 - 1 file changed, 1 deletion(-) diff --git a/gavel/templates/admin.html b/gavel/templates/admin.html index ecd27e96..fab24bf7 100644 --- a/gavel/templates/admin.html +++ b/gavel/templates/admin.html @@ -53,7 +53,6 @@

Projects

{{ item.sigma_sq | round(4) }} {{ item_counts.get(item.id, 0) }} {{ item.viewed | length }} - {{ item.absent | length }} {{ skipped.get(item.id, 0) }} {{ absent.get(item.id, 0) }} {% for track in tracks %}