FreightLM is built so that its results can be checked.
These principles come from the repository. They shape how results are produced and shown.
Every field points to its pixels.
Nothing is asserted that cannot be pointed at. A value the pipeline cannot find is recorded as not found.
Boxes come from OCR, never from the model.
Vision models are unreliable at pixel coordinates, so every box is OCR geometry.
Quality is measured, not asserted.
Scores come from a real 158-document set and are published with the code.
Bad output is recorded, not resampled.
Unparseable model JSON is stored as a failed outcome. Nothing is retried to make a number look better.
Postgres is the queue.
One database holds the data and the jobs. There is no broker to install.
Geometry is normalised in one place.
One file divides coordinates by page size. The interface never does that arithmetic.