You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output matches exactly — well done. The implementation is correct and the storage abstraction works as intended.
A few points to improve:
Commit messages
"solved the assignment" as a single commit covers everything: schema, migration, and all functions. This makes it hard to understand what changed and why. Prefer smaller, incremental commits (e.g. one function or logical step at a time) with descriptive messages.
Tests
There are no tests. In this case manual verification was done correctly, but it’s still fragile. A few simple assertions would make the implementation more robust and prevent regressions.
Assignment scope
app.js was modified (quote style changes). The README explicitly says not to modify this file, so it should be left unchanged.
The output matches exactly — well done. The implementation is correct and the storage abstraction works as intended.
A few points to improve:
Commit messages "solved the assignment" as a single commit covers everything: schema, migration, and all functions. This makes it hard to understand what changed and why. Prefer smaller, incremental commits (e.g. one function or logical step at a time) with descriptive messages.
Tests There are no tests. In this case manual verification was done correctly, but it’s still fragile. A few simple assertions would make the implementation more robust and prevent regressions.
Assignment scope app.js was modified (quote style changes). The README explicitly says not to modify this file, so it should be left unchanged.
I have already applied your advice about commit messages in my latest assignment.
Regarding tests, I'm still a bit confused. Should I write a test unit for every single function, or just the main parts?
I'll also be more careful with the assignment requirements next time. Thanks again!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ReviewedThis assignment has been reivewed by a mentor and a feedback has been provided
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.