Skip to content

package version updated with several bug fix, refinement, new example#174

Merged
ArthurJiang merged 36 commits into
masterfrom
v0.1
Nov 5, 2020
Merged

package version updated with several bug fix, refinement, new example#174
ArthurJiang merged 36 commits into
masterfrom
v0.1

Conversation

@Jinyu-W
Copy link
Copy Markdown
Contributor

@Jinyu-W Jinyu-W commented Oct 30, 2020

Description

This PR contains several PRs including some bug fix, new example addition, doc addition and refinement, new features, new tests. The package version is also updated from 0.1.1a11 to 0.1.2a0.

Linked issue(s)/Pull request(s)

  • 138:
    • refine data push/pull in cli
  • 112:
    • add fall back function in weather download
  • 136:
    • add docs for example
  • 144:
    • switching the key and values of the handler dict which is used in the dist decorator
    • add unit tests for the dist decorator
    • fixed the multithreading deadlock in the maro unit test suite
  • 147:
    • remove useless reward() from Env, BE, yaml config
    • refine the format & style for core & BE
  • 157:
    • add docs for AzCopy
    • add dqn tests in grass/k8s mode
  • 160, 164:
    • fix the data generation description for citi bike in docs
  • 60:
    • add example/cim/gnn
  • 166:
    • fix the uppicklable bug in RL toolkit store
  • 167:
    • rename the confusing components in RL toolkit and example/cim/dqn

Type of Change

  • Non-breaking bug fix
  • Breaking bug fix
  • New feature
  • Test
  • Doc update
  • Docker update

Related Component

  • Simulation toolkit
  • RL toolkit
  • Distributed toolkit

Has Been Tested

  • OS:
    • Windows
    • Mac OS
    • Linux
  • Python version:
    • 3.6
    • 3.7
  • Key information snapshot(s):

Needs Follow Up Actions

  • New release package
  • New docker image

Checklist

  • Add/update the related comments
  • Add/update the related tests
  • Add/update the related documentations
  • Update the dependent downstream modules usage

Arthur Jiang and others added 25 commits October 1, 2020 15:08
* feat: refine data push/pull

* test: add cli provision testing

* fix: style fix

* fix: add necessary comments

* fix: from code review
* fix deployment issue in multi envs

* fix typo

* fix ~/.maro not exist issue in build

* skip deploy when build

* update for comments

* temporarily disable weather info

* replace ecr with cim in setup.py

* replace ecr in manifest

* remove weather check when read data

* fix station id issue

* fix format

* add TODO in comments

* add noaa weather source

* fix weather reset and weather comment

* add comment for weather data url

* some format update

* add fall back function in weather download

* update comment

* update for comments

* update comment

* add period

* fix for pylint

* update for pylint check
* added example docs

* added citibike greedy example doc

* modified citibike doc

* fixed PR comments

* fixed more PR comments

* fixed small formatting issue

Co-authored-by: ysqyang <v-yangqi@microsoft.com>
* switch the key and value of handler_dict in decorator

* add dist decorator UT and fixed multithreading conflict in maro test suite

* pr comments update.

* resolved comments about decorator UT

* rename handler_fun in dist decorator

* change self.attr into class_name.attr

* update UT tests comments
* refine the annotation of simulator core

* remove reward from env(be)

* format refined

* white spaces test

* left-padding spaces refined

* format modifed

* update the left-padding spaces of docstrings

* code format updated

* update according to comments

* update according to PR comments

Co-authored-by: Jinyu Wang <Wang.Jinyu@microsoft.com>
* fix: add docs for AzCopy

* style: refine code style

* fix: change stdout format to previous version

* test: add dqn tests in grass/k8s mode && add "maro k8s job list"

* docs: add scripts for installing AzCopy
* fix deployment issue in multi envs

* fix typo

* fix ~/.maro not exist issue in build

* skip deploy when build

* update for comments

* temporarily disable weather info

* replace ecr with cim in setup.py

* replace ecr in manifest

* remove weather check when read data

* fix station id issue

* fix format

* add TODO in comments

* add noaa weather source

* fix weather reset and weather comment

* add comment for weather data url

* some format update

* add fall back function in weather download

* update comment

* update for comments

* update comment

* add period

* fix for pylint

* update for pylint check

* update data pipeline docs and data version

* update for comments

* update for comments

* update for lint

* update for lint

* update for lint
* fix deployment issue in multi envs

* fix typo

* fix ~/.maro not exist issue in build

* skip deploy when build

* update for comments

* temporarily disable weather info

* replace ecr with cim in setup.py

* replace ecr in manifest

* remove weather check when read data

* fix station id issue

* fix format

* add TODO in comments

* add noaa weather source

* fix weather reset and weather comment

* add comment for weather data url

* some format update

* add fall back function in weather download

* update comment

* update for comments

* update comment

* add period

* fix for pylint

* update for pylint check

* update data pipeline docs and data version

* update for comments

* update for comments

* update for lint

* update for lint

* update for lint

* revert data version to 0.1
* initalize gnn netowrk for ECR problem

* fix import path error and remove useless function

* add the annotation for gnn and state shaper

* rename to cim

* modify topology 22p

* polish coding style in cim.gnn

* run pass after polishing

* change the name of simplegat to simple_transformer

* fix typo and suggestions

* fix format

* fix code bugs due to refactoring mistake

* refine the code format

* refine again

* refine the format

* refine again

* refine again

* fix syntax bug

* refine again

* remove useless comments

* remove unnecessary blank line

* rename pending_event to decision_event

* remove some code faced to the future.

* change topology

* fix bugs in learner: no training logic executed

* revert the topology changes

Co-authored-by: wenshi-113 <wenshi@microsoft.com>
* fixed unpicklable store bug

* fixed a bug

* fixed a bug

* fixed a bug

* fixed lint formatting

* fixed a lint formatting issue

* fixed a bug

* renamed dump_experience_store to dump_experience_pool

* fixed a PR comment

Co-authored-by: ysqyang <v-yangqi@microsoft.com>
* confusing component naming fix

* fixed a bug

* fixed a bug

* fixed lint formatting issues

* fixed a PR comment

* replaced 'actor_worker' with 'actor'

* fixed a minor formatting issue

* fixed a minor formatting issue

* fixed a minor formatting issue

Co-authored-by: ysqyang <v-yangqi@microsoft.com>
@Jinyu-W Jinyu-W added awaiting review Wait for the reviewer's comments. v0.1 labels Oct 30, 2020
@ArthurJiang
Copy link
Copy Markdown
Contributor

Add the description for details.

@ArthurJiang
Copy link
Copy Markdown
Contributor

change a meaningful title

@ArthurJiang
Copy link
Copy Markdown
Contributor

ArthurJiang commented Nov 4, 2020

update version to 0.1.2a0 in maro/misc.py

@Jinyu-W
Copy link
Copy Markdown
Contributor Author

Jinyu-W commented Nov 4, 2020

Add the description for details.

done

@Jinyu-W
Copy link
Copy Markdown
Contributor Author

Jinyu-W commented Nov 4, 2020

update version to 0.1.2a0 in maro/misc.py

done

@Jinyu-W Jinyu-W changed the title merge V0.1 into master package version updated with several bug fix, refinement, new example Nov 4, 2020
@Jinyu-W
Copy link
Copy Markdown
Contributor Author

Jinyu-W commented Nov 4, 2020

change a meaningful title

done

@codecov-io
Copy link
Copy Markdown

codecov-io commented Nov 4, 2020

Codecov Report

Merging #174 into master will decrease coverage by 0.01%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #174      +/-   ##
==========================================
- Coverage   72.50%   72.49%   -0.02%     
==========================================
  Files          86       86              
  Lines        4062     4064       +2     
==========================================
+ Hits         2945     2946       +1     
- Misses       1117     1118       +1     
Flag Coverage Δ
unittests 72.49% <50.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...topologies/single_learner_multi_actor_sync_mode.py 36.17% <36.36%> (ø)
maro/rl/agent/abs_agent.py 51.51% <50.00%> (-1.61%) ⬇️
maro/rl/storage/column_based_store.py 65.95% <50.00%> (-1.83%) ⬇️
maro/rl/learner/simple_learner.py 35.71% <66.66%> (+3.45%) ⬆️
maro/utils/logger.py 44.53% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update df94746...15883b3. Read the comment docs.

@ArthurJiang ArthurJiang merged commit 4777d95 into master Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review Wait for the reviewer's comments. v0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants