{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":862159562,"defaultBranch":"main","name":"placements-assignment","ownerLogin":"amith07","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-09-24T06:23:26.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/54846964?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1727159883.0","currentOid":""},"activityList":{"items":[{"before":"44421acfa14ae60d6e53261cffac65d701e4e17f","after":"56a6d250224a7681132b59f52bc6e6c106432c7d","ref":"refs/heads/main","pushedAt":"2024-09-24T07:49:07.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"amith07","name":"Amith","path":"/amith07","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/54846964?s=80&v=4"},"commit":{"message":"Add outlier detection functionality for polynomial points\n\n- Implemented code to detect outliers in a set of polynomial points using standard deviation.\n- The y-values are decoded from various bases and analyzed statistically.\n- Outliers are identified if their y-values deviate by more than 2 standard deviations from the mean.\n- Created helper functions for mean and standard deviation calculation.\n- The code reads the input from a JSON file, decodes the values, and outputs the detected outliers based on the defined threshold.\n- This implementation is useful for identifying points that do not follow the expected polynomial pattern.","shortMessageHtmlLink":"Add outlier detection functionality for polynomial points"}},{"before":"096612b2efb8a06c23d26f7aff8452f9c77c6cc3","after":"44421acfa14ae60d6e53261cffac65d701e4e17f","ref":"refs/heads/main","pushedAt":"2024-09-24T07:45:12.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"amith07","name":"Amith","path":"/amith07","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/54846964?s=80&v=4"},"commit":{"message":"Add improved polynomial interpolation logic in script2.js\n\nThis commit introduces a new file named script2.js that contains an enhanced implementation of the polynomial interpolation algorithm. The code reads a JSON test case, decodes the y-values from various bases into decimal format, and identifies the best subset of points for polynomial fitting.\n\nKey Changes:\n- Implemented a robust base conversion function to accurately decode y-values.\n- Enhanced error detection logic to find outliers in the provided polynomial points.\n- Maintained separation from the previous implementation to ensure no conflicts with existing code.\n\nThis new implementation allows for better accuracy and handling of diverse base representations in the input data.","shortMessageHtmlLink":"Add improved polynomial interpolation logic in script2.js"}},{"before":"2d58088ab90bc760c9787eecfec4b196d6e8f7cf","after":"096612b2efb8a06c23d26f7aff8452f9c77c6cc3","ref":"refs/heads/main","pushedAt":"2024-09-24T07:29:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"amith07","name":"Amith","path":"/amith07","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/54846964?s=80&v=4"},"commit":{"message":"Add improved polynomial interpolation logic in script2.js\n\nThis commit introduces a new file named script2.js that contains an enhanced implementation of the polynomial interpolation algorithm. The code reads a JSON test case, decodes the y-values from various bases into decimal format, and identifies the best subset of points for polynomial fitting.\n\nKey Changes:\n- Implemented a robust base conversion function to accurately decode y-values.\n- Enhanced error detection logic to find outliers in the provided polynomial points.\n- Maintained separation from the previous implementation to ensure no conflicts with existing code.\n\nThis new implementation allows for better accuracy and handling of diverse base representations in the input data.","shortMessageHtmlLink":"Add improved polynomial interpolation logic in script2.js"}},{"before":"b6f761b2defd114367d457c4f8ae309f9f57549c","after":"2d58088ab90bc760c9787eecfec4b196d6e8f7cf","ref":"refs/heads/main","pushedAt":"2024-09-24T06:46:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"amith07","name":"Amith","path":"/amith07","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/54846964?s=80&v=4"},"commit":{"message":"Added support for multiple test cases with external file loading\n\n- Modified script.js to process multiple test cases by loading them from external JSON files.\n- Implemented processTestCases function to handle multiple test cases and output results sequentially.\n- Updated the logic to read test case data using fs.readFileSync for dynamic file loading.\n- Both test cases are now processed and their constant term (c) is calculated using Lagrange Interpolation.\n- Added functionality to print the constant term for each test case.","shortMessageHtmlLink":"Added support for multiple test cases with external file loading"}},{"before":null,"after":"b6f761b2defd114367d457c4f8ae309f9f57549c","ref":"refs/heads/main","pushedAt":"2024-09-24T06:38:03.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"amith07","name":"Amith","path":"/amith07","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/54846964?s=80&v=4"},"commit":{"message":"Implemented Shamir's Secret Sharing algorithm with Lagrange Interpolation in JavaScript\n\n- Added script.js that implements a simplified version of Shamir's Secret Sharing algorithm.\n- The code parses input from a JSON file containing polynomial roots, decodes y-values from different bases, and uses Lagrange Interpolation to calculate the constant term (c) of the polynomial.\n- Added testcase.json as an example input file to demonstrate the algorithm.\n- Created README.md explaining the project, code structure, and usage instructions.\n- The solution is ready to be run in a Node.js environment.","shortMessageHtmlLink":"Implemented Shamir's Secret Sharing algorithm with Lagrange Interpola…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yNFQwNzo0OTowNy4wMDAwMDBazwAAAAS-1h4N","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yNFQwNjozODowMy4wMDAwMDBazwAAAAS-xK0E"}},"title":"Activity · amith07/placements-assignment"}