Option for users to set the seed

Open
#121 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
r

Research direction

Start in R/copykat.R at the linked lines 30–33 and trace how copyKAT handles its random seed. Confirm where the option is accepted and used, then make completion mean that callers can provide a seed while reproducibility remains possible and different starting conditions can be explored.

Written by the indexing model from the issue text.

Description

I am filing this issue to request an option to set the random seed directly when using copyKAT. I see that the seed is strictly set to 1234 here:
https://github.com/navinlabcode/copykat/blob/d7d6569ae9e30bf774908301af312f626de4cbd5/R/copykat.R#L30-L33

Is it possible for this to be updated such that users can pass in a seed directly to be able to both ensure reproducibility while also being able to explore robustness to starting conditions? Thank you!

Dominant language
R
Stars
305
Forks
66
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from navinlabcode/copykat

All issues in navinlabcode/copykat

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.