Define capability metadata for independently packaged engines

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Read the explicit registration contract in codehunter/engines.py and draft PR #13 for the existing engine inventory and Vision benchmark. Gather versioned fixtures, exact commands and host details, resource measurements, coverage, ordered detections, and original PTS/PNG comparisons for adapters, including a disabled or unavailable case. The deliverable is a compatibility statement covering declarations, observed probe results, and evidence requirements; implementation awaits a maintainer decision.

Written by the indexing model from the issue text.

Description

design engine-sdk help wanted

Scope

Draft a compatibility statement for input modality, supported platforms, engine versions and resource limits. Explain how it would relate to the explicit registry and what evidence an engine maintainer should publish.

This is a roadmap item for evidence or design. Implementation starts after a maintainer decision.

Compatibility statement draft

Keep the explicit registration contract, including worker limits and exact-pixel reuse opt-in. A package can declare its engine version, accepted modality and input format, tested platform and architecture, model/cache requirements, optional acceleration, worker limit, and reuse eligibility. Record whether initialization and one representative operation succeeded on the current host separately from the package declaration. An optional adapter that fails a probe should leave a usable local CPU path available when the engine supports one.

Observed on Apple M5, macOS 27.0, PyAV 19.0.2 and FFmpeg 9.1: PyAV reports videotoolbox among its compiled device types, while the separate FFmpeg executable lists videotoolbox and vulkan. Codec acceleration belongs to the decoder used for the job. A listed backend needs a native decode test before CodeHunter can claim it is usable or preserves evidence.

Evidence for an adapter should link a versioned fixture, exact command and host, resource measurements, coverage, ordered detections and original PTS/PNG comparisons. Include a disabled/unavailable case to verify the default path.

The first independent inventory and Vision benchmark are in draft PR #13. The inventory passed on the M5 and in Ubuntu and Windows CI. A runtime selection policy remains a separate Wave 2 task.

Dominant language
Python
Stars
0
Forks
0
Avg merge
20h
Merged PRs (30d)
5

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JusticeGG-dev/CodeHunter

All issues in JusticeGG-dev/CodeHunter

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.