From 5483bbf51e2c4146a9a1c33c722685c2f5318a40 Mon Sep 17 00:00:00 2001 From: Tam Nguyen Duc <1218621+tamnd@users.noreply.github.com> Date: Sat, 22 Aug 2026 22:10:24 +0700 Subject: [PATCH] score zu-c for conditions, and say at the item what caps it zu-c now carries the whole of a refusal and has a suite saying so, in tamnd/zu-c#6, so the row picks up the ten points and goes to 22. The item's own line gets a note rather than a rewrite. It reads "every failure" and no client holds that today, because the fields are not there to hold: a database that will not open and an appender aimed at a table nothing declares come back with a message and no code, no standard text and no doc URL. That is #614. It caps this item for all seven rows and not for one of them, so it belongs at the item where a reader meets it, rather than scored against whichever client last went looking. Lowering the item's wording would have hidden the gap instead, and the other four rows have claimed conditions on the statement reading all along, so scoring zu-c by a stricter one would make the column stop comparing. --- clients.toml | 9 ++++++++- docs/clients/overview.md | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/clients.toml b/clients.toml index cceb8e71..7d029173 100644 --- a/clients.toml +++ b/clients.toml @@ -74,6 +74,13 @@ doc = "The language's own shapes: how it iterates, how it releases a resource, h name = "conditions" weight = 10 doc = "Every failure carries the standard's condition code, the place, and the doc URL, checked by a test rather than promised in a page." +# Held on statement failures, which is as far as the engine goes today. +# A failure that happens before a statement or beside one, a database +# that will not open and an appender aimed at a table nothing declares +# among them, carries a message and no code, no standard text and no doc +# URL. That is tamnd/zu#614, and it caps this item for every row here +# rather than for one of them, so it is written down at the item instead +# of being scored against a single client. [[item]] name = "misuse" @@ -159,7 +166,7 @@ package = "zu" registry = "vcpkg and Conan" maintainer = "Tam Nguyen Duc <@tamnd>" tier = 1 -holds = ["quickstart"] +holds = ["quickstart", "conditions"] doc = "The developer kit for the ABI itself: examples, the header-only C++ wrapper, the packaging and the sanitizer suites. It owes no api-map, because the C names are zu.h and zu.h is generated in the engine." [[client]] diff --git a/docs/clients/overview.md b/docs/clients/overview.md index 4c055404..773c1e8e 100644 --- a/docs/clients/overview.md +++ b/docs/clients/overview.md @@ -53,7 +53,7 @@ The practice score, today, out of what the client's tier asks for. What is missi | [zu-node](https://github.com/tamnd/zu-node) | 1 | 90 | 90 | `api-map`, `perf` | | [zu-go](https://github.com/tamnd/zu-go) | 1 | 90 | 90 | `api-map`, `perf` | | [zu-java](https://github.com/tamnd/zu-java) | 1 | 90 | 90 | `api-map`, `perf` | -| [zu-c](https://github.com/tamnd/zu-c) | 1 | 11 | 90 | `reference`, `idiom`, `conditions`, `misuse`, `leaks`, `install`, `stability` | +| [zu-c](https://github.com/tamnd/zu-c) | 1 | 22 | 90 | `reference`, `idiom`, `misuse`, `leaks`, `install`, `stability` | | [zu-dotnet](https://github.com/tamnd/zu-dotnet) | 2 | 0 | 75 | `quickstart`, `reference`, `idiom`, `conditions`, `misuse`, `leaks`, `install`, `stability`, `api-map`, `perf` | | [zu-kit](https://github.com/tamnd/zu-kit) | 3 | 0 | 50 | `quickstart`, `reference`, `idiom`, `conditions`, `misuse`, `leaks`, `install`, `stability` |