freeCodeCamp/freeCodeCamp

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

Fechada

#67.781 aberto em 3 de jun. de 2026

 (4 comentários) (0 reação) (0 responsável)TypeScript (44.572 forks)batch import
help wantedscope: curriculum

Métricas do repositório

Stars
 (444.744 estrelas)
Métricas de merge de PR
 (Mesclagem média 6d 11h) (253 fundiu PRs em 30d)

Description

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.

Guia do colaborador