CliMA / CalibrateEmulateSample.jl

Stochastic Optimization, Learning, Uncertainty and Sampling
https://clima.github.io/CalibrateEmulateSample.jl/dev
Apache License 2.0
81 stars 14 forks source link

Suggestions for improving the docs #294

Closed nluetts closed 3 months ago

nluetts commented 3 months ago

Hi :wave:

I am raising this issue as part of the JOSS review https://github.com/openjournals/joss-reviews/issues/6372

I read through the documentation and have a couple of suggestions/questions and found a few of typos. I'll use links to the source files to make locating the respective passages easier:

installation_instructions.md

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/installation_instructions.md?plain=1#L9

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/installation_instructions.md?plain=1#L12

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/installation_instructions.md?plain=1#L36-L41

examples/sinusoid_example.md

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/examples/sinusoid_example.md?plain=1#L306

Regarding the figures in this section ("Emulator Validation"):

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/examples/sinusoid_example.md?plain=1#L437-L439

calibrate.md

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/calibrate.md?plain=1#L14-L16

https://clima.github.io/EnsembleKalmanProcesses.jl/dev/ensemble_kalman_inversion/

https://clima.github.io/EnsembleKalmanProcesses.jl/dev/ensemble_kalman_inversion/#Updating-the-Ensemble

emulate.md

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/emulate.md?plain=1#L32

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/examples/lorenz_example.md?plain=1#L225-L228

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/emulate.md?plain=1#L58-L59

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/emulate.md?plain=1#L75-L80

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/emulate.md?plain=1#L81

GaussianProcessEmulator.md

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/GaussianProcessEmulator.md?plain=1#L17-L19

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/GaussianProcessEmulator.md?plain=1#L108-L109

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/emulate.md?plain=1#L58-L59

random_feature_emulator.md

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/random_feature_emulator.md?plain=1#L73

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/random_feature_emulator.md?plain=1#L106

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/random_feature_emulator.md?plain=1#L118

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/random_feature_emulator.md?plain=1#L179-L183

sample.md

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/sample.md?plain=1#L15-L18

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/sample.md?plain=1#L85

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/sample.md?plain=1#L124

https://turinglang.org/AbstractMCMC.jl/dev/api/#Sampling-a-single-chain

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/sample.md?plain=1#L135

API Reference

Typos

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/examples/sinusoid_example.md?plain=1#L23

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/examples/sinusoid_example.md?plain=1#L262

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/examples/sinusoid_example.md?plain=1#L354

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/examples/lorenz_example.md?plain=1#L143

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/emulate.md?plain=1#L69

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/random_feature_emulator.md?plain=1#L97

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/sample.md?plain=1#L7

https://github.com/CliMA/CalibrateEmulateSample.jl/blob/87c069ce531062151a3aa0a5fbc823fbb10292c1/docs/src/sample.md?plain=1#L30

odunbar commented 3 months ago

@nluetts Thank you for your detailed combing, I apologize that you encountered so many typos - these are most certainly on me.

If you don't mind, I have added a check-list to your comments to help me mark them off more easily! I'll open a PR for this to address these soon.

odunbar commented 3 months ago

I hope that PR #296 was able to address most of the issues raised. You may consult the PR comment, code diffs, or the docs linked in the PR comment for quick validation of what I have done Thanks again for the time you placed in going through the many pages. I leave here one or two clarifying comments.

The following are not yet resolved issues - as they involve modifying code that is not just in docs/ and so will be completed in later PRs

odunbar commented 3 months ago

I believe we have addressed everything, Please close the issue if you are satisfied.

nluetts commented 3 months ago

Thanks for clarifying, @odunbar , this looks all good to me, so I close this issue.