MCPcopy Create free account

hub / github.com/deshaw/versioned-hdf5 / functions

Functions983 in github.com/deshaw/versioned-hdf5

Functiontest_read_only_handle_does_not_reuse_wrapper
(tmp_path)
tests/test_api.py:2124
Functiontest_read_only_no_wrappers
(setup_vfile)
tests/test_api.py:2604
Functiontest_read_then_commit_without_base_slab
(vfile, read)
tests/test_wrappers.py:322
Functiontest_readonly
()
tests/test_staged_changes.py:1249
Functiontest_readonly_data
Read-only data is copied upon creation of a new version.
tests/test_wrappers.py:250
Functiontest_rebuild_hashtable
Verify rebuilding the hashtable for a single object dtype and single version. 1. An info log message is issued to the user about DATA_VERSION mis
tests/test_api.py:2721
Functiontest_rebuild_hashtable_chunk_reuse
Test that the correct chunks are used after rebuilding the tables.
tests/test_api.py:2973
Functiontest_rebuild_hashtable_chunk_reuse_multi_dim
Test that the correct chunks are used after rebuilding the tables for a multi-dimensional array.
tests/test_api.py:3107
Functiontest_rebuild_hashtable_chunk_reuse_unicode
Test that the correct chunks are used after rebuilding the tables for non-ascii data.
tests/test_api.py:3032
Functiontest_rebuild_hashtable_multiple_datasets
Verify rebuilding the hashtable for multiple datasets across multiple versions. 1. An info log message is issued to the user about DATA_VERSION m
tests/test_api.py:2813
Functiontest_rebuild_hashtable_multiple_nested_dataset
Test rebuilding the hash tables of a nested dataset.
tests/test_api.py:2940
Functiontest_rebuild_hashtable_nested_dataset
Test rebuilding the hash tables of a nested dataset.
tests/test_api.py:2913
Functiontest_rechunk
()
tests/test_staged_changes.py:813
Functiontest_recreate_dataset_bounded_memory
recreate_dataset() streams the chunks of a committed dataset from the raw_data of the source group into the raw_data of the target group, instead
tests/test_replay.py:936
Functiontest_recreate_dataset_frees_each_version
The wrappers of a version reference each other in cycles (InMemoryGroup._data[] <-> InMemoryDataset._parent); recreate_dataset() must not leav
tests/test_replay.py:1014
Functiontest_recreate_dataset_preserves_frozen_heap
recreate_dataset() freezes the heap to keep its per-version collections cheap, but it must leave the freeze set of a caller that froze the heap it
tests/test_replay.py:1064
Functiontest_recreate_dataset_staged_changes
recreate_dataset() rewrites every version of a dataset into a brand new group. When its callback returns an InMemoryDataset, the StagedChangesArra
tests/test_replay.py:861
Functiontest_recreate_dataset_streams_chunks
recreate_dataset() rewrites each version a block of chunks at a time, so that peak memory usage doesn't scale with the size of the dataset. Neithe
tests/test_replay.py:899
Functiontest_recreate_hashtable
(vfile)
tests/test_replay.py:1352
Functiontest_recreate_raw_data
(vfile)
tests/test_replay.py:1311
Functiontest_recreate_virtual_dataset
(vfile)
tests/test_replay.py:1382
Functiontest_refill
()
tests/test_staged_changes.py:775
Methodtest_refill
refill() changes chunk dtype upon first access. This happens **before** the new fill_value is applied, to avoid overflows or loss of d
tests/test_staged_changes.py:761
Functiontest_refill_noop
()
tests/test_staged_changes.py:795
Functiontest_refill_skips_dropped_slabs
()
tests/test_staged_changes.py:804
Functiontest_repr
()
tests/test_staged_changes.py:1022
Functiontest_resize
(vfile)
tests/test_api.py:452
Functiontest_resize_after_delete_and_recreate
Enlarging a dataset that was deleted in a previous version and re-created with ``sv[name] = arr`` must reuse the chunk size and fillvalue pinned b
tests/test_api.py:825
Functiontest_resize_after_new_dataset_assignment
Enlarging a brand new dataset created as ``sv[name] = arr`` must guess a chunk size instead of raising AssertionError (regression test for #569).
tests/test_api.py:809
Functiontest_resize_after_recreating_in_versions_subgroup
A nested user subgroup named 'versions' must not mask the real versions group when looking up the chunk size pinned by an older version.
tests/test_api.py:855
Functiontest_resize_after_whole_dataset_assignment
Enlarging a dataset that ``sv[name] = arr`` replaced wholesale in the same version must keep the chunk size of the replaced dataset (regression te
tests/test_api.py:788
Functiontest_resize_axis
(vfile)
tests/test_api.py:931
Functiontest_resize_int_types_grow
(tmp_path)
tests/test_api.py:742
Functiontest_resize_int_types_shrink
(tmp_path)
tests/test_api.py:725
Functiontest_resize_multidim_after_new_dataset_assignment
``group[name] = arr`` cannot guess a chunk size for multi-dimensional data, so enlarging it fails the same way as committing it does. Use crea
tests/test_api.py:895
Functiontest_resize_multidim_after_whole_dataset_assignment
Multi-dimensional counterpart of test_resize_after_whole_dataset_assignment: the pinned chunk size must be reused along every axis (regression tes
tests/test_api.py:875
Functiontest_resize_multiple_dimensions
(vfile)
tests/test_api.py:659
Functiontest_resize_noop
()
tests/test_staged_changes.py:407
Functiontest_resize_plan_reports_grid_resize_as_mutation
A resize that changes the number of chunks replaces slab_indices and slab_offsets - with a shrunk view or with an np.pad copy - while transferring
tests/test_staged_changes.py:416
Functiontest_resize_shrink_trailing_axis
resize() shrinks a trailing axis and grows axis 0 within the last chunk row
tests/test_api.py:641
Functiontest_resize_shrink_trailing_axis_all_fillvalue
resize() shrinks a trailing axis and grows axis 0 within the last chunk row
tests/test_api.py:623
Functiontest_resize_sparse
(vfile)
tests/test_api.py:765
Functiontest_resize_then_astype_read_only_slab_metadata_1
Reading a staged dataset with ``astype("T")`` leaves StagedChangesArray.slab_indices as read-only and CoW-shared with its source, so commit_st
tests/test_npystrings.py:488
Functiontest_resize_then_astype_read_only_slab_metadata_2
Reading a staged dataset with ``astype("T")`` leaves StagedChangesArray.slab_indices as read-only and CoW-shared with its source, so commit_st
tests/test_npystrings.py:522
Functiontest_resize_through_size_zero
Enlarge or shrink partial edge chunks along an axis while another axis is size 0, so that no chunks are actually transferred.
tests/test_staged_changes.py:463
Functiontest_resize_unaligned
(vfile)
tests/test_api.py:609
Functiontest_resize_weird_size
(vfile, size)
tests/test_api.py:968
Functiontest_reversed_all_axes
()
tests/test_hash.py:434
Functiontest_reversed_axis_0
()
tests/test_hash.py:428
Functiontest_rewrite_block_bytes
()
tests/test_backend.py:769
Functiontest_rewrite_dataset
rewrite_dataset() copies every chunk of an array into a brand new raw_data, deduplicating them, and returns the same committed StagedChangesArray
tests/test_backend.py:783
Functiontest_rewrite_dataset_all_fillvalue
A dataset whose chunks are all entirely fillvalue writes nothing to raw_data, and is returned with no base slab at all rather than an empty raw_da
tests/test_backend.py:942
Functiontest_rewrite_dataset_dedups_across_blocks
A chunk written by an earlier block deduplicates against an identical chunk staged by a later block. Each block is deduplicated against the on-dis
tests/test_backend.py:917
Functiontest_rewrite_dataset_empty
A size-0 dataset has no chunks to rewrite.
tests/test_backend.py:954
Functiontest_rewrite_dataset_multidimension
A 3-D array with duplicate chunks, edge chunks along two axes, and a full-sized chunk which is entirely fillvalue: however it is diced into blocks
tests/test_backend.py:853
Functiontest_rewrite_dataset_preexisting_raw_data
rewrite_dataset() deduplicates against chunks that were already on raw_data (e.g. written by a previous version or an earlier rewrite) and appends
tests/test_backend.py:877
Functiontest_scalar
(setup_vfile)
tests/test_api.py:2343
Functiontest_scalar_dataset
Scalar (ndim=0) datasets are supported by h5py, but implementing them in versioned_hdf5 would take a lot of special-casing as raw_data can't go be
tests/test_api.py:1838
Functiontest_set_chunks_nested
(vfile)
tests/test_api.py:1928
Functiontest_set_current_version
(h5file)
tests/test_versions.py:248
Methodtest_setitem
__setitem__() changes chunk dtype upon first access. This happens **before** the values are replaced, to avoid overflows or loss of de
tests/test_staged_changes.py:751
Functiontest_setitem_bare_strings
Setting a bare string into a dataset doesn't swap the buffer dtype.
tests/test_npystrings.py:123
Functiontest_setitem_broadcast
()
tests/test_staged_changes.py:1004
Functiontest_setitem_fancy_index_noncontiguous_whole_chunks
__setitem__ with an integer array index where the wholly-selected chunks are not contiguous among the selected chunks
tests/test_staged_changes.py:1012
Functiontest_shape_sensitivity
Same bytes, different shape => different hash, in both implementations, and they agree with each other.
tests/test_hash_legacy_compat.py:103
Functiontest_shrinking_dereferences_slabs
Test that shrinking a StagedChangesArray dereferences the *staged* slabs that are no longer referenced by any chunks. The full slab and the base s
tests/test_staged_changes.py:494
Functiontest_shrinking_does_not_reuse_partial_chunks
Test that if a partial chunk is created or resized when shrinking, and that chunk was on a base slab, it is loaded into memory to avoid different
tests/test_staged_changes.py:526
Functiontest_simplify_indices
Test that a fancy index that can be redefined globally as a slice results in a SliceMapper
tests/test_subchunk_map.py:494
Functiontest_single_chunk
()
tests/test_hash.py:41
Functiontest_size_zero_with_base_slabs
load() on a size-0 array that has base slabs
tests/test_staged_changes.py:479
Functiontest_small_dataset
(vfile)
tests/test_api.py:385
Methodtest_small_fraction_changes_sparse
( self, num_transactions=250, filename="test_small_fraction_changes_sparse", c
analysis/generate_data_base.py:215
Functiontest_smallest_step_after
(data, x, m)
tests/test_cytools.py:42
Functiontest_spaceid_to_slice
(h5file)
tests/test_slicetools.py:112
Functiontest_sparse
(vfile)
tests/test_api.py:2366
Functiontest_sparse_empty
(vfile)
tests/test_api.py:2408
Functiontest_sparse_large
(vfile)
tests/test_api.py:2447
Functiontest_stage_version
Test that versions can be staged and are the expected shape.
tests/test_api.py:36
Functiontest_stage_version_chunk_size
(vfile)
tests/test_api.py:80
Functiontest_stage_version_compression
(vfile)
tests/test_api.py:124
Functiontest_stage_version_log_stats
Test that stage_version logs stats after writing data.
tests/test_api.py:2625
Functiontest_staged_array
(args)
tests/test_staged_changes.py:67
Functiontest_step_inner_axis
()
tests/test_hash.py:393
Functiontest_step_inner_axis_3d
()
tests/test_hash.py:400
Functiontest_step_middle_axis
()
tests/test_hash.py:414
Functiontest_step_outer_axis
()
tests/test_hash.py:406
Functiontest_stop2count_count2stop
(s)
tests/test_cytools.py:24
Functiontest_store_binary_as_void
(vfile)
tests/test_api.py:1858
Functiontest_strided_single_chunk_object
(dtype)
tests/test_hash.py:554
Functiontest_strided_slab_multichunk
Multiple chunks, with edge trimming and hash row permutation, carved out of a stepped (outer axis) slab: the chunk axis-0 offset must use the real
tests/test_hash.py:475
Functiontest_string_dtype
Test that writing an array of object strings without metadata correctly preserves metadata on the Dataset.
tests/test_wrappers.py:441
Functiontest_string_dtypes
(setup_vfile, dt)
tests/test_api.py:1964
Functiontest_subgroups_inherit_commit_status
Subgroups of a committed version group are committed like their parent, so that they are read-only and are invalidated together with it.
tests/test_api.py:2186
Functiontest_tight_iteration_big_O_performance
In h5py, it is OK to create and destroy astype("T") views in rapid succession, interleaved with __setitem__ calls of data with dtype="T":
tests/test_npystrings.py:221
Functiontest_timestamp_auto
(vfile)
tests/test_api.py:1016
Functiontest_timestamp_manual
(vfile)
tests/test_api.py:1025
Functiontest_timestamp_manual_datetime64
(vfile)
tests/test_api.py:1049
Functiontest_top_level_versions_dataset_name_rejected
(vfile)
tests/test_api.py:1147
Functiontest_trailing_axes_contiguous_3d
()
tests/test_hash.py:421
Functiontest_transposed_2d
()
tests/test_hash.py:373
← previousnext →801–900 of 983, ranked by callers