-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<blocks app="NetsBlox 1.27.2, http://netsblox.org" version="1.27.2"><block-definition collabId="item_0" s="%'name' from NetsBlox exercises" type="reporter" category="custom"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>Acronym
Actor's Birthday
Anagram
Atbash Cipher
Compute the Average of a List
Between
Bigram Autocomplete
Caesar Shift
Cracking the Caesar Shift with Brute Force
Cracking the Caesar Shift with a Partial Solution
Cyclic Iterator
Factorial
FizzBuzz
Greet
Intro to Infinite Sequences
Isogram
Leap Year
Counting Letter Frequency
Counting Letter Frequency as Dictionary
Luhn Formula
Mapping Over Infinite Sequences
Minesweeper
Moving Average
Pangram
Sieve of Eratosthenes
Transposing Music
Vigenere Cipher</options></input></inputs><script><block collabId="item_87" s="doDeclareVariables"><list><l>exercise</l></list></block><block collabId="item_92" s="doSetVar"><l>exercise</l><block collabId="item_94" s="reportListItem"><l>2</l><block collabId="item_93" s="reportFindFirst"><block collabId="item_93_1" s="reifyPredicate"><autolambda><block collabId="item_98" s="reportEquals"><block collabId="item_99" s="reportListItem"><l>1</l><l/></block><block collabId="item_101" var="name"/></block></autolambda><list></list></block><block collabId="item_103" s="reportNewList"><list><block s="reportNewList"><list><l>Acronym</l><l>acronym</l></list></block><block s="reportNewList"><list><l>Actor's Birthday</l><l>actor-birthday</l></list></block><block s="reportNewList"><list><l>Anagram</l><l>anagram</l></list></block><block s="reportNewList"><list><l>Atbash Cipher</l><l>atbash</l></list></block><block s="reportNewList"><list><l>Compute the Average of a List</l><l>average-list</l></list></block><block s="reportNewList"><list><l>Between</l><l>between</l></list></block><block s="reportNewList"><list><l>Bigram Autocomplete</l><l>bigram-autocomplete</l></list></block><block s="reportNewList"><list><l>Caesar Shift</l><l>caesar-shift</l></list></block><block s="reportNewList"><list><l>Cracking the Caesar Shift with Brute Force</l><l>crack-caesar-brute-force</l></list></block><block s="reportNewList"><list><l>Cracking the Caesar Shift with a Partial Solution</l><l>crack-caesar-partial-soln</l></list></block><block s="reportNewList"><list><l>Cyclic Iterator</l><l>cyclic-iterator</l></list></block><block s="reportNewList"><list><l>Factorial</l><l>factorial</l></list></block><block s="reportNewList"><list><l>FizzBuzz</l><l>fizz-buzz</l></list></block><block s="reportNewList"><list><l>Greet</l><l>greet</l></list></block><block s="reportNewList"><list><l>Intro to Infinite Sequences</l><l>intro-infinite-sequences</l></list></block><block s="reportNewList"><list><l>Isogram</l><l>isogram</l></list></block><block s="reportNewList"><list><l>Leap Year</l><l>leap-year</l></list></block><block s="reportNewList"><list><l>Counting Letter Frequency</l><l>letter-frequency</l></list></block><block s="reportNewList"><list><l>Counting Letter Frequency as Dictionary</l><l>letter-frequency-dictionary</l></list></block><block s="reportNewList"><list><l>Luhn Formula</l><l>luhn-formula</l></list></block><block s="reportNewList"><list><l>Mapping Over Infinite Sequences</l><l>map-sequence</l></list></block><block s="reportNewList"><list><l>Minesweeper</l><l>minesweeper</l></list></block><block s="reportNewList"><list><l>Moving Average</l><l>moving-average</l></list></block><block s="reportNewList"><list><l>Pangram</l><l>pangram</l></list></block><block s="reportNewList"><list><l>Sieve of Eratosthenes</l><l>sieve</l></list></block><block s="reportNewList"><list><l>Transposing Music</l><l>transpose-music</l></list></block><block s="reportNewList"><list><l>Vigenere Cipher</l><l>vigenere</l></list></block> | ||
</list></block></block></block></block><block collabId="item_55" s="doReport"><block collabId="item_10" s="reportNewList"><list><block collabId="item_14" s="reportNewList"><list><l>name</l><block collabId="item_91" var="name"/></list></block><block collabId="item_18" s="reportNewList"><list><l>starter template</l><block collabId="item_49" s="reportJoinWords"><list><l>https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/</l><block collabId="item_49_1" var="exercise"/><l>/template.xml</l></list></block></list></block><block collabId="item_28" s="reportNewList"><list><l>tests</l><block collabId="item_78" s="evaluate"><block collabId="item_78_1" s="reportJSFunction"><list><l>text</l></list><l>const process = arguments[arguments.length-1];
return process.parseRPCResult(JSON.parse(text).map(testConfig => Object.entries(testConfig)));</l></block><list><block collabId="item_31" s="reportURL"><block collabId="item_33" s="reportJoinWords"><list><l>https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/</l><block collabId="item_18_1" var="exercise"/><l>/tests.json</l></list></block></block></list></block></list></block></list></block></block></script></block-definition><block-definition s="%'name' as Parsons problem" type="reporter" category="custom"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>Acronym
Actor's Birthday
Atbash Cipher
Compute the Average of a List
Between
Bigram Autocomplete
Caesar Shift (functional)
Caesar Shift
Cracking the Caesar Shift with Brute Force
Cracking the Caesar Shift with a Partial Solution
Cyclic Iterator
Factorial
Greet
Intro to Infinite Sequences
Counting Letter Frequency
Counting Letter Frequency as Dictionary
Luhn Formula (functional)
Luhn Formula
Mapping Over Infinite Sequences
Minesweeper
Moving Average
Pangram
Sieve of Eratosthenes
Transposing Music
Vigenere Cipher</options></input></inputs><script><block s="doDeclareVariables"><list><l>exercise</l></list></block><block s="doSetVar"><l>exercise</l><block s="reportListItem"><l>2</l><block s="reportFindFirst"><block s="reifyPredicate"><autolambda><block s="reportEquals"><block s="reportListItem"><l>1</l><l/></block><block var="name"/></block></autolambda><list></list></block><block s="reportNewList"><list> | ||
<block s="reportNewList"><list><l>Acronym</l><l>acronym/parsons.xml</l></list></block><block s="reportNewList"><list><l>Actor's Birthday</l><l>actor-birthday/parsons.xml</l></list></block><block s="reportNewList"><list><l>Atbash Cipher</l><l>atbash/parsons.xml</l></list></block><block s="reportNewList"><list><l>Compute the Average of a List</l><l>average-list/parsons.xml</l></list></block><block s="reportNewList"><list><l>Between</l><l>between/parsons.xml</l></list></block><block s="reportNewList"><list><l>Bigram Autocomplete</l><l>bigram-autocomplete/parsons.xml</l></list></block><block s="reportNewList"><list><l>Caesar Shift (functional)</l><l>caesar-shift/parsons-functional.xml</l></list></block><block s="reportNewList"><list><l>Caesar Shift</l><l>caesar-shift/parsons.xml</l></list></block><block s="reportNewList"><list><l>Cracking the Caesar Shift with Brute Force</l><l>crack-caesar-brute-force/parsons.xml</l></list></block><block s="reportNewList"><list><l>Cracking the Caesar Shift with a Partial Solution</l><l>crack-caesar-partial-soln/parsons.xml</l></list></block><block s="reportNewList"><list><l>Cyclic Iterator</l><l>cyclic-iterator/parsons.xml</l></list></block><block s="reportNewList"><list><l>Factorial</l><l>factorial/parsons.xml</l></list></block><block s="reportNewList"><list><l>Greet</l><l>greet/parsons.xml</l></list></block><block s="reportNewList"><list><l>Intro to Infinite Sequences</l><l>intro-infinite-sequences/parsons.xml</l></list></block><block s="reportNewList"><list><l>Counting Letter Frequency</l><l>letter-frequency/parsons.xml</l></list></block><block s="reportNewList"><list><l>Counting Letter Frequency as Dictionary</l><l>letter-frequency-dictionary/parsons.xml</l></list></block><block s="reportNewList"><list><l>Luhn Formula (functional)</l><l>luhn-formula/parsons-functional.xml</l></list></block><block s="reportNewList"><list><l>Luhn Formula</l><l>luhn-formula/parsons.xml</l></list></block><block s="reportNewList"><list><l>Mapping Over Infinite Sequences</l><l>map-sequence/parsons.xml</l></list></block><block s="reportNewList"><list><l>Minesweeper</l><l>minesweeper/parsons.xml</l></list></block><block s="reportNewList"><list><l>Moving Average</l><l>moving-average/parsons.xml</l></list></block><block s="reportNewList"><list><l>Pangram</l><l>pangram/parsons.xml</l></list></block><block s="reportNewList"><list><l>Sieve of Eratosthenes</l><l>sieve/parsons.xml</l></list></block><block s="reportNewList"><list><l>Transposing Music</l><l>transpose-music/parsons.xml</l></list></block><block s="reportNewList"><list><l>Vigenere Cipher</l><l>vigenere/parsons.xml</l></list></block> | ||
<block s="reportNewList"><list><l>Acronym</l><l>acronym/parsons.xml</l></list></block><block s="reportNewList"><list><l>Actor's Birthday</l><l>actor-birthday/parsons.xml</l></list></block><block s="reportNewList"><list><l>Atbash Cipher</l><l>atbash/parsons.xml</l></list></block><block s="reportNewList"><list><l>Compute the Average of a List</l><l>average-list/parsons.xml</l></list></block><block s="reportNewList"><list><l>Between</l><l>between/parsons.xml</l></list></block><block s="reportNewList"><list><l>Bigram Autocomplete</l><l>bigram-autocomplete/parsons.xml</l></list></block><block s="reportNewList"><list><l>Caesar Shift (functional)</l><l>caesar-shift/parsons-functional.xml</l></list></block><block s="reportNewList"><list><l>Caesar Shift</l><l>caesar-shift/parsons.xml</l></list></block><block s="reportNewList"><list><l>Cracking the Caesar Shift with Brute Force</l><l>crack-caesar-brute-force/parsons.xml</l></list></block><block s="reportNewList"><list><l>Cracking the Caesar Shift with a Partial Solution</l><l>crack-caesar-partial-soln/parsons.xml</l></list></block><block s="reportNewList"><list><l>Cyclic Iterator</l><l>cyclic-iterator/parsons.xml</l></list></block><block s="reportNewList"><list><l>Factorial</l><l>factorial/parsons.xml</l></list></block><block s="reportNewList"><list><l>Greet</l><l>greet/parsons.xml</l></list></block><block s="reportNewList"><list><l>Intro to Infinite Sequences</l><l>intro-infinite-sequences/parsons.xml</l></list></block><block s="reportNewList"><list><l>Counting Letter Frequency</l><l>letter-frequency/parsons.xml</l></list></block><block s="reportNewList"><list><l>Counting Letter Frequency as Dictionary</l><l>letter-frequency-dictionary/parsons.xml</l></list></block><block s="reportNewList"><list><l>Luhn Formula (functional)</l><l>luhn-formula/parsons-functional.xml</l></list></block><block s="reportNewList"><list><l>Luhn Formula</l><l>luhn-formula/parsons.xml</l></list></block><block s="reportNewList"><list><l>Mapping Over Infinite Sequences</l><l>map-sequence/parsons.xml</l></list></block><block s="reportNewList"><list><l>Minesweeper</l><l>minesweeper/parsons.xml</l></list></block><block s="reportNewList"><list><l>Moving Average</l><l>moving-average/parsons.xml</l></list></block><block s="reportNewList"><list><l>Pangram</l><l>pangram/parsons.xml</l></list></block><block s="reportNewList"><list><l>Sieve of Eratosthenes</l><l>sieve/parsons.xml</l></list></block><block s="reportNewList"><list><l>Transposing Music</l><l>transpose-music/_parsons.xml</l></list></block><block s="reportNewList"><list><l>Vigenere Cipher</l><l>vigenere/parsons.xml</l></list></block> | ||
</list></block></block></block></block><block s="doReport"><block s="reportNewList"><list><block s="reportNewList"><list><l>name</l><block var="name"/></list></block><block s="reportNewList"><list><l>starter template</l><block s="reportJoinWords"><list><l>https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/</l><block var="exercise"/></list></block></list></block><block s="reportNewList"><list><l>tests</l><block s="evaluate"><block s="reportJSFunction"><list><l>text</l></list><l>const process = arguments[arguments.length-1];
return process.parseRPCResult(JSON.parse(text).map(testConfig => Object.entries(testConfig)));</l></block><list><block s="reportURL"><block s="reportJoinWords"><list><l>https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/</l><block collabId="item_7" s="reportListItem"><l>1</l><block collabId="item_4" s="reportTextSplit"><block collabId="item_0_69" var="exercise"/><l>/</l></block></block><l>/tests.json</l></list></block></block></list></block></list></block></list></block></block></script></block-definition><block-definition collabId="item_113" s="autograder %'name' assignments: %'assignments'" type="reporter" category="custom"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%mult%l"></input></inputs><script><block collabId="item_116" s="doReport"><block collabId="item_117" s="reportNewList"><list><block collabId="item_119" s="reportNewList"><list><l>name</l><block collabId="item_121" var="name"/></list></block><block collabId="item_123" s="reportNewList"><list><l>assignments</l><block collabId="item_126" var="assignments"/></list></block></list></block></block></script></block-definition><block-definition collabId="item_129_39" s="open tab w/ autograder %'name'" type="command" category="custom"><header></header><code></code><translations></translations><inputs><input type="%s"></input></inputs><script><block collabId="item_129_32" s="doDeclareVariables"><list><l>url</l><l>origin</l><l>encodeURIComponent</l></list></block><block collabId="item_137" s="doSetVar"><l>encodeURIComponent</l><block collabId="item_129_45" s="reportJSFunction"><list><l>text</l></list><l>return encodeURIComponent(text);</l></block></block><block collabId="item_129_28" s="doSetVar"><l>origin</l><block collabId="item_129_26" s="evaluate"><block collabId="item_129_25" s="reportJSFunction"><list></list><l>return window.location.origin;</l></block><list></list></block></block><block collabId="item_129_21" s="doSetVar"><l>url</l><block collabId="item_129_19" s="reportJoinWords"><list><l>/?extensions=</l><block collabId="item_129_46" s="evaluate"><block collabId="item_140" var="encodeURIComponent"/><list><block collabId="item_129_15" s="reportJoinWords"><list><l>["</l><block collabId="item_129_12" var="origin"/><l>/services/routes/autograders/</l><block collabId="item_129_10" s="reportUsername"></block><l>/</l><block collabId="item_129_8" var="name"/><l>.js"]</l></list></block></list></block></list></block></block><block collabId="item_129_6" s="doRun"><block collabId="item_129_5" s="reportJSFunction"><list><l>URL</l></list><l>window.open(URL, '_blank');</l></block><list><block collabId="item_129" var="url"/></list></block></script></block-definition></blocks> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.