jimbou / magpie

Enhancing the Magpie genetic Improvement of software framework with new fitness functons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#mine see if potential averages in the fitness function are worth the overhead

Magpie (Machine Automated General Performance Improvement via Evolution of software)

MAGPIE logo

Magpie: your software, but more efficient!

Introduction

Magpie is a tool for automated software improvement. It implements MAGPIE, using the genetic improvement methodology to traverse the search space of different software variants to find improved software.

Magpie provides support for improvement of both functional (automated bug fixing) and non-functional (e.g., execution time) properties of software.
Two types of language-agnostic source code representations are supported: line-by-line, and XML trees. For the latter we recommend the srcML tool with out-of-the-box support for C/C++/C# and Java.
Finally, Magpie also enables parameter tuning and algorithm configuration, both independently and concurrently of the source code search process.

Requirements

  • Unix (Linux/macOS/etc; untested on Windows)
  • Python 3.8+

Try it now!

git clone https://github.com/bloa/magpie.git
cd magpie
python3 magpie local_search --scenario examples/triangle-c/_magpie/scenario_slow.txt

Documentation

Everything you need to know about Magpie.

Tutorials

How-to guides

Explanations

Reference guides

Acknowledgements

Magpie is based on PyGGI 2.0, developed at COINSE KAIST in collaboration with UCL SOLAR.
Part of its development was supported by UK EPSRC Fellowship EP/P023991/1.

If you use Magpie for a publication, we kindly ask you to cite the following ArXiV paper that describes MAGPIE's approach:

@article{blot:2022:corr_1,
  author    = {Aymeric Blot and
               Justyna Petke},
  title     = {{MAGPIE:} {M}achine Automated General Performance Improvement via Evolution of Software},
  journal   = {Computing Research Repository},
  volume    = {abs/2208.02811},
  url       = {https://arxiv.org/abs/2208.02811},
  year      = {2022},
}

About

Enhancing the Magpie genetic Improvement of software framework with new fitness functons

License:Other


Languages

Language:C++ 46.5%Language:Java 21.3%Language:Python 13.3%Language:Makefile 8.8%Language:C 5.8%Language:CMake 3.4%Language:Shell 0.7%Language:TypeScript 0.1%Language:Lex 0.0%Language:PowerShell 0.0%