Rubric for ps07 task2

 
unknown Core goals
Complete all of these for core credit, or complete at least half for partial credit.
 
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 risingNotes must add the correct sequence of notes to the current track when called.
We will call risingNotes and check to make sure that the instrument, pitch, and duration of any beats, notes, and/or rests that it adds to the current track using addBeat, addNote, and/or addRest match the notes added by the solution code. We will check this in 3 different contexts.
 
unknown branchingNotes must add the correct sequence of notes to the current track when called.
We will call branchingNotes and check to make sure that the instrument, pitch, and duration of any beats, notes, and/or rests that it adds to the current track using addBeat, addNote, and/or addRest match the notes added by the solution code. We will check this in 2 different contexts.
 
unknown chaosNotes must add the correct sequence of notes to the current track when called.
We will call chaosNotes and check to make sure that the instrument, pitch, and duration of any beats, notes, and/or rests that it adds to the current track using addBeat, addNote, and/or addRest match the notes added by the solution code. We will check this in 2 different contexts.
 
unknown Results of chaosNotes are correct.
We will test the value returned by chaosNotes in 2 different contexts.
 
unknown Define risingNotes
Use def to define risingNotes
 
unknown Do not use a loop
Within the definition of risingNotes, do not use any kind of loop.
 
unknown Use a conditional
Within the definition of risingNotes, use an if statement (possibly accompanied by an elif or else block) in at least once place.
 
unknown Call risingNotes
Within the definition of risingNotes, call risingNotes in at least 3 places.
 
unknown Define branchingNotes
Use def to define branchingNotes
 
unknown Do not use a loop
Within the definition of branchingNotes, do not use any kind of loop.
 
unknown Use a conditional
Within the definition of branchingNotes, use an if statement (possibly accompanied by an elif or else block) in at least once place.
 
unknown Call branchingNotes
Within the definition of branchingNotes, call branchingNotes in at least 2 places.
 
unknown Define chaosNotes
Use def to define chaosNotes
 
unknown Do not use a loop
Within the definition of chaosNotes, do not use any kind of loop.
 
unknown Use a conditional
Within the definition of chaosNotes, use an if statement (possibly accompanied by an elif or else block) in at least once place.
 
unknown Call shouldAddNote
Within the definition of chaosNotes, call shouldAddNote in exactly 2 places.
 
unknown Call chaosNotes
Within the definition of chaosNotes, call chaosNotes in at least 2 places.
 
unknown Extra goals
Complete all of these in addition to all of the core goals for a perfect score.
 
unknown risingNotes must add the correct sequence of notes to the current track when called.
We will call risingNotes and check to make sure that the instrument, pitch, and duration of any beats, notes, and/or rests that it adds to the current track using addBeat, addNote, and/or addRest match the notes added by the solution code. We will check this in 4 different contexts.
 
unknown branchingNotes must add the correct sequence of notes to the current track when called.
We will call branchingNotes and check to make sure that the instrument, pitch, and duration of any beats, notes, and/or rests that it adds to the current track using addBeat, addNote, and/or addRest match the notes added by the solution code. We will check this in 4 different contexts.
 
unknown chaosNotes must add the correct sequence of notes to the current track when called.
We will call chaosNotes and check to make sure that the instrument, pitch, and duration of any beats, notes, and/or rests that it adds to the current track using addBeat, addNote, and/or addRest match the notes added by the solution code. We will check this in 4 different contexts.
 
unknown Results of chaosNotes are correct.
We will test the value returned by chaosNotes in 4 different contexts.
 
unknown Define risingNotes
Use def to define risingNotes
 
unknown Call risingNotes
Within the definition of risingNotes, call risingNotes in exactly 3 places.
 
unknown Call addNote
Within the definition of risingNotes, call addNote in exactly one place.
 
unknown Define branchingNotes
Use def to define branchingNotes
 
unknown Call branchingNotes
Within the definition of branchingNotes, call branchingNotes in exactly 2 places.
 
unknown Call addNote
Within the definition of branchingNotes, call addNote in exactly 2 places.
 
unknown Define chaosNotes
Use def to define chaosNotes
 
unknown Call chaosNotes
Within the definition of chaosNotes, call chaosNotes in exactly 2 places.
 
unknown Call addNote
Within the definition of chaosNotes, call addNote in exactly 2 places.
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.
The documentation strings for functions you wrote
We will load your code to access the docstrings of each function that you wrote.
result of running measureNotesAdded on risingNotes
We will run the special checker function measureNotesAdded on your function risingNotes with certain arguments and observe the result.
result of running measureNotesAdded on risingNotes
We will run the special checker function measureNotesAdded on your function risingNotes with certain arguments and observe the result.
result of running measureNotesAdded on risingNotes
We will run the special checker function measureNotesAdded on your function risingNotes with certain arguments and observe the result.
result of running measureNotesAdded on branchingNotes
We will run the special checker function measureNotesAdded on your function branchingNotes with certain arguments and observe the result.
result of running measureNotesAdded on branchingNotes
We will run the special checker function measureNotesAdded on your function branchingNotes with certain arguments and observe the result.
result of running measureNotesAdded on chaosNotes
We will run the special checker function measureNotesAdded on your function chaosNotes with certain arguments and observe the result.
result of running measureNotesAdded on chaosNotes
We will run the special checker function measureNotesAdded on your function chaosNotes with certain arguments and observe the result.
return value of chaosNotes
We will call chaosNotes with certain arguments and observe what it returns.
return value of chaosNotes
We will call chaosNotes with certain arguments and observe what it returns.
result of running measureNotesAdded on risingNotes
We will run the special checker function measureNotesAdded on your function risingNotes with certain arguments and observe the result.
result of running measureNotesAdded on risingNotes
We will run the special checker function measureNotesAdded on your function risingNotes with certain arguments and observe the result.
result of running measureNotesAdded on risingNotes
We will run the special checker function measureNotesAdded on your function risingNotes with certain arguments and observe the result.
result of running measureNotesAdded on risingNotes
We will run the special checker function measureNotesAdded on your function risingNotes with certain arguments and observe the result.
result of running measureNotesAdded on branchingNotes
We will run the special checker function measureNotesAdded on your function branchingNotes with certain arguments and observe the result.
result of running measureNotesAdded on branchingNotes
We will run the special checker function measureNotesAdded on your function branchingNotes with certain arguments and observe the result.
result of running measureNotesAdded on branchingNotes
We will run the special checker function measureNotesAdded on your function branchingNotes with certain arguments and observe the result.
result of running measureNotesAdded on branchingNotes
We will run the special checker function measureNotesAdded on your function branchingNotes with certain arguments and observe the result.
result of running measureNotesAdded on chaosNotes
We will run the special checker function measureNotesAdded on your function chaosNotes with certain arguments and observe the result.
result of running measureNotesAdded on chaosNotes
We will run the special checker function measureNotesAdded on your function chaosNotes with certain arguments and observe the result.
result of running measureNotesAdded on chaosNotes
We will run the special checker function measureNotesAdded on your function chaosNotes with certain arguments and observe the result.
result of running measureNotesAdded on chaosNotes
We will run the special checker function measureNotesAdded on your function chaosNotes with certain arguments and observe the result.
return value of chaosNotes
We will call chaosNotes with certain arguments and observe what it returns.
return value of chaosNotes
We will call chaosNotes with certain arguments and observe what it returns.
return value of chaosNotes
We will call chaosNotes with certain arguments and observe what it returns.
return value of chaosNotes
We will call chaosNotes with certain arguments and observe what it returns.
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.