Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation #181

Merged
merged 19 commits into from
Feb 20, 2024
Merged

Improve documentation #181

merged 19 commits into from
Feb 20, 2024

Conversation

tiffanymtang
Copy link
Collaborator

@tiffanymtang tiffanymtang commented Feb 6, 2024

This pull request addresses #174. Overview of changes:

  • Home page - Fix example in overview?

Added runnable example usage in readme.

  • Home page - Add figure to concepts

Added diagram of run_experiment() to the "Grammar of a simChef Simulation Experiment" section to aid understanding.

  • Home page - Thinking like a chef?

Restructured "Origins of simChef" section to de-emphasize this content, as it is not critical to understanding how to use simChef. Also added bolding to the "Thinking like a chef" subsection to highlight simChef functionalities that was previously tangled in cooking analogy.

  • Example usage - Showcase real world example

Added reference to real world use case of simChef in Boileau et al. at the end of the toy example usage.

  • Functionality documentation - Add examples

Finished adding examples to all simChef functions.

  • Community guidelines - Add guidelines for third parties to contribute to the software

Added contributing guidelines in CONTRIBUTING.md.

tiffanymtang and others added 6 commits February 1, 2024 15:11
* Add self-contained, executable example usage in readme
* Addresses #174
* Simplify/revise description of simChef concepts and parts of experiment
* Add run experiment figure
* Add concrete examples of DGP/methods/evals/viz using example usage
* Addresses #174
* add link to real world case study in readme
* add links to example html outputs for toy sims from simChef vignettes
* addresses #174
* add examples (#174)
* create wrappers for DGP$generate, Method$fit, Evaluator$evaluate, and Visualizer$visualize methods
* fix bug in add_na_counts
* move text to collapsible blocks
* bold simChef highlights in "thinking like a chef" to address #174
Copy link
Contributor

@jpdunc23 jpdunc23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to need to finish the rest of the review later. In the meantime, please lmk what you think of the DGP docs screenshot.

CONTRIBUTING.md Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
R/dgp.R Outdated Show resolved Hide resolved
@jpdunc23
Copy link
Contributor

jpdunc23 commented Feb 8, 2024

@tiffanymtang when you can, please review the updates I've made. In particular, could you spot check the docs for the create_*() functions and corresponding R6 classes (minus Experiment) for errors?

Still need to document Experiment so if you feel up for it please go ahead and tackle it. Otherwise I'll try to get to it before next week. Lmk and thanks!

Copy link
Collaborator Author

@tiffanymtang tiffanymtang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

tiffanymtang and others added 4 commits February 7, 2024 23:41
* improve visualizer example usage
* change T to TRUE in example usage to avoid R CMD CHECK error
* change varying parameter to varying parameter(s)
Use of `future::plan("multisession", workers=10)` in the Evaluator and
Visualizer docs examples is likely causing issues in the check-r-package
job.
@jpdunc23
Copy link
Contributor

Hey @tiffanymtang , could you please do another spot check of the latest changes? Unless you see any issues I think we can merge this in soon.

@tiffanymtang tiffanymtang merged commit 9983ab3 into main Feb 20, 2024
3 of 6 checks passed
@tiffanymtang tiffanymtang deleted the joss-174-1 branch February 20, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants