anshks commited on
Commit
b044cd0
·
verified ·
1 Parent(s): ea5a8d9

Preserve per-episode task outcome labels and provenance

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ metadata/episode_outcomes.jsonl filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -71,6 +71,29 @@ rows = np.fromfile("<key>.bin", dtype="<f8").reshape(metadata["num_steps"], 32)
71
  `dataset_info.json` summarizes the release. `shards.jsonl` provides archive sizes,
72
  episode counts, and SHA-256 checksums. Episode metadata contains only public data fields.
73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  ## License and attribution
75
 
76
  This processed release retains the upstream **Creative Commons Attribution-NonCommercial-ShareAlike
 
71
  `dataset_info.json` summarizes the release. `shards.jsonl` provides archive sizes,
72
  episode counts, and SHA-256 checksums. Episode metadata contains only public data fields.
73
 
74
+ ## Episode outcomes
75
+
76
+ `metadata/episode_outcomes.jsonl` provides one metadata record per episode, joined by
77
+ `episode_id`. The fields are `episode_outcome` (`success`, `failure`, or `unknown`)
78
+ and `episode_outcome_source` (label provenance). A schema is provided alongside it.
79
+
80
+ All **142,685** retained episodes have `episode_outcome: "unknown"` and
81
+ `episode_outcome_source: "not_provided"`. The available source task annotations do
82
+ not include explicit episode success/failure labels. Unknown must not be treated as
83
+ success or failure. Task instructions and successful data conversion do not establish
84
+ whether the robot completed the task; this release does not invent those labels.
85
+
86
+ The existing TAR episode JSON members predate this metadata addition. Merge the overlay
87
+ into each episode's metadata when loading; video and binary payloads are unchanged:
88
+
89
+ ```python
90
+ with open("metadata/episode_outcomes.jsonl", encoding="utf-8") as stream:
91
+ outcome_by_id = {row["episode_id"]: row for row in map(json.loads, stream)}
92
+ metadata.update(outcome_by_id[metadata["episode_id"]])
93
+ ```
94
+
95
+ `dataset_info.json` records the overlay counts and SHA-256 checksum.
96
+
97
  ## License and attribution
98
 
99
  This processed release retains the upstream **Creative Commons Attribution-NonCommercial-ShareAlike
dataset_info.json CHANGED
@@ -19,5 +19,21 @@
19
  "hours": 231.44475925925926
20
  }
21
  ],
22
- "format": "WebDataset tar shards; one .mp4, .bin and .json per episode"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  }
 
19
  "hours": 231.44475925925926
20
  }
21
  ],
22
+ "format": "WebDataset tar shards; one .mp4, .bin and .json per episode",
23
+ "episode_outcomes": {
24
+ "file": "metadata/episode_outcomes.jsonl",
25
+ "schema": "metadata/episode_outcomes.schema.json",
26
+ "join_key": "episode_id",
27
+ "field": "episode_outcome",
28
+ "provenance_field": "episode_outcome_source",
29
+ "episodes": 142685,
30
+ "counts": {
31
+ "success": 0,
32
+ "failure": 0,
33
+ "unknown": 142685
34
+ },
35
+ "sha256": "1a5b5774af59471335e6b13560057541cc6951424dde4f9156e31b28d52c92d1",
36
+ "note": "Available source task annotations contain no explicit per-episode success/failure label. Outcomes are unknown; action instructions and successful data conversion are not evidence of task success.",
37
+ "archive_members_updated": false
38
+ }
39
  }
metadata/episode_outcomes.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a5b5774af59471335e6b13560057541cc6951424dde4f9156e31b28d52c92d1
3
+ size 22544230
metadata/episode_outcomes.schema.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "Per-episode task outcome metadata overlay",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "episode_id",
8
+ "episode_outcome",
9
+ "episode_outcome_source"
10
+ ],
11
+ "properties": {
12
+ "episode_id": {
13
+ "type": "string",
14
+ "pattern": "^episode-[0-9a-f]{64}$"
15
+ },
16
+ "episode_outcome": {
17
+ "type": "string",
18
+ "enum": [
19
+ "success",
20
+ "failure",
21
+ "unknown"
22
+ ]
23
+ },
24
+ "episode_outcome_source": {
25
+ "type": "string"
26
+ }
27
+ },
28
+ "description": "Join to the archive episode JSON by episode_id. Source labels describe task outcomes, not processing or action-quality checks. Unknown means no explicit source outcome was provided; do not treat it as success or failure."
29
+ }