mirror of https://github.com/pelias/docker.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
353 lines
7.6 KiB
353 lines
7.6 KiB
{ |
|
"name": "autocomplete admin areas", |
|
"priorityThresh": 5, |
|
"endpoint": "autocomplete", |
|
"tests": [ |
|
{ |
|
"id": 1, |
|
"status": "pass", |
|
"user": "Diana", |
|
"type": "dev", |
|
"in": { |
|
"text": "brooklyn" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"label": "Brooklyn, New York, NY, USA" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": "1-1", |
|
"status": "pass", |
|
"user": "Riordan", |
|
"description": ["K-stemming on Autocomplete is leading to strange results", |
|
"for the progressive characters in `brooklyn`, leading to jitter"], |
|
"in": { |
|
"text": "broo" |
|
}, |
|
"expected": { |
|
"priorityThresh": 5, |
|
"properties": [ |
|
{ |
|
"label": "Brooklyn, New York, NY, USA" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": "1-2", |
|
"status": "pass", |
|
"user": "Riordan", |
|
"description": ["K-stemming on Autocomplete is leading to strange results", |
|
"for the progressive characters in `brooklyn`, leading to jitter"], |
|
"in": { |
|
"text": "brook" |
|
}, |
|
"expected": { |
|
"priorityThresh": 5, |
|
"properties": [ |
|
{ |
|
"label": "Brooklyn, New York, NY, USA" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": "1-3", |
|
"status": "pass", |
|
"user": "Riordan", |
|
"description": ["K-stemming on Autocomplete is leading to strange results", |
|
"for the progressive characters in `brooklyn`, leading to jitter"], |
|
"in": { |
|
"text": "brookl" |
|
}, |
|
"expected": { |
|
"priorityThresh": 5, |
|
"properties": [ |
|
{ |
|
"label": "Brooklyn, New York, NY, USA" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": "1-4", |
|
"status": "pass", |
|
"user": "Riordan", |
|
"description": ["K-stemming on Autocomplete is leading to strange results", |
|
"for the progressive characters in `brooklyn`, leading to jitter"], |
|
"in": { |
|
"text": "brookly" |
|
}, |
|
"expected": { |
|
"priorityThresh": 5, |
|
"properties": [ |
|
{ |
|
"label": "Brooklyn, New York, NY, USA" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": "1-5", |
|
"status": "pass", |
|
"user": "Riordan", |
|
"description": ["K-stemming on Autocomplete is leading to strange results", |
|
"for the progressive characters in `brooklyn`, leading to jitter"], |
|
"in": { |
|
"text": "brooklyn" |
|
}, |
|
"expected": { |
|
"priorityThresh": 5, |
|
"properties": [ |
|
{ |
|
"label": "Brooklyn, New York, NY, USA" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 2, |
|
"status": "fail", |
|
"issue": "https://github.com/pelias/pelias/issues/295", |
|
"description": "data issue", |
|
"user": "Diana", |
|
"type": "dev", |
|
"in": { |
|
"text": "new york" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"label": "New York, NY, USA" |
|
}, |
|
{ |
|
"label": "New York City, Manhattan, NY, USA" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 3, |
|
"status": "fail", |
|
"issue": "https://github.com/pelias/pelias/issues/293", |
|
"description": "data issue", |
|
"user": "missinglink", |
|
"in": { |
|
"text": "london" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"label": "London, Greater London, United Kingdom" |
|
}, |
|
{ |
|
"label": "London, Middlesex, Canada" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 4, |
|
"status": "pass", |
|
"user": "missinglink", |
|
"in": { |
|
"text": "san francisco" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"region": "California", |
|
"county": "San Francisco County", |
|
"locality": "San Francisco", |
|
"layer": "locality" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 5, |
|
"status": "fail", |
|
"user": "missinglink", |
|
"description": "remove partial match results from the top 5 when exact matches are found", |
|
"issue": "https://github.com/pelias/pelias/issues/646", |
|
"in": { |
|
"text": "victoria" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"region": "Victoria", |
|
"country": "Australia", |
|
"layer": "region" |
|
}, |
|
{ |
|
"locality": "Victoria", |
|
"region": "British Columbia", |
|
"country": "Canada", |
|
"layer": "locality" |
|
|
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 7, |
|
"status": "fail", |
|
"issue": "https://github.com/pelias/geonames/issues/49", |
|
"description": "geonames types are not properly mapped", |
|
"user": "missinglink", |
|
"in": { |
|
"text": "wales" |
|
}, |
|
"expected": { |
|
"priorityThresh": 1, |
|
"properties": [ |
|
{ |
|
"label": "Wales, United Kingdom" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 8, |
|
"status": "pass", |
|
"user": "missinglink", |
|
"in": { |
|
"text": "new south wales" |
|
}, |
|
"expected": { |
|
"priorityThresh": 3, |
|
"properties": [ |
|
{ |
|
"label": "New South Wales, Australia" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 9, |
|
"status": "pass", |
|
"user": "missinglink", |
|
"in": { |
|
"text": "california" |
|
}, |
|
"expected": { |
|
"priorityThresh": 1, |
|
"properties": [ |
|
{ |
|
"label": "California, USA" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 10, |
|
"status": "pass", |
|
"user": "missinglink", |
|
"in": { |
|
"text": "west bengal" |
|
}, |
|
"expected": { |
|
"priorityThresh": 1, |
|
"properties": [ |
|
{ |
|
"label": "West Bengal, India" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 11, |
|
"status": "pass", |
|
"issue": "https://github.com/pelias/geonames/pull/43", |
|
"description": "geonames types are not properly mapped", |
|
"user": "missinglink", |
|
"in": { |
|
"text": "madrid" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"locality": "Madrid", |
|
"region": "Madrid", |
|
"country": "Spain", |
|
"layer": "locality" |
|
|
|
|
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 12, |
|
"status": "pass", |
|
"user": "missinglink", |
|
"notes": [ "from mapillary home page" ], |
|
"in": { |
|
"text": "malmo" |
|
}, |
|
"expected": { |
|
"priorityThresh": 1, |
|
"properties": [ |
|
{ |
|
"name": "Malmo", |
|
"country": "Sweden" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 13, |
|
"status": "pass", |
|
"user": "missinglink", |
|
"in": { |
|
"text": "Singarpuram" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"label": "Singarpuram, Madurai, India" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 14, |
|
"status": "pass", |
|
"user": "missinglink", |
|
"description": "partially complete major city name", |
|
"issue": "https://github.com/pelias/pelias/issues/143", |
|
"in": { |
|
"text": "Pari" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"label": "Paris, France" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 15, |
|
"status": "pass", |
|
"user": "missinglink", |
|
"description": "partially complete major city name", |
|
"issue": "https://github.com/pelias/pelias/issues/143", |
|
"in": { |
|
"text": "Londo" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"label": "London, England, United Kingdom" |
|
} |
|
] |
|
} |
|
} |
|
] |
|
}
|
|
|