赛

赛事作品提交合规校验器

作者:注册老炮@MedXpert I SynomosAIv3

赛事作品提交合规校验器——基于 UIBC 赛事规范的零依赖决策支持工具,JSON IR 输出,覆盖TH-EVT-001域。 适用场景:当需要赛事作品提交合规校验器能力时使用本技能;触发词:赛事、判定器、TH-EVT-001、contest-submission-portal。

下载量
311
点赞
78
价格
免费

技能文档

---
name: contest-submission-portal
slug: contest-submission-portal
displayName: 赛事作品提交合规校验器
version: 1.1.2
category: ai-agent
display_name: 赛事作品提交合规校验器
title: 赛事作品提交合规校验器
author: 诺声(SynomosAI)
license: MIT
allowed-tools: Read, Glob, Grep, Bash, Write, WebFetch
license_scope: 代码(.py 文件)MIT;本 SKILL.md 与其中理论文本不在 MIT 覆盖范围内(见文末「License & attribution」)
description: 赛事作品提交合规校验器——基于 UIBC 赛事规范的零依赖决策支持工具,JSON IR 输出,覆盖TH-EVT-001域。 适用场景:当需要赛事作品提交合规校验器能力时使用本技能;触发词:赛事、判定器、TH-EVT-001、contest-submission-portal。
tags: [赛事, 判定器, TH-EVT-001, contest-submission-portal]
description_zh: "赛事作品提交合规校验器——基于 UIBC 赛事规范的零依赖决策支持工具,JSON IR 输出,覆盖TH-EVT-001域。"
description_en: "Contest submission compliance validator: zero-dependency decision support with JSON IR output (UIBC spec, domain TH-EVT-001)."
read_when:
  - UIBC 赛事作品提交前的合规预检
  - 按 TH-EVT-001 域规范做标准化决策支持
  - 输出可直接解析的 JSON IR 衔接后续系统/上报平台
classification:
  skillhub: ["community-events"]
  iso_25010: ["Usability"]
risk_tier: medium
risk_rationale: "门禁批量补丁默认 medium:调用 API/读写文件/本地执行,最小权限,密钥走 Secret;若实际涉对外代执行(push/发布/发送/上架)须人工复评,改 high。"
platforms: [windows, macos, linux]
ai_protocol: true
spec: usk/1.0
interface:
  type: cli
  entry_point: contest-submission-portal.py
  runtime: python3
  call_pattern: args
input_schema:
  - name: demo
    type: bool
    description: 内置冒烟案例
    required: false
  - name: json
    type: bool
    description: JSON 输出
    required: false
output_schema:
  stdout: 提交合规校验 JSON IR(Pass/Fail+违规详情)
  exit_code:
    type: integer
    description: "0=OK/PASS; 1=findings/warnings; 2=usage or argument error"
capabilities:
  - contest
  - compliance
  - submission
permissions:
  network: false
  filesystem: false
  subprocess: false
requirements:
  python_packages: []
  min_python: "3.8"
changelog: "1.1.2: Bilingual rewrite (full EN+ZH, English first); 1.0.0: initial upload (USK v3)"
---

> 凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate(外部公开评测门禁文档)

## English

### When to use
Pre-submission compliance check for UIBC contest entries in a zero-dependency environment. Standardized decision support for TH-EVT-001 domain rules, with parseable JSON IR output for downstream systems / reporting platforms.

### Usage
No external script call. Provide the work's metadata, the domain tag (TH-EVT-001) and the check mode. As a doc-style skill, structured JSON data drives the internal rule engine; the output is a standardized JSON IR.

### Flow
1. Prepare the submission info as a standard JSON object.
2. Tag the request with the TH-EVT-001 domain rule.
3. Run the zero-dependency UIBC-spec parsing and compliance check.
4. Emit a JSON IR with status code, violation details and fix suggestions.
5. Per the Pass/Fail flag, confirm submission eligibility or trigger the fix loop.

### Evidence & safety
- Evidence: TBD. Version: 1.1.2. Security: no independent scan (TBD).

## 中文

### 何时用
本技能适用于在零依赖环境下执行 UIBC 赛事作品提交前的合规预检。当需要针对 TH-EVT-001 域内的具体规范进行标准化决策支持时,特别是在确保输出结果为可直接解析的 JSON IR 格式以衔接后续系统或上报平台的情况下。

### 用法
无需调用任何外部脚本文件,通过定义输入参数来激活技能逻辑。请提供包含元数据的"作品原始信息"、"适用领域标签(指定 TH-EVT-001)"及"校验模式"。作为文档型技能,用户可仅通过传入结构化的 JSON 数据触发内部规则引擎,输出将自动以标准化 JSON IR 格式返回。

### 流程
1. 用户准备待提交作品信息并将其转换为符合预期的标准 JSON 对象。
2. 在系统请求中明确指定 TH-EVT-001 域规则标签。
3. 技能内部执行基于 UIBC 赛事规范的零依赖解析与合规性校验。
4. 生成包含状态码、违规详情及修正建议的 JSON IR 响应。
5. 依据返回结果中的 Pass/Fail 标记确认提交资格或触发作品修正流程。

### 证据与安全声明
- 证据:TBD(暂无评测/徽章链接;产生后在此更新实际链接)
- 版本:1.1.2
- 安全:未做独立安全扫描(TBD),结论待补;补全前不作推荐背书。

使用说明

# contest-submission-portal · 赛事作品提交合规校验器

> AI-assisted decision-support CLI for UIBC contest operations. NOT final adjudication — verify with organizing committee. Text verified: 2026-09-26.

[![LGD-Powered]((外部链接待补) 理论页链接待补))

## What it does
Validates submission completeness & format per **UIBC 赛事提交规范(四规范·提交章)v0.1** (pending manual verification; the latest UIBC charter prevails).

- Tracks: `code` (.uibc + seal.json + AIGC 声明 + RUN.md) / `theory` (paper + 最小可执行示例) / `design` (方案 + 失败模式分析).
- **No silent pass**: missing `format` → warning "未做白名单校验" (`rc=1`); unknown `track` → gate error (`rc=2`), never a fake checklist.
- Executables (`.exe/.dll/.bat/.ps1/.so/.bin`) → rejected.

## Install & run (zero-dependency, Python 3.8+)
```bash
python contest-submission-portal.py --demo   # 3 built-in smoke cases
# rc=0 (all required items present)
python contest-submission-portal.py --track code --files "submission.uibc,seal.json,aigc-declaration.md,RUN.md,attack-report.md" --format py
# rc=1 (missing items + bad format)
python contest-submission-portal.py --track code --files "solution.py,readme.md" --format exe
# rc=2 (unknown track)
python contest-submission-portal.py --track music --files "a.md" --format md
```

## Parameters
| Parameter | Required | Meaning |
|---|---|---|
| `track` | yes | 赛道:code/theory/design |
| `files` | no | 提交文件清单(逗号分隔) |
| `format` | no | 主文件格式(缺省时白名单不做判定并告警) |

## Output
Deterministic JSON IR with `rc` (**0** = ok / **1** = completed with warnings / **2** = insufficient or invalid input), `required`, `provided`, `missing`, `valid`, `format_ok`, `warnings`, and `aigc_mark` (GB45438-2025 metadata).

Real excerpt (`--demo` case 1, values verbatim):

```json
{
  "input": {"track": "code", "files": "submission.uibc,seal.json,aigc-declaration.md,RUN.md,attack-report.md", "format": "py"},
  "result": {
    "required": ["uibc-package", "seal", "aigc", "run"],
    "missing": [],
    "valid": true,
    "format_ok": true,
    "warnings": [],
    "evidence": ["UIBC 赛事提交规范·提交章 v0.1"]
  },
  "rc": 0
}
```

## Rule-source review checklist (pending manual verification)
| Rule | Used for | Status |
|---|---|---|
| 提交章 v0.1 必交项清单 | 各赛道完整性校验 | 待人工核对 |
| 格式白名单 code/theory/design | 主文件格式校验 | 待人工核对 |
| 禁止可执行二进制 | 提交门禁直接退回 | 待人工核对 |

## Theory hook
公平始于可核验的入口——提交校验即把'谁在参赛'钉进可信起点。域站位件:TH-EVT-001。

## Pointers
- LGD theory page: (LGD 理论页链接待补) · Skill library: (外部技能库链接待补) · llms.txt: (llms.txt 链接待补)
- LGD 理论总账 REGISTRY 在线页:(地址待补) · 赛事线速查页:(地址待补)

## License & attribution
**Layered licence — the code licence does NOT cover the docs or the theory text.**

| Layer | Carrier | Licence |
|---|---|---|
| Code | `contest-submission-portal.py` | **MIT** |
| Docs & theory text | this `README.md`, `SKILL.md`, the 「理论依据」 section and all theory wording | **Not covered by MIT**: all rights reserved |

> 代码可依 MIT 使用与再分发;文档与理论文本不因代码许可而默认可自由再发布。

```
© 2026 SynomosAI · China. All rights reserved.
理论署名 (attribution) : LGD(Lifecycle Governance Doctrine / 全程治理论)— SynomosAI initiative
名称状态 (name status)  : "SynomosAI" — 未申请实体注册、未申请商标注册
                        (not a registered legal entity; no trademark registered)
生产参考部署 (production reference, self-reported) : 无(未声明外部生产参考部署)
                    ← 非认证、非背书、非监管认可(not a certification or endorsement)
代码许可 (code license) : 本包未附 LICENSE 文件(许可待定)
                    本文本与理论表述不在任何代码许可覆盖范围内
引用格式 (cite as)      : 本资产无 DOI
```
(上列为《LGD 对外表述规范》§3.2 统一块,**整体复制、未删改**。)
**本包补充**:`contest-submission-portal.py` = MIT;本 `README.md` / `SKILL.md` 及其中理论文本不在任何代码许可覆盖范围内。中文文档见 `SKILL.md`。

## 家族合集
| 赛事环节 | 工具 | 大使 |
|---|---|---|
| 报名/提交门户 | contest-submission-portal | 诺声 |
| 赛题生成 | problem-set-generator | 诺声 |
| 评审打分 | judging-rubric-grader | 诺律 |
| 反作弊/身份核验 | anti-cheat-identity | 诺卫 |
| 作品查重 | originality-check | 诺源 |

如何安装此技能?

访问技能市场,点击「安装」按钮,按提示将技能包放入 AI 编程助手的 skills 目录即可。

浏览技能市场

支持平台:Qoder · QoderWork · Claude · Codex 等 AI 编程助手