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.
277 lines
6.3 KiB
277 lines
6.3 KiB
{ |
|
"name": "university", |
|
"priorityThresh": 10, |
|
"tests": [ |
|
{ |
|
"id": 0, |
|
"status": "pass", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"OSM record does't have umbrella university in name." |
|
], |
|
"in": { |
|
"text": "Teachers College, Columbia University", |
|
"boundary.country": "USA" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Teachers College", |
|
"region": "New York" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 1, |
|
"status": "fail", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"expanded name of university has the word 'in' ", |
|
"tracking ticket https://github.com/pelias/pelias/issues/602" |
|
], |
|
"in": { |
|
"text": "Washington University in St. Louis", |
|
"boundary.country": "USA" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Washington University", |
|
"region": "Missouri" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 2, |
|
"status": "pass", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"Miami is a city in Florida but this university is in Ohio" |
|
], |
|
"in": { |
|
"text": "Miami University", |
|
"boundary.country": "USA" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Miami University", |
|
"region": "Ohio" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 3, |
|
"status": "pass", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"parsing: Hawaii without apostrophe" |
|
], |
|
"in": { |
|
"text": "University of Hawaii at Hilo" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "University of Hawai‘i at Hilo", |
|
"region": "Hawaii" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 4, |
|
"status": "pass", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"the university, a venue. there are also streets with the same name" |
|
], |
|
"in": { |
|
"text": "Universidad de Guadalajara, Guadalajara, Jalisco, México" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "CUCEA (Universidad de Guadalajara)", |
|
"layer": "venue", |
|
"region": "Jalisco", |
|
"country": "Mexico" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 5, |
|
"status": "pass", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"university in spanish without diacritics" |
|
], |
|
"in": { |
|
"text": "Universidad Autonoma de Ciudad Juarez" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Universidad Autónoma de Ciudad Juárez", |
|
"region": "Chihuahua" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 6, |
|
"status": "pass", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"many institutions are called oxford college. looking for the one in Georgia" |
|
], |
|
"in": { |
|
"text": "Oxford College, oxford, ga" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Oxford College of Emory University", |
|
"region": "Georgia" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 7, |
|
"status": "fail", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"english translation of russian university name", |
|
"OSM record is a relation. Returns places in St. Petersburg, FL", |
|
"Geonames record exists: http://www.geonames.org/search.html?q=Saint+Petersburg+State+University&country=RU", |
|
"test passes if search for name in Russian https://github.com/pelias/api/issues/127" |
|
], |
|
"in": { |
|
"text": "Saint Petersburg State University" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Saint Petersburg State University", |
|
"country": "Russia" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 8, |
|
"status": "pass", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"Russian university in Russian" |
|
], |
|
"in": { |
|
"text": "Санкт-Петербургский Государственный Университет" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Санкт-Петербургский Государственный Университет", |
|
"country": "Russia" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 9, |
|
"status": "pass", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"Looking for regional campus of Ohio State University in Lima. Main campus in Columbia, Ohio" |
|
], |
|
"in": { |
|
"text": "Ohio State University" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Ohio State University Lima", |
|
"localadmin": "Bath" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 10, |
|
"status": "pass", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"Campus of Antioch University. Actual name omits \"Seattle\". no comma" |
|
], |
|
"in": { |
|
"text": "Antioch University Seattle" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Antioch University", |
|
"locality": "Seattle" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 11, |
|
"status": "pass", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"Union College in Kentucky specifies it is not associated with other Union Colleges", |
|
"With comma" |
|
], |
|
"in": { |
|
"text": "Union college, kentucky" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Union College", |
|
"region": "Kentucky" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 12, |
|
"status": "fail", |
|
"user": "Lily", |
|
"type": "dev", |
|
"description": [ |
|
"Without comma will return places in Kentucky with Union in the name. Addressit parsing issue", |
|
"ticket tracking https://github.com/pelias/pelias/issues/602" |
|
], |
|
"in": { |
|
"text": "Union college kentucky" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Union College", |
|
"region": "Kentucky" |
|
} |
|
] |
|
} |
|
} |
|
] |
|
}
|
|
|