CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pymc3

Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Theano

68

0.94x
Quality

Pending

Does it follow best practices?

Impact

68%

0.94x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-10/

{
  "context": "Evaluates how PyMC is used to build a simple coin-bias model and rely on its automatic MCMC step assignment to generate reproducible posterior summaries. Checks focus on correct use of PyMC modeling primitives, sampling defaults, and summary helpers rather than general coding style.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Model setup",
      "description": "Builds the coin model inside a pm.Model using a pm.Beta(2,2) prior on the bias and a pm.Bernoulli or pm.Binomial likelihood that consumes the provided head/tail counts.",
      "max_score": 20
    },
    {
      "name": "Auto sampler",
      "description": "Invokes pm.sample with the draws and tune arguments while leaving step methods unspecified so PyMC performs automatic selection (e.g., NUTS for the continuous bias) instead of manually constructing samplers.",
      "max_score": 25
    },
    {
      "name": "Seed reuse",
      "description": "Passes the random_seed argument through to pm.sample (or an equivalent rng_seeder) so repeated runs with the same seed reproduce posterior statistics and sampler initialization.",
      "max_score": 15
    },
    {
      "name": "Posterior array",
      "description": "Extracts the bias samples from the pm.sample InferenceData (e.g., via idata.posterior) and returns them as a 1D numpy array with at least the requested number of draws after burn-in.",
      "max_score": 20
    },
    {
      "name": "HDI via package",
      "description": "Computes the 94% highest density interval using package tooling such as pm.stats.hdi or arviz.hdi on the PyMC posterior draws and includes it in the returned dictionary.",
      "max_score": 20
    }
  ]
}

tile.json