Skip to content

Fix name pulling in loo_compare - #611

Open
DominiqueMakowski wants to merge 1 commit into
mainfrom
fixloonames
Open

Fix name pulling in loo_compare#611
DominiqueMakowski wants to merge 1 commit into
mainfrom
fixloonames

Conversation

@DominiqueMakowski

Copy link
Copy Markdown
Member

Copilot AI lite review requested due to automatic review settings August 15, 2026 19:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the report package’s report.compare.loo() method to correctly derive model names from loo_compare outputs when model names are provided in a model column (instead of relying solely on row names), improving the correctness of reported “best model” labeling.

Changes:

  • Update model-name extraction to prefer a model column when present, falling back to rownames().
  • Preserve existing reporting logic for ELPD/IC/ENP output while fixing name sourcing.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread R/report.compare.loo.R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants