You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using configlet sync at the time of writing is a wall of warnings. These are things to sync. I will extract one issue for each exercise, but that takes some more time.
To sync an exercise with problem specifications, take these steps:
Run bin/configlet sync -u -e <slug> --yes --docs --filepaths --metadata --tests include (updates the Markdown files and maybe tests.toml)
Drop strict types comments from test file and example code (these are useless)
Add and sync test meta data to tests (uuid / @testdox in DocBlocks)
Decide on adding / adjusting / ordering test cases to match current problem specs
Do not redesign the student's interface or add test cases that would invalidate existing community solutions. These are extra tasks, which should be discussed in advance.
zero pieces (e974b73e-7851-484f-8d6d-92e07fe742fc)
one piece (2fcd5f5e-8b82-4e74-b51d-df28a5e0faa4)
two pieces (d9d0a8a1-d933-46e2-aa94-eecf679f4b0e)
three pieces (c95ef757-5e94-4f0d-a6cb-d2083f5e5a83)
full proverb (433fb91c-35a2-4d41-aeab-4de1e82b2126)
four pieces modernized (c1eefa5a-e8d9-41c7-91d4-99fab6d6b9f7)
docs: instructions unsynced: queen-attack
queen-attack: missing 1 test case
Test the ability of one queen to attack another -> cannot attack if falling diagonals are only the same when reflected across the longest falling diagonal (543f8fd4-2597-4aad-8d77-cbdab63619f8)
one hundred (e417d452-129e-4056-bd5b-6eb1df334dce)
one hundred twenty-three (d6924f30-80ba-4597-acf6-ea3f16269da8)
two hundred (2f061132-54bc-4fd4-b5df-0a3b778959b9)
nine hundred ninety-nine (feed6627-5387-4d38-9692-87c0dbc55c33)
one thousand (3d83da89-a372-46d3-b10d-de0c792432b3)
one thousand two hundred thirty-four (865af898-1d5b-495f-8ff0-2f06d3c73709)
one million (b6a3f442-266e-47a3-835d-7f8a35f6cf7f)
one million two thousand three hundred forty-five (2cea9303-e77e-4212-b8ff-c39f1978fc70)
one billion (3e240eeb-f564-4b80-9421-db123f66a38f)
a big number (9a43fed1-c875-4710-8286-5065d73b8a9e)
numbers below zero are out of range (49a6a17b-084e-423e-994d-a87c0ecc05ef)
numbers above 999,999,999,999 are out of range (4d6492eb-5853-4d16-9d34-b0f61b261fd9)
docs: instructions unsynced: series
series: missing 1 test case
slice length is way too large (d7957455-346d-4e47-8e4b-87ed1564c6d7)
docs: instructions unsynced: simple-cipher
metadata: unsynced: simple-cipher
simple-cipher: missing 12 test cases
Random key cipher -> Can encode (b8bdfbe1-bea3-41bb-a999-b41403f2b15d)
Random key cipher -> Can decode (3dff7f36-75db-46b4-ab70-644b3f38b81c)
Random key cipher -> Is reversible. I.e., if you apply decode in a encoded result, you must see the same plaintext encode parameter as a result of the decode method (8143c684-6df6-46ba-bd1f-dea8fcb5d265)
Random key cipher -> Key is made only of lowercase letters (defc0050-e87d-4840-85e4-51a1ab9dd6aa)
Substitution cipher -> Can encode (565e5158-5b3b-41dd-b99d-33b9f413c39f)
Substitution cipher -> Can decode (d44e4f6a-b8af-4e90-9d08-fd407e31e67b)
Substitution cipher -> Is reversible. I.e., if you apply decode in a encoded result, you must see the same plaintext encode parameter as a result of the decode method (70a16473-7339-43df-902d-93408c69e9d1)
Substitution cipher -> Can double shift encode (69a1458b-92a6-433a-a02d-7beac3ea91f9)
Substitution cipher -> Can wrap on encode (21d207c1-98de-40aa-994f-86197ae230fb)
Substitution cipher -> Can wrap on decode (a3d7a4d7-24a9-4de6-bdc4-a6614ced0cb3)
Substitution cipher -> Can encode messages longer than the key (e31c9b8c-8eb6-45c9-a4b5-8344a36b9641)
Substitution cipher -> Can decode messages longer than the key (93cfaae0-17da-4627-9a04-d6d1e1be52e3)
docs: instructions unsynced: tournament
tournament: missing 12 test cases
just the header if no input (67e9fab1-07c1-49cf-9159-bc8671cc7c9c)
a win is three points, a loss is zero points (1b4a8aef-0734-4007-80a2-0626178c88f4)
a win can also be expressed as a loss (5f45ac09-4efe-46e7-8ddb-75ad85f86e05)
a different team can win (fd297368-efa0-442d-9f37-dd3f9a437239)
a draw is one point each (26c016f9-e753-4a93-94e9-842f7b4d70fc)
There can be more than one match (731204f6-4f34-4928-97eb-1c307ba83e62)
There can be more than one winner (49dc2463-42af-4ea6-95dc-f06cc5776adf)
There can be more than two teams (6d930f33-435c-4e6f-9e2d-63fa85ce7dc7)
Using
configlet sync
at the time of writing is a wall of warnings. These are things to sync. I will extract one issue for each exercise, but that takes some more time.To sync an exercise with problem specifications, take these steps:
bin/configlet sync -u -e <slug> --yes --docs --filepaths --metadata --tests include
(updates the Markdown files and maybetests.toml
)uuid
/@testdox
in DocBlocks)Do not redesign the student's interface or add test cases that would invalidate existing community solutions. These are extra tasks, which should be discussed in advance.
The text was updated successfully, but these errors were encountered: