✏️ writes @inishchith

Home About Work RSS

[week-9] The Final Coding Phase

  • GSoC
  • 2019
  • week-9
  • coding-period-3

We had our first meeting for the third coding phase (26th July to 19th August) on Tuesday, 6th August 2019 at 11:30 CEST or 15:00 IST, which was as always conducted on #grimoirelab channel.
In this post, I’ll try to highlight some key points discussed during the meeting, ranging from the work done in this week, blockers or pending work (if any) to the work planned for the coming week.

# What work was done in this week?

  • Early last week, @valcos had suggested unifying the integration pull-request so that they can be reviewed and tested easily. With this we had identified some redundancy in logic and methods that were common to both (CoLic & CoCom) backend implementation which were improved during the time and an initial code review was done and we closed down #664 & #669.
  • We had addressed an issue with respect to the logic of study implementation which was related to having multiple items in an index with a unique interval_months parameter. After some discussion and analyzing different approaches, we decided to have the interval_months as a list of intervals (eg. [1, 3, 6] months) instead of just a single interval and added a filter on the dashboard with a default to 1 month which can be delegated in case of multiple/overlapping items.
  • Next task was to add appropriate tests for the Integration pull-request. With the reference to the existing implementation of Percival’s git backend, added tests for both the enrichers and for their corresponding study implementations.
  • The implementation of CoLic integration is based on the Scancode CLI analyzer, I’m currently working on categorizing it to support multiple analyzers offered by Graal (i.e Scancode & NOMOS), which will also require some minor changes to Graal module as some of the information extracted from the analyzers is restricted to only licenses which can be fixed by passing the copyright flag (issue linked below).


  • Note:
    • We’re now moving on to the 3rd iteration for improving the dashboard with regards to the changes made to the fields and additional information added.
    • @valcos and I had discussed rough plans for next week which will be discussed in more detail during today’s meeting. The thread can be found here
    • The incremental iteration of the CoCom & CoLic Dashboard can be viewed from the remote instance



# Plans for next week:

  • Today’s meeting was mainly based on discussing the plans for the next 2-2.5 weeks (i.e task-list). Our major focus after code-reviewing the integration implementation is heavily testing it and evaluating results with the help of huge repositories (i.e more than 5000 commits).
  • We also discussed a past issue regarding the ratio-metrics. We’ve thought of going ahead with Lines of Code per Function & Comment(/Blank) lines per Line of Code as they are much insightful than other(proposed in thread).

# Footnotes:

  • IRC conversation log of the meeting can be found here
  • Project tracker can be found here

I’ll be posting updates on the mailing list as well as on the twitter thread.

If you have any questions or suggestions, please make sure to comment down below ;)