Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hands on: Write implementation for pyanno_voting.labels_frequency #1

Open
pberkes opened this issue Aug 11, 2021 · 0 comments · May be fixed by #3 or #7
Open

Hands on: Write implementation for pyanno_voting.labels_frequency #1

pberkes opened this issue Aug 11, 2021 · 0 comments · May be fixed by #3 or #7

Comments

@pberkes
Copy link
Contributor

pberkes commented Aug 11, 2021

In the package pyanno, located at [1] , there is an empty function called labels_frequency [2]. Have a look around in that file to get familiar with it.

  1. Write a test for the function labels_frequency, run it until it fails for the right reason (i.e., because the current implementation does nothing and returns None). The example in the docstring can be used as basis for the test.
  2. Write an implementation that makes the test pass

[1] https://github.com/ASPP/2021-bordeaux-testing-debugging/tree/master/hands_on/pyanno_voting
[2] https://github.com/ASPP/2021-bordeaux-testing-debugging/blob/master/hands_on/pyanno_voting/pyanno/voting.py#L83

@yannikbauer yannikbauer linked a pull request Aug 24, 2021 that will close this issue
@ZahraFayyaz ZahraFayyaz linked a pull request Aug 24, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant