Skip to content

V0.1: bug fix, docs refine#153

Merged
Jinyu-W merged 14 commits into
masterfrom
v0.1
Oct 13, 2020
Merged

V0.1: bug fix, docs refine#153
Jinyu-W merged 14 commits into
masterfrom
v0.1

Conversation

@ArthurJiang
Copy link
Copy Markdown
Contributor

@ArthurJiang ArthurJiang commented Oct 13, 2020

Description

  • Fix dist decorator
  • Add example docs for CIM and Citi Bike scenario
  • Refine annotation

Linked issue(s)/Pull request(s)

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 14 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>
@ArthurJiang ArthurJiang requested a review from Jinyu-W October 13, 2020 05:36
@ArthurJiang ArthurJiang self-assigned this Oct 13, 2020
@codecov-io
Copy link
Copy Markdown

codecov-io commented Oct 13, 2020

Codecov Report

Merging #153 into master will increase coverage by 0.13%.
The diff coverage is 69.69%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #153      +/-   ##
==========================================
+ Coverage   72.36%   72.50%   +0.13%     
==========================================
  Files          87       86       -1     
  Lines        4089     4062      -27     
==========================================
- Hits         2959     2945      -14     
+ Misses       1130     1117      -13     
Flag Coverage Δ
#unittests 72.50% <69.69%> (+0.13%) ⬆️

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

Impacted Files Coverage Δ
maro/communication/dist_decorator.py 15.38% <0.00%> (ø)
...o/simulator/scenarios/citi_bike/business_engine.py 74.69% <75.00%> (+0.58%) ⬆️
maro/simulator/abs_core.py 78.46% <100.00%> (ø)
maro/simulator/core.py 84.29% <100.00%> (ø)
maro/simulator/scenarios/abs_business_engine.py 88.67% <100.00%> (+1.17%) ⬆️
maro/simulator/scenarios/cim/business_engine.py 86.20% <100.00%> (+1.87%) ⬆️

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 e268ef3...77b8288. Read the comment docs.

@Jinyu-W Jinyu-W merged commit 72f277c into master Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants