スキル一覧に戻る
AVRA-CADAVRA

experiment-testing-standards

by AVRA-CADAVRA

0🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: experiment-testing-standards description: Enforces experiment testing standards: real implementation testing, no simplified approximations, exact formula matching. Use when creating experiments, testing algorithms, or validating mathematical implementations.

Experiment Testing Standards

Core Principle

Experiments must test the REAL implementation, never simplified approximations.

Mandatory Requirements

✅ REQUIRED

  • Real Implementation Logic - Use exact same calculations, formulas, and logic as production code
  • Full Feature Testing - Test complete implementations, not simplified versions
  • Exact Formula Matching - Quantum state calculations, compatibility formulas must match production exactly
  • Real Data - Use real Big Five OCEAN data converted to SPOTS dimensions

❌ FORBIDDEN

  • Simplified Calculations - Never use simplified approximations
  • Linear Approximations - Never use linear approximations of nonlinear operations
  • Mock Implementations - Never use mock/stub implementations in experiments
  • Partial Testing - Never test only part of feature with simplified logic

Example Patterns

❌ BAD: Simplified Approximation

# Simplified distance decay (NOT the real implementation)
location_compatibility = exp(-decay_rate * distance_km)

✅ GOOD: Real Implementation

# Real quantum state inner product (matches production code)
location_state = create_location_quantum_state(
    lat, lon, type, accessibility, vibe
)
compatibility = abs(inner_product(location_state_a, location_state_b)) ** 2

Real Data Requirement

All experiments MUST use real Big Five OCEAN data:

from shared_data_model import load_and_convert_big_five_to_spots

# Load and convert Big Five OCEAN to SPOTS 12
spots_profiles = load_and_convert_big_five_to_spots(
    max_profiles=1000,
    data_source='auto',
    project_root=project_root
)

❌ FORBIDDEN:

  • Synthetic data generation
  • Hardcoded personality dimensions
  • Simplified approximations

Checklist

  • Experiment uses exact same formulas as production code
  • Quantum state calculations match production implementation
  • No simplified approximations used
  • All mathematical operations match production code
  • Uses real Big Five OCEAN data (not synthetic)
  • Experiment logic documented with references to production code

Reference

  • .cursorrules - Experiment Testing Standards section
  • docs/plans/test_refactoring/TEST_WRITING_GUIDE.md

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です