Monte Carlo example issues
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- jupyter-notebook, python
- Domain
- documentation, testing-qa
Research direction
Start with the Monte Carlo example and the named entry points: MonteCarlo::random_agent(), energy(), accept_change(), and the listed test functions. Read the related issue 86 and inspect the notebook cell containing %%cmd; done means the questions, typo, mock behavior, assertions, and notebook error have an agreed explanation or correction.
Written by the indexing model from the issue text.
Description
-
what do we mean by density?
-
In MonteCarlo::random_agent(), what does enumerate() do?
-
In energy(), what is the coefficient for? It doesn't seem to be Beta, the coefficient mentioned above.
-
In accept_change(), how do we know that we should implement the following line?
return exp(-(successor - prior) / self.temperature) > uniform() -
What does this do?
import sys
sys.path.append('DiffusionExample') -
In def test_move_particle_one_over():
"change" should be "changed" -
In same function, what does multiply.reduce do?
-
In def test_equal_probability():
energy = MagicMock()
But in def test_accept_change():
energy = MagicMock
Do the missing brackets matter? -
In def test_equal_probability():
It looks like changes_at_zero is a list of booleans.
I'm not sure what the next line is doing or how:
assert count_nonzero(changes_at_zero),etc. -
In def test_accept_change():
please explain the final assertion.
NB Maybe some of this code isn't essential to be understood line-by-line??
-
In def test_main_algorithm(): I don't really understand what the Mocks are doing with their side effects
This relates to issue 86 -
Error at end of page - UsageError: Cell magic
%%cmdnot found. - presumably it should be %%bash, although if we're not going to be using notebooks I guess this error doesn't matter
- Dominant language
- Python
- Stars
- 133
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from UCL/rsd-engineeringcourse
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
UCL/rsd-engineeringcourse#233 ·
-
2018-19
Difficulty 1/5 Under an hour Newbie friendliness 65/100
UCL/rsd-engineeringcourse#135 ·
-
"Branches" page Open2018-19
Difficulty 1/5 Under an hour Newbie friendliness 82/100
UCL/rsd-engineeringcourse#74 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
UCL/rsd-engineeringcourse#278 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
UCL/rsd-engineeringcourse#275 ·
All issues in UCL/rsd-engineeringcourse
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100