Synthesize experiment results into research insights and summaries.
Synthesize experiment results across multiple hypotheses and experiments into bilingual (Chinese/English) research summaries.
# Get PYTHON_PATH from .env
PYTHON_PATH=$(grep "^PYTHON_PATH=" .env | cut -d'=' -f2)
PYTHON_PATH=${PYTHON_PATH:-python3}
# Auto-discover all hypotheses and experiments
$PYTHON_PATH scripts/synthesize.py
# Or synthesize specific hypotheses
$PYTHON_PATH scripts/synthesize.py --hypothesis-ids 1 2
# Or synthesize specific experiments
$PYTHON_PATH scripts/synthesize.py --hypothesis-ids 1 --experiment-ids 1 2 3
This skill requires agentsociety2 to be installed in the Python environment.
Use the PYTHON_PATH from your .env file to ensure the correct Python interpreter is used. See CLAUDE.md for details.
| Parameter | Type | Required | Description |
|---|---|---|---|
| --hypothesis-ids | strings | No | Hypothesis IDs to synthesize (default: auto-discover all) |
| --experiment-ids | strings | No | Experiment IDs to synthesize (default: auto-discover all) |
| --workspace | string | No | Workspace path (default: current directory) |
| --instructions | string | No | Additional synthesis instructions |
| --literature-summary | string | No | Optional literature summary to incorporate |
Run without arguments to automatically discover and synthesize all hypotheses and experiments:
$PYTHON_PATH scripts/synthesize.py
This will:
hypothesis_* directoriesexperiment_* directoriesSpecify particular hypotheses or experiments:
# Synthesize only hypotheses 1 and 2
$PYTHON_PATH scripts/synthesize.py --hypothesis-ids 1 2
# Synthesize only experiments 1 and 2 under hypothesis 1
$PYTHON_PATH scripts/synthesize.py --hypothesis-ids 1 --experiment-ids 1 2
synthesis/
├── synthesis_report_{timestamp}.md # Markdown synthesis report
├── synthesis_report_{timestamp}.html # HTML synthesis report
└── assets/
└── synthesis_comparison.png # Comparison chart
agentsociety-analysis| Aspect | agentsociety-analysis | agentsociety-synthesize |
|---|---|---|
| Scope | Single experiment | Multiple experiments/hypotheses |
| Output | presentation/hypothesis_X/experiment_Y/ | synthesis/ |
| Purpose | Deep dive into one experiment | Cross-experiment comparison |
| When to use | After each experiment run | After multiple experiments |
agentsociety-analysis on each experiment firstAfter synthesis completes, update: