Howuhh
commited on
Commit
•
d904c86
0
Parent(s):
taster
Browse files- .gitattributes +1 -0
- data/data-cav-gno-neu-any.hdf5 +3 -0
- data/metadata-cav-gno-neu-any.json +1 -0
- nld-aa-taster.py +169 -0
.gitattributes
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
*.hdf5 filter=lfs diff=lfs merge=lfs -text
|
data/data-cav-gno-neu-any.hdf5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd404b6214a6c282a9f4e81b1acbfd353fdade505f09d1554093f6edce4b364b
|
3 |
+
size 117928082
|
data/metadata-cav-gno-neu-any.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[{"gameid": 5, "version": "3.6.6", "points": 2055, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 49, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a gecko while fainted from lack of food", "conduct": "0xfc0", "turns": 15617, "achieve": "0x0", "realtime": 65, "starttime": 1652878559, "endtime": 1652878624, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 8, "version": "3.6.6", "points": 8728, "deathdnum": 0, "deathlev": 5, "maxlvl": 5, "hp": 0, "maxhp": 59, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a white unicorn", "conduct": "0xfc0", "turns": 22494, "achieve": "0x0", "realtime": 129, "starttime": 1652878895, "endtime": 1652879024, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 71, "version": "3.6.6", "points": 3554, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 58, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a rothe while fainted from lack of food", "conduct": "0xf80", "turns": 15758, "achieve": "0x0", "realtime": 77, "starttime": 1652887703, "endtime": 1652887780, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 114, "version": "3.6.6", "points": 1635, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 58, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a manes while fainted from lack of food", "conduct": "0xfc0", "turns": 12966, "achieve": "0x0", "realtime": 47, "starttime": 1652879041, "endtime": 1652879088, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 135, "version": "3.6.6", "points": 10252, "deathdnum": 2, "deathlev": 7, "maxlvl": 7, "hp": 0, "maxhp": 56, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a bolt of fire", "conduct": "0xf80", "turns": 25031, "achieve": "0x0", "realtime": 160, "starttime": 1652881196, "endtime": 1652881356, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 166, "version": "3.6.6", "points": 12035, "deathdnum": 2, "deathlev": 5, "maxlvl": 5, "hp": 0, "maxhp": 72, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a white unicorn", "conduct": "0xf80", "turns": 23526, "achieve": "0x0", "realtime": 175, "starttime": 1652884961, "endtime": 1652885136, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 168, "version": "3.6.6", "points": 27333, "deathdnum": 0, "deathlev": 11, "maxlvl": 11, "hp": 0, "maxhp": 93, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a killer bee while sleeping", "conduct": "0xf80", "turns": 34621, "achieve": "0x0", "realtime": 220, "starttime": 1652885327, "endtime": 1652885547, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 278, "version": "3.6.6", "points": 5096, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 57, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "died of starvation while fainted", "conduct": "0xf80", "turns": 21598, "achieve": "0x0", "realtime": 107, "starttime": 1652887075, "endtime": 1652887182, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 314, "version": "3.6.6", "points": 33998, "deathdnum": 0, "deathlev": 6, "maxlvl": 6, "hp": 0, "maxhp": 88, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a wand", "conduct": "0xf80", "turns": 38993, "achieve": "0x0", "realtime": 302, "starttime": 1652880036, "endtime": 1652880338, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 316, "version": "3.6.6", "points": 11069, "deathdnum": 2, "deathlev": 5, "maxlvl": 5, "hp": 0, "maxhp": 87, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a garter snake while fainted from lack of food", "conduct": "0xfc0", "turns": 29874, "achieve": "0x0", "realtime": 166, "starttime": 1652880479, "endtime": 1652880645, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 446, "version": "3.6.6", "points": 152, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 18, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a fox while fainted from lack of food", "conduct": "0xfc0", "turns": 3651, "achieve": "0x0", "realtime": 9, "starttime": 1652883559, "endtime": 1652883568, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 558, "version": "3.6.6", "points": 1126, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 33, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a giant rat while fainted from lack of food", "conduct": "0xfc0", "turns": 7065, "achieve": "0x0", "realtime": 26, "starttime": 1652887101, "endtime": 1652887127, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 616, "version": "3.6.6", "points": 297, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 24, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a sewer rat while fainted from lack of food", "conduct": "0xfc6", "turns": 3822, "achieve": "0x0", "realtime": 9, "starttime": 1652882067, "endtime": 1652882076, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 629, "version": "3.6.6", "points": 10430, "deathdnum": 0, "deathlev": 2, "maxlvl": 2, "hp": 0, "maxhp": 83, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a magic missile while fainted from lack of food", "conduct": "0xf80", "turns": 60768, "achieve": "0x0", "realtime": 305, "starttime": 1652883573, "endtime": 1652883878, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 677, "version": "3.6.6", "points": 10515, "deathdnum": 2, "deathlev": 4, "maxlvl": 5, "hp": 0, "maxhp": 69, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a white unicorn", "conduct": "0xfc0", "turns": 25777, "achieve": "0x0", "realtime": 126, "starttime": 1652877560, "endtime": 1652877686, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 702, "version": "3.6.6", "points": 31135, "deathdnum": 2, "deathlev": 8, "maxlvl": 8, "hp": 0, "maxhp": 88, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a spotted jelly", "conduct": "0xf80", "turns": 32619, "achieve": "0x0", "realtime": 196, "starttime": 1652880111, "endtime": 1652880307, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 710, "version": "3.6.6", "points": 187, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 31, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a gecko while fainted from lack of food", "conduct": "0xfc0", "turns": 2622, "achieve": "0x0", "realtime": 7, "starttime": 1652880957, "endtime": 1652880964, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 818, "version": "3.6.6", "points": 9083, "deathdnum": 2, "deathlev": 6, "maxlvl": 6, "hp": 0, "maxhp": 58, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a white unicorn", "conduct": "0xfc0", "turns": 28344, "achieve": "0x0", "realtime": 165, "starttime": 1652882856, "endtime": 1652883021, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 927, "version": "3.6.6", "points": 5710, "deathdnum": 0, "deathlev": 2, "maxlvl": 2, "hp": 0, "maxhp": 68, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by Ms. Flugi; the shopkeeper", "conduct": "0xfc0", "turns": 21131, "achieve": "0x0", "realtime": 110, "starttime": 1652883446, "endtime": 1652883556, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 930, "version": "3.6.6", "points": 14109, "deathdnum": 2, "deathlev": 7, "maxlvl": 7, "hp": 0, "maxhp": 77, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "petrified by a chickatrice corpse", "conduct": "0xf80", "turns": 27731, "achieve": "0x0", "realtime": 156, "starttime": 1652883748, "endtime": 1652883904, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1040, "version": "3.6.6", "points": 7172, "deathdnum": 2, "deathlev": 5, "maxlvl": 5, "hp": 0, "maxhp": 75, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a white unicorn", "conduct": "0xfc0", "turns": 20301, "achieve": "0x0", "realtime": 103, "starttime": 1652886484, "endtime": 1652886587, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1055, "version": "3.6.6", "points": 442, "deathdnum": 0, "deathlev": 4, "maxlvl": 4, "hp": 0, "maxhp": 28, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "died of starvation while frozen by a monster's gaze", "conduct": "0xf80", "turns": 1560, "achieve": "0x0", "realtime": 5, "starttime": 1652887693, "endtime": 1652887698, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1077, "version": "3.6.6", "points": 5060, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 79, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a rabid rat while fainted from lack of food", "conduct": "0xfc0", "turns": 20819, "achieve": "0x0", "realtime": 106, "starttime": 1652878919, "endtime": 1652879025, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1103, "version": "3.6.6", "points": 6004, "deathdnum": 2, "deathlev": 4, "maxlvl": 5, "hp": 0, "maxhp": 73, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a fire ant while sleeping off a magical draught", "conduct": "0xfc0", "turns": 24258, "achieve": "0x0", "realtime": 112, "starttime": 1652881825, "endtime": 1652881937, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1107, "version": "3.6.6", "points": 16080, "deathdnum": 2, "deathlev": 6, "maxlvl": 6, "hp": 0, "maxhp": 61, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a blast of fire", "conduct": "0xf80", "turns": 29674, "achieve": "0x0", "realtime": 164, "starttime": 1652882524, "endtime": 1652882688, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1122, "version": "3.6.6", "points": 48281, "deathdnum": 4, "deathlev": 5, "maxlvl": 8, "hp": 0, "maxhp": 94, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a crocodile while fainted from lack of food", "conduct": "0xd80", "turns": 42679, "achieve": "0x0", "realtime": 338, "starttime": 1652884335, "endtime": 1652884673, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1167, "version": "3.6.6", "points": 7154, "deathdnum": 0, "deathlev": 3, "maxlvl": 3, "hp": 0, "maxhp": 77, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a rothe while fainted from lack of food", "conduct": "0xf80", "turns": 27326, "achieve": "0x0", "realtime": 153, "starttime": 1652878105, "endtime": 1652878258, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1245, "version": "3.6.6", "points": 60210, "deathdnum": 0, "deathlev": 3, "maxlvl": 3, "hp": 0, "maxhp": 89, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a panther while fainted from lack of food", "conduct": "0xf80", "turns": 76593, "achieve": "0x0", "realtime": 655, "starttime": 1652888052, "endtime": 1652888707, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1283, "version": "3.6.6", "points": 1529, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 38, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a wererat while fainted from lack of food", "conduct": "0xf80", "turns": 12435, "achieve": "0x0", "realtime": 46, "starttime": 1652880172, "endtime": 1652880218, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1351, "version": "3.6.6", "points": 6154, "deathdnum": 0, "deathlev": 2, "maxlvl": 2, "hp": 0, "maxhp": 75, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a magic missile", "conduct": "0xfc0", "turns": 19824, "achieve": "0x0", "realtime": 67, "starttime": 1652888660, "endtime": 1652888727, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1425, "version": "3.6.6", "points": 13829, "deathdnum": 2, "deathlev": 6, "maxlvl": 6, "hp": 0, "maxhp": 77, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a chameleon imitating a minotaur", "conduct": "0xfc0", "turns": 29602, "achieve": "0x0", "realtime": 166, "starttime": 1652886203, "endtime": 1652886369, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1454, "version": "3.6.6", "points": 8, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 15, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a fox", "conduct": "0xf8f", "turns": 123, "achieve": "0x0", "realtime": 1, "starttime": 1652877667, "endtime": 1652877668, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1456, "version": "3.6.6", "points": 10248, "deathdnum": 0, "deathlev": 8, "maxlvl": 8, "hp": 0, "maxhp": 68, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a leocrotta", "conduct": "0xf80", "turns": 27584, "achieve": "0x0", "realtime": 151, "starttime": 1652877849, "endtime": 1652878000, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1466, "version": "3.6.6", "points": 1576, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 55, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "died of starvation while fainted", "conduct": "0xfc0", "turns": 11449, "achieve": "0x0", "realtime": 43, "starttime": 1652878981, "endtime": 1652879024, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1480, "version": "3.6.6", "points": 138, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 27, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a goblin while fainted from lack of food", "conduct": "0xfc0", "turns": 2032, "achieve": "0x0", "realtime": 5, "starttime": 1652881201, "endtime": 1652881206, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1557, "version": "3.6.6", "points": 42993, "deathdnum": 4, "deathlev": 7, "maxlvl": 10, "hp": 0, "maxhp": 81, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by an invisible mountain centaur", "conduct": "0xf80", "turns": 38442, "achieve": "0x0", "realtime": 245, "starttime": 1652878864, "endtime": 1652879109, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1598, "version": "3.6.6", "points": 5316, "deathdnum": 0, "deathlev": 2, "maxlvl": 2, "hp": 0, "maxhp": 67, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by Mr. Bojolali; the shopkeeper", "conduct": "0xfc0", "turns": 22163, "achieve": "0x0", "realtime": 124, "starttime": 1652884632, "endtime": 1652884756, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1631, "version": "3.6.6", "points": 12491, "deathdnum": 2, "deathlev": 4, "maxlvl": 5, "hp": 0, "maxhp": 94, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a killer bee", "conduct": "0xf80", "turns": 26521, "achieve": "0x0", "realtime": 90, "starttime": 1652888194, "endtime": 1652888284, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1660, "version": "3.6.6", "points": 833, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 39, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a hobbit while fainted from lack of food", "conduct": "0xfc0", "turns": 7397, "achieve": "0x0", "realtime": 23, "starttime": 1652879574, "endtime": 1652879597, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1661, "version": "3.6.6", "points": 45680, "deathdnum": 2, "deathlev": 7, "maxlvl": 7, "hp": 0, "maxhp": 95, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a troll", "conduct": "0xf80", "turns": 39266, "achieve": "0x0", "realtime": 286, "starttime": 1652879597, "endtime": 1652879883, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1662, "version": "3.6.6", "points": 61, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 15, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a newt while fainted from lack of food", "conduct": "0xfc7", "turns": 1378, "achieve": "0x0", "realtime": 3, "starttime": 1652879884, "endtime": 1652879887, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1697, "version": "3.6.6", "points": 8083, "deathdnum": 0, "deathlev": 4, "maxlvl": 4, "hp": 0, "maxhp": 74, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a black unicorn", "conduct": "0xfc0", "turns": 27594, "achieve": "0x0", "realtime": 176, "starttime": 1652884315, "endtime": 1652884491, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1730, "version": "3.6.6", "points": 366, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 33, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "died of starvation while fainted", "conduct": "0xfc0", "turns": 5047, "achieve": "0x0", "realtime": 13, "starttime": 1652888114, "endtime": 1652888127, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}, {"gameid": 1736, "version": "3.6.6", "points": 7946, "deathdnum": 0, "deathlev": 2, "maxlvl": 2, "hp": 0, "maxhp": 70, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Mal", "align": "Neu", "name": "Agent", "death": "killed by a giant rat while frozen by a monster's gaze", "conduct": "0xfc0", "turns": 25198, "achieve": "0x0", "realtime": 114, "starttime": 1652888649, "endtime": 1652888763, "gender0": "Mal", "align0": "Neu", "flags": "0x4"}, {"gameid": 1811, "version": "3.6.6", "points": 197, "deathdnum": 0, "deathlev": 1, "maxlvl": 1, "hp": 0, "maxhp": 31, "deaths": 1, "deathdate": 20220518, "birthdate": 20220518, "uid": 1185200751, "role": "Cav", "race": "Gno", "gender": "Fem", "align": "Neu", "name": "Agent", "death": "killed by a bat", "conduct": "0xf80", "turns": 2340, "achieve": "0x0", "realtime": 7, "starttime": 1652885873, "endtime": 1652885880, "gender0": "Fem", "align0": "Neu", "flags": "0x4"}]
|
nld-aa-taster.py
ADDED
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
|
2 |
+
#
|
3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
+
# you may not use this file except in compliance with the License.
|
5 |
+
# You may obtain a copy of the License at
|
6 |
+
#
|
7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
+
#
|
9 |
+
# Unless required by applicable law or agreed to in writing, software
|
10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
+
# See the License for the specific language governing permissions and
|
13 |
+
# limitations under the License.
|
14 |
+
|
15 |
+
""" Dungeons and Data: A Large-Scale NetHack Dataset. """
|
16 |
+
|
17 |
+
import glob
|
18 |
+
import h5py
|
19 |
+
import json
|
20 |
+
import os
|
21 |
+
import datasets
|
22 |
+
|
23 |
+
# from datasets.download.streaming_download_manager import xopen
|
24 |
+
|
25 |
+
_CITATION = """\
|
26 |
+
"""
|
27 |
+
|
28 |
+
_DESCRIPTION = """\
|
29 |
+
3 billion state-action-score transitions from 100,000 trajectories collected from the symbolic bot winner of the NetHack Challenge 2021.
|
30 |
+
"""
|
31 |
+
|
32 |
+
_HOMEPAGE = ""
|
33 |
+
|
34 |
+
_LICENSE = ""
|
35 |
+
|
36 |
+
|
37 |
+
# _TOTAL_EPISODES = 1934
|
38 |
+
# _URLS = {
|
39 |
+
# "data": [f"data/{i}.hdf5" for i in range(1, _TOTAL_EPISODES)],
|
40 |
+
# "metadata": ["metadata.json"],
|
41 |
+
# }
|
42 |
+
|
43 |
+
class NleHfDataset(datasets.GeneratorBasedBuilder):
|
44 |
+
"""Dungeons and Data: A Large-Scale NetHack Dataset."""
|
45 |
+
VERSION = datasets.Version("1.0.0")
|
46 |
+
|
47 |
+
# BUILDER_CONFIGS = [
|
48 |
+
# datasets.BuilderConfig(name="data", version=VERSION, description="Data for all episodes"),
|
49 |
+
# datasets.BuilderConfig(name="metadata", version=VERSION, description="Metadata for all episodes"),
|
50 |
+
# ]
|
51 |
+
# DEFAULT_CONFIG_NAME = "metadata"
|
52 |
+
|
53 |
+
def _info(self):
|
54 |
+
features = datasets.Features(
|
55 |
+
{
|
56 |
+
"data": {
|
57 |
+
"tty_chars": datasets.Array3D(shape=(None, 24, 80), dtype="uint8"),
|
58 |
+
"tty_colors": datasets.Array3D(shape=(None, 24, 80), dtype="int8"),
|
59 |
+
"tty_cursor": datasets.Array2D(shape=(None, 2), dtype="int16"),
|
60 |
+
"actions": datasets.Sequence(datasets.Value("int16")),
|
61 |
+
"rewards": datasets.Sequence(datasets.Value("int32")),
|
62 |
+
"dones": datasets.Sequence(datasets.Value("bool")),
|
63 |
+
},
|
64 |
+
"metadata": {
|
65 |
+
"gameid": datasets.Value("int32"),
|
66 |
+
"version": datasets.Value("string"),
|
67 |
+
"points": datasets.Value("int32"),
|
68 |
+
"deathdnum": datasets.Value("int32"),
|
69 |
+
"deathlev": datasets.Value("int32"),
|
70 |
+
"maxlvl": datasets.Value("int32"),
|
71 |
+
"hp": datasets.Value("int32"),
|
72 |
+
"maxhp": datasets.Value("int32"),
|
73 |
+
"deaths": datasets.Value("int32"),
|
74 |
+
"deathdate": datasets.Value("int32"),
|
75 |
+
"birthdate": datasets.Value("int32"),
|
76 |
+
"uid": datasets.Value("int32"),
|
77 |
+
"role": datasets.Value("string"),
|
78 |
+
"race": datasets.Value("string"),
|
79 |
+
"gender": datasets.Value("string"),
|
80 |
+
"align": datasets.Value("string"),
|
81 |
+
"name": datasets.Value("string"),
|
82 |
+
"death": datasets.Value("string"),
|
83 |
+
"conduct": datasets.Value("string"),
|
84 |
+
"turns": datasets.Value("int32"),
|
85 |
+
"achieve": datasets.Value("string"),
|
86 |
+
"realtime": datasets.Value("int64"),
|
87 |
+
"starttime": datasets.Value("int64"),
|
88 |
+
"endtime": datasets.Value("int64"),
|
89 |
+
"gender0": datasets.Value("string"),
|
90 |
+
"align0": datasets.Value("string"),
|
91 |
+
"flags": datasets.Value("string")
|
92 |
+
}
|
93 |
+
}
|
94 |
+
)
|
95 |
+
return datasets.DatasetInfo(
|
96 |
+
description=_DESCRIPTION,
|
97 |
+
features=features,
|
98 |
+
homepage=_HOMEPAGE,
|
99 |
+
license=_LICENSE,
|
100 |
+
citation=_CITATION,
|
101 |
+
)
|
102 |
+
|
103 |
+
def _split_generators(self, dl_manager):
|
104 |
+
# data_file = dl_manager.download_and_extract(f"data/data-{self.config.name}-any.hdf5.zip")
|
105 |
+
data_file = dl_manager.download(f"data/data-{self.config.name}-any.hdf5")
|
106 |
+
metadata_file = dl_manager.download(f"data/metadata-{self.config.name}-any.json")
|
107 |
+
return [
|
108 |
+
datasets.SplitGenerator(
|
109 |
+
name=datasets.Split.TRAIN,
|
110 |
+
gen_kwargs={
|
111 |
+
"data_file": data_file,
|
112 |
+
"metadata_file": metadata_file,
|
113 |
+
"dl_manager": dl_manager
|
114 |
+
}
|
115 |
+
)
|
116 |
+
]
|
117 |
+
|
118 |
+
def _generate_examples(self, data_file, metadata_file, dl_manager):
|
119 |
+
with h5py.File(data_file, "r") as df, open(metadata_file, "r") as f:
|
120 |
+
meta = json.load(f)
|
121 |
+
|
122 |
+
for i, (ep_key, ep_meta) in enumerate(zip(df["/"], meta)):
|
123 |
+
print(ep_key, ep_meta["gameid"])
|
124 |
+
assert int(ep_key) == int(ep_meta["gameid"])
|
125 |
+
|
126 |
+
yield i, {
|
127 |
+
"data": {
|
128 |
+
"tty_chars": df[f"{ep_key}/tty_chars"][()],
|
129 |
+
"tty_colors": df[f"{ep_key}/tty_colors"][()],
|
130 |
+
"tty_cursor": df[f"{ep_key}/tty_cursor"][()],
|
131 |
+
"actions": df[f"{ep_key}/actions"][()],
|
132 |
+
"rewards": df[f"{ep_key}/rewards"][()],
|
133 |
+
"dones": df[f"{ep_key}/dones"][()]
|
134 |
+
},
|
135 |
+
"metadata": ep_meta
|
136 |
+
}
|
137 |
+
|
138 |
+
# if self.config.name == "metadata":
|
139 |
+
# assert len(filepaths) == 1
|
140 |
+
# assert not dl_manager.is_streaming
|
141 |
+
# yield from self.__generate_metadata(filepaths[0])
|
142 |
+
# else:
|
143 |
+
# yield from self.__generate_data(filepaths, dl_manager)
|
144 |
+
|
145 |
+
# def __generate_metadata(self, filepath):
|
146 |
+
# with open(filepath, "r") as f:
|
147 |
+
# data = json.load(f)
|
148 |
+
# for i, line in enumerate(data):
|
149 |
+
# yield i, line
|
150 |
+
|
151 |
+
# def __generate_data(self, filepaths, dl_manager):
|
152 |
+
# for i, filepath in enumerate(filepaths):
|
153 |
+
# if dl_manager.is_streaming:
|
154 |
+
# filepath = xopen(filepath, "rb")
|
155 |
+
|
156 |
+
# with h5py.File(filepath, "r") as f:
|
157 |
+
# yield i, {
|
158 |
+
# "tty_chars": f["tty_chars"][()],
|
159 |
+
# "tty_colors": f["tty_colors"][()],
|
160 |
+
# "tty_cursor": f["tty_cursor"][()],
|
161 |
+
# "actions": f["actions"][()],
|
162 |
+
# "rewards": f["rewards"][()],
|
163 |
+
# "dones": f["dones"][()]
|
164 |
+
# }
|
165 |
+
|
166 |
+
# if dl_manager.is_streaming:
|
167 |
+
# filepath.close()
|
168 |
+
|
169 |
+
|