Modified ManyUserExperiment.php file to create test Impression data in ITEM_IMPRESSION and ITEM_IMPRESSION_SUMMARY tables for 500 users with a unique timestamp for each record.
Originally reported by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>.
2025-03-04 09:39
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
In the previous patch I removed the existing code for test data creation and replaced it with new function, which is not the correct approach. In this new patch I have included the original test data code along with the new function.
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
This is the patch that is created on 2/12/2025- Updated ManyUserExperiment.php file to replace the existing code to include a new function to create test data for impressions in ITEM_IMPRESSION table.
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
In the previous patch, generating test data required manually creating wiki pages by logging into Yioop. However, in this new patch, the process has been fully automated. Now, users only need to run the ManyUserExperiment.php file, which will automatically create the necessary test data for users without requiring manual wiki page creation.
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
In the previous patch, I have generated the test data at random timestamps for the impressions but not in a sequential manner. In this new patch I have made changes to ManyUserExperiment.php file to make sure that the test data generated is in sequential manner and depicts the real time data.
Thanks for your updated patch. You should not add files:
src/data/public_default.db-shm | Bin
src/data/public_default.db-wal | 0
to the git repositiory. Please remove them from your patch, make a new patch and check that it actually applied to a fresh clone of the current repository.
Best,
Chris
2025-04-15 08:41
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
Dear Professor Chris,
I've removed the public_default.db-shm and public_default.db-wal files from the patch, regenerated it, and verified that it applies cleanly to a fresh clone of the repository.
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
Dear Professor Chris,
I’ve updated the addWithDb method to implement log-based storage for item impressions, and adjusted computeStatistics so it aggregates statistics from that new log format. I’ve also added new commands to ArcTool.php for querying impression data directly from the logs.
Modified ManyUserExperiment.php file to create test Impression data in ITEM_IMPRESSION and ITEM_IMPRESSION_SUMMARY tables for 500 users with a unique timestamp for each record.
Originally reported by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>.
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
In the previous patch I removed the existing code for test data creation and replaced it with new function, which is not the correct approach. In this new patch I have included the original test data code along with the new function.
new_test_data.patch
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
This is the patch that is created on 2/12/2025- Updated ManyUserExperiment.php file to replace the existing code to include a new function to create test data for impressions in ITEM_IMPRESSION table.
test_data.patch
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
In the previous patch, generating test data required manually creating wiki pages by logging into Yioop. However, in this new patch, the process has been fully automated. Now, users only need to run the ManyUserExperiment.php file, which will automatically create the necessary test data for users without requiring manual wiki page creation.
test-data-03-13-25.patch
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
In the previous patch, I have generated the test data at random timestamps for the impressions but not in a sequential manner. In this new patch I have made changes to ManyUserExperiment.php file to make sure that the test data generated is in sequential manner and depicts the real time data.
test-data-04-10-25.patch
Hey Sujith,
Thanks for your updated patch. You should not add files: src/data/public_default.db-shm | Bin
to the git repositiory. Please remove them from your patch, make a new patch and check that it actually applied to a fresh clone of the current repository.
Best, Chris
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
Dear Professor Chris,
I've removed the public_default.db-shm and public_default.db-wal files from the patch, regenerated it, and verified that it applies cleanly to a fresh clone of the repository.
Best regards, Sujith Kakarlapudi
test-data-04-15-25.patch
(originally by Sujith Kakarlapudi <sujith.kakarlapudi@sjsu.edu>)
Dear Professor Chris,
I’ve updated the addWithDb method to implement log-based storage for item impressions, and adjusted computeStatistics so it aggregates statistics from that new log format. I’ve also added new commands to ArcTool.php for querying impression data directly from the logs.
Best regards, Sujith Kakarlapudi
Log-Implementation.patch
Sujith's patches and follow up code tweaks in corporated by commit 77c3d9ecf3afe. Thanks Sujith!