Skip to content

Provenance

trialdesignbench.provenance

Digests, versions, and identifiers recorded alongside every artifact.

command_output(args, timeout=30.0)

First line of a command's stdout, or None if it cannot run.

digest_tree(root, exclude=())

Content digest of a directory: relative paths plus file hashes.

Independent of timestamps and permissions, so it is stable across copies.

docker_image_digest(image)

Repo digest if the image was pulled, else the local image ID.

docker_image_inspect(image)

docker image inspect output for a local image, or None.

git_sha(path=None)

HEAD commit of the repository containing path, with a dirty marker.

sha256_json(obj)

Digest of canonical JSON (sorted keys, no whitespace).