From 6b9d175e827a89d2b6ec38fe247dd3b97180860e Mon Sep 17 00:00:00 2001 From: narawat Date: Fri, 13 Mar 2026 17:29:22 +0700 Subject: [PATCH] update --- docs/spec.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/spec.md b/docs/spec.md index 20b113f..d4da533 100644 --- a/docs/spec.md +++ b/docs/spec.md @@ -727,17 +727,19 @@ flowchart TD ### Integration Test Scenarios -| Scenario | Platforms | Payload Type | Size | Transport | Expected Result | -|----------|-----------|--------------|------|-----------|-----------------| -| Single text payload | All | text | Small | direct | Round-trip successful | -| Single dictionary payload | All | dictionary | Small | direct | Round-trip successful | -| Single arrow table | Julia/JS/Python | arrowtable | Small | direct | Arrow IPC round-trip | -| Single JSON table | All | jsontable | Small | direct | Dictionary array round-trip | -| Mixed payloads (text + image) | All | text + image | Small | direct | All payloads preserved | -| Mixed payloads (dict + binary) | All | dictionary + binary | Small | direct | All payloads preserved | -| Large file (link transport) | All | arrowtable/image | Large | link | File server upload/download | -| Cross-platform JSON table | All | jsontable | Small | direct | Dictionary array round-trip | -| MicroPython ↔ Desktop | MicroPython ↔ Desktop | text/dictionary | Small | direct | Limited payload types | +| Scenario | Platforms | Payloads | Size Mix | Transport | Expected Result | +|----------|-----------|----------|----------|-----------|-----------------| +| Single text (small) | All | `text` | Small | direct | Round-trip successful | +| Single dictionary (small) | All | `dictionary` | Small | direct | Round-trip successful | +| Single arrow table (small) | Julia/JS/Python | `arrowtable` | Small | direct | Arrow IPC round-trip | +| Single JSON table (small) | All | `jsontable` | Small | direct | Dictionary array round-trip | +| Single text (large) | All | `text` | Large | link | File server upload/download | +| Single JSON table (large) | All | `jsontable` | Large | link | File server upload/download | +| Mixed payloads (small) | All | `text` + `dictionary` + `image` | All small | direct | All payloads preserved | +| Mixed payloads (large) | All | `text` + `dictionary` + `image` | All large | link | All payloads via file server | +| Mixed payloads (combo) | All | `text` (small) + `image` (large) | Mixed | direct/link | Correct transport per payload | +| Cross-platform JSON table | All | `jsontable` | Small | direct | Dictionary array round-trip | +| MicroPython ↔ Desktop | MicroPython ↔ Desktop | `text`/`dictionary` | Small | direct | Limited payload types | | Desktop ↔ Desktop (all combos) | Julia↔JS↔Python | All types | Small/Large | direct/link | Full compatibility | ---