Skip to content
CAI
Software that uses CAICheck a score

AsyncFlow-Sim/AsyncFlow

69.5

Adequate · 9 November 2026

4.5k

lines of production code

Python

primary language

9

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a Python-based simulation framework designed to model and analyze network conditions, specifically focusing on latency, throughput, and server metrics. It provides a builder API and YAML configuration to define topologies and inject events like network spikes and outages. The project includes comprehensive testing for simulation scenarios and developer tooling to ensure code quality and environment setup.

Features

Added developer setup and quality check scripts

Introduced new shell and PowerShell scripts to streamline the developer workflow. The \dev\_setup\ scripts automate the initial environment configuration, ensuring Python 3.12+, Poetry, and project dependencies are installed, and then execute linting (Ruff), type-checking (MyPy), and tests (pytest). Separate \quality\_check\ scripts provide a quick path to run only linting and type-checking, while \run\_tests\ and \run\_sys\_tests\ scripts offer targeted execution of unit and system tests with appropriate environment variables and coverage reporting.

scripts · high confidence

Added example scenarios and builder API for simulating network spikes and server outages

The AsyncFlow library now includes a Pythonic builder API (the \AsyncFlow\ class) and corresponding YAML configuration files that allow users to define simulation scenarios with injected events, such as network latency spikes and server outages. Example scripts in \examples/builder\_input/\ and \examples/yaml\_input/\ demonstrate how to construct topologies (single server, load-balanced two servers) and run simulations that include these event injections, producing plots of latency, throughput, and server metrics.

examples, src/asyncflow · high confidence

Behavioural changes

Added Windows Zone.Identifier metadata to README images

The project has added Zone.Identifier alternate data streams to the dashboard and server metrics PNG files in the readme\_img directory. These files contain \[ZoneTransfer\] metadata with ZoneId=3, which is a Windows-specific mechanism used to mark downloaded or copied files as potentially unsafe. This change ensures that these images carry the appropriate security warnings when opened on Windows systems.

_readme\img · high confidence

Test coverage

Added integration and system tests for simulation scenarios

Added comprehensive test coverage for the simulation engine, including integration tests for minimal, single-server, and load-balanced topologies, as well as system tests verifying event injection (network spikes, server outages) and load balancing behavior. The suite also includes tests for invalid payload validation and unit tests for the results analyzer.

tests · high confidence

Dependencies

Initial project setup with Python 3.12 and key simulation dependencies

The project is initialized with a \pyproject.toml\ and \poetry.lock\ file, establishing a Python 3.12 environment for the 'asyncflow-sim' package. This adds core dependencies including Pydantic, NumPy, SimPy, Matplotlib, and PyYAML, alongside development tools like Pytest, Mypy, and Ruff. The lockfile also pins specific versions for transitive dependencies such as \annotated-types\, \colorama\, \contourpy\, and \coverage\.

(dependencies) · high 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 65 → 70 (+5.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 98 → 98 (+0.0)
  • Architecture 98 → 98 (+0.0)
  • Maturity 58 → 79 (+20.9)
  • Readiness 54 → 54 (+0.0)
  • Security 84 → 81 (-3.3)

New (1)

  • High CVE: [GHSA redacted] (poetry.lock)

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

Survey your own repository

AsyncFlow-Sim/AsyncFlow 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 9 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 f47bc9392ce95aa9f2698b8decef81b1c5966eb5 — 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.4+preprod-464a0040a931.