Page 1 of 1

NEW FILTER: Unique Digits

PostPosted: Tue Oct 16, 2012 4:18 pm
by timmac
Unique Digits Filter

Status: Beta
Version 1.7.3
Known Issues: None
Supported: Statistics, Ticket Analyser, Custom Analyser, Ticket Properties


This will appear in the Category ".Tim Mac Filters" at the top

This filter will count the number of unique digits in the ticket. An unique digit being the digit counted only one. For example, in the ticket 02-06-08-18-51 (ignoring bonus) the digits are 2,6,8,1,8,5,1 (ignore zeros). The unique digits are 2,6,8,1,5 so the total is 5.

You can set the Min and Max of the number of unique digits.

Example: Min 2, Max 5

1-2-3-4-5-6 REJECTED (unique digits 6 (1,2,3,4,5,6))
10-12-26-38-49 REJECTED (unique digits 7 (ignore 0) (1,2,6,3,8,4,9))
10-12-16-19-20 ACCEPTED (unique digits 4 (1,2,6,9))

Works in Package Reduce and analysis and winning ticket properties

PLEASE FOLLOW INSTRUCTIONS IN THREAD "How To Install Plugin" for installation instructions

Re: NEW FILTER: Independent Digits

PostPosted: Tue Oct 16, 2012 5:39 pm
by Neener
timmac, Thank you for this fabulous filter!

I downloaded & when I tried to install, it said there was an error & could not install.
I ran the update for EL5 & tried again. This time it said it was already installed.
I tried the filter & it does work perfectly. Thank you so much again.

Neener

Re: NEW FILTER: Independent Digits

PostPosted: Tue Oct 16, 2012 6:10 pm
by timmac
Neener wrote:timmac, Thank you for this fabulous filter!

I downloaded & when I tried to install, it said there was an error & could not install.
I ran the update for EL5 & tried again. This time it said it was already installed.
I tried the filter & it does work perfectly. Thank you so much again.

Neener


Hi
Thanks, the upload is fixed for future downloads!
I expect to be adding a good number of digit filters to this NBM so keep an eye out for updates

Re: NEW FILTER: Independent Digits

PostPosted: Wed Oct 17, 2012 11:22 am
by andthen
hi Tim
I would love to use your filters but find them not possible to use because they don't work in a complex filter...have you had a chance to look at this issue yet? :)

Cheers

Re: NEW FILTER: Independent Digits

PostPosted: Sun Oct 21, 2012 1:18 pm
by liviu
timmac wrote:Independent Digits Filter

Status: Beta
Version 1.0.0
Known Issues: Custom Analyzer settings not remembered
Supported: Statistics, Ticket Analyser


This will appear in the Category "Tim Mac Filters 2" at the top

This filter will count the number of independent digits in the ticket. An independent digit being the digit counted only one. For example, in the ticket 02-06-08-18-51 (ignoring bonus) the digits are 2,6,8,1,8,5,1 (ignore zeros). The unique digits are 2,6,8,1,5 so the total is 5.

You can set the Min and Max of the number of unique independent digits.

Example: Min 2, Max 5

1-2-3-4-5-6 ACCEPTED (independent digits 6 (1,2,3,4,5,6))
10-12-26-38-49 REJECTED (independent digits 7 (ignore 0) (1,2,6,3,8,4,9))
10-12-16-19-20 ACCEPTED (independent digits 4 (1,2,6,9))

Works in Package Reduce and analysis and winning ticket properties


Hi Tim,
many thanks;just one question for my understanding
In your example we have:
Example: Min 2, Max 5

1-2-3-4-5-6 ACCEPTED (independent digits 6 (1,2,3,4,5,6))
10-12-26-38-49 REJECTED (independent digits 7 (ignore 0) (1,2,6,3,8,4,9))
10-12-16-19-20 ACCEPTED (independent digits 4 (1,2,6,9))

So , we have Min 2, Max 5, but first ticket was accepted and have 6 independent digits; could you pls let me know if it is a mistake or I didn't understood how it function this filter..

Many Tx,
regards,
Liviu

Re: NEW FILTER: Independent Digits

PostPosted: Mon Oct 22, 2012 4:06 pm
by timmac
liviu wrote:
Hi Tim,
many thanks;just one question for my understanding
In your example we have:
Example: Min 2, Max 5

1-2-3-4-5-6 ACCEPTED (independent digits 6 (1,2,3,4,5,6))
10-12-26-38-49 REJECTED (independent digits 7 (ignore 0) (1,2,6,3,8,4,9))
10-12-16-19-20 ACCEPTED (independent digits 4 (1,2,6,9))

So , we have Min 2, Max 5, but first ticket was accepted and have 6 independent digits; could you pls let me know if it is a mistake or I didn't understood how it function this filter..

Many Tx,
regards,
Liviu


Hi Liviu

Yes, sorry, that is a mistake in the example - the first ticket should be REJECTED (6 digits when max is 5)

I'll correct original post

Regards

Re: NEW FILTER: Independent Digits

PostPosted: Wed Nov 14, 2012 4:49 pm
by timmac
andthen wrote:hi Tim
I would love to use your filters but find them not possible to use because they don't work in a complex filter...have you had a chance to look at this issue yet? :)

Cheers


Hi
Yes, this issue is now fixed in v1.0.3 so you can use in a complex filter

Cheers