Задача reciprocal_cycles.clj у вас решена неправильно
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- clojure
- Domain
- testing-qa
Research direction
Open src/battle_asserts/issues/reciprocal_cycles.clj and compare its behavior with the linked repeating-decimal table and algorithm. Verify the results for inputs up to 100, especially the cases beyond 7 and 81, and consider the issue done when the task produces the referenced correct answers.
Written by the indexing model from the issue text.
Description
https://github.com/hexlet-codebattle/battle_asserts/blob/master/src/battle_asserts/issues/reciprocal_cycles.clj
в тестах с параметром до 100 правильные ответы у вас, только 7 и 81, но это неверно, взгляните на скриншот
Скриншот отсюда: https://en.wikipedia.org/wiki/Repeating_decimal#Table_of_values
Там же есть правильный алгоритм вычисления: https://en.wikipedia.org/wiki/Repeating_decimal#Algorithm_for_positive_bases
Воспроизвел его здесь: https://replit.com/@AndrieiA8/hard-Task-reciprocalcycles?v=1
- Dominant language
- Clojure
- Stars
- 71
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from hexlet-codebattle/battle_asserts
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
hexlet-codebattle/battle_asserts#1093 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
hexlet-codebattle/battle_asserts#1073 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
hexlet-codebattle/battle_asserts#1072 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
hexlet-codebattle/battle_asserts#1001 · 1 comment ·
All issues in hexlet-codebattle/battle_asserts
Similar issues
-
Disable the admin-console by default in the devenv frontendPossibly taken @niwinz claimed this today. Openneeds triage
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
`sequence` does not accept a transducer with more than one collectionPossibly taken @burinc claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
.Needs Triage .Team/Graphy Priority:P3 Type:Bug
Difficulty 2/5 1-2 days Newbie friendliness 65/100
metabase/metabase#87126 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 Under an hour Newbie friendliness 70/100