使用
Linux x86_64
需要先準備
- 執行環境:
python>=3.11
複製 ori-runtime 原始碼
rm -rf ori-src && git clone https://github.com/ori-platform/ori-runtime.git ori-src以 pip 可編輯模式安裝,含 runtime 與 dev 額外套件
cd ori-src && python3 -m pip install -e ".[runtime,dev]"安裝測試所需但缺少的 aiomqtt
python3 -m pip install aiomqtt
README 與實測不符之處
- README 寫: python -m pip install "ori-runtime[eval] @ git+https://github.com/ori-platform/ori-runtime.git@<commit-or-tag>" with literal <commit-or-tag> placeholder
實際可行: 使用具體的 tag/checkout,或先 clone 再 pip install -e ".[runtime,dev]";採用了候選方案 2 - README 寫: python -m pip install -e ".[runtime,dev]" then pytest tests/ -v works
實際可行: 在 pytest 之前執行 python3 -m pip install aiomqtt
確認能用
python -m ori.runtime --help輸出應包含「Ori Runtime」。
先試試這個
cd ori-src && python -m pytest tests/test_rule_engine.py -v它能做什麼
以下依據 README;pickfit 沒有逐項檢查。
- 分層推理感測器資料未測試
- 在分級授權等級下操作設備未測試
- 無網路連線時仍可持續運作未測試
- 保留可重建的操作紀錄未測試
pickfit 測到哪一步
Linux x86_64
- 可以安裝
- 可以啟動
- 主要功能可用
- 可離線使用
macOS:專案說支援,但 pickfit 還沒試過。
適合用來
- 電網不穩時切換至逆變器供電
- 發生嚴重故障時建議斷開安全電路
- 透過 psutil 監控筆電的 PC 系統健康狀態
可替代 Grafana 和 AWS IoT Core。
pickfit 怎麼測的
每次測試都從乾淨的機器開始,照上面的步驟執行。 pickfit 怎麼驗證
Linux x86_64
主要功能可用
- 從頭重跑
- 可離線使用
- 檢查於 2026年10月30日
- 版本 2.5.0
測試機器遇到的差異
- README: pytest tests/ -v as full-suite smoke test
測試中: 執行 pytest tests/test_rule_engine.py -v(143 項通過)或 scripts/pc_health_report.py;完整測試在 600 秒內未完成(約 77% 時被終止) - README: bash scripts/smoke-runtime-local.sh
測試中: scripts/smoke-runtime-local.sh 需要 .venv 目錄與本機 SLM 設定;改以系統 python 透過 scripts/pc_health_report.py 驗證