Skip to content

Jev Bisect

A Python library that turns Jev into a bisection oracle: it repeatedly asks higher, lower or exactly about the midpoint of a numeric range and returns the answer, turn count and full decision history. Built on the official TypeSafe Python SDK and installable from PyPI.

Stars
0
Language
Python
License
MIT
Published by
Community
Last verified
Oct 2026

mkly/jev-bisect

User repository on GitHub

View on GitHub

A Python library that uses Jev to find a numeric answer through repeated higher, lower, or exactly decisions.

Forks
0
Last pushed
Updated Oct 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

Find numeric answers with Jev through repeated higher, lower, or exactly decisions. Supply a question and bounds; the library calculates the guesses using the official TypeSafe Python SDK. Requires Python 3.10 or newer. Install from PyPI: min and max are required keyword arguments and must be finite numbers with min < max. Omit lastguess or pass None to start at the midpoint. To choose the first guess, supply an override such as bisect(question, min=0, max=100, lastguess=25).

Quoted from the project's README. Read the full README.

Languages
Python
Platforms
API
Capabilities
Open sourceRequires API key

Highlights

  • Each guess is one typed higher/lower/exactly decision; a result is returned only once Jev selects exactly.
  • Install with `pip install jev-bisect` and set TYPESAFE_API_KEY; guesses use exact rational arithmetic and integer candidate indexes internally.
  • Configurable precision (default 1) and max_turns (default 20); each evaluated guess counts as one turn and SDK retries are disabled.
  • Returns answer, turns, final state and history entries with state, choice, confidence, probabilities and model version.
  • Tests use deterministic mock responses and a fake HTTP transport, needing no API key or network.

Watch out

MIT-licensed and needs your own TYPESAFE_API_KEY. Bounds are not expanded by the search and Jev can make incorrect comparisons, surfacing as MaxTurnsExceededError or SearchExhaustedError.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

4.5kGitHub stars
Ruby-native AI framework whose RubyLLM::Judge class asks typed judgment questions: a probability that a statement holds, choices or scores, answered by the TypeSafe provider alongside 18 other hosted and local providers under one consistent API.
Jev Repos & SDKs#community#ruby#framework
21GitHub stars
Self-hosted Python SDK and System One-compatible API for runtime-defined Choice, Boolean and Score decisions on pinned open models, across Torch, vLLM, MLX, llama.cpp and WebGPU. Each result records probabilities, token usage, timing, model revision and prompt version, with committed row-level benchmarks.
Jev Repos & SDKs#community#sdk#self-hosted
4GitHub stars
A pre-release Python framework for predictions on mixed text and tabular data: Jev Noul and Score questions turn text columns into numeric features, then a tabular foundation model such as TabPFN learns from labeled rows in context. Offers hosted and fully local backends.
Jev Repos & SDKs#community#tabular#predictions
2GitHub stars
Ruby gem that makes System One measurement a language primitive: psi prepares a state, judge/choose/score return calibrated distributions, and ? collapses them for control flow. Ships TypeSafe, protocol (/v1/systemone) and CUA providers behind one interface with its own spec suite.
Jev Repos & SDKs#community#ruby-gem#sdk
1GitHub stars
Unofficial portable Clojure SDK for TypeSafe System One. It posts state and typed questions to /v1/systemone, lists available models, and returns validated Clojure data with keyword or string answer keys, on a JVM backend or a native Jolt backend.
Jev Repos & SDKs#community#clojure#sdk
1GitHub stars
Dependency-free Go 1.24+ client for Jev Noul, Choice, and Score questions: ChoiceOf[T] and ScoreOf[L] return the caller's own types and reject labels the question never offered, with validation before sending, retries that honor Retry-After, OpenRouter support, and eleven tested examples.
Jev Repos & SDKs#community#go#sdk

From the Jev guides

Original write-ups on what this entry is for.

Closed weights have not stopped the ecosystem from rebuilding the shape in the open. API-compatible servers, retrained heads on small models, and inference-time tricks that skip generation entirely.
Jev Repos & SDKs#open-models#research#local
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai