Cleaning and identity
How TOVR normalizes a load's cargo, price, currency and places, how it decides two rows are the same load, and how it checks that a load is still available.
Cleaning and identity is the second step of How TOVR works. It turns an exchange's row into a load TOVR can compare with every other load: one unit per measure, a price with a known source, an amount in euros, geocoded stops and a state that says whether the load can still be won.
How it works
- Cargo. Each exchange describes cargo in its own words. TOVR maps every measure it recognizes to one field by its unit, and keeps unrecognized measures as stated: pallet counts go to the quantity, tonnes to the gross weight. Measures in different units are never added together.
- Price. The load gets a freight rate and a label saying where the rate came from (see Price sources).
- Currency. A price in another currency is converted to euros at the European Central Bank rate published on or before the day the price was saved. The original amount and currency are kept next to the euro figure.
- Identity. The load is saved under the exchange and the exchange's own reference. If two organizations see the same offer through their own connections, TOVR keeps one load and records that both organizations saw it.
- Places. Stop addresses are geocoded to a point (see Geocoding).
- Availability. The load starts as
openand is checked against the exchange afterwards (see Availability).
Price sources
TOVR uses the first of these that gives a price.
| Order | Source | Label | Confidence shown |
|---|---|---|---|
| 1 | The price on the exchange or in your own data, when it is above zero | platform | 1.0, quality high |
| 2 | An APEX market estimate for the lane | apex | The confidence APEX returns, with quality high, medium or low |
| 3 | A distance-based estimate (below) | heuristic | 0.1, quality low |
The distance-based estimate multiplies the route distance by a rate per kilometre that depends on the length of the lane:
| Route distance | EUR per km |
|---|---|
| under 150 km | 1.352 |
| 150 to under 300 km | 2.253 |
| 300 to under 500 km | 2.110 |
| 500 to under 800 km | 1.818 |
| 800 to under 1,200 km | 1.646 |
| 1,200 to under 2,000 km | 1.381 |
| 2,000 km and more | 0.724 |
The example load has a posted price of EUR 1,890, so it is labelled platform. Without a posted
price, TOVR would ask APEX first. Only if APEX had no data for the lane would it use the estimate:
1,050 km × EUR 1.646 = EUR 1,728.
Loads priced by the distance estimate are offered to APEX again every day at 03:30 UTC. When APEX can price them, the APEX estimate replaces the distance estimate.
Geocoding
TOVR geocodes with its own OpenStreetMap geocoder. A place it has resolved before is read from its own location store and is not looked up again.
| Lookup | Order |
|---|---|
| Address to point | Location store, then TOVR's geocoder, then a commercial fallback |
| Point to address | Location store, then TOVR's geocoder. No fallback. |
| Address suggestions while you type | TOVR's geocoder |
A lookup that finds nothing is retried later, with the wait growing from about an hour up to at most 7 days. When a point cannot be turned into an address, the app shows the coordinates rather than a made-up label.
Availability
Availability says whether a load can still be won. It is separate from the load's transport status.
| Value | Meaning |
|---|---|
open | Can still be won. New loads start here. |
taken | Awarded to someone else. |
lapsed | Expired on the exchange. |
withdrawn | Cancelled by the shipper. |
unknown | Neither winnable nor lost. Nothing sets this value today. |
Every 20 minutes TOVR asks the exchange about open loads it holds, oldest-checked first, up to 2,000 loads per exchange per run and within a 45-second time budget. It changes a load's availability only on positive evidence: the exchange names the load and gives its state. A missing answer, a timeout or an error changes nothing. This check never cancels a load; cancelling is done by time, as described in Where freight comes from.
What affects the result
- The exchange's own price. A posted price always wins over an estimate. Estimated prices are marked as estimates and carry their confidence, and the board's relevance sort ranks posted prices ahead of estimates.
- Your display currency. Prices carry a euro figure and are shown in the currency you choose (EUR by default). Changing it changes only what you see.
- Missing rates. If no exchange rate exists for a currency on that day, TOVR shows the price in
its own currency (for example
PLN 550.00). It never converts at 1.0.
Limits
- An APEX outage leaves a load unpriced, not estimated. If APEX cannot be reached, the load is skipped and tried again on the next poll. Only an APEX answer of "not enough data" falls through to the distance estimate.
- Only exchanges that answer status questions are re-checked. Today one exchange adapter
supports the availability check. Loads from other exchanges stay
openuntil they expire by time. - The same load posted twice stays two loads. TOVR groups repeat postings of a load internally, but it never merges two loads into one, and the board does not collapse them.
- Place names in Bulgarian are not available from the geocoder. It answers in English, German or French; other languages get its default names.
- Reverse geocoding has no fallback. If the geocoder is unavailable, the app shows coordinates.
Related
- Domain model
- How APEX works
- Data freshness
- Previous step: Where freight comes from
- Next step: Search