Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format config.json file #131

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 5 additions & 14 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,10 @@
"indent_size": 3,
"highlightjs_language": "cobol"
},
"test_runner": {
"test_runner": {
"average_run_time": 2
},
"files": {
"solution": [],
"test": [],
"example": [],
"exemplar": []
},
"exercises": {
"concept": [],
"practice": [
{
"slug": "hello-world",
Expand All @@ -39,8 +32,7 @@
"slug": "leap",
"name": "Leap",
"uuid": "eab41ebb-64a9-4015-92b8-3899d58b8e5f",
"practices": [
],
"practices": [],
"prerequisites": [],
"difficulty": 2
},
Expand Down Expand Up @@ -243,7 +235,7 @@
"practices": [],
"prerequisites": [],
"difficulty": 3
},
},
{
"slug": "all-your-base",
"name": "All Your Base",
Expand Down Expand Up @@ -302,7 +294,6 @@
}
]
},
"concepts": [],
"key_features": [
{
"title": "Statically Typed",
Expand Down Expand Up @@ -336,12 +327,12 @@
}
],
"tags": [
"paradigm/procedural",
"execution_mode/compiled",
"paradigm/imperative",
"paradigm/object_oriented",
"paradigm/procedural",
"typing/static",
"typing/strong",
"execution_mode/compiled",
"used_for/backends",
"used_for/financial_systems"
]
Expand Down
42 changes: 21 additions & 21 deletions exercises/practice/acronym/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"authors": [
"kapitaali"
"authors": [
"kapitaali"
],
"files": {
"solution": [
"src/acronym.cob"
],
"files": {
"solution": [
"src/acronym.cob"
],
"test": [
"tst/acronym/acronym.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "Convert a phrase to its acronym.",
"source": "Julien Vanier",
"source_url": "https://github.com/monkbroc"
}
"test": [
"tst/acronym/acronym.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "Convert a phrase to its acronym.",
"source": "Julien Vanier",
"source_url": "https://github.com/monkbroc"
}
38 changes: 19 additions & 19 deletions exercises/practice/all-your-base/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"authors": [
"kapitaali"
"authors": [
"kapitaali"
],
"files": {
"solution": [
"src/all-your-base.cob"
],
"files": {
"solution": [
"src/all-your-base.cob"
],
"test": [
"tst/all-your-base/all-your-base.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "Convert a number, represented as a sequence of digits in one base, to any other base."
}
"test": [
"tst/all-your-base/all-your-base.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "Convert a number, represented as a sequence of digits in one base, to any other base."
}
34 changes: 17 additions & 17 deletions exercises/practice/armstrong-numbers/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"authors": [
"KTSnowy"
"authors": [
"KTSnowy"
],
"files": {
"solution": [
"src/armstrong-numbers.cob"
],
"files": {
"solution": [
"src/armstrong-numbers.cob"
],
"test": [
"tst/armstrong-numbers/armstrong-numbers.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"test": [
"tst/armstrong-numbers/armstrong-numbers.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "Determine if a number is an Armstrong number.",
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Narcissistic_number"
Expand Down
42 changes: 21 additions & 21 deletions exercises/practice/atbash-cipher/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"authors": [
"kapitaali"
"authors": [
"kapitaali"
],
"files": {
"solution": [
"src/atbash-cipher.cob"
],
"files": {
"solution": [
"src/atbash-cipher.cob"
],
"test": [
"tst/atbash-cipher/atbash-cipher.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Atbash"
}
"test": [
"tst/atbash-cipher/atbash-cipher.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Atbash"
}
42 changes: 21 additions & 21 deletions exercises/practice/binary/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"authors": [
"kapitaali"
"authors": [
"kapitaali"
],
"files": {
"solution": [
"src/binary.cob"
],
"files": {
"solution": [
"src/binary.cob"
],
"test": [
"tst/binary/binary.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "Convert a binary number, represented as a string (e.g. '101010'), to its decimal equivalent using first principles.",
"source": "All of Computer Science",
"source_url": "https://www.wolframalpha.com/examples/mathematics/numbers/base-conversions"
}
"test": [
"tst/binary/binary.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "Convert a binary number, represented as a string (e.g. '101010'), to its decimal equivalent using first principles.",
"source": "All of Computer Science",
"source_url": "https://www.wolframalpha.com/examples/mathematics/numbers/base-conversions"
}
42 changes: 21 additions & 21 deletions exercises/practice/circular-buffer/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"authors": [
"kapitaali"
"authors": [
"kapitaali"
],
"files": {
"solution": [
"src/circular-buffer.cob"
],
"files": {
"solution": [
"src/circular-buffer.cob"
],
"test": [
"tst/circular-buffer/circular-buffer.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "A circular buffer, cyclic buffer or ring buffer is a data structure that uses a single, fixed-size buffer as if it were connected end-to-end.",
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Circular_buffer"
}
"test": [
"tst/circular-buffer/circular-buffer.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "A circular buffer, cyclic buffer or ring buffer is a data structure that uses a single, fixed-size buffer as if it were connected end-to-end.",
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Circular_buffer"
}
2 changes: 1 addition & 1 deletion exercises/practice/collatz-conjecture/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
"blurb": "Calculate the number of steps to reach 1 using the Collatz conjecture.",
"source": "An unsolved problem in mathematics named after mathematician Lothar Collatz",
"source_url": "https://en.wikipedia.org/wiki/3x_%2B_1_problem"
}
}
42 changes: 21 additions & 21 deletions exercises/practice/complex-numbers/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"authors": [
"kapitaali"
"authors": [
"kapitaali"
],
"files": {
"solution": [
"src/complex-numbers.cob"
],
"files": {
"solution": [
"src/complex-numbers.cob"
],
"test": [
"tst/complex-numbers/complex-numbers.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "A complex number is a number in the form a + b * i where a and b are real and i satisfies i^2 = -1.",
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Complex_number"
}
"test": [
"tst/complex-numbers/complex-numbers.cut"
],
"example": [
".meta/proof.ci.cob"
],
"invalidator": [
"test.sh",
"test.ps1"
]
},
"blurb": "A complex number is a number in the form a + b * i where a and b are real and i satisfies i^2 = -1.",
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Complex_number"
}
4 changes: 3 additions & 1 deletion exercises/practice/high-scores/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"authors": ["glennj"],
"authors": [
"glennj"
],
"files": {
"solution": [
"src/high-scores.cob"
Expand Down
Loading
Loading