diff --git a/test_cases/search_abbreviations.json b/test_cases/search_abbreviations.json index bcd56c0..0441c4f 100644 --- a/test_cases/search_abbreviations.json +++ b/test_cases/search_abbreviations.json @@ -1,6 +1,6 @@ { "name": "search abbreviations", - "priorityThresh": 5, + "priorityThresh": 1, "tests": [ { "id": 1, @@ -24,7 +24,7 @@ } }, { - "id": 2, + "id": 1.1, "status": "fail", "user": "julian", "issue": "https://github.com/pelias/pelias/issues/737", @@ -44,6 +44,34 @@ ] } }, + { + "id": 1.3, + "status": "pass", + "user": "missinglink", + "notes": ["Sainte != Saint && St == Street"], + "in": { + "text": "Sainte Patrick St, Donaldsonville, LA" + }, + "unexpected": { + "properties": [ + { "street": "Saint Patrick Street" } + ] + } + }, + { + "id": 1.4, + "status": "pass", + "user": "missinglink", + "notes": ["St == Saint && Straße != Street"], + "in": { + "text": "St Patrick Straße, Donaldsonville, LA" + }, + "unexpected": { + "properties": [ + { "street": "Saint Patrick Street" } + ] + } + }, { "id": 3, "status": "pass", @@ -108,6 +136,127 @@ } ] } + }, + { + "id": 6.1, + "status": "fail", + "user": "missinglink", + "notes": ["R == Rue"], + "in": { + "text": "R Gay Lussac, Paris" + }, + "expected": { + "properties": [ + { "street": "Rue Gay-Lussac" } + ] + } + }, + { + "id": 6.2, + "status": "pass", + "user": "missinglink", + "notes": ["Rue == Rue"], + "in": { + "text": "Rue Gay Lussac, Paris" + }, + "expected": { + "properties": [ + { + "street": "Rue Gay-Lussac" + } + ] + } + }, + { + "id": 7.1, + "status": "fail", + "user": "missinglink", + "notes": ["Av. == Avenida"], + "in": { + "text": "Av. Juárez, Guadalajara, México" + }, + "expected": { + "properties": [ + { "street": "Avenida Juárez" } + ] + } + }, + { + "id": 7.2, + "status": "pass", + "user": "missinglink", + "notes": ["Avenida == Avenida"], + "in": { + "text": "Avenida Juárez, Guadalajara, México" + }, + "expected": { + "properties": [ + { + "street": "Avenida Juárez" + } + ] + } + }, + { + "id": 7.3, + "status": "pass", + "user": "missinglink", + "notes": ["Avenue != Avenida"], + "in": { + "text": "Avenue Juárez, Guadalajara, México" + }, + "unexpected": { + "properties": [ + { + "street": "Avenida Juárez" + } + ] + } + }, + { + "id": 8.1, + "status": "fail", + "user": "missinglink", + "in": { + "text": "W Mt Hope Av. MI USA" + }, + "expected": { + "properties": [ + { + "street": "West Mount Hope Avenue" + } + ] + } + }, + { + "id": 8.2, + "status": "pass", + "user": "missinglink", + "in": { + "text": "West Mount Hope Avenue MI USA" + }, + "expected": { + "properties": [ + { + "street": "West Mount Hope Avenue" + } + ] + } + }, + { + "id": 9, + "status": "fail", + "user": "missinglink", + "in": { + "text": "E 98th Ter, MO, USA" + }, + "expected": { + "properties": [ + { + "street": "East 98th Terrace" + } + ] + } } ] }