Skip to content

Commit

Permalink
feat: analysis stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kiedtl committed Oct 6, 2023
1 parent 30175ef commit c003769
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
seed := "3849171"
seed := "3849171"
iters := "30"

b:
zig build -Duse-sdl=true
Expand All @@ -17,3 +18,10 @@ brunvg:

brun-term:
zig build -Duse-sdl=false && (RL_NO_SENTRY=1 RL_SEED={{seed}} RL_MODE=normal zig-out/bin/rl 2>| log || less log)

an:
RL_AN_ITERS={{iters}} RL_MODE=analyzer zig-out/bin/rl >| zig-out/output.json
lua5.3 tools/analyzer-items.lua < zig-out/output.json >| zig-out/output-items.csv
lua5.3 tools/analyzer-fabs.lua total < zig-out/output.json >| zig-out/output-fabs.csv
lua5.3 tools/analyzer-fabs.lua occurred < zig-out/output.json >| zig-out/output-fabs-occurred.csv
lua5.3 tools/analyzer-mobs.lua < zig-out/output.json >| zig-out/output-mobs.csv
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c003769

Please sign in to comment.