This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Description
Hi, I'm just wondering why we want to truncate the test and validation data to the length of the shortest possible line. It seems like this would result in translation of incomplete code?
|
for split in ['test', 'valid']: |
|
for f_type in ['functions_standalone', 'functions_class']: |
|
truncate_files(l.folder.joinpath( |
|
f'{split}{self.suffix}.{f_type}.tok') for l in self.langs) |