Pikiwidb is a Redis-Compatible database developed by Qihoo's infrastructure team.
This report presents the forensic synthetic code analysis of OpenAtomFoundation/pikiwidb, a C++ project with 6,121 GitHub stars. SynthScan v2.0 examined 161,112 lines of code across 1297 source files, recording 511 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 3.1 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 511 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | entrypoint.sh | 1 | #!/bin/bash | COMMENT |
| LOW | format_code.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/rdb_to_pika/install_rdb_tools.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/rdb_to_pika/README.md | 1 | # This file is show you how to use this tool | COMMENT |
| LOW | tools/pika_migrate/format_code.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/pika_migrate/include/rsync_server.h | 1 | // Copyright (c) 2023-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_transaction.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_binlog.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/acl.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_server_conn.h | 1 | // Copyright (c) 2019-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_hash.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_client_processor.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_db.h | 1 | // Copyright (c) 2018-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_client_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_admin.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_client_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_server.h | 1 | // Copyright (c) 2019-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_server.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_server.h | 21 | #include "src/cache/include/config.h" | COMMENT |
| LOW | tools/pika_migrate/include/pika_server.h | 41 | #include "include/pika_dispatch_thread.h" | COMMENT |
| LOW | tools/pika_migrate/include/pika_command.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_binlog_reader.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_client_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_version.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_conf.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_consensus.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_client.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_migrate_thread.h | 1 | #ifndef PIKA_MIGRATE_THREAD_H_ | COMMENT |
| LOW | tools/pika_migrate/include/build_version.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_define.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_rm.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_bgworker.h | 1 | // Copyright (c) 2019-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_cache_load_thread.h | 1 | // Copyright (c) 2023-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_monitor_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_cmd_table_manager.h | 1 | // Copyright (c) 2018-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/redis_sender.h | 1 | #ifndef REDIS_SENDER_H_ | COMMENT |
| LOW | tools/pika_migrate/include/pika_cache.h | 1 | // Copyright (c) 2023-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/rsync_client.h | 1 | // Copyright (c) 2023-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/client_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/simple_http_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/redis_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/bg_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/net_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/http_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/net_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/backend_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/pb_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/pb_conn.h | 61 | // a protobuf message that we know, | COMMENT |
| LOW | tools/pika_migrate/src/net/include/thread_pool.h | 1 | // Copyright (c) 2018-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/net_define.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/server_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/build_version.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/net_interfaces.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/net_pubsub.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/redis_cli.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/src/holy_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/src/worker_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/src/net_util.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/src/net_thread_name.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/src/dispatch_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| 391 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | codis/config/proxy.toml | 102 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.4.10.201_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.201_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …s/deploy/root/opt/codis/etc/127.0.0.1_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.200_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.4.10.200_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.202_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.4.10.201_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.201_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …s/deploy/root/opt/codis/etc/127.0.0.1_19001/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …s/deploy/root/opt/codis/etc/127.0.0.1_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.202_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.200_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.4.10.200_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | codis/ansible/roles/codis-proxy/templates/proxy.toml | 90 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | codis/pkg/proxy/config.go | 118 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run_clang_tidy.py | 29 | CODE | |
| LOW | run_clang_tidy.py | 30 | CODE | |
| LOW | tools/codis2pika/test/cases/auth.py | 3 | CODE | |
| LOW | tools/codis2pika/test/cases/example.py | 1 | CODE | |
| LOW | tools/codis2pika/test/cases/auth_acl.py | 3 | CODE | |
| LOW | tools/codis2pika/test/cases/cluster/sync.py | 1 | CODE | |
| LOW | tools/codis2pika/test/cases/types/types_rewrite.py | 4 | CODE | |
| LOW | tools/codis2pika/test/cases/types/types.py | 4 | CODE | |
| LOW | tools/codis2pika/test/utils/__init__.py | 1 | CODE | |
| LOW | tools/codis2pika/test/utils/__init__.py | 2 | CODE | |
| LOW | tools/codis2pika/test/utils/__init__.py | 3 | CODE | |
| LOW | tools/codis2pika/test/utils/__init__.py | 3 | CODE | |
| LOW | codis/example/server.py | 3 | CODE | |
| LOW | codis/example/proxy.py | 3 | CODE | |
| LOW | codis/example/dashboard.py | 3 | CODE | |
| LOW | codis/example/setup.py | 3 | CODE | |
| LOW | codis/example/setup.py | 4 | CODE | |
| LOW | codis/example/setup.py | 5 | CODE | |
| LOW | codis/example/setup.py | 6 | CODE | |
| LOW | codis/example/setup.py | 7 | CODE | |
| LOW | codis/example/sentinel.py | 3 | CODE | |
| LOW | codis/example/fe.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | run_clang_tidy.py | 61 | print('Error: could not find compilation database.') | CODE |
| MEDIUM | run_clang_tidy.py | 380 | print('Error exporting fixes.\n', file=sys.stderr) | CODE |
| MEDIUM | run_clang_tidy.py | 389 | print('Error applying fixes.\n', file=sys.stderr) | CODE |
| LOW | tools/codis2pika/test/cases/auth_acl.py | 10 | except Exception: | CODE |
| LOW | codis/example/utils.py | 16 | except Exception: | CODE |
| LOW | codis/example/utils.py | 23 | except Exception: | CODE |
| MEDIUM | codis/example/utils.py | 20 | def is_running(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run_clang_tidy.py | 56 | def find_compilation_database(path): | CODE |
| LOW | run_clang_tidy.py | 129 | def check_clang_apply_replacements_binary(args): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 11 | def test_single_existing_list(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 38 | def test_blpop_brpop_unblock_lrpush_rpoplpush(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 219 | def test_concurrency_block_unblock(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 358 | def test_multiple_existing_lists(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 402 | def test_blpop_brpop_same_key_multiple_times(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 495 | def test_blpop_brpop_variadic_lpush(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 594 | def test_master_slave_replication(db_): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | entrypoint.sh | 20 | # value of variables, we use '=' by default, you can also use ':'. | COMMENT |
| MEDIUM | entrypoint.sh | 23 | # In addition, you can add services that you want wait for to the WAIT_FOR_SERVICE | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/build_pika_exporter_docker.sh | 6 | # --proxy proxy, proxy has no value, if you want to use proxy, just add --proxy. if you are in China, you may need to u | COMMENT |
| LOW | docker/build_pika_docker.sh | 6 | # --proxy proxy, proxy has no value, if you want to use proxy, just add --proxy. if you are in China, you may need to u | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/ops/client.md | 31 | <body id="tinymce" class="mceContentBody aui-theme-default wiki-content fullsize no-tools-capable" onload="window.parent | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run_clang_tidy.py | 199 | CODE |