GSoC 2018: 3rd week

Sandeep Chauhan
2 min readJun 3, 2018

--

Hello there! So, today the third week of GSoC project with Python Hydra has been over and that was very fantastic, really great and interesting time for coding especially for me. I have done a good work in the past time and I have learned a lot of things like how to write some professional codes and how coding style, docstrings, redundant code and other things can affect your code.

So, actually as I described in my previous blog I was confused and nervous but I was doing hard work. And now, I have done the code for a good graph structure. I am really thankful for my mentors who give me or show me the right direction and I have a good and long discussion with them which help me in building the good graph structure with a great code implementation.

Me and my mentors have a good discussion in official Gitter channel and also in private chat and there are some issues and commits(listed below) where we have discussed a lot of things.

Issues: #18, #17, #16, #15, #14, and PR: #13(have some commits in it).

As described in #18 in which I have made a graph structure with code implementation #13 but when I discussed with my mentors about it. I realize that it become useless complex with two extra nodes(collection endpoint node and classes endpoint node) and some extra connection between the nodes which I have done for fast querying but I realize after discussion that Redis is already very fast. So, there is no need to complexing the graph for speed.

So, At the end of this weekend we have a implemented good and dynamic (which will change with the APIdoc and also can add or delete the nodes based on the operations defined for it) graph structure to store the API structure and its data. Initially when I commited the code for graph that its quality was very bad and then after getting some response on it I improved it like follow pep8 guidelines and avoid the use of redundant function and also use some comments and docstring which help in understanding the code.

For the next week hopefully I’ll focus on adding some good features in graph and testing for whole the implemented work.

Thanks!

--

--

Sandeep Chauhan
Sandeep Chauhan

No responses yet