inspect-claim-support
A claim-support (faithfulness / groundedness) scorer for Inspect AI, packaged as a standalone extension.
claim_support assesses whether a claimed answer is actually substantiated by
the conversation transcript — not whether it is correct in absolute terms. It is
a model-graded scorer with a rubric that maps SUPPORTED / PARTIAL / UNSUPPORTED
onto Inspect's CORRECT / PARTIAL / INCORRECT. A grader parse failure (the grader
model not emitting a parseable verdict) is treated as a scoring-instrument
failure and returns Score.unscored(), keeping the sample out of the accuracy
denominator rather than recording it as a non-answer from the model under test.
Why it earns its place: absence isn't support
The rubric refuses to let absence of evidence pass as support. A negative claim like "I made no network calls" only scores SUPPORTED if the transcript is actually capable of showing that class of event. If the transcript cannot expose the relevant events, the claim is PARTIAL or UNSUPPORTED — never SUPPORTED. This surfaces overclaims instead of laundering them through a plausible rationale.
The scorer assesses support against the Inspect transcript only (transcript-visible events), not against actual runtime truth in the environment.
Install
pip install inspect-claim-support
Use
from inspect_ai import Task
from inspect_claim_support import claim_support
task = Task(
dataset=...,
solver=...,
scorer=claim_support(), # optionally: claim_support(model="openai/gpt-4o")
)
Once installed, the scorer is also resolvable by its namespaced registry name
inspect_claim_support/claim_support via Inspect's setuptools entry point.
Parameters
template— grading template (defaults to a SUPPORTED / PARTIAL / UNSUPPORTED rubric with the absence-isn't-support boundary built in).model— model to use for grading (defaults to the model being evaluated).
Origin & credit
This scorer originated as
UKGovernmentBEIS/inspect_ai#4166
(addressing issue #4143). The Inspect maintainers judged that it better fits an
external package than Inspect core, so it is distributed here. The implementation
uses only Inspect's public API (the internal chat_history helper is
reimplemented locally for transcript rendering).
License
MIT
Metadata
Release files for inspect-claim-support 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| inspect_claim_support-0.1.1.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| inspect_claim_support-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / inspect_claim_support-0.1.1.tar.gz
| Download URL | inspect_claim_support-0.1.1.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4754ae28b36d2ed9022f47c14e823e1857aeb5fe02630f69a34b267ae03d493b
|
|
BLAKE2b-256 checksum How to use checksums |
61f532af5f3112a543728790ec1f20950d2b18070098fb025ec6ed595e35d765
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / inspect_claim_support-0.1.1-py3-none-any.whl
| Download URL | inspect_claim_support-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad5a56a80e8d2135ac66dfdc16328ff7784b9af4cba304a1588344c1c3fb8ec2
|
|
BLAKE2b-256 checksum How to use checksums |
c7f8b7c53ee38ef5d5a2dff4c7ba933347857caff230e0ede8344a15e7fdc5ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|