Git Product home page Git Product logo

ev-software-test-scenarios-llm's Introduction

TOK 2024 - Electrical Vehicles and Intelligent Energy Management Systems

Bu proje, elektrikli araçlar ve akıllı enerji yönetim sistemleri için test senaryoları oluşturmak ve değerlendirmek amacıyla iki farklı modelin kullanılmasını içermektedir: CodeGemma ve CodeLLaMa. Projede kullanılan yöntemler ve süreçler aşağıdaki görselde detaylandırılmıştır.

Proje Yapısı

Proje Yapısı

  1. CodeGemma:

    • Verilen kaynak kodu temel alarak tüm potansiyel ve yararlı test senaryolarını Brute Force Tekniği ile belirler ve listeler.
    • Brute Force Tekniği kullanılarak oluşturulan test senaryolarını üretir.
    • Test senaryolarının maksimum sayıya ulaşıp ulaşmadığını ve dilsel anlamlılığı değerlendirir.
    • Gerekirse gerekli test senaryolarını oluşturur.
  2. CodeLLaMa:

    • Verilen kaynak kodu temel alarak tüm potansiyel ve yararlı test senaryolarını Brute Force Tekniği ile belirler ve listeler.
    • Brute Force Tekniği kullanılarak oluşturulan test senaryolarını üretir.
    • Test senaryolarının maksimum sayıya ulaşıp ulaşmadığını ve dilsel anlamlılığı değerlendirir.
    • Gerekirse gerekli test senaryolarını oluşturur.
  3. Değerlendirme Süreci - GPT-4o ve LLaMa3:

    • CodeGemma ve CodeLLaMa tarafından oluşturulan test senaryoları karşılıklı olarak değerlendirilir.
    • GPT-4o ve LLaMa3 modelleri, test senaryolarının sayısı ve dilsel anlamlılığı üzerinden değerlendirir ve 100 üzerinden bir puan verir.

Dosya Yapısı

  • tok_llm.py: Projenin ana kod dosyası.
  • array_to_solution.py: Proje için testlerin gerçekleştirildiği dosya.
  • images/tok2024_structure.jpg: Projenin yapısını gösteren görsel.

Kurulum ve Çalıştırma

  1. Projeyi klonlayın:
    git clone https://github.com/ESOGU-SRLAB/EV-Software-Test-Scenarios-LLM.git
    cd tok2024
  2. Gereklilikleri yükleyin:
    pip install -r requirements.txt
  3. Projeyi çalıştırın:
    python tok_llm.py

ev-software-test-scenarios-llm's People

Contributors

cembglm avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

cembglm

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.