theCrag / website

theCrag.com: Add your voice and help guide the development of the world's largest collaborative rock climbing & bouldering platform
https://www.thecrag.com/
110 stars 8 forks source link

French Fontainebleau bouldering grade system is missing #315

Closed brendanheywood closed 12 years ago

brendanheywood commented 13 years ago

This one will be a bit tricky as it uses the same system as the climbing except that it is usually capitalized eg 8A+ vs 8a+

http://en.wikipedia.org/wiki/Grade_(bouldering)

scd commented 13 years ago

Yes this could be tricky.

Is it possible that somebody would write 8A+ to mean a free grade. If not then this is solved by changing the pattern match string to match for bouldering if capitalized, otherwise free.

Is the level of difficulty equivalent between grades (ie does 8a+ convert to 8A+).

brendanheywood commented 13 years ago

nope

A V0 = 4 font and 4a/b climbing

A V5 = 6C/6C+ font and 7b climbing

A V10 = 7C+ font and 8b+ climbing

scd commented 13 years ago

well that is a bit of a mind #$%^ but the system won't care. The main thing is our ability to strictly adhere to the upper/lower case parsing rules.

scd commented 12 years ago

I think we are going to have to hard code some stuff in the grade parsing routine and add the ability to take the route gear style as further contextual input to determining the grade. For example if it is a bouldering route then first see if we can match a Font grade, otherwise proceed as normal

scd commented 12 years ago

When you create a new Boulder route the system will first try and match Fontainebleau grades. If it cannot match a Font grade it will parse the grades as normal.

This extra logic only applies to Bouldering routes, and it applies anywhere in the world.

Campbell can you test in dev and close the issue when you are happy.