This project provides a web-based application for validating experimental designs. It includes a frontend developed with React and a backend developed with Flask, which integrates with OpenAI's API to assess experimental parameters. The application helps researchers validate their experimental designs by inputting key parameters and receiving feedback on their setup.
- A user-friendly React application for inputting experimental parameters.
- Provides a clean and intuitive form for hypothesis, sample size, variables, and API key.
- Displays results of the validation process.
- A Flask API that communicates with OpenAI's API to validate experimental designs.
- Handles requests to validate parameters and return feedback.
- Frontend: React, MUI (Material-UI)
- Backend: Flask, OpenAI API
- Clone the Backend Repository
git clone https://github.com/carmmmm/experimentValidation_backend.git
- Navigate to the Backend Directory
cd experimental-validation-backend
- Install Dependencies
pip install -r requirements.txt
- Run the Backend Application
python app.py
This will start the Flask server. The API will be accessible at http://127.0.0.1:5000.
- Clone the Frontend Repository
git clone https://github.com/carmmmm/experimentalValidator_frontend.git
- Navigate to the Frontend Directory
cd experimentValidator_frontend
- Install Dependencies
npm install
- Run the Frontend Application
npm start
This will start the React development server. The application will be accessible at http://localhost:3000.
-
Open Your Web Browser
-
Navigate to http://localhost:3000 to access the frontend application.
-
On the home page, click the "Access the Assessment Tool" button to navigate to the experiment form.

-
Fill out the form with the following parameters:
- Hypothesis: Describe your hypothesis for the experiment.
- Sample Size: Provide the sample size for the experiment.
- Variables: List the variables involved in the experiment.
- OpenAI API Key: Enter your OpenAI API key to use the backend validation service.
- Submit the Form
- Review the feedback displayed on the page to assess the validity of your experimental design.

Form Input:
- Hypothesis: "Increasing temperature will increase reaction rate."
- Sample Size: "50"
- Variables: "Temperature, Reaction Rate"
- OpenAI API Key: "YOUR_OPENAI_API_KEY"
- Ensure both the frontend and backend servers are running.
- Check the browser console and terminal for any errors.
- Verify that the OpenAI API key is correct and has sufficient quota.