comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Not to incite a language war but apparently the Corona lockdown was based on 13 year old undocumented C-Code
Date: Wed, 13 May 2020 12:54:34 +0300
Date: 2020-05-13T12:54:34+03:00	[thread overview]
Message-ID: <hi1ueqFr09vU1@mid.individual.net> (raw)
In-Reply-To: <r9f4bk$oa0$1@dont-email.me>

On 2020-05-13 0:27, Jeffrey R. Carter wrote:
> On 5/12/20 9:16 PM, Niklas Holsti wrote:
>>>
>>> It seems clear that the code that was executed to create the 
>>> predictions was not deterministic on a single core.
>>
>> The first of the two cases of single-core "non-determinism" described 
>> and bewailed in the "review" is that the time evolution of the 
>> predicted epidemic is different depending on the value of a program 
>> option -- whether the "network" is created anew, or reused -- that 
>> should not affect the result. No actual non-determinism is claimed in 
>> the review, just that the epidemic reaches large infection rates 
>> sooner for one option value than for the other. It seems that the code 
>> was using the PRN generator slightly differently in the two cases, 
>> resulting in different PRN sequences.
> 
> The single-core non-determinism that I gathered from the referenced 
> interpretation of the review, which I clearly have not studied as 
> carefully as you, was that the program gave different results on the 
> same computer for identical inputs: same initial conditions and same RNG 
> seed(s). Perhaps I misunderstood, but that was what I got from it, and 
> the only part that seemed troubling. This is different from the kind of 
> non-determinism of simulations that are intended to be run many times 
> with different RNG seeds. Possibly that would be caused by accessing 
> uninitialized variables.

The "second analysis" at 
https://lockdownsceptics.org/second-analysis-of-fergusons-model/ refers 
to some GitHub change-log entries that do correct uninitialized-variable 
errors, so there may have been some real non-determinism.

The second analysis then tries to evaluate the effect of the various 
errors and their corrections by running the newest version and the 
"initial import" version with the same data, and claims "radically 
altered" results.

In fact, the results compared, which are the number of infected but 
recovered people on day 128 of the simulation, are some 57 million for 
the initial code and 42 million for the current code. But note that the 
reviewer compares only one run of each program, so I would say that this 
change can well be purely statistical and result from small random 
(PRN-induced) differences in the speed at which the infections take off 
in the two runs.

Even if the two runs use the same initial RNG seed, the changes probably 
make the sequence of RNG calls, and the uses to which the RNG results 
are put, different in the two program versions, which means that they 
effectively use different PRN sequences.

I don't intend to spend any more time on this storm in a teapot.

-- 
Niklas Holsti
niklas holsti tidorum fi
       .      @       .

  parent reply	other threads:[~2020-05-13  9:54 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 18:49 Not to incite a language war but apparently the Corona lockdown was based on 13 year old undocumented C-Code Rick Newbie
2020-05-11 20:27 ` Niklas Holsti
2020-05-11 21:12   ` Rick Newbie
2020-05-12 20:11     ` Niklas Holsti
2020-05-12 20:53       ` Dmitry A. Kazakov
2020-05-12 21:54         ` Niklas Holsti
2020-05-12 22:15       ` Rick Newbie
2020-05-13 11:07         ` Niklas Holsti
2020-05-13 13:23           ` Rick Newbie
2020-05-13 13:45             ` Niklas Holsti
2020-05-13 14:58               ` Rick Newbie
2020-05-13 15:31                 ` Dmitry A. Kazakov
2020-05-13 15:48                   ` Niklas Holsti
2020-05-11 21:45   ` gautier_niouzes
2020-05-12 15:56     ` Niklas Holsti
2020-05-11 21:55   ` Jeffrey R. Carter
2020-05-12 19:16     ` Niklas Holsti
2020-05-12 21:27       ` Jeffrey R. Carter
2020-05-12 22:20         ` Niklas Holsti
2020-05-12 22:39           ` Jeffrey R. Carter
2020-05-13  9:36             ` Niklas Holsti
2020-05-13 13:52               ` Optikos
2020-05-13 14:05                 ` Niklas Holsti
2020-05-13 18:58                   ` Optikos
2020-05-13 20:29                     ` Niklas Holsti
2020-05-13 21:02                       ` Optikos
2020-05-13 21:48                         ` Niklas Holsti
2020-05-13 22:13                           ` Optikos
2020-05-13  9:54         ` Niklas Holsti [this message]
2020-05-13  0:25 ` Olivier Henley
2020-05-15 13:23   ` Optikos
2020-05-16  5:01 ` Anatoly Chernyshev
2020-05-28 21:45   ` Optikos
2020-06-11 17:28   ` Olivier Henley
2020-06-11 17:36     ` Olivier Henley
2020-06-11 22:43     ` Anatoly Chernyshev
2020-06-12 12:10       ` Olivier Henley
2020-06-12 12:34         ` Anatoly Chernyshev
2020-06-12 17:36           ` Olivier Henley
2020-06-21  9:18             ` Anatoly Chernyshev
2020-06-22 13:36               ` Olivier Henley
2020-05-16 22:31 ` Niklas Holsti
2020-05-16 23:54   ` Optikos
2020-05-17 15:41     ` Niklas Holsti
2020-05-17 17:38       ` Optikos
2020-05-17 18:00         ` Simon Wright
2020-05-17 20:56           ` Optikos
2020-05-17 21:20             ` Simon Wright
2020-05-17 21:45               ` Optikos
2020-05-18  7:34                 ` Simon Wright
2020-05-17 19:20         ` Niklas Holsti
2020-05-17 21:30           ` Optikos
2020-05-24 21:04 ` Bob Goddard
2020-05-31 15:01 ` Azathoth Hastur
2020-06-09  6:30 ` gautier_niouzes
2020-06-11 15:35 ` Olivier Henley
2020-06-11 15:49   ` Olivier Henley
2020-06-11 18:41     ` Anh Vo
2020-06-11 19:58       ` Olivier Henley
2020-06-11 20:41         ` Anh Vo
2020-06-11 20:47           ` Olivier Henley
2020-06-11 21:34             ` Anh Vo
2020-06-11 21:47               ` Olivier Henley
2020-06-11 21:39             ` Olivier Henley
2020-06-11 23:14               ` Anh Vo
2020-06-11 23:30                 ` Jere
2020-06-11 23:55                   ` Olivier Henley
2020-06-12  0:07                 ` Olivier Henley
2020-06-12  0:42                   ` Anh Vo
2020-06-12 11:08                     ` Olivier Henley
2020-06-12  7:03   ` gautier_niouzes
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox