From 1e192f2588b96e7aa2b3ca94f2c4b40df55a32ad Mon Sep 17 00:00:00 2001 From: OGordoo Date: Tue, 14 Jan 2020 13:24:13 +0000 Subject: [PATCH 1/2] interacive questions added --- subjects/ascii-art/ascii-art-color.audit.en.md | 12 ++++++++++++ subjects/ascii-art/ascii-art-fs.audit.en.md | 17 +++++++++++++++++ .../ascii-art/ascii-art-justify.audit.en.md | 17 +++++++++++++++-- subjects/ascii-art/ascii-art-output.audit.en.md | 12 ++++++++++++ .../ascii-art/ascii-art-reverse.audit.en.md | 12 ++++++++++++ subjects/ascii-art/ascii-art.audit.en.md | 12 ++++++++++++ subjects/push-swap/push-swap.audit.en.md | 3 +++ 7 files changed, 83 insertions(+), 2 deletions(-) diff --git a/subjects/ascii-art/ascii-art-color.audit.en.md b/subjects/ascii-art/ascii-art-color.audit.en.md index c330c99a..4717f432 100644 --- a/subjects/ascii-art/ascii-art-color.audit.en.md +++ b/subjects/ascii-art/ascii-art-color.audit.en.md @@ -17,6 +17,18 @@ ##### Try passing as arguments `"RGB()" --color=blue`, in order to color just the B. ###### Does it display the expected result? +##### Try passing as arguments a random string with lower and upper case letters, and a random color in the color flag ("--color="). +###### Does it display the expected result? + +##### Try passing as arguments a random string with lower case letters, numbers and spaces, and a random color in the color flag ("--color="). +###### Does it display the expected result? + +##### Try passing as arguments a random string with special characters, and a random color in the color flag ("--color="), specifying one letter to be coloured. +###### Does it display the expected result? + +##### Try passing as arguments a random string with lower, upper case, spaces and numbers letters and a random color in the color flag ("--color="), specifying a set of letters to be coloured. +###### Does it display the expected result? + #### General ##### +Is it easy/intuitive to specify letter(s) to be coloured? diff --git a/subjects/ascii-art/ascii-art-fs.audit.en.md b/subjects/ascii-art/ascii-art-fs.audit.en.md index 38800c46..7ee94034 100644 --- a/subjects/ascii-art/ascii-art-fs.audit.en.md +++ b/subjects/ascii-art/ascii-art-fs.audit.en.md @@ -109,8 +109,25 @@ o-O-o o o-o o o o-o o o o | o o o--O o--o ``` ###### Does it display the string in the right template as an ASCII art representation as above? + +##### Try passing as arguments a random string with upper and lower case letters followed by one of the templates names (standard, shadow, thinkertoy, or other). +###### Does it display the expected string in the right template as an ASCII art representation? + +##### Try passing as arguments a random string with numbers followed by one of the templates names (standard, shadow, thinkertoy, or other). +###### Does it display the expected string in the right template as an ASCII art representation? + +##### Try passing as arguments a random string with special characters followed by one of the templates names (standard, shadow, thinkertoy, or other). +###### Does it display the expected string in the right template as an ASCII art representation? + +##### Try passing as arguments a random string with numbers, spaces, special characters, upper and lower case letters followed by one of the templates names (standard, shadow, thinkertoy, or other). +###### Does it display the expected string in the right template as an ASCII art representation? + ###### Is the file system well organized? +#### General + +###### +Does the project contain their own templates? + #### Basic ###### +Does the project runs quickly and effectively (Favoring of recursive, no unnecessary data requests, etc.)? diff --git a/subjects/ascii-art/ascii-art-justify.audit.en.md b/subjects/ascii-art/ascii-art-justify.audit.en.md index 81e073ac..c898f0ee 100644 --- a/subjects/ascii-art/ascii-art-justify.audit.en.md +++ b/subjects/ascii-art/ascii-art-justify.audit.en.md @@ -30,12 +30,25 @@ ##### Try passing as arguments `"a -> A b -> B c -> C" shadow --align=right` ###### Does it displays the correct result at the right side? -###### Try reducing the terminal window and run `abcd shadow --align=right` +##### Try reducing the terminal window and run `abcd shadow --align=right` ###### Does the representation adapt to the terminal size displaying the right result in the right side? -###### Try reducing the terminal window and run `ola standard --align=center` +##### Try reducing the terminal window and run `ola standard --align=center` ###### Does the representation adapt to the terminal size displaying the right result in the right side? + +##### Try passing as arguments a random string with lower and upper case letters, and the align flag ("--align=") followed by a random alignment (left, right, center or justify). +###### Does it display the expected result? + +##### Try passing as arguments a random string with lower case letters, numbers and spaces, and the align flag ("--align=") followed by a random alignment (left, right, center or justify). +###### Does it display the expected result? + +##### Try passing as arguments a random string with special characters, and the align flag ("--align=") followed by a random alignment (left, right, center or justify). +###### Does it display the expected result? + +##### Try passing as arguments a random string with lower, upper case, spaces and numbers letters, and the align flag ("--align=") followed by a random alignment (left, right, center or justify). +###### Does it display the expected result? + #### Basic ###### +Does the project runs quickly and effectively (Favoring of recursive, no unnecessary data requests, etc.)? diff --git a/subjects/ascii-art/ascii-art-output.audit.en.md b/subjects/ascii-art/ascii-art-output.audit.en.md index 4ebb9399..5f0c900d 100644 --- a/subjects/ascii-art/ascii-art-output.audit.en.md +++ b/subjects/ascii-art/ascii-art-output.audit.en.md @@ -121,6 +121,18 @@ student$ cat test07.txt ``` ###### Does it save the right output in the right file? +##### Try passing as arguments a random string with lower and upper case letters, and the output flag ("--output=") followed by a random file name. +###### Does it save the right output in the right file? + +##### Try passing as arguments a random string with lower case letters, numbers and spaces, and the output flag ("--output=") followed by a random file name. +###### Does it save the right output in the right file? + +##### Try passing as arguments a random string with special characters, and the output flag ("--output=") followed by a random file name. +###### Does it save the right output in the right file? + +##### Try passing as arguments a random string with lower, upper case, spaces and numbers letters, and the output flag ("--output=") followed by a random file name. +###### Does it save the right output in the right file? + ###### Are all the test files tested saved? #### Basic diff --git a/subjects/ascii-art/ascii-art-reverse.audit.en.md b/subjects/ascii-art/ascii-art-reverse.audit.en.md index 979cd3ae..f88df513 100644 --- a/subjects/ascii-art/ascii-art-reverse.audit.en.md +++ b/subjects/ascii-art/ascii-art-reverse.audit.en.md @@ -25,6 +25,18 @@ `ABCDEFGHIJKLMNOPQRSTUVWXYZ` ###### Does it display the value above? +##### Try passing to the reverse flag a file containing a graphical representation in ASCII of a random string with lower and upper case letters. +###### Does it display the expected result? + +##### Try passing to the reverse flag a file containing a graphical representation in ASCII of a random string with lower case letters, numbers and spaces. +###### Does it display the expected result? + +##### Try passing to the reverse flag a file containing a graphical representation in ASCII of a random string with special characters. +###### Does it display the expected result? + +##### Try passing to the reverse flag a file containing a graphical representation in ASCII of a random string with lower, upper case, spaces and numbers letters. +###### Does it display the expected result? + #### Basic ###### +Does the project runs quickly and effectively? (Favoring recursive, no unnecessary data requests, etc) diff --git a/subjects/ascii-art/ascii-art.audit.en.md b/subjects/ascii-art/ascii-art.audit.en.md index 4e0fecc3..0d9ad1b6 100644 --- a/subjects/ascii-art/ascii-art.audit.en.md +++ b/subjects/ascii-art/ascii-art.audit.en.md @@ -202,6 +202,18 @@ __ _ _ _ _ _ _ _ __ _ __ __ _ ``` ###### Does it display the right graphical representation in ASCII as above? +##### Try passing `` with at least four lower case letters and three upper case letters. +###### Does it display the right graphical representation in ASCII as expected? + +##### Try passing `` with at least five lower case letters, a space and two numbers. +###### Does it display the right graphical representation in ASCII as expected? + +##### Try passing `` with at least one upper case letters and 3 special characters. +###### Does it display the right graphical representation in ASCII as expected? + +##### Try passing `` with at least two lower case letters, two spaces, one number, two special characters and three upper case letters. +###### Does it display the right graphical representation in ASCII as expected? + #### Basic ###### +Does the project runs quickly and effectively? (Favoring recursive, no unnecessary data requests, etc) diff --git a/subjects/push-swap/push-swap.audit.en.md b/subjects/push-swap/push-swap.audit.en.md index c43a5177..6de923b1 100644 --- a/subjects/push-swap/push-swap.audit.en.md +++ b/subjects/push-swap/push-swap.audit.en.md @@ -20,6 +20,9 @@ Error ##### Try to run `"./push_swap <5 random numbers>"` with 5 random numbers instead of the tag. ###### Does it displays a valid solution and less than 12 instructions? +##### Try to run `"./push_swap <5 random numbers>"` with 5 different random numbers instead of the tag. +###### Does it still displays a valid solution and less than 12 instructions? + ##### Try to run `"./checker "` and input nothing. ###### Does it display nothing? From e3a1b206b65025b3946345fcf81a3bdc7d15412b Mon Sep 17 00:00:00 2001 From: OGordoo Date: Wed, 22 Jan 2020 09:39:46 +0000 Subject: [PATCH 2/2] allowed packages in my_ls --- subjects/my-ls-1/my-ls-1.en.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/subjects/my-ls-1/my-ls-1.en.md b/subjects/my-ls-1/my-ls-1.en.md index 34b45b6b..9963191d 100644 --- a/subjects/my-ls-1/my-ls-1.en.md +++ b/subjects/my-ls-1/my-ls-1.en.md @@ -31,6 +31,18 @@ This project will help you learn about : - The code must respect the [**good practices**](https://public.01-edu.org/subjects/good-practices.en). - It is recommended that the code should present a **test file**. +### Allowed packages + +- fmt +- os +- os/user +- strconv +- strings +- syscall +- time +- math/rand +- errors + ### Hint - We strongly recommend that you account for the implications of the option `-R` from the very beginning of your code.