Skip to content

LodewijkK/sep-pandas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Report for Assignment 1

Project chosen

Name: Pandas

URL: https://github.com/pandas-dev/pandas

Number of lines of code and the tool used to count it: 489417 with Lizard

Programming language: Python

Coverage measurement

Existing tool

Coverage.py Run with coverage run -m --branch pytest pandas/tests https://imgur.com/b5fPCKE

Your own coverage tool

Lodewijk Krudop

Function 1: get_corr_func() In pandas/core/nanops.py

12dafa80c5d0468834f912092b768d7920d0c714

https://imgur.com/uaJ8so8

All of our code is in pandas/tests/test_ours.py

Function 2: sort_values In pandas/core/indexes/range.py

12dafa80c5d0468834f912092b768d7920d0c714

https://imgur.com/X7kI42y

Coverage improvement

Individual tests

Lodewijk Krudop

Test 1

12dafa80c5d0468834f912092b768d7920d0c714

https://imgur.com/uaJ8so8 https://imgur.com/GIyjxi5

The coverage improvement has increased from 40% to 100% as I wrote a test that has covered all branches. This is a maximal improvement.

Test 2

12dafa80c5d0468834f912092b768d7920d0c714

https://imgur.com/X7kI42y https://imgur.com/gskP3cL

The coverage has improved from 16.66% to 66.66%. While the function was too complex to reach 80%, this is still a significant improvement

Overall

https://imgur.com/b5fPCKE https://imgur.com/E6cOCj1

Statement of individual contributions

For assignment 1, we encountered a lot of issues. Specifically practical ones, with being able to run the program properly. Thus, we all collaborated together on one computer. We assisted each other in the writing of the programs but took separate turns taking charge. We put the functions under Lodewijk’s name, as we were using his computer. But everyone was involved.

Ignacio led the structuring of tasks in assignment 2. We all wrote one action, tested it and created a pull request. We also all checked each other’s work and commented on it, and helped each other through the process.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.8%
  • C++ 2.6%
  • Cython 1.9%
  • QML 1.4%
  • C 1.1%
  • JavaScript 0.5%
  • Other 0.7%