Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: A better approach in validating solutions #55

Open
rishabhKalakoti opened this issue Dec 12, 2019 · 0 comments
Open
Labels
discuss open for discussion enhancement New feature or request feature-request Proposal for a new feature help wanted Extra attention is needed
Projects

Comments

@rishabhKalakoti
Copy link
Contributor

rishabhKalakoti commented Dec 12, 2019

Problem
If we give such a solution for task 4 of JS,

console.log('33\n14\nJS\n Hey, this is Task 4 of Python Path!\n Hey, this is Task 4 of Python Path! !\n Hey, this is Task 4 of Python Path! !');

the current program will consider it as the correct solution.
But the user manually solved the problem and just printed the answer he got without using the language constructs.

Proposed solution
The user can operate on a set of unknown test cases which will be taken as input or passed to a predefined function as arguments and the user needs to.
Eg:

function task1(arg) {
    // user needs to do the task on the given argument (arg) and return the output
}

We can give multiple values of arg as testcases

Additional context
The current program is correct as long as the user honestly does the tasks. And adding the test cases will also be an additional work added on top of editing the program. Also, the user will need to understand the basic I/O before attempting the tasks. So the priority of this issue might be kept low for these reasons.

Open to discussion.

@rishabhKalakoti rishabhKalakoti added the feature-request Proposal for a new feature label Dec 12, 2019
@jamesgeorge007 jamesgeorge007 added this to To do in Roadmap via automation Dec 27, 2019
@jamesgeorge007 jamesgeorge007 added discuss open for discussion enhancement New feature or request help wanted Extra attention is needed labels Dec 27, 2019
@jamesgeorge007 jamesgeorge007 changed the title feat: take input from user in the code [Feature Request]: A better approach in validatig solutions Dec 27, 2019
@jamesgeorge007 jamesgeorge007 changed the title [Feature Request]: A better approach in validatig solutions [Feature Request]: A better approach in validating solutions Dec 27, 2019
@jamesgeorge007 jamesgeorge007 added this to the v1.3.0 milestone Jan 12, 2020
@jamesgeorge007 jamesgeorge007 removed this from the v1.3.0 milestone Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss open for discussion enhancement New feature or request feature-request Proposal for a new feature help wanted Extra attention is needed
Projects
Roadmap
  
To do
Development

No branches or pull requests

2 participants