How powerpetch/aba-mining-tasks-llms-group-kmitl-internship-2026 works
This repository combines ABA mining experiments with two related web-app implementations. The mining workflow is organized around three task modules and LLM-backed analysis; the web apps expose graph analysis, review data, and language-model summaries. The benchmark-port graph path also includes argument evaluation and persistence. Several experiment and benchmark subsystems are represented from the source index rather than inspected excerpts, so only indexed relationships are drawn; the frontend-to-backend HTTP links are not shown because the available evidence does not establish their wiring.
Main entry points: api.py Benchmark API · task1.py Task 1 Analysis · ABA_mining Task Runners · aba_graph_service.py ABA Graph Service
Components 34
ABA Mining
- Task 1 Analysis
ABA_mining/src/task1.py - Task 2 Analysis
ABA_mining/src/task2.py - Task 3 Analysis
ABA_mining/src/task3.py - LLM Clients
ABA_mining/src/llm.py - Task Prompts
ABA_mining/src/prompts.py - Task Runners
ABA_mining - Task Evaluation
ABA_mining/evaluator - Fine-tuning
ABA_mining/finetune
ABA Web App
- FastAPI Application
ABA_app/app/main.py - Graph Routes
ABA_app/app/routes/graph.py - Framework Builder
ABA_app/app/aba_builder.py - PyArg Evaluation
ABA_app/app/pyarg_service.py - Graph Translator
ABA_app/app/aba_translator.py - Review Routes
ABA_app/app/routes/review.py - Review Data
ABA_app/app/review_data.py - Summary Routes
ABA_app/app/routes/llm.py - Summary Generation
ABA_app/app/llm_service.py
Benchmark Port
- Benchmark API
ABA_app/_benchmark_port/app/routes/api.py - ABA Graph Service
ABA_app/_benchmark_port/app/services/aba_graph_service.py - Framework Logic
ABA_app/_benchmark_port/app/services/framework.py - PyArg Evaluator
ABA_app/_benchmark_port/app/services/pyarg_eval.py - Async Jobs
ABA_app/_benchmark_port/app/services/jobs.py - LLM Service
ABA_app/_benchmark_port/app/services/llm_service.py - Review Service
ABA_app/_benchmark_port/app/services/review_service.py - MySQL Data
ABA_app/_benchmark_port/app/db.py - Data Normalizers
ABA_app/_benchmark_port/app/normalizers.py
Web Interfaces
- Page Router
ABA_app/frontend/src/App.jsx - Graph Studio
ABA_app/frontend/src/pages/GraphStudio.jsx - Review Page
ABA_app/frontend/src/pages/Review.jsx - Home Dashboard
ABA_app/frontend/src/pages/Home.jsx - API Client
ABA_app/frontend/src/api.js - Graph Canvas
ABA_app/frontend/src/components/GraphCanvas.jsx - Graph Model
ABA_app/frontend/src/graphElements.js
Other components
- Experimenter
Connections 33
- Experimenter → Task Runners: runs experiments
- Task Runners → Task 1 Analysis: dispatches
ABA_mining/src/task1.py - Task Runners → Task 2 Analysis: dispatches
- Task Runners → Task 3 Analysis: dispatches
- Task 1 Analysis → LLM Clients: uses
ABA_mining/src/task1.py - Task 1 Analysis → Task Prompts: uses
ABA_mining/src/task1.py - Task 1 Analysis → Task Evaluation: evaluated by
- Task 1 Analysis → Fine-tuning: fine-tuned by
- FastAPI Application → Graph Routes: registers
ABA_app/app/main.py - FastAPI Application → Review Routes: registers
ABA_app/app/main.py - FastAPI Application → Summary Routes: registers
ABA_app/app/main.py - Graph Routes → Framework Builder: calls
ABA_app/app/routes/graph.py - Graph Routes → PyArg Evaluation: calls
ABA_app/app/routes/graph.py - Review Routes → Review Data: calls
ABA_app/app/routes/review.py - Summary Routes → Summary Generation: calls
ABA_app/app/routes/llm.py - Page Router → Graph Studio: routes to
ABA_app/frontend/src/App.jsx - Page Router → Review Page: routes to
ABA_app/frontend/src/App.jsx - Page Router → Home Dashboard: routes to
ABA_app/frontend/src/App.jsx - Graph Studio → Graph Canvas: renders
ABA_app/frontend/src/pages/GraphStudio.jsx - Graph Studio → Graph Model: uses
ABA_app/frontend/src/pages/GraphStudio.jsx - Graph Studio → API Client: calls
ABA_app/frontend/src/pages/GraphStudio.jsx - Review Page → API Client: calls
ABA_app/frontend/src/pages/Review.jsx - Home Dashboard → API Client: calls
ABA_app/frontend/src/pages/Home.jsx - Benchmark API → ABA Graph Service: calls
ABA_app/_benchmark_port/app/routes/api.py - Benchmark API → PyArg Evaluator: calls
ABA_app/_benchmark_port/app/routes/api.py - Benchmark API → Async Jobs: calls
ABA_app/_benchmark_port/app/routes/api.py - Benchmark API → LLM Service: calls
ABA_app/_benchmark_port/app/routes/api.py - Benchmark API → Review Service: calls
ABA_app/_benchmark_port/app/routes/api.py - ABA Graph Service → MySQL Data: queries
ABA_app/_benchmark_port/app/services/aba_graph_service.py - ABA Graph Service → Data Normalizers: normalizes with
ABA_app/_benchmark_port/app/services/aba_graph_service.py - ABA Graph Service → Framework Logic: uses
ABA_app/_benchmark_port/app/services/aba_graph_service.py - Review Service → MySQL Data: queries
ABA_app/_benchmark_port/app/services/review_service.py - Review Service → Data Normalizers: normalizes with
ABA_app/_benchmark_port/app/services/review_service.py