• kylasa's avatar
    Code changes to fix order sensitivity of the pipeline (#5288) · 432c71ef
    kylasa authored
    
    
    Following changes are made in this PR.
    1. In dataset_utils.py, when reading edges from disk we follow the order defined by the STR_EDGE_TYPE key in the metadata.json file. This order is implicitly used to assign edgeid to edge types. This same order is used to read edges from the disk as well.
    2. Now the unit test framework will also randomize the order of edges read from the disk. This is done for the edges when reading from the disk for the unit tests.
    Co-authored-by: default avatarQuan (Andy) Gan <coin2028@hotmail.com>
    432c71ef
utils.py 21 KB