xiaohongshu
xiaohongshu
mechinterp-summarizer
Convert experiment results to Markdown research notes and optionally update research state with evidence
Full skill instructions
Convert experiment results into human-readable research notes and optionally link them as evidence to hypotheses in the research state.
The summarizer skill:
Use this skill after:
cd /root/dev/SplatNLP
# Basic: Generate note from result
poetry run python -m splatnlp.mechinterp.cli.summarizer_cli \
--result-path /mnt/e/mechinterp_runs/results/20250607_142531__result.json
# With state update and evidence linking
poetry run python -m splatnlp.mechinterp.cli.summarizer_cli \
--result-path /mnt/e/mechinterp_runs/results/20250607_142531__result.json \
--update-state \
--supports h001 h002 \
--strength strong
# Print only (no file writes)
poetry run python -m splatnlp.mechinterp.cli.summarizer_cli \
--result-path result.json \
--output-only
from splatnlp.mechinterp.schemas import ExperimentResult
from splatnlp.mechinterp.cli.summarizer_cli import generate_note_from_result
from splatnlp.mechinterp.state import ResearchStateManager
from splatnlp.mechinterp.schemas.research_state import EvidenceStrength
from pathlib import Path
# Load result
result = ExperimentResult.model_validate_json(
Path("/mnt/e/mechinterp_runs/results/20250607__result.json").read_text()
)
# Generate note
note = generate_note_from_result(result)
print(note)
# Update state with evidence
manager = ResearchStateManager(feature_id=18712, model_type="ultra")
evidence = manager.add_evidence_from_result(
result=result,
summary="SCU sweep shows threshold behavior at 41 AP",
strength=EvidenceStrength.STRONG,
supports=["h001"],
)
print(f"Added evidence: {evidence.id}")
Notes are written to:
/mnt/e/mechinterp_runs/notes/feature_{id}_{model}.md
Example note content:
## Family 1D Sweep
*Experiment: 20250607_142531*
*Duration: 45.3s*
### Key Findings
- Mean activation delta: **0.3500**
- Max delta: 0.5200
- Samples analyzed: 500
- Threshold Rung: 41
### rung_stats
*Activation statistics by special_charge_up AP rung*
| rung | label | mean_activation | std | n | delta_from_baseline |
|------|-------|-----------------|-----|---|---------------------|
| 0 | absent | 0.1234 | 0.05 | 200 | 0.0 |
| 3 | SCU_3 | 0.1500 | 0.06 | 50 | 0.0266 |
| 41 | SCU_41 | 0.4800 | 0.08 | 30 | 0.3566 |
| 57 | SCU_57 | 0.6400 | 0.10 | 20 | 0.5166 |
### Warnings
- ReLU floor detected in 5% of examples
When using --update-state, creates an EvidenceItem:
{
"id": "e003",
"experiment_id": "20250607_142531",
"result_path": "/mnt/e/.../20250607_142531__result.json",
"summary": "SCU sweep shows threshold behavior at 41 AP",
"strength": "strong",
"supports_hypotheses": ["h001"],
"refutes_hypotheses": [],
"key_metrics": {
"threshold_rung": 41,
"max_delta": 0.52
}
}
| Option | Description |
|---|---|
--result-path | Path to experiment result JSON (required) |
--feature-id | Feature ID (auto-detected from result) |
--model-type | Model type: full or ultra (default: ultra) |
--update-state | Also update research state with evidence |
--supports | Hypothesis IDs this evidence supports |
--refutes | Hypothesis IDs this evidence refutes |
--strength | Evidence strength: strong/moderate/weak |
--output-only | Only print note, don't write files |
Typical workflow:
--update-state to connect to hypotheses# Full workflow example
poetry run python -m splatnlp.mechinterp.cli.runner_cli \
--spec-path /mnt/e/mechinterp_runs/specs/scu_sweep.json
poetry run python -m splatnlp.mechinterp.cli.summarizer_cli \
--result-path /mnt/e/mechinterp_runs/results/scu_sweep__result.json \
--update-state \
--supports h001 \
--strength strong
When summarizing results, always consider:
Enhancers + Suppressors: A complete interpretation requires BOTH. If SCU is enhanced but death-perks (QR, SS, CB) are suppressed, the feature encodes "death-averse special builds", not just "SCU detector".
Check ability semantics: After identifying enhancers/suppressors, consult mechinterp-ability-semantics to validate interpretations against known semantic groupings.
Token influence sweeps: These provide the most complete picture of what a feature responds to and avoids. Prioritize summarizing both enhancers and suppressors tables.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience