freeCodeCamp/freeCodeCamp

Pantry restocker challenge - lack of instructions for group by Zone function and lack of test cases

Chiusa

#67.781 aperta il 3 giu 2026

 (4 commenti) (0 reazioni) (0 assegnatari)TypeScript (44.572 fork)batch import
help wantedscope: curriculum

Metriche repository

Star
 (444.744 stelle)
Metriche merge PR
 (Merge medio 6g 11h) (253 PR mergiate in 30 g)

Descrizione

Describe the Issue

2 parts:

A camper is confused by the instructions on the Group by Zone function. I haven't done this part of the lab myself so I can't verify.

https://forum.freecodecamp.org/t/build-a-smart-pantry-restocker-build-a-smart-pantry-restocker/790575

Please update the instructions to make them clearer.

The second request I would suggest for this test is to have more test functions, for example the function called with x arguments returns y. I find these very useful on other labs. If there is then any confusion about the format of the data inputs and outputs, it can be seen from the test cases.

I appreciate the test requires the functions to be used throughout, but I don't think that is a case for not having test cases for each function. If they are not there and campers get the data formats from the instructions wrong the error is just compounded .

Affected Page

https://forum.freecodecamp.org/t/build-a-smart-pantry-restocker-build-a-smart-pantry-restocker/790575

Your code


n/a

Expected behavior

See above

Screenshots

N/a

System

  • Device: [e.g. iPhone 6, Laptop]
  • OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
  • Browser: [e.g. Chrome, Safari]
  • Version: [e.g. 22]

Additional context

See above.

Guida contributor