Skip to content
CAI
Software that uses CAICheck a score

pcchou/srg

36.1

Weak · 8 November 2026

704

lines of production code

JavaScript

with Python, PHP, Java, VB.NET

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a multi-language toolkit for generating fake Speedtest.net result images and links. It provides implementations in VB.NET, Bash, Java, Node.js, PHP, and Python, each offering 'normal' and 'smart' modes to simulate network conditions. The core functionality allows users to input download, upload, and ping values to produce a visual result via the Speedtest.net API.

Features

Add SpeedTest result generator web interface

The web application now includes a new SpeedTest result generator. Users can input download/upload speeds and ping values, select between simulation and normal modes, and generate a speed test image via a PHP backend. The interface uses Bootstrap 3.2.0 from CDN and jQuery 2.1.1, with the custom srg.js script handling the form submission and result display.

web · high confidence

Add Speedtest API integration module

A new module, srg.js, has been added to the Node.js environment, providing a \getResult\ function that interfaces with the Speedtest.net API. This module allows users to perform network tests by specifying download, upload, and ping parameters, with built-in randomization and range-fixing logic to ensure valid request values.

nodejs · high confidence

Added 'smart mode' to the bash speedtest script

The bash script \bash/srg.sh\ was added, introducing a 'smart mode' that dynamically calculates download, upload, and ping parameters using random number generation, as opposed to the 'normal' mode which uses them directly. This new mode adjusts the network parameters based on a random factor to simulate different network conditions.

bash · high confidence

Added PHP backend scripts for speedtest.net API integration

The PHP directory now includes \func.php\ and \srg.php\, which implement the core logic for interacting with the speedtest.net API. \srg.php\ serves as the main entry point, handling requests for both standard and 'smart' modes, where the latter applies randomization to download, upload, and ping values. \func.php\ contains helper functions, including \getSpeedtestImageURL\ and \getSpeedtestImageURLS\, which construct the API requests and return the resulting image URLs.

php · high confidence

Added Python scripts for Speedtest.net API interaction

Two new Python scripts, srg.py and srg\_stepbystep.py, were added to the python directory. srg.py provides a command-line interface for both 'normal' and 'smart' modes, with compatibility for both Python 2 and Python 3. srg\_stepbystep.py offers an interactive, step-by-step interface for the same functionality, supporting both kbps and mbps units, and is designed for Python 3. Both scripts interact with the Speedtest.net API to generate test results.

python · high confidence

Added a Bukkit plugin to generate fake speed test results

A new Java-based Bukkit plugin named 'Srg' has been added, allowing server administrators to simulate speed test results via the '/srg' command. The plugin accepts download speed, upload speed, and ping as arguments, then calls an internal API to generate a fake result ID from speedtest.net. The implementation includes build scripts (Ant), Eclipse project configuration, and the core Java classes for command handling and API interaction.

java · high confidence

Initial release of the Speedtest Result Generator Windows Forms application

The application now includes a complete Windows Forms interface (Form1) featuring controls for selecting a server, entering ping, download, and upload speed values, and a 'SmartMode' checkbox. The main form's designer file (Form1.Designer.vb) and code-behind (Form1.vb) define the UI layout and the logic to generate a speedtest result link and image by posting data to speedtest.net. This change adds the core UI and backend logic for the tool.

VB.net · high confidence

Dependencies

Added VB.NET project file for speedtest-result-generator

A new MSBuild project file (speedtest-result-generator.vbproj) was added to the repository, defining a Windows Forms application targeting .NET Framework v2.0. This establishes the build configuration and file structure for the speedtest-result-generator component.

(dependencies) · medium confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 36 → 36 (+0.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 94 → 94 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 38 → 38 (+0.0)
  • Readiness 12 → 12 (+0.0)
  • Security 82 → 82 (+0.0)

Findings

  • No change — the same findings as the prior survey.

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

pcchou/srg was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 8 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 69b02e844beb9e7059a3c289de467783b2cecbdd — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-45ab2cab63de.