Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add working libraries #288

Merged
merged 21 commits into from
Nov 24, 2021
Merged

Add working libraries #288

merged 21 commits into from
Nov 24, 2021

Conversation

fealho
Copy link
Member

@fealho fealho commented Nov 10, 2021

Resolve #278 .

Initially, this PR will add the addons which the code already passes.

This is the base PR in which all other addons will be added (each one will be implemented in a different PR).

@codecov-commenter
Copy link

codecov-commenter commented Nov 10, 2021

Codecov Report

Merging #288 (cd64184) into master (b64280a) will decrease coverage by 0.08%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #288      +/-   ##
==========================================
- Coverage   87.25%   87.16%   -0.09%     
==========================================
  Files          27       27              
  Lines        1702     1706       +4     
==========================================
+ Hits         1485     1487       +2     
- Misses        217      219       +2     
Impacted Files Coverage Δ
copulas/bivariate/utils.py 80.00% <ø> (ø)
copulas/datasets.py 50.00% <ø> (ø)
copulas/multivariate/__init__.py 100.00% <ø> (ø)
copulas/multivariate/base.py 59.45% <0.00%> (ø)
copulas/optimize/__init__.py 92.30% <0.00%> (-2.94%) ⬇️
copulas/univariate/__init__.py 100.00% <ø> (ø)
copulas/univariate/beta.py 100.00% <ø> (ø)
copulas/univariate/gamma.py 100.00% <ø> (ø)
copulas/univariate/gaussian.py 100.00% <ø> (ø)
copulas/univariate/log_laplace.py 100.00% <ø> (ø)
... and 17 more

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 b64280a...cd64184. Read the comment docs.

@@ -111,7 +111,7 @@ def compare_1d(real, synth, columns=None, figsize=None):
fig = plt.figure(figsize=figsize)

for idx, column in enumerate(columns):
position = prefix + str(idx + 1)
position = int(prefix + str(idx + 1))
Copy link
Member Author

@fealho fealho Nov 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is needed to avoid the following error: https://github.com/sdv-dev/Copulas/runs/4223940873?check_suite_focus=true. This seems unrelated to my code changes, and due to an update in the API of matplotlib.

@fealho fealho marked this pull request as ready for review November 17, 2021 15:17
@fealho fealho requested a review from a team as a code owner November 17, 2021 15:17
@fealho fealho requested review from amontanez24 and removed request for a team November 17, 2021 15:17
* Add addon

* Remove paranthesis because the addon thinks they are code

* Add addon

* Remove paranthesis because the addon thinks they are code
* Add addon

* Update code according to addon

* Add addon

* Update code according to addon
* Add addon

* Update code according to addon

* Add addon

* Update code according to addon
* Not sure what to do about these

* Add noqa's where necessary

* Not sure what to do about these

* Add noqa's where necessary

* Address feedback
* Add addon

* Change the complexity limit to 8 from 7

* Add addon

* Change the complexity limit to 8 from 7

* Fix complexity

* Rename + remove unnecessary argsort
* Add addon

* Address feedback
* Add addon

* Fix code according to addon

* Add addon

* Fix code according to addon

* Fix errors

* Fix set as literal

* Address feedback
* Add addon

* Update code according to addon

* Add addon

* Update code according to addon

* Fix errors

* Delete pytest

* Address feedback
* Add addon

* Update code according to addon

* Add addon

* Update code according to addon

* Update code according to pydocstyle

* Fixes

* Fix errors

* Update docstrings

* Fix typos
* Add addon

* Ignore error

* Add addon

* Ignore error
* Add addon

* Ignore all the variable names

* Add addon

* Ignore all the variable names

* Move ignores to setup.cfg
* Add addon

* Remove fixme

* Add addon

* Remove fixme

* Fix bug
Copy link
Member

@pvk-developer pvk-developer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :shipit:

@fealho fealho merged commit 4de54e9 into master Nov 24, 2021
@fealho fealho deleted the issue-278-base branch November 24, 2021 15:02
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.

Increase code style lint
4 participants