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

scholar-experiment

Systematic experimental results analysis workflow for ML/AI research papers. Connects experimental data to publication-ready Results sections with statistical validation, visualizations, and quality checks. Triggers on "analyze experimental results", "generate results section", "statistical analysis of experiments", "compare model performance", "create results visualization".

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

설치 방법 보기

포함된 파일(6)

  • SKILL.md14.1 KB
  • phases/01-data-loading.md5.4 KB
  • phases/02-statistical-analysis.md8.9 KB
  • phases/03-visualization.md9.1 KB
  • phases/04-results-writing.md8.6 KB
  • phases/05-quality-check.md7.9 KB

SKILL.md(원문)

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

Scholar Experiment: Results Analysis Workflow

A systematic workflow for analyzing ML/AI experimental results and generating publication-ready Results sections. Transforms raw experimental data into validated statistical analyses, publication-quality visualizations, and well-structured paper content.

Pre-load (before execution)

  1. Codebase docs: If .workflow/codebase/ARCHITECTURE.md exists, read for project context
  2. Specs: maestro load --type spec --category coding — load coding conventions
  3. Wiki knowledge: maestro search "academic writing research paper" --json — top 5 entries as prior context
  4. All optional — proceed without if unavailable

Architecture Overview

                     scholar-experiment
                           |
     ┌─────────────────────┼─────────────────────┐
     |                     |                       |
  [User Input]    [Experiment Context]    [Preferences]
     |                     |                       |
     └─────────┬───────────┘                       |
               v                                   |
┌──────────────────────────┐                       |
│  Phase 1: Data Loading   │ <─ preferences ───────┘
│  Load, validate, inspect │
└────────────┬─────────────┘
             │ cleanedData, dataProfile
             v
┌──────────────────────────┐
│  Phase 2: Statistical    │
│  Analysis & Testing      │
└────────────┬─────────────┘
             │ statisticalResults
             v
┌──────────────────────────┐
│  Phase 3: Visualization  │
│  Plots, charts, tables   │
└────────────┬─────────────┘
             │ figureSpecs, tableSpecs
             v
┌──────────────────────────┐
│  Phase 4: Results Writing│
│  Draft Results section   │
└────────────┬─────────────┘
             │ resultsDraft
             v
┌──────────────────────────┐
│  Phase 5: Quality Check  │
│  Validate & verify       │
└──────────────────────────┘
             │
             v
        [Output Files]
        - analysis-report.md
        - results-draft.md
        - visualization-specs.md

Key Design Principles

  1. Statistical rigor first: Every claim must be backed by appropriate statistical tests with complete reporting (mean, SD/SE, p-value, effect size)
  2. Pre-test before test: Always check assumptions (normality, variance homogeneity) before selecting parametric vs non-parametric tests
  3. Publication-quality output: All visualizations must meet journal standards (vector format, colorblind-friendly, proper error representation)
  4. Complete reporting: Never report p-values alone — always include effect sizes, confidence intervals, and descriptive statistics
  5. No cherry-picking: Report all planned comparisons, not just significant results
  6. Reproducibility: Document all analysis steps, parameters, and random seeds

Statistical Tools and Libraries

This workflow requires statistical computing capabilities. Recommended implementations:

Python Stack (recommended for ML/AI research):

import numpy as np              # Numerical computing
import pandas as pd             # Data manipulation
import scipy.stats as stats     # Statistical tests
import matplotlib.pyplot as plt # Visualization
import seaborn as sns           # Statistical visualization
from statsmodels.stats import multitest  # Multiple comparison corrections

R Stack (alternative for advanced statistics):

library(tidyverse)  # Data manipulation and visualization
library(stats)      # Statistical tests
library(effsize)    # Effect size calculations
library(multcomp)   # Multiple comparisons

Minimum Requirements:

  • Statistical test functions (t-test, ANOVA, Mann-Whitney, Kruskal-Wallis, etc.)
  • Effect size calculations (Cohen's d, eta-squared, r)
  • Multiple comparison corrections (Bonferroni, Holm, FDR)
  • Normality tests (Shapiro-Wilk, Kolmogorov-Smirnov)
  • Variance homogeneity tests (Levene's test)

Note: If these libraries are not available, the workflow will guide you to use online statistical calculators or manual computation, but automated analysis is strongly recommended for reproducibility. 2. Pre-test before test: Always verify assumptions (normality, homogeneity of variance) before selecting parametric tests 3. No cherry-picking: Report all experimental runs, not just the best ones 4. Publication-quality output: All visualizations follow colorblind-friendly, vector-format, error-bar standards 5. Reproducibility: Track random seeds, hyperparameter ranges, compute resources, and experimental setup

Interactive Preference Collection

Before dispatching to phases, collect analysis preferences:

const prefResponse = AskUserQuestion({
  question: "How would you like to configure the analysis?",
  options: [
    {
      label: "Analysis Type",
      description: "Select the type of analysis",
      choices: [
        { value: "full", label: "Full Analysis", description: "Complete pipeline: stats + visualization + writing" },
        { value: "comparison", label: "Model Comparison", description: "Focus on comparing multiple models/methods" },
        { value: "ablation", label: "Ablation Study", description: "Focus on component contribution analysis" },
        { value: "visualization", label: "Visualization Only", description: "Generate visualization specs only" }
      ]
    },
    {
      label: "Statistical Reporting",
      description: "Choose error reporting format",
      choices: [
        { value: "sd", label: "Standard Deviation (SD)", description: "Report mean +/- SD (describes data variability)" },
        { value: "se", label: "Standard Error (SE)", description: "Report mean +/- SE (describes mean uncertainty)" },
        { value: "ci", label: "95% Confidence Interval", description: "Report mean [95% CI: low, high]" }
      ]
    },
    {
      label: "Visualization Style",
      description: "Choose visualization palette",
      choices: [
        { value: "okabe-ito", label: "Okabe-Ito (Recommended)", description: "Most widely used colorblind-friendly palette" },
        { value: "paul-tol", label: "Paul Tol", description: "Alternative colorblind-friendly palette" }
      ]
    }
  ]
});

const workflowPreferences = {
  analysisType: prefResponse.analysisType || "full",
  errorFormat: prefResponse.statisticalReporting || "sd",
  colorPalette: prefResponse.visualizationStyle || "okabe-ito"
};

Auto Mode Defaults

When user provides explicit analysis type (e.g., /scholar-experiment comparison):

  • analysisType: from argument
  • errorFormat: "sd" (standard deviation)
  • colorPalette: "okabe-ito"

Execution Flow

COMPACT DIRECTIVE: Context compression MUST check TodoWrite phase status. The phase currently marked in_progress is the active execution phase -- preserve its FULL content. Only compress phases marked completed or pending.

Phase 1: Data Loading

Load experimental data, validate format, perform initial inspection.

  • Ref: phases/01-data-loading.md
  • Input: raw data files (CSV, JSON, TensorBoard logs, pickle), experiment context
  • Output: cleanedData, dataProfile (format, dimensions, completeness, outlier flags)

Phase 2: Statistical Analysis

Compute descriptive statistics, run pre-tests, perform hypothesis testing, calculate effect sizes.

  • Ref: phases/02-statistical-analysis.md
  • Input: cleanedData, dataProfile, workflowPreferences
  • Output: statisticalResults (descriptive stats, test results, effect sizes, multiple comparison corrections)

Phase 3: Visualization

Generate visualization specifications for publication-quality figures and tables.

  • Ref: phases/03-visualization.md
  • Input: cleanedData, statisticalResults, workflowPreferences
  • Output: figureSpecs, tableSpecs, visualization-specs.md

Phase 4: Results Writing

Draft the Results section with proper statistical reporting and figure/table references.

  • Ref: phases/04-results-writing.md
  • Input: statisticalResults, figureSpecs, tableSpecs, workflowPreferences
  • Output: resultsDraft, results-draft.md

Phase 5: Quality Check

Validate analysis completeness, check reproducibility, verify statistical reporting.

  • Ref: phases/05-quality-check.md
  • Input: all prior outputs
  • Output: analysis-report.md (final validated report), quality checklist

Phase Reference Documents (read on-demand when phase executes):

PhaseDocumentPurposeCompact
1phases/01-data-loading.mdLoad and validate dataTodoWrite driven
2phases/02-statistical-analysis.mdStatistical testingTodoWrite driven + sentinel
3phases/03-visualization.mdFigure/table specsTodoWrite driven
4phases/04-results-writing.mdDraft Results sectionTodoWrite driven + sentinel
5phases/05-quality-check.mdValidate and verifyTodoWrite driven

Compact Rules:

  1. TodoWrite in_progress -> preserve full content, do not compress
  2. TodoWrite completed -> may compress to summary
  3. sentinel fallback -> phases marked with sentinel contain compact sentinel; if after compact only sentinel remains without full Step protocol, MUST immediately Read("phases/0N-xxx.md") to recover before continuing

Core Rules

  1. Never skip pre-tests: Always run normality (Shapiro-Wilk) and homogeneity of variance (Levene) tests before parametric testing
  2. Report completely: Every statistical result must include test statistic, degrees of freedom, p-value, and effect size
  3. Correct for multiple comparisons: When running multiple tests, apply Bonferroni or FDR correction
  4. Use appropriate tests: Select parametric or non-parametric tests based on pre-test results
  5. Vector format only: All figure specs must target PDF/EPS output format
  6. Colorblind-friendly: All visualizations must use Okabe-Ito or Paul Tol palettes
  7. Honest reporting: Report all runs including negative results; never cherry-pick

Input Processing

User provides data path and optional analysis type:

USER INPUT: [data_path] [analysis_type?]

Structured format:
  DATA_PATH: path/to/results/ or path/to/results.csv
  ANALYSIS_TYPE: full | comparison | ablation | visualization
  EXPERIMENT_CONTEXT: (read from experiment session if available)

Supported data formats:

  • CSV files: tabular data with headers
  • JSON files: structured results objects
  • TensorBoard logs: training curves
  • Python pickle: complex objects

Data Flow

Phase 1 output:
  cleanedData    → Phase 2, 3
  dataProfile    → Phase 2

Phase 2 output:
  statisticalResults → Phase 3, 4, 5

Phase 3 output:
  figureSpecs    → Phase 4, 5
  tableSpecs     → Phase 4, 5

Phase 4 output:
  resultsDraft   → Phase 5

Phase 5 output:
  analysis-report.md      (final report)
  results-draft.md        (paper-ready text)
  visualization-specs.md  (figure specifications)

TodoWrite Pattern

Phase starts:
  -> Sub-tasks ATTACHED to TodoWrite (in_progress + pending)
  -> Execute sub-tasks sequentially

Phase ends:
  -> Sub-tasks COLLAPSED back to high-level summary (completed)
  -> Next phase begins

Example:

[x] Phase 1: Data Loading (completed - 3 datasets loaded, validated)
[ ] Phase 2: Statistical Analysis (in_progress)
    [ ] 2.1 Descriptive statistics
    [ ] 2.2 Pre-tests (normality, variance)
    [ ] 2.3 Hypothesis testing
    [ ] 2.4 Effect size calculation
    [ ] 2.5 Multiple comparison correction
[ ] Phase 3: Visualization
[ ] Phase 4: Results Writing
[ ] Phase 5: Quality Check

Error Handling

ErrorRecovery
Data format unreadableAsk user for format clarification, try alternative parsers
Sample size too small (< 3 runs)Warn user, proceed with non-parametric tests, note limitation
Normality assumption violatedSwitch to non-parametric tests (Wilcoxon, Mann-Whitney U, Kruskal-Wallis)
Variance homogeneity violatedSwitch to Welch's t-test or Welch's ANOVA
Missing values detectedReport percentage, suggest imputation or exclusion strategy
Outliers detectedReport via IQR method, run sensitivity analysis (with/without outliers)

Coordinator Checklist

Before each phase:

  • Previous phase output available
  • TodoWrite updated (current phase in_progress)
  • Phase document read via Read("phases/0N-xxx.md")

After each phase:

  • Output files generated
  • TodoWrite updated (current phase completed, next phase in_progress)
  • Data flow variables passed to next phase

After all phases:

  • All output files present (analysis-report.md, results-draft.md, visualization-specs.md)
  • Quality checklist completed
  • User notified of results

Related Skills

  • scholar-writing: Integrates results-draft.md into full paper structure
  • scholar-review: Reviews the Results section for quality and completeness

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

maestro

무료

Intent-to-chain planner over the canonical Session/Run lifecycle

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

Quick execution for small tasks — minimal run lifecycle (start + done) with evidence recording. Full LLM capability, scoped to mechanically clear tasks.

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

Create or sync session worktree for parallel dev

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

Manage editing boundary restrictions

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

Maestro Flow 命令帮助系统。搜索命令、浏览技能、工作流推荐、新手引导。Triggers on "maestro-help", "帮助", "命令", "怎么用", "skill", "workflow", "maestro 怎么用".

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

Use when designing, reviewing, refining, fixing, or codifying frontend UI with Maestro's self-contained Impeccable core

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

catlog22/maestro-flow5662026년 10월 15일 업데이트

catlog22의 스킬 모두 보기

이 스킬의 문제 신고