@orbit-build/cli 0.8.2 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/index.js +1407 -582
- package/package.json +1 -1
- package/skills/cumcm-draft/SKILL.md +92 -48
- package/skills/cumcm-draft/agents/openai.yaml +1 -1
- package/skills/cumcm-draft/assets/project-template/{code → .cumcm}/finalize.py +33 -4
- package/skills/cumcm-draft/assets/project-template/{paper/contest-profile.json → .cumcm/profile.json} +9 -6
- package/skills/cumcm-draft/assets/project-template/code/requirements.txt +1 -11
- package/skills/cumcm-draft/assets/project-template/paper/AI/345/267/245/345/205/267/344/275/277/347/224/250/350/257/246/346/203/205.tex +1 -11
- package/skills/cumcm-draft/assets/project-template/paper/main.tex +70 -11
- package/skills/cumcm-draft/references/code-and-output-style.md +9 -14
- package/skills/cumcm-draft/references/cumcm-compliance.md +28 -25
- package/skills/cumcm-draft/references/latex-figures-tables.md +1 -1
- package/skills/cumcm-draft/references/modeling-quality.md +1 -1
- package/skills/cumcm-draft/references/paper-architecture.md +3 -3
- package/skills/cumcm-draft/references/project-architecture.md +70 -89
- package/skills/cumcm-draft/scripts/audit_paper.py +37 -9
- package/skills/cumcm-draft/scripts/bootstrap_project.py +182 -56
- package/skills/cumcm-draft/scripts/build_paper.py +38 -23
- package/skills/cumcm-draft/scripts/capture_environment.py +3 -1
- package/skills/cumcm-draft/scripts/clean_project.py +7 -2
- package/skills/cumcm-draft/scripts/evidence_freeze.py +8 -4
- package/skills/cumcm-draft/scripts/finalize_project.py +4 -0
- package/skills/cumcm-draft/scripts/inspect_inputs.py +6 -4
- package/skills/cumcm-draft/scripts/package_support.py +41 -15
- package/skills/cumcm-draft/scripts/project_utils.py +40 -8
- package/skills/cumcm-draft/scripts/validate_project.py +374 -57
- package/skills/cumcm-draft/assets/project-template/code/always/__init__.py +0 -1
- package/skills/cumcm-draft/assets/project-template/code/always/config.py +0 -18
- package/skills/cumcm-draft/assets/project-template/code/always/data.py +0 -24
- package/skills/cumcm-draft/assets/project-template/code/always/plotting.py +0 -25
- package/skills/cumcm-draft/assets/project-template/code/always/validation.py +0 -21
- package/skills/cumcm-draft/assets/project-template/paper/sections/abstract.tex +0 -6
- package/skills/cumcm-draft/assets/project-template/paper/sections/ai-disclosure.tex +0 -3
- package/skills/cumcm-draft/assets/project-template/paper/sections/appendix.tex +0 -3
- package/skills/cumcm-draft/assets/project-template/paper/sections/assumptions.tex +0 -5
- package/skills/cumcm-draft/assets/project-template/paper/sections/data.tex +0 -19
- package/skills/cumcm-draft/assets/project-template/paper/sections/evaluation.tex +0 -9
- package/skills/cumcm-draft/assets/project-template/paper/sections/problem-analysis.tex +0 -3
- package/skills/cumcm-draft/assets/project-template/paper/sections/problem-restatement.tex +0 -3
- package/skills/cumcm-draft/assets/project-template/paper/sections/references.tex +0 -12
- package/skills/cumcm-draft/assets/project-template/paper/sections/source-code.tex +0 -1
- package/skills/cumcm-draft/assets/project-template/paper/sections/support-files.tex +0 -3
- /package/skills/cumcm-draft/assets/project-template/{paper → .cumcm}/ai-use-log.md +0 -0
package/package.json
CHANGED
|
@@ -6,6 +6,10 @@ description: Build, revise, or audit a CUMCM Chinese mathematical-modeling proje
|
|
|
6
6
|
# Build or revise a CUMCM paper
|
|
7
7
|
|
|
8
8
|
Deliver a compilable, evidence-backed project, not an outline or generic prose.
|
|
9
|
+
An end-to-end AI-generated project is a training artifact, not automatically a
|
|
10
|
+
submission-eligible contest entry. Claim submission readiness only when the
|
|
11
|
+
active profile records formal intent, team-led core modeling, and completed
|
|
12
|
+
manual review under the official AI rule.
|
|
9
13
|
Never invent a model, algorithm, datum, parameter, numerical result, validation,
|
|
10
14
|
or figure that the current code and artifacts do not support. Mark unresolved
|
|
11
15
|
facts visibly with `TODO[reason]`.
|
|
@@ -22,21 +26,28 @@ After one project inventory, begin implementation immediately:
|
|
|
22
26
|
3. Start the first substantive write within five tool calls after inventory.
|
|
23
27
|
Work in bounded batches: at most four write/edit calls per model response,
|
|
24
28
|
no giant all-project tool call, and leave enough output budget for valid
|
|
25
|
-
tool-call closure. Implement code/results first, then paper
|
|
29
|
+
tool-call closure. Implement code/results first, then `paper/main.tex` in
|
|
26
30
|
coherent groups; do not spend turns on cosmetic inspection between them.
|
|
27
|
-
4. Run `code/run_all.py`, repair its evidence, then
|
|
28
|
-
|
|
31
|
+
4. Run `code/run_all.py`, repair and freeze its evidence, then perform one
|
|
32
|
+
evidence-to-paper synchronization pass before calling the finalizer without
|
|
33
|
+
reading the finalizer's implementation. The finalizer is a terminal gate,
|
|
34
|
+
not a discovery tool: do not launch it while known code/result/paper
|
|
35
|
+
mismatches remain.
|
|
29
36
|
5. Spend remaining turns only on failed checks and rendered-page defects.
|
|
30
37
|
|
|
31
|
-
When the project-local finalizer exits with code 0
|
|
32
|
-
page rendering, packaging,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
When the project-local finalizer exits with code 0 and prints
|
|
39
|
+
`[ORBIT_TERMINAL_SUCCESS]`, the strict build, audit, page rendering, packaging,
|
|
40
|
+
and validation are already complete. Stop tool use immediately and return the
|
|
41
|
+
required final report. Do not edit code, evidence, figures, or paper sources;
|
|
42
|
+
write scratch verifier scripts; inspect build caches; re-parse the PDFs; or
|
|
43
|
+
rerun checks after a successful finalizer. A successful finalizer is the
|
|
44
|
+
terminal condition. If any source is intentionally changed afterward, the old
|
|
45
|
+
PDF, evidence freeze, and support archive are stale: return to the appropriate
|
|
46
|
+
earlier phase and run the finalizer again before claiming completion.
|
|
36
47
|
|
|
37
48
|
Do not repeat environment, path, template, or helper probes that already
|
|
38
49
|
succeeded. A progress plan must not delay the first substantive write.
|
|
39
|
-
If
|
|
50
|
+
If `.cumcm/input-inventory.json`, `.cumcm/profile.json`, `code/qN`, and
|
|
40
51
|
`paper/main.tex` already exist, the scaffold is ready: do not read the Skill
|
|
41
52
|
directory, helper sources, or every placeholder section. Read only the problem
|
|
42
53
|
inventory/data and the target files needed for the next bounded write batch.
|
|
@@ -79,6 +90,16 @@ Inspect the project before editing and choose one mode automatically:
|
|
|
79
90
|
- **Audit**: the user asks only for findings. Run read-only checks and report;
|
|
80
91
|
do not change project files.
|
|
81
92
|
|
|
93
|
+
Also classify submission intent in `.cumcm/profile.json`:
|
|
94
|
+
|
|
95
|
+
- `training`: Orbit may build an end-to-end rehearsal artifact, but the final
|
|
96
|
+
report must state that AI-led core modeling cannot be submitted as team-led
|
|
97
|
+
work without an independent team redo and review.
|
|
98
|
+
- `formal`: set this only after the team supplies or approves the core model,
|
|
99
|
+
assumptions, objective, validation design, and conclusions. Record
|
|
100
|
+
`core_modeling_led_by_team: true` and `manual_review_completed: true` only
|
|
101
|
+
after those facts are true. The finalizer rejects a formal profile otherwise.
|
|
102
|
+
|
|
82
103
|
For revision, read every relevant problem/attachment, latest code directory,
|
|
83
104
|
`results/`, `figures/`, current TeX/PDF, and any excellent-paper directory.
|
|
84
105
|
Reference papers guide structure and comparison only; they are never a source
|
|
@@ -137,13 +158,13 @@ the canonical layout.
|
|
|
137
158
|
The bootstrap is additive and idempotent. It may add missing q-folders and
|
|
138
159
|
orchestrator entries, but must not overwrite authored content. Confirm the
|
|
139
160
|
current official CUMCM format, participation, and AI-use sources before each
|
|
140
|
-
new contest cycle, record them in
|
|
161
|
+
new contest cycle, record them in `.cumcm/profile.json`, and use the
|
|
141
162
|
bundled `cumcm-2026` profile only while those sources remain current.
|
|
142
163
|
|
|
143
164
|
### 2. Plan evidence before prose
|
|
144
165
|
|
|
145
|
-
Maintain
|
|
146
|
-
an in-project `results/` source,
|
|
166
|
+
Maintain `.cumcm/evidence-map.yaml`. Every material claim needs an identifier,
|
|
167
|
+
an in-project `results/` source, `paper/main.tex` as its paper target, and status
|
|
147
168
|
`TODO` or `verified`. Define each subproblem's variables, units, constraints,
|
|
148
169
|
parameter sources, candidate methods, selection reason, data dependencies,
|
|
149
170
|
outputs, and validation. For decision or forecasting tasks, classify every
|
|
@@ -152,8 +173,9 @@ the outcome. Record explicit upstream artifact contracts between subproblems.
|
|
|
152
173
|
|
|
153
174
|
### 3. Implement and run
|
|
154
175
|
|
|
155
|
-
-
|
|
156
|
-
|
|
176
|
+
- Create a shared code module only after two or more questions actually reuse
|
|
177
|
+
the same configuration/loading/plotting/validation logic. Do not scaffold an
|
|
178
|
+
empty `always` or `common` package pre-emptively. Give every generated artifact one producing subproblem and
|
|
157
179
|
store it in `results/qN`. Downstream questions may read an upstream qN result;
|
|
158
180
|
do not create `results/always`, `results/shared`, or another ownerless result
|
|
159
181
|
directory. Keep each `main.py` orchestral. After reading the problem, name
|
|
@@ -196,29 +218,34 @@ the outcome. Record explicit upstream artifact contracts between subproblems.
|
|
|
196
218
|
column headers, Excel worksheet names, and Excel table headers in Chinese;
|
|
197
219
|
include units in the header when applicable; and retain standard symbols or
|
|
198
220
|
abbreviations only after the Chinese meaning, such as `均方根误差(RMSE)`.
|
|
199
|
-
Encode CSV/TSV with UTF-8-SIG for reliable Excel display.
|
|
200
|
-
|
|
201
|
-
|
|
221
|
+
Encode CSV/TSV with UTF-8-SIG for reliable Excel display. Do not emit a
|
|
222
|
+
generic `summary.json` into results merely to satisfy the workflow; evidence
|
|
223
|
+
claims must point to the real Chinese-named result artifact. Workflow state
|
|
224
|
+
and reproducibility metadata belong under `.cumcm/`, not `results/`.
|
|
225
|
+
- Give every final figure a descriptive Chinese filename that states what is
|
|
226
|
+
shown. Names such as `summary.png`, `plot.png`, `figure.png`, `output.png`,
|
|
227
|
+
or `final.png` are invalid even when the graphic itself is correct.
|
|
202
228
|
- Preserve a non-Chinese filename, header, or worksheet name only when the
|
|
203
229
|
problem statement or supplied fill-in template fixes it. Do not translate or
|
|
204
230
|
silently reshape that prescribed schema. Register the exact output path,
|
|
205
231
|
immutable `question/` source (or root-level problem input), reason, and only
|
|
206
232
|
the necessary allowances in
|
|
207
|
-
|
|
233
|
+
`.cumcm/profile.json.result_artifacts.fixed_schema_exceptions` so the
|
|
208
234
|
finalizer can distinguish a contest requirement from an accidental English
|
|
209
235
|
artifact. The finalizer requires every waived field to match that cited
|
|
210
236
|
source; citation without schema congruence is rejected. Internal convenience
|
|
211
237
|
and cross-question code contracts are not
|
|
212
238
|
exceptions; use a Chinese persisted schema and validate it explicitly.
|
|
213
|
-
-
|
|
214
|
-
|
|
239
|
+
- Keep `paper/` compact throughout the workflow: `main.tex`,
|
|
240
|
+
`AI工具使用详情.tex`, their final PDFs, and `支撑材料.zip` only (plus
|
|
241
|
+
unavoidable compiler files when an external editor creates them). Never
|
|
242
|
+
expose `paper/sections/` or `paper/build/`; generated appendices and build
|
|
243
|
+
caches belong under `.cumcm/`. Keep
|
|
215
244
|
internal CSV/JSON evidence under `results/qN`. Package code, necessary
|
|
216
245
|
machine-readable results, larger intermediate figures, and the AI details PDF
|
|
217
246
|
into the support ZIP before removing any reproducible workspace figures.
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
sections into one root `main.tex`; do not retain a `sections/` directory in a
|
|
221
|
-
single-author compact handoff.
|
|
247
|
+
Do not remove reproducible figures that are cited by the paper or required by
|
|
248
|
+
the support archive.
|
|
222
249
|
|
|
223
250
|
```powershell
|
|
224
251
|
python <project-root>/code/run_all.py
|
|
@@ -226,11 +253,19 @@ python "<skill-root>/scripts/capture_environment.py" <project-root>
|
|
|
226
253
|
```
|
|
227
254
|
|
|
228
255
|
Once numerical outputs and figures have been accepted, treat them as a frozen
|
|
229
|
-
phase. The finalizer records their hashes in
|
|
256
|
+
phase. The finalizer records their hashes in `.cumcm/evidence-freeze.json`.
|
|
230
257
|
After that file exists, `--run-code` fails closed instead of silently changing
|
|
231
258
|
accepted facts. Recalculation requires an explicit user request and the paired
|
|
232
259
|
flags `--run-code --refresh-evidence`.
|
|
233
260
|
|
|
261
|
+
Before finalization, do exactly one bounded evidence-to-paper synchronization
|
|
262
|
+
pass: compare the generated summaries and material result tables with the
|
|
263
|
+
abstract, every numbered-question section, conclusion, evidence map, and
|
|
264
|
+
AI-use record. Resolve every stale value, filename, unit, and claim before
|
|
265
|
+
launching the finalizer. If code or evidence changes during paper authoring,
|
|
266
|
+
rerun the affected producer and repeat this synchronization pass; never leave a
|
|
267
|
+
newer TeX source paired with an older PDF or support archive.
|
|
268
|
+
|
|
234
269
|
### 4. Write or revise from evidence
|
|
235
270
|
|
|
236
271
|
Use one major `\section` per numbered question so the paper maps directly to
|
|
@@ -277,20 +312,22 @@ temporary caches unless the problem explicitly requires them.
|
|
|
277
312
|
|
|
278
313
|
### 5. Audit, build, package, and inspect every page
|
|
279
314
|
|
|
280
|
-
Use the
|
|
315
|
+
Use the `run_tests` tool—not the generic shell tool—for the one-command
|
|
316
|
+
finalizer after the substantive code and paper are complete. `run_tests`
|
|
317
|
+
records verification evidence and the trusted terminal-completion contract:
|
|
281
318
|
|
|
282
319
|
```powershell
|
|
283
|
-
python <project-root
|
|
320
|
+
python <project-root>/.cumcm/finalize.py --run-code --strict-layout --render-pages
|
|
284
321
|
```
|
|
285
322
|
|
|
286
323
|
Use `--run-code` for the first finalization only. For later typography,
|
|
287
324
|
appendix, disclosure, packaging, or audit repairs, omit it:
|
|
288
325
|
|
|
289
326
|
```powershell
|
|
290
|
-
python <project-root
|
|
327
|
+
python <project-root>/.cumcm/finalize.py --strict-layout --render-pages
|
|
291
328
|
```
|
|
292
329
|
|
|
293
|
-
The project-local launcher executes the active Skill's trusted finalizer without
|
|
330
|
+
The private project-local launcher under `.cumcm/` executes the active Skill's trusted finalizer without
|
|
294
331
|
requiring a shell command outside the workspace. It records the environment,
|
|
295
332
|
rebuilds with local TeX Live, audits and optionally
|
|
296
333
|
renders every page, packages support materials, and runs strict validation. Its
|
|
@@ -319,22 +356,28 @@ TeX sources, final PDFs, or unknown files.
|
|
|
319
356
|
|
|
320
357
|
## AI-use compliance
|
|
321
358
|
|
|
322
|
-
Using this Skill is itself AI assistance. Apply the official
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
359
|
+
Using this Skill is itself AI assistance. Apply the official 2026 trial AI
|
|
360
|
+
rule: place a dedicated `AI工具使用声明` immediately before the references. For
|
|
361
|
+
this Skill, use the official used-AI sentence exactly, replacing only its
|
|
362
|
+
bracketed purpose:
|
|
363
|
+
|
|
364
|
+
`本参赛队在竞赛过程中使用了AI工具,主要用于〖简要用途,如语言润色、代码调试等〗,详细使用情况见支撑材料。`
|
|
365
|
+
|
|
366
|
+
Include `AI工具使用详情.pdf` inside the support ZIP. It must record the actual
|
|
367
|
+
tool and model, purpose and stage, major prompting approach and usage process,
|
|
368
|
+
and the principal adoption, manual changes, and verification; typical
|
|
369
|
+
interactions may be included but are not mandatory. The 2026 rule does not
|
|
370
|
+
require per-paragraph AI markers or an AI-tool bibliography entry, so do not
|
|
371
|
+
invent those as official gates. The unused declaration is impossible when this
|
|
372
|
+
Skill contributed to the work.
|
|
373
|
+
|
|
374
|
+
Do not rewrite deep AI participation as team-independent core modeling. The
|
|
375
|
+
official rule requires the team to lead core modeling and analysis and manually
|
|
376
|
+
review and verify every AI-assisted contribution. If AI performed core modeling
|
|
377
|
+
or analysis in a training artifact, disclose that fact and warn that the
|
|
378
|
+
artifact cannot be submitted as an independently completed contest entry
|
|
379
|
+
without being independently redone and verified by the team. Never present an
|
|
380
|
+
unofficial AIGC/AIDC percentage as an official threshold.
|
|
338
381
|
|
|
339
382
|
## Completion gate
|
|
340
383
|
|
|
@@ -343,8 +386,9 @@ all q1/q2/... paths align; code runs; every reported number is evidence-linked;
|
|
|
343
386
|
assumptions, units, limitations, and validation are explicit; figures and code
|
|
344
387
|
appendix are current; TeX compiles under local TeX Live; the final PDF passes
|
|
345
388
|
page-by-page inspection; package contents satisfy the active profile; and every
|
|
346
|
-
remaining TODO or manual decision is reported.
|
|
389
|
+
remaining TODO or manual decision is reported. A formal profile additionally
|
|
390
|
+
requires truthful team-led core modeling and completed manual AI review flags.
|
|
347
391
|
|
|
348
392
|
The final response should contain only: material changes, defects fixed,
|
|
349
|
-
numerical consistency result, compile/layout verification,
|
|
350
|
-
absolute paths to final files.
|
|
393
|
+
numerical consistency result, compile/layout verification, submission
|
|
394
|
+
intent/eligibility, remaining TODOs, and absolute paths to final files.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "CUMCM Draft"
|
|
3
3
|
short_description: "Complete CUMCM paper, code, PDF, AI record, and support ZIP"
|
|
4
|
-
default_prompt: "Use $cumcm-draft to audit the current official CUMCM rules, read every problem and attachment,
|
|
4
|
+
default_prompt: "Use $cumcm-draft to audit the current official CUMCM rules, read every problem and attachment, build runnable responsibility-based q1/q2 code and Chinese-named evidence/figures, keep paper/ limited to main.tex, AI details, and final deliverables, write and inspect the full Chinese paper, and package the matching PDF/ZIP pair. Treat AI-led core modeling as training work unless team leadership and manual review are documented for formal submission."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: false
|
|
@@ -18,8 +18,33 @@ def resolve_finalizer() -> Path:
|
|
|
18
18
|
candidate = Path(development_root).resolve() / "scripts" / "finalize_project.py"
|
|
19
19
|
if candidate.is_file() and not candidate.is_symlink():
|
|
20
20
|
return candidate
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
configured_roots = (
|
|
22
|
+
os.environ.get("ORBIT_SKILLS_DIRS")
|
|
23
|
+
or os.environ.get("ORBIT_SKILLS_DIR")
|
|
24
|
+
or ""
|
|
25
|
+
)
|
|
26
|
+
for raw_root in configured_roots.replace(",", ";").split(";"):
|
|
27
|
+
if not raw_root.strip():
|
|
28
|
+
continue
|
|
29
|
+
root = Path(os.path.expanduser(raw_root.strip())).resolve()
|
|
30
|
+
candidates = (
|
|
31
|
+
[root / "cumcm-draft", root]
|
|
32
|
+
if root.name != "cumcm-draft"
|
|
33
|
+
else [root]
|
|
34
|
+
)
|
|
35
|
+
for skill_root in candidates:
|
|
36
|
+
candidate = skill_root / "scripts" / "finalize_project.py"
|
|
37
|
+
if candidate.is_file() and not candidate.is_symlink():
|
|
38
|
+
return candidate
|
|
39
|
+
personal = (
|
|
40
|
+
Path.home()
|
|
41
|
+
/ ".orbit"
|
|
42
|
+
/ "skills"
|
|
43
|
+
/ "cumcm-draft"
|
|
44
|
+
/ "scripts"
|
|
45
|
+
/ "finalize_project.py"
|
|
46
|
+
)
|
|
47
|
+
if personal.is_file() and not personal.is_symlink():
|
|
23
48
|
return personal
|
|
24
49
|
orbit = shutil.which("orbit")
|
|
25
50
|
if orbit:
|
|
@@ -41,8 +66,12 @@ def resolve_finalizer() -> Path:
|
|
|
41
66
|
for skill in payload.get("skills", []):
|
|
42
67
|
if skill.get("name") != "cumcm-draft":
|
|
43
68
|
continue
|
|
44
|
-
candidate =
|
|
45
|
-
|
|
69
|
+
candidate = (
|
|
70
|
+
Path(str(skill.get("path", ""))).resolve().parent
|
|
71
|
+
/ "scripts"
|
|
72
|
+
/ "finalize_project.py"
|
|
73
|
+
)
|
|
74
|
+
if candidate.is_file() and not candidate.is_symlink():
|
|
46
75
|
return candidate
|
|
47
76
|
raise SystemExit(
|
|
48
77
|
"Active cumcm-draft finalizer is missing. Run `orbit skills list` "
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": 1,
|
|
3
3
|
"profile": "cumcm-2026",
|
|
4
|
-
"rules_checked_at": "2026-08-
|
|
4
|
+
"rules_checked_at": "2026-08-15",
|
|
5
5
|
"rules_expires_at": "2026-09-30",
|
|
6
6
|
"paper": {
|
|
7
7
|
"max_pdf_mb": 20,
|
|
@@ -17,20 +17,23 @@
|
|
|
17
17
|
"require_chinese_filenames": true,
|
|
18
18
|
"require_chinese_headers": true,
|
|
19
19
|
"require_chinese_sheet_names": true,
|
|
20
|
+
"require_chinese_figure_filenames": true,
|
|
20
21
|
"require_utf8_sig_csv": true,
|
|
21
22
|
"fixed_schema_exceptions": []
|
|
22
23
|
},
|
|
23
24
|
"ai": {
|
|
24
|
-
"policy": "cumcm-
|
|
25
|
+
"policy": "cumcm-2026-trial",
|
|
25
26
|
"used": true,
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
27
|
+
"submission_intent": "training",
|
|
28
|
+
"core_modeling_led_by_team": false,
|
|
29
|
+
"manual_review_completed": false,
|
|
30
|
+
"declaration_required": true,
|
|
31
|
+
"declaration_before_references": true,
|
|
29
32
|
"details_pdf_required": true
|
|
30
33
|
},
|
|
31
34
|
"sources": [
|
|
32
35
|
"https://www.mcm.edu.cn/html_cn/node/4cd596519c9eb9fbd866398f6df0caa3.html",
|
|
33
36
|
"https://www.mcm.edu.cn/html_cn/node/9d8e511fe7a1447b35f53a82c908e2e0.html",
|
|
34
|
-
"https://
|
|
37
|
+
"https://www.mcm.edu.cn/html_cn/node/fef94648f2836ab6cc81586f4c38512b.html"
|
|
35
38
|
]
|
|
36
39
|
}
|
|
@@ -17,17 +17,7 @@
|
|
|
17
17
|
\TODO{逐项填写实际工具名称、版本、模型、提供方,以及使用阶段和用途。}
|
|
18
18
|
|
|
19
19
|
\section{主要提示方式与过程}
|
|
20
|
-
\TODO{
|
|
21
|
-
|
|
22
|
-
\section{关键交互记录}
|
|
23
|
-
\renewcommand{\arraystretch}{1.15}
|
|
24
|
-
\begin{longtable}{@{}L{0.06\textwidth}L{0.26\textwidth}L{0.31\textwidth}L{0.25\textwidth}@{}}
|
|
25
|
-
\hline
|
|
26
|
-
序号 & 重要提示词(摘要) & AI回复(摘要) & 采纳及人工修改 \\
|
|
27
|
-
\hline
|
|
28
|
-
1 & \TODO{填写真实提示词} & \TODO{填写真实回复要点} & \TODO{填写采纳与修改} \\
|
|
29
|
-
\hline
|
|
30
|
-
\end{longtable}
|
|
20
|
+
\TODO{概述如何提供题目、代码和证据约束以及实际使用过程;不得虚构未发生的交互。必要时可附典型交互示例。}
|
|
31
21
|
|
|
32
22
|
\section{采纳、人工修改与核验}
|
|
33
23
|
\renewcommand{\arraystretch}{1.3}
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
\pagestyle{plain}
|
|
57
57
|
\newcommand{\TODO}[1]{\textcolor{red}{\textbf{TODO[#1]}}}
|
|
58
58
|
\newcommand{\papertitle}{TODO[填写能够概括方法与对象的论文标题]}
|
|
59
|
-
\newcommand{\AIUseMark}{\textsuperscript{\cite{ai-tool}}}
|
|
60
59
|
|
|
61
60
|
\begin{document}
|
|
62
61
|
|
|
@@ -65,22 +64,82 @@
|
|
|
65
64
|
\end{center}
|
|
66
65
|
|
|
67
66
|
\vspace{1.2em}
|
|
68
|
-
\
|
|
67
|
+
\noindent\textbf{摘要:}
|
|
68
|
+
\TODO{写清研究对象、每问采用的方法、关键数值结果及主要检验;不写背景套话。}
|
|
69
|
+
|
|
70
|
+
\vspace{0.8em}
|
|
71
|
+
\noindent\textbf{关键词:}
|
|
72
|
+
\TODO{填写3--5个能够检索模型与研究对象的关键词}
|
|
69
73
|
|
|
70
74
|
\clearpage
|
|
71
75
|
\setcounter{page}{2}
|
|
72
|
-
|
|
73
|
-
\
|
|
74
|
-
|
|
75
|
-
\
|
|
76
|
-
|
|
77
|
-
\
|
|
78
|
-
|
|
79
|
-
\
|
|
76
|
+
|
|
77
|
+
\section{问题重述}
|
|
78
|
+
|
|
79
|
+
\TODO{用自己的语言凝练任务、对象、输入与交付物,不逐句抄写题面。}
|
|
80
|
+
|
|
81
|
+
\section{问题分析}
|
|
82
|
+
|
|
83
|
+
\TODO{说明各小题之间的数据流、约束关系与总体求解路线。若依赖关系复杂,插入一张信息密度足够的流程图。}
|
|
84
|
+
|
|
85
|
+
\section{模型假设}
|
|
86
|
+
|
|
87
|
+
\begin{enumerate}
|
|
88
|
+
\item \TODO{给出必要假设,并说明它会排除什么情形或带来何种偏差。}
|
|
89
|
+
\end{enumerate}
|
|
90
|
+
|
|
91
|
+
\section{符号说明与数据预处理}
|
|
92
|
+
|
|
93
|
+
\subsection{主要符号}
|
|
94
|
+
|
|
95
|
+
\begin{table}[H]
|
|
96
|
+
\centering
|
|
97
|
+
\caption{主要符号及含义}
|
|
98
|
+
\begin{tabular}{cll}
|
|
99
|
+
\toprule
|
|
100
|
+
符号 & 含义 & 单位 \\
|
|
101
|
+
\midrule
|
|
102
|
+
\TODO{符号} & \TODO{含义} & \TODO{单位} \\
|
|
103
|
+
\bottomrule
|
|
104
|
+
\end{tabular}
|
|
105
|
+
\end{table}
|
|
106
|
+
|
|
107
|
+
\subsection{数据审计与预处理}
|
|
108
|
+
|
|
109
|
+
\TODO{报告数据规模、缺失、异常、重复、单位转换和预处理原则,并保留关键诊断证据。}
|
|
110
|
+
|
|
111
|
+
% ORBIT:QUESTIONS:BEGIN
|
|
112
|
+
% 问题分节由 bootstrap_project.py 在此处增补;完成后直接在本文件中写作。
|
|
113
|
+
% ORBIT:QUESTIONS:END
|
|
114
|
+
|
|
115
|
+
\section{模型评价与推广}
|
|
116
|
+
|
|
117
|
+
\subsection{模型优点}
|
|
118
|
+
|
|
119
|
+
\TODO{结合本题证据说明可解释性、精度、稳健性或计算效率,避免空泛形容。}
|
|
120
|
+
|
|
121
|
+
\subsection{模型局限与改进}
|
|
122
|
+
|
|
123
|
+
\TODO{指出假设、数据、算法或外推范围造成的具体限制,并给出可执行改进方向。}
|
|
124
|
+
|
|
125
|
+
\section*{AI工具使用声明}
|
|
126
|
+
|
|
127
|
+
本参赛队在竞赛过程中使用了AI工具,主要用于\TODO{简要填写实际用途,如语言润色、代码调试等},详细使用情况见支撑材料。
|
|
128
|
+
|
|
129
|
+
{\footnotesize
|
|
130
|
+
\begin{thebibliography}{99}
|
|
131
|
+
\setlength{\itemsep}{0.2em}
|
|
132
|
+
|
|
133
|
+
\bibitem{todo-reference}
|
|
134
|
+
\TODO{按正文首次引用顺序补充真实、可核验的参考文献。}
|
|
135
|
+
|
|
136
|
+
\end{thebibliography}
|
|
137
|
+
}
|
|
80
138
|
\label{body-end}
|
|
81
139
|
|
|
82
140
|
\clearpage
|
|
83
141
|
\appendix
|
|
84
|
-
\input{
|
|
142
|
+
\IfFileExists{../.cumcm/generated/support-files.tex}{\input{../.cumcm/generated/support-files.tex}}{}
|
|
143
|
+
\IfFileExists{../.cumcm/generated/source-code.tex}{\input{../.cumcm/generated/source-code.tex}}{}
|
|
85
144
|
|
|
86
145
|
\end{document}
|
|
@@ -8,25 +8,19 @@ Use responsibility-based modules after reading the actual problem. For example:
|
|
|
8
8
|
code/
|
|
9
9
|
├── requirements.txt
|
|
10
10
|
├── run_all.py
|
|
11
|
-
├──
|
|
12
|
-
│ ├── __init__.py
|
|
13
|
-
│ ├── config.py
|
|
14
|
-
│ ├── data.py
|
|
15
|
-
│ ├── plotting.py
|
|
16
|
-
│ └── validation.py
|
|
17
|
-
└── qN/
|
|
18
|
-
├── __init__.py
|
|
11
|
+
├── qN/
|
|
19
12
|
├── main.py
|
|
20
13
|
├── preprocessing.py
|
|
21
14
|
├── forecasting.py
|
|
22
15
|
├── evaluation.py
|
|
23
16
|
└── reporting.py
|
|
17
|
+
└── common/ # only after real cross-question reuse exists
|
|
24
18
|
```
|
|
25
19
|
|
|
26
20
|
The names above are examples, not a fixed template. Another question may need
|
|
27
21
|
`simulation.py`, `policy_search.py`, or `sensitivity.py`. Create only modules
|
|
28
22
|
that carry real logic, keep `main.py` orchestral, and keep dependencies one-way:
|
|
29
|
-
`main -> domain logic ->
|
|
23
|
+
`main -> domain logic -> optional shared logic`.
|
|
30
24
|
|
|
31
25
|
Avoid these patterns:
|
|
32
26
|
|
|
@@ -74,8 +68,7 @@ pipeline = make_pipeline(transformer, estimator)
|
|
|
74
68
|
|
|
75
69
|
For each `results/qN` prefer:
|
|
76
70
|
|
|
77
|
-
-
|
|
78
|
-
- `.csv`: tidy tables and diagnostics;
|
|
71
|
+
- Chinese-named `.csv`/`.xlsx`: primary claims, tidy tables, and diagnostics;
|
|
79
72
|
- `.txt` or `.md`: short model rules or readable explanations;
|
|
80
73
|
- serialized model only when later questions need it;
|
|
81
74
|
- completed `.xlsx` only when the problem requests a filled workbook.
|
|
@@ -90,13 +83,13 @@ All leaf tabular evidence is Chinese-facing by default:
|
|
|
90
83
|
- use Chinese Excel worksheet names and Chinese table headers for generated
|
|
91
84
|
workbooks;
|
|
92
85
|
- write CSV and TSV with UTF-8-SIG so Chinese text opens correctly in Excel;
|
|
93
|
-
- keep
|
|
94
|
-
`
|
|
86
|
+
- keep workflow state, evidence maps, environment capture, and freeze manifests
|
|
87
|
+
under `.cumcm/`; do not leak a synthetic `summary.json` into final results.
|
|
95
88
|
|
|
96
89
|
Do not translate a filename, field, column order, or worksheet name that the
|
|
97
90
|
problem or a supplied fill-in template explicitly fixes. Record that exact
|
|
98
91
|
exception in
|
|
99
|
-
|
|
92
|
+
`.cumcm/profile.json.result_artifacts.fixed_schema_exceptions`:
|
|
100
93
|
|
|
101
94
|
```json
|
|
102
95
|
{
|
|
@@ -121,6 +114,8 @@ write outputs into `question/`.
|
|
|
121
114
|
For each `figures/qN`:
|
|
122
115
|
|
|
123
116
|
- save only figures used or directly useful in the paper;
|
|
117
|
+
- use descriptive Chinese filenames; reject generic names such as
|
|
118
|
+
`summary.png`, `plot.png`, `figure.png`, `output.png`, and `final.png`;
|
|
124
119
|
- prefer vector PDF for line art plus a high-resolution PNG fallback;
|
|
125
120
|
- use Chinese-capable fonts and minus-sign handling;
|
|
126
121
|
- label axes and colorbars with units;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# CUMCM compliance profile
|
|
2
2
|
|
|
3
|
-
Checked against the official CUMCM site on 2026-08-
|
|
3
|
+
Checked against the official CUMCM site on 2026-08-15. Recheck the official
|
|
4
4
|
site at the start of every contest cycle; newer organizer material and supplied
|
|
5
5
|
regional requirements outrank this reference.
|
|
6
6
|
|
|
@@ -30,37 +30,40 @@ Official format source:
|
|
|
30
30
|
|
|
31
31
|
## Current AI-use rule
|
|
32
32
|
|
|
33
|
-
The
|
|
34
|
-
|
|
33
|
+
The organizer published the Chinese “2026 trial” AI-use rule on 2026-08-03,
|
|
34
|
+
effective from 2026-09-01. It supersedes inconsistent earlier rules:
|
|
35
35
|
|
|
36
|
-
1. Treat language models, generative AI, code assistants,
|
|
37
|
-
|
|
38
|
-
2. Keep core modeling and analysis team-led
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
36
|
+
1. Treat large language models, generative AI, code assistants, and AI agents
|
|
37
|
+
as AI tools.
|
|
38
|
+
2. Keep core modeling and analysis team-led. Manually review and verify every
|
|
39
|
+
AI-assisted contribution; the team remains responsible for originality,
|
|
40
|
+
truthfulness, and accuracy.
|
|
41
|
+
3. Put an `AI工具使用声明` immediately before the references and use exactly one
|
|
42
|
+
official branch:
|
|
43
|
+
- unused: `本参赛队在竞赛过程中未使用任何AI工具。`
|
|
44
|
+
- used: `本参赛队在竞赛过程中使用了AI工具,主要用于〖简要用途,如语言润色、代码调试等〗,详细使用情况见支撑材料。`
|
|
45
|
+
4. For used AI, put `AI工具使用详情.pdf` in the support archive. Record tool
|
|
46
|
+
name and version/model, purpose and stage, major prompting approach and
|
|
47
|
+
usage process, and principal adoption, manual modification, and verification.
|
|
48
|
+
Typical interaction examples are optional.
|
|
49
|
+
5. The 2026 rule does not require inline body markers or an AI-tool bibliography
|
|
50
|
+
entry. Do not mislabel those older requirements as current official gates.
|
|
51
|
+
6. Concealment, a false declaration, or directly submitting unreviewed AI core
|
|
52
|
+
modeling/analysis can cancel award eligibility.
|
|
48
53
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
when rechecked on 2026-08-12, so use the accessible official English mirror for
|
|
52
|
-
the full text until the organizer restores or replaces the Chinese page:
|
|
53
|
-
<https://en.mcm.edu.cn/html_en/node/b87f1a9b1dbbd987f56513609f416722.html>
|
|
54
|
+
Official 2026 AI-use rule:
|
|
55
|
+
<https://www.mcm.edu.cn/html_cn/node/fef94648f2836ab6cc81586f4c38512b.html>
|
|
54
56
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
The 2026 participation rule explicitly allows AI only as an auxiliary tool and
|
|
59
|
-
requires compliance with the AI-use rule:
|
|
57
|
+
The 2026 participation rule permits AI as an auxiliary tool and requires
|
|
58
|
+
compliance with the current AI-use rule:
|
|
60
59
|
<https://www.mcm.edu.cn/html_cn/node/9d8e511fe7a1447b35f53a82c908e2e0.html>
|
|
61
60
|
|
|
62
61
|
## Guardrails
|
|
63
62
|
|
|
63
|
+
- Keep `ai.submission_intent` as `training` for end-to-end AI-led rehearsal
|
|
64
|
+
work. Change it to `formal` only when the team actually led the core model and
|
|
65
|
+
analysis and completed item-by-item manual review; record both facts in the
|
|
66
|
+
active contest profile.
|
|
64
67
|
- A training artifact substantially modeled or written by AI cannot truthfully
|
|
65
68
|
be relabeled as team-independent core work. Preserve the disclosure and require
|
|
66
69
|
an independent redo before formal submission.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Page system
|
|
4
4
|
|
|
5
5
|
- Use `ctexart` with XeLaTeX for Chinese.
|
|
6
|
-
- Use the supplied contest template and
|
|
6
|
+
- Use the supplied contest template and `.cumcm/profile.json`; for the
|
|
7
7
|
bundled CUMCM 2026 profile use A4 and margins of at least 2.5 cm.
|
|
8
8
|
- Keep the electronic first page as title, abstract, and keywords only.
|
|
9
9
|
- Center Arabic page numbers in the footer starting at 1.
|