Skip to content
Novus Examples
csv2.8 KB

Ember Lane Pizza: Overtime computed on the wrong week boundary

Overtime computed on the wrong week boundary for Ember Lane Pizza. Intentionally inconsistent. The same 74 shift segments are grouped into Sunday-start work weeks where the declared policy, and labour-hours-overtime.xlsx, start each week on Monday. The correct grouping yields 5.00 payable overtime hours and 51.50 CAD of premium; this file yields 3.00 hours and 31.50 CAD. The hours that disappear belong to EMP-01 in the week beginning 2026-08-24, whose 46.00 hours the Sunday grouping splits across two weeks.

csv

text/csv

2.8 KB
Kit
restaurant-pizzeria
Industry
food-service
Schema Version
1
Synthetic
true
As Of
2026-09-08
Currency
CAD

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

Specifications

Kit
restaurant-pizzeria
Industry
food-service
Schema Version
1
Synthetic
true
As Of
2026-09-08
Currency
CAD
Period Start
2026-08-20
Period End
2026-09-02
Rows
24
Columns
14
Intentionally Invalid
true
Defect
work-week-starts-on-the-wrong-day
Work Week Starts On
Sunday
Contradicts
p9c-restaurant-pizzeria-overtime
Payable Overtime Hours
3
Delimiter
,
Encoding
UTF-8
Line Endings
LF

Testing contract

Expected to fail
Scenario
Use overtime computed on the wrong week boundary in the Ember Lane Pizza costing and daily operations workflow.
Expected result
Intentionally inconsistent. The same 74 shift segments are grouped into Sunday-start work weeks where the declared policy, and labour-hours-overtime.xlsx, start each week on Monday. The correct grouping yields 5.00 payable overtime hours and 51.50 CAD of premium; this file yields 3.00 hours and 31.50 CAD. The hours that disappear belong to EMP-01 in the week beginning 2026-08-24, whose 46.00 hours the Sunday grouping splits across two weeks.

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

“Ember Lane Pizza: Overtime computed on the wrong week boundary” is a deterministic Novus Examples fixture for Data import, Error handling, CSV parsing. Realistic faker-generated datasets with documented schemas for testing import and ETL flows.

Documented properties for this file: 24 rows · 14 columns · UTF-8 · LF. 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("labour-overtime-wrong-week.csv")
print(df.head())
print(df.dtypes)

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