Page 2 of 4

Re: Permutation Builder

PostPosted: Wed Feb 22, 2017 9:25 pm
by Gatsby
Hi Stan,
First of all thanks for the implementation.

Now, there seems to be a problema wuth the way it filters. Example:

With this rules

#Rule 1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50
1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50
#Rule 2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50
2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50;1
#Rule 3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50
3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50;1;2

and "All rules must pass" and "Number match count min 5 max 5", 1 latest draw, accept, being the last draw "4,10,31,38,44" 5 we would expect to filter/accept 3 combinations: 4,10,31,38,44 and 5,11,32,39,45 and 6,12,33,40,46, but that´s not what happens, and the filter result is "accepted=0".

Another thing is that i think is preferable that instead of having "At least one rule must pass" and "All rules must pass" it would be better to have "x to y rules must pass" because it gives you more freedom.

Otherwise it´s working fine and fast.

Re: Permutation Builder

PostPosted: Wed Feb 22, 2017 9:44 pm
by stan
Gatsby wrote:Hi Stan,
First of all thanks for the implementation.

Now, there seems to be a problema wuth the way it filters. Example:

With this rules

#Rule 1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50
1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50
#Rule 2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50
2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50;1
#Rule 3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50
3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49;50;1;2

and "All rules must pass" and "Number match count min 5 max 5", 1 latest draw, accept, being the last draw "4,10,31,38,44" 5 we would expect to filter/accept 3 combinations: 4,10,31,38,44 and 5,11,32,39,45 and 6,12,33,40,46, but that´s not what happens, and the filter result is "accepted=0".

Rule #3 will fail for all three tickets so with option 'All rules must pass' those tickets won't be accepted.

Another thing is that i think is preferable that instead of having "At least one rule must pass" and "All rules must pass" it would be better to have "x to y rules must pass" because it gives you more freedom.

I was considering this option but then went for simpler solution:)
But I can change it to min/max to pass.

Re: Permutation Builder

PostPosted: Wed Feb 22, 2017 9:53 pm
by Gatsby
Ok Stan, that´s good.

But why it will fail? And if we put "at least one rule must pass", then all the tickets are accepted???

Re: Permutation Builder

PostPosted: Wed Feb 22, 2017 10:17 pm
by Gatsby
If i put a pool filter for each individual rule i achieve what i want, which is to filter any number of combinations with 1 to 5 numbers from the resulting transformations, i.e, from "4,10,31,38,44", "5,11,32,39,45" and "6,12,33,40,46".

If i choose 2 to 3 numbers, then any combinations containing 2 to 3 numbers comming from each of these individual groups "4,10,31,38,44", "5,11,32,39,45" and "6,12,33,40,46" will be filtered.

But the ideia is not to make a filter for each tranformation (though it can be done) but to do it with a single file.

Re: Permutation Builder

PostPosted: Wed Feb 22, 2017 10:29 pm
by stan
Gatsby wrote:If i put a pool filter for each individual rule i achieve what i want, which is to filter any number of combinations with 1 to 5 numbers from the resulting transformations, i.e, from "4,10,31,38,44", "5,11,32,39,45" and "6,12,33,40,46".

If i choose 2 to 3 numbers, then any combinations containing 2 to 3 numbers comming from each of these individual groups "4,10,31,38,44", "5,11,32,39,45" and "6,12,33,40,46" will be filtered.

But the ideia is not to make a filter for each tranformation (though it can be done) but to do it with a single file.

With 'at least one rule must pass' option you should get the same result when the rules are all in a single file. Is that not working?

Re: Permutation Builder

PostPosted: Wed Feb 22, 2017 10:39 pm
by Gatsby
No, the all full wheel tickets are accepted.

Re: Permutation Builder

PostPosted: Wed Feb 22, 2017 10:43 pm
by stan
Alright, found a bug and uploaded a new version, please update and try again.

Re: Permutation Builder

PostPosted: Wed Feb 22, 2017 11:02 pm
by Gatsby
Stan, on the spot, i have done some filtering and it does seems to be working great, thanks!

I will be doing some more testing as soon as i load some more rules and if something is not working as expected will give feedback, as well as for the change in the x to y rules must pass.

Once again thanks for this implementation.

Best regards as always.

Re: Permutation Builder

PostPosted: Fri Feb 24, 2017 11:09 pm
by Meisterkeks
Hello
With me the filter unfortunately does not; I have the following error message:

Image

With this file:

Datei von filehorst.de laden

What am I doing wrong?

Re: Permutation Builder

PostPosted: Fri Feb 24, 2017 11:47 pm
by feelinLucky
@ Meisterkeks

Remove all quotes(") from your file.

"1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40;41;42;43;44;45;46;47;48;49"

Re: Permutation Builder

PostPosted: Sat Feb 25, 2017 12:04 am
by Meisterkeks
But there are no quotes (") in the file:

Image

Image

:?: :?: :?:

Re: Permutation Builder

PostPosted: Sat Feb 25, 2017 12:12 am
by feelinLucky
They are created when you save the file. Open the file in a text editor then you will see them.

quotes.png

Re: Permutation Builder

PostPosted: Sat Feb 25, 2017 11:09 am
by Meisterkeks
Ok, now it works wonderfully :D :D :D

Re: Permutation Builder

PostPosted: Sat Feb 25, 2017 1:16 pm
by feelinLucky
Meisterkeks wrote:Ok, now it works wonderfully :D :D :D

Let me know if you find any good settings with the new filter.

Thanks

Re: Permutation Builder

PostPosted: Sat Feb 25, 2017 1:45 pm
by Meisterkeks
OK :wink: