Giter Site home page Giter Site logo

Comments (7)

mine-cetinkaya-rundel avatar mine-cetinkaya-rundel commented on June 12, 2024

I think I have an idea, I'll take a look at this later today and update here

from dsbox.

mine-cetinkaya-rundel avatar mine-cetinkaya-rundel commented on June 12, 2024

Are you observing this when running locally or on the deployed tutorial here?

from dsbox.

mine-cetinkaya-rundel avatar mine-cetinkaya-rundel commented on June 12, 2024

Give it a try here. I think the gradethis update solved the issue.

from dsbox.

mine-cetinkaya-rundel avatar mine-cetinkaya-rundel commented on June 12, 2024

Ok I think that's because we're using grade_code() there that seems too strict a check for this, especially without scaffolding. I can change that to be something more flexible, but good to know that odd error is gone now.

from dsbox.

mine-cetinkaya-rundel avatar mine-cetinkaya-rundel commented on June 12, 2024

Ok that particular one is fixed. I'll close this now but opened #11 for other places where grade_code() might be too restrictive

from dsbox.

debbieyuster avatar debbieyuster commented on June 12, 2024

Sorry, the issue is also occurring with the exercises snap-insta-var, advfront2-var, and polviews2-var. The error occurs when, for example, the solution specifies case_when() but the user inputs if_else(), or vice versa.

I can try to fix these myself if you explain the line identical(as.character(.result[1,10]), "720") that you added to grade_result in the last commit. The gradethis demo examples nearly all use .result objects that refer to basic things like integers. So I'm not sure what .result is in a more complex example, and how to check it.

from dsbox.

debbieyuster avatar debbieyuster commented on June 12, 2024

Nevermind, figured it out. Will work on fixes for the remaining exercises.

from dsbox.

Related Issues (12)

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.