stan-dev / stan-dev/posterior

Feature request: custom pillar formatting for diagnostic columns

Open
#97 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
R
Stars
171
Forks
26
Avg merge
2d 18h
Merged PRs (30d)
3

Description

I believe that the pillar package (used by tibble) permits custom colors, in which case it would be useful to color the contents of the diagnostics columns (rhat, bulk_ess, tail_ess) red if they are below a threshold.

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

The issue mentions pillar/tibble formatting and the rhat, bulk_ess, and tail_ess diagnostic columns; start by checking how posterior currently prints these columns and how pillar supports custom colors. Clarify the threshold and color behavior before implementing, then add coverage for the formatted output.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
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.