[
https://issues.apache.org/jira/browse/OPENNLP-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17693539#comment-17693539
]
ASF GitHub Bot commented on OPENNLP-1472:
-----------------------------------------
mawiesne commented on PR #88:
URL: https://github.com/apache/opennlp-sandbox/pull/88#issuecomment-1445213890
> @mawiesne , versions created :+1:
Thanks a lot, Bruno!
> Fix flaky (sub-) test of GradientDescentUtilsTest in sandbox component
> 'nlp-utils'
> ----------------------------------------------------------------------------------
>
> Key: OPENNLP-1472
> URL: https://issues.apache.org/jira/browse/OPENNLP-1472
> Project: OpenNLP
> Issue Type: Test
> Affects Versions: 2.1.1
> Reporter: Martin Wiesner
> Assignee: Martin Wiesner
> Priority: Major
>
> A flaky test has been discovered with recent modernizations of the sandbox
> components. It lives in 'nlp-utils' and the problem signals a fragile test
> setup or potentially numerical instabilities:
> {quote}Error:
> org.apache.opennlp.utils.regression.GradientDescentUtilsTest.testConvergence
> Time elapsed: 1.156 s <<< ERROR!
> [3270|https://github.com/apache/opennlp-sandbox/actions/runs/4177895676/jobs/7296072329#step:5:3271]java.lang.RuntimeException:
> failed to converge at iteration 75129 with cost going from 5.010577258277822
> to 5.010577258277823
> [3271|https://github.com/apache/opennlp-sandbox/actions/runs/4177895676/jobs/7296072329#step:5:3272]
> at
> org.apache.opennlp.utils.regression.GradientDescentUtilsTest.testConvergence(GradientDescentUtilsTest.java:34)
> {quote}
> The problem (sometimes) occurs on different platforms / environments (Win,
> Lin, Mac).
> Aims:
> * Investigate the cause of the flakyness
> * Fix the test (environment / setup) so it runs reliably.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)