agentsclimarketplace

Run2 parallel orchestration

Skill cxcscmu/SkillLearnBench/skills/b2-self-feedback-gemini-3-flash-preview/dbscan-parameter-tuning/run2_parallel-orchestration

Structured approach to grid search with nested loops and parallelization.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run2_parallel-orchestration

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.2 KB, 246 tokens by cl100k_base, as published. Nobody here has run it

Parallel Orchestration for Hyperparameter Search

A structured way to iterate through multiple hyperparameters while optimizing for performance.

Strategy

  1. Loop through shape_weight (most expensive since it changes the distance metric).
  2. For each shape_weight, precompute distance matrices for all images.
  3. Parallelize the evaluation of min_samples and epsilon for that shape_weight.
from joblib import Parallel, delayed

def process_weight(w, citsci_groups, expert_groups, all_images, ms_range, eps_range):
    # Precompute dist matrices
    dist_matrices = {img: precompute_distances(citsci_groups[img], w) 
                     for img in citsci_groups if img in expert_groups}
    
    results = []
    for ms in ms_range:
        for eps in eps_range:
            f1s, deltas = [], []
            for img in all_images:
                # ... evaluation logic ...
                f1s.append(f1)
                if not np.isnan(delta): deltas.append(delta)
            results.append({'F1': np.mean(f1s), 'delta': np.mean(deltas), ...})
    return results

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.