adobe / adobe/Chronikis

Improve lifting of "data" expressions

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
24
Forks
3
PR merge metrics
No merged PRs in 30d

Description

There are instances where Chronikis-generated Stan code has subexpressions being computed in the model section that could be computed in the transformed data section. This should be fixed so that they are computed once only, in transformed data.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named in the issue. Trace the compiler pass that lifts data expressions into generated Stan code, then inspect representative generated models to verify that eligible subexpressions are emitted once in transformed data rather than recomputed in model.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.