zamba icon indicating copy to clipboard operation
zamba copied to clipboard

Add tests for splits and bad video data

Open pjbull opened this issue 3 years ago • 3 comments

#119 added a functionality to save out the splits if they weren't provided and to provided an all-zeros array with the correct shape if we can't load a video deep within the DataLoader. These items should have tests added for them:

  • [ ] add test for splits files getting written out
  • [ ] add test for bad video getting zeroes

pjbull avatar Oct 04 '21 21:10 pjbull

@pjbull - Can I try working on this?

sunny1401 avatar Apr 30 '23 13:04 sunny1401

@sunny1401 sure!

For the first one on having a splits.csv written out, take a look at the existing tests for other functionality having to do with splits in test_config.py: https://github.com/drivendataorg/zamba/blob/master/tests/test_config.py. You'll want to add a test case where splits get automatically assigned and then check that that csv gets written (per this line)

ejm714 avatar May 01 '23 19:05 ejm714

I am a college student working on a software engineering project for the next weeks until the end of this year. This is my first open source project on Github. I would appreciate any information that might help.

papapizzachess avatar Oct 26 '23 20:10 papapizzachess