Skip to content

Latest commit

 

History

History

interface

RealHumanEval Interface

This is a local version of RealHumanEval, however, by replacing the API calls to be non-local in app/functions/cloud_functions_helper.js and task loading in app/functions/task_logic.js and app/page.tsx you can host this with Firebase as we did for the actual user study.

The repo is organized as follows:

Installation

This is a Next.js project bootstrapped with create-next-app.

Follow the instructions below to install the necessary dependencies.

npm install next react react-dom
npm install axios
npm install openai

You need to your API keys to app/components/settings.tsx file. For now this is well tested with OpenAI API and OneCompiler API.

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

This is what you will see:

image

image