Commit Graph

7065 Commits

Author SHA1 Message Date
John Patrick 15b2e50328
JUnit5 assertThrows MapRankingTest (#215) 2022-10-21 09:13:37 +01:00
John Patrick 5e497dd704
JUnit5 assertThrows ExponentialDecayFunctionTest (#222) 2022-10-20 22:19:22 +01:00
John Patrick 7dde96fd0e
JUnit5 assertThrows QuasiSigmoidDecayFunctionTest (#221) 2022-10-20 22:18:40 +01:00
John Patrick 235365d464
JUnit5 assertThrows LearningFactorFunctionFactoryTest (#220) 2022-10-20 22:17:31 +01:00
John Patrick 9b1d7c5f8a
JUnit5 assertThrows NeighbourhoodSizeFunctionFactoryTest (#218) 2022-10-20 22:16:12 +01:00
John Patrick e4d77683f5
JUnit5 assertThrows TransformUtilsTest (#214) 2022-10-20 21:57:39 +01:00
Gary Gregory 7a98b04a29 Add a GitHub security page. 2022-10-19 06:45:51 -04:00
Alex Herbert ec7eb8b32d User guide typo corrections 2022-10-13 21:32:00 +01:00
aherbert aedec76b0b sonarfix: remove useless parentheses 2022-10-13 17:49:10 +01:00
aherbert 17ca771e10 sonarfix: remove unnecessary boolean 2022-10-13 17:49:10 +01:00
aherbert b9209b212a sonarfix: Avoid c-style array declarations 2022-10-13 17:49:10 +01:00
aherbert 5f3af10635 sonarfix: Do not use changes as a loop counter 2022-10-13 17:49:10 +01:00
aherbert f916fba364 Rename local variable to avoid hiding class field 2022-10-13 17:49:10 +01:00
aherbert 1df6c402c1 Remove unecessary cast to double 2022-10-13 17:49:10 +01:00
aherbert 6ea87d0adc sonarfix: Remove transient keyword from non-Serializable class 2022-10-13 17:49:10 +01:00
aherbert 6969438fda Remove use of modulus to detect odd/even
Use the lowest bit to detect the sign.
2022-10-13 16:49:11 +01:00
aherbert 9f01e23622 Remove unused rerunFailingTestsCount from non-random exception tests 2022-10-13 16:36:11 +01:00
aherbert b0d0973fd9 Move legacy flaky tests into a separate execution
This can increase the rerunFailingTestsCount to improve robustness of
the test suite.
2022-10-13 16:36:11 +01:00
aherbert 285838bb6c Increase test point tolerance
This test is flaky and requires more than 3 repeats to pass at the
previous tolerance level.
2022-10-13 16:36:11 +01:00
aherbert 9545777694 Update test to move towards the previously found optimum 2022-10-13 16:36:11 +01:00
aherbert 4e2457cb36 Better initial guess for the circle centre 2022-10-13 16:36:11 +01:00
aherbert a80eefc21a Update the CircleProblem to use the latest commons RNG objects 2022-10-13 16:36:11 +01:00
aherbert 45e48f9d97 Update sampling test
Use faster and more robust RNG. Add better error tolerance.
2022-10-13 14:48:32 +01:00
aherbert fed7dd881b Make constructor private and class final
Suppress warnings on unchecked cast and documented expected usage of the
object array.
2022-10-13 14:19:15 +01:00
aherbert 83d9e3ab39 Remove use of Double constructor 2022-10-13 14:05:39 +01:00
aherbert b69aec0dff Remove use of deprecated class 2022-10-13 13:59:27 +01:00
aherbert b72c0945a6 Use mvn for README contributing build goal 2022-10-13 13:38:50 +01:00
aherbert 2c76d18910 Disable Travis (superseded by GH actions)
Update build status badge
2022-10-13 13:37:18 +01:00
aherbert 02ca77c649 Update coverage badge 2022-10-13 13:26:38 +01:00
aherbert 1d50e68f6d Add my name to the developers 2022-10-13 13:23:04 +01:00
aherbert e1dd863d24 Drop exec-maven-plugin management 2022-10-13 13:19:59 +01:00
aherbert c20a450060 Remove redundant properties and dependency management 2022-10-13 13:19:59 +01:00
aherbert 86c703f3af Update changes report configuration to allow component reports
Remove configuration that is a duplicate of commons-parent.
2022-10-13 13:08:39 +01:00
aherbert b7988729bd Drop surefire 3.0.0-M5 for 3.0.0-M7 in commons parent 2022-10-13 13:01:07 +01:00
aherbert 7b18e4f676 Reorder properties to match commons RNG parent.
Update commons.module.name to commons.automatic.module.name
2022-10-13 12:59:51 +01:00
aherbert cff0c9b4b4 Remove javadoc links added by commons parent 2022-10-13 12:48:27 +01:00
aherbert 23ef546eff Update PMD version to commons parent
plugin 3.14.0 -> 3.19.0
pmd-impl 6.37.0 -> 6.49.0
2022-10-13 12:47:08 +01:00
aherbert 2ceab60e7a Update spotbugs 4.3.0 to CP 4.7.2.0 2022-10-13 12:44:37 +01:00
aherbert f142596f1a Fix checkstyle for UnnecessaryParentheses 2022-10-13 12:41:54 +01:00
aherbert 070517388d Drop checkstyle 3.1.0 for 3.2.0 in commons parent
Update checkstyle dependency 8.29 for 9.3 in commons parent

Remove checkstyle excludes for generated code.
2022-10-13 11:48:31 +01:00
aherbert 10f519d8c2 Drop antrun 1.8 for 3.1.0 in commons parent 2022-10-13 11:44:44 +01:00
aherbert 8d4381b75a Drop junit 5.7.2 for 5.9.0 in commons parent 2022-10-13 11:44:05 +01:00
aherbert e59397ba10 Update to CP 54
Disable CycloneDX as config is incorrect for multi-module builds.

Override ciManagement section from the parent.

Set commons.release.isDistModule to false in the parent.

Add rat exclusion for .gitattributes.
2022-10-13 11:43:46 +01:00
aherbert 5a8234a2fe Remove trailing whitespace 2022-10-13 11:38:37 +01:00
aherbert a8d392580d Use diamond operator 2022-10-13 11:36:34 +01:00
aherbert 93e3ee4b78 Formatting. Remove empty lines before closing curly bracket. 2022-10-13 11:04:55 +01:00
aherbert bc9e8bd272 Update fixed seed test
Use random seed and allow test reruns to pass the sampler.
2022-10-13 11:00:09 +01:00
aherbert 8dfca662fc Update git ignore to recursively ignore build files 2022-10-13 10:38:52 +01:00
aherbert 49d542fc03 Update to commons RNG 1.5
Use BOM for dependency management
2022-10-13 10:36:08 +01:00
Alex Herbert 85c6427a1b Add code of conduct 2022-10-11 22:27:53 +01:00