bugGNU Octave - Bugs: bug #52120, [octave forge] (optim) Random...

 
 

bug #52120: [octave forge] (optim) Random failure of nlinfit unit test

Submitted by:  Rafael Laboissiere <rlaboiss>
Submitted on:  Tue 26 Sep 2017 03:29:11 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Olaf Till <i7tiol>
Originator Name: Open/Closed: Closed
Release: otherOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 04 Oct 2017 07:45:04 PM UTC, comment #1:

I applied it, thanks, and sorry for the long delay. Olaf

Olaf Till <i7tiol>
Project MemberIn charge of this item.
Tue 26 Sep 2017 03:29:11 PM UTC, original submission:

In version 1.5.2 of the optim package, the unit test for function nlinfit is failing randomly:

This happens because the unit test calls exprnd and normrnd, such that the values passed to nlinfit are unpredictable.

The patch attached to this bug report contains a possible fix for the problem. Essentially, it sets the seed of the random number generators in question. It takes care of keeping the state of those RNGs. Please, consider applying it to the sources or implementing a reproducible way of running the unit test for nlinfit.

Rafael Laboissiere <rlaboiss>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by i7tiol (Posted a comment)
  • -unavailable- added by rlaboiss (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 04 Oct 2017 07:45:03 PM UTCi7tiolStatusNone=>Fixed
      Assigned toNone=>i7tiol
      Open/ClosedOpen=>Closed
    Tue 26 Sep 2017 03:29:11 PM UTCrlaboissAttached File-=>Added reproducible-nlinfit-unit-test.patch, #41896

    Back to the top


    Powered by Savane 3.1-cleanup1