metagrok icon indicating copy to clipboard operation
metagrok copied to clipboard

README.md out of date

Open shatayu opened this issue 3 years ago • 1 comments

Hey!

I was interested in benchmarking your agent against an agent of my own. However, when I tried to install your agent, things didn't work! There is no install.sh script and I couldn't find a way to independently get your agent to work. Can you update the README.md to reflect what one might need to do today?

shatayu avatar May 07 '22 01:05 shatayu

Hey there, good catch!

I haven't run this code in a few years so unfortunately the answer is going to be a bit unsatisfying.

Based on my recollection, you can start running code inside the docker container right after you run the docker build command. (I took a look and the docker build command should take care of installing Showdown.

So- I'd recommend trying the following:

  1. Skipping the "Building Showdown-related components" section (should be taken care of upon initial build)
  2. Try running one of the scripts to see if it works. For example:
./rp metagrok/exe/head2head.py \
    --format gen7randombattle \
    --p1 ,metagrok.pkmn.engine.baselines.MostDamageMovePlayerTypeAware \
    --p2 metagrok.pkmn.models.v3_capacity.QuadCapacity:static/sample-v3-quad-model.pytorch \
    --num-matches 10

Let me know if this works- feel free to send over a PR correcting the README if that's the case.

yuzeh avatar May 09 '22 02:05 yuzeh