Skip to content

Failing test_restart_from_pickle in n3fit/tests/test_hyperopt.py #1885

@Cmurilochem

Description

@Cmurilochem

It seems that the test test_restart_from_pickle created by me fails occasionally. The reason is that, because we calculate too few trials (2 and then 4) in the hyperopt, it may happen that none of the trials end up with a hyper_loss below the threshold; this is certainly not in the scope of the test itself and might be slightly annoying.

To correct for that I suggest:

  • increasing the number of trials and/or epochs (which might not directly solve the problem a priori with added timings)
  • increasing the k-fold hyper opt threshold here in the hyper-quickcard.yml file
  • create a specific runcard for this test and add a high threshold since here we are only interested in asserting that the final json files are equivalent and show the same number (regardless their magnitude).

Which one would be the best alternative ? Please, also feel free to suggest any other alternative.

Metadata

Metadata

Labels

esciencequestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions