contest-page's Issues
Convert bytes to something human readable
This feature should also come with a way to configure it.
And while we are here we should make it so that the time is also human readable
TA Solution
- TA solution needs to stand out (there will be a isTA property in the json)
- There needs to be a score column that is .6 * max_memory + .2 * avg_memory + .2 * runtime, but then normalized by the TA solution
- Students within 200% of the TA solution and passing all test cases need to stand out
Ugly
This page is kinda ugly.. someone with design skills should tell me how to page it look better, while still giving all the feedback.
NO TA solution = segfault
Page will not render if there is no ta solution provided
Page does not take up full screen
Right now the height is just hard coded to like 800 px. It takes like 1 line of js to just make it take up the full screen, so that the scrollbar is always in view.
Custom stats
User should be allowed to enter custom stats.
Maybe the user should provide a callback for constructing a table cell
Use a directive
Performance Optimization
This page is slow af...
Consider using a timeout for window.resize() so it is not being called on every keystroke...
http://stackoverflow.com/questions/1472705/resetting-a-settimeout
And repeated jQuery object creation is iffy....
Consider buffering the strings into and array, then call "".join() to concat them them, and finally make a jQuery object out of that...
Github page integration
This is really just a static webpage. Consider making it github page ready, so people don't have to worry about hosting.
Strip out all the package manager stuff
Too much of a pain to install all them package managers
Virtual Dom and Templating
Consider rewriting in a framework that a virtual dom. Using raw jquery is horrible for rendering performance. Also the current thing is one monolithic table. Consider using templating to break it down to modifiable components.
Custom formula
Allow for custom formulas
Clean up code
This is a single page app. The code does not have to be so complicated.
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.