본문으로 건너뛰기
cccskills
무료GitHub에 공개

matlab-model-code-generator

Generate and run minimal reproducible MATLAB or Beita Tianyuan compatible code for the human-approved main method and usable baseline, with compact experiment artifacts and a canonical run summary.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Preconditions

  • G2.5 human method choice is recorded.
  • code/matlab/Qx/qx_code_plan.md exists.
  • Required cleaned data and profile exist.
  • The plan targets MATLAB or 北太天元.

Legacy artifacts may be read during migration but do not override the human decision.

Workflow

  1. Read the code plan, decision ledger, method card, probe conditions, and data profile.
  2. Confirm scope: approved main plus usable baseline. Implement a fallback only after activation.
  3. Generate conservative .m files under code/matlab/Qx/.
  4. Prefer basic matrix/table operations and avoid optional toolboxes unless the plan approves them.
  5. Save tables, metrics, useful figures, and run_summary.json under results/Qx/experiments/roundN/.
  6. Evaluate output-degeneracy and fallback-trigger metrics required by the plan.
  7. Use diary or another full log only for a failure or reproducibility warning.
  8. Run in the available compatible runtime. If unavailable, report the unexecuted state explicitly.
  9. Hand off to code-reviewer.

Script Layout

code/matlab/Qx/
├── qx_code_plan.md
├── qx_baseline.m
├── qx_main.m
└── run_all.m        % only when useful

Do not create scripts for unapproved candidates or a duplicate README.

Compatibility Rules

  • Prefer readtable, readmatrix, writetable, writematrix, save, load, and fullfile.
  • Use rng(2026) or the recorded seed.
  • Use jsonencode when supported; otherwise write the required JSON fields deterministically.
  • Avoid Live Scripts, App Designer, GUI code, Simulink, and toolbox-only functions unless explicitly approved.
  • Note any 北太天元 compatibility risk in the run summary.

Run Summary

Follow the model-code-analyzer contract, including approved decision ID, roles, paths, metrics, output-degeneracy evidence, fallback state, timing, seed, environment, warnings, and errors.

Rules

  • Do not change the selected mathematical method.
  • Do not access or overwrite raw data.
  • Do not fabricate successful execution when MATLAB/北太天元 is unavailable.
  • Keep only evidence-bearing intermediate outputs.
  • Separate Type 1 diagnostics from paper figures.

Verification

  • Main and baseline are directly comparable and both executed when a runtime is available.
  • Fallback code exists only when activated.
  • Formal outputs and run summary exist.
  • Compatibility, seed, inputs, warnings, and errors are recorded.
  • Required concentration/degeneracy checks are saved.
  • Next handoff is code-reviewer.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Detect whether approved modeling code is Python or MATLAB/Beita Tianyuan and route it to the matching reviewer using the compact named-check review contract.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zhnnky329/MathModeling-skills1.1천2026년 9월 24일 업데이트

Audit whether the semantic evidence required by the active lean or submission profile exists and is current, without requiring one verbose artifact per skill or an arbitrary number of pass bullets.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zhnnky329/MathModeling-skills1.1천2026년 9월 24일 업데이트

Run scoped or final cross-media consistency checks for mathematical-modeling artifacts, comparing canonical numbers, symbols, parameters, decisions, files, and paper claims without performing full-workspace audits for low-risk changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zhnnky329/MathModeling-skills1.1천2026년 9월 24일 업데이트

Map contest attachments to subquestions, audit and clean raw data, and emit one reusable data profile with quality, coverage, imbalance, concentration, and method-readiness evidence for downstream risk screening.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zhnnky329/MathModeling-skills1.1천2026년 9월 24일 업데이트

Build one compact choice card at a genuine mathematical-modeling judgment point. Use before method screening, after a meaningful experiment, or before final claim/freeze approval so the human chooses the trade-off while AI handles mechanical consequences.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zhnnky329/MathModeling-skills1.1천2026년 9월 24일 업데이트

Plan the smallest set of diagnostic, comparison, paper, and appendix figures or tables needed to support verified mathematical-modeling decisions and claims.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

zhnnky329/MathModeling-skills1.1천2026년 9월 24일 업데이트

zhnnky329의 스킬 모두 보기

이 스킬의 문제 신고