Skip to content

[tool] collatz_length - #449

Merged
abduznik merged 1 commit into
abduznik:mainfrom
1998LJ:feat/add-collatz-length
Sep 16, 2026
Merged

abduznik merged 1 commit into
abduznik:mainfrom
1998LJ:feat/add-collatz-length

Conversation

@1998LJ

@1998LJ 1998LJ commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Checklist

  • File is in tools/ directory
  • File has header comments (# tool, # description, # author, # example)
  • File has a run() function that returns a string
  • Uses stdlib only (no external dependencies)
  • Tested locally with python bitbox.py <tool_name> <args>

Closes #445

Notes

  • Counts total steps to reach 1 in Collatz sequence.
  • Local tests passed via pytest covering standard sequence steps and input boundaries.

@1998LJ 1998LJ changed the title feat(tools): implement collatz_length utility (closes #445) [tool] collatz_length Sep 14, 2026

@abduznik abduznik left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Reviewed against CONTRIBUTING.md: correct header format, stdlib-only, correct run(*args) -> str logic verified, no duplicate of existing tools. LGTM.

@abduznik
abduznik merged commit 7268734 into abduznik:main Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[tool] collatz_length

2 participants