On 21/09/2025 23:32, Sven Schreiber wrote:
Hi,

the attached script files demonstrate a bug. Please run the bugtest_driver.inp script which includes the other script port_bugtest.inp. The example uses the built-in example dataset abdata.

The point is that the top-level series "e" which is passed as a pointer arg to the function (factcoint_test) gets a spurious and more or less arbitrary description string, sometimes including non-printable characters. Actually sometimes the correct description happens; in that case please just run the script again. To trigger the bug it seems necessary to have an enclosing loop.

Confirmed with current git, with a twist.

If you store the output of the getinfo() function to a named variable, as in

foo = getinfo(e)

then "foo" doesn't contain the "description" key at all. It looks as if some cleanup is taking place at the wrong point.

-------------------------------------------------------
  Riccardo (Jack) Lucchetti
  Dipartimento di Scienze Economiche e Sociali (DiSES)

  Università Politecnica delle Marche
  (formerly known as Università di Ancona)

  r.lucchetti@univpm.it
  http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------