sandbag
sandbag copied to clipboard
JS utilities for working with climbing grades
see discussion on PR for `BrazilianCrux`: - https://github.com/OpenBeta/sandbag/pull/158/files#r1388446690 - https://github.com/OpenBeta/sandbag/pull/158/files#r1388568954 - https://www.cap.com.br/post/sistema-brasileiro-de-gradua%C3%A7%C3%A3o-de-vias-de-escalada This is a new type of scale, so will require some work to identify other possible duration scales...
I am collecting questions people asked about how to use sandbag in preparation for the documentation: - [how to iterate over all grade systems](https://discord.com/channels/815145484003967026/1141943887800303728)
A lot of scales have grades composed of two or more parts on different scales. Develop a way to represent these grades and do conversions. This will unblock - #97...
Add [British technical grades](https://en.wikipedia.org/wiki/Grade_(climbing)#British_E-grade) These are the ones that look like French sport grades, not E-grades.
Grades for aid routes in Yosemite are usually expressed in the form: ` + ` - [The Nose](https://openbeta.io/climbs/a3624f5e-e607-5a3e-9f3e-a8d4ccc68dc0): 5.9 C1 ### To do - [ ] Support A and C...
https://en.wikipedia.org/wiki/Grade_(climbing)#British_E-grade These may be tricky. According to my understanding, the adjectival grades overlap. For example, according to both rockfax's table, E1, E2 & E3 are all plausibly equivalent to 5.10b....
British trad grades can have two parts: technical and adjectival. https://en.wikipedia.org/wiki/Grade_(climbing)#British todo: - [ ] #170 - [ ] #171 - [ ] #169
https://en.wikipedia.org/wiki/Grade_(climbing)#Brazilian https://www.cap.com.br/post/sistema-brasileiro-de-gradua%C3%A7%C3%A3o-de-vias-de-escalada todo: - [x] `BrazilianCrux` scale: done in #158 - [ ] #161 - [ ] #162 - [ ] #163 - [ ] #169
`src/index.ts` exports some constants whose purpose is unclear to me: https://github.com/OpenBeta/sandbag/blob/d5c417065e6a8076447528345e643ead4285c941/src/index.ts#L266-L288 It may be useful to expose these in the API, but the intention is unclear and the current definitions...
We should have a way to canonicalise minor differences in grade formatting such as - Brazilian grades: "VI sup" -> "VIsup" (see #158) - strip redundant whitespace - capitalisation -...