Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Fixed
This comment is hidden because it contains spoiler information about the solution
#kata-forge
Track: Build
Language: Go
What it is: This is concurrent web crawler.
Runtime usage: Used latest Go 1.24 feature: per-iteration loop variables.
AI-assisted:
This Kata is intended for Go 1.24. The loop variable capture issue was fixed in Go 1.22.
This comment is hidden because it contains spoiler information about the solution
You can add tabs and CR and LF symbols for edge cases
Thank you, fixed
Immediately did not notice the error, corrected
Water molecules??
Hello! I am a Codewars bot, and I reviewed your kata for common authoring mistakes.
Click to see the review
Commonly occurring issues
It("should pass random tests", func() { ... })does not provide the specific input that caused a failure in assertion messages or in the test title. If one of the iterations fails, Ginkgo will only show the generic test name, not which of the 50 generatedinputstrings was problematic. Consider including the currentinput(or its seed/index) in theExpectmessages, for example by usingExpect(isValidCO2(result)).To(BeTrue(), "input=%s result=%s", string(runes), result)or similar, so that a failing random case can be reproduced and diagnosed.Please mind that I am not a very smart bot, and you should verify my remarks with any resources available for kata authors and translators:
#help-authoringchannel of Codewars DiscordHello! I am a Codewars bot, and I reviewed your kata for common authoring mistakes.
Click to see the review
Commonly occurring issues
"HOH","HHOOHH", and patterns built withstrings.Repeat(e.g.strings.Repeat("HHO", 20)), but no randomly generated cases. To prevent hardcoded solutions and better exercise synchronization logic with varied arrival orders and sizes, you should add a section of tests that generate random sequences ofHandOthreads and verify them withisValidH2O.Please mind that I am not a very smart bot, and you should verify my remarks with any resources available for kata authors and translators:
#help-authoringchannel of Codewars Discord