Community Bonding Period - Second Meeting and Weekly work update

Hi,


Last week on the 19th of May, I met with the mentors again for the second time on Zoom. However, one of my primary mentors, Andreas Dräger, was meeting for the first time as he was unable to attend the first meeting due to the Ph.D. defense. It was great meeting him after a long discussion on the mails. Now, here's the summary of the meeting with the weekly work done.

  • Mentors confirmed in the meeting that the comp tests' issues were due to the CompFlatteningConverter class of JSBML. So, we decided to skip the tests currently and move forward until the issue gets solved in the JSBML repository. Matthias made an issue for the same in the SBSCL repository (issue #36) as well as the JSBML repository (JSBML issue #213).
  • And, PR #37 was merged in the SBSCL repository with skipping the comp tests. Also, build with oracle JDK 11 was added to Travis CI.

  • Then, we discussed that I should start working on the first milestone for the project, i.e., upgrading SBSCL to support SBML Level 3 Version 2.

  • To start with this, we needed first to run the SBMLTestSuite tests successfully with the current SBSCL version. But, we found that the SBMLTestSuite tests were skipped currently in the build. So, this was the main task for the week to work on. Matthias created an issue #35 for this too.

  • I started to work on the SBMLTestSuite tests. Then, I resolved some small issues, and the tests started to run, but many of them failed.

  • Then, we found out most of the tests were failing due to comparing the results with the predefined results.

  • Some of the cases failed as they were comp tests and were simulated with SBMLSimulator. I updated them to run with CompSimulator, but some still failed due to the existing error from the JSBML class.

  • Issues were created for a single test-case, failed due to Arithmetic Exception (issue #38) while for one other, which took a long time to simulate (currently, skipped) (issue #39).

  • Currently, the results are compared with the predefined results with the RelativeEuclideanDistance, which mentors told is not a useful comparison metric. And, even the threshold was given a constant (0.2), which was not accurate.

  • So, we decided to change the metric to the maximum absolute distance for each of the variables in the model. I added a class MaxAbsDistance for this. But, we had errors in this too.

  • After this, the mentors guided me that the combination of the max absolute distance and max relative distance is the best way for comparisons as this is how integrators work. After this discussion, I added the MaxRelDistance and changed the thresholds as variables as per the absolute (for MaxAbsDistance) and relative (for MaxRelDistance) tolerances for the reactions. However, the results even had issues with these thresholds. Then I had my 3rd meeting with mentors, which I will be elaborating on in my next blog with further updates on SBMLTestSuite tests!


The work for the SBMLTestSuite tests is done in the testrunner branch in the forked repository (Link given below).
The forked repository link (where the updated code stays): https://github.com/hemilpanchiwala/SBSCL


Regards!


Comments

Popular posts from this blog

Starting Google Summer of Code 2020

GSoC Week 10

GSoC Week 11