aashutoshrathi / testcase-generator Goto Github PK
View Code? Open in Web Editor NEW⚡️ Handy script for HackerRank, HackerEarth and CodeChef TCs Generation.
Home Page: https://tcgen.aashutosh.dev/
License: MIT License
⚡️ Handy script for HackerRank, HackerEarth and CodeChef TCs Generation.
Home Page: https://tcgen.aashutosh.dev/
License: MIT License
Add pytest or unittests to make sure everything is working fine.
Also, add Travis CI for checking the same.
Add support for at least two new languages in one PR.
Eg: Go, JS etc.
The current structure of project provides different files for a different format of the logic file, merge them into one single file with if blocks.
Add .coafile for syntax and format checking.
For languages that use compilers, compile only once and execute on every TC.
Also, fix PEP8 errors that remain.
Optimize the generation process.
Actual Behaviour
Currently, there is no form for the user's for altering various parameters
Expected Behaviour
After this issue is resolved a user can select the various parameters like no of test cases, range of parameters etc
I would like to work on this issue
Here's the Weekly Digest for aashutoshrathi/HackerRank-Test-Case-Generator:
This week, 14 issues were created. Of these, 7 issues have been closed and 7 issues are still open.
💚 #105 set automatic-code-fixing using eslint prettier husky lint-staged edi…, by mark-nakachon
💚 #104 Setup pre-commit lint hooks with Husky, by aashutoshrathi
💚 #103 Updating logic files with necessary files uploaded by the user, by mark-nakachon
💚 #102 Added logic and and view to display user files, by mark-nakachon
💚 #97 Added zipping feature, by mark-nakachon
💚 #96 sending a streaming zip file in nodeJS, by mark-nakachon
💚 #81 Dev to Master, by aashutoshrathi
❤️ #101 Added Protection to all the routes, by mark-nakachon
❤️ #100 Added Logout Route, by mark-nakachon
❤️ #99 Adding protection to all the routes so that only logged in users can access the routes, by mark-nakachon
❤️ #98 adding a logout feature, by mark-nakachon
❤️ #95 executing scripts as soon as user uploaded file, by mark-nakachon
❤️ #90 Implement a user login and user signup feature, by mark-nakachon
❤️ #87 Execute scripts in Docker Environments when file uploading is done, by aashutoshrathi
The issue most discussed this week has been:
🔈 #97 Added zipping feature, by mark-nakachon
It received 9 comments.
This week, 6 pull requests were proposed. Of these, 0 pull requests have been merged and 3 are still open.
💚 #105 set automatic-code-fixing using eslint prettier husky lint-staged edi…, by mark-nakachon
💚 #102 Added logic and and view to display user files, by mark-nakachon
💚 #97 Added zipping feature, by mark-nakachon
This week, 2 users have contributed to this repository.
They are mark-nakachon, and aashutoshrathi.
This week, no user has starred this repository.
This week, there have been 3 commits in the repository.
These are:
🛠️ [Added Logout Route (#100)
executing scripts as soon as user uploaded
fixed issue
user can now download zipped files on server
added logout route
fixed get to post](576b7d2) by mark-nakachon
🛠️ [Added Protection to all the routes (#101)
squashed my commits
added protection to all routes](59c940a) by mark-nakachon
🛠️ [executing scripts as soon as user uploaded file (#95)
executing scripts as soon as user uploaded
fixed issue](9ec990f) by mark-nakachon
This week, no releases were published.
That's all for this week, please watch 👀 and star ⭐ aashutoshrathi/HackerRank-Test-Case-Generator to receive next weekly updates. 😃
Actual Behaviour
currently, the user cannot see the uploaded files by him
Expected Behaviour
Each user after logging in can able to see their files listed
Would you like to work on the issue?
I want to work on this issue
No dashboard for the user
Currently, there is no dashboard for the user
Expected Behaviour
After solving this issue there will be a dashboard for the user where user can see user uploaded files
I would like to work on this issue
The current code generated blank O/P files instead of throwing an error and exiting code.
Currently there is no signup and login feature
currently, anyone can upload files
User login and Signup feature
User can now be able to log in and sign up
I would like to work on this issue
Actual Behaviour
Should generate input and output files for the corresponding logic files.
Expected Behaviour
The program hangs up for 'easierAssignment' logic file which is in the aarambh repository. I have modified the input generation procedure in the tc_gen file in the repo, so as to match with the input format of the question.
Create an API endpoint which takes solution file and executes compile script from code.
Break the existing code into modules or functions and add docstring to them.
Add a GIF under How it works section, showing how One of Example Code Compiles and generate TCs
Use Hackerearth's zip format
The README.md file for HackerRank-Test-Case-Generator has broken links for the different languages. Please fix it.
Actual Behaviour
Actually, logic files are written with arbitrary code
Expected Behaviour
Now logic files will be updated with files uploaded by the user
Would you like to work on the issue?
I would like to work on this issue
Throw an error and guide user to install respective compiler
This thread is for NWoC students for discussion of inputs we should take from users.
In PR Template,
### Issues Solved
[//]: # (List Issue Numbers)
needs to be changed to
### Issues Solved
Fixes #{Issue Number}
[//]: # For eg. `Fixes #5`
Actual Behaviour
At present, there is no logout route for the user to log out
Expected Behaviour
Now the user can log out after resolving this issue
Would you like to work on the issue?
Yes I would like to work in this issue
Initiate a web app server with basic scaffolding done.
For CodeChef structure should be - Single folder with inputs and outputs line by line, since we have to upload test cases one by one there.
This is task is simple and is to make UI better for the upload page.
You can use CSS Libraries unless they are too heavy.
To be done after #73
Convert This into Desktop App, by adding UI.
Initiate a front end with landing page for the app.
Make API ready for development.
On https://tc-gen.herokuapp.com
i.e. The page to be redirected in /, should have links to all endpoints directly.
Eg: Upload File, Compile Files, Generate Testcases
Here's the Weekly Digest for aashutoshrathi/HackerRank-Test-Case-Generator:
Last week 3 issues were created.
Of these, 1 issues have been closed and 2 issues are still open.
💚 #71 Landing Page created, by raibove
💚 #70 Database config added, by sweezy793
❤️ #69 Throw error when unable to execute, by ahegde3
🔈 #71 Landing Page created, by raibove
It received 2 comments.
Last week, 3 pull requests were created, updated or merged.
Last week, 2 pull requests were updated.
💛 #71 Landing Page created, by raibove
💛 #70 Database config added, by sweezy793
Last week, 1 pull request was merged.
💜 #69 Throw error when unable to execute, by ahegde3
Last week there were 2 commits.
🛠️ 🔥 Remove extraspace by aashutoshrathi
🛠️ [Throw error when unable to execute (#69) * hackerearth added
hackerearth
checker.py edited
input folder deleted
Add new demo file (#58)
folders merged
blank output exception
New line
Last week there were 2 contributors.
👤 aashutoshrathi
👤 ahegde3
Last week there were 4 stagazers.
⭐ harshendrashah
⭐ DipanshKhandelwal
⭐ aurimusblack
⭐ rishabhKalakoti
You all are the stars! 🌟
Last week there were no releases.
That's all for last week, please 👀 Watch and ⭐ Star the repository aashutoshrathi/HackerRank-Test-Case-Generator to receive next weekly updates. 😃
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. 📆
Actual Behaviour
At present, anyone can access the routes without logging in
Expected Behaviour
After this only logged in users can access the routes
Would you like to work on the issue?
yes I would like to work on this issue
Add a common Header and Footer for all webpages.
Having consistent and clean UI.
Add an easy interface for people with a noncoding background.
Current behavior doesn't accurately measure the execution time of each test case, so to measure it use timeit library which is inbuilt.
Resources: https://docs.python.org/3/library/timeit.html
Actual Behaviour
now when a user uploaded files and submitted backend scripts are executed in python and these files are not available to the users
Expected Behaviour
after resolving this issue user is able to download files to his local computer
Would you like to work on the issue?
yes I would like to work on this issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.