SemText

Reference · SemText · Knowledge & documents

<sem-eval>

SemText element

You author the cases as sections or prose inside; the container adds the chrome and label. It states what a good answer looks like — it does not run anything.

An evaluation spec: the inputs, expected outputs and criteria in one container. You author the cases as sections or prose inside; the container adds the chrome and label. It states what a good answer looks like — it does not run anything. optional qualifier drawn into the label chrome (display-only sugar). one of `draft`, `approved`, `implemented` — lifecycle token, drawn as a status chip (display-only). per the global attribute catalog (conventions.md §2) per the global attribute catalog (conventions.md §2)

Example

sem-eval.html
source
1 <sem-eval id="ev-rotate" kind="recall" status="draft">
2 <section>
3 <h2>Inputs</h2>
4 <p>A refreshed token pair and a 20-minute-old access token.</p>
5 </section>
6 <section>
7 <h2>Expected</h2>
8 <p>The client mints a fresh pair without a re-sign-in.</p>
9 </section>
10 </sem-eval>
render
No shipped runtime for this element — the authored example renders as plain HTML.

Source: spec/schema/sem-eval.md