MIDREAL
Menu

Home / switch

osolmaz

switch

WatchingWatchingNone of the above. Nothing stands out yet. More on the methodology page

osolmaz/switch

A framework for building decision-model harnesses for any kind of task. Your program offers the model a short list of next steps, and the model picks one at a time until it can answer.

TypeScriptCategories: Developer tools

Our summary

switch is a harness framework for decision models. It runs an agent loop for finite choices: the program turns the state of a task into typed questions (bool, choice or score), and the model answers them with probabilities. Each step's answers feed a transition function that produces the next state, until the run ends.

Who it is for: Developers building decision-model harnesses, such as eval judges or domain-specific agents

What the README claims

  • Works with any decision model that pi-ai lists as a classifier switch works with any decision model that [pi-ai](https://www.npmjs.com/package/@earendil-works/pi-ai) lists as a Not checked
  • Requires Node.js 22.18 or newer switch needs Node.js 22.18 or newer. Not checked
  • Records every state, question and answer of a run in one trace file that can be replayed without a model Every state, question and answer of a run, in one file. A replay reads it and asks no model. Not checked
  • Can make a judge cheaper by loading only the parts of documents the model needs the decision model navigates the documents and takes in only what it Too broad to verify

Written by AI from the project's README on 2026-10-31. It does not affect the verdict.

Watching: no other rule matched yet.

7-day star gain 7, down from 9 the week before.

Gaining 7 stars this week. Last push 3 days ago.

Verdict

SLEEPER scored 53m ago

Hype
29
Reality
60
Hype Gap
-31
Momentum
-
Confidence
85%
  • Responsive moves Reality +9 points.
  • Adopted moves Reality -5 points.
  • Maintained moves Reality -2 points.

Rule verdict-2.0, scoring score-2.0. How we score. Backtest.

Repository on GitHub

Find them on

Maintained by

Maintained by 1 primary developer, 0 external contributors in the last 90 days.

  • osolmaz is a GitHub individual account.
  • GitHub account created September 2012.
  • Top contributors by commits: osolmaz 100%.

Why now 2% of its stars arrived in the last 7 days. No Hacker News posts in the last 7 days.

Stars StarsThe number of GitHub stars on the repository at our latest reading.
451
Gain 7d Gain 7dStars gained since our latest reading from at least 7 days ago.
+7
Pace Velocity (Nx usual pace)This week's star gain divided by the project's usual weekly gain. The usual gain is the average weekly gain over the 4 weeks before (days 8 to 35 ago), counted as at least 10 stars. 2.0x means twice the usual pace. Without a reading from 35 days ago, the ranking assumes 2% of the stars the project had 7 days ago as its usual weekly gain. More on the methodology page
0.7x
HN points HN pointsHacker News points added up across posts that mention the project, published in the last 7 days.
0 7 days
Downloads DownloadsDownloads per day of the project's package, as the registry (npm or PyPI) reports them.
n/a
Contributors Contributors, all timePeople and anonymous contributors who have ever committed to the repository, as GitHub counts them. A small number is context, not a flaw: many solid projects are kept by one or two people.
1
Last release Latest releaseDays since the latest GitHub release was published.
23 days ago

Gain 24h Gain 24hStars gained since our latest reading from at least 24 hours ago. +1. Forks ForksThe number of GitHub forks of the repository at our latest reading. 32. Open issues Open issuesThe number of open issues on the repository at our latest reading, as GitHub counts them. 6. Days since push Days since pushDays since the last push to the repository. 3 days. Archived ArchivedWhether the owner has archived the repository on GitHub. An archived repository is read-only. no. Hacker News posts in 7 days Hacker News postsThe number of Hacker News posts that mention the project, published in the last 7 days.: 0. Watchers WatchersThe number of GitHub users watching the repository for notifications, at our latest reading. 0.

Facts

License
MIT source, checked 21 Nov 2026
Language
TypeScript source, checked 21 Nov 2026
Last release
v0.1.1, 29 Oct 2026 source, checked 21 Nov 2026
Releases
1 source, checked 21 Nov 2026
Contributors
1 source, checked 21 Nov 2026
Archived
no source, checked 21 Nov 2026

Nerd stuff

Languages
TypeScript (detected), JavaScript (detected)
Runs on
Node >=22.18.0 (detected)
Docs
docs/ folder (detected), examples/ folder (detected)
License
MIT (detected)
Package ecosystem
npm (detected)

The Receipts

SourceEvidenceDate
Packagenpm @osolmaz/switchnot recorded
deps.devDependent packages on npm: 022 Nov 2026
deps.devSecurity advisories on npm: 022 Nov 2026

What changed recently

GitHub release dates we stored. We do not track license changes yet.

Cite this

switch is a GitHub project at https://github.com/osolmaz/switch written mainly in TypeScript, described there as "A framework for building decision-model harnesses for any kind of task. Your program offers the model a short list of next steps, and the model picks one at a time until it can answer".

Source: https://midorreal.com/project/osolmaz-switch, checked 22 November 2026. The same facts as JSON: /project/osolmaz-switch.json.

Rank history

Peak day: +74 stars on 31 Oct 2026, 22 days ago.

Stars

Stars each day Stars each dayThe highest star count we recorded on each day., last 23 days. Without JavaScript this shows the last 30 days.
Stars gained each day Stars gained each dayThe difference in the daily peak star count between consecutive days that both have a reading., between readings on consecutive days. Last 30 days in the fallback.

Packages

RegistryPackage
npm@osolmaz/switch

Only packages whose registry page links back to this repository are listed.

Signals

SourceWhat we measuredChecked
GitHub451 stars, 7 gained in 7 days21 Nov 2026
Hacker NewsNo posts stored-
Feed mentionsNot tracked yet-
npmNo linked package found-
PyPINo linked package found-
Docker HubNo linked package found-
crates.ioNo linked package found-
HomebrewNo linked package found-
deps.dev0 npm dependents22 Nov 2026
Hugging FaceNot tracked yet-
BlueskyNot tracked yet-
Stack ExchangeNot tracked yet-
YouTubeNot tracked yet-

Attention vs adoption

Attention: above 58% of tracked projects 58%
Star velocity against all tracked projects

Adoption: above 0% of tracked projects 0%
Strongest of downloads, dependents and pulls (deps.dev)

Attention runs ahead of adoption: star velocity above 58% of tracked projects, best adoption figure above 0%. This describes the numbers; it is not a verdict.

Compared with Developer tools

MeasureThis projectCategory median
Star velocity0.70.5
Days since release23.29.2
Contributors, all time13
Median time to first reply on issuesno data12 hours
Commits in the last 30 days8441.5

Star velocity: above 55% of Developer tools projects

Days since release: above 72% of Developer tools projects

Contributors, all time: above 0% of Developer tools projects

Commits in the last 30 days: above 64% of Developer tools projects

Compared with the project's first category only. A percentile line appears only where at least 30 projects in the category have the measure. This describes the numbers; it is not a verdict.

Compare with

Hacker News

PostPoints PointsThe points the post has on Hacker News.Comments CommentsThe number of comments on the post on Hacker News.Date
No Hacker News posts mention it in the last 7 days.

Caveats

  • GitHub lists 1 contributor to this repository. Source
  • The repository has no security policy on GitHub. Source
  • Star velocity is above 58% of tracked projects, while the best package adoption figure is above 0%.

Repo health

  • Languages LanguagesShare of the repository's code by bytes, as GitHub's language detection reports it. The five biggest languages are named and the rest are grouped as Other.TypeScript 99%, JavaScript 1%
  • License LicenseThe SPDX license id GitHub detects, and a class: Open source (OSI) if the license is on the Open Source Initiative approved list, Source-available if the code is readable but the license limits use, Unclear if GitHub cannot match a known license, No license detected if it finds none. A public repository without a license is not open source.MIT, Open source (OSI)
  • Repository age Repository ageTime since the repository was created on GitHub. This is the repository, not necessarily the project, which may have existed elsewhere before.27 days, created 25 Oct 2026
  • Release dates Release datesThe date of the first and the latest GitHub release, and the latest release tag. Projects that ship without GitHub releases show none.First release 29 Oct 2026, current version v0.1.1 (29 Oct 2026)

Development

  • Commits in the last 7 days Commits in the last 7 daysCommits to the repository in the last 7 days, as GitHub counts them.2
  • Commits in the last 30 days Commits in the last 30 daysCommits to the repository in the last 30 days, as GitHub counts them.84
  • Commits in the last 90 days Commits in the last 90 daysCommits to the repository in the last 90 days, as GitHub counts them.84
  • Contributors, all time Contributors, all timePeople and anonymous contributors who have ever committed to the repository, as GitHub counts them. A small number is context, not a flaw: many solid projects are kept by one or two people.1, a small team
  • Releases ReleasesThe number of GitHub releases, and how many days ago the latest one was published.1, latest release 23 days ago
  • Releases in the last 90 days Releases in the last 90 daysHow many GitHub releases were published in the last 90 days.1
  • Issues in the last 30 days Issues in the last 30 daysIssues opened and issues closed in the last 30 days, as GitHub search counts them.0 opened, 0 closed
  • Pull requests merged in the last 30 days Pull requests merged in the last 30 daysPull requests merged in the last 30 days, as GitHub search counts them.38
  • Packages that depend on the latest version Packages that depend on the latest versionHow many other packages list the project's latest published version as a dependency, from deps.dev, added up across npm and PyPI.0

Maintenance

  • Stale open issues Stale open issuesOpen issues with no update in the last 90 days, as GitHub search counts them.0
  • Open pull requests Open pull requestsPull requests open now, as GitHub search counts them.6

Hygiene

  • Automated tests or builds (CI) Automated tests or builds (CI)Whether the repository has at least one GitHub Actions workflow file in .github/workflows.Yes
  • A tests folder A tests folderWhether the repository has a top-level folder named tests, test, __tests__ or spec.Yes
  • A license A licenseWhether GitHub detects a license file in the repository.Yes
  • Contributing guide Contributing guideWhether the repository has a contributing guide.No
  • Code of conduct Code of conductWhether GitHub finds a code of conduct in the repository.No
  • CODEOWNERS file CODEOWNERS fileWhether the repository has a CODEOWNERS file, which names who reviews changes to which files.No
  • A Dockerfile A DockerfileWhether the repository has a Dockerfile at its top level.No

Security

  • Security policy Security policyWhether the repository has a SECURITY.md or SECURITY.rst file.No
  • Unpatched high or critical advisories Unpatched high or critical advisoriesPublished GitHub security advisories rated high or critical on this repository that list a vulnerable version with no patched version.0
  • Signed latest release Signed latest releaseWhether the latest GitHub release has an attached signature file (.sig, .asc or .sigstore).No
  • Known advisories on the latest version Known advisories on the latest versionSecurity advisories deps.dev lists against the project's latest published version, added up across npm and PyPI.0

Badge

For maintainers: one measured fact, no verdict. First spotted by Mid or Real at 222 stars on 30 Oct 2026

Markdown

[![Mid or Real](https://midorreal.com/badge/osolmaz-switch.svg)](https://midorreal.com/project/osolmaz-switch)

HTML

<a href="https://midorreal.com/project/osolmaz-switch"><img src="https://midorreal.com/badge/osolmaz-switch.svg" alt="Mid or Real"></a>

Verdict badge: Mid or Real: SLEEPER It shows the verdict as this page shows it today.

Markdown

[![Mid or Real: SLEEPER](https://midorreal.com/badge/osolmaz-switch.svg?style=verdict)](https://midorreal.com/project/osolmaz-switch)

HTML

<a href="https://midorreal.com/project/osolmaz-switch"><img src="https://midorreal.com/badge/osolmaz-switch.svg?style=verdict" alt="Mid or Real: SLEEPER"></a>

Passport

Copy these facts into a post, a README or a page. Cite as "Source: Mid or Real". Full record: JSON.




First tracked 30 Oct 2026 at 222 stars.

Projects blowing up

How we call a verdict

Is this your project? Claim it

Figures by method 1.0