Skip to content

Conversation

@vanphuc1201
Copy link
Contributor

Exercise Review

Exercise Discussion

#89

Checklist

  • If you require a new remote repository on the Git-Mastery organization, have you created a request for it?
  • Have you written unit tests using repo-smith to validate the exercise grading scheme?
  • Have you tested the download script using test-download.sh?
  • Have you verified that this exercise does not already exist or is not currently in review?
  • Did you introduce a new grading mechanism that should belong to git-autograder?
  • Did you introduce a new dependency that should belong to app?

@damithc damithc linked an issue Nov 2, 2025 that may be closed by this pull request
1 task
@woojiahao woojiahao added exercise review Review a proposed exercise discussing labels Nov 10, 2025
Copy link
Member

@woojiahao woojiahao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments, the structure for autograding makes sense, but could be improved

has_birdperson = any("Add Birdperson" in msg for msg in commit_messages_in_others)
has_cyborg = any("Add Cyborg to birdperson.txt" in msg for msg in commit_messages_in_others)
has_tammy = any("Add Tammy" in msg for msg in commit_messages_in_others)
if len(commit_messages_in_others) != 6 or not (has_birdperson and has_cyborg and has_tammy):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little OOTL, but why is this check for 6, not 3?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When retrieving commits from the others branch, it also includes the commits from main that existed before the branch was created. Therefore, the total number of commits is 5 instead of 3 (since I deleted the first tag, it now counts as 5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

discussing exercise review Review a proposed exercise

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Exercise Discussion] T6L2/ff-undo

2 participants