GithubHelp home page GithubHelp logo

s2-group / upisas Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 4.0 91 KB

Unified Python interface for self-adaptive systems exemplars.

License: Apache License 2.0

JavaScript 9.43% Python 89.83% Dockerfile 0.74%

upisas's Introduction

UPISAS

Unified Python interface for self-adaptive system exemplars.

Prerequisites

Tested with Python 3.9.12

Installation

In a terminal, navigate to the parent folder of the project and issue:

pip install -r requirements.txt

Run unit tests

In a terminal, navigate to the parent folder of the project and issue:

python -m UPISAS.tests.upisas.test_exemplar
python -m UPISAS.tests.upisas.test_strategy
python -m UPISAS.tests.swim.test_swim_interface

Run

In a terminal, navigate to the parent folder of the project and issue:

python run.py

upisas's People

Contributors

iliasger avatar egalberts avatar aekalix avatar

Stargazers

Niranjan Anandkumar avatar Qi-Mo Lin avatar Priyeta Saha avatar Jason Christofilakis avatar  avatar Scarlett avatar

Watchers

 avatar Patricia Lago avatar

upisas's Issues

The docker interface is too exposed

As it stands you can fairly easily inject malicious code into the Exemplar object. We should protect this by for example making a handle to the singular container in the Exemplar constructor instead of public attributes and methods.

Python Documentation

Right now I've added some docstrings. Using pydoc you can generate a webpage for the package. However, we should probably have this be online or something hosted by this git repo, updated automatically

Testing/Regression Tests

Right now adding functionality needs to verified ourselves afterwards. We should establish basic functionality with (unit) tests and run this after adding stuff.

Stop container on exit

Right now if the process ends for any reason the docker container still exists and is still running. It should be stopped and deleted, even if you ctrl+c or crash.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.