Skip to main content

AutoCode: Automated Code Improvement by Metrics Optimization

Project description

DOI

autocode

Auto Code Improvement by Technical Metrics Optimization.

Description

Autocode selects the best values for optimized metrics. The value types could be bool, int, float, and choice (including but not limited to code). This project utilizes a Large Language Model and Mixed-Variable Many-Objective Optimization. Based on our research/literature review, this project hypothetically can contribute to the economic performance of companies.

Features

  • Many-software Value-level Mixed-variable Many-objective Optimization.
  • Value types include bool, int, float, and choice (code).
  • Code scoring and variation generators using LLM.
  • Software cross-language support.
  • Easy software deployment using docker-compose.
  • Scalable to infinite cores to speed up processing in parallel.

How to Use

  1. Install the requirements
pip install -r ./example/requirements.txt
  1. Prepare software to be processed as in the ./example/client folder.
  2. Prepare deployment as in the ./example/client-compose.yml file.
  3. Prepare controller as in the ./example/controller.ipynb file.
  4. Run the process in controller.
  5. Open dashboard in http://localhost:{dashboard_port}/ to see the process in real-time.
  6. Wait until the process is finished.
  7. Analyze and decide the best values.

Demo

Compatibility

  • Python 3.10
  • Linux

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

autocode_py-0.0.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

autocode_py-0.0.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autocode_py-0.0.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for autocode_py-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a5d328427f2092a93dbe444b7b21cb3cba3da65b68d4a5b6290832819e3a4643
MD5 16f267e9d17fd2409a6a79db6e1dd485
BLAKE2b-256 a40517e796c276349a0620f72aa759738993f5c8aa6cfd9c30c0cdc2f7f2f593

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autocode_py-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for autocode_py-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c380696e2c084273182dcd385a5be3fc0d44aaf1891eb387d3d3d97dc8af664
MD5 188c25b338882384fe4d5da5ad223b82
BLAKE2b-256 4dbf93081fa6cb625deeba94be82cf6bc18e61cc42b2e1371497407aba0b4254

See more details on using hashes here.

Supported by

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