Skip to main content

Segmenting (classification + caching) for Keble positioning grid.

Project description

keble-segmenting

keble-segmenting owns segmented grids, dimension and mask discovery, item classification, coverage/read models, queue work contracts, and agent tools used by positioning and backend workflows.

Verified State

Checked on 2026-06-30 against pyproject.toml, package exports, keble_segmenting/, CODE_GUIDELINES.md, and tests.

  • Package: keble-segmenting 0.39.0
  • Python: >=3.13,<3.14
  • Critical deps: pydantic, keble-db, keble-helpers, keble-agentic-chat, pydantic-ai-slim, typing-extensions
  • Source roots: schemas/, crud/, client/, agent/, utils/
  • Public exports: SegmentingClient, CRUD classes, action/event schemas, queue contracts, ForAgent schemas, and mutation/query chat tool providers.

Runtime Contract

  • Segmenting owns the grid and classification domain. Backend and positioning code should use package schemas/actions instead of recreating grid state.
  • Progress belongs to actions and queue work, not side-effect taxonomies. Keep action status, progress payloads, and callback events aligned.
  • Stable keys are execution identity. Display names are UX only and may collide.
  • Default tests must stay offline. DB/provider coverage belongs in marked integration/live layers with cleanup.
  • Reusable test settings, datasets, live helpers, and shared assertion helpers live in keble_segmenting.testing; executable tests stay under canonical tests/unit, tests/integration, and tests/live roots.

Testing

uv sync --group test
uv run pytest -m "not live and not slow and not eval and not local_stack and not db_stack and not container"
npx --yes pyright .

Change Logs

Historical release notes and long AI change history live under logs/.

Side Effect If Changes

  • keble-positioning, backend segmentation workers, task room progress, and frontend positioning tables depend on segmenting action/event contracts.
  • Queue or coverage schema changes require backend worker and frontend display updates in the same migration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keble_segmenting-0.41.0-py3-none-any.whl (304.2 kB view details)

Uploaded Python 3

File details

Details for the file keble_segmenting-0.41.0-py3-none-any.whl.

File metadata

  • Download URL: keble_segmenting-0.41.0-py3-none-any.whl
  • Upload date:
  • Size: 304.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for keble_segmenting-0.41.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9085708c38b93768ae8781a50c50f373030b5071f91be3773387224296e506f5
MD5 a2cdcdeb488609f442f9434f351a65d8
BLAKE2b-256 c7cd4bbe71f02e5fd5ad7be246c5070f35c94a23856d5caca6b9051c46177969

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page