BUGS

1 program Added 2026-02-10T12:09:47Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: WinBUGS, OpenBUGS, JAGS
Provenance: commit 5b486d4956 · authored 2026-02-10T13:10:28+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

WinBUGS (0.64)JASS (0.12)OpenABL (0.12)OpenACC (0.12)OpenLisp (0.11)

LLM-contributed programs

Rats Hierarchical Model

Provenance: commit 5b486d4956 · authored 2026-02-10T13:10:28+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.bug · added: 2026-02-10T12:09:47Z
# Rats example: A normal hierarchical model
model {
   for (i in 1:N) {
      for (j in 1:T) {
         Y[i,j] ~ dnorm(mu[i], tau.c)
      }
      mu[i] ~ dnorm(mu.overall, tau.mu)
   }

   mu.overall ~ dnorm(0.0, 1.0E-6)
   tau.c ~ dgamma(0.001, 0.001)
   tau.mu ~ dgamma(0.001, 0.001)

   sigma.c <- 1 / sqrt(tau.c)
   sigma.mu <- 1 / sqrt(tau.mu)
}

Contribute — propose a file extension

Tell us where to find evidence about BUGS (mapped to pl/bugs). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/BUGS/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Bugmaker BugSophia →