Experimental in PyPI 0.19.0. Install with
pip install 'multivon-eval[media,inspect]==0.19.0'. Dataset loading remains in
Hugging Face; media transport and viewing remain in Inspect.MediaArtifact records a
SHA-256 of supplied bytes, their length and type, geometry or duration, parser
versions and provenance. The ordered descriptors enter the case identity.
The caller retains the bytes using their existing storage system.
Capture and run native media
ContentImage, ContentAudio, ContentVideo and
ContentDocument values. Providers still differ in supported modalities.
Reading a persisted Inspect log requires resolved attachments:
Supported capture profile
Capture defaults to a 32 MiB byte limit. Audio/video duration may be unknown;
a time citation then cannot validate. The PyAV path uses explicit formats and
disables external protocol/reference resolution. These limits are not a codec
sandbox or a guaranteed execution deadline. Isolate hostile media upstream.
Descriptors can round-trip through
artifact.data and
MediaArtifact.from_dict(data). A descriptor alone does not prove possession of
bytes or trustworthy provenance. Use artifact.verify(content) before use.
Changing parser results can invalidate verification; record a deliberate new
case revision instead of quietly changing its geometry.
For Hugging Face media features, use decode=False and feed the resulting bytes
(or explicitly read the returned path) to capture inside the existing
from_huggingface(..., record_to_case=...) mapper. Preserve dataset revision,
license and source grouping in the manifest. This does not create a new dataset,
loader, cache or artifact store.
Document pages
urn:multivon:media: identifier includes provenance. Two
pages with identical pixels can retain different parent/page roles. The bytes’
SHA-256 remains separate. These application identifiers are not network URLs.
Reference regions and time intervals
time=(start_seconds, end_seconds) intervals on audio/video. Regions
outside bounds are rejected rather than clipped. Percent coordinates, open
intervals, duplicate dimensions, arbitrary selectors and video spatial regions
are unsupported. Extract a frame explicitly before citing a video region.
grounded_result attaches checked references to a caller-supplied boolean or
unknown verdict. Known verdicts require a reference; unknown verdicts stay
unmeasured. Reference validity proves neither semantic support nor oracle
independence. Keep the task check and its version explicit, and require it in
an acceptance policy.
Worked evidence and limitations
examples/media_evidence.py runs an offline native-media transport fixture and
reuses pdfhell’s hidden-OCR generator for PDF/pixels/extracted-text treatments.
An optional bounded live document run is separate from mock audio/video transport.
See the repository’s benchmarks/industrial/MEDIA_VALIDATION.md for actual
versions, rendered checks, six-call results and their limits.
Use inspect view --log-dir OUTPUT/logs to inspect native media. Multivon’s HTML
trial cards retain descriptors and verdict annotations as JSON; they do not
implement another general media player or annotate overlays in Inspect.
In the tested upstream viewer, the PDF is a badge; the retained PNG provides
page inspection. Sample panels overflow at 390 pixels, so prefer desktop use.
These are content/reference bindings, not a new multimodal scoring algorithm.
