alopezlago / YetAnotherPacketParser

A parser to convert quiz bowl packets to different file formats
Other
8 stars 0 forks source link

Allow for difficulty markings (e.g. [10h], [10m], [10e]) in bonus part point values #20

Closed ryanrosenberg closed 3 years ago

ryanrosenberg commented 3 years ago

Right now YAPP does not recognize bonus parts where there is a difficulty marking inside the bonus part; ideally YAPP would parse this difficulty marking and include it in the output, or at least ignore it.

alopezlago commented 3 years ago

Interesting, I haven't seen this format before. Do we always expect to be e/m/h, or do we just expect it to be a single letter?

ryanrosenberg commented 3 years ago

I'd expect it to generally be e/m/h, yeah -- I can't think of any tournaments in the past 5-10 years that diverged from that schematic.

alopezlago commented 3 years ago

Okay. By the way, do you have an example packet that uses this format? I'd like to make sure that I can validate the parser against a real-world example

ryanrosenberg commented 3 years ago

Sure, here's a Spring Novice packet Packet 1 (3).docx

alopezlago commented 3 years ago

Thanks. I have something working where it ignores the values, though I want to see if I can keep the difficulty markings in the output.