Skip to content

Miscellaneous simulator improvements #238

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

apasel422
Copy link
Collaborator

No description provided.

@apasel422 apasel422 marked this pull request as ready for review August 8, 2025 16:28
@apasel422 apasel422 requested a review from csharrison August 8, 2025 16:28
(item) => (tc.value * item) / sumCredit,
);

const [rand, k] = tc.needsRand ? [Math.random, 10000] : [noRand, 1];
Copy link
Member

Choose a reason for hiding this comment

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

You are running 10k times, but not generating a mean value to compare against the expected value?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Heh, indeed. That's the TODO above. Still thinking about the proper way to do so.

@apasel422 apasel422 force-pushed the tidy branch 3 times, most recently from 1e5c66b to 9c10cda Compare August 13, 2025 12:13
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