Giter Club home page Giter Club logo

Comments (7)

ojeytonwilliams avatar ojeytonwilliams commented on May 18, 2024

I'm going to need some more context. Which challenge is this and where is the code?

from freecodecamp.

ilenia-magoni avatar ilenia-magoni commented on May 18, 2024

Related to #52411

from freecodecamp.

ilenia-magoni avatar ilenia-magoni commented on May 18, 2024

@ojeytonwilliams this happen in all the new python curriculum

from freecodecamp.

ShaunSHamilton avatar ShaunSHamilton commented on May 18, 2024

Thanks @ieahleen 🚀

@ojeytonwilliams As also shown in #52411 , if I have a test assert.match(code, /a = 1/), but a Camper has a syntax/logic error in their Python:

a = 1
b =

The tests will fail, and the first hint text will be given to the Camper. That hint text could be You should have "a = 1" in your code (which it clearly does). So, the hint does not make sense.

from freecodecamp.

ojeytonwilliams avatar ojeytonwilliams commented on May 18, 2024

Thanks for clarifying, @ieahleen and @ShaunSHamilton. Is the desired behaviour: if the python script raises an exception, show a hint like "something went wrong in your python script, please see the console for more information"?

from freecodecamp.

ShaunSHamilton avatar ShaunSHamilton commented on May 18, 2024

Is the desired behaviour:

I would say we should have the option to:
a) Allow an invalid script to pass all tests (what if we want to show what happens with errors) - just test the code string
b) Manually check the code exceptions or not

from freecodecamp.

ShaunSHamilton avatar ShaunSHamilton commented on May 18, 2024

Closed by #53040

from freecodecamp.

Related Issues (20)

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.