[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7441":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":7,"languages":9,"totalLinesOfCode":9,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":17,"archived":18,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":9,"pushedAt":9,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":14,"starSnapshotCount":14,"syncStatus":25,"lastSyncTime":26,"discoverSource":27},7441,"kotlin-koans","Kotlin\u002Fkotlin-koans","Kotlin","Kotlin workshop",null,2608,1394,14,23,0,1,61.53,"MIT License",true,false,"master",[],"2026-06-12 04:00:33","[![obsolete JetBrains project](https:\u002F\u002Fjb.gg\u002Fbadges\u002Fobsolete-plastic.svg)](https:\u002F\u002Fconfluence.jetbrains.com\u002Fdisplay\u002FALL\u002FJetBrains+on+GitHub)\n\n### This project is obsolete.\n### For the last version of Koans, check [the course](https:\u002F\u002Fwww.jetbrains.com\u002Fhelp\u002Feducation\u002Flearner-start-guide.html?section=Kotlin%20Koans) in [the EduTools plugin](https:\u002F\u002Fwww.jetbrains.com\u002Fhelp\u002Feducation\u002Finstall-edutools-plugin.html?section=IntelliJ%20IDEA) or [online version](https:\u002F\u002Fplay.kotlinlang.org\u002Fkoans\u002Foverview).\n### The task content can be found at https:\u002F\u002Fgithub.com\u002FKotlin\u002Fkotlin-koans-edu.\n\nKotlin Koans\n===========\n\nKotlin Koans Workshop is a series of exercises to get you familiar with the Kotlin Syntax. \nEach exercise is created as a failing unit test and your job is to make it pass. \n\n#### How to build and run tests\n\n##### Working with the project using Intellij IDEA:\n\n1. Import the project as Gradle project.\n2. To build the project and run the tests use `test` task on the Gradle tool window \n(`View | Tool Windows | Gradle`). \n\nHere https:\u002F\u002Fwww.jetbrains.com\u002Fhelp\u002Fidea\u002Fgradle.html#gradle_tasks you can read \nhow to run Gradle task from the Gradle toolbar in IntelliJ IDEA.\n\nNote that this project isn't intended to be used in Android Studio. If you want to solve koans in Android Studio, check the course in Android Studio with EduTools plugin installed https:\u002F\u002Fgithub.com\u002Fkotlin\u002Fkotlin-koans#other-ways-to-solve-koans.\n\n##### Working with the commandline\n\nYou can also build the project and run all tests in the terminal:\n```\n.\u002Fgradlew test\n```\nBut since running all the tests tend to take longer and the output can be\ncluttered, it's more ideal to run selected tests only:\n```\n$ .\u002Fgradlew test --tests i_*          # run tests in part 1\n$ .\u002Fgradlew test --tests ii_*         # run tests in part 2\n$ .\u002Fgradlew test --tests ii_*22*      # run test number 22 in part 2\n```\n\n\n#### How to check yourself\n\nThe repository has two branches, `master` which contains the exercises for you to do and `resolutions` which contains the resolved exercises. \nMake sure you don’t cheat!\n\n\n#### How the tasks are organized\n \nYou have 42 tasks to do. \nEach task lives in its own function: from `task0` to `task41`.\nFor each task, there is an associated unit test that checks your solution.\n \nYou may navigate to the corresponding test automatically when you read the task.\nOpen the source file with the task and use the action `Navigate -> Test` to open the test file. \nYou may also use `Navigate -> Test Subject` for reversed navigation.\n\nIndividual tasks generally require you to change the function `taskX` by completely replacing the body of the function.\nYour goal is to solve the problem and allow the associated unit test to pass. \nIf you run the unit test for a task that is not correct, the unit test results will be displayed. \nIf you have not yet made any changes to a task, the exception will be thrown and the task's TODO message will be displayed. \n\nIn the first example, this means replacing the code\n\n```kotlin\nfun task0(): String {\n    return todoTask0()\n}\n```\n\nwith the correct, meaningful code in order to solve the problem and allow the associated unit test to pass, such as:\n\n```kotlin\nfun task0() = \"OK\"\n```\n\nThe `resolutions` branch contains all the solutions.\nIt's a good idea to check the proposed solution after completing each task.\nOpen the file with your solution, call the `Compare with branch...` action and choose the `resolutions` branch.   \nYou can find [here](https:\u002F\u002Fwww.jetbrains.com\u002Fhelp\u002Fidea\u002Fnavigating-to-action.html) how to call an action.\n\n\n#### Other ways to solve Koans\n\nYou can solve the similar tasks using Educational Plugin or in the browser:\n\n- EduTools Plugin https:\u002F\u002Fwww.jetbrains.com\u002Fhelp\u002Feducation\u002Flearner-start-guide.html?section=Kotlin%20Koans\n- online version of koans https:\u002F\u002Ftry.kotl.in\n\nThe koans tasks for web-demo and educational plugin can be found here: https:\u002F\u002Fgithub.com\u002FKotlin\u002Fkotlin-koans-edu\n","Kotlin Koans 是一个旨在帮助开发者熟悉 Kotlin 语法的工作坊项目。该项目通过一系列失败的单元测试作为练习，用户需要修改代码使得这些测试通过，以此来学习 Kotlin 的各种语言特性。每个练习都对应着一个特定的函数，从 `task0` 到 `task41`，总共42个任务。项目使用 Kotlin 编写，并且支持通过 IntelliJ IDEA 或者命令行工具 Gradle 进行构建和测试运行。适合初学者快速上手 Kotlin 或者已有一定基础的开发者加深对 Kotlin 语言特性的理解时使用。尽管此 GitHub 仓库已不再维护，但其内容仍然可通过 JetBrains EduTools 插件或在线版本访问。",2,"2026-06-11 03:12:21","top_language"]