Observations on Task Definitions and Gold Commands

#3
by 0penEye - opened

I was wondering if these tasks were solvable in your paper?

Task 38: Base64 encode the string 'hello'.
Current gold commands (echo 'hello' | base64 and echo 'hello' | openssl enc -base64) both produce aGVsbG8K (includes a newline). Suggest adding a gold command that encodes 'hello' without the newline to match the task description.
Task 100: Print lines in setup_nl2b_fs_1.sh that are less than 20 characters.
Current gold command (awk 'length < 40' setup_nl2b_fs_1.sh) actually selects lines under 40 characters, not 20. The gold command should be updated to reflect the task.

Task 190: Create a symbolic link in /system/folder1 to the root folder.
Current gold command (ln /system/folder1 -s /) is ambiguous because the task does not specify the name of the symbolic link.

Task 150: Create a symbolic link in /testbed/dir3/subdir1/subsubdir1/FooBar to the root folder.
Same issue as Task 190 — the link name is not specified.

Task 284: Sort the lines of textfile1.txt in reverse alphabetical order and save the result to a new file.
Current gold command (sort -r /testbed/dir1/textfile1.txt > /testbed/dir1/textfile1_reverse_sorted.txt) works, but the task is ambiguous because it does not specify the output file name. Suggest clarifying the task to indicate the output file should be textfile1_reverse_sorted.txt in the same folder as the input file.

Thanks for finding and reporting these errors! I'll get them fixed this weekend.

westenfelder changed discussion status to closed

Sign up or log in to comment