{ "name": "search", "priorityThresh": 5, "tests": [ { "id": 1, "status": "pass", "user": "Randy", "type": "dev", "in": { "text": "brooklyn" }, "expected": { "properties": [ { "label": "Brooklyn, New York, NY, USA" } ] } }, { "id": 2, "status": "pass", "user": "Randy", "type": "dev", "in": { "text": "brooklyn, ny" }, "expected": { "properties": [ { "label": "Brooklyn, New York, NY, USA" } ] } }, { "id": 4, "status": "pass", "user": "Diana", "type": "dev", "in": { "text": "philadelphia" }, "expected": { "properties": [ { "name": "Philadelphia", "region": "Pennsylvania", "country_a": "USA" } ] } }, { "id": "4-1", "status": "pass", "user": "Diana", "type": "dev", "in": { "text": "philadelphia, pa" }, "expected": { "properties": [ { "name": "Philadelphia", "region": "Pennsylvania", "country_a": "USA" } ] } }, { "id": 5, "status": "pass", "type": "dev", "user": "Randy", "in": { "text": "new york, new york" }, "expected": { "priorityThresh": 2, "properties": [ { "gid": "whosonfirst:locality:85977539", "name": "New York" }, { "gid": "whosonfirst:county:102081863", "name": "New York County" } ] } }, { "id": "5:2", "status": "pass", "type": "dev", "user": "missinglink", "in": { "text": "new york city" }, "expected": { "properties": [ { "gid": "whosonfirst:locality:85977539", "name": "New York" } ] } }, { "id": "5:3", "status": "pass", "type": "dev", "user": "missinglink", "in": { "text": "new york city, usa" }, "expected": { "properties": [ { "gid": "whosonfirst:locality:85977539", "name": "New York" } ] } }, { "id": 6, "status": "pass", "type": "dev", "user": "Randy", "in": { "text": "130 dean street brooklyn, ny" }, "expected": { "properties": [ { "name": "130 Dean Street", "borough": "Brooklyn", "locality": "New York", "region_a": "NY", "country_a": "USA" } ] } }, { "id": 7, "status": "pass", "type": "dev", "user": "Randy", "in": { "text": "billerica" }, "expected": { "properties": [ { "name": "Billerica", "county": "Middlesex County", "region_a": "MA", "country_a": "USA" } ] } }, { "id": 8, "status": "pass", "type": "dev", "user": "Randy", "in": { "text": "billerica, ma" }, "expected": { "properties": [ { "name": "Billerica", "county": "Middlesex County", "region_a": "MA", "country_a": "USA" } ] } }, { "id": 9, "status": "pass", "issue": "https://github.com/openaddresses/openaddresses/pull/1892", "description": "test failed due to data entry issue with openaddresses", "user": "Randy", "in": { "text": "15 call street billerica, ma" }, "expected": { "priorityThresh": 1, "properties": [ { "name": "15 Call Street", "country": "United States", "region": "Massachusetts", "county": "Middlesex County", "region_a": "MA", "country_a": "USA" } ] } }, { "id": "1425586777012:0", "status": "fail", "notes": [ "we don't support 'sq' here, when using 'square' instead the address", "parser kicks in and only shows street addresses" ], "user": "feedback-app", "type": "dev", "in": { "text": "union sq" }, "expected": { "properties": [ { "name": "Union Square", "country_a": "USA", "country": "United States", "region": "California", "region_a": "CA", "county": "San Francisco County", "label": "Union Square, San Francisco County, CA, USA" } ] } }, { "id": "1425586777012:2", "status": "pass", "user": "feedback-app", "type": "dev", "in": { "text": "portland" }, "expected": { "properties": [ { "name": "Portland", "county": "Multnomah County", "region_a": "OR", "country_a": "USA" } ] } }, { "id": "1425586777012:2-1", "status": "pass", "user": "feedback-app", "type": "dev", "in": { "text": "portland, oregon" }, "expected": { "properties": [ { "name": "Portland", "county": "Multnomah County", "region_a": "OR", "country_a": "USA" } ] } }, { "id": "1425586777012:3", "status": "pass", "user": "feedback-app", "in": { "text": "paris" }, "expected": { "properties": [ { "name": "Paris", "country": "France" } ] } }, { "id": "1425586777012:4", "status": "pass", "notes": [ "the quattroshapes data contains entries for 'France' in", "French Guiana (GUF), not sure of the politics behind this" ], "user": "feedback-app", "in": { "text": "france" }, "expected": { "properties": [ { "name": "France" } ] } }, { "id": "1425586777012:6", "status": "fail", "issue": "https://github.com/pelias/pelias/issues/293", "description": "data issue", "user": "feedback-app", "type": "dev", "in": { "text": "london" }, "expected": { "properties": [ { "label": "London, Greater London, United Kingdom" }, { "label": "London, Middlesex, Canada" }, { "label": "London, United Kingdom" } ] } }, { "id": 10, "status": "pass", "user": "hkrishna", "type": "dev", "in": { "text": "chelsea, new york" }, "expected": { "properties": [ { "name": "Chelsea", "layer": "neighbourhood", "borough": "Manhattan", "region_a": "NY", "country_a": "USA" } ] } }, { "id": 11, "status": "pass", "issue": "https://github.com/whosonfirst-data/whosonfirst-data/issues/744", "type": "dev", "user": "hkrishna", "in": { "text": "soho, new york" }, "expected": { "properties": [ { "name": "SoHo", "layer": "neighbourhood", "borough": "Manhattan", "region_a": "NY", "country_a": "USA" } ] } }, { "id": "1426085141587:0", "status": "fail", "issue": "https://github.com/pelias/api/issues/151", "user": "feedback-app", "in": { "text": "perugia airport" }, "expected": { "priorityThresh": 10, "properties": [ { "name": "Perugia San Francesco d'Assisi – Umbria International Airport", "region": "Perugia", "country_a": "ITA" } ] } }, { "id": 15, "status": "pass", "type": "dev", "user": "hkrishna", "in": { "text": "101 saint marks pl, new york" }, "expected": { "properties": [ { "name": "101 Saint Marks Place", "neighbourhood": "East Village", "region_a": "NY", "country_a": "USA" } ] } }, { "id": 18, "user": "sevko", "status": "fail", "issue": "https://github.com/pelias/api/issues/151", "type": "dev", "in": { "text": "newark airport" }, "expected": { "properties": [ { "name": "Newark Liberty International Airport", "country_a": "USA", "country": "United States", "region": "New Jersey", "region_a": "NJ", "county": "Essex County", "localadmin": "Newark", "locality": "Newark", "neighbourhood": "Dayton", "label": "Newark Liberty International Airport, Newark, NJ, USA" } ] } }, { "id": "1427414405152:3", "user": "sevko", "in": { "text": "7 Simon-Dach-Straße" }, "expected": { "properties": [ { "housenumber": "7", "street": "Simon-Dach-Straße" } ] }, "status": "pass" }, { "id": "1427414405152:4", "user": "sevko", "in": { "text": "Simon-Dach-Straße 7" }, "expected": { "properties": [ { "housenumber": "7", "street": "Simon-Dach-Straße" } ] }, "status": "pass" }, { "id": 19, "status": "pass", "user": "Diana", "type": "dev", "in": { "focus.point.lat": 40.744243, "focus.point.lon": -73.990342, "text": "30 West 26th Street", "layers": "address", "sources": "openstreetmap" }, "expected": { "properties": [ { "layer": "address", "name": "30 West 26th Street", "country_a": "USA", "country": "United States", "region": "New York", "region_a": "NY", "county": "New York County", "borough": "Manhattan", "locality": "New York", "postalcode": "10010", "housenumber": "30", "street": "West 26th Street", "source": "openstreetmap" } ] } }, { "id": 20, "user": "orangejulius", "in": { "text": "statue of liberty", "boundary.country": "USA" }, "expected": { "properties": [{ "name": "Statue of Liberty", "country_a": "USA", "region": "New York" }] }, "unexpected": { "properties": [{ "country_a": "FRA" }] } }, { "id": 20, "user": "orangejulius", "in": { "text": "statue of liberty", "boundary.country": "FRA" }, "expected": { "properties": [{ "name": "Statue of Liberty", "country_a": "FRA", "region": "Paris" }] }, "unexpected": { "properties": [{ "country_a": "USA" }] } }, { "id": "1426636804303:51", "user": "feedback-app", "in": { "text": "4th and King" }, "expected": { "properties": [ { "name": "San Francisco 4th & King Street Station", "country_a": "USA" } ], "priorityThresh": 2 }, "status": "pass" }, { "id": 24, "status": "fail", "user": "riordan", "notes": [ "SF Zoo should show up in SF. Logged by @nvkelso in: https://github.com/pelias/pelias/issues/183" ], "in": { "focus.point.lat": 37.743618, "focus.point.lon": -122.426117, "text": "zoo" }, "expected": { "priorityThresh": 1, "properties": [ { "label": "San Francisco Zoo, San Francisco, CA, USA", "name": "San Francisco Zoo" } ] } }, { "id": 25, "status": "pass", "user": "trescube", "notes": [ "test ES query size hardcoding to lower score address matches are returned", "https://github.com/pelias/pelias/issues/434" ], "in": { "text": "82 Whitney Ave, Hamilton, Ontario", "size": 1 }, "expected": { "priorityThresh": 1, "properties": { "layer": "address", "housenumber": "82", "street": "Whitney Avenue", "locality": "Hamilton", "region": "Ontario" } } } ] }