mitmath / mitmath/computational-thinking
hw1 quantize check
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 2.8k
- Forks
- 502
- PR merge metrics
- No merged PRs in 30d
Description
I feel like the check might be inadequate?
Since it is checking 0.3, floor with any digits ≥ 1 will pass, when really we want digits=1.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open homework/homework1/hw1.jl at lines 986-1000 and inspect the quantize check for the 0.3 case. Confirm that the check requires digits=1 rather than allowing any digits value that makes floor pass; done means the check rejects larger digits values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100