Skip to content

TeamSPWK/spwk-agtech-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spacewalk Agtech Engineer Task

Task for spacewalk agtech engineer applicants

release state env env

DescriptionInstallGet startedDocumentation

Description

This package contains tasks and instructions for spacewalk Agtech engineer applicants.

PCSE (Python Crop Simulation Environment) is a Python package for building crop simulation models, in particular the crop models developed in Wageningen (Netherlands). PCSE is no exception and its source code is open and licensed under the European Union Public License.

In this task, we need to solve a simple agricultural reinforcement learning problem created by modified PCSE.

Goal: MAXIMIZE RETURN!!

List of environments :

  • PCSE-v0

Install

Install spwk_agtech package with :

(It is recommended to install the package in virtual environment due to dependencies)

pip install git+https://github.com/TeamSPWK/spwk-agtech-task.git

Get started

You can use the environment like any other gym environment :

# runner
import spwk_agtech
import gym

env = gym.make("PCSE-v0") # there is just version 0 in now

rews = 0
obs = env.reset()
step = 0
while True:
    step += 1
    act = env.action_space.sample()
    next_obs, rew, done, _  = env.step(act)
    rews += rew
    obs = next_obs
    if done:
        break

Documentation

Task Details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages