competition-workflows

v2026.09.24

Kaggle competition notebook workflows and submissions. PROACTIVELY activate for: (1) submitting notebook outputs to competitions, (2) `kaggle competitions submit -k`, (3) downloading competition data, (4) validating submission.csv format, (5) leakage review, (6) cross-validation split design, (7) public leaderboard overfitting concerns, (8) competition rule compliance, (9) reproducible top-to-bottom notebook execution, (10) fold-aware preprocessing for ML pipelines. Provides: submission commands, validation checklist, leakage controls, and competition-ready notebook guidance.

GitHub
安装命令
npx skhub add josiahsiegel/competition-workflows
Markdown
SKILL.md

Competition Workflows

Overview

Use this skill for Kaggle competition workflows from data access through notebook execution and submission. Prioritize reproducibility, rule compliance, and leakage prevention over leaderboard-chasing shortcuts.

Submission from Notebook Output

Use the notebook-kernel submission form when submitting an output file produced by a notebook version:

kaggle competitions submit <competition> -k <owner/slug> -f <file> -v <version> -m "<message>"

Before submission, confirm the notebook run completed successfully, the output file exists, and the version number matches the intended run. Use notebook-lifecycle for status, logs, files, and output download commands.

Competition Data Access

Use Kaggle CLI or kagglehub for competition downloads. Attach competition sources in kernel-metadata.json when the notebook must run on Kaggle. Confirm users accepted competition rules before assuming downloads or submissions will work.

Submission Validation Checklist

  • Assert required columns, order, row count, and ID coverage.
  • Check for nulls, infinities, invalid labels, and out-of-range predictions.
  • Save outputs under /kaggle/working during Kaggle runs.
  • Verify the submitted filename exactly matches the generated artifact.
  • Include a concise submission message that identifies model/run changes without exposing secrets.

Leakage and Validation Review

Use group/time/stratified splits that match the competition structure. Apply preprocessing inside folds to avoid fitting transforms on validation data. Avoid using public leaderboard feedback as a validation set; repeated leaderboard probing can overfit. Confirm external data, pretrained models, internet access, and ensemble sources comply with rules.

Reproducibility Standards

Notebook should execute top-to-bottom from a clean Kaggle session. Set seeds for Python, NumPy, framework libraries, and splitters where applicable. Pin package versions when environment drift could affect results. Use a DEBUG flag to run small samples locally or during fast checks without changing final-run logic.

Common Failure Modes

SymptomCheck
Submission rejectedFilename, columns, rows, competition slug, accepted rules
Score impossibleLeakage, target contamination, ID mismatch, train/test merge mistake
Notebook output missingSave location, run failure, timeout, file pattern
Local score divergesSplit mismatch, fold leakage, random seeds, preprocessing outside folds

Safety and Limits

Do not bypass competition rules or suggest hidden test reconstruction, private data scraping, or external data not allowed by rules. Warn before long GPU/TPU training runs. If secrets are needed, advise Kaggle Secrets through the UI; do not claim public API support for secrets administration.

Sources

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

plugins/kaggle-master/skills/competition-workflows

默认分支

main

最新提交

5a1b112

Tree SHA

376c8e0