Closed BecOzIcan closed 4 years ago
Travis Error is Valid : No valid Route from Parkpos (3) to Node on Runway (254) : was going against uni directional segment
Bug Name Changed
The check might be a wee bit funny. Since the node is now an End in one direction it is marked as an illegitimate end.
Sorry, I don't understand what you are trying to say. The way I understand this test(s) :
LEGITIMATE Test :
note: the Turf test (on runway) needs to run before the illegitimate test so (1) has valid entry conditions
NO ROUTE FOUND Test I guess you only test pairs of Route end points from the above two definitions?
PARKPOS TEST (from the image) The existing parkpos test should run before the route tests, right ? Maybe it's only a case of test cases hierarchy. Individual elements validity should be tested before route ones and if individual elements tests fail, testing is interrupted (routes not tested)
To make your test easier (all lower level elements valid), use VVNB and mark the single segment in red unidirectional RIGHT to LEFT
NO ROUTE FOUND Test I guess you only test pairs of Route end points from the above two definitions?
Correct Parking -> Runway and Runway -> Parking
PARKPOS TEST (from the image) The existing parkpos test should run before the route tests, right ? Maybe it's only a case of test cases hierarchy. Individual elements validity should be tested before route ones and if individual elements tests fail, testing is interrupted (routes not tested)
Ok I think I got it
For the case of screenshot, you cannot decide 3 is illegitimate during your node or parkpos test phase because 3's 'illegitimacy' exist only in the context of routing ie trying to get out of the parkpos.
That calls for differentiating / hierarchizing test between structural and contextual.
Structural (illegitimate) Nodes : Broken Routes ie Unconnected Node unless On Runway or Pushback Holding Point ParkPos: Inaccessible Parking ie segments in/out of park pos not bidirectional (not threshold or route dependent) Pushback: the usual
Routing is contextual: Parking -> Runway and Runway -> Parking
Before I forget : you cannot identify 3 as the problem when checking the route because you could have other blockages further away in the same route which would also interrupt your test. MVP expectation is only to signal the route is invalid. User has to check all segments to find the problem(s) with it. Does this help ?
While trying to sleep I also decided to split between a structural and routing graph. That was 3 passes the structural test and the routing test.
Damn You're up early!. Good Morning! The part I still don't get is my initial issues was only that Travis had it right and FGA didn't so I thought it was just a matter of re aligning them.
;-) yes just a matter of realignment. Maybe I'll extract the FG Airports check into groundweb. That way no pull request would ever be opened without a minimum quality.
We still use Groundweb/Azure to upload our historical TD files. These have much less checks in place so likely they will all end up rejected systematically. We should keep this "backdoor" open. Only impact is on me on the merging side and I am ok with it.
For as long as FGA and Travis checks align, all FGA uploads will meet quality requirements.
We can restrict groundweb once FGA stable and the TD backlog purged
Fixed in 0.0.21