Error! spinfile and spinfolder not working correctly
Error! spinfile and spinfolder not working correctly
Here my example usage
The below is supposed to sping at each line. But i see all duplicate instead of randomly choosen
Each file has over 500 lines so there is no chance of all being same
When i test it works fine but i saw the duplicate at real submission
%spinfolder-c:/my folder/my text files/%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfolder-c:/my folder/my text files/%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfolder-c:/my folder/my text files/%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfolder-c:/my folder/my text files/%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
Here my example usage
The below is supposed to sping at each line. But i see all duplicate instead of randomly choosen
Each file has over 500 lines so there is no chance of all being same
When i test it works fine but i saw the duplicate at real submission
%spinfolder-c:/my folder/my text files/%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfolder-c:/my folder/my text files/%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfolder-c:/my folder/my text files/%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfolder-c:/my folder/my text files/%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
%spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%
Tagged:
Comments
isn't it supposed to load file once in to the ram and select random line each time ?
Seems like i have to compose different file for each one
Obviously your random selection algorithm is not working correctly
Probably using same seed or not generating another true random etc etc
If i could see the code i could find the out the problem
and now it perfectly works. no duplicate selection
a lot of waste of time
%spinfile-c:/my folder/my_list_5.txt% %spinfile-c:/my folder/my_list_2.txt% %spinfile-c:/my folder/my_list_5.txt%
%spinfile-c:/my folder/my_list_4.txt% %spinfile-c:/my folder/my_list_3.txt% %spinfile-c:/my folder/my_list_1.txt%