TuringLang / TuringLang/DynamicPPL.jl

rename `LogDensityFunction` to `VarNamedLogDensity`

Open
#880 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Julia
Stars
286
Forks
41
Avg merge
1d 11h
Merged PRs (30d)
34

Description

In a discussion with @penelopeysm, I suggested making LogDensityFunction more user-facing and using the name NamedLogDensity for better clarity.

In the longer term, we could move NamedLogDensity to AbstractMCMC, replacing LogDensityModel.

Contributor guide

Open the contributing guide

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.

Research direction

Locate all references to LogDensityFunction, NamedLogDensity, VarNamedLogDensity, and LogDensityModel, including their relationship to AbstractMCMC. First clarify which target name and whether the longer-term move is in scope; done means the agreed naming is applied consistently without stale references.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend-api-design
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.