Multimodal Test Analysis LLM (From Scratch)
This project implements a Multimodal Large Language Model completely from scratch using PyTorch.
Features
- Custom Neural Network: Uses a CNN for vision and a Transformer for text.
- Smart Analysis: Combines Neural Network predictions with Expert Heuristics for reliable debugging.
- CLI Tool: Easy to integrate into CI/CD pipelines.
Installation
You can install this package locally:
pip install .
Or for development (editable mode):
pip install -e .
Usage
1. Analyze a Failure
After installation, the analyze-failure command is available system-wide:
analyze-failure --error "NoSuchElement: //div[text()='Workforce']" --source "path/to/source.html" --screenshot "path/to/screenshot.png"
2. Train the Model
To improve the neural network's accuracy (requires large dataset):
train-llm
Project Structure
test_failure_llm/: The source code package.model.py: The Neural Network architecture.analyzer.py: Inference logic and CLI entry point.train.py: Training loop.
setup.py: Packaging configuration.
Requirements
- Python 3.8+
- PyTorch
- Torchvision
- Pillow
Metadata
Release files for test-failure-llm 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| test_failure_llm-0.1.7.tar.gz | 12.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| test_failure_llm-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.7 kB
Release files / test_failure_llm-0.1.7.tar.gz
| Download URL | test_failure_llm-0.1.7.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66012ba21906d7599bbc4fd542f195ccdc42f5e02edeed417da17a24828b9818
|
|
BLAKE2b-256 checksum How to use checksums |
8416a400b9cdd83366f477ddf35145de7c4d8a893a07aa3b1b7f9127edbe87ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / test_failure_llm-0.1.7-py3-none-any.whl
| Download URL | test_failure_llm-0.1.7-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b78f9509e479d09ef775d63aefac7f11002b0e5f2c1af62d188c997156f62d5
|
|
BLAKE2b-256 checksum How to use checksums |
8eadc361238888250e3cdc5cd0e24a37c967a66b6ea9146b091d358bcdecefdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|