Permutation Builder

Re: Permutation Builder

Postby Gatsby » Wed Feb 22, 2017 9:25 pm

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.
Last edited by Gatsby on Wed Feb 22, 2017 9:57 pm, edited 1 time in total.
Gatsby
 
Posts: 305
Joined: Tue May 01, 2007 3:24 pm

Re: Permutation Builder

Postby stan » Wed Feb 22, 2017 9:44 pm

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.
Expert Lotto Team
User avatar
stan
Site Admin
 
Posts: 6338
Joined: Thu Sep 23, 2004 1:01 pm

Re: Permutation Builder

Postby Gatsby » Wed Feb 22, 2017 9:53 pm

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???
Gatsby
 
Posts: 305
Joined: Tue May 01, 2007 3:24 pm

Re: Permutation Builder

Postby Gatsby » Wed Feb 22, 2017 10:17 pm

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.
Gatsby
 
Posts: 305
Joined: Tue May 01, 2007 3:24 pm

Re: Permutation Builder

Postby stan » Wed Feb 22, 2017 10:29 pm

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?
Expert Lotto Team
User avatar
stan
Site Admin
 
Posts: 6338
Joined: Thu Sep 23, 2004 1:01 pm

Re: Permutation Builder

Postby Gatsby » Wed Feb 22, 2017 10:39 pm

No, the all full wheel tickets are accepted.
Gatsby
 
Posts: 305
Joined: Tue May 01, 2007 3:24 pm

Re: Permutation Builder

Postby stan » Wed Feb 22, 2017 10:43 pm

Alright, found a bug and uploaded a new version, please update and try again.
Expert Lotto Team
User avatar
stan
Site Admin
 
Posts: 6338
Joined: Thu Sep 23, 2004 1:01 pm

Re: Permutation Builder

Postby Gatsby » Wed Feb 22, 2017 11:02 pm

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.
Gatsby
 
Posts: 305
Joined: Tue May 01, 2007 3:24 pm

Re: Permutation Builder

Postby Meisterkeks » Fri Feb 24, 2017 11:09 pm

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?
Thank you

Best Regards!

Meisterkeks
Meisterkeks
 
Posts: 221
Joined: Fri Aug 19, 2016 7:42 am
Location: Germany

Re: Permutation Builder

Postby feelinLucky » Fri Feb 24, 2017 11:47 pm

@ 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"
feelinLucky
 
Posts: 86
Joined: Sat Feb 14, 2015 12:37 am

Re: Permutation Builder

Postby Meisterkeks » Sat Feb 25, 2017 12:04 am

But there are no quotes (") in the file:

Image

Image

:?: :?: :?:
Thank you

Best Regards!

Meisterkeks
Meisterkeks
 
Posts: 221
Joined: Fri Aug 19, 2016 7:42 am
Location: Germany

Re: Permutation Builder

Postby feelinLucky » Sat Feb 25, 2017 12:12 am

They are created when you save the file. Open the file in a text editor then you will see them.

quotes.png
You do not have the required permissions to view the files attached to this post.
feelinLucky
 
Posts: 86
Joined: Sat Feb 14, 2015 12:37 am

Re: Permutation Builder

Postby Meisterkeks » Sat Feb 25, 2017 11:09 am

Ok, now it works wonderfully :D :D :D
Thank you

Best Regards!

Meisterkeks
Meisterkeks
 
Posts: 221
Joined: Fri Aug 19, 2016 7:42 am
Location: Germany

Re: Permutation Builder

Postby feelinLucky » Sat Feb 25, 2017 1:16 pm

Meisterkeks wrote:Ok, now it works wonderfully :D :D :D

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

Thanks
feelinLucky
 
Posts: 86
Joined: Sat Feb 14, 2015 12:37 am

Re: Permutation Builder

Postby Meisterkeks » Sat Feb 25, 2017 1:45 pm

OK :wink:
Thank you

Best Regards!

Meisterkeks
Meisterkeks
 
Posts: 221
Joined: Fri Aug 19, 2016 7:42 am
Location: Germany

PreviousNext

Return to Comments, suggestions, feature requests

Who is online

Users browsing this forum: No registered users and 3 guests

cron