Conflict detection offset cases

The whole detecting algorithm needed adjustment because the offset related objects were not detected correctly.

The other issue was related to TCRs. If a TCR is between A and B, and a path arrives at B, we don't show it as a conflict, because the TCR is on the section. We had to solve this special use case.

The algorithm has two parts:

  1. Queries and presents the overlapping objects on a grid

  2. Looks for the type, place and time of the overlapping

We found a new complex issue: we cannot handle the cases, where there are two lines with more common stations. It works now only when there is one common station. We have lines like that in the Austrian pilot, so we need to prepare the query for cases like that too.

Testing conflicts

We are going through all the test cases prepared by the following scenarios

  • Object vs. object
  • Directions
  • Total closure
  • Etc.

Import/export bug

An empty cell is exported as FALSE or 00:00. This had to be fixed. This caused the error on the Brenner pilot when they re-imported the exported catalogues.

Currently, we write True(), False() functions for the boolean values, not strings. Then, it's the matter of the application (Libre Office, MS Office, WPS Office, etc.) how it is interpreted and presented on the screen.

Brenner pilot issue

It was related to the export issue, and the objects were shown wrong on the Chart. Now, it's fixed and it will be released after the demo meeting (3rd August 2020), including the fix of the import/export issue.

Calculate offset problem

The problem was found during the cloning of the original object. Times were cloned, but the offsets were not taken into account. Plus, we showed the calculated times too.

Next sprints

Bug fixing on the test cases already detected issues

Further testing of the conflict detection

Preparation of the automated testing

The next review is expected on 4th September due to the vacation period. The conflict (overlapping) detection feature is also expected to be released only in the Autumn.