Data Structure: Graph in Real-Life,LLM Solution

So while doing internship i face unique challenge in which i didnt know i will be using graph data structure:

where multiple tasks are interdependent, meaning that each task can only begin after the completion of certain other tasks. Each task has an owner, a due date, a task description, a status, and a unique task ID. The goal is to assess the performance of each task owner, considering the impact of delays and the dependencies between tasks. If a task is completed on time, its owner gains performance points; if delayed, the owner's performance decreases

i just directly gave this problem statement to llm deepseek and deepseek came to rescue, and gave explanation of 600+ words , and a snippet of code which is quite surprising since its hard to giving lengthy explanation since claude LLMs which are good in coding sometimes they hit the limit .

Sneek peek of solution

Here in this code i am using DAG graph and reverse graph, which is accurate depend on the use case but my senior i have to listen to him and he said just use LLMs and pass the dataframe to the LLM since organisation is paying for LLMs. which is the short and easy to be honest.and directly generate insights from this instead of manually performing values from DAG. This is also correct since he is a associate Data scientist , nothing can be done (who will tell him DAG or even Graph) (-_-) , since i have to implement in no time .

so this was my experience i have experience graph real life use case, where i faceof at initial stages of my life thank god , i am having LLMs otherwise i would have taken 1 day to solve or came closer to the solution.

0
Subscribe to my newsletter

Read articles from Sanjiki (サンジキ) directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Sanjiki (サンジキ)
Sanjiki (サンジキ)

you can expect comedy, watching bluebox