codrep-2019
codrep-2019 copied to clipboard
Inconsistent description of command-line argument
Hi.
I found that the command line argument of a program (i.e., your-program
) is confusing
for the following two reasons.
First, the given baseline systems (e.g., guessSorted.py
) do not receive any arguments.
Rather, the paths of the input data files are hardwired in the baseline system code.
Second, evaluate.py
seems to receive multiple input file directories (Line 131 of README.md),
while `your-program' is to receive a single directory (Line 91 of README.md).
Could you resolve these inconsistencies, please? (hopefully by giving more concrete examples)
Thank you.
-Shin
Hi Shin,
First, the given baseline systems (e.g., guessSorted.py) do not receive any arguments.
The given baselines are just examples on how to parse the input and output the prediction. Therefore I did not bother to add command line arguments for them.
Second, evaluate.py seems to receive multiple input file directories (Line 131 of README.md), while `your-program' is to receive a single directory (Line 91 of README.md).
evaluate.py
when not given the option -d
or --datasets
, evaluates on all datasets inside codrep-2019/Datasets/*
. When we want to evaluate any tool on any particular dataset (eg. intermediate dataset), that is where we will use the -d
or --datasets
option.
I have updated README to show an example of howyour-program
could receive multiple inputs, but it is your decision on how you would like to implement it.