Git Product home page Git Product logo

emperfect's People

Contributors

c-herz avatar mercere99 avatar nahumj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

c-herz amantham20

emperfect's Issues

Seg faults not shown

When a student's code Segfaults, The test case doesn't report the reason.

TestX-errors.txt:

timeout: the monitored command dumped core
Segmentation fault

Executable exit code: 35584

Test Case 2: Sandwich at end

Result: FAILED due to unsuccessful check.

Sourcecode for Test:

Main Function required

Even if a test case has "run_main=false", the test cases will fail to compile unless a main function is provided in the solution.

Example compiler error:

/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status

CHECK_TYPE doesn't check const for function parameters

Example if the test case contains:

CHECK_TYPE(SharedLetters, std::string(std::string const &, std::string const, std::string const * const));

And the solution declares this function (note the second parameter):

std::string SharedLetters(std::string const & a, std::string b, std::string const * const ptr_c)

The test case passes regardless.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.