Commit 2398aeeb authored by vuong's avatar vuong

add sample data

parent d8dd4dc8
This diff is collapsed.
This diff is collapsed.
product_id,sku,qty_expected_avrage_Q1,qty_sold_avrage_Q1,days_in_stock_Q1,qty_expected_avrage_Q2,qty_sold_avrage_Q2,days_in_stock_Q2,qty_expected_avrage_Q3,qty_sold_avrage_Q3,days_in_stock_Q3,qty_expected_avrage_Q4,qty_sold_avrage_Q4,days_in_stock_Q4,qty_last_halloween,qty_last_xmas,qtysold_30,qtysold_60,qtysold_90,qtysold_180,qtysold_720,days_in_stock_12,days_in_stock_24,qty,created_at,b_fill_up_date,qty_ordered,qty_per_month,last_time_sold,vendor_last_fillup_qty,qtysold_2024,qtysold_2023,qtysold_2022,qtysold_2021,qtysold_2020
126543,141589,,5,46,,0,0,,0,0,,0,0,0,0,4,4,4,4,4,46,46,2,2011-09-23,2016-12-14,66,0.4,2024-02-20,,4,0,0,0,0
217688,191498,,1,90,,2,91,,6,92,,9,92,1,8,0,0,5,16,31,365,681,1,2022-01-10,2023-10-30,34,1.3,2023-12-26,,0,19,15,,
221220,122199,,2,88,,1,91,,1,92,,4,79,2,2,1,2,3,8,12,350,465,1,2022-09-14,2024-01-03,12,0.7,2024-02-29,3,2,6,4,,
217643,42511,,3,90,,1,91,,0,92,,4,92,1,7,3,3,5,8,22,365,730,2,2022-01-07,1970-01-01,22,0.8,2024-02-26,,3,8,11,,
220858,346260,,2,90,,0,91,,1,92,,2,92,0,4,0,2,3,5,9,365,533,1,2022-08-31,2022-12-16,9,0.5,2024-01-25,,2,3,4,,
217949,173746,,8,76,,6,91,,10,92,,0,92,2,1,4,6,6,24,34,351,690,2,2022-01-20,2023-07-13,40,1.6,2024-02-21,,6,19,15,,
218564,42613,,4,90,,3,91,,2,92,,1,80,1,5,3,3,4,10,22,353,700,2,2022-02-28,2023-12-05,22,0.9,2024-02-17,,4,6,12,,
211858,131563,,15,85,,21,82,,18,73,,13,92,7,2,4,12,16,67,106,332,659,4,2019-12-03,2024-01-25,150,2.9,2024-02-19,,12,62,39,23,14
226240,603428,,0,49,,0,0,,0,0,,0,0,,,2,2,2,2,2,49,49,1,2024-01-12,1970-01-01,2,1.3,2024-03-01,,2,,,,
217958,42607,,18,90,,19,90,,24,83,,32,92,16,20,7,14,26,89,169,355,621,4,2022-01-20,2023-08-09,172,6.7,2024-02-28,,14,90,68,,
217956,173749,,7,90,,3,91,,2,92,,7,92,1,10,1,5,8,17,36,365,700,3,2022-01-20,2023-10-31,37,1.4,2024-02-17,,5,12,20,,
217961,42609,,5,90,,2,91,,6,92,,25,92,9,8,3,5,10,37,68,365,697,3,2022-01-21,2023-09-20,69,2.7,2024-02-17,,5,38,10,,
121627,570013,,9,90,,3,71,,3,86,,1,92,2,2,4,7,7,15,24,339,626,3,2011-03-09,2024-02-21,150,0.9,2024-02-09,,7,11,11,10,10
121629,570015,,10,78,,5,91,,2,92,,7,84,0,4,5,8,12,25,38,345,686,2,2011-03-09,2024-01-15,80,0.5,2024-03-01,,8,18,13,4,5
221137,346296,,9,90,,1,91,,2,92,,6,92,1,5,4,6,8,14,26,365,521,2,2022-09-13,2024-01-03,26,1.5,2024-02-07,,6,14,6,,
226320,161967,,9,45,,0,0,,0,0,,0,0,,,9,9,9,9,9,45,45,3,2024-01-16,1970-01-01,9,6.1,2024-03-01,,9,,,,
110709,41416,,2,90,,6,91,,1,92,,5,92,3,5,2,2,3,14,28,365,678,1,2009-11-06,2023-10-31,102,0.6,2024-02-18,,2,12,16,8,3
104449,140030,,19,86,,3,91,,10,92,,23,75,6,16,4,10,16,45,91,344,657,2,2008-12-12,2024-02-02,418,2.3,2024-02-29,6,10,45,45,27,8
204301,131397,,25,90,,3,91,,9,92,,24,92,14,26,12,19,25,57,147,365,698,8,2018-08-31,2023-08-22,278,4.2,2024-02-28,,19,68,72,23,48
164287,130819,,9,90,,2,91,,4,92,,12,92,5,19,2,7,8,24,60,365,730,3,2014-09-10,2022-10-12,243,2.1,2024-02-15,,7,21,34,32,24
221235,340646,,13,70,,10,76,,8,85,,8,92,1,3,2,7,9,39,45,323,477,3,2022-09-15,2024-01-25,45,2.5,2024-02-13,,7,34,4,,
211883,131588,,4,90,,4,71,,5,92,,1,92,4,0,2,3,3,13,21,345,710,2,2019-12-03,2023-09-25,54,1,2024-02-21,,3,12,13,18,8
212674,167809,,25,90,,15,90,,9,92,,22,87,5,2,3,17,19,63,111,359,704,6,2020-01-31,2024-01-25,138,2.8,2024-02-19,,17,61,38,10,12
218571,42619,,5,90,,6,91,,5,92,,2,92,2,1,2,3,5,18,40,365,689,2,2022-02-28,2023-05-24,40,1.6,2024-02-20,,3,22,15,,
192809,196334,,18,80,,5,91,,10,85,,1,92,7,6,6,16,17,35,55,348,704,6,2017-04-03,2024-01-25,96,1.1,2024-02-18,,16,19,20,13,10
220904,840433,,8,87,,1,91,,1,92,,3,87,0,0,2,8,8,13,17,357,529,4,2022-09-06,2024-02-02,17,0.9,2024-02-08,,8,9,0,,
209272,520683,,2,90,,3,88,,3,80,,10,78,1,3,2,3,6,18,24,336,611,2,2019-03-26,2024-01-15,49,0.8,2024-03-01,,3,15,6,12,8
212713,191477,,65,74,,7,91,,11,92,,50,84,10,19,26,57,76,126,215,341,602,9,2020-01-31,2024-02-20,289,5.8,2024-02-27,12,58,108,77,34,12
212719,191483,,7,76,,4,91,,7,92,,23,66,4,16,1,5,16,38,67,325,663,3,2020-01-31,2024-01-25,87,1.8,2024-02-21,,5,35,31,11,5
136376,570664,,2,88,,2,74,,4,78,,5,76,1,1,1,2,3,12,16,316,547,1,2012-09-04,2024-01-03,146,1,2024-02-20,3,2,10,4,7,4
226241,603429,,4,49,,0,0,,0,0,,0,0,,,4,4,4,4,4,49,49,2,2024-01-12,1970-01-01,4,2.5,2024-02-29,,4,,,,
179593,142518,,2,90,,0,91,,0,92,,3,92,2,4,1,1,2,4,14,365,730,1,2016-01-28,2022-11-18,67,0.7,2024-02-26,,1,3,12,12,8
204476,131422,,9,90,,16,53,,3,92,,61,92,1,75,7,8,8,87,179,327,625,3,2018-09-10,2023-08-21,241,3.6,2024-03-01,,8,91,84,30,10
220808,840430,,4,90,,0,91,,1,92,,5,73,0,3,2,3,4,10,14,346,519,2,2022-08-29,2024-02-02,14,0.8,2024-02-18,,3,8,3,,
204460,545748,,7,83,,1,91,,2,92,,9,74,1,5,3,6,9,14,30,340,681,3,2018-09-10,2024-02-21,59,0.9,2024-02-21,,6,11,16,8,8
110474,195147,,3,90,,0,91,,6,74,,4,92,4,3,1,2,2,12,21,347,661,1,2009-11-02,2023-11-14,130,0.7,2024-02-28,,2,10,11,8,4
32268,450022,,2,88,,0,91,,1,83,,5,89,1,0,1,2,4,7,9,351,708,1,2010-09-29,2024-01-25,75,0.5,2024-02-16,,2,6,5,2,3
118281,251790,,7,90,,16,60,,3,80,,6,92,3,4,3,5,5,32,49,322,642,2,2010-10-11,2024-02-02,111,0.7,2024-02-12,,5,32,12,7,2
170624,251783,,8,90,,6,88,,13,91,,6,92,17,4,2,6,8,32,68,361,666,1,2015-03-26,2023-08-31,142,1.3,2024-02-22,,6,27,35,10,1
118239,16810,,3,64,,1,91,,3,92,,10,79,4,3,1,1,2,14,25,326,653,1,2010-10-08,2023-10-30,102,0.6,2024-02-12,,1,14,10,9,2
32373,136097,,4,90,,4,91,,11,91,,16,67,11,2,2,4,4,35,55,339,697,2,2010-10-01,2023-11-14,158,1,2024-02-26,,4,32,21,6,4
173396,481473,,4,90,,4,91,,4,92,,10,63,8,3,2,3,4,22,45,336,673,1,2015-09-01,2023-12-04,120,1.2,2024-02-27,,3,24,18,13,7
138749,226328,,4,71,,3,91,,2,92,,5,78,4,0,2,2,2,13,20,332,659,1,2012-12-12,2023-10-17,83,0.6,2024-02-17,,2,13,7,6,4
17349,72513,,6,90,,3,91,,13,92,,50,83,24,11,5,7,10,71,127,356,692,2,2009-11-02,2023-12-04,538,3.1,2024-03-01,,7,73,47,25,30
173403,72514,,13,90,,3,91,,10,92,,17,81,16,2,8,13,13,43,74,354,702,3,2015-09-01,2023-12-04,259,2.5,2024-03-01,,13,35,32,13,10
73042,310918,,4,65,,0,88,,0,92,,2,92,0,1,2,2,2,5,7,337,691,1,2013-03-01,2024-02-21,22,0.2,2024-02-23,2,2,4,1,2,3
186747,810990,,3,90,,1,91,,4,92,,5,92,5,3,2,3,5,11,23,365,625,2,2016-09-13,2024-02-21,55,0.6,2024-02-03,,3,10,12,6,5
187062,581367,,3,90,,13,69,,15,91,,6,92,9,7,3,3,3,37,68,342,617,2,2016-09-16,2023-09-13,130,1.4,2024-02-25,,3,44,25,18,6
192872,420466,,6,72,,0,91,,1,92,,5,92,3,1,4,5,5,12,25,347,678,1,2017-04-03,2024-02-21,52,0.6,2024-02-25,2,5,14,11,4,4
192801,830748,,10,90,,7,59,,16,40,,47,57,18,16,6,9,9,78,137,246,502,1,2017-04-03,2023-12-18,197,2.3,2024-02-24,,9,83,48,7,10
212698,452019,,22,77,,23,88,,23,89,,6,92,3,9,7,10,11,73,120,346,676,1,2020-01-31,2024-02-05,164,3.3,2024-02-29,,10,73,46,25,11
217675,612998,,12,90,,7,86,,4,92,,6,92,6,8,2,8,9,28,54,360,682,3,2022-01-10,2024-01-15,56,2.2,2024-02-26,,8,25,23,,
217669,612993,,8,68,,1,88,,2,92,,0,92,0,1,4,7,7,11,22,340,705,2,2022-01-10,2024-01-25,22,0.8,2024-02-27,,7,8,7,,
220834,330576,,7,81,,3,91,,1,92,,7,76,4,3,2,5,5,18,28,340,505,1,2022-08-30,2023-12-05,28,1.5,2024-02-11,,5,16,7,,
221120,351108,,3,90,,3,74,,3,59,,4,92,4,1,3,3,4,13,18,315,470,1,2022-09-13,2024-01-15,18,1,2024-02-26,,3,10,5,,
226279,161964,,8,46,,0,0,,0,0,,0,0,,,7,7,7,7,7,46,46,3,2024-01-15,1970-01-01,7,4.7,2024-02-15,,7,,,,
```JSON
[
{
"product_id": 126543,
"sku": 141589,
"order_qty": null,
"reason": "Not enough data to analyze."
},
{
"product_id": 217688,
"sku": 191498,
"order_qty": null,
"reason": "Not enough data to analyze."
},
{
"product_id": 221220,
"sku": 122199,
"order_qty": null,
"reason": "Not enough data to analyze."
},
{
"product_id": 217643,
"sku": 42511,
"order_qty": null,
"reason": "Not enough data to analyze."
},
{
"product_id": 220858,
"sku": 346260,
"order_qty": null,
"reason": "Not enough data to analyze."
},
{
"product_id": 217949,
"sku": 173746,
"order_qty": null,
"reason": "Not enough data to analyze."
},
{
"product_id": 218564,
"sku": 42613,
"order_qty": null,
"reason": "Not enough data to analyze."
},
{
"product_id": 211858,
"sku": 131563,
"order_qty": null,
"reason": "Usually ordered in a higher quantity, there might be an exceptional drop in demand."
},
{
"product_id": 226240,
"sku": 603428,
"order_qty": null,
"reason": "Not enough data to analyze."
},
{
"product_id": 217958,
"sku": 42607,
"order_qty": null,
"reason": "Not enough data to analyze."
}
]
```
\ No newline at end of file
{
"result": [
{
"product_id": 126543,
"sku": 141589,
"order_qty": 7,
"reason": "Based on the low average quantity sold in the last 30, 60, 90, and 180 days, as well as the low days in stock in quarter 1, it is recommended to restock 7 units of product 141589 for the next month."
},
{
"product_id": 217688,
"sku": 191498,
"order_qty": 11,
"reason": "Considering the increasing average quantity sold in each quarter and the high number of days in stock over the last 12 months, it is advisable to restock 11 units of product 191498 for the next month."
},
{
"product_id": 221220,
"sku": 122199,
"order_qty": 4,
"reason": "With a consistent average quantity sold in each quarter and a recent restock, 4 units of product 122199 should be restocked for the next month."
},
{
"product_id": 217643,
"sku": 42511,
"order_qty": 9,
"reason": "Given the moderate quantity sold and days in stock, as well as the recent sale spike in the last 30 days, it is recommended to restock 9 units of product 42511 for the next month."
},
{
"product_id": 220858,
"sku": 346260,
"order_qty": 5,
"reason": "Considering the average quantity sold and the days in stock, it is advised to restock 5 units of product 346260 for the next month."
},
{
"product_id": 217949,
"sku": 173746,
"order_qty": 7,
"reason": "Based on the consistent sales performance and the upcoming festivals, 7 units of product 173746 should be restocked for the next month."
},
{
"product_id": 218564,
"sku": 42613,
"order_qty": 6,
"reason": "With a stable average quantity sold in each quarter and a recent restock, 6 units of product 42613 are recommended to be restocked for the next month."
},
{
"product_id": 211858,
"sku": 131563,
"order_qty": 9,
"reason": "Due to the high average quantity sold per month and the historical sales data, 9 units of product 131563 should be restocked for the next month."
},
{
"product_id": 226240,
"sku": 603428,
"order_qty": 4,
"reason": "Considering the recent sales and the consistent performance in the last 30, 60, 90, and 180 days, it is recommended to restock 4 units of product 603428 for the next month."
},
{
"product_id": 217958,
"sku": 42607,
"order_qty": 11,
"reason": "Given the high average quantity sold in each quarter and the consistent sales performance, 11 units of product 42607 should be restocked for the next month."
}
]
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment