Skip to content
Draft
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
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ version = "0.1.0"
# The backend depends on two Planner crates, at one immutable revision:
# `asap-planner` to plan and `asap-executor` to execute. Planner IR types
# are reached through `asap_executor::planner`.
asap-planner = { git = "https://github.com/ProjectASAP/ASAPPlanner", rev = "3ef265d20e74679bcb8cb3d2bed8de6c59fb690f" }
asap-executor = { git = "https://github.com/ProjectASAP/ASAPPlanner", rev = "3ef265d20e74679bcb8cb3d2bed8de6c59fb690f" }
asap-planner = { git = "https://github.com/ProjectASAP/ASAPPlanner", rev = "b9c7fdfa09f8854d4ae201183637038ee0f6bd36" }
asap-executor = { git = "https://github.com/ProjectASAP/ASAPPlanner", rev = "b9c7fdfa09f8854d4ae201183637038ee0f6bd36" }
# The sketch library the Planner's executor pins, for the byte encodings of
# the sketch states the data plane persists; keep it at the Planner's rev
# (draft: ASAPPlanner#1553 head, for SIL intents).
Expand Down
16 changes: 13 additions & 3 deletions bench/demo/harness/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,23 @@ data_plane --plan plan.json --no-forward --stream-start-ms $S \
--intent-delay-ms 6000
```

Output (`rounds.jsonl`, one line per round): `round`, `evaluation_ms`,
Each clock of the intent (its queries on one interval: a query reading no
variable has its own `EVERY`, a dependent query runs on its upstream's) runs
its own round loop, concurrently; `--intent-rounds` counts the fastest clock's
rounds and every clock covers the same span. The planner's trigger rates are
not read: a dependent query runs in a round iff its bindings are non-empty.

Output (`rounds.jsonl`, one line per round of each clock):
`round_interval_ms` (the clock), `round`, `evaluation_ms`,
`status` (`ran` or `missed`: its start passed while the previous round still
ran), `start_lag_ms`, `duration_ms`, `overrun`; per query `status`
(`answered`, `skipped_empty_binding`, `skipped_upstream`, `failed`),
(`answered`, `not_triggered`: a binding was empty or an upstream was not
triggered, `skipped_upstream`, `failed`),
`latency_ms`, `bindings` (the values issued), `answer`, `error`; per latency
group `latency_ms` (round start to the last member's end, the queries run one
after another in round order), `complete`, `met`. A dependent query's
after another in round order), `complete` (every member ran or was not
triggered), `met`; a group none of whose members was triggered has no record
that round. A dependent query's
accuracy is judged against the exact grouped answer filtered by the binding
it was issued
(`data_plane::intent::filter_by_bindings`), not by the exact upstream's.
2 changes: 1 addition & 1 deletion data_plane/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ form_urlencoded = "1"

[dev-dependencies]
# Parses SIL intents for the intent round loop's end-to-end test.
asap-frontend-sil = { git = "https://github.com/ProjectASAP/ASAPPlanner", rev = "3ef265d20e74679bcb8cb3d2bed8de6c59fb690f" }
asap-frontend-sil = { git = "https://github.com/ProjectASAP/ASAPPlanner", rev = "b9c7fdfa09f8854d4ae201183637038ee0f6bd36" }
# Paused time for the intent loop's latency and overrun tests.
tokio = { workspace = true, features = ["test-util"] }
control_plane.workspace = true
Expand Down
Loading