shivawu/topcoder-greed — pull request #77 by vexorian (2013-11-26 03:02:11+00:00)
Title: Contest category renderer

I have a feature in my fork branch that may be too specific to my taste but I found to be very useful and I wonder if you'd like it for official greed.

Contest category renderer. Takes contest name and does some things.
* If contest name contains TCO or Topcoder Open, it returns "TCO"
* If contest name contains TCCC, it returns "TCCC".
* If contest name contains TCHS it returns "TCHS".
* Else If contest name contains SRM or Single Round Match, it parses the round number. It hen returns SRM a-b, where a-b is an interval for the SRM name. It returns things like "SRM 575-599" for SRMs between 575 and 599 . The Interval size is configurable through parameter of the renderer.
* Else it returns "Other".

https://github.com/vexorian/topcoder-greed/compare/srmrender