Re: [Gendispatch] New Version Notification for draft-knodel-nomcom-gender-representation-00.txt
Eric Rescorla <ekr@rtfm.com> Thu, 23 November 2023 01:05 UTC
Return-Path: <ekr@rtfm.com>
X-Original-To: gendispatch@ietfa.amsl.com
Delivered-To: gendispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 293C8C15153E for <gendispatch@ietfa.amsl.com>; Wed, 22 Nov 2023 17:05:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KegwGAguLoIw for <gendispatch@ietfa.amsl.com>; Wed, 22 Nov 2023 17:05:49 -0800 (PST)
Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F0B6EC14CE22 for <gendispatch@ietf.org>; Wed, 22 Nov 2023 17:05:48 -0800 (PST)
Received: by mail-yb1-xb35.google.com with SMTP id 3f1490d57ef6-db37c6a4d48so382080276.2 for <gendispatch@ietf.org>; Wed, 22 Nov 2023 17:05:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20230601.gappssmtp.com; s=20230601; t=1700701548; x=1701306348; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RVjzH/fp2m6v0hJTz6O1ZnfnRDgGFAAjWInRTQBaB/U=; b=Wghpo2Xf2BPc+QpOGc4Zf6lF5z+0TN3E1m/6WT+r8Wuc1qlIXN2bE4FyjOkb/noUmO iRUJU/Kz5lKMQNmZXC+IZc9G6oR4q1CiLwuQ7vOPh66Es0Wh8wpf2jr211VEimkPcnHD qZu8CS54OMt/medW8PK7Wc6Lq5s+/+XKx704xrql2wsIn7chQ2agNZsksmAxN62tJUgb 9SAL2jNYlqU4eMjwWuL4jzRfWv9+wC+E6MEBTZtDGqJEddOm/CdSYyiF/8G2AWLbiDLY zUcNf4+AokvhFlcYyQucyCHGVav7L3XR6uT1KAaqx8co64rsq+rVVF0tJIZYTqUH30Id f+IQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700701548; x=1701306348; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RVjzH/fp2m6v0hJTz6O1ZnfnRDgGFAAjWInRTQBaB/U=; b=PwzqEEo7DzXTzC/YdcKL093vvoV/xT7o5LfsSq86ALly4nXNe6yBnsesPPLf/vzAr5 VJ6ju5nm3OGzeWNGZ6m/fiOlt3SjK3UUy7nLKbzcL/R1jlPFaBpqBtZ+R3wLgTT1L2gU 2mqnUOIlJM4hQ6dMfAv4FYhkbHqAE8w2BzQ+SYV20Z6sXmK6k/3bDXulFy3w8pDJ32/x 1fp8LWtlJ52qNCAepu8/3Q5ULBAyxjBoU3Z1wPSxqKQQZmcOPMbZewq8V5N8UvmcYxI0 uA/m/Uv1GXqbFViQN+fCabOFaU7U4Aslsfxc/TmyaSN84qEw9mMYFw/7Tz6EFgBPRdn/ ab1Q==
X-Gm-Message-State: AOJu0Yy5rLG+Jfa7AWxTsEL+xdkEI4/IEH3+zPAyr5ueMiNUBM1Rw9CB bNrQblJXaBFdVbNmZoEEUJ8Tef4VcAHVDLGx3+ZqW3WJvkZpJWH+
X-Google-Smtp-Source: AGHT+IELTlu5E29XUab8QzQDGdgZ9PF4vPzv0DqQf2iT4pq3Lnttzy8EHSwfTgNGrTnMS81X2iqnyVGKeq3ImfZK9rA=
X-Received: by 2002:a05:6902:2c6:b0:d9a:b9fe:a318 with SMTP id w6-20020a05690202c600b00d9ab9fea318mr3844927ybh.58.1700701548078; Wed, 22 Nov 2023 17:05:48 -0800 (PST)
MIME-Version: 1.0
References: <55d7f614-2fd7-4d67-9102-aa45f8a62040@betaapp.fastmail.com> <09790854-FBD8-4566-BE1D-03836FDB60F6@huitema.net> <CABcZeBOO5_Dvf8Lvw=TqXO1jhUy1vXAAJZ+YkZijQAp6J5Pzqg@mail.gmail.com> <1939840a-93be-4b42-90e2-4ffd048dfe27@betaapp.fastmail.com>
In-Reply-To: <1939840a-93be-4b42-90e2-4ffd048dfe27@betaapp.fastmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 22 Nov 2023 17:05:11 -0800
Message-ID: <CABcZeBPamNugQyus9z-pV4sBdYoWnRg84g5fjV4mE6EK2DpTVQ@mail.gmail.com>
To: Martin Thomson <mt@lowentropy.net>
Cc: Christian Huitema <huitema@huitema.net>, Mallory Knodel <mknodel@cdt.org>, Vittorio Bertola <vittorio.bertola@open-xchange.com>, gendispatch@ietf.org
Content-Type: multipart/alternative; boundary="000000000000a47d0a060ac76ff8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/gendispatch/_j8fLUfyccMZTxBv22l1JqRRzlk>
Subject: Re: [Gendispatch] New Version Notification for draft-knodel-nomcom-gender-representation-00.txt
X-BeenThere: gendispatch@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General Area Dispatch <gendispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gendispatch>, <mailto:gendispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gendispatch/>
List-Post: <mailto:gendispatch@ietf.org>
List-Help: <mailto:gendispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gendispatch>, <mailto:gendispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Nov 2023 01:05:51 -0000
This seems like an improvement conceptually, but I'm less sure about your code. If everyone listed PNTS, won't it just never terminate? -Ekr On Wed, Nov 22, 2023 at 4:57 PM Martin Thomson <mt@lowentropy.net> wrote: > On Thu, Nov 23, 2023, at 07:05, Eric Rescorla wrote: > > Just so I understand what you are proposing in practice. Suppose we have > four > > values: A, B, C, and PNTS, then the selection algorithm would be: > > > > exclude = None > > while selected_total < 10 { > > candidate = draw_random() > > if selected(gender(x)) == 8 { > > exclude = gender(x) > > } > > if exclude != None { > > if exclude == gender(x) { > > skip; > > } > > // This avoids giving pnts a preference > > if gender(x) == pnts { > > skip; > > } > > > > select x; > > } > > I know how to do code review! (You missed a closing brace.) > > A perhaps better approach is to count PNTS toward all genders, which is > probably more robust. Otherwise, an all-male NomCom can be selected. With > a limit of eight, if two male volunteers select PNTS, the count won't reach > that limit, as long as the two male PNTS options aren't the last two > selected (which is a bit weird). > > while selected.len < 10 { > candidate = draw(); > // insert affiliation check here > if candidate.gender == PNTS { > if genders[A] == limit || genders[B] == limit || genders[B] == limit { > ITYM genders[C] for the last clause. > skip; > } > genders[A]++; genders[B]++; genders[C]++; > } else { > if genders[candidate.gender] == limit { > skip; > } > genders[candidate.gender]++; > } > select candidate; > } >
- [Gendispatch] New Version Notification for draft-… Mallory Knodel
- Re: [Gendispatch] New Version Notification for dr… Rob Wilton (rwilton)
- Re: [Gendispatch] New Version Notification for dr… Mallory Knodel
- Re: [Gendispatch] New Version Notification for dr… Jim Reid
- Re: [Gendispatch] New Version Notification for dr… Mallory Knodel
- Re: [Gendispatch] New Version Notification for dr… Vittorio Bertola
- Re: [Gendispatch] New Version Notification for dr… Salz, Rich
- Re: [Gendispatch] New Version Notification for dr… Paul Wouters
- Re: [Gendispatch] New Version Notification for dr… Andrew Campling
- Re: [Gendispatch] New Version Notification for dr… Salz, Rich
- Re: [Gendispatch] New Version Notification for dr… Brian E Carpenter
- Re: [Gendispatch] New Version Notification for dr… Martin Thomson
- Re: [Gendispatch] New Version Notification for dr… Brian E Carpenter
- Re: [Gendispatch] New Version Notification for dr… Martin Thomson
- Re: [Gendispatch] New Version Notification for dr… Vittorio Bertola
- Re: [Gendispatch] New Version Notification for dr… Lloyd W
- Re: [Gendispatch] New Version Notification for dr… Lloyd W
- Re: [Gendispatch] New Version Notification for dr… Brian E Carpenter
- Re: [Gendispatch] New Version Notification for dr… Christian Huitema
- Re: [Gendispatch] New Version Notification for dr… Eric Rescorla
- Re: [Gendispatch] New Version Notification for dr… David Schinazi
- Re: [Gendispatch] New Version Notification for dr… Brian E Carpenter
- Re: [Gendispatch] New Version Notification for dr… Eric Rescorla
- Re: [Gendispatch] New Version Notification for dr… Mallory Knodel
- Re: [Gendispatch] New Version Notification for dr… Brian E Carpenter
- Re: [Gendispatch] New Version Notification for dr… Eric Rescorla
- Re: [Gendispatch] New Version Notification for dr… Stephen Farrell
- Re: [Gendispatch] New Version Notification for dr… Eric Rescorla
- Re: [Gendispatch] New Version Notification for dr… Salz, Rich
- Re: [Gendispatch] New Version Notification for dr… Christian Huitema
- Re: [Gendispatch] New Version Notification for dr… Martin Thomson
- Re: [Gendispatch] New Version Notification for dr… Eric Rescorla
- Re: [Gendispatch] New Version Notification for dr… Martin Thomson
- Re: [Gendispatch] New Version Notification for dr… Barry Leiba
- Re: [Gendispatch] New Version Notification for dr… Jay Daley
- Re: [Gendispatch] New Version Notification for dr… Vittorio Bertola
- Re: [Gendispatch] New Version Notification for dr… Paul Wouters
- Re: [Gendispatch] New Version Notification for dr… Eliot Lear
- Re: [Gendispatch] New Version Notification for dr… Eric Rescorla
- Re: [Gendispatch] New Version Notification for dr… Mallory Knodel
- Re: [Gendispatch] New Version Notification for dr… Eric Rescorla
- Re: [Gendispatch] New Version Notification for dr… Mallory Knodel
- Re: [Gendispatch] New Version Notification for dr… Brian E Carpenter
- Re: [Gendispatch] New Version Notification for dr… Salz, Rich
- Re: [Gendispatch] New Version Notification for dr… Paul Hoffman
- Re: [Gendispatch] [Eligibility-discuss] New Versi… Michael Richardson
- Re: [Gendispatch] New Version Notification for dr… Fernando Gont
- Re: [Gendispatch] New Version Notification for dr… Christian Huitema
- Re: [Gendispatch] New Version Notification for dr… Brian E Carpenter
- Re: [Gendispatch] [Eligibility-discuss] New Versi… Mallory Knodel
- Re: [Gendispatch] New Version Notification for dr… Fernando Gont
- Re: [Gendispatch] [Eligibility-discuss] New Versi… Andrew Sullivan
- [Gendispatch] Exhausted pool [draft-knodel-nomcom… Brian E Carpenter
- Re: [Gendispatch] [Eligibility-discuss] New Versi… Michael Richardson
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Benson Muite
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Michael Richardson
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Mallory Knodel
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… John Levine
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Brian E Carpenter
- Re: [Gendispatch] New Version Notification for dr… Mark Nottingham
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… John Levine
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Salz, Rich
- Re: [Gendispatch] New Version Notification for dr… Stephen Farrell
- Re: [Gendispatch] New Version Notification for dr… Martin Thomson
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Brian E Carpenter
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Salz, Rich
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Barry Leiba
- Re: [Gendispatch] New Version Notification for dr… Rob Wilton (rwilton)
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Salz, Rich
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Livingood, Jason
- Re: [Gendispatch] New Version Notification for dr… Ted Hardie
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Salz, Rich
- Re: [Gendispatch] Exhausted pool [draft-knodel-no… Bob Hinden
- Re: [Gendispatch] New Version Notification for dr… Brian E Carpenter
- Re: [Gendispatch] New Version Notification for dr… Flo D
- Re: [Gendispatch] New Version Notification for dr… Salz, Rich
- Re: [Gendispatch] New Version Notification for dr… Fernando Gont
- Re: [Gendispatch] New Version Notification for dr… Eric Rescorla
- Re: [Gendispatch] New Version Notification for dr… Eric Rescorla
- Re: [Gendispatch] New Version Notification for dr… Mallory Knodel