File size: 2,091 Bytes
ef0557a
 
ffecc11
 
 
 
 
 
 
 
 
 
 
 
 
ef0557a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98807d9
ef0557a
 
 
 
 
 
 
 
 
 
 
fedc307
ef0557a
 
 
 
 
 
 
 
 
 
 
 
fedc307
ef0557a
 
 
 
 
 
ffecc11
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
license: mit
configs:
- config_name: jobs
  data_files:
  - split: train
    path: machines/*/jobs.csv
- config_name: events
  data_files:
  - split: train
    path: machines/*/events.csv
- config_name: snapshots
  data_files:
  - split: train
    path: machines/*/snapshots.csv
---

# TaskWatch history

This dataset is written automatically by [TaskWatch](https://github.com/).
It contains per-machine history for benchmark and shell jobs.

## Layout

```text
machines/<machine_id>/history.db      # raw SQLite source
machines/<machine_id>/manifest.json   # machine metadata and row counts
machines/<machine_id>/jobs.csv        # one row per job (latest state)
machines/<machine_id>/events.csv      # status-change events
machines/<machine_id>/snapshots.csv   # periodic progress/accuracy snapshots
machines/<machine_id>/logs/<job>/...  # optional uploaded per-run logs
```

The CSV files are generated for the Hugging Face dataset viewer; they are
overwritten on every sync. The SQLite file remains the source of truth.

## Tables

### jobs.csv

`machine`, `job_id`, `name`, `kind`, `status`, `phase`, `first_seen`,
`last_seen`, `current_run`, `runs_total`, `active`, `event_count`,
`snapshot_count`, `latest_accuracy`, `pid`, `command`.

### events.csv

`machine`, `ts`, `job_id`, `name`, `kind`, `event`, `previous_status`,
`status`, `phase`, `current_run`, `runs_total`, `pid`, `user`, `command`,
`model`, `dataset`.

Event types: `discovered`, `status_change`, `reappeared`, `disappeared`.

### snapshots.csv

`machine`, `ts`, `job_id`, `name`, `kind`, `status`, `phase`, `current_run`,
`runs_total`, `accuracy`, `resolved`, `submitted`, `command`.

## Notes

- One machine owns `machines/<machine_id>/`; files are replaced on push.
- History may contain local paths, commands and hostnames. Use a private
  dataset repo if that is sensitive.
- The dataset card defines three viewer configs: `jobs`, `events`, `snapshots`.
  Each config combines all machines' CSV files; use the `machine` column to
  filter.
- If a config does not appear, open a CSV directly from the Files tab.