Skip to content
Novus Examples
jsonl272 B

Listwise Ranking (JSONL)

Listwise ranked doc lists for nDCG and listwise loss tests.

Preview — first 5 linesjsonl
{"query": "sample laptop", "ranking": ["doc_c", "doc_a", "doc_b"]}
{"query": "sample laptop", "ranking": ["doc_c", "doc_a", "doc_b"]}
{"query": "sample laptop", "ranking": ["doc_c", "doc_a", "doc_b"]}
{"query": "sample laptop", "ranking": ["doc_c", "doc_a", "doc_b"]}

Specifications

Records
4
Task
listwise

What is a .jsonl file?

JSONL (JSON Lines) is a text format where each line is a complete, independent JSON value, allowing records to be streamed and appended without parsing the whole file. It is not itself a JSON array and each line must stand alone. It is common in logging, machine learning datasets, and data pipelines.

How to use this file

Use an example JSONL to test line-by-line streaming parsers, append-and-resume ingestion, and batch pipelines that process one record per line.

How to use this file for testing

“Listwise Ranking (JSONL)” is a deterministic Novus Examples fixture for ML training data. Labelled, synthetic datasets in the shapes ML pipelines expect — JSONL for text tasks, image annotations, embeddings, and sample weights — for testing data loaders, tokenizers, and training tooling.

Documented properties for this file: 4 records · task: listwise. 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.

AI/ML fixtures are fully synthetic with documented schemas — no real people or data. Test data loaders, tokenizers, annotation converters, embedding/vector stores, or eval-metric parsers against the known structure and fixed seeds.

These are labelled, training-shaped fixtures with a documented schema. Test your data loader, tokenizer, or format converter against it; every label and value is synthetic.

Code examples

import json

with open("listwise-ranking.jsonl") as f:
    rows = [json.loads(line) for line in f]
print(len(rows), rows[0])

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