Automated Debugging: CS259 Problem Set 1
#!/usr/bin/env python # Simple debugger # See instructions around line 34 import sys import readline # Our buggy program def remove_html_markup(s): tag = False quote = False out = “” for c in s: if...
View ArticleAutomated Debugging: CS259 Problem Set 2
#!/usr/bin/env python # Simple Daikon-style invariant checker # Andreas Zeller, May 2012 # Complete the provided code around lines 28 and 44 # Do not modify the __repr__ functions. # Modify only the...
View ArticleAutomated Debugging: CS259 Problem Set 3
“”” You should try to optimize your code from PS3-2 to get to the correct answer in as little steps as possible. We will be hosting a scoreboard, along with additional test cases, both from us and from...
View ArticleAutomated Debugging: CS259 Problem Set 4
#!/usr/bin/env python # See instructions at line 124 and fill in the functions at 60 and 82 import sys import copy #the buggy program def remove_html_markup(s): tag = False quote = False out = “”...
View ArticleAutomated Debugging: CS259 Problem Set 5
#!/usr/bin/env python import sys import math # INSTRUCTIONS ! # This provided, working code calculates phi coefficients for each code line. # Make sure that you understand how this works, then modify...
View ArticleAutomated Debugging: CS259 Final Exam 1
#!/usr/bin/env python # Simple debugger # See instructions around lines 36 import sys import readline # Our buggy program def remove_html_markup(s): tag = False quote = False out = “” for c in s: if c...
View Article