0f6b4b95c6
golangci: bump to 1.49.0
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
...
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
continuous-integration/drone/push Build is passing
2022-08-23 14:38:18 +02:00
99fa75d2d4
golangci-lint: rm go1.18 linter readiness comments
continuous-integration/drone/push Build is passing
2022-08-23 14:33:51 +02:00
7951b4d85a
flake: set math-optim root to self
continuous-integration/drone/push Build is passing
2022-08-22 16:27:44 +02:00
90f71c2eaf
flake: stop setting modSha256
continuous-integration/drone/push Build is passing
2022-08-22 16:14:57 +02:00
6624d0e9dc
go(algo): add neighbour type
continuous-integration/drone/push Build is passing
2022-08-21 14:26:58 +02:00
1ce3a6d04f
fix(go): collect and plot algo stats comparably
...
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
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
continuous-integration/drone/push Build is passing
2022-08-20 12:42:20 +02:00
18d022c851
flake: set GOFLAGS
continuous-integration/drone/push Build is passing
2022-08-12 21:45:26 +02:00
b55de0a357
flake(upcache): cache all outputs
continuous-integration/drone/push Build is passing
2022-08-12 21:42:00 +02:00
284b0af647
flake: add files to exclude list
continuous-integration/drone/push Build is passing
2022-08-12 20:48:02 +02:00
78dbe2cc0b
go: include 'comparison of means' in the reports
...
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
continuous-integration/drone/push Build is passing
2022-08-09 17:16:16 +02:00
805db5088b
go(algo): close chans after use
continuous-integration/drone/push Build is passing
2022-08-05 17:23:10 +02:00
df33a3c3a7
go: allow modifying HillClimb's 'neighbours' param
continuous-integration/drone/push Build is passing
2022-08-05 17:11:39 +02:00
9618f958a8
go(algo): add PrepComparisonOfMeans
...
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
continuous-integration/drone/push Build is passing
2022-08-03 21:25:37 +02:00
a328c9619e
go: use AlgoMeanVals for comparison of means plots
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
continuous-integration/drone/push Build is passing
2022-08-03 17:53:20 +02:00
c79de3ad38
ci: bump golangci-lint to v1.47.3
continuous-integration/drone/push Build is passing
2022-08-03 17:49:20 +02:00
034f485539
ci: install golangci-lint from source
...
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
continuous-integration/drone/push Build is passing
2022-08-03 17:43:07 +02:00
5b9378b4da
chore(run_test.go): make use of t
continuous-integration/drone/push Build is passing
2022-08-03 17:39:51 +02:00
45ec295b93
chore(go(plot)): check meanVals size
continuous-integration/drone/push Build is passing
2022-08-03 17:20:49 +02:00
8b4432ece1
go(plot): use consts for common strings
continuous-integration/drone/push Build is passing
2022-07-29 21:04:15 +02:00
2284f35e6d
go(report): add PlotPics type (+sort.Interface)
continuous-integration/drone/push Build is passing
2022-07-27 23:19:02 +02:00
6692a4e778
go(report): add Bench field to Pic type
continuous-integration/drone/push Build is passing
2022-07-27 17:45:07 +02:00
1ec7a62281
go(algo): rm unused Values type
continuous-integration/drone/push Build is passing
2022-07-27 17:29:31 +02:00
ea3d57acd8
go: rename AlgoMean,Mean et al.
...
continuous-integration/drone/push Build is passing
also add comments to methods explaining what they're supposed to do.
2022-07-25 22:24:54 +02:00
9801554eb5
go(algo): sort the mean vals in algo funcs
continuous-integration/drone/push Build is passing
2022-07-20 17:16:44 +02:00
109ce82f3e
go(plot): smarter string concat w/ fmt.Sprintf
continuous-integration/drone/push Build is passing
2022-07-20 16:24:04 +02:00
8efba25c19
go(stats): implement sort.Interface for types
continuous-integration/drone/push Build is passing
2022-07-20 02:36:14 +02:00
2bf3a4a767
go: collect and process mean vals
...
continuous-integration/drone/push Build is passing
* compute and save mean values of x (e.g. 30) bench runs
* safely save mean vals for all bench-dimens combinations to AlgoMeans
from goroutines (use mutex to protect shared access)
* rework algo/plot.go to use already computed mean values.
todo: plot mean vals of all algorithms (per benchmark) in a single pic.
2022-07-19 21:56:49 +02:00
c433b11eea
go(plot): latex-proof regular pic's caption, too
continuous-integration/drone/push Build is passing
2022-07-19 21:25:09 +02:00
c37ef263ae
go(stats): Solution -> BenchResults in FuncStats
continuous-integration/drone/push Build is passing
2022-07-19 19:58:45 +02:00
1f6bed98da
tex(report_base.tmpl): tune svg(-extract) params
continuous-integration/drone/push Build is passing
2022-07-19 19:29:17 +02:00
44cc400474
go(plot): streamline caption generation
...
continuous-integration/drone/push Build is passing
* make sure to latex-escape captions (for correct line breaks)
* enable showing captions
* enable listing subfigure captions
* make sure latex lof (list of figures) picks up on subfigure captions
* clarify we need the subcaption package for subfigures, not subcaptions
2022-07-19 19:23:39 +02:00
333a5c4e48
go: clean up main
continuous-integration/drone/push Build is passing
2022-07-18 23:12:33 +02:00
3c8678a8d3
go,tmpl: plot mean values
continuous-integration/drone/push Build is passing
2022-07-18 22:36:47 +02:00
16cbf39a79
go(stats,algo): get,plot mean vals
continuous-integration/drone/push Build is passing
2022-07-18 10:08:12 +02:00
71e67bdb58
go(stats): actually calculate median
continuous-integration/drone/push Build is passing
2022-07-18 04:17:58 +02:00
988c20885e
go(report_base): add in-text timestamp
continuous-integration/drone/push Build is passing
2022-07-18 03:27:08 +02:00
ed2aece330
go: add flag -generate
continuous-integration/drone/push Build is passing
2022-07-18 02:33:17 +02:00
1c7fd068c5
go: add note about the report file being generated
continuous-integration/drone/push Build is passing
2022-07-18 02:31:04 +02:00
948a95fb7e
go(report,main): add flag -printreport
continuous-integration/drone/push Build is passing
2022-07-18 01:58:56 +02:00
5eaeb9c692
go(report): make report creation just work™
continuous-integration/drone/push Build is passing
2022-07-18 01:50:40 +02:00