Commit Graph
4622 Commits
Author SHA1 Message Date
Axel Uhl 40e35db29a fixed assertion performance in MPC
Change-Id: Id11ea5e508d79c511cca51d2273ba4254a40d5d9
2019-05-17 15:01:43 +02:00
Axel Uhl 806a687bda Merge remote-tracking branch 'server/master'
Change-Id: Iaa43ea30414cc931b8dd557e239a27c80b67e6c3
2019-05-16 17:32:48 +02:00
Axel Uhl 149349aacf extrapolate to make sure we get a position for a Candidate, even if there are no real fixes;
may help avoid a NullPointerException for calls on bounds

Change-Id: Idfb92d61bba942860309ccb35c9fbac53163fd2f
2019-05-16 16:28:01 +02:00
Steffen Schaefer 05d392177a Merge branch 'bug5015' 2019-05-16 14:56:51 +02:00
Axel Uhl 0c59c3f5ea bug5036: adding null check and fixing sequence extension/creation in case of replacement fixes
Change-Id: I1c0bba322ef0462da01b61baf8417d296b01bdf9
2019-05-15 00:10:35 +02:00
Axel Uhl 3fa294e503 fixing bug 5022, comment #6 by properly handling ConcurrentModificationException in CandidateFinderImpl.checkForXTECandidatesChanges
Change-Id: Idaab1d787eeb024655c601913f60f37f669bec3b
2019-05-15 00:08:21 +02:00
Axel Uhl 290604413d comment and variable name clean-up
Change-Id: I2e0a8f0eacacf135431bd9b53e6f5555ae017aaf
2019-05-14 17:57:52 +02:00
Axel Uhl 18c873ad2f fixed LeaderboardScoringAndRankingTestBase TrackedRace mock regarding time sailed mocking
Change-Id: Ia66b82ba54544d958bfbc9fc58583a66d302c0ef
2019-05-14 14:14:39 +02:00
Axel Uhl 9786aae8e2 removed fixed FIXME
Change-Id: I74444dff89954e942d124af0ca25db51c73b32a1
2019-05-14 12:36:02 +02:00
Axel Uhl c866582261 fix for failing test case
Change-Id: I0f431d40ec490b21de1606504778f3ae3bf29ba3
2019-05-14 12:32:49 +02:00
Axel Uhl 0f1a6b4ba8 added first test cases for StationarySequence
Change-Id: I275e452a617ceaf1f5a05becc6b5574713d0635e
2019-05-14 10:06:15 +02:00
Axel Uhl 4e5da320ab for ToT/ToD also accept only finishing times
Change-Id: I10cb12e0164bc1664b74084808fdc1b386f9c574
2019-05-13 22:29:18 +02:00
Axel Uhl bd85bd6be1 consolidated code computing time sailed; don't require GPS data anymore for race column expandability
Change-Id: If17947316c7fe8b8e277dac1d80a80e5db9374ff
2019-05-13 21:42:06 +02:00
Axel Uhl 4d20e07cf8 time sailed is now a separate field in the LeaderboardRowDTO; race logs attach/detach effects are now correctly evaluated after attach/detach completes
Change-Id: Idaa12e13ebb6d500d3bdddd17385a2516d5cc1c9
2019-05-13 17:27:53 +02:00
Axel Uhl 1116582386 another assertion is now being logged at least when violated
Change-Id: I49a0a93af262c8d5ed38d9308456fdc933ec312e
2019-05-13 11:29:18 +02:00
Axel Uhl 687ab1d2c6 Merge branch 'master' into jibe-angle-fix
Change-Id: Iea116652d277ccdcb04b72635718afad701b1802
2019-05-13 09:46:56 +02:00
Axel Uhl 6f5497ebb8 Vlad's fix for maneuver angle calculation which didn't match the difference between course in and out
Change-Id: I73fcac18683ffefaff5b6f465011d47ffdec48a9
2019-05-13 09:41:52 +02:00
Axel Uhl 1593ad300c bug5022: instead of expecting the ConcurrentModificationException during hasNext() it is now expected during next() 2019-05-12 22:48:33 +02:00
Axel Uhl ebae7b106e compute assertions in MPC in all cases to provoke logging, but assert only with "assert" statement (-ea) 2019-05-11 22:19:05 +02:00
Axel Uhl e82d092b25 improved assertions in MPC; don't try to delete candidate from adjacent previous sequence;
the new invariant for the StationarySequenceBasedFilter states that no candidate can
be in more than one StationarySequence. Therefore, if it's found in one, no look
to the "left" adjacent sequence is required anymore.

Unfortunately, this still doesn't really explain what has happened at the SCL
as explained in bug 5026, comments 12 and following...
2019-05-11 21:50:13 +02:00
Steffen Jacobs 3fb0dfa6e2 Bug5015: adding ownership when creating a boat from TracTrac 2019-05-08 18:24:03 +02:00
Steffen Jacobs 49445ac1e0 adding ownership when creating a competitor with boat from TracTrac 2019-05-08 18:16:43 +02:00
Steffen Jacobs 00ac62b8b3 Bug5015: adding ownership when creating a competitor from TracTrac +
remove basic hack from commit 533f6872d2
2019-05-08 16:19:36 +02:00
Axel Uhl 9ea2ed371a added exception logging for all ExecutorService.invokeAll calls
Change-Id: I86e24978feb6d47bd9d4856d7b5b2e76a6bf7792
2019-05-08 15:32:20 +02:00
Axel Uhl ca9d18d41a made methods required by test public in MostProbableCandidatesInSmallTimeRangeFilter
Change-Id: Ife36488bb69c391816bfe156b95076a37fe660dd
2019-05-08 13:43:13 +02:00
Axel Uhl e1f2a1c10e bug5026: StationarySequence objects no longer overlap or share candidates
Change-Id: Idaa2cfe6d6e5917a7dc01c9a9b7be62fcd325fe8
2019-05-08 11:07:25 +02:00
Axel Uhl 7075cea8c8 bug5026: avoiding assertion errors, but still not correctly handling course changes
Change-Id: I1a5d81ebbd5de68ff81d5d98c3cb6992023deecd
2019-05-07 16:53:34 +02:00
Axel Uhl 8314e2cd1e replaced further HashSet usages by TreeSet(candidateComparator) in filters
Change-Id: I22d717724f09fe4e103104fb35548e8bad930666
2019-05-07 13:06:41 +02:00
Axel Uhl 28cfe47a23 bug5026: fixed candidate comparison; fixed contiguous sequence construction
Change-Id: Idb341cbb7fff26b24baae5adcad4c73a03c376f7
2019-05-07 13:00:12 +02:00
Axel Uhl c91b297429 added more assertions
Change-Id: I9739e58db6b1dc196f90d59814ab623a5ea860ef
2019-05-06 22:21:20 +02:00
Axel Uhl 25900a0501 replaced another <= 1 comparison in StationarySequenceBasedFilter with ==
Change-Id: I020affcace731f549a2c04e7b53484e224a79f2f
2019-05-06 20:19:15 +02:00
Axel Uhl cd611e808c don't try to remove an already removed empty StationarySequence
Change-Id: I6c095243eace382d049806ef915688f9d4fe2814
2019-05-06 18:42:00 +02:00
Axel Uhl 3b3ee84edd log exceptions occurring during CandidateChooser.calculateMarkPassDeltas
Change-Id: Ieca309ed1f539e50ab94a9dff5fac63997fcb4ee
2019-05-06 18:16:44 +02:00
Axel Uhl 77c8925c5c bug5021: determine XTE for waypoints added
Change-Id: I8d706e665dbfa23bbd8e62e8dbd5a06956c6db07
2019-05-04 11:42:37 +02:00
Axel Uhl 54b418c56c added null check for dealing with course change and inconsistent XTE cache
Change-Id: I5d13d549d0e29c6b97e0aed2ed2b99583d116239
2019-05-04 11:34:11 +02:00
Axel Uhl 772ec406d8 Merge branch 'master' into permission-vertical 2019-04-22 23:05:07 +02:00
Axel Uhl c83047c2a7 bug5004: changed TrackedLegOfCompetitor.getWindwardDistanceToGo so it can turn negative;
with this, more consistency is achieved between ranking and windward distance to go
column in the leaderboard
2019-04-21 22:30:16 +02:00
Axel Uhl e70880d9ad bug 5004: rank by windward distance from leg start instead of windward distance to go;
this intends to create more stability for situations where a line at the end of a leg
has a significant bias which so far has led to the windward distance to go getting
minimized while the competitor's projection is between the two marks of the biased line
2019-04-21 20:55:02 +02:00
Axel Uhl ad59530a5a Merge branch 'master' into permission-vertical
Change-Id: I7d74867bf0fb06f44395feb307dde0e410bc3405
2019-04-18 19:02:58 +02:00
Axel Uhl e6255d2728 avoid NullPointerException in case a leaderboard entry couldn't be computed due to an exception
Change-Id: I8edefbff842cdfd8d6956e0e41cbb5ad369d3af0
2019-04-18 18:59:58 +02:00
Steffen Schaefer 70a9de04b5 Replaced several functional interfaces in com.sap.sse.common.Util with
their Java 8 counterpart
2019-04-11 12:57:36 +02:00
Axel Uhl 6f5a8f1472 bug 4982: check for new maneuvers only if new fix really was added to the competitor's track
Change-Id: I563db58f5abb9a0892e656fdb080b661d1e3ecf1
2019-04-10 23:11:26 +02:00
Axel Uhl cc1c8a4e67 fixed RegattaImpl.getAllBoats so that it always considers boats registered only through RegattaLog
Change-Id: Idef334d17be28f22c6108bfeae8c510ecec95cd8
2019-04-08 13:09:34 +02:00
Axel Uhl 8734e9a2eb fixed RegattaImpl.getAllBoats so that it always considers boats registered only through RegattaLog
Change-Id: Idef334d17be28f22c6108bfeae8c510ecec95cd8
2019-04-08 12:57:03 +02:00
Axel Uhl 448a8bcb51 Merge branch 'master' into permission-vertical 2019-04-06 01:15:10 +02:00
Axel Uhl 7081dd995d bug 4973: removing and potentially re-adding StationarySequence from containing NavigableSet if first element changes
Change-Id: I2e42ba82359eeabca56eedfc150323676956f188
2019-04-05 22:28:18 +02:00
Steffen Schaefer 781b2fd19f Moved isPartOfEvent to Leaderboard to be able to reuse this in the
sailing server
2019-04-03 18:49:33 +02:00
Axel Uhl 4b5017aca9 rudimentary adjustment of qrCodeTitle translations after parameter removal
Merge branch 'master' into permission-vertical

Change-Id: I317a22f5f66f56cd7f84da51a00bc7f32cd9c7e6
2019-04-03 12:40:28 +02:00
Axel Uhl 9692e957e0 bug 4968: avoid NPE in StationarySequenceFilter for replacement fixes
Change-Id: I425170824a1f83eea802c041d43d2e6442eddc91
2019-04-03 10:43:10 +02:00
Steffen Schaefer edd0144187 Bug 4796: Allow WindTrackerFactory.createWindTracker to access
SecurityService
2019-03-28 13:17:20 +01:00