Ad
  • Custom User Avatar

    Same thing on Ruby

  • Custom User Avatar

    Marked as resolved then.

  • Default User Avatar

    yep that was the problem thanks and sorry for not reading issues before !

  • Custom User Avatar

    Are you mutating the recipe or the ingredients?

  • Default User Avatar

    hi, i think there is a problem with javascript rnadom test suite.
    all of the tests excepect to get 0 while i can clearly see that they should get more
    test output example:
    Wrong result for recipe {"chocolate":47,"cocoa":48,"milk":73} and available ingredients {"oil":5700,"cocoa":3600,"crumbles":4000,"pears":100,"chocolate":1900,"apples":700,"flour":5900,"cream":9800,"butter":1700,"eggs":9500,"nuts":8600,"milk":4200,"sugar":900} - Expected: 0, instead got: 40

    maybe I am missing something