The first line of output of the output
We searched through the output for the first line of output.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x10935e550>
module
parse_errors
[]
output
Let's practice some math!
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x109363c10>
ref_module
ref_parse_errors
[]
ref_output
Let's practice some math!
The 'smaller number' line of the output
We searched through the output for the 'smaller number' line.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x10935e550>
module
parse_errors
[]
output
The smaller number is 7
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x109363c10>
ref_module
ref_parse_errors
[]
ref_output
The smaller number is 7
The 'smaller number' line of the output
We searched through the output for the 'smaller number' line.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x10935e550>
module
parse_errors
[]
output
The smaller number is 7
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x109363c10>
ref_module
ref_parse_errors
[]
ref_output
The smaller number is 7
The line 'the numbers you entered...' of the output
We searched through the output for the line 'The numbers you entered...'.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x10935e550>
module
parse_errors
[]
output
The numbers you entered are 15 and secondNum
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x109363c10>
ref_module
ref_parse_errors
[]
ref_output
The numbers you entered are 15 and secondNum
The 'larger number' line of the output
We searched through the output for the 'larger number' line.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x10935e550>
module
parse_errors
[]
output
The larger number is 15
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x109363c10>
ref_module
ref_parse_errors
[]
ref_output
The larger number is 15
The two lines of '=' signs of the output
We searched through the output for the two lines of '=' signs.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x10935e550>
module
parse_errors
[]
output
===============
=======
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x109363c10>
ref_module
ref_parse_errors
[]
ref_output
===============
=======
The addition question of the output
We searched through the output for the addition question.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x10935e550>
module
parse_errors
[]
output
[Addition] What is 15+7 ?
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x109363c10>
ref_module
ref_parse_errors
[]
ref_output
[Addition] What is 15+7 ?
The first line of output of the output
We searched through the output for the first line of output.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x109373340>
module
parse_errors
[]
output
Let's practice some math!
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x1093749d0>
ref_module
ref_parse_errors
[]
ref_output
Let's practice some math!
The 'smaller number' line of the output
We searched through the output for the 'smaller number' line.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x109373340>
module
parse_errors
[]
output
The smaller number is 5
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x1093749d0>
ref_module
ref_parse_errors
[]
ref_output
The smaller number is 5
The 'smaller number' line of the output
We searched through the output for the 'smaller number' line.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x109373340>
module
parse_errors
[]
output
The smaller number is 5
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x1093749d0>
ref_module
ref_parse_errors
[]
ref_output
The smaller number is 5
The line 'the numbers you entered...' of the output
We searched through the output for the line 'The numbers you entered...'.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x109373340>
module
parse_errors
[]
output
The numbers you entered are 5 and secondNum
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x1093749d0>
ref_module
ref_parse_errors
[]
ref_output
The numbers you entered are 5 and secondNum
The 'larger number' line of the output
We searched through the output for the 'larger number' line.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x109373340>
module
parse_errors
[]
output
The larger number is 6
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x1093749d0>
ref_module
ref_parse_errors
[]
ref_output
The larger number is 6
The two lines of '=' signs of the output
We searched through the output for the two lines of '=' signs.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x109373340>
module
parse_errors
[]
output
=====
======
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x1093749d0>
ref_module
ref_parse_errors
[]
ref_output
=====
======
The addition question of the output
We searched through the output for the addition question.
task_info
{'target': 'debugMe.py', 'title': 'Debugging Task', 'desc': "Fix up some code we've given you.", 'id': 'debugTest', 'specification': }
username
perfect
submission_root
./submissions/perfect/debugTest
default_file
debugMe.py
actual_file
debugMe.py
filename
debugMe.py
file_path
./submissions/perfect/debugTest/debugMe.py
original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
scope
<_ast.Module object at 0x109373340>
module
parse_errors
[]
output
[Addition] What is 5+6 ?
ref_original_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_source
"""
debugMe.py
Your name: Peter Mawhorter
Your username: pmwh
Submission date: 2021-6-22
"""
# Buggy debugMe.py for potluck system testing.
# Fix the bugs in this file so that its output matches what's shown in
# the problem set.
print("Let's practice some math!")
# Get inputs and convert them to integers:
firstNum = input('Enter an integer between 1 and 20: ')
firstNum = int(firstNum)
secondNum = input('Enter another integer between 1 and 20: ')
secondNum = int(secondNum)
# Print a blank line:
print()
# Print some info about the numbers:
print('The numbers you entered are', firstNum, 'and', 'secondNum')
print('The larger number is', max(firstNum, secondNum))
print('The smaller number is', min(firstNum, secondNum))
print('These bars show how big they are:')
print('=' * firstNum)
print('=' * secondNum)
print() # Blank line
# Test sum:
prompt = '[Addition] What is ' + str(firstNum) + '+' + str(secondNum) + ' ? '
input(prompt) # Note: we intentionally don't store or check the result
sumResult = firstNum + secondNum
print('[Addition] The answer is:', sumResult)
print() # Blank line
ref_scope
<_ast.Module object at 0x1093749d0>
ref_module
ref_parse_errors
[]
ref_output
[Addition] What is 5+6 ?