Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ C++ runtime execution and result export layer
- built artifact 실행 시 Forge manifest의 source model identity를 보존합니다.
- Forge `agent_manifest.json` context를 optional `agent` result block으로 기록할 수 있습니다.

## 역할 경계 한눈에 보기

| 영역 | Runtime이 소유하는 것 | Runtime이 소유하지 않는 것 |
|---|---|---|
| Inference execution | ONNX Runtime CPU와 Jetson TensorRT path를 실행하고 latency, FPS, output metadata, system context, success/error evidence를 기록합니다. | artifact build, model conversion, Forge `metadata.json` / `manifest.json` provenance 소유. |
| Result contract | `compare_key`, `backend_key`, `run_config`, `system`, `extra`, additive health/telemetry/event evidence를 포함한 Lab-compatible `result.json`을 export합니다. | Lab compare output, Lab `deployment_decision`, AIGuard `guard_analysis` contract 변경. |
| Runtime health / telemetry | `runtime_health_snapshot`, timeout/error classification, `runtime_events`, `runtime_operation_summary`, single-result telemetry seed를 기록합니다. | EdgeEnv registry, comparability checker, runtime regression owner, production observability platform 역할. |
| Operation boundary | Orchestrator, AIGuard, EdgeEnv, Lab이 downstream에서 해석할 execution evidence를 제공합니다. | multi-workload scheduler, queue/drop/fallback owner, remote dispatch control plane, production inference server 역할. |
| Jetson evidence | backend, precision, power mode, `jetson_clocks`, tegrastats context를 run-configuration evidence로 보존합니다. | 15W/25W나 clock state가 다른 실행을 same-condition regression으로 해석하거나, short smoke를 thermal endurance validation처럼 표현하는 것. |

## InferEdge-Runtime의 차별점

InferEdge-Runtime은 단순한 benchmark wrapper가 아닙니다.
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ Language: English | [한국어](README.ko.md)
- Preserves Forge manifest source model identity when running built artifacts
- Optionally records Forge `agent_manifest.json` context as an additive `agent` result block

## Role Boundary At A Glance

| Area | Runtime owns | Runtime does not own |
|---|---|---|
| Inference execution | Runs ONNX Runtime CPU and Jetson TensorRT paths, then records latency, FPS, output metadata, system context, and success/error evidence. | Building artifacts, converting models, or owning Forge `metadata.json` / `manifest.json` provenance. |
| Result contract | Exports Lab-compatible `result.json` fields such as `compare_key`, `backend_key`, `run_config`, `system`, `extra`, and additive health/telemetry/event evidence. | Changing Lab compare output, Lab `deployment_decision`, or AIGuard `guard_analysis` contracts. |
| Runtime health / telemetry | Records `runtime_health_snapshot`, timeout/error classification, `runtime_events`, `runtime_operation_summary`, and single-result telemetry seeds. | Acting as the EdgeEnv registry, comparability checker, runtime regression owner, or production observability platform. |
| Operation boundary | Supplies execution evidence that Orchestrator, AIGuard, EdgeEnv, and Lab can interpret downstream. | Becoming a multi-workload scheduler, queue/drop/fallback owner, remote dispatch control plane, or production inference server. |
| Jetson evidence | Preserves backend, precision, power mode, `jetson_clocks`, and tegrastats context as run-configuration evidence. | Treating 15W/25W or different clock states as same-condition regression, or presenting quick smoke evidence as thermal endurance validation. |

## What Makes InferEdge-Runtime Different?

InferEdge-Runtime is not a benchmark wrapper.
Expand Down
55 changes: 55 additions & 0 deletions tests/test_readme_docs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import unittest
from pathlib import Path


ROOT = Path(__file__).resolve().parents[1]


class ReadmeDocsTest(unittest.TestCase):
def test_english_readme_keeps_language_link_and_role_boundary(self):
readme = (ROOT / "README.md").read_text(encoding="utf-8")

required_markers = [
"Language: English | [한국어](README.ko.md)",
"## Role Boundary At A Glance",
"Runtime owns",
"Runtime does not own",
"Lab-compatible `result.json`",
"`runtime_health_snapshot`",
"EdgeEnv registry",
"runtime regression owner",
"multi-workload scheduler",
"queue/drop/fallback owner",
"production inference server",
"same-condition regression",
"thermal endurance validation",
]
for marker in required_markers:
with self.subTest(marker=marker):
self.assertIn(marker, readme)

def test_korean_readme_keeps_language_link_and_role_boundary(self):
readme = (ROOT / "README.ko.md").read_text(encoding="utf-8")

required_markers = [
"언어: [English](README.md) | 한국어",
"## 역할 경계 한눈에 보기",
"Runtime이 소유하는 것",
"Runtime이 소유하지 않는 것",
"Lab-compatible `result.json`",
"`runtime_health_snapshot`",
"EdgeEnv registry",
"runtime regression owner",
"multi-workload scheduler",
"queue/drop/fallback owner",
"production inference server",
"same-condition regression",
"thermal endurance validation",
]
for marker in required_markers:
with self.subTest(marker=marker):
self.assertIn(marker, readme)


if __name__ == "__main__":
unittest.main()
Loading