c8d93bac32ebbc31073ab07e5181c09c58930558,qanta/expo/buzzer.py,,present_question,#Any#Any#Any#Any#Any#Any#Any#Any#Any#,461

Before Change


            press = interpret_keypress()
            current_guesses = buzzes.current_guesses(question_id, ss, ii - 2)
            buzz_now = [x for x in current_guesses.values() if x.final]
            assert len(buzz_now) < 2, "Cannot buzz on more than one thing"
            if isinstance(press, int):
                os.system("afplay /System/Library/Sounds/Glass.aiff")
                response = None
                while response is None:

After Change


                 // If humans haven"t buzzed, let the computer buzz
                 if computer_delta == 0:
                    print(final)
                    system = random.choice(list(final.keys()))
                    answer(final[system].split("(")[0], system)
                    final = final[system]
                    if final == correct:
                        return (human + human_delta, computer + 10, final)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: Pinafore/qb
Commit Name: c8d93bac32ebbc31073ab07e5181c09c58930558
Time: 2018-12-13
Author: jordanbg@gmail.com
File Name: qanta/expo/buzzer.py
Class Name:
Method Name: present_question


Project Name: keras-team/keras
Commit Name: 53ec990d54130dd0a457dd235c93d39de32d571d
Time: 2018-01-15
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_nasnet_pooling


Project Name: keras-team/keras
Commit Name: 53ec990d54130dd0a457dd235c93d39de32d571d
Time: 2018-01-15
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_nasnet_variable_input_channels


Project Name: keras-team/keras
Commit Name: 53ec990d54130dd0a457dd235c93d39de32d571d
Time: 2018-01-15
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_nasnet


Project Name: keras-team/keras
Commit Name: 53ec990d54130dd0a457dd235c93d39de32d571d
Time: 2018-01-15
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_nasnet_no_top


Project Name: interactiveaudiolab/nussl
Commit Name: fa6f47e7aee228226421c52e61cce4e1ab4cc099
Time: 2020-03-15
Author: prem@u.northwestern.edu
File Name: tests/ml/test_loss.py
Class Name:
Method Name: test_permutation_invariant_loss_tf