Giter VIP home page Giter VIP logo

Comments (8)

v-i-s-h avatar v-i-s-h commented on June 6, 2024 2

Hi,
I'm planning to work on the test part. I wrote some test for Box spaces and is available at my fork https://github.com/v-i-s-h/Gym.jl/blob/dev-vish/test/Spaces/box.jl.
It will be great if you people can give me some early comments.

from gym.jl.

kraftpunk97-zz avatar kraftpunk97-zz commented on June 6, 2024 1

@tejank10 I have certain tests in the Spaces directory. I picked them up from the openai/gym but only the ones that seemed relevant to what this package offers. Why don't we start from there and then build off of that?

Registry is of course next on the to-do list. I have given it a lot of thought, and it should be up and running within a few days.

from gym.jl.

v-i-s-h avatar v-i-s-h commented on June 6, 2024

By travis, I think you meant to start the CI testing processes. I will be happy to contribute to this part.
Can we discuss a timeline and things to include? Maybe this is also the time we should think about starting the documentation process.

from gym.jl.

tejank10 avatar tejank10 commented on June 6, 2024

Yes, we should now start documentation. As far as travis CI is concerned, we need to build some tests.
For eg, test to check if every action gives expected behaviour:
Given state St , we get correct next state S(t+1). This can be tested for every action for an environment with discrete actions. It is possible, at least now, given that Action space is small. For those with continuous action space, we can choose certain values in the action space and write tests.

Some more things which would be good to see in future are having a registry #10 .

Thoughts on adding more tests are welcome.

from gym.jl.

tejank10 avatar tejank10 commented on June 6, 2024

Looks good to me. @kraftpunk97 thoughts?

from gym.jl.

kraftpunk97-zz avatar kraftpunk97-zz commented on June 6, 2024

@v-i-s-h This set of test is very exhaustive. Great. I think we can add one more test to this, in which low values are actually greater than the high values of the Box. The python gym's version of the Box space can handle this scenario.

from gym.jl.

v-i-s-h avatar v-i-s-h commented on June 6, 2024

@tejank10 @kraftpunk97 Thanks for the comments. I will add more tests and open a PR in some days.

One general workflow doubt:
To get the "low<high" updates from @kraftpunk97, I added kraftpunk97/Gym.jl as one of my remotes. In my fork also, I have branch to work for tests. Now if I merge kraftpunk97's updates to my test branch and add my test to that branch, will it create a conflict to merge in main repo later when I try a PR with both kraftpunk's updates and my tests?

from gym.jl.

tejank10 avatar tejank10 commented on June 6, 2024

Shouldn't be a problem I suppose. I have merged @kraftpunk97 's PR now.

from gym.jl.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.