Skip to content

Commit

Permalink
Merge branch 'master' of github.com:NetsBlox/exercises
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb committed Jan 25, 2024
2 parents d7847d7 + dc82539 commit d0a2975
Show file tree
Hide file tree
Showing 49 changed files with 80 additions and 80 deletions.
2 changes: 1 addition & 1 deletion AutograderTools.xml
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="%&apos;name&apos; from NetsBlox exercises" type="reporter" category="custom"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>Acronym&#xD;Actor's Birthday&#xD;Anagram&#xD;Atbash Cipher&#xD;Compute the Average of a List&#xD;Between&#xD;Bigram Autocomplete&#xD;Caesar Shift&#xD;Cracking the Caesar Shift with Brute Force&#xD;Cracking the Caesar Shift with a Partial Solution&#xD;Cyclic Iterator&#xD;Factorial&#xD;FizzBuzz&#xD;Greet&#xD;Intro to Infinite Sequences&#xD;Isogram&#xD;Leap Year&#xD;Counting Letter Frequency&#xD;Counting Letter Frequency as Dictionary&#xD;Luhn Formula&#xD;Mapping Over Infinite Sequences&#xD;Minesweeper&#xD;Moving Average&#xD;Pangram&#xD;Sieve of Eratosthenes&#xD;Transposing Music&#xD;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];&#xD;return process.parseRPCResult(JSON.parse(text).map(testConfig =&gt; 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="%&apos;name&apos; as Parsons problem" type="reporter" category="custom"><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true"><options>Acronym&#xD;Actor's Birthday&#xD;Atbash Cipher&#xD;Compute the Average of a List&#xD;Between&#xD;Bigram Autocomplete&#xD;Caesar Shift (functional)&#xD;Caesar Shift&#xD;Cracking the Caesar Shift with Brute Force&#xD;Cracking the Caesar Shift with a Partial Solution&#xD;Cyclic Iterator&#xD;Factorial&#xD;Greet&#xD;Intro to Infinite Sequences&#xD;Counting Letter Frequency&#xD;Counting Letter Frequency as Dictionary&#xD;Luhn Formula (functional)&#xD;Luhn Formula&#xD;Mapping Over Infinite Sequences&#xD;Minesweeper&#xD;Moving Average&#xD;Pangram&#xD;Sieve of Eratosthenes&#xD;Transposing Music&#xD;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];&#xD;return process.parseRPCResult(JSON.parse(text).map(testConfig =&gt; 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 %&apos;name&apos; assignments: %&apos;assignments&apos;" 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 %&apos;name&apos;" 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, &apos;_blank&apos;);</l></block><list><block collabId="item_129" var="url"/></list></block></script></block-definition></blocks>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Feel free to browse the [exercises](./exercises) and open the starter template (
- [Sieve of Eratosthenes](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/sieve/template.xml). Available as a [Parsons problem](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/sieve/parsons.xml), too!
- [Sliding Windows](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/sliding-windows/template.xml).
- [From Infinite Sequences to Finite Lists](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/take-collect-sequences/template.xml). Available as a [Parsons problem](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/take-collect-sequences/parsons.xml), too!
- [Transposing Music](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/transpose-music/template.xml). Available as a [Parsons problem](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/transpose-music/parsons.xml), too!
- [Transposing Music](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/transpose-music/template.xml).
- [Vigenere Cipher](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/vigenere/template.xml). Available as a [Parsons problem](https://editor.netsblox.org#open:https://raw.githubusercontent.com/NetsBlox/exercises/master/exercises/vigenere/parsons.xml), too!


Expand Down
2 changes: 1 addition & 1 deletion docs/autograders/acronym.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/actor-birthday.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/anagram.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/atbash.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/average-list.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/average.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/between.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/bigram-autocomplete.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/caesar-shift.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/crack-caesar-brute-force.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/crack-caesar-partial-soln.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/cyclic-iterator.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/factorial.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/fizz-buzz.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/greet.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/intro-infinite-sequences.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/isogram.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/leap-year.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/letter-frequency-dictionary.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/letter-frequency.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/luhn-formula.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/map-sequence.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/minesweeper.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/moving-average.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/pangram.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/sieve.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/sliding-windows.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/take-collect-sequences.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/transpose-music.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/autograders/vigenere.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
<link rel="stylesheet" href="/exercises/smui.css" />
<meta http-equiv="content-security-policy" content="">
<link href="/exercises/internal/immutable/assets/_page-032cf5c2.css" rel="stylesheet">
<link rel="modulepreload" href="/exercises/internal/immutable/start-9d4ad2d7.js">
<link rel="modulepreload" href="/exercises/internal/immutable/start-b35e61fc.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/index-31e164be.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/singletons-3d4a6400.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/singletons-bc0602b5.js">
<link rel="modulepreload" href="/exercises/internal/immutable/components/pages/_layout.svelte-e28bcd83.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/Ripple-9eced80c.js">
<link rel="modulepreload" href="/exercises/internal/immutable/modules/pages/_layout.js-04cad6c0.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/_layout-0ebf6292.js">
<link rel="modulepreload" href="/exercises/internal/immutable/components/pages/create/_page.svelte-b2a84476.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/exercises-084e881f.js">
<link rel="modulepreload" href="/exercises/internal/immutable/components/pages/create/_page.svelte-23a4d0f2.js">
<link rel="modulepreload" href="/exercises/internal/immutable/chunks/exercises-485976c1.js">
</head>
<body>
<div>
Expand Down Expand Up @@ -63,7 +63,7 @@


<script type="module" data-sveltekit-hydrate="1sqdlhl">
import { start } from "/exercises/internal/immutable/start-9d4ad2d7.js";
import { start } from "/exercises/internal/immutable/start-b35e61fc.js";

start({
env: {},
Expand Down
Loading

0 comments on commit d0a2975

Please sign in to comment.