Skip to main content

qortex-learning

Bandit-based adaptive learning for qortex. Thompson Sampling with Beta-Bernoulli posteriors, persistent state via SQLite, and pluggable reward models.

Usage

from qortex.learning import Learner, LearnerConfig, Arm, ArmOutcome

learner = await Learner.create(LearnerConfig(name="prompts"))

candidates = [Arm(id="v1", token_cost=10), Arm(id="v2", token_cost=15)]
result = await learner.select(candidates, context={"task": "type-check"}, k=1)

await learner.observe(ArmOutcome(arm_id="v2", outcome="accepted", reward=1.0))

Part of the qortex workspace.

Metadata

Release files for qortex-learning 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qortex-learning 0.1.0
File Size Uploaded
qortex_learning-0.1.0.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qortex-learning 0.1.0
File Interpreter ABI Platform
qortex_learning-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.7 kB

Release files / qortex_learning-0.1.0.tar.gz

Download URL qortex_learning-0.1.0.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4c42acb5a0796a336aa887dfeb0e3496242781cd119a40fec443f22a6592a192
BLAKE2b-256 checksum
How to use checksums
82d8bebcef15a21cd0c2f90f3a95aca9d43e10a3a3bb597a26593e32c5536f41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.

Transparency log

Release files / qortex_learning-0.1.0-py3-none-any.whl

Download URL qortex_learning-0.1.0-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95254f96e51f779a3d6413ccfc408fe93d37013d3543e8fdb244254d59482f65
BLAKE2b-256 checksum
How to use checksums
de977cf3fd279ab6b12f70fa38aaaf2362b055b36a3faf17d9f6aace32165b75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page