Saif / Selected work
AI / DEVELOPER TOOLS

CortexAI.

AI-powered software testing

Engineering better feedback loops.A closer look at the work behind the product.
Status
Under development (final year project)
Role
Project lead
Stack
Next.js · TypeScript · Node.js · QwenCoder 2.5b (fine-tuned) · LemonSqueezy
01 / PROBLEM

Problem

Writing and maintaining test cases by hand takes time, especially as an application changes. Developers need a way to generate tests from their code and review failures in one place.

02 / SOLUTION

Solution

An AI software testing framework designed to:

  • Use a fine-tuned model to generate test cases for your app
  • Run those test cases against your app to find bugs and issues
  • Provide a dashboard to view test results and logs
03 / HOW IT WORKS

How it works

The intended workflow is:

  1. Create a project with a repository URL, language, and framework.
  2. Start an analysis from the project details page.
  3. Use the fine-tuned model to generate test cases from the repository's code.
  4. Run the generated tests against the application.
  5. Review test results, logs, and analysis sessions in the dashboard.

The current interface includes project creation, an analysis entry point, project configuration summaries, an overview dashboard, and account settings. The project remains under development; the screenshots show the interface rather than verified test-generation results or measured time savings.

04 / ENGINEERING CHALLENGES

Engineering challenges

The core challenges are generating tests that match each project's language and framework, checking that generated tests are useful and runnable, and executing them safely while capturing failures and logs. These are development priorities rather than completed outcomes.

05 / ARCHITECTURE

Architecture

This diagram describes the intended architecture based on the project stack and testing workflow. This repository contains case-study documentation and screenshots, so deployment details and service boundaries are not verified here.

Architecture diagram source
flowchart LR
    Developer["Developer"] --> Web["Next.js + TypeScript dashboard"]
    subgraph CortexAI["CortexAI testing workflow"]
        Web --> Backend["Node.js backend"]
        Backend --> Analysis["Repository analysis"]
        Analysis --> Model["Fine-tuned QwenCoder 2.5b"]
        Model --> Tests["Generated test cases"]
        Tests --> Runner["Test execution against application"]
        Runner --> Results["Results and logs"]
        Results --> Web
    end
    Repo["Application repository"] --> Analysis
    Web -.-> Billing["LemonSqueezy billing"]
06 / PRODUCT WALKTHROUGH

Screenshots