一键导入
source-command-verify-and-submit
Verify an already-built submission CSV then submit to Kaggle.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verify an already-built submission CSV then submit to Kaggle.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use this skill for any task in the cayley IHES Picture Cube project — training, solving, evaluation, ensembling, submission. Covers the full ML+search pipeline.
Strat-5 acceptance gate for a megaminx V model. Runs 51-pid stratified eval at beam 65k, compares to m05 baseline (50/51 / mean 89.4), reports pass/fail.
Run the top-N long-pid sym-ensemble rescue + merge cycle on the current best megaminx submission.
One-shot status across GCP solves, Kaggle kernels, and local runs for the megaminx competition.
Verify a megaminx submission CSV, submit to Kaggle, and update HANDOFF / SUBMISSION_JOURNEY / to_do_shortlist with the new score.
Pull the latest cayleypy-tpu-beam-smoke kernel output, aggregate per-rank JSONs, merge with current best, verify, and prep for submission.
| name | source-command-verify-and-submit |
| description | Verify an already-built submission CSV then submit to Kaggle. |
Use this skill when the user asks to run the migrated source command verify-and-submit.
Thin submit path: skip the combine/post-process pipeline, just verify a pre-built CSV and submit it to Kaggle. Use this when you already have a finalized submission CSV (e.g., from combine_submissions + post_process ran earlier, or a single-shot solve output that's already PP'd).
/verify-and-submit <csv_path> <description> — verify then submit./verify-and-submit <csv_path> --force <description> — submit even if verify reports any invalid paths (rarely needed; usually a verify failure = silent 999999 score).Confirm the CSV exists. Abort with a clear message if not.
Run verification:
.venv/Scripts/python.exe -c "
from pathlib import Path
import sys
sys.path.insert(0, 'src')
from cayley.puzzle import PictureCube
from cayley.verify import verify_submission
puzzle = PictureCube.load('data/puzzle_info.json')
r = verify_submission(puzzle, 'data/test.csv', '<csv_path>')
print(f'verify: {r.n_valid}/{r.n_total} valid, total_moves={r.total_moves}, all_valid={r.all_valid}')
sys.exit(0 if r.all_valid else 1)
"
Report the total_moves count and verification status.
If verify failed and --force not set, abort. Otherwise, ask user to confirm submission.
Submit:
export KAGGLE_API_TOKEN=$KAGGLE_API_TOKEN
.venv/Scripts/kaggle.exe competitions submit -c cayleypy-ihes-cube -f <csv_path> -m "<description>"
Check status:
.venv/Scripts/kaggle.exe competitions submissions cayleypy-ihes-cube | head -3
SubmissionStatus.COMPLETE with score 999999 (silent failure). Verification catches this before submission./submit instead.