{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":79267096,"defaultBranch":"master","name":"LatticePy","ownerLogin":"5n00py","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-01-17T20:09:02.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/24790178?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1484683743.0","currentOid":""},"activityList":{"items":[{"before":"7f57d5d8229bb8029c7f630669413a6dd695432f","after":"e19319b189005a9ff8962ac800459bfc342bb5e9","ref":"refs/heads/master","pushedAt":"2023-06-14T13:01:04.297Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Add Test for LLL Basis Reduction\n\n- Add new test 'test_lll_roundtrips' to ensure that the LLL algorithm\n correctly reduces the basis vectors\n- Add a new test 'test_lll_alpha_75' and 'test_lll_alpha_50 to verify\n that the LLL algorithm with alpha set to 0.75 and 0.5 correctly\n reduces basis vectors\n\nThis commit enhances the robustness of the LLL implementation by ensuring its\nbehavior with various alpha parameters.","shortMessageHtmlLink":"Add Test for LLL Basis Reduction"}},{"before":"03cc1d190061467abcfc38abad9390860fde9034","after":"7f57d5d8229bb8029c7f630669413a6dd695432f","ref":"refs/heads/master","pushedAt":"2023-06-13T22:14:33.881Z","pushType":"push","commitsCount":2,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Add additional test case for LLL reduction","shortMessageHtmlLink":"Add additional test case for LLL reduction"}},{"before":"034accb7c4923397bf30ccdb81272536d14e49f0","after":"03cc1d190061467abcfc38abad9390860fde9034","ref":"refs/heads/master","pushedAt":"2023-06-13T01:04:32.778Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Enhance Lenstra-Lenstra-Lovasz (LLL) reduction function\n\nThis commit significantly enhances the LLL reduction function.\n\n- Change the function name from `perform_lll_reduction` to `reduce_lll`.\n- Introduce an additional parameter `alpha`, which is a real number between\n 0.25 and 1. This parameter controls the 'quality' of the basis i.e., how\n 'orthogonal' the basis vectors are.\n- The input ndarray `X` is no longer converted to a float array.\n- Raise a ValueError if alpha is not between 0.25 and 1.\n- Enhance the algorithm logic and update the comments within the function.\n- Update the test module `test_lattices.py` to reflect these changes and add a\n new unit test.\n- Reflect the changes in the docstring.","shortMessageHtmlLink":"Enhance Lenstra-Lenstra-Lovasz (LLL) reduction function"}},{"before":"d0c42e9f06d606ee2739fd64781ddbcd2c8cb3fa","after":"034accb7c4923397bf30ccdb81272536d14e49f0","ref":"refs/heads/master","pushedAt":"2023-06-13T01:01:13.261Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Enhance Lenstra-Lenstra-Lovasz (LLL) reduction function\n\nThis commit significantly enhances the LLL reduction function.\n\n- Change the function name from `perform_lll_reduction` to `reduce_lll`.\n- Introduce an additional parameter `alpha`, which is a real number between\n 0.25 and 1. This parameter controls the 'quality' of the basis i.e., how\n 'orthogonal' the basis vectors are.\n- The input ndarray `X` is no longer converted to a float array.\n- Raise a ValueError if alpha is not between 0.25 and 1.\n- Enhance the algorithm logic and update the comments within the function.\n- Update the test module `test_lattices.py` to reflect these changes and add a\n new unit test.\n- Reflect the changes in the docstring.","shortMessageHtmlLink":"Enhance Lenstra-Lenstra-Lovasz (LLL) reduction function"}},{"before":"b60a71ece97ef2beeb546b70961af7c514c8508c","after":"d0c42e9f06d606ee2739fd64781ddbcd2c8cb3fa","ref":"refs/heads/master","pushedAt":"2023-06-12T00:03:45.491Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Refactor gram_schmidt function and update doctests\n\n- Refactore the gram_schmidt function to create Y as a deepcopy of X.astype(float),\n preserving the original X.\n- Update the doctests to split long lines and match the modified function.\n- Rename the test_compute_gram_matrix function to test_gram_matrix.\n- Rename the test_lattice_determinant function to test_ldet.","shortMessageHtmlLink":"Refactor gram_schmidt function and update doctests"}},{"before":"3a808a5b305c4e63dfc31bff88aa0adfbccf87f9","after":"b60a71ece97ef2beeb546b70961af7c514c8508c","ref":"refs/heads/master","pushedAt":"2023-06-10T11:43:28.715Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Update README.md with expanded introduction to lattices and their applications\n\nThis commit enriches the README.md with a new section, \"Introduction to Lattices\",\nproviding an accessible definition of lattices and a note on how basis vectors\nof a lattice are treated in this library. It also introduces a \"Key Applications\"\nsection detailing the usage of lattices in various fields such as cryptography,\ncryptanalysis, physics, and coding theory.","shortMessageHtmlLink":"Update README.md with expanded introduction to lattices and their app…"}},{"before":"909410e58a8e3459e1248c7bb90c0d8821e316ae","after":"3a808a5b305c4e63dfc31bff88aa0adfbccf87f9","ref":"refs/heads/master","pushedAt":"2023-06-09T20:53:51.975Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Refactor function names and clean up imports in lattices.py\n\n- Rename 'compute_gram_matrix' to 'gram_matrix' for brevity\n- Rename 'lattice_determinant' to 'ldet' for brevity and consistency with\n other libraries.\n- Remove unused import randint\n- Update instances of the new function names in module and test\n- Adjust doctest for gram_matrix to be within the PEP 8 line limit.","shortMessageHtmlLink":"Refactor function names and clean up imports in lattices.py"}},{"before":"3d29f1ca73ad95a4249cbea0be072159be97f221","after":"909410e58a8e3459e1248c7bb90c0d8821e316ae","ref":"refs/heads/master","pushedAt":"2023-06-09T20:26:11.014Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Refactor transform_basis function for edge case handling and clarity\n\n- Introduce three validation checks at the beginning of the function to\n ensure that the input matrix has at least two rows, the number of\n operations is at least 1 and the range parameter is at least 1.\n- Update docstring accordingly with a \"raises\" section\n- Replace in-place transformation of the input matrix X with operations\n on a copied matrix X_transformed. This change prevents potential side\n effects due to modifications of the input data.\n- Simplify random row selection by using np.random.chaice with\n replace=FAlse. This approach automatically ensures the uniqueness of\n the selected rows.\n- Replace all usage of the random.randint with np.random.randint to\n maintain consistency in random number generation.\n\nThese changes enhance the robustness of the function against edge cases\nand improve the clarity and consistency of the code.","shortMessageHtmlLink":"Refactor transform_basis function for edge case handling and clarity"}},{"before":"7e3337729a2ac55cb11bcc7da28b578300e448e6","after":"3d29f1ca73ad95a4249cbea0be072159be97f221","ref":"refs/heads/master","pushedAt":"2023-06-01T12:59:32.392Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Refactor and Test Gram-Schmidt Process Function\n\n- Rename perfomr_gram_schmidt to gram_schmidt for simplicity in\n lattices.py\n- Update references accordingly.\n- Update gram_schmidt function documentation including doctest\n- Add a new test case test_gram_schmidt to test the gram_schmidt\n function","shortMessageHtmlLink":"Refactor and Test Gram-Schmidt Process Function"}},{"before":"3741d0ec4da756a862df68179b8e2533ce19d674","after":"7e3337729a2ac55cb11bcc7da28b578300e448e6","ref":"refs/heads/master","pushedAt":"2023-06-01T12:17:11.846Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Enhance transform_basis function and related tests\n\n- Add example in the docstring for transform_basis function\n- Add unit test for transform_basis function. The test checks the\n consistency of the lattice determinant after applying the\n transform_basis function.","shortMessageHtmlLink":"Enhance transform_basis function and related tests"}},{"before":"1fe9869419083e64f71171fda1579f04f827274f","after":"3741d0ec4da756a862df68179b8e2533ce19d674","ref":"refs/heads/master","pushedAt":"2023-06-01T09:54:48.198Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Update doctest for lattice_determinant in latteces.py","shortMessageHtmlLink":"Update doctest for lattice_determinant in latteces.py"}},{"before":"78d284eb3a711f5316cb32a1a0bb42f55c34a328","after":"1fe9869419083e64f71171fda1579f04f827274f","ref":"refs/heads/master","pushedAt":"2023-06-01T09:45:40.580Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Update test and Refactor LatticePy functionalities\n\n- Rename the 'transform_basis_with_unimodular' function to 'transform_basis'\n in lattices.py.\n- Rename the 'compute_lattice_determinant' function to 'lattice_determinant'\n in lattices.py.\n- Improve code consistency and readability by adhering to PEP 8 standards,\n specifically in terms of spacing and line wrapping.\n- Update test cases in tests/test_lattices.py with\n test_lattice_determinant\n\nThese changes aim to improve the overall clarity of the codebase and ensure adherence to Python's PEP 8 style guide.","shortMessageHtmlLink":"Update test and Refactor LatticePy functionalities"}},{"before":"a75ff113f3b712ca7e1a4f796cfb8e2f563ae694","after":"78d284eb3a711f5316cb32a1a0bb42f55c34a328","ref":"refs/heads/master","pushedAt":"2023-06-01T09:07:38.074Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Add unit tests and refactor lattice.py\n\n- Create __init__.py and test_lattices.py in the test directory\n- Add a test for the compute_gram_matrix function to the\n test_lattices.py\n- Update docstring example for compute_gram_matrix function in\n lattices.py\n- Remove broken docstring examples in lattice.py","shortMessageHtmlLink":"Add unit tests and refactor lattice.py"}},{"before":"af509f0f0b3ba6fb25cde33d48a57cbd8905c81c","after":"a75ff113f3b712ca7e1a4f796cfb8e2f563ae694","ref":"refs/heads/master","pushedAt":"2023-05-14T19:56:21.453Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"\"Refactor: Convert lattices.py into a comprehensive library LatticePy\"\n\n\"Major overhaul to transform lattices.py into a full-fledged library.\nThis includes modularization of code, addition of new functionalities,\nand improvements in documentation. Now named LatticePy to better\nreflect its expanded capabilities.\"","shortMessageHtmlLink":"\"Refactor: Convert lattices.py into a comprehensive library LatticePy\""}},{"before":"f5f38074aaff58c00058b3e01b3b5146dbfa84e1","after":"af509f0f0b3ba6fb25cde33d48a57cbd8905c81c","ref":"refs/heads/master","pushedAt":"2023-05-14T19:20:30.126Z","pushType":"push","commitsCount":1,"pusher":{"login":"5n00py","name":"David Schmid","path":"/5n00py","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/24790178?s=80&v=4"},"commit":{"message":"Refactoring to a more modern python style, adding comments and introduction","shortMessageHtmlLink":"Refactoring to a more modern python style, adding comments and introd…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADQVh_FAA","startCursor":null,"endCursor":null}},"title":"Activity · 5n00py/LatticePy"}