{ "dataset": "GitHub Code Corpus - 5,000 Sample", "vendor": "HSH Intelligence", "version": "1.0", "issued": "2026-05-07", "tier": "PREMIUM", "summary": { "records": 5000, "languages": 5, "unique_repos": 1499, "size_parquet_mb": 13.4, "size_csv_mb": 49.9 }, "checks_passed": "10/10 PREMIUM", "quality_metrics": { "1_license_compliance": { "tool": "scancode-toolkit 32.5.0", "copyleft_pct": 0.0, "verdict": "PASS", "note": "100% commercial-safe (no GPL/AGPL/LGPL)" }, "2_secret_detection": { "tool": "gitleaks 8.18.4", "leaks_found": 0, "verdict": "PASS", "note": "Zero credentials, API keys, or tokens" }, "3_deduplication": { "method": "MinHash LSH (256-perm, 5-gram, 0.9 threshold)", "near_duplicates_pct": 0.0, "verdict": "PASS", "note": "Zero near-duplicates" }, "4_complexity": { "tool": "radon 6.0.1", "avg_cyclomatic": 3.92, "verdict": "PASS", "note": "Healthy complexity range (< 15 = excellent)" }, "5_token_diversity": { "tokenizer": "tiktoken cl100k_base (GPT-4)", "unique_tokens": 63712, "verdict": "PASS", "note": "Strong vocabulary diversity" }, "6_statistical_balance": { "languages_count": 5, "max_language_pct": 20.0, "unique_repos": 1499, "verdict": "PASS", "note": "Perfectly balanced (1K per language)" }, "7_benchmark_contamination": { "benchmarks_checked": [ "HumanEval (164)", "MBPP (500)" ], "exact_matches": 0, "fuzzy_matches": 0, "verdict": "PASS", "note": "Zero contamination - safe for model evaluation" }, "8_pii_beyond_secrets": { "method": "Custom regex + Luhn validation (BigCode standard)", "real_pii_remaining": 0, "verdict": "PASS", "note": "Zero emails, phones, IPs, SSNs, credit cards" }, "9_syntax_validation": { "tools": "Python ast, Babel parser (JS/JSX), tsc, gofmt, syn 2.0", "overall_pct": 98.0, "by_language": { "Python": 98.9, "JavaScript": 97.0, "TypeScript": 95.3, "Go": 99.6, "Rust": 99.3 }, "verdict": "PASS", "note": "Exceeds Stack v2 95% standard for premium tier" }, "10_repo_legitimacy": { "method": "GitHub REST API verification", "total_repos_checked": 1499, "active_pct": 93.8, "archived_pct": 6.1, "deleted_pct": 0.0, "verdict": "PASS", "note": "100% verified existing on GitHub" } }, "schema": { "columns": 19, "fields": [ "id", "language", "repo_owner", "repo_name", "repo_stars", "repo_forks", "repo_description", "repo_topics", "license", "file_path", "file_name", "file_size", "code", "word_count", "char_count", "line_count", "data_quality_score", "timestamp", "scrubbed" ] }, "language_distribution": { "Python": 1000, "JavaScript": 1000, "TypeScript": 1000, "Go": 1000, "Rust": 1000 }, "compliance": { "commercial_use": true, "redistribution": true, "modification": true, "license_types": [ "MIT", "Apache-2.0", "BSD-3-Clause", "BSD-2-Clause", "ISC" ], "gdpr_safe": true, "ccpa_safe": true }, "methodology": { "framework": "BigCode / The Stack v2 production standard", "references": [ "https://huggingface.co/datasets/bigcode/the-stack-v2", "scancode-toolkit (license detection)", "gitleaks (secret scanning)", "datasketch MinHash (deduplication)", "radon (complexity analysis)", "tiktoken (tokenization)", "syn 2.0 + Babel parser (syntax validation)" ], "full_audit_log": "Available on request", "reproducibility": "All checks reproducible via standard open-source tools" }, "buyer_disclosure": "10/10 quality checks passed at PREMIUM tier. Industry-standard methodology following BigCode/Stack v2 production guidelines. Zero PII, zero contamination, 98% syntax-validated.", "audit_completed": "2026-05-07 10:09:12 UTC" }