Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example script for MephistoDataBrowser usage #125

Merged
merged 2 commits into from
May 14, 2020
Merged

Conversation

JackUrb
Copy link
Contributor

@JackUrb JackUrb commented May 14, 2020

Creates an example script to pair with the static task script that demonstrates how someone can write code using the MephistoDataBrowser to both examine their data and also review the contents of it.

> python examples/simple_static_task/examine_results.py 
Input task name: static_task
Tasks to see? (a)ll/(u)nreviewed: a
-------------------
Worker: 10
Unit: 1804
Duration: 3
Character: Loaded Character 1
Description: I'm a character loaded from Mephisto!
   Rating: good
   Files: No files attached

-------------------
Worker: 11
Unit: 1805
Duration: 2
Character: Loaded Character 1
Description: I'm a character loaded from Mephisto!
   Rating: good
   Files: No files attached

-------------------
Worker: 12
Unit: 1806
Duration: 3
Character: Loaded Character 2
Description: I'm another character loaded from Mephisto!
   Rating: passable
   Files: No files attached

-------------------
Worker: 13
Unit: 1807
Duration: 3
Character: Loaded Character 2
Description: I'm another character loaded from Mephisto!
   Rating: good
   Files: No files attached

-------------------
Worker: 13
Unit: 2612
Duration: 9
Character: Loaded Character 1
Description: I'm a character loaded from Mephisto!
   Rating: passable
   Files: No files attached

-------------------
Worker: 13
Unit: 2616
Duration: 67
Character: Loaded Character 1
Description: I'm a character loaded from Mephisto!
   Rating: good
   Files: No files attached

-------------------
Worker: 13
Unit: 2620
Duration: 12
Character: Loaded Character 1
Description: I'm a character loaded from Mephisto!
   Rating: good
   Files: ['1589418048498-706402439-file1-dungeon_master.png']
   File directory /Users/jju/mephisto/data/data/runs/NO_PROJECT/648/1861/722

@JackUrb JackUrb requested a review from pringshia May 14, 2020 01:04
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 14, 2020
@pringshia
Copy link
Contributor

Super useful, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants