Pseudocode Controlflow Project (Working Title)

# What

The Pseudocode Controlflow Project is a research project focused on developing and evaluating methods for handling complex tasks using Large Language Models (LLMs). The project aims to create a system where tasks are broken down into executable instructions, which can be translated into code or managed with LLM calls.

The process is structured in two main stages:

  1. Generation: Task → Instructions: Transforming a general or specific task into a series of subtasks or instructions.
  2. Compilation: Instructions → Execution: Converting these instructions into a form that can be executed, either by generating code for well-defined steps or by using LLMs to handle more ambiguous parts.

For example, a task like "grade this student's paper using a rubric" could be broken down into a sequence of smaller steps, such as checking criteria, scoring, and repeating until all criteria are evaluated.

Why

Project Goals:

Meta Goals:

How

The project will explore different strategies for the two main stages:

  1. Generation (Task → Instructions)

    Example:

    Task: Debug code given a set of errors.

    Output Pseudocode:

    while errors not empty:
        for each error in errors:
            generate solutions for error
            if solution is small:
                implement solution
                run tests
            else:
                test simplified version of solution
                implement if tests pass
    
  2. Compilation (Instructions → Execution)

Who