RepoTrust

baidu/AnyQ

FAQ-based Question Answering System

https://github.com/baidu/AnyQ · commit d94d450d2aaa · scored 2026-11-13 · scoring prov-4+qual-2+sec-2

RepoTrust ai badge RepoTrust quality badge RepoTrust security badge

Dispute this score or request a re-score Full report JSON

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 0 none-detected 59% 100%
Code quality 40 poor 90% 100%
Security 72 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2018-07 14,454 0%
2018-08 17 0%
2018-09 204 0%
2018-10 12 0%
2018-11 66 0%
2018-12 1 0%
2019-01 1 0%
2019-02 10 0%
2019-04 3 0%
2019-07 24 0%
2019-10 2 0%

AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.

Code quality

Code quality is poor: test-to-source ratio 0.00, no CI test run detected; 0% of function code in complex or long functions; 23% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 100
Duplication 25
Code smells (Opengrep) 46
Tests and CI 0
Documentation 65
Type safety 40
Process (Scorecard review/maintenance) 5

Security

Security posture is adequate: no high-impact findings. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 99
Vulnerable dependencies (OSV) n/a
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard 22

Top findings

Severity Finding Location
medium opengrep/c.lang.security.insecure-use-memset: When handling sensitive information in a buffer, it's important to ensure that the data is securely erased before the buffer is deleted or reused. While memset() is commonly used for this purpose, it can leave sensitive information behind due to compiler optimizations or other factors. To avoi [confidence low] include/retrieval/semantic/annoylib.h:690

Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.

Repository profile

Language Lines
C++ 5,589
Python 5,114
C 3,707
Shell 269

Embed a badge

Maintainers can show these in a README. Badges update when the repository is re-scored.

[![RepoTrust ai](https://repotrust.synapticcyber.com/badge/github.com/baidu/AnyQ/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/baidu/AnyQ/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/baidu/AnyQ/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/baidu/AnyQ/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/baidu/AnyQ/security.svg)](https://repotrust.synapticcyber.com/r/github.com/baidu/AnyQ/)