parameter-sweep

Official

Optimize SWARM governance parameters.

Authorswarm-ai-safety
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of testing different governance configurations in SWARM simulations, allowing users to identify optimal parameters for desired outcomes like welfare or toxicity reduction.

Core Features & Use Cases

  • Parameter Grid Sweeps: Systematically explore a range of values for specific governance parameters (e.g., transaction tax rate).
  • Multi-Seed Simulations: Run simulations with multiple random seeds for each parameter configuration to ensure robust results.
  • Summary Statistics Generation: Consolidate results into easily digestible CSV and JSON files, including mean/std deviations and best-performing configurations.
  • Use Case: A researcher wants to find the optimal transaction tax rate in SWARM that maximizes agent welfare while keeping toxicity below a certain threshold. This Skill can run hundreds of simulations to pinpoint that rate.

Quick Start

Run a parameter sweep for the 'governance.transaction_tax_rate' parameter across values [0.0, 0.05, 0.10] with 3 seeds, saving results to '/tmp/sweep_output'.

Dependency Matrix

Required Modules

pandasnumpyswarm-safety

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: parameter-sweep
Download link: https://github.com/swarm-ai-safety/swarm/archive/main.zip#parameter-sweep

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.