Re: [xml2rfc] Non-determinism (Re: Unable to run xml2rfc --help)

Julian Reschke <julian.reschke@gmx.de> Mon, 04 January 2021 13:04 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B36C3A0CEC for <xml2rfc@ietfa.amsl.com>; Mon, 4 Jan 2021 05:04:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.261
X-Spam-Level:
X-Spam-Status: No, score=-0.261 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.262, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mbI9QFkznJJR for <xml2rfc@ietfa.amsl.com>; Mon, 4 Jan 2021 05:03:59 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CA74D3A0CEB for <xml2rfc@ietf.org>; Mon, 4 Jan 2021 05:03:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609765433; bh=/WVZhB4rGUK2oKRFUDuyCan2Z6rIgqp93ON8Pb5uCQE=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=NOlMuUahGWEdI3fzCtpmL9FUF9fChpN7v4FNehR6hQ7HlYRvufFgeWuWc9J5brz3h Dz8qxgp7ZQi7YzLNdcWPvXWb/8VGRUiM+7rFxH6Z6hbUaOkX7uIIqbG8EUOUB7cFGF z/9Vj1aHiLltJb7HiEi9nA58anPy/abAVF5Nqgq4=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.236] ([5.10.171.186]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mzyuc-1k1xLr2cHm-00x5Lt for <xml2rfc@ietf.org>; Mon, 04 Jan 2021 14:03:53 +0100
To: xml2rfc@ietf.org
References: <alpine.DEB.2.20.2012290940050.26613@maria.rogerprice.org> <E6768027-2AA0-46E2-8F24-61A799F7B963@tzi.org> <E97EC791-6E3C-40A3-A4C1-E044DEE9E582@tzi.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <15efde15-8b66-b359-db1f-d5c15a8f73a6@gmx.de>
Date: Mon, 04 Jan 2021 14:03:51 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <E97EC791-6E3C-40A3-A4C1-E044DEE9E582@tzi.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:lu1StPrnaAaxY5vZh0Q1nkGKsN5lRvejzWb/VOfcZWeJJYcyb/9 Kbo1aQwTIoiMZbItleqrCxxQgZbH1LKxYs1zptbzgiGbh1uW+eNHJS2vklLdXrKzXgQuIMO NnqieCJGgg2HWhOF3u3GvCEOPfrAyn43RzvuRm8J5ln4ZqAX6xvvBBl6m7t6GrNZPrIUp0e hxVm4wcparkbZ7esC3dsQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:DXG8Nv7CVo4=:TZKAzkr0an8zLBGXTnFYBK /NplbvSsxkttS1OpvzHN5xZOLy/U9neVgX/2U2hbpzAWv+xloZNTBCXuxTExrBjUc/RGP+ksM HMlmJFEC+4CNOkib0rWQ25xVQfzEZfAYOdPhH2+KjneBAFlXrrHSWlR3a7yLgdql/hH682Cp5 SaNWsYQHoyitJRLmQ7KJ0LNgd/a5JvTIyXmFVHulx4cvjrxxPu8KNcRrRinjOQadX4hc2awoS Elm0yREkdm21sLsOROBA3JKCMNotpeBd7tRe1xtbQWqyVtdu4ttoMh/FMM6luYKfdrhgSJs8c qS8yyZZcoCBg/QG9su7YanHCDw5mDhDID6ikgSIrJ3PlA7/CkgsbDRgKvOuFkpkpeZUtD1MtK V3nJ6r0nbgcMQRhf9/RPY4mBGztDILMzTeQ2+3ZGM/13DQ4LNs9J3myByyD2VJEoE7C7TwHvX pgQLGtEky/LpM1asoUpkme+Ih1xfhMwWHP9NKHKtTSBy6VF27+MzZuMD4V7bmz4KAAHbyeu06 lDiIC9rOXOK6UxorWUgxeU20495jHhsw/tHVvBS8BwAJqt2YAh5u3CHXw8S1CEKCAafBQ6PEA NQLSaEiSYUyqqIHzfBylZlsq5V6NTPxPl4lPZdM6BjbDtLWW1ZqVb/c3kviymSsVSDJW/hMt9 zrJUn103hxYQBMRsbxEVJp+uICsWocnJ7Q/ojlXzb34fhFEqLdkTOEgqwYUV5KrIwGFtqQRIG +0NqIsj2xPmPiDtqz63hE5SDgWorQj5kIOgogRXAKb6+TtEwwbA4L0lEpfBRTTYh8x5Eh2mt2 Q4T2IcvyLUszMHqme8bEzG8E0YL3G/orw9osAZGK/xMflhvz30gfNrefxaU6B6DdPMbW2+fip YI9KOo5xpIYgL0YYkDBg==
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/MtIR06kHRascL2XrmULabv2wTMc>
Subject: Re: [xml2rfc] Non-determinism (Re: Unable to run xml2rfc --help)
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Jan 2021 13:04:00 -0000

Am 04.01.2021 um 13:54 schrieb Carsten Bormann:
> While it might be a special need to actually compare generated HTML between different runs, but when testing an entire authoring chain, it is a bit unnerving to have changes like
>
> -          <li class="toc ulEmpty compact" id="section-toc.1-1.12">
> +          <li class="ulEmpty toc compact" id="section-toc.1-1.12">
>
> between runs that are meant to produce identical output.
>
> My python-fu is not sufficient to suggest a way to hide the randomized Python behavior from this output (replace Dictionary by OrderedDict?, but I thought that was the default now since Python 3.7); could somebody else please step in.
>
> Grüße, Carsten
> ...

See <https://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/553>.

Best regards, Julian