anshks commited on
Commit
239ec36
·
verified ·
1 Parent(s): 71827fc

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
@@ -137,6 +137,30 @@ The archive members contain the exported video and state/action bytes. Episode m
137
  reduced to public data fields. `dataset_info.json` summarizes the release and `shards.jsonl`
138
  lists archive sizes, episode counts, and SHA-256 checksums.
139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  ## Source and license
141
 
142
  Upstream sources are [X-Humanoid/RoboMIND2.0-Agilex](https://modelscope.cn/datasets/X-Humanoid/RoboMIND2.0-Agilex),
 
137
  reduced to public data fields. `dataset_info.json` summarizes the release and `shards.jsonl`
138
  lists archive sizes, episode counts, and SHA-256 checksums.
139
 
140
+ ## Episode outcomes
141
+
142
+ `metadata/episode_outcomes.jsonl` provides one metadata record per episode, joined by
143
+ `episode_id`. The fields are `episode_outcome` (`success`, `failure`, or `unknown`)
144
+ and `episode_outcome_source` (label provenance). A schema is provided alongside it.
145
+
146
+ All **134,537** retained episodes have `episode_outcome: "success"`, with provenance
147
+ `source_directory:success_episodes`. Every retained episode maps to an upstream
148
+ `success_episodes` directory; no source-labelled failure episodes occur in this subset.
149
+ This preserves the source task-outcome label. It is not independent visual verification
150
+ or a certification of pose, action, or video quality. Processing failures and alignment
151
+ review flags are separate from task outcomes.
152
+
153
+ The existing TAR episode JSON members predate this metadata addition. Merge the overlay
154
+ into each episode's metadata when loading; video and binary payloads are unchanged:
155
+
156
+ ```python
157
+ with open("metadata/episode_outcomes.jsonl", encoding="utf-8") as stream:
158
+ outcome_by_id = {row["episode_id"]: row for row in map(json.loads, stream)}
159
+ metadata.update(outcome_by_id[metadata["episode_id"]])
160
+ ```
161
+
162
+ `dataset_info.json` records the overlay counts and SHA-256 checksum.
163
+
164
  ## Source and license
165
 
166
  Upstream sources are [X-Humanoid/RoboMIND2.0-Agilex](https://modelscope.cn/datasets/X-Humanoid/RoboMIND2.0-Agilex),
dataset_info.json CHANGED
@@ -47,5 +47,21 @@
47
  "hours": 33.24141068607515
48
  }
49
  ],
50
- "format": "WebDataset tar shards; one .mp4, .bin and .json per episode"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  }
 
47
  "hours": 33.24141068607515
48
  }
49
  ],
50
+ "format": "WebDataset tar shards; one .mp4, .bin and .json per episode",
51
+ "episode_outcomes": {
52
+ "file": "metadata/episode_outcomes.jsonl",
53
+ "schema": "metadata/episode_outcomes.schema.json",
54
+ "join_key": "episode_id",
55
+ "field": "episode_outcome",
56
+ "provenance_field": "episode_outcome_source",
57
+ "episodes": 134537,
58
+ "counts": {
59
+ "success": 134537,
60
+ "failure": 0,
61
+ "unknown": 0
62
+ },
63
+ "sha256": "3a996aab4c28ca0dfc82a2ad5806bee01ff378adac38ebf9bb323109cde4edf2",
64
+ "note": "All retained episodes are labelled successful by the upstream success_episodes directory. This preserves the source label and is not independent visual verification.",
65
+ "archive_members_updated": false
66
+ }
67
  }
metadata/episode_outcomes.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a996aab4c28ca0dfc82a2ad5806bee01ff378adac38ebf9bb323109cde4edf2
3
+ size 24082123
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
+ }