Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad response order #25

Open
AndreasAtSBB opened this issue Apr 7, 2022 · 1 comment
Open

Bad response order #25

AndreasAtSBB opened this issue Apr 7, 2022 · 1 comment
Assignees
Labels
bug Something isn't working invalid This doesn't seem right Passive System (STA)

Comments

@AndreasAtSBB
Copy link

  1. With a LIR request, the response should prive top result at the top.
  2. If the searched stop place has the exact same name a probability near one is expected.

Example request:

2022-01-31T13:45:09.541Z SBB-SoapUI-Test 2022-01-31T13:45:09.541Z Arabba stop 10 false

get response:
<siri:OJP version="1.0" xmlns:siri="http://www.siri.org.uk/siri" xmlns:ojp="http://www.vdv.de/ojp">
siri:OJPResponse
siri:ServiceDelivery
siri:ResponseTimestamp2022-04-07T06:33:49Z</siri:ResponseTimestamp>
siri:ProducerRefEFAController_Passiv_apb_10.4.20.x</siri:ProducerRef>
siri:Statustrue</siri:Status>
ojp:OJPLocationInformationDelivery
siri:ResponseTimestamp2022-04-07T06:33:49Z</siri:ResponseTimestamp>
siri:Statustrue</siri:Status>
ojp:CalcTime62</ojp:CalcTime>
ojp:Location
ojp:Location
ojp:StopPlace
ojp:StopPlaceRefit:22025:95536</ojp:StopPlaceRef>
ojp:StopPlaceName
ojp:TextVarda</ojp:Text>
</ojp:StopPlaceName>
ojp:TopographicPlaceRef22025030:2</ojp:TopographicPlaceRef>
</ojp:StopPlace>
ojp:LocationName
<ojp:Text xml:lang="it">Varda (Arabba)</ojp:Text>
</ojp:LocationName>
ojp:GeoPosition
siri:Longitude11.88518</siri:Longitude>
siri:Latitude46.50087</siri:Latitude>
</ojp:GeoPosition>
</ojp:Location>
ojp:Completetrue</ojp:Complete>
ojp:Probability0.238000005</ojp:Probability>
</ojp:Location>
ojp:Location
ojp:Location
ojp:StopPlace
ojp:StopPlaceRefit:22025:95537</ojp:StopPlaceRef>
ojp:StopPlaceName
ojp:TextArabba</ojp:Text>
</ojp:StopPlaceName>
ojp:TopographicPlaceRef22025030:2</ojp:TopographicPlaceRef>
</ojp:StopPlace>
ojp:LocationName
<ojp:Text xml:lang="it">Arabba (Arabba)</ojp:Text>
</ojp:LocationName>
ojp:GeoPosition
siri:Longitude11.87516</siri:Longitude>
siri:Latitude46.49771</siri:Latitude>
</ojp:GeoPosition>
</ojp:Location>
ojp:Completetrue</ojp:Complete>
ojp:Probability0.25</ojp:Probability>
</ojp:Location>
</ojp:OJPLocationInformationDelivery>
</siri:ServiceDelivery>
</siri:OJPResponse>
</siri:OJP>

Both problems can be observed. The answer on top has a lower probability that the expected answer below. Even the name mach 100% probability seams to be onli 25%. Why?

@AndreasAtSBB AndreasAtSBB added bug Something isn't working invalid This doesn't seem right Passive System (STA) labels Apr 7, 2022
@rcavaliere
Copy link

@AndreasAtSBB yes we already noticed this. Will ask Mentz to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right Passive System (STA)
Projects
None yet
Development

No branches or pull requests

2 participants