Represent distributions in MIR, refactor backend
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 160
- Forks
- 59
- Avg merge
- 21h 45m
- Merged PRs (30d)
- 26
Description
The backend is getting pretty complicated and in many places we're still relying on function name string suffices to determine things like which arguments need to be passed to which, and the logic is getting kinda crazy. I'd like to see some separate variants made that line up more closely with the platonic ideal of distributions (with their various grouped functions like _rng, _lpdf, _ccdf, etc).
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.
Research direction
Start by locating the backend code that represents distributions in MIR and the logic that uses function-name suffixes such as _rng, _lpdf, and _ccdf. Define the separate distribution variants and update the affected backend paths so argument selection no longer depends on suffix-based logic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- backend, compilers
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100