about summary refs log tree commit diff
path: root/tests/helpers
AgeCommit message (Collapse)Author
2025-09-05Generate unique SNPs in genotype frames without dropping duplicates.Arun Isaac
Earlier, we were generating unique SNPs in genotype frames by dropping duplicates. This meant we couldn't control the number of SNPs. Rejection sampling is also not an option because it is too expensive. So, we now generate unique SNPs directly, by first generating a list with unique elements and then converting to a data frame.
2025-09-05Deduplicate genotype frame metadata generation.Arun Isaac
Abstract out generation of genotype frame metadata (namely chromosome, position and reference) from summaries and genotype_frames into a new helper function genotype_metadata.
2025-09-04Limit values in genotype and phenotype strategies.Arun Isaac
2025-09-04Parameterize number of samples in phenotype frame strategy.Arun Isaac
2025-09-04Parameterize number of samples in genotype frame strategy.Arun Isaac
2025-09-04Parameterize presence of reference column in genotype frame strategy.Arun Isaac
2025-09-04Add keys strategy.Arun Isaac
Add keys strategy, and use it.
2025-09-02Add is_phenotype_metadata_column.Arun Isaac
Promote phenotype_reserved_column_name_p from helpers.strategies to is_phenotype_metadata_column in pyhegp.serialization.
2025-09-02Drop duplicates in generated test phenotype frames.Arun Isaac
2025-09-02Add is_genotype_metadata_column.Arun Isaac
Promote genotype_reserved_column_name_p from helpers.strategies to is_genotype_metadata_column in pyhegp.serialization, and use it everywhere.
2025-09-02Drop duplicates in generated test genotype frames.Arun Isaac
2025-09-02Move hypothesis strategies to separate file.Arun Isaac
These strategies may be used by other test modules as well.