Comments (9)
In my humble opinion, I'd prefer to respect the contest name provided by arena as-is.
from topcoder-greed.
It would be an optional thing.
from topcoder-greed.
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.
It seems it works. Have you considered making it remove special characters? Some TCO matches have ' on them.
from topcoder-greed.
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.
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.
hmnn a small issue is that it abbreviates TCO11 into "T".
from topcoder-greed.
OK, so the rules should be "ignoring the abbreviation when this token is all uppercase OR digits". Is this enough?
from topcoder-greed.
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)
- Cannot configure pathPattern and fileNamePattern HOT 7
- Not recognizing config file HOT 1
- Config error: Config object needed, ConfigString found HOT 3
- The return value of long[] is attached with "L" in testcase.sample HOT 3
- Question: Is it possible to detect "practice room"? HOT 5
- Allow camelCase properties in templates
- Ecosystems for community-created contents (templates) HOT 5
- Code generation fails on SRM 627 Div 2 500 point problem HOT 3
- Is it possible to get a hook when the contest starts or to get contest time when generating code?
- Is it possible to get a raw string of the problem description? HOT 3
- Is there a support to generate the tests by supplying the problem statement offline?
- Grid containing whitespaces are not displayed in HTML properly HOT 1
- Submission from terminal without going to arena HOT 1
- Tests are not working in Xcode 6.1 (Passed : 0/0 cases) HOT 1
- About Release and Roadmap plans HOT 1
- OverWrite existing workspace
- SRM 676 div2 Farmville the test code does not work
- Filtering source code before submit
- Is the default language configurable?
- "data" causes compile error in C++17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from topcoder-greed.