Updated the NomCom eligibility calculation to use the last 5 in-person meetings, in accordance with draft-iesg-nomcom-eligibility-2020-03 which has now been approved for publication. The code will need revisiting when the long-term policy is available.

- Legacy-Id: 17859
This commit is contained in:
Henrik Levkowetz 2020-05-20 19:41:25 +00:00
parent 950f1822bc
commit ac52ce6595

View file

@ -1244,7 +1244,9 @@ def eligible(request, year):
# today's date makes sense; for previous nomcoms, we should probably get
# the date of the announcement of the Call for Volunteers, instead
date = datetime.date.today()
previous_five = Meeting.objects.filter(type='ietf',date__lte=date).order_by('-date')[:5]
previous_five = ( Meeting.objects.filter(type='ietf',date__lte=date)
.exclude(city='').exclude(city='Virtual')
.order_by('-date')[:5] )
log.assertion("len(previous_five) == 5")
attendees = {}
potentials = set()