Datasets:
Download PLAN.md from ReethikaValluru/SapiensGameDataset: direct link, hf CLI and curl.
- Browser
- Download file 6.93 kB
-
https://huggingface.co/datasets/ReethikaValluru/SapiensGameDataset/resolve/main/PLAN.md
- Command line
-
hf download hf://datasets/ReethikaValluru/SapiensGameDataset/PLAN.md
-
curl -L -o PLAN.md https://huggingface.co/datasets/ReethikaValluru/SapiensGameDataset/resolve/main/PLAN.md
Gameplay dataset implementation and publishing plan
Goal
Publish a small, reproducible and honestly documented synthetic gameplay dataset on the user's Hugging Face account, then optionally develop a separate, consent-based real-game dataset. Publishing a dataset is distinct from contributing a PR to huggingface/datasets.
Current deliverable
Prepared: 12,000 synthetic encounter rows; 300 sessions; 3 chapter labels; train/validation/test CSVs; generator; validator; manifest with SHA-256 hashes; dataset card; publication instructions. Local validation passed. No gameplay instrumentation has been added, and the existing game is unchanged. Hugging Face publication is pending account sign-in and confirmation of the destination shown in the account UI.
Phase 1 — Scope and schema (completed)
- Unit: one obstacle encounter. Label: collision.
- Required states: hit count before/after, death on second contact, distance reset after death.
- Use abstract obstacles so no third-party artwork or books are needed.
- Record provenance and simulator version on every row.
- Keep predicted outcomes separate from input features. Acceptance: all columns and exact semantics described in README.md; every row marked synthetic.
Phase 2 — Reproducible generation (completed)
- Fixed seed 20261116, 300 artificial sessions, 40 encounters each.
- Uniformly sample abstract obstacle, lane and action; sample action timing validity at 75%.
- Preserve hit count across encounters until death; reset hits and distance on respawn.
- Add chapter labels for schema development only; chapter-specific mechanics are not modelled.
- Store the generator alongside records; hash output files. Acceptance: repeated generation produces identical CSV bytes on the same supported environment; no real identities or third-party material.
Phase 3 — Quality checks (completed locally)
- Enforce column order, known values and unique event IDs.
- Verify 12,000 rows and 300 sessions.
- Verify session-disjoint 80/10/10 splits.
- Validate state continuity within each session and explicit collision cases.
- Check death only after two collisions and respawn distance zero.
- Validate file checksums and exact regeneration.
- Review distributions; report observed counts without treating them as real player behaviour.
Acceptance:
python validate.pysucceeds. Hugging Face dataset loading/viewer checks remain a separate publication gate.
Phase 4 — Publish on Hugging Face (pending sign-in)
- Sign into the intended Hugging Face account through secure browser authentication.
- Inspect the available account/organisation namespace. Use the user's personal namespace unless an organisation is explicitly requested.
- Create
sapiens-gameplay-syntheticas a dataset repository, initially private while checking upload and viewer. If it already exists, inspect its files/history and propose a versioned update instead of replacing unrelated files. - Upload this folder's contents, preserving
data/. Do not upload the ZIP itself as the only data file. Use the README front matter to identify the three splits. - Confirm the dataset card, counts and preview. Load from the Hub using
datasets.load_datasetand confirm counts/types; record the actual commit SHA. - Publish publicly once the dataset card, license and preview have been verified, consistent with the request to publish. Keep the upload commit for rollback.
- Return the actual repository URL and verified release status. Never claim a placeholder namespace is live. Acceptance: live dataset page, visible card, readable splits and recorded revision. Pending authentication is not a completed publication.
Phase 5 — Useful baseline (next iteration; not yet implemented)
- Report a training-majority-class baseline and a simple decision tree, using only pre-outcome features.
- Fit encoders on training data only; tune on validation; evaluate the held-out test once.
- Report precision, recall, F1, confusion matrix and class counts, not accuracy alone.
- Add a rule-based reference and explain that the target is deterministic.
- Never report synthetic scores as real-game AI capability. Do not use post-outcome columns as model inputs. Acceptance: runnable evaluation script with fixed seed and recorded dependency versions.
Phase 6 — Real game data pilot (future, separate work)
- Choose browser or Roblox as the first instrumented platform; do not mix implementations silently.
- Add opt-in local export before any network collection. Collect events, not raw key streams.
- Suggested events: encounter, collision, death, respawn, quest choice and chapter completion. Add game revision, platform and schema version.
- Use fresh random session IDs; exclude account IDs, names, chat, IP addresses and exact wall-clock times. For any real player pilot, determine appropriate consent and retention controls before collecting or sharing.
- Verify callbacks fire once per obstacle; paused time is excluded; repeat death callbacks are deduplicated; death occurs on the second distinct hit; distance resets correctly. Test multiple chapter setups.
- Start with author-controlled test sessions. Measure missing/duplicate events, invalid transitions and coverage. Human pilot data must not be public by default.
- Split by player where stable, appropriately permitted grouping exists, otherwise by session and explicitly document residual cross-session leakage. Keep synthetic and real records separately labelled. Acceptance: instrumentation tests, approved collection scope, reviewed export, provenance and privacy checks. No automatic collection is enabled by this package.
Phase 7 — Community maintenance
- Ask contributors for reproducible bug reports, tests and clearly labelled synthetic scenarios.
- Reject unverified scraped material or unlabeled fabricated player records.
- Use patch releases for documentation corrections, minor releases for compatible additions, major releases for changed schema or label semantics.
- Preserve released revisions; document changed distributions and labels in a changelog.
- Review issues and contributions manually; a dataset release does not imply upstream Hugging Face endorsement.
Suggested delivery sequence
Session 1: prepare and validate synthetic pilot (done). Session 2: authenticate, upload, verify Hub viewer and loading, publish. Session 3: add baseline and inspect failure cases. Later: scope and implement consent-based instrumentation as a separate game PR. These are work stages, not promises about elapsed time.
Sources
- Hugging Face dataset cards: https://huggingface.co/docs/hub/datasets-cards
- Uploading datasets: https://huggingface.co/docs/hub/datasets-adding
- Python upload API: https://huggingface.co/docs/huggingface_hub/guides/upload
- Inspected game revision: https://github.com/ReethikaValluru/Game-Development/tree/3cb3217fa637ce5ff67e31ba0fcce568e08501fe