stan-dev / stan-dev/stan

Add more tests for higher order autodiff

Open
#2,142 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.8k
Forks
388
Avg merge
2d 17h
Merged PRs (30d)
15

Description

Summary:

Add testing for higher order autodiff. We need to be able to determine where we aren't able to compile models in higher order.

This goes along with stan-dev/math#403.

Description:

We can determine which functions aren't compiling with higher-order autodiff through the language pretty easily. We've included a lot of instantiations of functions through src/test/test-models/good/*.stan functions.

I'm planning on running through them all and testing that forward mode and mixed mode compiles.

Reproducible Steps:

We don't have an easy way of reproducing it.

Current Version:

v2.13.0

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

Start by reviewing the function instantiations under src/test/test-models/good/*.stan and the related stan-dev/math#403 issue. Run through the available models with forward-mode and mixed-mode higher-order autodiff compilation, documenting which functions compile and which do not.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.