Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol committed Sep 24, 2024
1 parent 2c01af4 commit 97a8e78
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions backend/project.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
//> using scala "3.5.1"

//> using dependency "com.github.vickumar1981:stringdistance_2.13:1.2.7"
//> using dependency "com.indoorvivants::genovese::0.0.2"
//> using dependency "com.indoorvivants::genovese::0.0.3"
//> using dependency "com.lihaoyi::cask::0.9.4"
//> using dependency "com.lihaoyi::upickle::4.0.1"
//> using dependency "com.outr::scribe::3.15.0"
//> using dependency "org.scalameta::munit-diff::1.0.1"
//> using dependency "org.scalameta::munit-diff::1.0.2"
//> using dependency "org.scalameta:scalafmt-core_2.13:3.8.3"
//> using file "../shared/protocol.scala"

Expand Down
2 changes: 1 addition & 1 deletion backend/server.scala
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def createJob(attrs: JobAttributes): (UUID, Job) =

val trainingConfig = TrainingConfig(
populationSize = attrs.populationSize,
mutationRate = NormalisedFloat(0.8f),
mutationRate = NormalisedFloat(0.1f),
steps = attrs.generations,
random =
attrs.seed.fold(scala.util.Random())(seed => scala.util.Random(seed)),
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ case class JobAttributes(
),
a(
basicLink,
href := "http://twitter.com/velvetbaldmime",
"Author on Twitter"
href := "https://blog.indoorvivants.com/2024-09-30-scalafmt-genetic-optimiser",
"Blog post about this"
)
)
),
Expand Down

0 comments on commit 97a8e78

Please sign in to comment.