sweep
/sweep
Wykonuje ograniczony przegląd jednego lub dwóch parametrów projektu według pliku JSON, zapisuje każdy przebieg i porządkuje wyniki.
- Autor
- JunLin615 ↗
- Repozytorium
- os-optics-kit ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wykonuje ograniczony przegląd jednego lub dwóch parametrów projektu według pliku JSON, zapisuje każdy przebieg i porządkuje wyniki.
Oryginalny opis (EN)
Run a bounded one- or two-parameter sweep of a Project from a JSON spec; every sample's Project and run are saved, counted by outcome, and ranked by an optional objective under constraints. Use it to explore a design parameter.
Jak działa
- When to use
- When not to use
- Inputs
- Outputs
- Minimal example
- Limits
- Version
Podgląd SKILL.md
---
name: sweep
description: Run a bounded one- or two-parameter sweep of a Project from a JSON spec; every sample's Project and run are saved, counted by outcome, and ranked by an optional objective under constraints. Use it to explore a design parameter.
version: 0.2.0
command: os-optics-kit sweep
requires: os-optics>=0.13,<0.14
kind: tool
---
# sweep
## When to use
- See how targets change over explicit values of one parameter, or a grid of two.
- Find the best feasible sample for a stated objective and constraints.
## When not to use
- Local derivatives: use `sensitivity`. Random manufacturing offsets: use `tolerance`.
- A single change: use `edit`.
## Inputs
`SPEC.json`:
- `base_project` (relative to the spec; `--base` overrides) and `max_evaluations` (required budget,
checked before any run).
- `parameters`: 1 or 2 items `{name, unit, values | range {start, stop, count}, ops}`; `ops` use the
`edit` vocabulary with the placeholder `"$value"` (or `{"$value": {"scale", "offset"}}`).
- Optional: `targets` (ids deciding outcomes), `constraints`, `objective` `{column, sense}`, `derived`,
`stop_on`. Columns: `param:<name>`, `target:<id>`, `derived:<name>`.
Options: `--out STUDY_DIR` (new or empty), `--overwrite`.
## Outputs
`STUDY_DIR/study.json`, `samples/<id>/{project.json, run/, sample.json}`, `table.csv`, `summary.json`.
Stdout: counts per outcome with denominators, feasible count, best sample or `no_feasible`, samples with
warnings, top rows, paths. Exit 0 completed, 1 no feasible sample, 4 refused spec or invalid input.
## Minimal example
`sweep.json`:
```
{"base_project": "project.json", "max_evaluations": 5,
"parameters": [{"name": "l1_shift", "unit": "mm", "values": [-1, 0, 1],
"ops": [{"op": "transform", "selector": {"ids": ["L1"]}, "frame": {"component": "L1"},
"translation_mm": [0, 0, "$value"]}]}],
"objective": {"column": "target:spot_radius", "sense": "minimize"}}
```
```
os-optics project example --kind focus > project.json
os-optics-kit sweep sweep.json --out study
```
## Limits
- At most two parameters; every sample is one full engine run.
- Unknown target ids or columns refuse the spec before any run.
- No sample is dropped: ERROR, UNKNOWN and OUT_OF_MODEL samples stay in the table.
## Version
0.2.0 (os-optics-kit 0.2.0), verified with os-optics 0.13.0 and catalog release 2026-10-28.1.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · JunLin615/os-optics-kit | 100 | MIT |
| tony/skills | 100 | MIT |
| AsiaOstrich/universal-dev-standards | 100 | MIT |
| AsiaOstrich/universal-dev-standards | 100 | MIT |
| AsiaOstrich/universal-dev-standards | 100 | MIT |
| andryorelabs/jobship | 100 | MIT |
| chrs-myrs/livespec | 100 | MIT |
| jisuzzzz/haechi | 100 | MIT |
| AsiaOstrich/universal-dev-standards | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 66147d98fb50 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100listening-sweep
Wykonuje ograniczony przegląd zapytań nasłuchu w sieci i zapisuje wynik, aby kolejny przegląd był porównaniem zmian. - 100pgtool
Eksploruje i debuguje bazę PostgreSQL: schematy, tabele, kolumny i zapytania, na podstawie pliku .pgtool.json w katalogu projektu. - 100plot
Rysuje wykresy PNG i SVG z zapisanych wyników symulacji: krzywe, mapy cieplne, rozkłady i histogramy. - 100skill-sweep
Przechodzi całe drzewo .agents/skills i czyści każdy skill repozytorium w powtarzanych przebiegach, aż pełny przebieg nie znajdzie już nic, także gdy pnpm ai:sweep:ledger-coverage pokazuje otwarte wiersze.