coding-blocks / coding-blocks/hackerblocks.projectx

[Feature request] Need ability to see expected output for a custom test case

Open
#77 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Provide a button "see expected output" before compile and test button (OR) when we compile and test, provide output for user's code and correct/expected output.

Given a test case, the judge should run that test case on the correct/official solution and give the results. This will help us get more clarity on problem statement and expected solution.

Example problem statement:
Give an integer, reverse it.
Sample input:
789
Sample output:
987

But, if integer 100 is input, when we reverse it, the expected output could be 001 or just 1.
If expected output option is there, it will help user understand what kind of output is expected in all possible scenarios far better. Else, user will have to do multiple submissions doing trail and error for all possible cases.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.