{"id":15765633,"url":"https://github.com/cicirello/small-sample-experiments","last_synced_at":"2025-07-28T22:34:31.524Z","repository":{"id":249299677,"uuid":"830704114","full_name":"cicirello/small-sample-experiments","owner":"cicirello","description":"Code and data for experiments for paper \"Algorithms for Generating Small Random Samples\"","archived":false,"fork":false,"pushed_at":"2025-01-06T20:56:57.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T04:51:54.284Z","etag":null,"topics":["random-sampling"],"latest_commit_sha":null,"homepage":"https://www.cicirello.org/publications/cicirello2024spe.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cicirello.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"cicirello","patreon":null,"open_collective":null,"ko_fi":"cicirello","tidelift":null,"community_bridge":null,"liberapay":"cicirello","issuehunt":null,"otechie":null,"custom":null}},"created_at":"2024-07-18T20:09:58.000Z","updated_at":"2025-01-06T20:56:58.000Z","dependencies_parsed_at":"2024-10-25T12:47:28.924Z","dependency_job_id":"fb227613-e28f-4901-82c8-120c1937f5d6","html_url":"https://github.com/cicirello/small-sample-experiments","commit_stats":null,"previous_names":["cicirello/small-sample-experiments"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cicirello%2Fsmall-sample-experiments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cicirello%2Fsmall-sample-experiments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cicirello%2Fsmall-sample-experiments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cicirello%2Fsmall-sample-experiments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cicirello","download_url":"https://codeload.github.com/cicirello/small-sample-experiments/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246457977,"owners_count":20780673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["random-sampling"],"created_at":"2024-10-04T12:43:20.152Z","updated_at":"2025-03-31T10:42:04.239Z","avatar_url":"https://github.com/cicirello.png","language":"Java","readme":"# Code to reproduce experiments from: Algorithms for Generating Small Random Samples\n\nCopyright \u0026copy; 2024 Vincent A. Cicirello\n\nThis repository contains the code and raw experiment data for the the following journal article:\n\n\u003e Vincent A. Cicirello. 2025. [Algorithms for Generating Small Random Samples](https://www.cicirello.org/publications/cicirello2025spe.html). *Software: Practice and Experience*, 55(2): 298-306, February 2025. doi:[10.1002/spe.3379](https://doi.org/10.1002/spe.3379). Access the [[Full-Text]](https://onlinelibrary.wiley.com/share/author/J3S4KWMDVFFZNMFS9RY5?target=10.1002/spe.3379).\n\nThe experiments utilize the [\u0026rho;\u0026mu;](https://rho-mu.cicirello.org/) library, version 4.2.0,\nwhich is automatically imported during the build from the [Maven Central \nRepository](https://central.sonatype.com/artifact/org.cicirello/rho-mu).\n\n| __DOI__ | [![DOI](doi.svg)](https://doi.org/10.1002/spe.3379) |\n| :--- | :--- |\n| __License__ | [![GitHub](https://img.shields.io/github/license/cicirello/small-sample-experiments)](LICENSE) | \n\n## Building\n\nTo build the experiments with Maven, execute the following at the command line:\n\n```shell\nmvn clean package\n```\n\nThe requirements for building the experiments is the same as for building\n[\u0026rho;\u0026mu;](https://rho-mu.cicirello.org/) version 4.2.0. which is Java 17+.\n\n## Running the Experiments\n\nThe above builds a `jar-with-dependencies` that is executable, and which will be found \nwithin the target directory, which is created if it doesn't already exist. You can then \nrun it with the following:\n\n```shell\njava -jar target/small-sample-experiments-1.0.0-jar-with-dependencies.jar\n```\n\nNote that this will take a couple hours to run in its entirety.\n\n## Data\n\nIf you just want to inspect the results from my run, you can find the data \nin [results.txt](results.txt).\n\nThere is an additional data file, [results-with-rho-mu-4.0.0.txt](results-with-rho-mu-4.0.0.txt), \nfrom earlier runs with \u0026rho;\u0026mu; 4.0.0, where the `nextIntTriple` was implemented differently, \nand which didn't include reservoir L for comparison. This is the data for the version of the\nexperiments from earlier preprint versions of the paper.\n","funding_links":["https://github.com/sponsors/cicirello","https://ko-fi.com/cicirello","https://liberapay.com/cicirello"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcicirello%2Fsmall-sample-experiments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcicirello%2Fsmall-sample-experiments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcicirello%2Fsmall-sample-experiments/lists"}