cr.cube 3.3.3__tar.gz → 3.3.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (465) hide show
  1. {cr_cube-3.3.3 → cr_cube-3.3.5}/HISTORY.md +9 -0
  2. {cr_cube-3.3.3 → cr_cube-3.3.5}/PKG-INFO +13 -9
  3. {cr_cube-3.3.3 → cr_cube-3.3.5}/README.md +12 -8
  4. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/__init__.py +1 -1
  5. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/cube.py +19 -3
  6. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/cubepart.py +2 -2
  7. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/matrix/measure.py +0 -2
  8. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/stripe/measure.py +4 -0
  9. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr_cube.egg-info/PKG-INFO +13 -9
  10. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_cubepart.py +24 -9
  11. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/stripe/test_measure.py +20 -0
  12. {cr_cube-3.3.3 → cr_cube-3.3.5}/tox.ini +1 -3
  13. {cr_cube-3.3.3 → cr_cube-3.3.5}/.coveragerc +0 -0
  14. {cr_cube-3.3.3 → cr_cube-3.3.5}/.flake8 +0 -0
  15. {cr_cube-3.3.3 → cr_cube-3.3.5}/.pre-commit-config.yaml +0 -0
  16. {cr_cube-3.3.3 → cr_cube-3.3.5}/.readthedocs.yaml +0 -0
  17. {cr_cube-3.3.3 → cr_cube-3.3.5}/LICENSE +0 -0
  18. {cr_cube-3.3.3 → cr_cube-3.3.5}/MANIFEST.in +0 -0
  19. {cr_cube-3.3.3 → cr_cube-3.3.5}/Makefile +0 -0
  20. {cr_cube-3.3.3 → cr_cube-3.3.5}/docs/Makefile +0 -0
  21. {cr_cube-3.3.3 → cr_cube-3.3.5}/docs/source/Makefile +0 -0
  22. {cr_cube-3.3.3 → cr_cube-3.3.5}/docs/source/conf.py +0 -0
  23. {cr_cube-3.3.3 → cr_cube-3.3.5}/docs/source/crunch_logo.png +0 -0
  24. {cr_cube-3.3.3 → cr_cube-3.3.5}/docs/source/cube.rst +0 -0
  25. {cr_cube-3.3.3 → cr_cube-3.3.5}/docs/source/cubepart.rst +0 -0
  26. {cr_cube-3.3.3 → cr_cube-3.3.5}/docs/source/dimension.rst +0 -0
  27. {cr_cube-3.3.3 → cr_cube-3.3.5}/docs/source/index.rst +0 -0
  28. {cr_cube-3.3.3 → cr_cube-3.3.5}/docs/source/quickstart.rst +0 -0
  29. {cr_cube-3.3.3 → cr_cube-3.3.5}/requirements-rtd.txt +0 -0
  30. {cr_cube-3.3.3 → cr_cube-3.3.5}/setup.cfg +0 -0
  31. {cr_cube-3.3.3 → cr_cube-3.3.5}/setup.py +0 -0
  32. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/__init__.py +0 -0
  33. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/collator.py +0 -0
  34. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/dimension.py +0 -0
  35. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/enums.py +0 -0
  36. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/matrix/__init__.py +0 -0
  37. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/matrix/assembler.py +0 -0
  38. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/matrix/cubemeasure.py +0 -0
  39. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/matrix/subtotals.py +0 -0
  40. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/measures/__init__.py +0 -0
  41. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/measures/pairwise_significance.py +0 -0
  42. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/min_base_size_mask.py +0 -0
  43. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/scalar.py +0 -0
  44. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/smoothing.py +0 -0
  45. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/stripe/__init__.py +0 -0
  46. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/stripe/assembler.py +0 -0
  47. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/stripe/cubemeasure.py +0 -0
  48. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/stripe/insertion.py +0 -0
  49. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr/cube/util.py +0 -0
  50. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr_cube.egg-info/SOURCES.txt +0 -0
  51. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr_cube.egg-info/dependency_links.txt +0 -0
  52. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr_cube.egg-info/namespace_packages.txt +0 -0
  53. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr_cube.egg-info/requires.txt +0 -0
  54. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr_cube.egg-info/top_level.txt +0 -0
  55. {cr_cube-3.3.3 → cr_cube-3.3.5}/src/cr_cube.egg-info/zip-safe +0 -0
  56. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/__init__.py +0 -0
  57. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/admit-x-dept-unweighted-col-prop-moe.py +0 -0
  58. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/ca-subvar-ca-cat-x-cat-date-scale-means-w2.py +0 -0
  59. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/ca-subvar-x-ca-cat-cat-date-smoothed-col-idx-w3.py +0 -0
  60. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/ca-subvar-x-ca-cat-cat-date-smoothed-col-pct-w3.py +0 -0
  61. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/ca-subvar-x-ca-cat-hs-pw-pvals.py +0 -0
  62. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/ca-subvar-x-ca-cat-hs-pw-tstats.py +0 -0
  63. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/ca-x-cat-hs-explicit-order.py +0 -0
  64. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/ca-x-mr-explicit-order.py +0 -0
  65. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-subdiff-x-cat-pw-pvals.py +0 -0
  66. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-subdiff-x-cat-pw-tstats.py +0 -0
  67. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-cat-date-smoothed-col-idx-w3.py +0 -0
  68. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-cat-date-smoothed-col-pct-w3.py +0 -0
  69. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-col-moe.py +0 -0
  70. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-col-stddev.py +0 -0
  71. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-col-stderr.py +0 -0
  72. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-column-proportions.py +0 -0
  73. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-columns-margin-proportions.py +0 -0
  74. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-pvals.py +0 -0
  75. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-pw-idxs.py +0 -0
  76. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-row-margin-proportions.py +0 -0
  77. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-row-proportions.py +0 -0
  78. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-tbl-stddev.py +0 -0
  79. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-tbl-stderr.py +0 -0
  80. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-hs-x-mr-zscores.py +0 -0
  81. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-col-idx-explicit-order.py +0 -0
  82. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-col-props-moe.py +0 -0
  83. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-date-smoothed-col-pct-w1.py +0 -0
  84. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-date-smoothed-scale-means-w2.py +0 -0
  85. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-date-wgtd-smoothed-col-idx-w4.py +0 -0
  86. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-date-wgtd-smoothed-col-pct-w4.py +0 -0
  87. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-explicit-order.py +0 -0
  88. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-hs-pw-idxs-alt.py +0 -0
  89. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-hs-pw-idxs.py +0 -0
  90. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-hs-pw-pvals.py +0 -0
  91. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-hs-pw-tstats.py +0 -0
  92. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-hs-scale-mean-pw-idxs-alt.py +0 -0
  93. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-hs-scale-mean-pw-idxs.py +0 -0
  94. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-hs-scale-means-pw-pvals.py +0 -0
  95. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-hs-scale-means-pw-tstats.py +0 -0
  96. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-population-counts-moe.py +0 -0
  97. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-population-counts.py +0 -0
  98. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-pruning-hs-col-prop-moe.py +0 -0
  99. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-pruning-hs-table-prop-moe.py +0 -0
  100. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-pw-idxs-recip.py +0 -0
  101. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-pw-idxs.py +0 -0
  102. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-pw-pvals.py +0 -0
  103. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-pw-tstats.py +0 -0
  104. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-scale-mean-pw-idxs-alt.py +0 -0
  105. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-scale-mean-pw-idxs.py +0 -0
  106. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-ucounts-explicit-order.py +0 -0
  107. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-wgtd-pw-indices.py +0 -0
  108. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-wgtd-pw-pvals.py +0 -0
  109. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-wgtd-pw-tstats.py +0 -0
  110. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-cat-zscores-explicit-order.py +0 -0
  111. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-mr-explicit-order.py +0 -0
  112. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-mr-pw-idxs.py +0 -0
  113. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-mr-scale-mean-pw-idxs-alt.py +0 -0
  114. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-mr-scale-mean-pw-idxs.py +0 -0
  115. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-mr-x-cat-date-smoothed-col-idx-w3.py +0 -0
  116. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat-x-mr-x-cat-date-smoothed-col-pct-w3.py +0 -0
  117. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat_x_cat_hirotsu_chi_squared.txt +0 -0
  118. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat_x_cat_hirotsu_pvals.txt +0 -0
  119. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/cat_x_cat_with_hs_hirotsu_pvals.txt +0 -0
  120. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/col-per-moe-cat-x-cat-hs-2rows-1col.py +0 -0
  121. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/col-std-dev-cat-x-cat-hs-2rows-1col.py +0 -0
  122. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/col-std-err-cat-x-cat-hs-2rows-1col.py +0 -0
  123. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/datetime-x-cat-date-smoothed-col-idx-w3.py +0 -0
  124. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/datetime-x-cat-date-smoothed-col-pct-w3.py +0 -0
  125. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/econ-gender-x-ideology-weighted-col-prop-moe.py +0 -0
  126. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/econ-gender-x-ideology-weighted-row-prop-moe.py +0 -0
  127. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/econ-gender-x-ideology-weighted-row-std-dev.py +0 -0
  128. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/econ-gender-x-ideology-weighted-table-prop-moe.py +0 -0
  129. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-date-smoothed-col-idx-w3.py +0 -0
  130. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-date-smoothed-col-pct-w3.py +0 -0
  131. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-explicit-order.py +0 -0
  132. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-col-moe.py +0 -0
  133. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-col-stddev.py +0 -0
  134. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-col-stderr.py +0 -0
  135. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-column-proportions.py +0 -0
  136. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-columns-margin-proportions.py +0 -0
  137. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-explicit-order.py +0 -0
  138. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-pvals.py +0 -0
  139. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-pw-idxs.py +0 -0
  140. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-row-margin-proportions.py +0 -0
  141. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-row-proportions.py +0 -0
  142. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-tbl-stddev.py +0 -0
  143. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-tbl-stderr.py +0 -0
  144. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-hs-zscores.py +0 -0
  145. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-pw-idxs-alt.py +0 -0
  146. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-pw-idxs.py +0 -0
  147. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-weighted-col-moe.py +0 -0
  148. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-weighted-col-std-dev.py +0 -0
  149. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-weighted-col-std-err.py +0 -0
  150. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-weighted-table-moe.py +0 -0
  151. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-weighted-table-std-dev.py +0 -0
  152. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-weighted-table-std-err.py +0 -0
  153. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-cat-weighted-zscores.py +0 -0
  154. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-mr-column-proportions.py +0 -0
  155. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-mr-columns-margin-proportions.py +0 -0
  156. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-mr-explicit-order.py +0 -0
  157. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-mr-pw-idxs.py +0 -0
  158. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-mr-pw-pvals.py +0 -0
  159. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-mr-pw-tstats.py +0 -0
  160. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-mr-row-margin-proportions.py +0 -0
  161. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr-x-mr-row-proportions.py +0 -0
  162. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr_x_cat_chi_squared_rows.txt +0 -0
  163. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/mr_x_cat_pairwise_pvals.txt +0 -0
  164. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/num-arr-means-grouped-by-cat-hs-p-vals-col-7.py +0 -0
  165. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/num-arr-means-grouped-by-cat-hs-t-stats-col-7.py +0 -0
  166. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/num-arr-means-grouped-by-cat-p-vals-col-4.py +0 -0
  167. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/num-arr-means-grouped-by-cat-t-stats-col-4.py +0 -0
  168. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/num-array-means-grouped-by-cat-date-smoothed.py +0 -0
  169. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/numeric-x-cat-date-smoothed-col-idx-w3.py +0 -0
  170. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/numeric-x-cat-date-smoothed-col-pct-w3.py +0 -0
  171. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/txt-x-cat-date-smoothed-col-idx-w3.py +0 -0
  172. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/expectations/txt-x-cat-date-smoothed-col-pct-w3.py +0 -0
  173. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/__init__.py +0 -0
  174. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/admit-x-dept-unweighted.json +0 -0
  175. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/admit-x-gender-weighted.json +0 -0
  176. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/age-x-accrpipe.json +0 -0
  177. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-as-0th.json +0 -0
  178. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-cat-x-ca-subvar-user-missing.json +0 -0
  179. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-cat-x-ca-subvar.json +0 -0
  180. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-cat-x-mr-x-ca-subvar-hs.json +0 -0
  181. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-single-cat.json +0 -0
  182. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-subvar-hs-x-mr-x-ca-cat.json +0 -0
  183. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-subvar-hs-x-mr.json +0 -0
  184. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-subvar-x-ca-cat-empties.json +0 -0
  185. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-subvar-x-ca-cat-hs.json +0 -0
  186. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-subvar-x-ca-cat-mean.json +0 -0
  187. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-subvar-x-ca-cat-x-cat-date.json +0 -0
  188. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-subvar-x-ca-cat-x-mr.json +0 -0
  189. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-x-cat-hs.json +0 -0
  190. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-x-mr-hs.json +0 -0
  191. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-x-mr-weighted-hs.json +0 -0
  192. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-x-mr.json +0 -0
  193. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/ca-x-single-cat.json +0 -0
  194. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-4-x-cat-4.json +0 -0
  195. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-4-x-cat-5.json +0 -0
  196. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-date-mean.json +0 -0
  197. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-date-x-cat.json +0 -0
  198. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-date.json +0 -0
  199. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-hs-mt-x-cat-hs-mt.json +0 -0
  200. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-hs-mt.json +0 -0
  201. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-hs-subdiff-x-cat.json +0 -0
  202. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-hs-x-cat-date.json +0 -0
  203. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-hs-x-cat-hs-empties.json +0 -0
  204. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-hs-x-cat-hs.json +0 -0
  205. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-hs-x-cat.json +0 -0
  206. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-hs-x-compare-groups.json +0 -0
  207. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-hs-x-mr-wgtd.json +0 -0
  208. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-hs-x-mr.json +0 -0
  209. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-mean.json +0 -0
  210. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-means-and-counts.json +0 -0
  211. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-means-hs.json +0 -0
  212. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-median.json +0 -0
  213. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-stddev.json +0 -0
  214. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-subtot-order.json +0 -0
  215. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-sum-x-mr.json +0 -0
  216. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-sum.json +0 -0
  217. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-user-missing.json +0 -0
  218. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-all-missing-row-elements.json +0 -0
  219. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-date-wgtd.json +0 -0
  220. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-date.json +0 -0
  221. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-filt-complete.json +0 -0
  222. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-filt.json +0 -0
  223. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-german-weighted.json +0 -0
  224. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-hs-2rows-1col.json +0 -0
  225. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-hs-missing.json +0 -0
  226. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-hs-total-bottom.json +0 -0
  227. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-hs.json +0 -0
  228. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-mean-subtot.json +0 -0
  229. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-mean-wgtd.json +0 -0
  230. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-weighted-ttests.json +0 -0
  231. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-wgtd.json +0 -0
  232. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat-with-empty-cols.json +0 -0
  233. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-cat.json +0 -0
  234. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-datetime.json +0 -0
  235. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-items-x-cats-hs.json +0 -0
  236. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-logical.json +0 -0
  237. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-2.json +0 -0
  238. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-pruned-col.json +0 -0
  239. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-pruned-row-col.json +0 -0
  240. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-pruned-row.json +0 -0
  241. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-sentry.json +0 -0
  242. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-stddev.json +0 -0
  243. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-subvar-means.json +0 -0
  244. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-unicode-sv-alias.json +0 -0
  245. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-weighted-hs.json +0 -0
  246. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-x-cat-date.json +0 -0
  247. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-x-cat-missing.json +0 -0
  248. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-x-cat.json +0 -0
  249. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-x-mr-empty-cols.json +0 -0
  250. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-x-mr-pruned-rows.json +0 -0
  251. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr-x-mr.json +0 -0
  252. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-mr.json +0 -0
  253. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-num-hs-prune.json +0 -0
  254. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat-x-num-x-datetime.json +0 -0
  255. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/cat.json +0 -0
  256. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/date.json +0 -0
  257. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/datetime-x-cat-date.json +0 -0
  258. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/deck-with-mean.json +0 -0
  259. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/dichotomized-numeric-mean.json +0 -0
  260. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/econ-blame-with-hs.json +0 -0
  261. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/econ-blame-x-ideology-col-hs.json +0 -0
  262. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/econ-blame-x-ideology-row-and-col-hs.json +0 -0
  263. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/econ-blame-x-ideology-row-hs.json +0 -0
  264. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/econ-gender-x-ideology-weighted.json +0 -0
  265. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/econ-mean-age-blame-x-gender.json +0 -0
  266. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/econ-mean-no-dims.json +0 -0
  267. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/econ-nodata-no-dims.json +0 -0
  268. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/econ-us-problem-x-bigger-problem.json +0 -0
  269. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/food-group-x-shape-of-pasta-2rows-insertion.json +0 -0
  270. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/food-group-x-shape-pasta-2rows1col-insertion.json +0 -0
  271. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/fruit-hs-top-bottom.json +0 -0
  272. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/fruit-x-pets-array-pets-first.json +0 -0
  273. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/fruit-x-pets-array-subvars-first.json +0 -0
  274. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/fruit-x-pets-array.json +0 -0
  275. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/fruit-x-pets-hs-top-bottom.json +0 -0
  276. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/fruit-x-pets.json +0 -0
  277. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/full-cube.json +0 -0
  278. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/gender-party-race.json +0 -0
  279. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/gender-x-weight.json +0 -0
  280. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/letters-x-pets-hs.json +0 -0
  281. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/logical-univariate.json +0 -0
  282. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mean-cat-x-cat.json +0 -0
  283. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/means-3d.json +0 -0
  284. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/means-cat-hs-x-cat-hs.json +0 -0
  285. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/means-cat-x-cat-hs.json +0 -0
  286. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/means-cat-x-mr-2.json +0 -0
  287. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/means-cat-x-mr.json +0 -0
  288. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/means-mr-x-cat.json +0 -0
  289. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/median-cat-x-cat-hs.json +0 -0
  290. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/median-cat-x-mr.json +0 -0
  291. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/median-mr-x-cat.json +0 -0
  292. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/missing-cat-hs.json +0 -0
  293. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-1-x-mr-3.json +0 -0
  294. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-mean-filt-wgtd.json +0 -0
  295. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-mean-weighted.json +0 -0
  296. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-mean.json +0 -0
  297. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-median.json +0 -0
  298. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-stddev.json +0 -0
  299. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-sum.json +0 -0
  300. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-wgtd.json +0 -0
  301. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-ca-cat-x-ca-subvar.json +0 -0
  302. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-ca-hs.json +0 -0
  303. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-2.json +0 -0
  304. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-date.json +0 -0
  305. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-hs-mt.json +0 -0
  306. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-mean-weighted.json +0 -0
  307. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-mean.json +0 -0
  308. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-profiles-stats-weighted.json +0 -0
  309. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-pruned-col.json +0 -0
  310. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-pruned-row-col.json +0 -0
  311. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-pruned-row.json +0 -0
  312. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-with-means.json +0 -0
  313. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-x-mr-prune.json +0 -0
  314. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat-x-mr.json +0 -0
  315. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-cat.json +0 -0
  316. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-compare-groups.json +0 -0
  317. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-mr-2.json +0 -0
  318. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-mr-index-table.json +0 -0
  319. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-mr-mean-weighted.json +0 -0
  320. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-mr-mean.json +0 -0
  321. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-mr-means.json +0 -0
  322. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-mr-median.json +0 -0
  323. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-mr-selected-categories.json +0 -0
  324. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-mr-single-cat.json +0 -0
  325. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-mr-sum.json +0 -0
  326. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-mr-with-pruning.json +0 -0
  327. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-mr.json +0 -0
  328. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr-x-single-wave.json +0 -0
  329. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr_insertions/cat-hs-top-btm.json +0 -0
  330. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr_insertions/cat-x-mr-hs.json +0 -0
  331. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr_insertions/cat-x-mr.json +0 -0
  332. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr_insertions/mr-x-cat.json +0 -0
  333. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr_insertions/mr-x-mr.json +0 -0
  334. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr_insertions/scorecard.json +0 -0
  335. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/mr_insertions/univariate-mr.json +0 -0
  336. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/not-mr-cats.json +0 -0
  337. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/nssat-mr-x-3vl.json +0 -0
  338. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/nssat-mr-x-mr.json +0 -0
  339. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/num-binned.json +0 -0
  340. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/num-ranges.json +0 -0
  341. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/num-x-num-empty.json +0 -0
  342. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/num.json +0 -0
  343. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric-measures-x-cat.json +0 -0
  344. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric-x-cat-date.json +0 -0
  345. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-cat-date.json +0 -0
  346. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-cat-hs-weighted.json +0 -0
  347. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-cat-hs.json +0 -0
  348. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-cat-weighted.json +0 -0
  349. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-cat.json +0 -0
  350. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-date.json +0 -0
  351. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-means-no-grouping-weighted.json +0 -0
  352. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-means-no-grouping.json +0 -0
  353. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-means-scale-measures.json +0 -0
  354. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-means-x-mr-weighted.json +0 -0
  355. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-means-x-mr.json +0 -0
  356. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-median-grouped-by-cat.json +0 -0
  357. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-median-no-grouping.json +0 -0
  358. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-median-x-mr.json +0 -0
  359. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-multi-numeric-measures-grouped-by-cat.json +0 -0
  360. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-multi-numeric-measures-x-mr.json +0 -0
  361. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-stddev-grouped-by-cat.json +0 -0
  362. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-stddev-no-grouping.json +0 -0
  363. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-stddev-x-mr.json +0 -0
  364. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-sum-grouped-by-cat-hs.json +0 -0
  365. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-sum-grouped-by-cat.json +0 -0
  366. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-sum-no-grouping.json +0 -0
  367. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-sum-x-mr.json +0 -0
  368. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/numeric_arrays/num-arr-sums-with-nan-values.json +0 -0
  369. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/om-sgp8334215-vn-2019-sep-19-strand.json +0 -0
  370. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/om-sgp8334215-vn-2019-sep-19.json +0 -0
  371. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/overlaps/ca-sub-x-ca-cat-x-mr-sub-x-mr-sel.json +0 -0
  372. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/overlaps/cat-hs-x-mr.json +0 -0
  373. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/overlaps/cat-simple-x-mr.json +0 -0
  374. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/overlaps/cat-st-x-mr.json +0 -0
  375. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/overlaps/cat-x-mr-gender-x-all-pets-owned.json +0 -0
  376. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/overlaps/cat-x-mr-realistic-example.json +0 -0
  377. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/overlaps/cat-x-mr-sub-x-mr-sel.json +0 -0
  378. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/overlaps/mr-single-subvar-x-mr.json +0 -0
  379. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/overlaps/mr-x-mr-realistic-example.json +0 -0
  380. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/overlaps/mr-x-mr.json +0 -0
  381. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pairwise-hirotsu-illness-x-occupation-plain-weights.json +0 -0
  382. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pairwise-hirotsu-illness-x-occupation-square-weights.json +0 -0
  383. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pairwise-hirotsu-illness-x-occupation-with-hs.json +0 -0
  384. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pairwise-hirotsu-illness-x-occupation.json +0 -0
  385. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pairwise-hirotsu-occupation-x-illness.json +0 -0
  386. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pets-array-cat-first.json +0 -0
  387. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pets-array-subvar-first.json +0 -0
  388. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pets-array-x-pets.json +0 -0
  389. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pets-array.json +0 -0
  390. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pets-x-fruit-hs.json +0 -0
  391. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pets-x-fruit.json +0 -0
  392. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pets-x-pets-array.json +0 -0
  393. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/pets-x-pets.json +0 -0
  394. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/profiles-percents.json +0 -0
  395. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/prompted-awareness.json +0 -0
  396. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale-with-null-values.json +0 -0
  397. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/bolshevik-hair.json +0 -0
  398. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/ca-cat-x-items.json +0 -0
  399. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/ca-items-x-cat.json +0 -0
  400. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/ca-x-mr.json +0 -0
  401. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/cat-nps-numval-x-cat.json +0 -0
  402. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/cat-single-element-x-cat.json +0 -0
  403. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/cat-x-ca-cat-x-items.json +0 -0
  404. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/cat-x-cat-sm-margin.json +0 -0
  405. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/cat-x-cat.json +0 -0
  406. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/cat-x-mr.json +0 -0
  407. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/mr-x-cat.json +0 -0
  408. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/univariate-ca-subvar.json +0 -0
  409. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/univariate-cat-with-all-null-numeric-value.json +0 -0
  410. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/univariate-cat-with-null-numeric-value.json +0 -0
  411. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scale_means/univariate-cat.json +0 -0
  412. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/scorecard.json +0 -0
  413. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/selected-3way-2-filledmissing.json +0 -0
  414. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/selected-3way-filledmissing.json +0 -0
  415. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/simple-ca-hs.json +0 -0
  416. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/simple-cat-array.json +0 -0
  417. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/simple-mr.json +0 -0
  418. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/single-col-margin-not-iterable.json +0 -0
  419. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/squared-weights-cat-x-cat.json +0 -0
  420. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/squared-weights.json +0 -0
  421. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/stats-test.json +0 -0
  422. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/sum-cat-x-mr.json +0 -0
  423. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/sum-mr-x-cat.json +0 -0
  424. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/test-dashboard-fixture.json +0 -0
  425. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/text.json +0 -0
  426. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/transforms/test-dashboard-transform-no-ordering.json +0 -0
  427. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/transforms/test-dashboard-transform-single-el-visible.json +0 -0
  428. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/txt-x-cat-date.json +0 -0
  429. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/univ-mr-with-hs.json +0 -0
  430. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/univariate-categorical.json +0 -0
  431. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/fixtures/xyz-simple-alltypes.json +0 -0
  432. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/__init__.py +0 -0
  433. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_collator.py +0 -0
  434. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_cube.py +0 -0
  435. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_dimension.py +0 -0
  436. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_headers_and_subtotals.py +0 -0
  437. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_index_table.py +0 -0
  438. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_matrix.py +0 -0
  439. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_multiple_response.py +0 -0
  440. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_numeric_array.py +0 -0
  441. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_pairwise_significance.py +0 -0
  442. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_scale_additional_measures.py +0 -0
  443. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_scale_means.py +0 -0
  444. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_smoothing.py +0 -0
  445. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/integration/test_stripe.py +0 -0
  446. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/__init__.py +0 -0
  447. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/matrix/__init__.py +0 -0
  448. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/matrix/test_assembler.py +0 -0
  449. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/matrix/test_cubemeasure.py +0 -0
  450. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/matrix/test_measure.py +0 -0
  451. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/matrix/test_subtotals.py +0 -0
  452. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/stripe/__init__.py +0 -0
  453. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/stripe/test_assembler.py +0 -0
  454. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/stripe/test_cubemeasure.py +0 -0
  455. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/stripe/test_insertion.py +0 -0
  456. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/test_collator.py +0 -0
  457. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/test_cube.py +0 -0
  458. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/test_cubepart.py +0 -0
  459. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/test_dimension.py +0 -0
  460. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/test_enum.py +0 -0
  461. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/test_scalar.py +0 -0
  462. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/test_smoothing.py +0 -0
  463. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unit/test_util.py +0 -0
  464. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/unitutil.py +0 -0
  465. {cr_cube-3.3.3 → cr_cube-3.3.5}/tests/util.py +0 -0
@@ -1,5 +1,14 @@
1
1
  # History of Changes
2
2
 
3
+ ### 3.2.0
4
+
5
+ - Add table code and label
6
+ - Cleanup repo
7
+
8
+ ### 3.1.5
9
+
10
+ - Add audience ratio measure
11
+
3
12
  ### 3.1.4
4
13
 
5
14
  - Sort column by opposing row
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cr_cube
3
- Version: 3.3.3
3
+ Version: 3.3.5
4
4
  Summary: Crunch.io Cube library
5
5
  Home-page: https://github.com/Crunch-io/crunch-cube/
6
6
  Author: Crunch.io
@@ -119,7 +119,19 @@ Please visit <https://crunch-cube.readthedocs.io/en/latest> for the API referenc
119
119
 
120
120
  ## Changes
121
121
 
122
+ ### 3.3.5
123
+
124
+ - Fix bug in `_Strand.table_base` and `_Strand.table_missing` for MRs.
125
+
126
+ ### 3.3.4
127
+
128
+ - Fix bug in `_Slice.rows_disaggregated_missing_unweighted_counts` for Numeric Array
129
+ grouped by categorical
130
+ - Fix bug in `_Strand.table_base_scalar` and `_Strand.table_base_range` when a variable
131
+ is entirely missing.
132
+
122
133
  ### 3.3.3
134
+
123
135
  - Add information about missing values to partitions:
124
136
  - `_Nub`: `.table_missing`
125
137
  - `_Strand`: `.table_missing`, `.disaggregated_missing_unweighted_counts`,
@@ -142,13 +154,5 @@ Please visit <https://crunch-cube.readthedocs.io/en/latest> for the API referenc
142
154
 
143
155
  - Fix translate_element_id when is is None
144
156
 
145
- ### 3.2.0
146
-
147
- - Add table code and label
148
- - Cleanup repo
149
-
150
- ### 3.1.5
151
-
152
- - Add audience ratio measure
153
157
 
154
158
  For a complete list of changes see [history](https://github.com/Crunch-io/crunch-cube/blob/master/HISTORY.md).
@@ -88,7 +88,19 @@ Please visit <https://crunch-cube.readthedocs.io/en/latest> for the API referenc
88
88
 
89
89
  ## Changes
90
90
 
91
+ ### 3.3.5
92
+
93
+ - Fix bug in `_Strand.table_base` and `_Strand.table_missing` for MRs.
94
+
95
+ ### 3.3.4
96
+
97
+ - Fix bug in `_Slice.rows_disaggregated_missing_unweighted_counts` for Numeric Array
98
+ grouped by categorical
99
+ - Fix bug in `_Strand.table_base_scalar` and `_Strand.table_base_range` when a variable
100
+ is entirely missing.
101
+
91
102
  ### 3.3.3
103
+
92
104
  - Add information about missing values to partitions:
93
105
  - `_Nub`: `.table_missing`
94
106
  - `_Strand`: `.table_missing`, `.disaggregated_missing_unweighted_counts`,
@@ -111,13 +123,5 @@ Please visit <https://crunch-cube.readthedocs.io/en/latest> for the API referenc
111
123
 
112
124
  - Fix translate_element_id when is is None
113
125
 
114
- ### 3.2.0
115
-
116
- - Add table code and label
117
- - Cleanup repo
118
-
119
- ### 3.1.5
120
-
121
- - Add audience ratio measure
122
126
 
123
127
  For a complete list of changes see [history](https://github.com/Crunch-io/crunch-cube/blob/master/HISTORY.md).
@@ -2,4 +2,4 @@
2
2
 
3
3
  """Initialization module for crunch-cube package."""
4
4
 
5
- __version__ = "3.3.3"
5
+ __version__ = "3.3.5"
@@ -549,7 +549,11 @@ class Cube:
549
549
  In case of presence of valid counts in the cube response the counts are replaced
550
550
  with the valid counts measure.
551
551
  """
552
- return self.unweighted_counts_with_missings[self._valid_idxs]
552
+ return (
553
+ self._measures.unweighted_valid_counts.raw_cube_array[self._valid_idxs]
554
+ if self._measures.unweighted_valid_counts is not None
555
+ else self._measures.unweighted_counts.raw_cube_array[self._valid_idxs]
556
+ )
553
557
 
554
558
  @lazyproperty
555
559
  def unweighted_counts_with_missings(self) -> np.ndarray:
@@ -558,10 +562,12 @@ class Cube:
558
562
  The difference from .unweighted_counts is that this property includes values
559
563
  for missing categories.
560
564
  """
565
+ # --- Use subsetting by `.all_idxs` to rearrange dimensions when numeric
566
+ # --- array requires it
561
567
  return (
562
- self._measures.unweighted_valid_counts.raw_cube_array
568
+ self._measures.unweighted_valid_counts.raw_cube_array[self._all_idxs]
563
569
  if self._measures.unweighted_valid_counts is not None
564
- else self._measures.unweighted_counts.raw_cube_array
570
+ else self._measures.unweighted_counts.raw_cube_array[self._all_idxs]
565
571
  )
566
572
 
567
573
  @lazyproperty
@@ -777,6 +783,16 @@ class Cube:
777
783
  # the row, and so valid indices needs to be returned in an ordered way.
778
784
  return tuple(valid_idxs[i] for i in self._all_dimensions.dimension_order)
779
785
 
786
+ @lazyproperty
787
+ def _all_idxs(self) -> Tuple[np.ndarray, ...]:
788
+ """Tuple of int64 ndarrays of all elements idx for each dimension."""
789
+ all_idxs = np.ix_(
790
+ *tuple(d.all_elements.element_idxs for d in self._all_dimensions)
791
+ )
792
+ # The dimension order can change in case of numeric array variable on
793
+ # the row, and so the indices needs to be returned in an ordered way.
794
+ return tuple(all_idxs[i] for i in self._all_dimensions.dimension_order)
795
+
780
796
 
781
797
  class _Measures:
782
798
  """Provides access to measures contained in cube response."""
@@ -2579,8 +2579,8 @@ class _Strand(CubePartition):
2579
2579
  if self._measures.unweighted_bases.table_base_scalar is not None:
2580
2580
  return self._measures.unweighted_bases.table_base_scalar
2581
2581
 
2582
- # --- otherwise it's the same as the rows base ---
2583
- return self.rows_base
2582
+ # --- otherwise it's the same as the unweighted bases ---
2583
+ return self.unweighted_bases
2584
2584
 
2585
2585
  @lazyproperty
2586
2586
  def table_base_range(self):
@@ -2793,8 +2793,6 @@ class _DisaggregatedMissings(_BaseMarginal):
2793
2793
  @lazyproperty
2794
2794
  def _inner_dtype(self):
2795
2795
  """numpy.dtype used for items in the arrays of tuples in blocks"""
2796
- # --- Note that the string notation for a tuple of length 1 ("d,")
2797
- # --- does not work on all versions of numpy we support (python 3.8 testrunners)
2798
2796
  return np.dtype([(f"f{i}", np.float64) for i in range(self._inner_size)])
2799
2797
 
2800
2798
  @lazyproperty
@@ -746,6 +746,8 @@ class _UnweightedBases(_BaseSecondOrderMeasure):
746
746
  the MR case.
747
747
  """
748
748
  bases = self._unweighted_cube_counts.bases
749
+ if self._unweighted_cube_counts.bases.shape == (0,):
750
+ return np.array([0.0, 0.0]) # --- No valid categories
749
751
  return np.array([np.min(bases), np.max(bases)])
750
752
 
751
753
  @lazyproperty
@@ -753,6 +755,8 @@ class _UnweightedBases(_BaseSecondOrderMeasure):
753
755
  """Optional np.float64 of the base (available across non-array dimensions)"""
754
756
  if self._rows_dimension.dimension_type in DT.ARRAY_TYPES:
755
757
  return None
758
+ if self._unweighted_cube_counts.bases.shape == (0,):
759
+ return 0.0 # --- No valid categories
756
760
  return self._unweighted_cube_counts.bases[0]
757
761
 
758
762
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cr_cube
3
- Version: 3.3.3
3
+ Version: 3.3.5
4
4
  Summary: Crunch.io Cube library
5
5
  Home-page: https://github.com/Crunch-io/crunch-cube/
6
6
  Author: Crunch.io
@@ -119,7 +119,19 @@ Please visit <https://crunch-cube.readthedocs.io/en/latest> for the API referenc
119
119
 
120
120
  ## Changes
121
121
 
122
+ ### 3.3.5
123
+
124
+ - Fix bug in `_Strand.table_base` and `_Strand.table_missing` for MRs.
125
+
126
+ ### 3.3.4
127
+
128
+ - Fix bug in `_Slice.rows_disaggregated_missing_unweighted_counts` for Numeric Array
129
+ grouped by categorical
130
+ - Fix bug in `_Strand.table_base_scalar` and `_Strand.table_base_range` when a variable
131
+ is entirely missing.
132
+
122
133
  ### 3.3.3
134
+
123
135
  - Add information about missing values to partitions:
124
136
  - `_Nub`: `.table_missing`
125
137
  - `_Strand`: `.table_missing`, `.disaggregated_missing_unweighted_counts`,
@@ -142,13 +154,5 @@ Please visit <https://crunch-cube.readthedocs.io/en/latest> for the API referenc
142
154
 
143
155
  - Fix translate_element_id when is is None
144
156
 
145
- ### 3.2.0
146
-
147
- - Add table code and label
148
- - Cleanup repo
149
-
150
- ### 3.1.5
151
-
152
- - Add audience ratio measure
153
157
 
154
158
  For a complete list of changes see [history](https://github.com/Crunch-io/crunch-cube/blob/master/HISTORY.md).
@@ -951,6 +951,21 @@ class Test_Slice:
951
951
  ],
952
952
  ]
953
953
 
954
+ def test_it_knows_the_disaggregated_missing_values_for_NUMA_x_CAT(self):
955
+ slice = Cube(NUMA.NUM_ARR_MEANS_GROUPED_BY_CAT_DATE).partitions[0]
956
+
957
+ assert slice.rows_disaggregated_missing_labels == ("No Data",)
958
+ assert slice.rows_disaggregated_missing_element_ids == (-1,)
959
+ assert slice.rows_disaggregated_missing_unweighted_counts.tolist() == [
960
+ (0.0,),
961
+ (0.0,),
962
+ (0.0,),
963
+ (0.0,),
964
+ ]
965
+ assert slice.columns_disaggregated_missing_labels is None
966
+ assert slice.columns_disaggregated_missing_element_ids is None
967
+ assert slice.columns_disaggregated_missing_unweighted_counts is None
968
+
954
969
  @pytest.mark.parametrize(
955
970
  "fixture, row_order, col_order, expectation",
956
971
  (
@@ -2684,15 +2699,15 @@ class Test_Strand:
2684
2699
  def test_it_provides_table_missing_for_MR(self):
2685
2700
  strand = Cube(CR.MR_WGTD).partitions[0]
2686
2701
  assert strand.table_missing.tolist() == [
2687
- 258720.0,
2688
- 271009.0,
2689
- 266853.0,
2690
- 271703.0,
2691
- 252885.0,
2692
- 275224.0,
2693
- 279589.0,
2694
- 278984.0,
2695
- 277153.0,
2702
+ 236761.0,
2703
+ 236761.0,
2704
+ 236761.0,
2705
+ 236761.0,
2706
+ 236761.0,
2707
+ 236761.0,
2708
+ 236761.0,
2709
+ 236761.0,
2710
+ 236761.0,
2696
2711
  ]
2697
2712
 
2698
2713
  def test_it_provides_table_missing_for_NUMA(self):
@@ -908,6 +908,26 @@ class Test_UnweightedBases:
908
908
 
909
909
  assert unweighted_bases.table_base_range.tolist() == [5, 25]
910
910
 
911
+ def test_it_knows_its_table_base_scalar_when_no_valid_categories(
912
+ self, request, _unweighted_cube_counts_prop_, unweighted_cube_counts_
913
+ ):
914
+ rows_dimension_ = instance_mock(request, Dimension)
915
+ _unweighted_cube_counts_prop_.return_value = unweighted_cube_counts_
916
+ unweighted_cube_counts_.bases = np.array([])
917
+ unweighted_bases = _UnweightedBases(rows_dimension_, None, None)
918
+
919
+ assert unweighted_bases.table_base_scalar == 0.0
920
+
921
+ def test_it_knows_its_table_base_range_when_no_valid_categories(
922
+ self, request, _unweighted_cube_counts_prop_, unweighted_cube_counts_
923
+ ):
924
+ rows_dimension_ = instance_mock(request, Dimension)
925
+ _unweighted_cube_counts_prop_.return_value = unweighted_cube_counts_
926
+ unweighted_cube_counts_.bases = np.array([])
927
+ unweighted_bases = _UnweightedBases(rows_dimension_, None, None)
928
+
929
+ assert unweighted_bases.table_base_range == pytest.approx([0.0, 0.0])
930
+
911
931
  # fixture components ---------------------------------------------
912
932
 
913
933
  @pytest.fixture
@@ -1,9 +1,8 @@
1
1
  [tox]
2
- envlist = py38, py39, py310, py311, py312, coverage, lint
2
+ envlist = py39, py310, py311, py312, coverage, lint
3
3
 
4
4
  [gh-actions]
5
5
  python =
6
- 3.8: py38
7
6
  3.9: py39
8
7
  3.10: py310
9
8
  3.11: py311
@@ -11,7 +10,6 @@ python =
11
10
 
12
11
  [testenv]
13
12
  basepython =
14
- py38: python3.8
15
13
  py39: python3.9
16
14
  py310: python3.10
17
15
  py311: python3.11
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes