Skip to content
T

ThePerfectShop

ThePerfectShop

Created on 30th December 2025

•

T

ThePerfectShop

ThePerfectShop

The problem ThePerfectShop solves

The problem it solves

Retail and supply-chain teams routinely lose significant value due to inventory expiry, overstocking, and delayed operational decisions.
While sales, inventory, and purchase data exist, they are often scattered across messy spreadsheets and static reports that do not translate into clear, timely actions.

As a result:

  • Expiry risks are detected too late
  • Teams rely on manual judgement instead of data-driven prioritisation
  • Actions like markdowns or transfers are reactive, inconsistent, and poorly explained
  • Existing analytics tools show what happened, not what to do next

This project solves that gap by acting as an AI Operations Copilot for inventory optimisation.

What it enables

  • Early identification of expiry risk
    Automatically detects at-risk inventory batches using sales velocity, stock levels, and expiry timelines.

  • Actionable recommendations, not just analytics
    Generates concrete actions (markdown, transfer, reorder, disposal) with expected savings and impact.

  • Explainable decision-making
    Every recommendation is backed by deterministic logic and enhanced with AI-generated reasoning, making decisions defensible and transparent.

  • Natural-language operational interaction
    Teams can ask questions like “What should I act on today?” or “Why is this SKU risky?” and receive grounded, context-aware answers.

  • Faster, safer decisions under uncertainty
    Reduces reliance on intuition and ad-hoc rules by providing structured, consistent guidance.

Who benefits

  • Retail operations teams managing expiry-sensitive inventory
  • Supply-chain planners prioritising actions under time pressure
  • Decision-makers who need clarity, justification, and confidence—not black-box predictions

Why it matters

Instead of replacing human judgement, the system augments it:

  • Turning raw data into decisions
  • Turning decisions into actions
  • Turning actions into measurable savings

By combining deterministic logic with AI-powered explanation and prioritisation, the system makes inventory operations more proactive, explainable, and economically efficient.

Challenges we ran into

Challenges Faced

One of the most important challenges in this project was coordinating parallel development across a four-member team, where each member independently worked on the pipeline, backend, AI/ML, and UI. This initially led to mismatches in function signatures, data formats, and assumptions about component behavior.
We addressed this by explicitly defining data contracts and interfaces, clarifying input/output expectations for each module, and integrating components incrementally instead of all at once. This process highlighted the importance of early alignment and interface-driven development.

Another key challenge was controlling scope under tight time constraints. With many potential features to explore, it was easy to overextend.
We overcame this by repeatedly refining a strict MVP and deferring non-essential ideas to a documented post-hackathon roadmap. This allowed us to focus on building a system that was complete, explainable, and defensible rather than feature-heavy.

We also faced backend and local database integration issues, particularly when creating and inspecting the database through terminal-based workflows. Limited database visibility within the IDE made debugging difficult.
To overcome this, the database was managed through the system terminal, and separate Python utility scripts were written to inspect schemas, query data, and validate ingestion results. These tools provided visibility without disrupting the main application.

Integrating the AI/ML layer introduced challenges related to environment configuration, API handling, and debugging terminal-driven executions.
This was addressed by stabilizing deterministic, rule-based logic first and then layering AI purely as an augmentation for explanation and prioritization. Robust error handling and fallback behavior ensured that AI-related failures did not break core functionality.

Overall, the project reinforced a key engineering lesson: most challenges arise not from individual bugs, but from integration, coordination, and clarity across layers. By addressing these challenges systematically, the team improved both the reliability of the system and its own understanding of disciplined, real-world software development.

Tracks Applied (2)

Best Innovation

Why this project fits the Best Innovation track This project addresses a real-world operational problem—inventory expir...Read More

AWS

Why this project fits the AWS Partner Track This project aligns strongly with the AWS track because it is designed as a...Read More

AWS

Discussion

Builders also viewed

See more projects on Devfolio