Commit Graph
5639 Commits
Author SHA1 Message Date
Axel Uhl 68bccb8ee0 fixed order of RawPositionReceiver constructor initialization;
avoiding NPE when listener is fired before lock has been initialized
2023-08-12 15:16:15 +02:00
Axel Uhl 24a6b159ee Merge branch 'master' into bug5867 2023-08-02 14:30:09 +02:00
Axel Uhl a9bf601352 fixed typo in comment 2023-08-01 13:33:51 +02:00
Axel Uhl f609e9de0c Merge branch 'master' into bug5867 2023-07-31 17:27:35 +02:00
Axel Uhl 7a03fba3cf bug5879: removed synchronization for access to dataTrackers ConcurrentMap 2023-07-31 17:20:39 +02:00
Axel Uhl 365415b635 bug5867: removed course areas from LeaderboardBase again; Event still has getLeaderboards() 2023-07-28 16:40:15 +02:00
Axel Uhl 89fb5f184c bug5867: interims commit making course area part of LeaderboardBase[Impl] 2023-07-28 16:37:17 +02:00
Axel Uhl 29150dccf9 bug5876: support TrackedRace.getCourseAreaId() based on race logs attached 2023-07-26 23:21:22 +02:00
Axel Uhl a9706389b1 avoiding deadlock in mark passing calculator;
This is an aftermath to the loading of mark passings from the DB. If
mark passings with the correct fingerprint were found, the queue of
updates for the mark passing calculator is cleared using queue.clear().
This, however, may happen between the two synchronized blocks in the
Listen.run() method, after the queue was checked for isEmpty() and
before the queue.take() call is issued. In this case, queue.take()
will wait forever.

To fix this, the stop() method is called which will always insert an
endMarker into the queue so that the queue.take() method will at least
find that.
2023-07-26 14:50:49 +02:00
Axel Uhl ccf3ed52a1 bug5873: release notes 2023-07-25 16:49:23 +02:00
Axel Uhl c4690fe525 bug5873: made SCA, SCP, STP, DPI, and DPI apply at race start and calculate score, also incrementally, during race 2023-07-25 16:33:20 +02:00
Axel Uhl 1325f60a0b bug5873: persistence, UI, and replication for incremental score offsets;
no evaluation yet when calculating scores; that's the next step
2023-07-25 14:33:28 +02:00
Axel Uhl 742fe426eb fixed typo (ingored-->ignored) 2023-07-24 17:00:26 +02:00
Axel Uhl d921d8e133 improve guessing number of competitors in race in case of split fleets 2023-07-24 17:00:06 +02:00
Axel Uhl b4eb9aae70 bug5877: parameter rename 2023-07-22 13:22:14 +02:00
Axel Uhl bb93e5a956 bug5877: successful implementation with extended compareByScoreSum 2023-07-22 13:20:25 +02:00
Axel Uhl 6ccf1670b1 bug5877: improved but still incorrect tie-breaking for medal series 2023-07-21 18:29:21 +02:00
Axel Uhl 8f3e8e2bed bug5877: a first implementation for tie-breaking for medals, but tests still fail 2023-07-21 18:14:06 +02:00
Axel Uhl 076c89cd3f bug5877: failing test case for tie break based on previous series 2023-07-21 17:07:05 +02:00
Axel Uhl a0b1b82a1b bug5877: first successful test case for ranking advanced and sailing competitors in medal stage 2023-07-21 16:34:48 +02:00
Axel Uhl b616d76ccb bug5877: interims commit, using distinct medal *series* for quarter/semi/grand final 2023-07-21 15:28:15 +02:00
Axel Uhl c44676ef82 bug5877: added scoring scheme type, text and description 2023-07-20 18:40:18 +02:00
Axel Uhl 261d506935 bug5877: started with refactorings and comments; started new scoring scheme 2023-07-20 18:32:46 +02:00
Axel Uhl 5f510cc969 refactoring, removing trivial methods;
makes delegation to scoring scheme clearer
2023-07-20 11:28:54 +02:00
Axel Uhl 592f0d00d4 avoid endless recursion with SCA/RDG for same competitor; added test 2023-07-19 22:22:54 +02:00
Axel Uhl f83f0717ca added "SCA" as MaxPointsReason / IRM code, supported by LowPointWithAutomaticRDG 2023-07-19 11:30:37 +02:00
Axel Uhl 63bbfb1a9f aftermath to 6ef57221e3: avoiding NPE when waiting for listener thread 2023-07-14 22:17:51 +02:00
Axel Uhl 6ef57221e3 fixed clearing of MarkPassingCalculator listenerThread after seeing end marker under synchronization 2023-07-14 10:32:16 +02:00
Axel Uhl 980fbc2fbf reducing typical GPS/GNSS HDOP from 5 to 2 meters, positively affecting mark passing selection 2023-07-12 18:25:24 +02:00
Axel Uhl 393cf34960 fixed live delay calculation for leaderboard: use only latest race with a start time 2023-07-11 17:07:57 +02:00
Axel Uhl 826655e8dc handle NPE more gracefully when for "kite" format competitor has carry score but does not belong to any fleet 2023-06-04 14:44:15 +02:00
Axel Uhl 5df8a77bf2 use finishing order to break tie for "isWin" in ...FirstToWinThree... 2023-05-16 12:19:48 +02:00
Axel Uhl 03afd6d595 changed ranking by wins for ...FirstToWinThreeRaces... to use lowest score, not 1.0 2023-05-15 17:30:32 +02:00
Axel Uhl c0bef19821 removed obsolete and unused constructor 2023-05-15 17:28:24 +02:00
Axel Uhl c23dd17178 bug4722: implemented incremental 1.0/1.1 addition for STP during a race 2023-05-15 15:16:49 +02:00
Axel Uhl 2859655163 allow for selecting MongoDB endpoint for archiving DB of archive set removed;
added documentation, also for the new role-specific endpoints
2023-05-12 14:14:22 +02:00
Axel Uhl faa5d97012 implemented scoring scheme for Formula Kite format but A8.2 tie-break only 2023-04-20 16:06:17 +02:00
Axel Uhl 4d00a98d6b Implemented a scoring scheme for A8.2-only tie-breaking (no A8.1) 2023-04-20 15:13:21 +02:00
Axel Uhl e25b7724bb bug5715: fixed one of the tests which now passes 2023-04-07 11:05:19 +02:00
Axel Uhl acd12f8c78 bug5715: a few tests are green already, but a few still break 2023-04-06 17:47:34 +02:00
Axel Uhl 660b6eabf6 bug5715: fixed a few first issues that the tests revealed 2023-04-06 16:06:39 +02:00
Axel Uhl f16e1c6fd6 bug5715: first compilable version for Formula Kite medal series ranking/tie-breaking;
there are still many test failures, but it's a start...
2023-04-06 14:07:07 +02:00
Axel Uhl 3e16559a8b bug5715: uncompilable interims commit for backup purposes 2023-04-05 23:14:52 +02:00
Axel Uhl de2931d2c1 bug5715: fixed bug in compareByLastRace in AbstractScoringSchemeImpl 2023-04-05 22:21:35 +02:00
Axel Uhl 5f04c9c022 fixed Javadoc @link 2023-03-27 13:58:24 +02:00
Axel Uhl da3d409f15 added VMG to the data mining stats for GPS fixes 2023-03-01 13:53:07 +01:00
Axel Uhl 134a13b92b bug5824: trying to fix test which now has to wait for the update task to complete 2023-02-24 18:07:40 +01:00
Axel Uhl 70a35d9020 bug5803: obtaining the course read lock before synchronizing in MarkPassingCalculator.resume() 2023-01-31 10:53:15 +01:00
Axel Uhl bb2eb31f3e bug5784: more performance work, e.g., implicit concatenation of race columns across series;
furthermore, caching of TrackedRace by competitor in AbstractRaceColumn
2023-01-17 14:44:24 +01:00
Axel Uhl 83517c6784 bug5784: introduced caching of first/last waypoint on CourseImpl 2023-01-16 18:34:29 +01:00