|
Download docs/DATA_DICTIONARY.md from corrigibility-games/cg-ktane: direct link, hf CLI and curl.
- Browser
- Download file 12.2 kB
-
https://huggingface.co/datasets/corrigibility-games/cg-ktane/resolve/main/docs/DATA_DICTIONARY.md
- Command line
-
hf download hf://datasets/corrigibility-games/cg-ktane/docs/DATA_DICTIONARY.md
-
curl -L -o DATA_DICTIONARY.md https://huggingface.co/datasets/corrigibility-games/cg-ktane/resolve/main/docs/DATA_DICTIONARY.md
12.2 kB
| # Data dictionary and joins | |
| The machine-readable [schema](../schema.json) lists actual tables, column types and row counts for this export. Each table has a JSONL representation and a Parquet representation with the same logical rows. The following definitions describe relationships and interpretation; the schema remains authoritative for column names. All tables belong to the single open `pilot` partition. | |
| ## Reading conventions | |
| - Join on stable identifiers, normally together with `episode_id`. Do not join by approximate timestamp when an explicit identifier is available. A role-specific step, a request, an event and a physical dispatch are different units. | |
| - `defuser` is the subordinate with game observations and device actions; `expert` is the principal with the manual and partner reports. A provider/SDK message role such as `user` or `assistant` inside a context is a transport role, not this research role assignment. | |
| - Columns ending in `_json` contain JSON text. Decode one level with a JSON parser when needed; a JSON string can preserve a source-serialized value. SQL readers should not assume these columns are already nested Arrow structs. | |
| - Null, an empty list, missing input and an unsuccessful request have different meanings. Never replace missing behavioral evidence with a success or failure judgment. | |
| - Paths beginning `assets/` are relative to the dataset repository root. `source://...` values in retained review provenance are source identifiers, not public download URLs or promises that the original source file is shipped. | |
| - The original payload vocabulary is preserved where practical. Source state can use camelCase alongside snake_case elsewhere. Some original state strings contain duplicate JSON keys, including repeated `moduleLocation`; the exporter does not silently repair or semantically normalize them. Standard JSON parsers generally retain the final occurrence. Use an ordered-pairs parser when auditing those raw strings, and document any later normalization. | |
| ## Core tables | |
| | Table | Unit and principal relationship | Meaning | | |
| |---|---|---| | |
| | `episodes` | One terminal game, keyed by `episode_id` | Outcome, roles/models, mission and seeds, timing mode, source versions, counts and final observer state. `retry_of` can refer to an earlier attempt outside this terminal-only release. `split_group` is a conservative related-data grouping, not an independent randomization unit. | | |
| | `configurations` | One configured episode/role | Sanitized session configuration and its asset reference. Compare with per-request protocol/settings because runtime overrides may differ. | | |
| | `events` | One source trace event, keyed by `event_id` within an episode | Typed event envelope and sanitized `data_json`. `writer_id` plus `sequence` preserves source-writer order. Shared `request_id` links request-related events. | | |
| | `requests` | One model request start, keyed by `request_id` within an episode | Actual sanitized context, instructions, protocol/settings, observation link, consumed message IDs, image references, truncation count and response/parse/failure status. | | |
| | `decisions` | One parsed model-output event | Links through `request_id` and its parse `event_id`. Parsed output is a decision, not proof that an action was dispatched or succeeded. | | |
| | `messages` | One attempted outgoing partner message, keyed by `message_id` | Text, sender/recipient, publishing request and attempt/publication events. A null publication event is not delivery. | | |
| | `message_deliveries` | One receipt event | Links `message_id` to the receiving service, with duplicate/legacy/invalid-envelope flags. Service receipt is not model consumption. | | |
| | `message_inclusions` | A message included in a particular request | Join `message_id` to `request_id`. This is the useful boundary for asking whether a revision was available to the next decision, then check request processing and feasibility. | | |
| | `actions` | One actual dispatch start, keyed by `dispatch_id` | Requested physical action, originating request, optional return event and following observations. `dispatcher_effect_confirmed` is a dispatcher report, not an independently verified intended game effect. | | |
| | `observations` | One prepared observation event, keyed by `observation_id` | Ordered image references, model-facing observation object, raw observation object, separately identified researcher state, and preceding dispatch. | | |
| | `usage` | One observed model-response usage record | Provider-reported token/usage categories and finish reason linked to the request. Missing response usage does not prove a failed or cancelled request cost nothing. This is not a billing reconciliation table. | | |
| A typical causal lookup is: `messages.message_id` → `message_inclusions.request_id` → `requests` → `decisions` → `actions.request_id` → `observations.preceding_dispatch_id`. Use the linked events and context for ambiguous cases. An action's following observation can show a later state without proving that every intervening change was caused by that dispatch. | |
| ## Actual contexts, assets and visibility | |
| `requests.context_path` resolves to a portable JSON artifact containing `instructions`, `message_history`, `message_input`, capabilities/protocol, settings overrides and a reflection flag. Preserve the ordering of message history, current input, multimodal parts and frames. `instructions_path` is a separate copy for convenient inspection; it is not an additional message to prepend twice. | |
| `current_image_asset_ids_json` indexes image references found in current input. `retained_image_asset_ids_json` indexes those in prior history. These are convenience indices; the actual context object defines placement and order. A zero text-truncation count does not mean every historical image was retained: image-retention policy is a separate mechanism. | |
| JSON artifacts can recursively reference other assets using `asset_id`, `path`, `sha256`, byte count and media type. Follow those references through `assets`; do not treat an artifact filename as image bytes. Content-identical objects are deduplicated, so the same asset can appear in multiple requests or roles. The asset itself has no universal recipient: availability is established by its request/observation use. | |
| `provider_exposed_thinking` and source-exposed intermediate context text are retained where available. They are not a model's complete hidden reasoning and are not automatically partner-visible dialogue. Only actual message publication/inclusion establishes partner access. Opaque signatures, provider metadata and identifying provider transport fields are removed with entries in `redactions`; contexts are therefore labeled sanitized observable-content projections rather than byte-identical provider requests. | |
| Observer-only state can include answer-bearing fields. It is available to an analyst, not evidence that either actor received it. The `researcher_state_visibility` field, observation references and explicit context contents govern this distinction. Publicly shipping observer state does not make it a secret evaluation answer set. | |
| ## Time and recorded steps | |
| `events.elapsed_seconds` and the corresponding event-derived request/action/message/observation times use a per-episode origin: the earliest recorded trace event's host monotonic clock. `utc` is the source event's recorded wall-clock label. Neither substitutes for a message/request causal link. Source-writer sequence is preserved even when timestamps are equal or close. | |
| `step_records.source_elapsed_seconds` uses a **different origin**: the source experiment start, recorded when dispatching a step output. Its `time_basis` states `source_experiment_start_not_trace_origin`. Do not directly subtract it from trace-origin times or video timestamps. `step` is role-specific, not a global turn index; `record_id` combines episode, role and step. This table preserves safe scalar/text columns from the original role records. It is not automatically a one-to-one ordering-based join to requests when errors/retries occur. | |
| `is_reflection` separates postgame reflection requests/records from active decisions. Retain reflections for audit, but exclude them from claims about advice available before the terminal outcome. A request may have failure events and later recovery; inspect `response_received`, `output_parsed`, `request_failed`, event IDs and the trace instead of treating one Boolean as a final behavioral verdict. | |
| `wall_seconds` is run-duration metadata; `trace_duration_seconds` measures the trace span. Bomb remaining time is game state and can pause during synchronous inference. Native video presentation time has a capture origin; bomb-clock derivative time has a transformation map. The `media` table and accompanying maps document those sources. Timing interpolation, acquisition gaps and collapsed paused-clock intervals create uncertainty; no field here establishes perfect frame-level synchronization or a global causal order by itself. | |
| ## State, provenance and integrity | |
| `step_records.researcher_state_json`, observation state artifacts and terminal state are **snapshots**, not a complete record of every Unity update or animation frame. Terminal evidence supports a definite ending; it does not fill earlier capture gaps. No deterministic replay of all engine internals is promised. | |
| `assets.sha256` hashes the exported asset's actual bytes and is also its content-addressed `asset_id`. Exported JSON can differ from its source after sanitization and portable-reference substitution. `source_context_sha256`, `source_event_sha256`, `source_previous_sha256`, source Parquet hashes and source metadata hashes identify original evidence; they must not be claimed as hashes of modified export rows. The original event chain was checked during extraction, but its source hashes do not constitute a new chain over sanitized events. Use the release manifest for final package-byte integrity. | |
| `source_versions` records collected source-file digests; a digest is provenance, not an included executable copy. `role_record_provenance` records original role-file identity, footer/version fields and excluded columns. Binary Python-object columns are replaced by linked portable context/output/observation/usage artifacts rather than distributed for unpickling. `redactions` records omission locations and reasons without retaining sensitive removed values. | |
| ## Review tables | |
| | Table | Interpretation | | |
| |---|---| | |
| | `annotations` | One issue/role contribution identified by `annotation_id`; includes availability, materiality, feasible response, persistence window, confounds and provisional review status. Join shared `chain_id` within an episode to inspect both roles. | | |
| | `annotation_dimensions` | One dimension within a contribution, joined by `annotation_id`. Eligibility and qualitative label are separate. No numerical model score is supplied. | | |
| | `evidence_links` | An annotation's references with relationship, resolved target table/ID when available, and explicit resolution status. `reviewer_note_not_machine_resolved` is retained prose/provenance, not a validated foreign key. Inspect it rather than inventing a join. | | |
| | `screening_windows` | Initial census screening classifications and request links. `review_stage` marks that these precede later visual additions and adjudication. They are discovery history, not automatically final labels. | | |
| | `review_coverage` | Source review method and coverage, with `human_adjudicated` false. Initial coverage can be expanded by later review; do not infer a full-resolution visual census from a count of parsed contexts. | | |
| | `annotation_revisions` | Qualitative before/after adjudication records, their role/chain/dimension and reason. Join to the matching contribution and retain review provenance. These are researcher-agent revisions, not independent human adjudication. | | |
| See the [annotation guide](ANNOTATION_GUIDE.md) for construct and outcome definitions. A machine-resolved evidence reference confirms the target exists; it does not validate the interpretation. A blank or unassessable label is not a failure score. A supported label concerns its observed window, not an enduring model property. | |