generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3320200
commit 8f1a5fc
Showing
18 changed files
with
29 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ api.log.json | |
*.log.java | ||
*.log | ||
api.* | ||
.skynet | ||
|
||
.skynet.bak | ||
|
1 change: 1 addition & 0 deletions
1
.skynet/CodingActorTest_KotlinInterpreter/20231111/6d857f10/messages/qwcvyd.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"<button class=\"cancel-button\" data-id=\"qwcvyd\">×</button><div><div><p>Calculate the median prime number from the range 1-1000</p>\n</div></div><div><div><pre><code class=\"language-kotlin\">\nfun main() {\n val primeNumbers = mutableListOf<Int>()\n \n for (number in 1..1000) {\n if (isPrime(number)) {\n primeNumbers.add(number)\n }\n }\n \n primeNumbers.sort()\n \n val median = if (primeNumbers.size % 2 == 0) {\n val middleIndex = primeNumbers.size / 2\n (primeNumbers[middleIndex - 1] + primeNumbers[middleIndex]) / 2.0\n } else {\n primeNumbers[primeNumbers.size / 2].toDouble()\n }\n \n println("The median prime number from the range 1-1000 is: $median")\n}\n\nfun isPrime(number: Int): Boolean {\n if (number <= 1) {\n return false\n }\n \n for (i in 2 until number) {\n if (number % i == 0) {\n return false\n }\n }\n \n return true\n}\n\n</code></pre>\n<p><a class=\"href-link\" data-id=\"hwuiit\">▶</a></p>\n</div></div><div><div>Running...</div></div><div><pre>null</pre>\n<pre>11:34:55.431 [pool-12-thread-1] INFO c.s.skyenet.heart.KotlinInterpreter - Running:\n fun main() {\n\t val primeNumbers = mutableListOf<Int>()\n\t \n\t for (number in 1..1000) {\n\t if (isPrime(number)) {\n\t primeNumbers.add(number)\n\t }\n\t }\n\t \n\t primeNumbers.sort()\n\t \n\t val median = if (primeNumbers.size % 2 == 0) {\n\t val middleIndex = primeNumbers.size / 2\n\t (primeNumbers[middleIndex - 1] + primeNumbers[middleIndex]) / 2.0\n\t } else {\n\t primeNumbers[primeNumbers.size / 2].toDouble()\n\t }\n\t \n\t println(\"The median prime number from the range 1-1000 is: $median\")\n\t}\n\t\n\tfun isPrime(number: Int): Boolean {\n\t if (number <= 1) {\n\t return false\n\t }\n\t \n\t for (i in 2 until number) {\n\t if (number % i == 0) {\n\t return false\n\t }\n\t }\n\t \n\t return true\n\t}\n\n11:35:04.395 [pool-12-thread-1] INFO c.s.skyenet.actors.CodingActor - Result: null\n</pre></div>" |
1 change: 1 addition & 0 deletions
1
.skynet/SimpleActorTest_SimpleActor/20231111/35e2c6c5/messages/hvlauy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"<button class=\"cancel-button\" data-id=\"hvlauy\">×</button><div><div><p>This is the last message</p>\n</div></div><div><div><p>Isthay isay ethay astlay essagemay</p>\n</div></div>" |
1 change: 1 addition & 0 deletions
1
.skynet/SimpleActorTest_SimpleActor/20231111/35e2c6c5/messages/nakgfp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"<button class=\"cancel-button\" data-id=\"nakgfp\">×</button><div><div><p>Recite the pledge of allegiance (in pig latin)</p>\n</div></div><div><div><p>Eciteray ethay edgeplay ofay allegianceay (inay igpay atinlay)</p>\n</div></div>" |
1 change: 1 addition & 0 deletions
1
.skynet/SimpleActorTest_SimpleActor/20231111/35e2c6c5/messages/ozicdd.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"<button class=\"cancel-button\" data-id=\"ozicdd\">×</button><div><div><p>I wish to have a longer conversation</p>\n</div></div><div><div><p>Ishway otay avehay alay ongerlay onversationcay</p>\n</div></div>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 0 additions & 53 deletions
53
src/main/kotlin/com/github/simiacryptus/aicoder/actions/dev/LaunchSkyenetAction.kt
This file was deleted.
Oops, something went wrong.
64 changes: 0 additions & 64 deletions
64
...n/kotlin/com/github/simiacryptus/aicoder/actions/dev/SkyenetProjectCodingSessionServer.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters