Skip to main content

Bug localization by reinforcement learning

Project description

Triangulate

Triangulate is a research project to improve bug localization by using reinforcement learning.

Unittests PyPI version

This is not an officially supported Google product.

Installation

Run the following command to install Triangulate.

pip3 install -e .

Usage

Triangulate is designed to wrap a standard Python script invocation (a "subject" program), similar to pdb:

python3 -m triangulate.main [flags...] subject -- [subject_args...]

Under the hood, Triangulate runs subject [subject_args...]. If an exception is raised, Triangulate uses information from the exception to begin bug localization.

Examples

python3 -m triangulate.main --max_steps 5 -- triangulate/testdata/quoter.py -- --index 1

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

triangulate-0.1.0.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

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

triangulate-0.1.0-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file triangulate-0.1.0.tar.gz.

File metadata

  • Download URL: triangulate-0.1.0.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for triangulate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7f1e577fa302bf70f5349dc70803d0712dfb30b2916908a350c4c8c620d71c62
MD5 3802c02e5cd11539678446f5a1527bda
BLAKE2b-256 809aecb2e8945ee33cd98a0f0a2aaf739e49ef2a95b222bd472e0a3ccadde42f

See more details on using hashes here.

File details

Details for the file triangulate-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: triangulate-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for triangulate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c94916e31604b09ac9b297e3064fbda78f796341c28f0bd6c847aa02db050fae
MD5 de76d95c9ea3a08d0e021b06533fd875
BLAKE2b-256 812f9861586b5216333311fd2443d7408df23ae6f1e000e0f532bc27729dbe06

See more details on using hashes here.

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