Skip to content

Conversation

@abinayagoudjandhyala
Copy link
Contributor

@abinayagoudjandhyala abinayagoudjandhyala commented Sep 7, 2025

Pull Request for PyVerse 💡

Requesting to submit a pull request to the PyVerse repository.


Issue Title

Please enter the title of the issue related to your pull request.
Add Power BI Supply Chain Dashboard to DataScience Folder

  • I have provided the issue title.

Info about the Related Issue

What's the goal of the project?
The project aims to add a comprehensive Power BI Supply Chain and Inventory Management Dashboard to the datascience folder. This dashboard analyzes stock levels, supplier performance, shortage risks, and operational efficiency for data-driven decision-making.

  • I have described the aim of the project.

Name

Please mention your name.
Abinayagoud Jandhyala

  • I have provided my name.

GitHub ID

Please mention your GitHub ID.
https://github.com/abinayagoudjandhyala

  • I have provided my GitHub ID.

Email ID

Please mention your email ID for further communication.
[email protected]

  • I have provided my email ID.

Identify Yourself

Mention in which program you are contributing (e.g., WoB, GSSOC, SSOC, SWOC).
GSSOC 2025

  • I have mentioned my participant role.

Closes

Enter the issue number that will be closed through this PR.
Closes: #1791

  • I have provided the issue number.

Describe the Add-ons or Changes You've Made

Give a clear description of what you have added or modified.

  • Added Power BI Supply Chain and Inventory Management Dashboard project folder and files under datascience/Supply-Chain-Inventory-Dashboard
  • Included .pbix Power BI dashboard file, README with usage instructions, dashboard screenshots, and optional sample data
  • Dashboard features detailed analysis on stock levels, shortage risk breakdowns, supplier performance, forecasted demand, DOH breakdown, and interactive filters
  • Enables proactive inventory management and optimized supplier selection using data insights
  • I have described my changes.

Type of Change

Select the type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Describe how your changes have been tested.

  • Verified that the .pbix Power BI file opens successfully and the dashboard renders all visuals correctly without errors
  • Manually tested all interactive filters and charts for expected behavior
  • Reviewed README and screenshots for accuracy and clarity
  • I have described my testing process.

Checklist

Please confirm the following:

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Summary by CodeRabbit

  • Documentation
    • Added a comprehensive README for the Supply Chain and Inventory Management Dashboard.
    • Describes two pages: Analysis (stock levels, shortage risk, turnover, supplier performance) and Operational Insights (forecasted demand, DOH, availability heatmap, delivery time, high-risk items).
    • Provides usage guidance on interactive filters, trend analysis, and risk focus.
    • Includes actionable insights and recommendations for supplier management, stock optimization, and forecasting.
    • Summarizes tools/features used and clarifies decision-support outcomes.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 7, 2025

Walkthrough

Adds a README describing a Supply Chain and Inventory Management Dashboard with two pages, listed visualizations, usage guidance, insights, tools/features, and a conclusion. No code, models, or exports changed.

Changes

Cohort / File(s) Change Summary
Docs: Supply Chain Dashboard README
`Data_Science/supply chain/README.md`
New README outlining dashboard pages, visuals, usage, insights, and tools/features.

Sequence Diagram(s)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Assessment against linked issues

Objective Addressed Explanation
Add Supply Chain dashboard project under proposed structure (datascience/Supply-Chain-Inventory-Dashboard) [#1791] Folder path and structure differ; only a README added.
Include Power BI .pbix file [#1791] No .pbix file present.
Provide dashboard screenshots and sample data (optional) [#1791] No assets or data included.
Include usage instructions in README [#1791]
Cover listed key features/visuals in documentation [#1791]

Suggested labels

Contributor, Status: Review Ongoing 🔄, level2, gssoc25

Suggested reviewers

  • UTSAVS26
  • TheChaoticor

Poem

I hop through bins of beans and rice,
Counting stocks once, counting twice—
Charts like carrots, crisp and bright,
Forecast moon, DOH starlight.
Suppliers ranked, risks in view—
A dashboard burrow, built for you. 🥕✨

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Sep 7, 2025

✅ PR validation passed! Syncing labels and assignees from the linked issue...

@github-actions
Copy link

github-actions bot commented Sep 7, 2025

👋 Thank you for opening this pull request! We're excited to review your contribution. Please give us a moment, and we'll get back to you shortly!

Feel free to join our community on Discord to discuss more!

@github-actions github-actions bot added Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. gssoc25 level2 Status: Review Ongoing 🔄 PR is currently under review and awaiting feedback from reviewers. labels Sep 7, 2025
@github-actions
Copy link

github-actions bot commented Sep 7, 2025

✅ PR validation passed! Syncing labels and assignees from the linked issue...

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (8)
Data_Science/supply chain/README.md (8)

10-18: Fix Markdown list indentation (MD007) and nesting under “Visualizations” and “Purpose”

Current list uses extra leading spaces; markdownlint flags MD007. Unindent top-level bullets and keep child bullets at two spaces.

Apply:

-   - **Visualizations**:
-     - **Stock Levels by Category**: Bar chart displaying average stock levels across different categories such as Electronics, Food, Furniture, Clothing, and Tools.
-     - **Shortage Risk Breakdown**: Donut chart indicating the proportion of items at high and low shortage risks.
-     - **Inventory Turnover Rate**: Gauge showing the inventory turnover rate, with a comparison to the minimum, maximum, and target turnover values.
-     - **Top 5 Suppliers by Delivery Performance**: Horizontal bar chart ranking suppliers based on their average delivery time.
-     - **Shortage of Risk by Supplier and Items**: Stacked bar chart visualizing shortage risk for items across different suppliers.
-   - **Purpose**:
-     - Provide an overview of inventory and supplier performance.
-     - Highlight potential risks in supply and stock levels.
+- **Visualizations**:
+  - **Stock Levels by Category**: Bar chart displaying average stock levels across categories (e.g., Electronics, Food, Furniture, Clothing, Tools).
+  - **Shortage Risk Breakdown**: Donut chart indicating the proportion of items at high and low shortage risks.
+  - **Inventory Turnover Rate**: Gauge showing the inventory turnover rate, with a comparison to minimum, maximum, and target values.
+  - **Top 5 Suppliers by Delivery Performance**: Horizontal bar chart ranking suppliers by average delivery time.
+  - **Shortage Risk by Supplier and Items**: Stacked bar chart visualizing shortage risk for items across suppliers.
+- **Purpose**:
+  - Provide an overview of inventory and supplier performance.
+  - Highlight potential risks in supply and stock levels.

21-29: Apply the same indentation fix for Page 2 bullets

Mirror the MD007-compliant structure for the second page’s “Visualizations” and “Purpose”.

Apply:

-   - **Visualizations**:
-     - **Forecasted Monthly Demand**: Line chart with forecasting enabled to project future stock requirements based on historical demand.
-     - **Days of Inventory on Hand (DOH) Breakdown**: Pie chart summarizing DOH for each category.
-     - **Stock Availability Heatmap**: Matrix heatmap showing the stock availability across suppliers and categories.
-     - **Delivery Time Analysis by Category**: 100% stacked bar chart comparing delivery times across suppliers for each category.
-     - **Top 5 High-Risk Items**: Table displaying items with high shortage risk, along with their stock levels and reorder levels.
-   - **Purpose**:
-     - Predict future demand and ensure proactive stock replenishment.
-     - Highlight high-risk items and optimize supplier selection.
+- **Visualizations**:
+  - **Forecasted Monthly Demand**: Line chart with forecasting to project future stock requirements from historical demand.
+  - **Days of Inventory on Hand (DOH) Breakdown**: Pie chart summarizing DOH per category.
+  - **Stock Availability Heatmap**: Matrix heatmap showing stock availability across suppliers and categories.
+  - **Delivery Time Analysis by Category**: 100% stacked bar comparing delivery times across suppliers for each category.
+  - **Top 5 High-Risk Items**: Table listing items with high shortage risk, with stock and reorder levels.
+- **Purpose**:
+  - Predict future demand and ensure proactive stock replenishment.
+  - Highlight high-risk items and optimize supplier selection.

15-15: Typo: “Shortage of Risk …” → “Shortage Risk …”

Minor wording fix to match the feature list and avoid confusion.

-     - **Shortage of Risk by Supplier and Items**: Stacked bar chart visualizing shortage risk for items across different suppliers.
+     - **Shortage Risk by Supplier and Items**: Stacked bar chart visualizing shortage risk for items across different suppliers.

31-39: Numbered steps’ sub-bullets: normalize nesting under 1/2/3

Indent sub-bullets by two spaces for consistency.

-1. **Interactive Filters**:
-   - Located on the Operational Insights page, use filters for categories, suppliers, and shortage risks to refine the data displayed across visualizations.
-2. **Analyze Trends**:
-   - Use the forecasted demand line chart to predict future stock needs.
-   - Identify patterns in delivery times and supplier performance.
-3. **Focus on Risks**:
-   - Monitor shortage risks through the pie chart and high-risk item table.
-   - Investigate categories or suppliers with low stock levels or high risks.
+1. **Interactive Filters**:
+  - Use filters (categories, suppliers, shortage risks) on the Operational Insights page to refine all visuals.
+2. **Analyze Trends**:
+  - Use the forecasted demand line chart to anticipate stock needs.
+  - Identify patterns in delivery times and supplier performance.
+3. **Focus on Risks**:
+  - Monitor shortage risks via the pie chart and high-risk items table.
+  - Investigate categories or suppliers with low stock or high risk.

50-58: Add reproducibility details: Power BI Desktop version, data refresh steps, and DAX measures reference

Document the PBIX build/test environment and data setup so others can open and refresh without guesswork. Optionally include a Measures section with key DAX definitions (Turnover, DOH, Risk).

Proposed section to append before “Conclusion”:

## Compatibility and Setup
- Tested with Power BI Desktop: 2.1xx.y (Month YYYY). Please confirm the exact version used.
- Opening the PBIX: File > Options and settings > Data source settings > Update sample data paths if prompted.
- Refresh: Home > Transform data > Data source settings > Edit Permissions (if required), then Home > Refresh.

## Measures (DAX) Overview
- Inventory Turnover = DIVIDE([COGS], [Average Inventory])
- DOH = DIVIDE([Ending Inventory], [Average Daily COGS])
- Shortage Risk = IF([Stock] <= [Reorder Level], "High", "Low")
(Link to a full measures list or include as an appendix.)

41-49: Clarify data provenance and licensing for sample data

If sample data is included, state its source, license, and whether it’s anonymized/synthetic. This avoids downstream compliance issues.

I can draft a short “Data and Licensing” section once you confirm the dataset source and license (e.g., CC BY 4.0, MIT-licensed synthetic).


7-30: Embed screenshots with relative links

Since screenshots are mentioned in the PR, link them here so users see previews on GitHub.

Example:

## Screenshots
![Page 1 — Supply Chain Overview](./images/page1-overview.png)
![Page 2 — Operational Insights](./images/page2-operations.png)

Adjust paths/filenames to match the repo.


62-64: Remove trailing horizontal rule and extra blank lines

Tidies the end of the document.

----
-
-
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 09b4b51 and 94f5c13.

⛔ Files ignored due to path filters (3)
  • Data_Science/supply chain/Dashboard1.png is excluded by !**/*.png
  • Data_Science/supply chain/Dashboard2.png is excluded by !**/*.png
  • Data_Science/supply chain/Supply_Chain_Inventory_Management_Data.xlsx is excluded by !**/*.xlsx
📒 Files selected for processing (1)
  • Data_Science/supply chain/README.md (1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
Data_Science/supply chain/README.md

10-10: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


11-11: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


12-12: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


13-13: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


14-14: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


15-15: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


16-16: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


17-17: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


18-18: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


21-21: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


22-22: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


23-23: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


24-24: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


25-25: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


26-26: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


27-27: Unordered list indentation
Expected: 0; Actual: 3

(MD007, ul-indent)


28-28: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)


29-29: Unordered list indentation
Expected: 2; Actual: 5

(MD007, ul-indent)

Comment on lines +1 to +4

# Supply Chain and Inventory Management Dashboard

## Overview
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Folder path/name deviates from PR objective and likely repo conventions

PR/issue say “datascience/Supply-Chain-Inventory-Dashboard”, but this file is at “Data_Science/supply chain/…”. Spaces, underscores, and case changes will break links and automation. Align folder and name.

Run to locate assets and confirm final layout; if mismatched, perform git mv:


🏁 Script executed:

#!/bin/bash
set -euo pipefail
echo "Current README path(s):"
fd -n --full-path -i 'README.md' | sed 's/^/ - /'
echo "PBIX files:"
fd -n -e pbix | sed 's/^/ - /'
echo "Screenshots:"
fd -n -e png -e jpg -e jpeg -E 'node_modules' | sed 's/^/ - /'

# Suggested target
TARGET_DIR="datascience/Supply-Chain-Inventory-Dashboard"
echo "Proposed target dir: $TARGET_DIR"

Length of output: 254


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Current README path(s):"
fd -i README.md | sed 's/^/ - /'

echo "PBIX files:"
fd -e pbix | sed 's/^/ - /'

echo "Screenshots:"
fd -e png -e jpg -e jpeg -E node_modules | sed 's/^/ - /'

TARGET_DIR="datascience/Supply-Chain-Inventory-Dashboard"
echo "Proposed target dir: $TARGET_DIR"

Length of output: 277364


Rename “Data_Science/supply chain” folder to “datascience/Supply-Chain-Inventory-Dashboard”

🤖 Prompt for AI Agents
In Data_Science/supply chain/README.md lines 1 to 4, rename the repository
folder path from "Data_Science/supply chain" to
"datascience/Supply-Chain-Inventory-Dashboard": move or rename the directory to
the new canonical path, update casing and hyphens as specified, and adjust any
internal relative links or references (including README headers and any
CI/config paths) that point to the old folder so they now reference the new
directory name.

@UTSAVS26 UTSAVS26 merged commit 331f309 into UTSAVS26:main Sep 11, 2025
7 checks passed
@UTSAVS26 UTSAVS26 added Status: Approved ✔️ PRs that have passed review and are approved for merging. and removed Status: Review Ongoing 🔄 PR is currently under review and awaiting feedback from reviewers. labels Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. gssoc25 level2 Status: Approved ✔️ PRs that have passed review and are approved for merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

## [FEATURE] Add Power BI Supply Chain Dashboard to DataScience Folder

2 participants