Commit Graph
1713 Commits
Author SHA1 Message Date
Axel Uhl 9611c57463 fixed TimeRangeTest.union which erroneously relied on specifics of BeginningOfTime and EndOfTime 2016-03-27 03:32:05 +02:00
Axel Uhl 3dc2c764e7 Merge branch 'master' into bug2840
Conflicts:
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/TrackTest.java

Change-Id: I63935035d48e7ccb44ae25839363b9845375eead
2016-03-24 16:31:17 +01:00
Axel Uhl 057d236e42 setting sleep time to 1000ms for MaxSpeedCache concurrency test
Change-Id: Ic354d5d3554a7f4a1304d0898cd66b23bba8ebb8
2016-03-24 16:30:32 +01:00
Axel Uhl 96dabbeb5a removed mock mark position service; consolidated imports in MarksPanel.java
Change-Id: I7d67830896aa6ad6a59b0db080e493badea8935e
2016-03-24 15:38:30 +01:00
Axel Uhl 13ae468c42 added missig import of Ignore annotation 2016-03-22 08:29:52 +01:00
Axel Uhl 7e16f5c873 ignoring currently not working white-box mark passing test; it needs refinement 2016-03-22 07:19:41 +01:00
Axel Uhl 223bbc6e1e irestricted access to method required by test to protected and subclasses in test case
Change-Id: I51267c918712a71ff64334bfbacfa9cfd0bfc7c1
2016-03-21 18:21:02 +01:00
Axel Uhl 50426f0aee uncommented timeout rule again; some formatting/whitespace changes
Change-Id: Iedafb8307e80d73d300eaca82b7d4bbfd546ad98
2016-03-21 10:21:00 +01:00
Axel Uhl 797d993435 changed encoding of second occurrence of Jürgen Seefelder's name in Star IDM test case
Change-Id: If01b3faaf26932df82830fc90cfa57621a27d509
2016-03-21 10:08:33 +01:00
Axel Uhl 525f37036f encode test case Java file as UTF-8 to ensure Jürgen is encoded correctly
Change-Id: I86da1b8d02bbe447c8e4d63c5f30d929aab594b7
2016-03-21 10:02:33 +01:00
Axel Uhl dae3bfdd68 the Star IDM 2013 Race 5 test suffers from entirely incorrect TracTrac mark passing data; doing manually-crafted tests now;
I re-generated the MTB file. However, now the TracTrac mark passings are completely off and missing for anything beyond
the first windward mark passing. I've changed the tests so that a couple of interesting situations are verified explicitly.
This has successfully produced a failure for Seefelder's late start. The new start recognition logic doesn't apply here
because a start time is set explicitly in the TracTrac race. The mark passing mainly suffers from a "digital" judgement
of the competitor passing outside the line. Awaiting Nick's more tolerant implementation.

Change-Id: Ifd7423434c2a0d3ba21522ae4409fbeb97b94b80
2016-03-20 14:23:31 +01:00
Axel Uhl bec5a0757d use 50% instead of only 20% of the next adjacent leg for test fixes for mark passing tests;
solves testRace5 505 KW 2013 case which suffered from TracTrac's too early mark passings

Change-Id: I5f833a4299fc2ca7fea909c7fc2c6025aeebc10f
2016-03-20 01:11:07 +01:00
Axel Uhl 9f6a38ec7a use two probabilities for start mark passings: one based on start line proximity, one based on variance of distance from start line
Change-Id: I2d25867c2b78c242e5dc007b255300d54175725e
2016-03-19 22:44:56 +01:00
Axel Uhl fffecac56e set GateStart as start procedure type for the Kieler Woche 505 mark passing test
Change-Id: I148313987e39822e263e79afaeaf42790b672218
2016-03-17 21:40:42 +01:00
Axel Uhl 3c856f0cc7 trying a logarithmic measure to weigh outliers less than closeby candidates
Change-Id: I1b0ed6f11f44726c3353641c839090dd0f16df1c
2016-03-16 15:14:23 +01:00
Axel Uhl 12f9177e50 started to implement a start mark passing candidate evaluation based on the other competitors' distance to the start line at that time point
Change-Id: Ie7eba729648041c26cce9378a3b5fc3a11f8d2dd
2016-03-14 18:30:30 +01:00
Axel Uhl dc08833b46 don't apply penalty for wrong side if side is undefined; introduced PassingInstruction.Single_Unknown for this purpose
Change-Id: I0502b41df0ce409621c7da9c7d8dca0036e56cdd
2016-03-14 16:39:24 +01:00
Axel Uhl 1b1af32ebc whitespace change only
Change-Id: I1a3c675bcbdef9612130ffe3098474f986a66007
2016-03-10 00:20:44 +01:00
Axel Uhl d0b1464c34 whitespace change only
Change-Id: If51614c13fc7df00612ac4f88c495007d183361b
2016-03-10 00:20:30 +01:00
Axel Uhl f6c8a32950 whitespace change only
Change-Id: I6acdd7f9ce6873b9c55b675d59308f5ed5519567
2016-03-08 21:41:23 +01:00
Axel Uhl fac50e3f10 uncommented the test timeout again
Change-Id: I3d5c5749133710fc58ff89a828b5e2d469476486
2016-03-08 01:31:10 +01:00
Axel Uhl 1c56590b9b TrackedRace: distinguishing between start time determined with or without inference from start mark passings;
this allows us to use only start times *without* start mark passing inference in the mark passing calculator
which otherwise would lead to a conceptual recursion where mark passings may be excluded because other mark
passings have previously been inferred at a later point, suggesting a later start, ruling out earlier start
mark passings.

Change-Id: I9b5a530e388bfbc3e0fb91845ec892f288d403bd
2016-03-08 01:28:42 +01:00
Axel Uhl 2a9f363f13 enhanced test failure logging
Change-Id: I3c09bc07eb6950b4a41f471511b9a64709ee9b21
2016-03-08 00:51:04 +01:00
Axel Uhl bc9f3fcc9f the CandidateFinderImpl.penaltyForSkipping needed to acknowledge that Edge.getPenaltyForSkipping() now is probability-based
Change-Id: I1f969fc6a0cbc8581cfa9a7268fe6a8f4a3e26b6
2016-03-08 00:20:30 +01:00
Axel Uhl e8e6f427fb properly initializing CandidateChooserImpl's currentMarkPasses map now lets the tests fail for proper reasons
Change-Id: I90e6eacfef0cf30cf050004eaa04619c3b6d0128
2016-03-07 22:45:42 +01:00
Axel Uhl 310b965af6 removed redundant check in if clause
Change-Id: I34841d55eeed3f368c51befa08bef522df1ad2e4
2016-03-07 18:13:28 +01:00
Axel Uhl 1335946fc8 used final declarations in mark passing calculator where possible
Change-Id: I51d424f19015d49ed7b219a64e52f1bc11bfa69f
2016-03-07 17:55:32 +01:00
Axel Uhl 03141e969f enhanced test verdict output for AbstractMarkPassingTest
Change-Id: I8838d9094ced67079c741484681011646d88b336
2016-03-07 17:54:09 +01:00
Nick 713c35dd3a Changed JavaDocs. 2016-03-07 15:52:17 +01:00
Nick 48170780a1 Switched mark passing algorithm to use probabilities instead of costs. 2016-03-07 11:04:12 +01:00
Axel Uhl eac2569c84 Merge branch 'master' into bug3441 2016-02-29 10:02:03 +01:00
Axel Uhl fb73c1536c fixed testInvalidateByNewMarkPositionWithMultipleMarkPositionsInCache by adjusting the verdict to non-interpolating mark track
Change-Id: I6191600cbe2af1aacbfdf2c6143bd7239c2de5d0
2016-02-27 11:03:49 +01:00
Axel Uhl 95516655a4 bug3421: fixing access to GPSFixTrack.add method in tests
Change-Id: I621e200bce294f34bc23b1215675baf37467d8df
2016-02-27 10:55:59 +01:00
Axel Uhl 0da5d023b1 fixed type for non-interpolation test: have to use DynamicGPSFixTrackImpl to have an accessible add method
Change-Id: Ic426c9921f29a95081a07902154d4ca8f2a4e305
2016-02-27 00:53:59 +01:00
Axel Uhl c2b686293c fixed another test that was assuming linear interpolation between fixes for a distance cache test; using DynamicGPSFixMovingTrackImpl now
Change-Id: I626b04360266d200f0339e681654a388607a5118
2016-02-26 21:52:29 +01:00
Axel Uhl 15835f7b50 fixed test after interpolation for mark tracks was turned off
Change-Id: Icb01cb325dc4c41307c285bb20ac2e49b8d25ce6
2016-02-26 18:33:51 +01:00
Axel Uhl 7daca7e7e8 completing bug 3421 by splitting out the interpolation routine into a method, overriding in DynamicGPSFixMovingTrackImpl;
The default implementation of "interpolation" in GPSFixTrackImpl now simply uses the earlier of the two fixes. The redefinition
in DynamicGPSFixMovingTrackImpl uses the linear interpolation that was previously part of GPSFixTrackImpl.

Change-Id: I145af0ebf1d3ddd1b27e963932c16026797a0b19
2016-02-26 18:17:57 +01:00
Axel Uhl 8281af0bba wrote a series of test cases for GPSFixTrackImpl.getEstimatedPosition for the existing behavior;
as one speciality, the test already demands symmetric extrapolation into the future and the past which fails due
to the current asymmetric implementation.
The next step will be to make the interpolation configuration for subclasses and add tests for a variant that
does no longer interpolate

Change-Id: I07a4abc816d02e9a9f24f6f268fb3a147e4a1fb7
2016-02-26 17:45:11 +01:00
Steffen Schaefer 57134c57f7 Added serialization test for CopyOnWriteHashMap 2016-02-25 08:57:16 +01:00
Axel Uhl b5e39cabb4 removed old mark passing test stuff that Martin Hanysz once started with; it got obsoleted by Nick's work
Change-Id: I8f679a1c39ab1986a6b6e41dc6a65a7bdb5bb912
2016-02-15 23:09:05 +01:00
Axel Uhl a87cbdc8f0 fixing TracTrac test cases; no more port 1520/1521, and using new method to construct paramURL if nothing else is known (no more clientparams.php)
Change-Id: I453c6247d0b142215bd4039885e9898a0da8bfbb
2016-02-15 23:04:28 +01:00
Axel Uhl e3f8f87c7d fixed ParseTracTracJSONServiceOutputTest.testWeymouthURIsOnline by being more tolerant with HIDDEN races
Change-Id: Ie82b496cc56a87767f4f047e0e0af9631b64a731
2016-02-15 21:49:56 +01:00
Axel Uhl 1bc29a9ec0 bug 3452: introducing an applyFilter parameter on DynamicTrackedRace.recordWind, forcing RaceLog-provided wind fixes into the race
Change-Id: Ie96ac8537650adb46285ebcc18a91dc70a6f7582
2016-02-02 21:14:43 +01:00
Axel Uhl dccac572f8 don't add regatta log-provided competitors if no race exists; only collect competitors from race columns
Change-Id: Icd2843aba1d374cb3ac55b3575ec22e734ab9ec0
2016-01-30 21:11:44 +01:00
Axel Uhl d50e1a73fd added logic and test case for bug 3448: invalidate competitor cache and compute competitors from reagtta log if no race columns exist yet
Change-Id: Ica3d9fe0e032cce30389a55f2d1d4ad0fc7cd9bf
2016-01-30 17:19:41 +01:00
Axel Uhl c6ca28750d removed method from DynamicTrackedRace contract that was only used by Impl class
Change-Id: I29b462c77de1b13932c31a39e43449b82d651d5c
2016-01-22 16:24:47 +01:00
Axel Uhl a522f7450e added more tests for mark passing updates from race logs
Change-Id: I5f1631678bef2ecf7b5a1e8dbc059705e562e9d9
2016-01-22 16:20:46 +01:00
Axel Uhl f57aed7de6 Merge branch 'master' into bug3420
Conflicts:
	java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/FieldNames.java
	java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/MongoObjectFactoryImpl.java

Change-Id: I7347ab0c849aa43f08eebca569c884b6986bf6d0
2016-01-22 15:39:16 +01:00
Axel Uhl 35af1394c6 Got the first tests for mark passing update from race log changes running
Change-Id: I857191e67ae8e408670832d02f1e1caab42d10a9
2016-01-22 15:15:03 +01:00
Axel Uhl 76f1b88bcd added a test case for the fix provided by 06fd44ffcda12a5d4ce1e0334228db364acde005;
this was about invalidation of the competitor cache when a race log changes its mind regarding whether it is
responsible for providing the race's competitors or not

Change-Id: Ibb2b057005d2b1b8f056ac8263faa541c0701e41
2016-01-14 11:29:25 +01:00