Commit Graph

185 Commits

Author SHA1 Message Date
leo
86533bdefe
go(de): declare initialised after pop.Init()
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-19 20:30:14 +01:00
leo
8f55d80731
go(de): don't run evolve concurrently for dimens
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-19 20:25:42 +01:00
leo
2e5bb5c538
go(de): add stats chan to the model
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-19 20:22:07 +01:00
leo
7e358b01af
go(algo): add DojDE()
All checks were successful
continuous-integration/drone/push Build is passing
the implementation is a WIP.

adjust linter ignoring in algo/plot.go: unparam does not like that
fPrefix is "plot" each time the func is called. this might get reworked
later.

also add field from bench/bench.go - DimensionsGA - Genetic Algorithm
specific dimensions.
2023-01-19 20:11:22 +01:00
leo
93dc845fbb
go(de): add InitAndRun
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-19 19:57:41 +01:00
leo
2216b93426
go(de): add Run(), unexport Evolve()
All checks were successful
continuous-integration/drone/push Build is passing
* use evolve()
* add a way to calculate GAMaxFES (MaxFES for Genetic Algorithms) in the
  bench package
2023-01-19 19:55:41 +01:00
leo
525b30c38e
chore: add package de (Differential Evolution)
All checks were successful
continuous-integration/drone/push Build is passing
base package (wip)
2023-01-16 13:30:38 +01:00
leo
84fcad715c
chore: add jDE.go
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-27 01:27:16 +01:00
leo
f25011b7fc
go(bench): add Rastrigin function defintion+test 2022-12-27 00:56:54 +01:00
leo
fc53e2a66a
ci: bump golangci-lint to v1.50.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-13 22:18:17 +01:00
leo
857669ca9a
flake(shell): add cachix
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-13 22:10:26 +01:00
leo
289280a9e5
chore(readme,flake): update descriptions [skip ci] 2023-01-13 22:06:57 +01:00
leo
21b4888277
chore(go): add comments [skip ci] 2023-01-13 22:01:44 +01:00
leo
3f77c573a6
chore: 2023
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-12 23:35:51 +01:00
leo
9645a252d0
flake(shell): don't add golangci-lint to env
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-12 23:18:25 +01:00
leo
7d3cd18ff2
flake(go): use go_1_18 everywhere
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-12 23:17:37 +01:00
leo
390fe9b4da
flake(shell): comment out GOPROXY = "direct"
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-12 23:16:21 +01:00
leo
f42fb27fe3
chore(go): fmt singleRandomSearch comment
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-12 23:04:41 +01:00
leo
67eca7253b
chore(go): comment exported symbols
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
2023-01-12 23:04:15 +01:00
leo
68b14f9960
chore: add all updates, sort out later
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-24 11:30:22 +01:00
c3b9ddee27
flake: tweak nix-filter's list of excludes
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-10 23:40:16 +02:00
6c56c34183
flake: stop overriding non-existent input attrset
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-10 22:32:55 +02:00
3acc856046
golangci: use version cmd instead of '--version'
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-01 21:52:29 +02:00
0f6b4b95c6
golangci: bump to 1.49.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-01 21:10:10 +02:00
6f9b09b1da
readme: embed asciicast [skip ci] 2022-09-01 21:00:46 +02:00
14281e8dd1
golangci-lint: bump to 1.48.0
All checks were successful
continuous-integration/drone/push Build is passing
ifshort linter has been deprecated in the meanwhile so comment it out.
2022-09-01 20:38:08 +02:00
c02f784065
golangci-lint: run with go1.18.5
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-23 14:38:18 +02:00
99fa75d2d4
golangci-lint: rm go1.18 linter readiness comments
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-23 14:33:51 +02:00
7951b4d85a
flake: set math-optim root to self
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-22 16:27:44 +02:00
90f71c2eaf
flake: stop setting modSha256
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-22 16:14:57 +02:00
6624d0e9dc
go(algo): add neighbour type
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-21 14:26:58 +02:00
1ce3a6d04f
fix(go): collect and plot algo stats comparably
All checks were successful
continuous-integration/drone/push Build is passing
...i.e. based on FES, not Generations.
2022-08-20 23:28:30 +02:00
1793f7bdd9
go: speed up plotting by saving plots to .pdf
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-20 13:42:41 +02:00
d397137cfc
go(algo_test): do test separation, proper clean-up
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-20 12:42:20 +02:00
18d022c851
flake: set GOFLAGS
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-12 21:45:26 +02:00
b55de0a357
flake(upcache): cache all outputs
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-12 21:42:00 +02:00
284b0af647
flake: add files to exclude list
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-12 20:48:02 +02:00
78dbe2cc0b
go: include 'comparison of means' in the reports
All checks were successful
continuous-integration/drone/push Build is passing
* add logic + tmpl that handles collecting 'comparison of means' plots
2022-08-09 17:25:19 +02:00
37d761bf81
go(report): handle 'comparison of means' plots
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-09 17:16:16 +02:00
805db5088b
go(algo): close chans after use
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-05 17:23:10 +02:00
df33a3c3a7
go: allow modifying HillClimb's 'neighbours' param
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-05 17:11:39 +02:00
9618f958a8
go(algo): add PrepComparisonOfMeans
All checks were successful
continuous-integration/drone/push Build is passing
...also another one: getComparisonOfMeansPics, that is used in the
former func internally.
2022-08-03 21:28:43 +02:00
b4c9ebcf5a
go(algo): add GetMeanStats func
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-03 21:25:37 +02:00
a328c9619e
go: use AlgoMeanVals for comparison of means plots
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-03 21:17:19 +02:00
56e978ac28
add .editorconfig [skip ci] 2022-08-03 17:57:20 +02:00
989e2796fe
flake: rm golangci-lint from devShells
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-03 17:53:20 +02:00
c79de3ad38
ci: bump golangci-lint to v1.47.3
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-03 17:49:20 +02:00
034f485539
ci: install golangci-lint from source
All checks were successful
continuous-integration/drone/push Build is passing
using pre-built binaries absolutely *can* bite, e.g. in case of
env/compile-time Go version mismatch (think golangci-lint built with
go1.18 vs ran with go1.19 that is present in the env), which is why from
now on it is going to be built right in the environment where it's going
to be used with whatever version of Go is present there, that *will*
guarantee it's able to run there.

why the golangci-lint project (used to) discourage installation from sources
(or using `go install`) is still beyond me (yeah, Reasons).

refs:
    https://github.com/golangci/golangci-lint-action/issues/442#issuecomment-1203786890
    https://github.com/golangci/golangci-lint-action/issues/530
    https://github.com/golangci/golangci-lint-action/issues/540
    # similar issue (the exact same, really) exhibited way earlier than go1.19...
    https://github.com/golangci/golangci-lint/issues/2673
2022-08-03 17:45:20 +02:00
f511e1269a
go(report/report.go): return err
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-03 17:43:07 +02:00
5b9378b4da
chore(run_test.go): make use of t
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-03 17:39:51 +02:00