Back to skills
extension
Category: Data & AnalyticsNo API key required

LLM JSONL 数据集验证器

检查 JSONL 语法、Schema、重复、角色、空内容、标签分布、数据泄漏和训练测试污染。

personAuthor: user_b26bd65ehubcommunity

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.