Description
The beaver_preprocess_v2.py:24 has a hardcoded path /data/dw/:
BEAVER_DATA_PATH = os.path.join(os.path.dirname(__file__), '../../../../data/dw/')
This causes failures when processing datasets other than dw because the dataset name is hardcoded rather than derived from the input parameters.
Expected Behavior
The data path should use the dataset parameter passed to convert_beaver_questions_to_dinsql_format() to dynamically construct the correct path.
Affected File
eval/dinsql/preprocessed_data/beaver_preprocess_v2.py (line 24)
Description
The
beaver_preprocess_v2.py:24has a hardcoded path/data/dw/:This causes failures when processing datasets other than
dwbecause the dataset name is hardcoded rather than derived from the input parameters.Expected Behavior
The data path should use the
datasetparameter passed toconvert_beaver_questions_to_dinsql_format()to dynamically construct the correct path.Affected File
eval/dinsql/preprocessed_data/beaver_preprocess_v2.py(line 24)