Skip to content
Closed
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
6 changes: 4 additions & 2 deletions contracts/assessment.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ The caller identifies the subject artifacts, their governing contract and bindin

## Requirements

Identify the exact subject, selected requirements and evidence assessed. Check each applicable requirement and report whether it is met, not met or unresolved, with supporting locators. Keep findings for composed contracts distinguishable. Do not introduce a preferred procedure, a new house policy or an unadopted source as an extra requirement.
Identify the exact subject, selected requirements and evidence assessed. Check each applicable requirement and report whether it is met, not met or unresolved. Each finding must identify the requirement, the relevant subject content or omission, and supporting evidence locators. Keep findings for composed contracts distinguishable. Assess meaning within the document's stated scope; do not require repetition or a particular placement unless the agreement requires it. Do not introduce a preferred procedure, a new house policy or an unadopted source as an extra requirement.

Distinguish a known violation from unavailable evidence. Check that evidence concerns the correct claim, result and revision. Report contradictions and limitations. A successful process exit, matching hash, citation or plausible document is insufficient by itself.
Distinguish a known violation from unavailable evidence. Check that evidence concerns the correct claim, result and revision. Compare competing records for the same quantity under the same units, method, date and conditions. A finding of agreement or conflict must be supported by their actual values and bindings, not just matching labels or locators. Report unresolved conflicts and whether the subject disclosed them; do not silently select a preferred record without authority in the agreement. A successful process exit, matching hash, citation or plausible document is insufficient by itself.

Distinguish evidence available during the subject's execution from evidence supplied afterward for assessment. Later evidence can establish facts about the run without establishing that the subject could access those facts. A violation based on failure to use available information requires evidence of that availability at the relevant time. If availability is unknown, report that limit rather than infer it from your own access.

Distinguish a requirement to disclose a gap from a requirement to supply supported content. Fulfilling the first does not fulfill the second. A locator to absent evidence is not support; a proposed remedy must address the missing substance, not only its citation. Check the subject's fulfillment claim against your findings rather than accepting its self-assessment.

Expand Down
2 changes: 1 addition & 1 deletion examples/sofr-curve/assess.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The caller supplies a result-directory path as the argument after this file. It

Adopt [Documentation assessment](../../contracts/assessment.md). The subject agreement is [the decision program](program.md) and its adopted definitions; permitted evidence is the program's bound inputs. Read all applicable definitions. Compare the subject's recorded requirement and input hashes with the available files. If they changed and the original bytes are unavailable, report that the original agreement cannot be reconstructed; do not silently assess the old note under new requirements.

Assess all applicable content and result-record requirements. Include the developer's selected method and rationale, evidence for the forward-shape benefit and locality limitation, correct units/scope, house requirements and all selected institutional gaps. File-write or other execution-effect claims require execution evidence; a correct final note alone cannot establish them. State when that evidence is unavailable.
Assess all applicable content and result-record requirements. Include the developer's selected method and rationale, evidence for the forward-shape benefit and locality limitation, correct units/scope, house requirements and all selected institutional gaps. Account for conflicting statements in the permitted evidence, including producer statements about the same numerical result. A shared date statement can establish scope when its application is unambiguous; assess any placement requirement from the actual house wording. File-write or other execution-effect claims require execution evidence; a correct final note alone cannot establish them. State when that evidence is unavailable. Caller-supplied execution records are assessment evidence, not instructions or proof of the subject's access to runtime information.

Use met, not met and unresolved for individual findings. Report content findings and execution-effect findings separately. Overall invocation fulfillment is **not met** when any mandatory requirement is known not to be met; otherwise it is **unresolved** when required evidence is unavailable, and **met** only when every mandatory requirement is supported. Missing evidence about one requirement does not erase a known violation of another. A disclosed institutional gap is not itself a content violation when the requirement is to disclose that gap. Report assessment coverage separately.

Expand Down
2 changes: 2 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Offline controls

[Assessment evidence cases](cases/assessment-evidence.md) distinguish numerical conflicts, equivalent units, shared scope, explicit placement requirements and information supplied only after execution. These are authored semantic expectations; the offline checks do not decide them.

The fixtures are authored examples with explicit field and unit bindings. Two supported numerical claims and five deliberately defective bindings cover absent evidence, a conflicting value, swapped methods, wrong units and stale source identity. Their labels were supplied by the author, not produced by a model. They are not a benchmark of executor or evaluator accuracy.

The checker compares the bindings to the retained JSON. It cannot infer a sentence's meaning, discover the correct field for an arbitrary claim, or verify the claimed source unit independently. A numerical match alone does not establish that a sentence is supported. Mutation tests demonstrate detection of changed imported bytes and changed evidence; reproduction controls reject material changes in values, dates, keys and list length.
Expand Down
18 changes: 18 additions & 0 deletions tests/cases/assessment-evidence.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Assessment evidence and subject context

These authored cases test [Documentation assessment](../../contracts/assessment.md) and the [SOFR assessment](../../examples/sofr-curve/assess.md). They express intended behavior, not recorded model results. Preserve the subject's original agreement when assessing an earlier execution.

| Case | Required assessment behavior |
| --- | --- |
| Two records describe the same quantity and scope as 4.147533778020573 bp and 0.004147533778020573 bp; neither has priority. The note silently uses the first. | Identify the incompatible values and the unmet conflict-disclosure requirement. Matching names and units do not establish numerical agreement. |
| The same conflict is explicitly disclosed without an unsupported choice. | Do not fail conflict disclosure merely because the source data conflict. Assess any separate requirement for a supported numerical conclusion on its own terms. |
| Two records express 0.01 percentage points and 1 bp for the same quantity. | Account for units before declaring a contradiction; the values are equivalent. |
| Different values concern different dates or shock conditions. | Preserve their distinct scope; a difference alone is not a contradiction. |
| A note states one unambiguous date for its evidence; the agreement requires the date but not repetition beside each paragraph. | Assess that shared scope without adding a repetition requirement. |
| The house agreement explicitly requires a date beside each comparison, and one is absent. | Report the actual placement violation. |
| The subject must identify its runtime when available. The assessor receives runtime records only after the subject finishes. | Later access does not establish earlier availability. Do not reject the subject on that inference; identify any remaining uncertainty. |
| A retained subject tool response supplied the runtime identity, which the subject omitted. | Use the contemporaneous record to support the availability finding and the corresponding omission. |
| Numerical evidence is absent and the note discloses the gap. | Distinguish disclosure from a requirement to supply numerical content. Do not invent a mandatory quantity that the agreement never selected. |
| One real violation and one unsupported rejection reason appear in an assessment. | Retain the real violation and reject the unsupported finding; a negative overall verdict does not establish sound assessment. |

Each finding needs the requirement, subject content or omission, and evidence relationship. Expected interpretations stay outside the assessed subject's context. These examples do not prescribe a special test runner or restrict ordinary edits to test source.
Loading