Skip to main content

Fault Line Detection in Robotics

Project description

๐Ÿ”ง FLDR โ€” Fault Line Detection in Robotics

Python License CI Black Ruff Pytest Codecov GitHub release GitHub stars GitHub forks DOI


Fault Line Detection in Robotics

Signal Processing โ€ข Fault Detection โ€ข Robotics โ€ข Infrastructure Inspection

FLDR is an open-source Python framework for developing and evaluating fault detection workflows for robotic inspection systems. The project provides modular utilities for signal processing, fault detection, simulation, metrics, and inspection reporting.


Features

  • Modular fault detection framework
  • Signal input/output utilities
  • Detection pipeline
  • Simulation utilities
  • Evaluation metrics
  • Inspection report generation
  • Configuration management
  • Comprehensive unit tests
  • GitHub Actions CI/CD
  • Black formatting
  • Ruff linting
  • Flake8 compatibility
  • Bandit security scanning
  • Apache-2.0 License

Table of Contents

  • Overview
  • Installation
  • Quick Start
  • Repository Structure
  • Development
  • Testing
  • Continuous Integration
  • Roadmap
  • Contributing
  • Citation
  • License

Installation

Clone the repository

git clone https://github.com/ksaad20/FLDR.git
cd FLDR

Install FLDR

pip install -e .

Install development dependencies

pip install -r requirements.txt

Quick Start

import numpy as np

from fldr.io import save_signal, load_signal

signal = np.random.randn(1024)

save_signal(signal, "signal.csv")

loaded = load_signal("signal.csv")

print(loaded.shape)

Repository Structure

FLDR/
โ”‚
โ”œโ”€โ”€ .github/
โ”œโ”€โ”€ docker/
โ”œโ”€โ”€ docs/
โ”œโ”€โ”€ examples/
โ”œโ”€โ”€ fldr/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ config.py
โ”‚   โ”œโ”€โ”€ core.py
โ”‚   โ”œโ”€โ”€ detector.py
โ”‚   โ”œโ”€โ”€ io.py
โ”‚   โ”œโ”€โ”€ metrics.py
โ”‚   โ”œโ”€โ”€ pipeline.py
โ”‚   โ”œโ”€โ”€ report.py
โ”‚   โ”œโ”€โ”€ simulation.py
โ”‚   โ””โ”€โ”€ utils.py
โ”‚
โ”œโ”€โ”€ metrics/
โ”œโ”€โ”€ tests/
โ”‚
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ Makefile
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ cli.py
โ”œโ”€โ”€ mkdocs.yml
โ”œโ”€โ”€ pre-commit-config.yaml
โ”œโ”€โ”€ pyproject.toml
โ””โ”€โ”€ pytest.ini

Development

Format code

black .

Lint

ruff check .
flake8 .

Run tests

pytest

Run coverage

pytest --cov=fldr --cov-report=xml

Continuous Integration

GitHub Actions automatically performs:

  • Black formatting
  • Ruff linting
  • Flake8 checks
  • Pytest
  • Coverage generation
  • Bandit security analysis
  • Safety dependency checks

Roadmap

Future development includes:

  • Additional benchmark datasets
  • Advanced fault localization algorithms
  • Visualization utilities
  • Improved reporting
  • Extended documentation
  • Performance benchmarking

Contributing

Contributions are welcome.

  1. Fork the repository.
  2. Create a feature branch.
  3. Write tests.
  4. Ensure all CI checks pass.
  5. Submit a pull request.

Citation

If FLDR contributes to your research, please cite the repository or a future archived release.


License

This project is licensed under the Apache-2.0 License.

See the LICENSE file for details.


Author

Kazi Saad Asif

Electrical and Electronics Engineer

GitHub: https://github.com/ksaad20

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

faultlinedetectionrobotics-0.0.1.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

faultlinedetectionrobotics-0.0.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file faultlinedetectionrobotics-0.0.1.tar.gz.

File metadata

File hashes

Hashes for faultlinedetectionrobotics-0.0.1.tar.gz
Algorithm Hash digest
SHA256 846cd25d5f20aab4656019e17240dcc7a365e272d4dc0720fa0c3469698c898c
MD5 5b8feedeffba2031e0e0a13f7ab7bdae
BLAKE2b-256 1573122534f453121e84add3e70a6557408d2c931df24972ad5576e6cc2948f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for faultlinedetectionrobotics-0.0.1.tar.gz:

Publisher: publish.yml on ksaad20/FLDR

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faultlinedetectionrobotics-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for faultlinedetectionrobotics-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8df457695db56879f143542ccdd40b6b14f94dcc8cc764626593c0d55dccff2
MD5 d5e8773c502e307f288c0bab29376408
BLAKE2b-256 eb20943aebf740bf538c5724b0700cf0d86f0e97c461f76c27ce5bbd4b97306e

See more details on using hashes here.

Provenance

The following attestation bundles were made for faultlinedetectionrobotics-0.0.1-py3-none-any.whl:

Publisher: publish.yml on ksaad20/FLDR

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page