llm-jsonl-dataset-validator

Validates JSONL datasets intended for LLM evaluation, fine-tuning, preference learning, information extraction, or dialogue tasks. Can detect malformed lines, schema/pattern drift, duplicate records, data leakage, role errors, empty content, label imbalance, and train/test set contamination.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "llm-jsonl-dataset-validator" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-9f557641a558247dc69e2dedb0c9d7c7835993d786aa3c44849e1f55250bc936. Verify the upstream source and version against https://skillhub.cn/skills/user_b26bd65e/llm-jsonl-dataset-validator-b26bd65e before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Validates JSONL datasets intended for LLM evaluation, fine-tuning, preference learning, information extraction, or dialogue tasks. Can detect malformed lines, schema/pattern drift, duplicate records, data leakage, role errors, empty content, label imbalance, and train/test set contamination.

0 Downloads

Introduction source: third_party · user_b26bd65e · 1.0.1 Reference

SkillPi interpretation

Tasks
Validate JSONL datasets for LLM evaluation, fine-tuning, preference, extraction, or chat tasks. Use to detect malformed lines, schema drift, duplicates, leakage, role errors, empty content, label imbalance, or train/test contamination.
Inputs and outputs
Return counts, severity-ranked issues, representative line numbers, distribution tables, leakage risks, and safe repair recommendations. Never rewrite the source dataset unless explicitly requested; preserve an audit trail when fixing.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: llm-jsonl-dataset-validator
description: Validate JSONL datasets for LLM evaluation, fine-tuning, preference, extraction, or chat tasks. Use to detect malformed lines, schema drift, duplicates, leakage, role errors, empty content, label imbalance, or train/test contamination.
slug: llm-jsonl-dataset-validator-b26bd65e
displayName: LLM JSONL 数据集验证器
version: 1.0.1
summary: 检查 JSONL 语法、Schema、重复、角色、空内容、标签分布、数据泄漏和训练测试污染。
license: MIT

LLM JSONL Dataset Validator

Inspect data locally when possible. Do not upload private datasets to third parties without authorization.

Workflow

  1. Identify the intended record schema and task type before judging fields.
  2. Parse every non-empty line independently and report line-numbered JSON errors.
  3. Validate required keys, types, allowed roles, content, labels, IDs, and metadata.
  4. Detect exact and normalized duplicates plus conflicting labels for the same input.
  5. Check empty, extremely long, malformed Unicode, control characters, and suspicious secret/PII patterns.
  6. Measure label, language, length, domain, and source distributions.
  7. Compare split fingerprints to detect train/test leakage and near duplicates.

Output

Return counts, severity-ranked issues, representative line numbers, distribution tables, leakage risks, and safe repair recommendations. Never rewrite the source dataset unless explicitly requested; preserve an audit trail when fixing.

Current listing version

1.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 针对 LLM JSONL 数据集验证,解决数据科学家和 ML 工程师的核心痛点
  • 覆盖多种任务类型(评估、微调、偏好学习等)和检测维度(格式、重复、泄漏等)
Trigger Precision90/100

Highlights

  • description 清晰描述了用途和检测项,覆盖多种任务类型和检测维度
  • 边界清晰,不易与其他 Skill 重叠
Structure and Standards90/100

Highlights

  • Workflow 步骤清晰,包含端到端处理逻辑
  • frontmatter 完整,单文件未超 500 行
Execution Reliability85/100

Highlights

  • 工具来源明确(本地检查优先),参数正确
  • 覆盖主要异常(JSON 错误、重复、泄漏等),有安全建议(不上传私有数据)
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.