Skip to content
Testaroo
csv2 KB

Fieldnote Learning Centre: Certificate eligibility with three conditions

Certificate eligibility with three conditions for Fieldnote Learning Centre. All 18 enrolments tested against three conditions: the enrolment is complete, the score reaches the pass mark, and both sessions were attended. 7 are eligible. 9 enrolments passed, so 2 passing learners are still ineligible on attendance alone: ENR-04 and ENR-11, each of whom attended 1 of 2 sessions. Every ineligible row names its reasons.

Preview, first 20 linescsv
enrollment_id,learner_id,learner_name,course_id,completed,passed,sessions_attended,sessions_required,certificate_eligible,reason_if_not_eligible
ENR-01,LEARN-01,Sample learner 1,COURSE-1,true,false,1,2,false,score below the pass mark or enrolment incomplete; attended 1 of 2 required sessions
ENR-02,LEARN-02,Sample learner 2,COURSE-2,true,false,2,2,false,score below the pass mark or enrolment incomplete
ENR-03,LEARN-03,Sample learner 3,COURSE-3,true,false,2,2,false,score below the pass mark or enrolment incomplete
ENR-04,LEARN-04,Sample learner 4,COURSE-1,true,true,1,2,false,attended 1 of 2 required sessions
ENR-05,LEARN-05,Sample learner 5,COURSE-2,true,true,2,2,true,
ENR-06,LEARN-06,Sample learner 6,COURSE-3,true,true,2,2,true,
ENR-07,LEARN-07,Sample learner 7,COURSE-1,true,true,2,2,true,
ENR-08,LEARN-08,Sample learner 8,COURSE-2,true,false,1,2,false,score below the pass mark or enrolment incomplete; attended 1 of 2 required sessions
ENR-09,LEARN-09,Sample learner 9,COURSE-3,true,false,2,2,false,score below the pass mark or enrolment incomplete
ENR-10,LEARN-10,Sample learner 10,COURSE-1,true,true,2,2,true,
ENR-11,LEARN-11,Sample learner 11,COURSE-2,true,true,1,2,false,attended 1 of 2 required sessions
ENR-12,LEARN-12,Sample learner 12,COURSE-3,true,true,2,2,true,
ENR-13,LEARN-01,Sample learner 1,COURSE-2,true,true,2,2,true,
ENR-14,LEARN-02,Sample learner 2,COURSE-3,true,true,2,2,true,
ENR-15,LEARN-03,Sample learner 3,COURSE-1,true,false,1,2,false,score below the pass mark or enrolment incomplete; attended 1 of 2 required sessions
ENR-16,LEARN-04,Sample learner 4,COURSE-2,false,false,2,2,false,enrolment not complete; score below the pass mark or enrolment incomplete
ENR-17,LEARN-05,Sample learner 5,COURSE-3,false,false,2,2,false,enrolment not complete; score below the pass mark or enrolment incomplete
ENR-18,LEARN-06,Sample learner 6,COURSE-1,false,false,1,2,false,enrolment not complete; score below the pass mark or enrolment incomplete; attended 1 of 2 required sessions

Specifications

Document Set
education
Industry
education
Source Kit
education-training
Synthetic
true
As Of
2026-09-08
Rows
18
Eligible
7
Passed
9
Blocked On Attendance
2
Encoding
UTF-8

Testing contract

Expected to pass
Scenario
Apply all three conditions and compare the eligible count with the pass count.
Expected result
7 rows are eligible, not the 9 that passed. The difference is exactly ENR-04 and ENR-11, which carry passed true, sessions_attended 1 and a reason naming the shortfall. Treating a pass as a certificate would issue 2 certificates the attendance record does not support.

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

“Fieldnote Learning Centre: Certificate eligibility with three conditions” is a deterministic Testaroo fixture for Data import. Realistic faker-generated datasets with documented schemas for testing import and ETL flows.

Documented properties for this file: 18 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("certificate-eligibility.csv")
print(df.head())
print(df.dtypes)

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