{"id":33179768,"url":"https://github.com/improbable-research/keanu","last_synced_at":"2025-12-14T09:49:47.843Z","repository":{"id":31612040,"uuid":"128393918","full_name":"improbable-research/keanu","owner":"improbable-research","description":"A probabilistic approach from an Improbabilistic company","archived":false,"fork":false,"pushed_at":"2024-03-18T18:33:39.000Z","size":15478,"stargazers_count":152,"open_issues_count":10,"forks_count":33,"subscribers_count":16,"default_branch":"develop","last_synced_at":"2025-09-25T04:41:46.075Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/improbable-research.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-06T12:48:36.000Z","updated_at":"2025-08-25T02:03:41.000Z","dependencies_parsed_at":"2022-09-26T17:30:42.633Z","dependency_job_id":null,"html_url":"https://github.com/improbable-research/keanu","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/improbable-research/keanu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/improbable-research%2Fkeanu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/improbable-research%2Fkeanu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/improbable-research%2Fkeanu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/improbable-research%2Fkeanu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/improbable-research","download_url":"https://codeload.github.com/improbable-research/keanu/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/improbable-research%2Fkeanu/sbom","scorecard":{"id":486261,"data":{"date":"2025-08-11","repo":{"name":"github.com/improbable-research/keanu","commit":"99de10a15e0d4b33d323093a5cc2dd10b31c9954"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.8,"checks":[{"name":"Code-Review","score":1,"reason":"Found 1/8 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: ci/docker/ubuntu_16.04/Dockerfile:1: pin your Docker image by updating ubuntu:18.04 to ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98","Warn: pipCommand not pinned by hash: ci/docker/ubuntu_16.04/Dockerfile:34","Warn: pipCommand not pinned by hash: ci/docker/ubuntu_16.04/Dockerfile:35","Warn: pipCommand not pinned by hash: ci/docker/ubuntu_16.04/Dockerfile:36","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"34 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-j6gc-792m-qgm2","Warn: Project is vulnerable to: GHSA-pj73-v5mw-pm9j","Warn: Project is vulnerable to: GHSA-jxhc-q857-3j6g","Warn: Project is vulnerable to: GHSA-48wp-p9qv-4j64","Warn: Project is vulnerable to: GHSA-4qw4-jpp4-8gvp","Warn: Project is vulnerable to: GHSA-636f-xm5j-pj9m","Warn: Project is vulnerable to: GHSA-7vh7-fw88-wj87","Warn: Project is vulnerable to: GHSA-fmx4-26r3-wxpf","Warn: Project is vulnerable to: GHSA-52p9-v744-mwjj","Warn: Project is vulnerable to: GHSA-mqm2-cgpr-p4m6","Warn: Project is vulnerable to: GHSA-286v-pcf5-25rc","Warn: Project is vulnerable to: GHSA-2qc6-mcvw-92cw","Warn: Project is vulnerable to: GHSA-2rr5-8q37-2w7h","Warn: Project is vulnerable to: GHSA-353f-x4gh-cqq8","Warn: Project is vulnerable to: GHSA-59gp-qqm7-cw4j","Warn: Project is vulnerable to: GHSA-5w6v-399v-w3cc","Warn: Project is vulnerable to: GHSA-7rrm-v45f-jp64","Warn: Project is vulnerable to: GHSA-cgx6-hpwq-fhv5","Warn: Project is vulnerable to: GHSA-crjr-9rc5-ghw8","Warn: Project is vulnerable to: GHSA-fq42-c5rg-92c2","Warn: Project is vulnerable to: GHSA-gx8x-g87m-h5q6","Warn: Project is vulnerable to: GHSA-jc36-42cf-vqwj","Warn: Project is vulnerable to: GHSA-jw9f-hh49-cvp9","Warn: Project is vulnerable to: GHSA-mrxw-mxhj-p664","Warn: Project is vulnerable to: GHSA-pxvg-2qj5-37jq","Warn: Project is vulnerable to: GHSA-r95h-9x8f-r3f7","Warn: Project is vulnerable to: GHSA-v4f8-2847-rwm7","Warn: Project is vulnerable to: GHSA-v6gp-9mmm-c6p5","Warn: Project is vulnerable to: GHSA-vr8q-g5c7-m54m","Warn: Project is vulnerable to: GHSA-vvfq-8hwr-qm4m","Warn: Project is vulnerable to: GHSA-xc9x-jj77-9p9j","Warn: Project is vulnerable to: GHSA-xh29-r2w5-wx8m","Warn: Project is vulnerable to: GHSA-xxx9-3xcr-gjj3","Warn: Project is vulnerable to: GHSA-5cm2-9h8c-rvfx"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T17:53:28.483Z","repository_id":31612040,"created_at":"2025-08-19T17:53:28.483Z","updated_at":"2025-08-19T17:53:28.483Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27725323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-11-16T03:00:36.842Z","updated_at":"2025-12-14T09:49:47.837Z","avatar_url":"https://github.com/improbable-research.png","language":"Java","funding_links":[],"categories":["人工智能"],"sub_categories":[],"readme":"```\n    __ __                      \n   / //_/__  ____ _____  __  __\n  / ,\u003c / _ \\/ __ `/ __ \\/ / / /\n / /| /  __/ /_/ / / / / /_/ / \n/_/ |_\\___/\\__,_/_/ /_/\\__,_/  \n```\n\n\n[![Build Status][travis-image]][travis-url]\n[![Quality Gate][sonar-image]][sonar-url]\n[![Maven Central][maven-image]][maven-url]\n[![Javadocs](https://www.javadoc.io/badge/io.improbable/keanu.svg)](https://www.javadoc.io/doc/io.improbable/keanu)\n[![Slack](https://img.shields.io/badge/join%20slack-%23keanu-brightgreen.svg)](https://join.slack.com/t/improbable-eng/shared_invite/enQtMzQ1ODcyMzQ5MjM4LWY5ZWZmNGM2ODc5MmViNmQ3ZTA3ZTY3NzQwOTBlMTkzZmIxZTIxODk0OWU3YjZhNWVlNDU3MDlkZGViZjhkMjc)\n\n## Overview\n\nKeanu is a general purpose probabilistic programming library built in Java and developed by Improbable's research team.\nIt enables you to build Bayesian networks through which you can make\nprobabilistic predictions about large, complex and multifaceted problems.\n\nThis is an early stage, pre-alpha version of Keanu. We have an ambitious team\nattempting to build an even more ambitious product with the help of the open source community.\n\n## Contributing Guidelines\n \nWe have decided to open source Keanu at such an early stage in order to solicit user feedback \nand help guide the product to success.\n\nWhilst we will always welcome contributions, we would value your time more if it \nwere spent applying Keanu to challenging problems and locating its strengths and weaknesses.\n\nPlease create a Github Issue if you encounter any bugs or have a feature request.\n\n* Slack: [#keanu](https://join.slack.com/t/improbable-eng/shared_invite/enQtMzQ1ODcyMzQ5MjM4LWY5ZWZmNGM2ODc5MmViNmQ3ZTA3ZTY3NzQwOTBlMTkzZmIxZTIxODk0OWU3YjZhNWVlNDU3MDlkZGViZjhkMjc)\n* Issue Tracker: [GitHub Issues](https://github.com/improbable-research/keanu/issues)\n\n## Features\n\n* Probabilistic Programming Operators and Distributions\n* Auto-differentiation\n* Inference\n  * Maximum a posteriori\n  * Metropolis Hastings\n  * Hamiltonian Monte Carlo\n  * Sequential Monte Carlo (Particle Filtering)\n* Support for Kotlin\n \n## Getting Started\n\nWant to see an example and run it yourself? Head over to [Getting Started](https://improbable-research.github.io/keanu/docs/getting-started).\n\n## Documentation\n\nWant to learn more? Head over to the [Documentation](https://improbable-research.github.io/keanu/).\nYou can also see our [JavaDocs](https://www.javadoc.io/doc/io.improbable/keanu) or our [Python Docs](https://improbable-research.github.io/keanu/python/latest)\n\n## Future\n\nWhat does the future entail for Keanu? Find out at [Future](https://improbable-research.github.io/keanu/docs/future).\n\n## Examples\n\nInterested in more technical examples? Explore the examples repo at `/keanu-examples`.\n\n## Development\n\n#### Building the code\n\nWe use Gradle, so running `./gradlew build` (or `gradlew.bat build` on Windows) will compile all the code and run all the tests. You can also run the JMH performance benchmarks with `./gradlew runAllBenchmarks`.\n\n#### Annotations\n\nWe use [Lombok](https://projectlombok.org/) annotations, which you will need to enable in your IDE.\n\nFor IntelliJ:\n - Install the [Lombok plugin](https://plugins.jetbrains.com/plugin/6317-lombok-plugin)\n - Settings \u003e Build, Execution, Deployment \u003e Compiler \u003e Annotation Processors - Enable annotation processing\n\n#### Formatting\n\nWe use [Spotless](https://github.com/diffplug/spotless/tree/master/plugin-gradle) and [yapf](https://github.com/google/yapf) to automatically enforce some basic code style checks. If your build fails due to a formatting issue, simply run `./gradlew formatApply` and commit the changes. You need to have run `./gradlew build` or `test` at least once before running `formatApply`, as this installs yapf in your virtual environment.\n\n#### Python Code Generation\n\n[Custom annotations](keanu-project/src/main/java/io/improbable/keanu/annotation) are used for python code generation. It depends on Oracle JDK to build (i.e. does not support open source JDKs). The minimum version requirement is Python 3.6. Simply run `./gradlew codeGen` to generate the code and commit the changes.\n\n\n## Hiring\n\nInterested in working for Improbable on cool problems? Start [here](https://improbable.io/careers/joining-us)\n\n[travis-image]: https://api.travis-ci.org/improbable-research/keanu.svg?branch=develop\n[travis-url]: https://travis-ci.org/improbable-research/keanu\n[maven-image]: https://img.shields.io/maven-central/v/io.improbable/keanu.svg?colorB=brightgreen\n[maven-url]: https://search.maven.org/artifact/io.improbable/keanu/\n[sonar-image]: https://sonarcloud.io/api/project_badges/measure?project=keanu%3Akeanu-project\u0026metric=alert_status\n[sonar-url]: https://sonarcloud.io/dashboard?id=keanu%3Akeanu-project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimprobable-research%2Fkeanu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimprobable-research%2Fkeanu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimprobable-research%2Fkeanu/lists"}