Skip to content
Novus Examples
csv298 B

Tern Client Services: Mileage log

Mileage log for Tern Client Services. 3 client trips totalling 236 km. amount equals distance_km times rate_per_km on every row at the 0.62 per kilometre MIL rate from fee-schedule.csv, and the column sums to 146.32. Each trip names the project it was made for, so the mileage allocates cleanly to the three projects.

csv

text/csv

298 B
Document Set
professional-services
Industry
professional-services
Source Kit
crm-services
Synthetic
true
As Of
2026-09-08
Rows
3

Binary csv: no in-browser preview. Download it above to open in a compatible application.

Specifications

Document Set
professional-services
Industry
professional-services
Source Kit
crm-services
Synthetic
true
As Of
2026-09-08
Rows
3
Distance Km
236
Rate Per Km
0.62
Total Usd
146.32
Encoding
UTF-8

Testing contract

Expected to pass
Scenario
Recompute each line from the distance and the rate, then allocate the total by project.
Expected result
All 3 lines multiply out exactly and sum to 146.32. Allocating by project_id gives 29.76, 69.44, 47.12 to PROJECT-1, PROJECT-2, PROJECT-3, which are the mileage components of project-profitability.csv.

What is a .csv file?

CSV (Comma-Separated Values) is a plain-text tabular format where rows are lines and fields are separated by commas, with quoting rules for values that contain delimiters, quotes, or newlines. It has no formal type system and depends on encoding and dialect conventions. It is the most portable format for tabular data exchange.

How to use this file

Use an example CSV to test parsers against quoting and embedded-delimiter edge cases, header handling, encoding detection, and import pipelines into databases or spreadsheets.

How to use this file for testing

“Tern Client Services: Mileage log” is a deterministic Novus Examples fixture for Data import. Realistic faker-generated datasets with documented schemas for testing import and ETL flows.

Documented properties for this file: 3 rows · UTF-8. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.

Data fixtures document their exact quirks (delimiters, encodings, null handling, schema, and row counts) in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.

Code examples

import pandas as pd

df = pd.read_csv("mileage-log.csv")
print(df.head())
print(df.dtypes)

Generated by generation/industry_documents.py. Free for any use, no attribution required, license.