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.
139 lines
2.4 KiB
139 lines
2.4 KiB
6 years ago
|
{
|
||
|
"name": "exact matches",
|
||
|
"priorityThresh": 5,
|
||
|
"tests": [
|
||
|
{
|
||
|
"id": 1,
|
||
|
"status": "pass",
|
||
|
"user": "sevko",
|
||
|
"in": {
|
||
|
"text": "100 20th street"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "100 20th St"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 2,
|
||
|
"status": "pass",
|
||
|
"user": "sevko",
|
||
|
"in": {
|
||
|
"text": "40 20th street"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "40 20th Street"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 3,
|
||
|
"status": "pass",
|
||
|
"user": "sevko",
|
||
|
"in": {
|
||
|
"text": "120 42nd Street"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "120 42nd Street"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 4,
|
||
|
"status": "pass",
|
||
|
"user": "sevko",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"text": "358 41st street, ny"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "358 41st Street"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 6,
|
||
|
"status": "pass",
|
||
|
"user": "sevko",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"text": "1359 54 street, ny"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "1359 54th Street"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 7,
|
||
|
"status": "pass",
|
||
|
"user": "sevko",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"text": "310 7 street, ny"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "310 7th Street"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 8,
|
||
|
"status": "pass",
|
||
|
"user": "sevko",
|
||
|
"type": "dev",
|
||
|
"description": "libpostal id's `921` as postcode",
|
||
|
"issue": "https://github.com/pelias/pelias/issues/427",
|
||
|
"in": {
|
||
|
"text": "921 83 street, ny"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "921 83rd Street"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 9,
|
||
|
"status": "pass",
|
||
|
"user": "sevko",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"text": "518 3 street, ny"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "518 3rd Street",
|
||
|
"locality": "New York"
|
||
|
},
|
||
|
{
|
||
|
"name": "518 3 St",
|
||
|
"locality": "New York"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|