Pyjags

B 83 completed
Library
containerized / python · small
56
Files
17,928
LOC
1
Frameworks
8
Languages

Pipeline State

completed
Run ID
#360465
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
61.00
Framework unique
Isolation
Last stage change
2026-05-10 03:35:31
Deduplication group #48546
Member of a group with 14 similar repo(s) — canonical #85146 view group →
Top concepts (2)
Project DescriptionTesting
Repobility (the analyzer behind this table) · https://repobility.com

AI Prompt

Create a Python library interface to JAGS for performing Bayesian inference using MCMC. The library should offer features like multicore support for parallel simulation, built-in ArviZ integration for diagnostics and visualization, and support for incremental sampling with automatic convergence detection using ESS and R-hat criteria. It should also handle saving and restoring MCMC sample chains to/from HDF5 files, and include functionality to merge samples across iterations or chains for resumed sampling. The project should be set up to work with Python 3.12+.
python bayesian mcmc jags statistics arviz inference scientific-computing
Generated by gemma4:latest

Catalog Information

A Python library that provides a seamless interface to JAGS for performing Bayesian inference using MCMC.

Description

This library offers a Pythonic API to the JAGS engine, enabling users to define Bayesian models and run Markov Chain Monte Carlo simulations directly from Python code. It accepts model specifications in JAGS syntax and translates data structures into the format required by the underlying engine, leveraging NumPy for efficient array handling. Results are returned as NumPy arrays, making them immediately usable for downstream analysis or visualization. The library also supports optional caching of intermediate results in Redis to accelerate repeated runs on large datasets. Designed for researchers and data scientists, it simplifies the workflow of Bayesian modeling without requiring deep knowledge of JAGS internals.

الوصف

توفر هذه المكتبة واجهة برمجية بيثونية إلى محرك JAGS، مما يمكّن المستخدمين من تعريف النماذج الاحتمالية وتشغيل محاكاة ماركوف مونت كارلو مباشرةً من كود بايثون. تستقبل المكتبة مواصفات النموذج بصيغة JAGS وتحوّل هياكل البيانات إلى التنسيق المطلوب من المحرك، مستفيدةً من مكتبة NumPy للتعامل الفعال مع المصفوفات. تُرجع النتائج كمصفوفات NumPy، ما يجعلها قابلة للاستخدام الفوري في التحليل أو التصوير اللاحق. تدعم المكتبة أيضاً تخزين النتائج الوسيطة في Redis لتسريع عمليات التشغيل المتكررة على مجموعات بيانات كبيرة. صممت للمحللين والباحثين، وتبسط سير عمل النمذجة الاحتمالية دون الحاجة إلى معرفة عميقة بتفاصيل JAGS.

Novelty

6/10

Tags

bayesian-inference mcmc-sampling statistical-modeling probabilistic-programming data-analysis simulation model-fitting research

Technologies

numpy

Claude Models

claude-opus-4.6

Quality Score

B
83.2/100
Structure
92
Code Quality
75
Documentation
83
Testing
85
Practices
73
Security
100
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (118% test-to-source ratio)
  • Code linting configured (ruff (possible))
  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected
  • Containerized deployment (Docker)
  • Properly licensed project

Weaknesses

  • 195 duplicate lines detected \u2014 consider DRY refactoring

Security & Health

4.6h
Tech Debt (A)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (1)
Generated by Repobility's multi-pass static-analysis pipeline (https://repobility.com)
GPL-2.0
License
6.8%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
69.1%
markdown
8.9%
cpp
8.7%
text
4.7%
yaml
4.2%
toml
2.2%
restructuredtext
1.5%
shell
0.7%

Frameworks

pytest

Concepts (2)

Repobility · code-quality scanner for AI-generated software · https://repobility.com
CategoryNameDescriptionConfidence
About: code-quality intelligence by Repobility · https://repobility.com
auto_descriptionProject DescriptionPyJAGS provides a Python interface to JAGS, a program for analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) simulation.80%
auto_categoryTestingtesting70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/84614.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV