Go to file
2026-03-13 19:43:25 +01:00
arai-frontend chore(deps-dev): bump rollup from 4.12.1 to 4.23.0 in /arai-frontend 2024-10-02 06:36:27 +00:00
Backend_correct feat: final ? 2024-03-09 23:16:11 +01:00
franek fix: categorize things 2024-03-09 22:38:17 +01:00
simple-ws feat: changed websocket liobrary 2024-03-09 14:05:08 +01:00
statystyki Update 2024-03-09 21:26:01 +01:00
.gitignore chore: add gitignore 2024-03-08 18:45:38 +01:00
example_input.txt feat: final ? 2024-03-09 23:16:11 +01:00
README.md docs: add project README 2026-03-13 19:43:25 +01:00
TWM_KerasIntro.ipynb Created using Colab 2024-04-19 16:33:49 +02:00

ARAI — Legal Mediation Assistant

A web application built in 48 hours at a legal-tech hackathon that helps users resolve disputes through mediation instead of court.

Describe your case in plain language, and the app will:

  1. Categorise the dispute (civil, labour, commercial, etc.)
  2. Estimate the likely court cost and duration based on real court statistics
  3. Score and recommend mediators suited to the case

Tech Stack

Layer Technology
Frontend Angular 17, Angular Material, SCSS
Backend Python, Flask, pandas
AI OpenAI API (case categorisation & mediator scoring)
Real-time WebSocket relay (Node.js)

Project Structure

arai-frontend/    Angular SPA — form wizard, results display, Material UI
Backend_correct/  Flask API  — categorisation, cost estimation, mediator scoring
simple-ws/        Lightweight WebSocket relay server (Node.js)
statystyki/       Court statistics data pipeline (pandas + Excel)
franek/           ML experiments — case scoring prototypes

Quick Start

Backend

cd Backend_correct
pip install flask flask-cors pandas openpyxl openai
python app.py

Frontend

cd arai-frontend
pnpm install
pnpm start          # serves on http://localhost:4200

The frontend proxies API requests to the Flask backend via proxy.conf.json.

Team

Built by 5 contributors during the hackathon:

  • Krzysztof Rudnicki — frontend & integration
  • Franciszek Michalowski — ML & scoring
  • Jakub Jarzembowski — backend
  • Mateusz Szpyruk — data & statistics
    • 1 contributor