Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

0 votes
1.2k views

Find 13 caches that contain all 13 punctuation characters used in standard English per http://coord.info/GC34GEN

in Miscellaneous by huggy_d1 (150 points)

1 Answer

+1 vote
I managed to check 12 of 13 punctuation marks - except apostrophe. I will try further to enable full set but I might be a technical limitation of checker engine ...

http://project-gc.com/Challenges/GC34GEN/8270
by rabmoor (2.8k points)
Its now been updated to support all 13 characters (the checker now supports defining literals with backticks (`) as an alternatives to using quotes so that the quote can be embeded between the backticks)
Just tested the checker to see if i made it. When i didn't know what a ellipsis is i looked at the caches description is said
"Three periods will be counted as an ellipsis, two hyphens will count as a dash, and finally, the cache name must have matching brackets, parentheses and quotation marks to be counted. Unmatched punctuation marks are considered bad form."

But i got a cache with five periods
Ellipsis: GC3TEVE: Var bor du lilla .....?, 2012-08-28,

Another problem is the rule about brackets, parentheses and quotation marks
I don't think the pattern in the config looks for that.
I found the cache GC3T2GG ']['|=( on Cogan 01 and got a strange result
Parenthesis: GC3T2GG: ']['|=(, 2012-08-10,
Brackets: GC3T2GG: ']['|=(, 2012-08-10,

The matching  and the unique caches requirement are not satisfied
@Target.
those results are strange - I made some tweaks, could you please send the user you checked to get them?
The first case was me Target. and the second was Cogan 01
@Target.
Matching bracktes, parenthesis and quotation marks seem to be fixed - at least in Cogan 01's case
I will further tweak the regexp to match ellipsis correctly.
Are the different caches problem also fixed that existed before the () matching?
Personally I'd say that five dots should be treated as valid,
From wikipedia:
"Ellipsis is a series of dots" ... "The most common form of an ellipsis is a row of three periods" implies to me that more than 3 dots is sufficient.

Or another argument is that what you have is 3 dots (an ellipsis) followed by 2 more dots for fun.
@Target.
There is "fulfilled with unique caches." statement in the tag and I didn't notice duplicates in results.

@mole125
Thank you for your support :) It would be insane to even try to match every rule of proper grammar in regexp.
I tried to limit ellipsis to three periods and all I got were false negatives and monsterous regexp :(
Quoting challenge conditions:
"Three periods will be counted as an ellipsis, two hyphens will count as a dash, and finally, the cache name must have matching brackets, parentheses and quotation marks to be counted. Unmatched punctuation marks are considered bad form."

Technically extra hyphen or dash after dash or extra period after ellipsis should not be problem. I am not sure about punctuation used in emoticons (e.g. Semicolon: GC1WHY3: Roman Tycka (Roman-Tic ;-) ) and I rather let the CO decide, whether the checker suits his needs or not ...
I think the only way it could be done is to have three different patterns - one if the ellipses start the name, one if they end the name, and one if they are in the middle of the pattern. But as I said I'd personally consider 5 dots to be a valid type of elipses
Thank you for creating this checker.  I posted a sample log using this new checker.  I even meet it!  BONUS!

It is so great that you managed it in such a short time too!  Kudos :)
FYI, I ran this checker on myself (pinkunicorn) and got "Failed to execute script" and the error message "[string "local args={...}..."]:256: attempt to get length of field 'next' (a nil value)".
My fault, whilst editing I obviously managed to hit the 'f' key by mistake changing a variable name.
Its fixed now, thanks for the report.
A problem still exist in the checker. Pinkunicorn get two punctuation characters from the same cache. The challenge require a different cache on each punctuation characters

Question mark: GC3TEVE: Var bor du lilla .....?, 2012-08-15,
Ellipsis: GC3TEVE: Var bor du lilla .....?, 2012-08-15,
that's working as intended (although the output needs improving). Pinkunicorn hasn't completed the challenge so we don't know which punctuation mark will be used from that cache. He has got the option to go out and get another cache containing either an ellipsis or a question mark (along with ones for semicolon and dash) once that happens the uniqueness will be resolved.

It should be showing all matches so that whilst you are completing the challenge you get a list of all the ones that match (allowing you to calculate which one to go and get) not sure why that isn't working.
That's still incorrect. I've logged (for instance)

http://coord.info/GC570T2 Hur växer granen egentligen?
http://coord.info/GC4XPY2 Ring, ring...
As I said, until you fulfil the criteria it should be showing all the matches not just the first cache which matches, I'll have to dig into the code when I get a chance to work out why that isn't working. It only attempts to uniquify (ok that's not a real word) once you've found all groups and have a chance of getting a winning solution.
...