×

To be able to write in the forum you need to authenticate. Meanwhile it's read-only.

Re: User Quingdao requesting points challenge checker

[Resolved] User Quingdao requesting points challenge checker
October 27, 2016 09:15AM
Hi all,

I've been doing most of the challenge checkers published in Scotland by the users directly emailing me and requesting I write or tag a checker . One user has come forward with the following challenge and I suspect there isn't a current script for it. I'm reluctant to embark on writing a script from scratch if there is something available. I noted SeekerSupreme's points checker but I don't think it covers all the bases of this challenge.

The email I received is below, any suggestions or assistance most welcome. If anyone can come up with a checker even better :)

----------------------------------------------------------------------------------------------------------------------------------------------------

Hi Alexander

Here is my University Challenge:

To successfully claim your smiley you need to have a score of 40 or greater using the following criteria:

Have a caching streak of greater than 365 = 10 points.

Have filled your D/T grid = 10 points

Have found a cache on every day of the year, EXCLUDING THE 29th of February ( not necessarily in the same year) = 7.5 points

Found a cache hidden in every month since January 2002 = 7.5 points

Have found 500 Traditional Geocache = 5 points

Have found 200 Multi-cache = 5 points

Have found 50 Virtual Cache = 5 points

Have found 100 Letterbox Hybrid = 5 points

Have attended 100 All Event Cache Types = 5 points

Have attended 10 Cache In Trash Out Event = 5 points

Have found 100 Mystery Cache = 5 points

Have found 50 EarthCache = 5 points

Have found 30 Wherigo Cache = 5 points

Have found 10 caches with climbing gear required attribute = 2.5 points

Have found 20 caches with tree climbing attribute = 2.5 points

Have found 50 caches with field puzzle attribute = 2.5 points

Have found 10 caches with night cache attribute = 2.5 points

Have found 50 caches with sagnificant hike attribute = 2.5 points

Have found 20 caches with special tools required attribute = 2.5 points.

Regards Tracey



Edited 1 time(s). Last edit at 10/27/2016 01:50PM by ShammyLevva. (view changes)
Re: User Quingdao requesting points challenge checker
October 27, 2016 11:13PM
I think Target.'s "Multiple test Checker" would be a good starting point. I've been thinking of making a variant for a while, so I might get on with that. His checker doesn't include the points based challenge, the streak or the attribute checking. I'll see if I can add those (and an options based challenge variant so that bingo-type challenges can be tagged).
Re: User Quingdao requesting points challenge checker
October 28, 2016 05:39AM
I've made my script alteration and tagged it for this challenge. Can you please supply the GC code?
http://project-gc.com/Challenges//23224
Re: User Quingdao requesting points challenge checker
November 01, 2016 11:27AM
My multiple test checker should be update.
It is written so new test are trivially added by inserting a new function.
The idea was first to create a template http://project-gc.com/Tools/Challenges?edit&scriptId=936 with extended get finds and other useful funnctions and a standard to incapsulata a checker in a function.
And the publish it so other could use it and add test functions
The problem is code management on pgc for checkers and no possibilities for including external code.

Would it be an idea to add it with each function in a file on github and make it possible to easy add code for other people?
The only part of the current code that need to me modded for other functions is
function lookup(f,arg,filter,opt)
but i suspect that could be done automatic.
And a checker for only the new code could be autocreated
What is needed is documentation

Your "attributes" should have been added as a option to my GetCombinedFinds then it could be used by all test functions. I have been thinking of adding attributes filtes many times but never started to code it.
It should be created so you can ask caches with any of the attributes or wit all of them.
Best would be to create a syntax that allowed both Dogs or (Bicycle and boat)

But i am not suprised it was not done that way since there are no documentation and the code is hard to read
Re: User Quingdao requesting points challenge checker
November 01, 2016 11:49AM
It was fairly trivial to insert the new functionality. If you would prefer to incorporate those changes into the main script, go ahead and I'll remove mine.

There are four functions I added - two checker functions (c_streak and c_attribute, although if you can get the attributes into the filter it would be great) and two logic functions (l_points, used by this checker, and l_bingo, to be used for some other checkers which have various combinations of sub-tasks which can qualify). The only other changes I made were the lookup function (as you mentioned), and indentation and ordering of some of the functions.
Re: User Quingdao requesting points challenge checker
November 02, 2016 10:22AM
Apologies the cache GC code is GC6VVR6
Re: User Quingdao requesting points challenge checker
November 02, 2016 02:32AM
For "Bingo" challenges and other challenge caches with multiple components, Reviewers are asked to make sure that each individual component is a valid challenge subject. I have one tweak for that list of point scores. Since a "streak challenge" cannot be longer than 365 days, the first item should say "Have a caching streak of greater than at least 365 days= 10 points"

Other than that, the components look good -- assuming sufficient caches/qualifiers. I now return you to your expert checker authors!
Re: User Quingdao requesting points challenge checker
November 02, 2016 02:48AM
Yes, I had actually made that alteration in my tag, but hadn't got to mentioning it.
Re: User Quingdao requesting points challenge checker
November 02, 2016 03:00AM
The Community Volunteer Reviewers really appreciate when you catch those details at the discussion and coding stage - it makes our jobs easier, and reduces cache owner frustration! You were a step ahead of me and that's no surprise. Thanks for your work.
Re: User Quingdao requesting points challenge checker
November 02, 2016 02:34PM
I think the output text might be wrong on some of these, at least in the table.

Examples:
0 User has found 7 caches of type "Climbing gear required" (7 required).
0 User has found 11 caches of type "Tree-climbing required" (11 required).
2.5 User has found 146 caches of type "Field puzzle" (146 required).
2.5 User has found 38 caches of type "Night cache" (38 required).
0 User has found 19 caches of type "Significant hike" (19 required).
2.5 User has found 51 caches of type "Special tool required" (51 required).

All of the (# required) appear to be off. Shouldn't the output be:
0 User has found 7 caches of type "Climbing gear required" (10 required).
0 User has found 11 caches of type "Tree-climbing required" (20 required).
2.5 User has found 146 caches of type "Field puzzle" (50 required).
2.5 User has found 38 caches of type "Night cache" (10 required).
0 User has found 19 caches of type "Significant hike" (50 required).
2.5 User has found 51 caches of type "Special tool required" (20 required).

The earlier lines in the grid have the correct numbers in them.

Additionally, the output is missing a "You have found enough total caches, but don't have enough of each attribute type." before the Climbing gear required" sentence. I don't qualify so I can't tell you if the positive value is working on it.
Re: User Quingdao requesting points challenge checker
November 02, 2016 08:32PM
I've fixed the required numbers output.
Not sure why you yhink there should be a "You have found enough total caches, but don't have enough of each attribute type." when the attribute checks are separate tests.
Re: User Quingdao requesting points challenge checker
November 02, 2016 08:44PM
sumbloke Wrote:
-------------------------------------------------------
> I've fixed the required numbers output.
> Not sure why you yhink there should be a "You have
> found enough total caches, but don't have enough
> of each attribute type." when the attribute checks
> are separate tests.

I just checked http://project-gc.com/Challenges//23224 and not seeing it fixed. As for the other statement, its because that's what's you put in the output and one of the lines is missing. Personally, I don't think you need the Congratulations! You qualify for this challenge cache! or You have found enough total caches, but don't have enough of each attribute type. but having it 5 of the 6 options seems weird to me.

Re: User Quingdao requesting points challenge checker
November 02, 2016 09:27PM
Sorry, my fix seems to have reverted. I've reapplied it.

As for the other bit, I'll have to do some more investigation to see why it's showing up inconsistently.
Re: User Quingdao requesting points challenge checker
November 02, 2016 10:27PM
Okay, I've fixed that other issue as well. I think it's all right now.

Also, it's now attached to the GC code: http://project-gc.com/Challenges/GC6VVR6/23224
Re: User Quingdao requesting points challenge checker
November 02, 2016 11:07PM
That seems to have fixed the issues I saw.
Re: User Quingdao requesting points challenge checker
November 02, 2016 11:53PM
All looking good, the CO is extremely grateful for all your hard work. One last issue to highlight...

http://project-gc.com/Profile/ProfileStats?profile_name=Mousekiller&getprofile=Get+profile

Shows that Mousekiller has found a cache in November the script says he hasn't. The CO noted that seems to be the case with others she's tested.
Re: User Quingdao requesting points challenge checker
November 03, 2016 12:00AM
Mousekiller has found a cache in November, but has not found one hidden in November.
Re: User Quingdao requesting points challenge checker
November 03, 2016 12:35AM
Ahh many thanks. I'll clarify that with CO.
Re: User Quingdao requesting points challenge checker
November 02, 2016 04:21PM
Thanks so much for the work so far. Using http://project-gc.com/Challenges/GC6VVR6/23224 I think I spotted an output error though, most likely a typo.

0 User has found 0 caches of type "Climbing gear required" (0 required).
0 User has found 5 caches of type "Tree-climbing required" (5 required).
0 User has found 32 caches of type "Field puzzle" (32 required).
2.5 User has found 20 caches of type "Night cache" (20 required).
0 User has found 14 caches of type "Significant hike" (14 required).
2.5 User has found 31 caches of type "Special tool required" (31 required).

Note in each case the required figure is the same as the found figure.
Re: User Quingdao requesting points challenge checker
November 05, 2016 08:38AM
Thanks all the CO is happy with checker this can be closed.
Sorry, only registered users may post in this forum.

Click here to login