AI Slop Code Risk Monitor

ahrm/sioyek

SlopCodeMonitor badge for ahrm/sioyek Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Sioyek is a PDF viewer with a focus on textbooks and research papers

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ahrm/sioyek, a C project with 9,975 GitHub stars. SynthScan examined 113,237 lines of code across 131 source files, recording 164 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.6 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
10.0K
Stars
C
Language
113.2K
Lines of Code
131
Files
164
Pattern Hits
2026-10-31
Scan Date
0.02
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 6.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 157 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 2 finding(s).

Agent Over-Engineering Ratio 1.5/100 · LOW

Are wrappers, guards, and repeated structures necessary? 24 finding(s).

PR Review Velocity Impact 7.6/100 · LOW

Which changes need focused human review? 164 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 2MEDIUM 2LOW 160

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 164 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block130 hits · 130 pts
SeverityFileLineSnippetContext
LOWpdf_viewer/fts_fuzzy_match.h1// LICENSECOMMENT
LOWpdf_viewer/fts_fuzzy_match.h21// fuzzy_match(...)COMMENT
LOWpdf_viewer/fts_fuzzy_match.h221#endif // FTS_FUZZY_MATCH_IMPLEMENTATIONCOMMENT
LOWpdf_viewer/utils.h1#pragma onceCOMMENT
LOWpdf_viewer/document_view.h1#pragma onceCOMMENT
LOWpdf_viewer/ui.cpp1#include "ui.h"COMMENT
LOWpdf_viewer/ui.cpp161 // goto_page_button = new QPushButton("Goto Page", this);COMMENT
LOWpdf_viewer/ui.cpp181 // layout->addWidget(open_document_button);COMMENT
LOWpdf_viewer/ui.cpp321 // main_widget->handle_command_types(std::move(command), 0);COMMENT
LOWpdf_viewer/ui.cpp401 // QObject::connect(ruler_mode_bounds_config_button, &QPushButton::pressed, [&](){COMMENT
LOWpdf_viewer/ui.cpp421 main_widget->show_current_widget();COMMENT
LOWpdf_viewer/ui.cpp461 move((parent_width - w) / 2, (parent_height - h) / 2);COMMENT
LOWpdf_viewer/ui.cpp481// });COMMENT
LOWpdf_viewer/ui.cpp701SearchButtons::SearchButtons(MainWidget* parent) : QWidget(parent) {COMMENT
LOWpdf_viewer/ui.cpp801 // QFile source_file("qrc:/pdf_viewer/qml/MyColorPicker.qml");COMMENT
LOWpdf_viewer/ui.cpp1161COMMENT
LOWpdf_viewer/book.h1#pragma onceCOMMENT
LOWpdf_viewer/input.h1#pragma onceCOMMENT
LOWpdf_viewer/utils.cpp1//#include <Windows.h>COMMENT
LOWpdf_viewer/utils.cpp21#include <qurl.h>COMMENT
LOWpdf_viewer/utils.cpp661 // }COMMENT
LOWpdf_viewer/utils.cpp2101 //QString url = "https://github.com/ahrm/sioyek/releases/latest";COMMENT
LOWpdf_viewer/utils.cpp3441// bool was_last_character_space = true;COMMENT
LOWpdf_viewer/utils.cpp3461// }COMMENT
LOWpdf_viewer/main_widget.h1#pragma onceCOMMENT
LOWpdf_viewer/input.cpp1#include <QtCore/qcontainerfwd.h>COMMENT
LOWpdf_viewer/input.cpp1901//public:COMMENT
LOWpdf_viewer/input.cpp6981// while ((index < str.size()) && ch() == ' ') {COMMENT
LOWpdf_viewer/input.cpp7001// if (next_command_name.size()) {COMMENT
LOWpdf_viewer/input.cpp7021// if (next_invocation) {COMMENT
LOWpdf_viewer/input.cpp7041// }COMMENT
LOWpdf_viewer/input.cpp7061// bool is_next_non_whitespace_character_a_single_quote() {COMMENT
LOWpdf_viewer/input.cpp7081// QStringList res;COMMENT
LOWpdf_viewer/input.cpp7101// break;COMMENT
LOWpdf_viewer/input.cpp7121// }COMMENT
LOWpdf_viewer/ui.h1#pragma onceCOMMENT
LOWpdf_viewer/ui.h21#include <qinputmethod.h>COMMENT
LOWpdf_viewer/ui.h41#include <qcheckbox.h>COMMENT
LOWpdf_viewer/ui.h761 // QPushButton* fullscreen_button;COMMENT
LOWpdf_viewer/ui.h781COMMENT
LOWpdf_viewer/config.h1#pragma onceCOMMENT
LOWpdf_viewer/pdf_renderer.h1#pragma onceCOMMENT
LOWpdf_viewer/shell.c41#if defined(_MSC_VER)COMMENT
LOWpdf_viewer/shell.c61*/COMMENT
LOWpdf_viewer/shell.c81#include "sqlite3.h"COMMENT
LOWpdf_viewer/shell.c101# if defined(__MINGW32__)COMMENT
LOWpdf_viewer/shell.c121COMMENT
LOWpdf_viewer/shell.c141# define shell_read_history(X)COMMENT
LOWpdf_viewer/shell.c161# endifCOMMENT
LOWpdf_viewer/shell.c1401 0x0000000080008009ULL, 0x000000008000000aULL,COMMENT
LOWpdf_viewer/shell.c1421# define a22 (p->u.s[12])COMMENT
LOWpdf_viewer/shell.c2121# include <sys/time.h>COMMENT
LOWpdf_viewer/shell.c3101 int ePhase; /* Current phase */COMMENT
LOWpdf_viewer/shell.c4261COMMENT
LOWpdf_viewer/shell.c9641COMMENT
LOWpdf_viewer/shell.c9681#define ShellClearFlag(P,X) ((P)->shellFlgs&=(~(X)))COMMENT
LOWpdf_viewer/database.cpp1#include "database.h"COMMENT
LOWpdf_viewer/database.cpp441// return std::stoi(inp);COMMENT
LOWpdf_viewer/database.cpp461// return *inp;COMMENT
LOWpdf_viewer/database.cpp661}COMMENT
70 more matches not shown…
Hyper-Verbose Identifiers19 hits · 20 pts
SeverityFileLineSnippetContext
LOWscripts/paper_downloader.py61def is_file_a_paper_with_name(file_name, paper_name):CODE
LOWscripts/paper_downloader.py157def get_paper_file_name_with_doi_and_name(doi, paper_name):CODE
LOWscripts/sioyek.py122 def goto_page_with_page_number(self, text, focus=False):CODE
LOWscripts/sioyek.py290 def open_document_embedded_from_current_path(self, focus=False):CODE
LOWscripts/sioyek.py422 def toggle_horizontal_scroll_lock(self, focus=False):CODE
LOWscripts/sioyek.py434 def execute_predefined_command(self, symbol, focus=False):CODE
LOWscripts/sioyek.py450 def set_select_highlight_type(self, symbol, focus=False):CODE
LOWscripts/sioyek.py458 def toggle_window_configuration(self, focus=False):CODE
LOW⚡scripts/sioyek.py534 def goto_next_highlight_of_type(self, focus=False):CODE
LOW⚡scripts/sioyek.py538 def goto_prev_highlight_of_type(self, focus=False):CODE
LOW⚡scripts/sioyek.py542 def add_highlight_with_current_type(self, focus=False):CODE
LOWscripts/sioyek.py758 def get_non_embedded_highlights(self):CODE
LOWscripts/sioyek.py775 def get_non_embedded_bookmarks(self):CODE
LOWscripts/sioyek.py867 def get_text_selection_begin_and_end(self, page_number, text, num_errors=0):CODE
LOWscripts/sioyek.py890 def highlight_page_text_fault_tolerant(self, page_number, text, focus=False):CODE
LOWscripts/tools/extract_command_docs.py47def get_undocumented_commands(documented_command_names, all_command_names):CODE
LOWscripts/tts/manager_server.py70def convert_text_to_appropriate_format_for_tts(text):CODE
LOWscripts/tts/manager_server.py151 def create_files_or_wait_for_background(self, path, page_number, fast):CODE
LOWscripts/tts/manager_server.py263 def better_audio_is_available(self):CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHscripts/paper_downloader.py49except ValueError as e:CODE
HIGHscripts/tts/manager_server.py298except Exception as e:CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMbuild_mac.sh42# Define the path to the Info.plist file inside the app bundleCOMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpdf_viewer/synctex/synctex_parser_utils.c320 dest = NULL;/* Don't forget to reinitialize. */CODE
MEDIUMdata/config_docs.json1{"background_color": "<div class=\"document\" id=\"background-color\">\n<h1 class=\"title\"><code>background_color</codeCODE
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWpdf_viewer/synctex/synctex_parser.c4161/* The purpose of this function is to read a string.COMMENT
LOWfzf/fzf.c1213 // If we have an inverse term we need to check if we have a match, butCOMMENT
Excessive Try-Catch Wrapping3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/paper_downloader.py138 except Exception as e:CODE
LOWscripts/paper_downloader.py184 except Exception as e:CODE
LOWscripts/tts/manager_server.py298 except Exception as e:CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/paper_downloader.py124CODE
LOWscripts/tts/manager_server.py53CODE
LOWscripts/tts/manager_server.py287CODE
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/tools/extract_command_docs.py4CODE
LOWscripts/tts/manager_server.py35CODE