Giter Site home page Giter Site logo

Contest name renderer about topcoder-greed HOT 9 CLOSED

zen0wu avatar zen0wu commented on September 24, 2024
Contest name renderer

from topcoder-greed.

Comments (9)

wookayin avatar wookayin commented on September 24, 2024

In my humble opinion, I'd prefer to respect the contest name provided by arena as-is.

from topcoder-greed.

vexorian avatar vexorian commented on September 24, 2024

It would be an optional thing.

from topcoder-greed.

zen0wu avatar zen0wu commented on September 24, 2024

In fact, I've implemented this function. An abbr string renderer by ${XXX;string(abbr)}. It can transform Single Round Match to SRM. Do you think this is enough?

from topcoder-greed.

vexorian avatar vexorian commented on September 24, 2024

It seems it works. Have you considered making it remove special characters? Some TCO matches have ' on them.

from topcoder-greed.

zen0wu avatar zen0wu commented on September 24, 2024

About the special characters you mentioned, do you think just removing them should be enough?
Then it would have a hard-coded special characters list, because controlling which characters are removed in the parameters of the renderer may not be a realistic solution.

This is not a simple problem if we want to cover more situations, because the user may have various thoughts about how to normalise the name. I think we should bring more consideration into this problem. For example, from Single Round Match 123, user may want SRM123, or SRM 123, or srm123. The SRM 123 may not be achievable by now.

from topcoder-greed.

vexorian avatar vexorian commented on September 24, 2024

Hence why my first idea was a special renderer :)

TCO matches are rare, so I think I can live with just the abbvr renderer.

On Thu, Nov 14, 2013 at 8:01 AM, Shiva Wu [email protected] wrote:

About the special characters you mentioned, do you think just removing
them should be enough?
Then it would have a hard-coded special characters list, because
controlling which characters are removed in the parameters of the renderer
may not be a realistic solution.

This is not a simple problem if we want to cover more situations, because
the user may have various thoughts about how to normalise the name. I think
we should bring more consideration into this problem. For example, from Single
Round Match 123, user may want SRM123, or SRM 123, or srm123. The SRM 123may not be achievable by now.


Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-28478572
.

from topcoder-greed.

vexorian avatar vexorian commented on September 24, 2024

hmnn a small issue is that it abbreviates TCO11 into "T".

from topcoder-greed.

zen0wu avatar zen0wu commented on September 24, 2024

OK, so the rules should be "ignoring the abbreviation when this token is all uppercase OR digits". Is this enough?

from topcoder-greed.

vexorian avatar vexorian commented on September 24, 2024

That's probably it, if you want to. As I said TCO matches are rare so I can live with this.

from topcoder-greed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.