Logo Experiment Log

Experiment Log

Cộng đồng
WalrusQuant
experiment-log

Record sports-modeling experiments with the hypothesis, data cut, validation charter, metrics, leakage status, decision, commands, and artifacts. Use for trials, model comparisons, and reproducible research history.

Add to TypingMind

Tổng quan

Nhà phát hànhWalrusQuant
Kho mãsports-analytic-skills
Tên kỹ năngexperiment-log
Sao
53
Bản fork
4
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được WalrusQuant công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Experiment Log trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/WalrusQuant/sports-analytic-skills/tree/main/skills/experiment-log
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/WalrusQuant/sports-analytic-skills.git /tmp/sports-analytic-skills
mkdir -p .claude/skills
cp -r /tmp/sports-analytic-skills/skills/experiment-log .claude/skills/experiment-log
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Experiment Log trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Experiment Log ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Experiment Log với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Experiment Log

When to Use This Skill

Use when:

  • starting a modeling experiment that should be comparable later;
  • the user asks “what did we try?” or needs a decision history;
  • promoting/rejecting candidates under a locked validation design;
  • recording failures, deviations, and why a model was or was not shipped.

Do not use this skill as a substitute for:

  • locking metrics and folds → validation-design;
  • writing the public-facing results narrative → results-reporting;
  • the durable model contract → model-card.
NeedGo instead
Validation chartervalidation-design
Results writeupresults-reporting
Model contractmodel-card

Outcome

Create one immutable record per executed experiment so another analyst can reconstruct what was tried, compare it with its declared baseline, audit its validity, and understand why it was kept, discarded, or queued for follow-up. Failed runs are evidence and belong in the history.

An experiment log is trial history. A validation charter defines evaluation; a model card freezes a promoted model contract; a results report explains an evaluation to readers.

Read the log schema while creating or auditing a record and the decision rules before assigning the final decision.

Create before execution

Record before fitting:

  • unique ID, UTC timestamp, operator, falsifiable hypothesis, expected direction;
  • sport, competition, row grain, target, population, and decision time T;
  • immutable data snapshot/query and its source/retrieval metadata;
  • feature-set reference with availability and transformation rules;
  • baseline/candidate configuration, validation charter, and locked primary metric;
  • code version, environment/lock reference, random seeds, and exact command;
  • predeclared success, integrity, calibration, stability, and complexity limits.

Do not rewrite these fields after observing results. Corrections and deviations are appended with timestamp, author, reason, and effect on validity.

Schema

text
experiment_id: YYYYMMDD-<slug>-<nn>
created_at_utc:
operator:
hypothesis / expected direction:
sport / competition / grain / target / eligible population:
prediction_timestamp_rule:
data_sources / immutable_snapshot / data_window:
feature_set_ref / baseline_refs:
validation_charter_ref / primary_metric / success_rule:
model_family / config_ref / code_version / environment_ref:
random_seeds / commands:
status: planned | running | completed | failed | invalidated
fold_metrics / metrics_primary / metrics_secondary:
calibration / slice / stability results:
leakage_audit_status / failures / deviations:
results_summary:
decision: keep | discard | follow-up | invalid
decision_reason / next_actions:
artifacts / checksums / notes:

Workflow

  1. Search existing logs, assign a new ID, and create the record before the run.
  2. Freeze the falsifiable hypothesis, primary metric, baselines, and success rule.
  3. Link immutable data, feature, validation, config, code, and environment artifacts.
  4. Record exact noninteractive commands or notebook cell/version identifiers.
  5. Execute baseline and candidate on identical eligible rows and folds.
  6. Append fold-level metrics, runtime, warnings, and output artifact checksums.
  7. Record calibration, leakage, slice, and failure diagnostics where applicable.
  8. Mark deviations and invalid runs; never delete or convert them into successes.
  9. Decide from the predeclared rule, then record one concrete next action if needed.
  10. Promote to a model card only after keep and all integrity gates pass.

Comparison discipline

Candidate comparisons are valid only when target, T, population, data snapshot, rows, folds, metrics, and baseline definitions match. If they differ, log the difference and do not attribute the metric change solely to the model.

Store per-fold results rather than averages only:

text
fold | train_period | test_period | n | baseline_primary | candidate_primary |
gap | secondary_metrics | calibration | warnings

Include uncertainty or dispersion appropriate to the design. Never promote a candidate because one favorable fold offsets repeated failures hidden by a mean.

Decision rules

DecisionUse when
keeppredeclared success met on locked evaluation and integrity gates pass
discardhonestly fails baseline/rule or adds unsupported complexity
follow-upsignal is plausible but one named uncertainty needs one concrete test
invalidleakage, execution failure, charter violation, or incomparable rows prevents inference

Post-hoc metrics must be labeled post-hoc and cannot silently drive the primary decision. A changed metric, population, or hypothesis requires a new ID.

Failure and deviation handling

Record nonzero exits, exceptions, timeouts, warnings, empty folds, missing artifacts, convergence failures, seed instability, and manual intervention. Include the last valid stage and whether partial outputs are trustworthy.

When leakage or a validation violation is found later, append an invalidation entry to every affected experiment and downstream artifact. Do not overwrite the original record or reuse its metrics after repair; the repaired run gets a new experiment ID linked to the invalidated one.

Anti-patterns

Anti-patternConsequenceCorrect behavior
winner-only loggingselection bias disappears from historylog all planned/executed runs
hypothesis written after scoreretrospective storyfreeze before fitting
reused experiment IDconfigurations become ambiguousnew ID for every material change
mutable data path onlyrun cannot be reconstructedsnapshot/query + checksum/version
screenshots without raw metricsevidence cannot be auditedlink structured fold metrics
changed rows/folds undisclosedcomparison is confoundedcommon sample or explicit caveat
final metric replaced post-hocgoalposts movelabel exploratory; new experiment
failed run deletedtroubleshooting and selection history loststatus failed with evidence

Standalone helper

bash
python /path/to/experiment-log/scripts/new_experiment.py \
  --slug home-form-logit --sport nfl
python /path/to/experiment-log/scripts/new_experiment.py \
  --slug elo-sensitivity --out-dir data/experiments

The helper creates a timestamped, user-owned Markdown artifact and validates the slug. Creation is exclusive: concurrent invocations retry the sequence and never overwrite or reuse an existing ID. The stub contains every field in the required schema, but it is only a planned record; complete the pre-run fields before execution and append results/deviations without rewriting the frozen contract.

Worked example

text
experiment_id: 20260824-home-form-logit-01
hypothesis: Shifted 5-game form improves test log-loss over constant train rate.
sport / grain / target: nfl / team-game / won
prediction_timestamp_rule: scheduled kickoff
immutable_snapshot: snapshots/nfl_team_game_2019_2025.parquet (sha256: ...)
feature_set_ref: feature-cards/team-form-v3.md
validation_charter_ref: charters/season-wf-v2.md
primary_metric: log-loss
success_rule: beat baseline on mean and majority of outer folds; audit CLEAN
commands: [exact invocation]
status: completed
fold_metrics: artifacts/20260824-home-form-logit-01-folds.json
leakage_audit_status: CLEAN
decision: keep | discard | follow-up | invalid
decision_reason: fill after evaluation

Review checklist and integrity rules

  • ID existed before results; hypothesis is falsifiable.
  • Data, code, config, feature, charter, environment, seeds, and commands resolve.
  • Baseline/candidate share rows, folds, and metrics or differences are disclosed.
  • Fold-level results and failed checks are present.
  • Leakage status and decision follow the predeclared rule.
  • Referenced artifacts are immutable and checksummed where practical.

Never omit failed runs, alter the primary metric silently, overwrite referenced artifacts, or promote without a baseline and timing audit. Use log_schema.md for required field semantics and decision_rules.md for promotion logic.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Experiment Log làm được gì?

Record sports-modeling experiments with the hypothesis, data cut, validation charter, metrics, leakage status, decision, commands, and artifacts. Use for trials, model comparisons, and reproducible research history.

Vì sao nên dùng Experiment Log trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Experiment Log là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Experiment Log trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/WalrusQuant/sports-analytic-skills/tree/main/skills/experiment-log. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Experiment Log?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Experiment Log với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Experiment Log với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Experiment Log có miễn phí không?

Có. Kỹ năng này được WalrusQuant phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇