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

Documentation_improvements: Jupyter Examples #58

Merged
merged 16 commits into from
Aug 27, 2024

Conversation

RiesBen
Copy link
Contributor

@RiesBen RiesBen commented Aug 13, 2024

Example JNB Documentation improvements:

  • Adding text to Example JnB.

Minor Code Changes:

  • analysis:
    • minor modifications on cycle analysis (only check for cylce of size 3 per default)
    • make delete more performant, by deleting multiple transformations/components at once if wanted.
    • adding graph cost and efficiency
  • network -planners:
    • minor refactors
    • display fix, correct number of expected edges.

  * analysis:
* minor modifications on cycle analysis (only check for cylce of size 3 per default)
* make delete more performant, by deleting multiple transformations/components at once if wanted.
* adding graph cost and efficiency

  * jnbs:
*Adding text to Example JnB.

network -planners:
* minor refactors
* display fix, correct number of expected edges.
@pep8speaks
Copy link

pep8speaks commented Aug 13, 2024

Hello @RiesBen! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 63:80: E501 line too long (82 > 79 characters)
Line 106:80: E501 line too long (82 > 79 characters)
Line 134:80: E501 line too long (88 > 79 characters)
Line 157:80: E501 line too long (84 > 79 characters)
Line 163:80: E501 line too long (84 > 79 characters)
Line 241:80: E501 line too long (87 > 79 characters)

Line 9:80: E501 line too long (81 > 79 characters)

Line 21:80: E501 line too long (87 > 79 characters)
Line 56:80: E501 line too long (82 > 79 characters)
Line 85:80: E501 line too long (82 > 79 characters)
Line 86:80: E501 line too long (81 > 79 characters)
Line 140:80: E501 line too long (84 > 79 characters)
Line 143:80: E501 line too long (83 > 79 characters)
Line 145:80: E501 line too long (84 > 79 characters)
Line 152:80: E501 line too long (83 > 79 characters)
Line 171:80: E501 line too long (80 > 79 characters)
Line 198:80: E501 line too long (81 > 79 characters)
Line 219:80: E501 line too long (82 > 79 characters)
Line 240:80: E501 line too long (82 > 79 characters)
Line 249:80: E501 line too long (81 > 79 characters)
Line 281:13: E731 do not assign a lambda expression, use a def
Line 281:80: E501 line too long (88 > 79 characters)
Line 291:17: E731 do not assign a lambda expression, use a def
Line 291:80: E501 line too long (82 > 79 characters)
Line 293:31: E713 test for membership should be 'not in'
Line 321:80: E501 line too long (84 > 79 characters)
Line 340:80: E501 line too long (83 > 79 characters)
Line 341:80: E501 line too long (81 > 79 characters)

Line 13:80: E501 line too long (85 > 79 characters)

Line 44:80: E501 line too long (82 > 79 characters)

Line 34:80: E501 line too long (81 > 79 characters)
Line 35:80: E501 line too long (82 > 79 characters)
Line 92:80: E501 line too long (86 > 79 characters)

Line 112:80: E501 line too long (82 > 79 characters)

Line 67:80: E501 line too long (88 > 79 characters)

Line 45:80: E501 line too long (80 > 79 characters)
Line 75:80: E501 line too long (86 > 79 characters)
Line 89:25: E203 whitespace before ':'

Line 38:80: E501 line too long (85 > 79 characters)
Line 41:80: E501 line too long (81 > 79 characters)
Line 48:80: E501 line too long (96 > 79 characters)
Line 52:80: E501 line too long (83 > 79 characters)
Line 53:80: E501 line too long (105 > 79 characters)
Line 59:80: E501 line too long (80 > 79 characters)
Line 65:80: E501 line too long (158 > 79 characters)
Line 67:80: E501 line too long (162 > 79 characters)
Line 94:80: E501 line too long (83 > 79 characters)
Line 109:80: E501 line too long (88 > 79 characters)
Line 133:80: E501 line too long (88 > 79 characters)
Line 180:80: E501 line too long (88 > 79 characters)
Line 202:80: E501 line too long (82 > 79 characters)
Line 208:80: E501 line too long (82 > 79 characters)
Line 214:80: E501 line too long (84 > 79 characters)
Line 215:80: E501 line too long (149 > 79 characters)
Line 217:80: E501 line too long (137 > 79 characters)
Line 218:80: E501 line too long (177 > 79 characters)
Line 219:80: E501 line too long (114 > 79 characters)
Line 224:80: E501 line too long (90 > 79 characters)
Line 226:80: E501 line too long (90 > 79 characters)
Line 228:80: E501 line too long (80 > 79 characters)

Line 30:80: E501 line too long (92 > 79 characters)
Line 31:80: E501 line too long (167 > 79 characters)
Line 34:80: E501 line too long (143 > 79 characters)
Line 35:80: E501 line too long (131 > 79 characters)
Line 37:80: E501 line too long (133 > 79 characters)
Line 39:80: E501 line too long (293 > 79 characters)
Line 41:80: E501 line too long (249 > 79 characters)
Line 42:80: E501 line too long (150 > 79 characters)
Line 57:80: E501 line too long (96 > 79 characters)
Line 63:80: E501 line too long (99 > 79 characters)
Line 84:80: E501 line too long (88 > 79 characters)
Line 115:80: E501 line too long (82 > 79 characters)
Line 117:80: E501 line too long (81 > 79 characters)

Line 29:80: E501 line too long (219 > 79 characters)
Line 30:80: E501 line too long (217 > 79 characters)
Line 32:80: E501 line too long (127 > 79 characters)
Line 35:80: E501 line too long (131 > 79 characters)
Line 36:80: E501 line too long (169 > 79 characters)
Line 65:80: E501 line too long (88 > 79 characters)
Line 90:80: E501 line too long (86 > 79 characters)

Line 18:80: E501 line too long (86 > 79 characters)
Line 21:80: E501 line too long (165 > 79 characters)
Line 22:80: E501 line too long (215 > 79 characters)
Line 24:80: E501 line too long (243 > 79 characters)
Line 28:80: E501 line too long (122 > 79 characters)
Line 29:80: E501 line too long (169 > 79 characters)
Line 52:80: E501 line too long (88 > 79 characters)
Line 96:80: E501 line too long (81 > 79 characters)

Line 8:80: E501 line too long (84 > 79 characters)
Line 23:80: E501 line too long (167 > 79 characters)
Line 24:80: E501 line too long (88 > 79 characters)
Line 28:80: E501 line too long (115 > 79 characters)
Line 29:80: E501 line too long (169 > 79 characters)
Line 30:80: E501 line too long (93 > 79 characters)
Line 35:80: E501 line too long (87 > 79 characters)
Line 57:80: E501 line too long (88 > 79 characters)
Line 90:36: E741 ambiguous variable name 'l'
Line 90:80: E501 line too long (83 > 79 characters)
Line 92:80: E501 line too long (84 > 79 characters)

Line 26:80: E501 line too long (117 > 79 characters)
Line 29:80: E501 line too long (150 > 79 characters)
Line 43:80: E501 line too long (89 > 79 characters)
Line 44:80: E501 line too long (151 > 79 characters)
Line 79:80: E501 line too long (88 > 79 characters)
Line 106:80: E501 line too long (82 > 79 characters)

Line 8:80: E501 line too long (84 > 79 characters)
Line 24:80: E501 line too long (167 > 79 characters)
Line 26:80: E501 line too long (191 > 79 characters)
Line 29:80: E501 line too long (123 > 79 characters)
Line 34:80: E501 line too long (85 > 79 characters)
Line 44:80: E501 line too long (169 > 79 characters)
Line 63:80: E501 line too long (88 > 79 characters)
Line 99:13: E731 do not assign a lambda expression, use a def
Line 115:40: E741 ambiguous variable name 'l'
Line 115:80: E501 line too long (87 > 79 characters)
Line 117:80: E501 line too long (88 > 79 characters)

Line 8:80: E501 line too long (87 > 79 characters)
Line 23:80: E501 line too long (141 > 79 characters)
Line 25:80: E501 line too long (80 > 79 characters)
Line 26:80: E501 line too long (136 > 79 characters)
Line 27:80: E501 line too long (95 > 79 characters)
Line 29:80: E501 line too long (177 > 79 characters)
Line 30:80: E501 line too long (121 > 79 characters)
Line 31:80: E501 line too long (114 > 79 characters)
Line 59:80: E501 line too long (82 > 79 characters)
Line 90:80: E501 line too long (83 > 79 characters)
Line 96:80: E501 line too long (86 > 79 characters)

Line 8:80: E501 line too long (87 > 79 characters)
Line 24:80: E501 line too long (133 > 79 characters)
Line 26:80: E501 line too long (95 > 79 characters)
Line 27:80: E501 line too long (168 > 79 characters)
Line 28:80: E501 line too long (148 > 79 characters)
Line 30:80: E501 line too long (164 > 79 characters)
Line 31:80: E501 line too long (142 > 79 characters)
Line 32:80: E501 line too long (113 > 79 characters)
Line 33:80: E501 line too long (122 > 79 characters)
Line 34:80: E501 line too long (100 > 79 characters)
Line 67:80: E501 line too long (88 > 79 characters)
Line 100:80: E501 line too long (82 > 79 characters)

Line 3:80: E501 line too long (83 > 79 characters)

Line 91:80: E501 line too long (83 > 79 characters)

Line 45:80: E501 line too long (84 > 79 characters)
Line 148:80: E501 line too long (80 > 79 characters)

Line 8:80: E501 line too long (85 > 79 characters)
Line 41:80: E501 line too long (83 > 79 characters)
Line 61:80: E501 line too long (84 > 79 characters)

Line 18:80: E501 line too long (99 > 79 characters)
Line 26:80: E501 line too long (82 > 79 characters)
Line 30:80: E501 line too long (80 > 79 characters)
Line 32:5: E731 do not assign a lambda expression, use a def
Line 33:80: E501 line too long (80 > 79 characters)
Line 66:5: E731 do not assign a lambda expression, use a def
Line 66:80: E501 line too long (80 > 79 characters)

Line 76:80: E501 line too long (84 > 79 characters)

Line 8:80: E501 line too long (87 > 79 characters)

Line 93:80: E501 line too long (81 > 79 characters)
Line 95:80: E501 line too long (83 > 79 characters)

Line 6:80: E501 line too long (87 > 79 characters)
Line 40:80: E501 line too long (85 > 79 characters)
Line 82:80: E501 line too long (85 > 79 characters)

Line 6:80: E501 line too long (84 > 79 characters)
Line 30:80: E501 line too long (85 > 79 characters)

Line 8:80: E501 line too long (87 > 79 characters)

Line 6:80: E501 line too long (85 > 79 characters)

Line 41:80: E501 line too long (81 > 79 characters)
Line 82:80: E501 line too long (84 > 79 characters)
Line 96:80: E501 line too long (84 > 79 characters)
Line 98:80: E501 line too long (88 > 79 characters)
Line 103:80: E501 line too long (84 > 79 characters)
Line 105:80: E501 line too long (84 > 79 characters)
Line 110:80: E501 line too long (84 > 79 characters)

Line 23:80: E501 line too long (86 > 79 characters)
Line 25:80: E501 line too long (82 > 79 characters)
Line 31:80: E501 line too long (84 > 79 characters)
Line 41:80: E501 line too long (83 > 79 characters)
Line 45:80: E501 line too long (85 > 79 characters)

Line 17:80: E501 line too long (84 > 79 characters)

Line 16:80: E501 line too long (84 > 79 characters)

Line 28:80: E501 line too long (83 > 79 characters)

Line 29:80: E501 line too long (82 > 79 characters)
Line 42:80: E501 line too long (82 > 79 characters)
Line 52:80: E501 line too long (85 > 79 characters)
Line 96:80: E501 line too long (86 > 79 characters)
Line 97:80: E501 line too long (87 > 79 characters)

Line 11:80: E501 line too long (83 > 79 characters)
Line 60:80: E501 line too long (85 > 79 characters)
Line 63:80: E501 line too long (86 > 79 characters)
Line 75:80: E501 line too long (83 > 79 characters)
Line 114:80: E501 line too long (88 > 79 characters)

Line 20:80: E501 line too long (81 > 79 characters)
Line 43:80: E501 line too long (83 > 79 characters)
Line 63:80: E501 line too long (86 > 79 characters)
Line 65:80: E501 line too long (84 > 79 characters)

Line 3:80: E501 line too long (86 > 79 characters)

Line 24:80: E501 line too long (85 > 79 characters)
Line 47:80: E501 line too long (81 > 79 characters)
Line 55:80: E501 line too long (84 > 79 characters)

Line 22:80: E501 line too long (87 > 79 characters)

Line 39:80: E501 line too long (81 > 79 characters)
Line 51:80: E501 line too long (81 > 79 characters)

Line 49:80: E501 line too long (84 > 79 characters)
Line 57:80: E501 line too long (84 > 79 characters)
Line 106:80: E501 line too long (86 > 79 characters)
Line 149:80: E501 line too long (86 > 79 characters)
Line 154:80: E501 line too long (85 > 79 characters)

Line 18:80: E501 line too long (83 > 79 characters)

Line 90:80: E501 line too long (81 > 79 characters)
Line 109:80: E501 line too long (86 > 79 characters)
Line 111:80: E501 line too long (80 > 79 characters)

Line 15:80: E501 line too long (94 > 79 characters)
Line 105:80: E501 line too long (88 > 79 characters)
Line 111:80: E501 line too long (80 > 79 characters)
Line 146:80: E501 line too long (85 > 79 characters)
Line 185:80: E501 line too long (85 > 79 characters)
Line 191:58: E203 whitespace before ':'
Line 193:58: E203 whitespace before ':'
Line 195:48: E203 whitespace before ':'

Line 6:1: E731 do not assign a lambda expression, use a def
Line 6:80: E501 line too long (86 > 79 characters)

Line 48:80: E501 line too long (81 > 79 characters)

Line 34:80: E501 line too long (85 > 79 characters)
Line 35:80: E501 line too long (85 > 79 characters)
Line 70:80: E501 line too long (81 > 79 characters)

Comment last updated at 2024-08-18 10:54:56 UTC

@RiesBen RiesBen self-assigned this Aug 13, 2024
@RiesBen RiesBen added the documentation Improvements or additions to documentation label Aug 13, 2024
- Notebook improvements, more documentation, black formatting
- improving network generator documentation
- vscode -> gitignore
@RiesBen
Copy link
Contributor Author

RiesBen commented Aug 16, 2024

@hannahbaumann hi, I improved both notebooks :)
could you have a look, when you have time? :)
The additional files in this PR, are improvements of the networkgenerator docs. (this was easy to do in one go with the konnektor_networks.ipynb)

If you think: konnektor_networks.ipynb is too redundant, we can remove it. (I would not lose work, as it is also in the docs ;) )

@RiesBen RiesBen mentioned this pull request Aug 18, 2024
Copy link

codecov bot commented Aug 21, 2024

Codecov Report

Attention: Patch coverage is 90.37801% with 28 lines in your changes missing coverage. Please review.

Project coverage is 90.96%. Comparing base (193a55d) to head (9c00002).

Files Patch % Lines
...work_planners/concatenators/cyclic_concatenator.py 0.00% 5 Missing ⚠️
src/konnektor/network_analysis/network_analysis.py 80.95% 4 Missing ⚠️
src/konnektor/visualization/widget.py 78.94% 4 Missing ⚠️
...planners/generators/clustered_network_generator.py 82.35% 3 Missing ⚠️
...tworkx_implementations/radial_network_algorithm.py 80.00% 2 Missing ⚠️
...k_planners/generators/_parallel_mapping_pattern.py 66.66% 2 Missing ⚠️
...erators/minimal_spanning_tree_network_generator.py 75.00% 2 Missing ⚠️
...dundant_minimal_spanning_tree_network_generator.py 80.00% 2 Missing ⚠️
src/konnektor/data/__init__.py 85.71% 1 Missing ⚠️
...tworkx_implementations/cyclic_network_algorithm.py 97.50% 1 Missing ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
- Coverage   91.10%   90.96%   -0.15%     
==========================================
  Files          46       46              
  Lines        1293     1306      +13     
==========================================
+ Hits         1178     1188      +10     
- Misses        115      118       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RiesBen RiesBen changed the base branch from main to build_v1 August 21, 2024 10:39
@RiesBen
Copy link
Contributor Author

RiesBen commented Aug 27, 2024

will be further discussed in build_v1

@RiesBen RiesBen merged commit f1b82d1 into build_v1 Aug 27, 2024
@RiesBen RiesBen deleted the documentation_improvements branch October 16, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants