Define capability metadata for independently packaged engines

未關閉
#7 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
文件
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
Python
星號
0
分支
0
平均合併
20 小時
30 天內合併 PR
5

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

JusticeGG-dev/CodeHunter 的其他 Issue

查看 JusticeGG-dev/CodeHunter 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。