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.
 
 
 

151 lines
3.3 KiB

{
"name": "quattroshapes popularity",
"priorityThresh": 5,
"comment": "Test cases for boosting Quattro records by popularity values.",
"info": [
"use the following query to test which records have a higher population",
"https://gist.github.com/missinglink/da2b0132fe9ecdf2dc4ac7c07a9cfef5"
],
"tests": [
{
"id": 1,
"user": "sevko",
"status": "pass",
"issue": "https://github.com/pelias/pelias/issues/300",
"type": "dev",
"in": {
"layers": "neighbourhood",
"text": "chelsea"
},
"expected": {
"properties": [
{
"name": "Chelsea",
"layer": "neighbourhood",
"locality": "New York",
"region_a": "NY",
"country_a": "USA"
},
{
"name": "Chelsea",
"layer": "neighbourhood",
"locality": "London",
"country_a": "GBR"
}
]
}
},
{
"id": "1-1",
"user": "sevko",
"status": "pass",
"issue": [
"https://github.com/pelias/pelias/issues/548",
"https://github.com/pelias/pelias/issues/294"
],
"type": "dev",
"in": {
"layers": "coarse",
"text": "chelsea, ny"
},
"expected": {
"properties": [
{
"name": "Chelsea",
"layer": "neighbourhood",
"locality": "New York",
"region_a": "NY",
"country_a": "USA"
}
]
}
},
{
"id": 2,
"user": "sevko",
"status": "pass",
"type": "dev",
"in": {
"layers": "neighbourhood",
"text": "williamsburg"
},
"expected": {
"properties": [
{
"name": "Williamsburg",
"layer": "neighbourhood",
"borough": "Brooklyn",
"locality": "New York",
"region_a": "NY",
"country_a": "USA"
}
]
}
},
{
"id": "2-1",
"user": "sevko",
"status": "pass",
"type": "dev",
"in": {
"layers": "neighbourhood",
"text": "williamsburg, ny"
},
"expected": {
"properties": [
{
"name": "Williamsburg",
"layer": "neighbourhood",
"borough": "Brooklyn",
"locality": "New York",
"region_a": "NY",
"country_a": "USA"
}
]
}
},
{
"id": 3,
"user": "sevko",
"status": "pass",
"type": "dev",
"in": {
"layers": "coarse",
"text": "ridgewood"
},
"expected": {
"properties": [
{
"name": "Ridgewood",
"borough": "Queens",
"locality": "New York",
"region_a": "NY",
"country_a": "USA"
}
]
}
},
{
"id": "3-1",
"user": "sevko",
"status": "pass",
"issue": "https://github.com/pelias/pelias/issues/548",
"type": "dev",
"in": {
"layers": "coarse",
"text": "ridgewood, ny"
},
"expected": {
"properties": [
{
"name": "Ridgewood",
"borough": "Queens",
"locality": "New York",
"region_a": "NY",
"country_a": "USA"
}
]
}
}
]
}