Skip to content

vondermanzen/cloud-llm-benchmarking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM Coding Capability Assessment Framework

This repository contains a structured framework for evaluating Large Language Models' (LLMs) coding capabilities through a series of carefully designed programming challenges.

Research Methodology

Test Structure

Each test in this framework follows a consistent structure:

  • A prompt.txt file in the PROMPTS/ directory containing the problem specification
  • An evaluation script EVALUATION/{problem_name}.py implementing test cases and verification
  • Solution files generated by LLMs being evaluated in problem-specific directories

Data Collection Process

  1. Problem Assignment

    • Contributors provide the content of prompt.txt to their assigned LLM/code assistant
    • The problem specifications are designed to test specific algorithmic and implementation capabilities
    • Each prompt includes clear input/output formats and constraints
  2. Solution Generation

    • The LLM generates a solution based on the prompt
    • If the LLM attempts to create an application or provides a non-extractable solution, contributors may refine the prompt to ensure a clear, testable output
    • The core challenge and expected output format must remain unchanged during any prompt refinement
  3. Solution Extraction

    • Contributors extract the LLM's solution into a Python file
    • The solution must be taken as-is from the LLM's output
    • No modifications or optimizations are allowed to the LLM's code
    • If the LLM provides multiple solutions, only the final/complete version should be used
  4. Verification

    • Solutions are tested using the corresponding EVALUATION/{problem_name}.py script
    • Test cases cover various edge cases and performance requirements
    • Results are automatically scored and documented

Usage for Contributors

  1. Clone this repository
  2. Select a test problem directory
  3. Provide the contents of prompt.txt to your assigned LLM/code assistant
  4. Extract the LLM's solution into a new Python file in the same directory with the assistant's name

Conduct the generation in an isolated environment to prevent LLMs from accessing each other's solutions

Usage

run generate_plot.py --skip-benchmark

Plot

Plot

Plot

Plot

run generate_feature_plot.py

Plot

run google_trends_plot.py

Plot

run generate_feature_weights_plot.py

Plot

About

Benchmarking cloud-based models and AI coding assistants

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages