Rubric for ps07 task1

 
unknown Core goals
Complete all of these for core credit, or complete at least half for partial credit.
 
unknown Results of autumnTree are correct.
We will test the value returned by autumnTree in 2 different contexts.
 
unknown All functions are documented
Each function you define must include a non-empty documentation string as the very first thing in the function.
 
unknown Define tree
Use def to define tree
 
unknown Call tree
Within tree, call tree in at least 3 places.
 
unknown Define autumnTree
Use def to define autumnTree
 
unknown Call autumnTree
Within autumnTree, call autumnTree in at least 3 places.
 
unknown Call shouldDrawLeaf
Within autumnTree, call shouldDrawLeaf in exactly one place.
 
unknown tree puts turtle back where it started
After calling tree, the turtle should be in the same position and orientation as before calling it (rounded to the nearest pixel/degree).
 
unknown autumnTree puts turtle back where it started
After calling autumnTree, the turtle should be in the same position and orientation as before calling it (rounded to the nearest pixel/degree).
 
unknown Call tree the right number of times overall
During a call to tree, the tree function must be called a specific number of times to create a correct drawing.
 
unknown Call autumnTree the right number of times overall
During a call to autumnTree, the autumnTree function must be called a specific number of times to create a correct drawing.
 
unknown Extra goals
Complete all of these in addition to all of the core goals for a perfect score.
 
unknown Results of autumnTree are correct.
We will test the value returned by autumnTree in 3 different contexts.
 
unknown Define tree
Use def to define tree
 
unknown Call tree
Within tree, call tree in exactly 3 places.
 
unknown Define autumnTree
Use def to define autumnTree
 
unknown Call autumnTree
Within autumnTree, call autumnTree in exactly 3 places.
 
unknown Call tree with the right parameters
During a call to tree, the tree function must be called a specific number of times with specific parameters (but order doesn't matter).
 
unknown Call autumnTree with the right parameters
During a call to autumnTree, the autumnTree function must be called a specific number of times with specific parameters (but order doesn't matter).
Contexts used for these tests & checks:
Your code's results & behavior
We will load your code to access functions and variables and determine how it behaves.
return value of autumnTree
We will call autumnTree with certain arguments and observe what it returns.
return value of autumnTree
We will call autumnTree with certain arguments and observe what it returns.
return value of autumnTree
We will call autumnTree with certain arguments and observe what it returns.
return value of autumnTree
We will call autumnTree with certain arguments and observe what it returns.
return value of autumnTree
We will call autumnTree with certain arguments and observe what it returns.
The documentation strings for functions you wrote
We will load your code to access the docstrings of each function that you wrote.
tree turtle log
We will check the position and orientation of the turtle before and after function calls within tree or other functions it calls.
tree call hierarchy
We will record the exact sequence of function calls as well as which functions are called within which other functions during a call to tree.
call log for tree during tree
We will record the details of each function call to tree in order during a call to tree.
autumnTree turtle log
We will check the position and orientation of the turtle before and after function calls within autumnTree or other functions it calls.
autumnTree call hierarchy
We will record the exact sequence of function calls as well as which functions are called within which other functions during a call to autumnTree.
call log for autumnTree during autumnTree
We will record the details of each function call to autumnTree in order during a call to autumnTree.
Your code's implementation & structure
We will inspect your code to determine how it was written.
All functions defined in your code.
We will make a list of all function definitions in your code.
The documentation strings for functions you wrote
We will load your code to access the docstrings of each function that you wrote.