Skip to content
Commands

squirtl fetch ​

Downloads the runs a release attaches and unpacks each into data/runs/, from the release --release names or else the latest one.

--agent, --start, and --seed select among the release's trained runs, and without them every run and each demonstration is fetched. A run data/runs/ already holds downloads nothing. Each download shows a progress bar and is checked against the SHA-256 digests GitHub and the release's manifest record for it before it is unpacked.

Logs the directory of each run. A release GitHub does not publish, one attaching no manifest, a selection matching none of its runs, or a download whose digest differs or whose tar does not unpack exits 1.

console
squirtl fetch [OPTIONS]

A fetch unpacks each tar into data/runs/ only once the digest of its download matches both the one GitHub carries for the asset and the one the release's manifest records. The widget below runs squirtl fetch --agent dqn against a made-up release attaching the deep Q-network's runs that the Results section draws, with every tar's size and digest made up. In the release whose tar of one run was altered after packing, the fetch stops at that run, whose download matches GitHub's digest and differs from the manifest's.

Release 0.2.0squirtl fetch --agent dqn
  1. 020603.100736Z
  2. 020604.912486Z
  3. 020609.898794Z
  4. 020614.873002Z
  5. 020619.922380Z
20261111T020603.100736Z0.0 MB of 3.1 MB
The download································································
GitHub’s asseta717a26f03b82bc54e0791ccc8548bd7d42198255985d0995202463e3e642882
The manifesta717a26f03b82bc54e0791ccc8548bd7d42198255985d0995202463e3e642882
Downloading 20261111T020603.100736Z.tar.zst

Settings ​

FlagDefaultWhat It Sets
--releasenoneThe tag of the release to read the runs from.
--agentnoneThe agent the run trained.
--seednoneThe seed the run's random draws derive from.
--startnoneWhere the run's training episodes start.