testcut p2 av1s: heavy-mode kill runner, failing parser, lane lists
Browse files at this commitf7de1832612f32376176a824eafea54b80584fffParent: 6bdd14113 changed files +1008 -0
- .gitignore +3 -0
- lanes/testcut/p2-av1stream.heavy.ord.tsv +105 -0
- lanes/testcut/p2-av1stream.heavy.tsv +105 -0
- lanes/testcut/p2-av1stream.heavy.txt +105 -0
- lanes/testcut/p2-av1stream.idx1.txt +30 -0
- lanes/testcut/p2-av1stream.idx2.txt +30 -0
- lanes/testcut/p2-av1stream.sample.json +1 -0
- lanes/testcut/p2-av1stream.shard1.tsv +35 -0
- lanes/testcut/p2-av1stream.shard2.tsv +35 -0
- lanes/testcut/p2-av1stream.shard3.tsv +35 -0
- scripts/kill-matrix-analyze.py +291 -0
- scripts/kill-matrix.sh +171 -0
- scripts/mutate.py +62 -0
.gitignoremodified+3 -0
| @@ -15,3 +15,6 @@ scripts/aac-tables/sbr-cache.json | |||
| 15 | .cache/ | 15 | .cache/ |
| 16 | lanes/wedge_dump | 16 | lanes/wedge_dump |
| 17 | /graphify-out | 17 | /graphify-out |
| 18 | + | ||
| 19 | +# testcut p2 av1s per-test coverage (214 MB, local only) | ||
| 20 | +lanes/testcut/p2-av1stream.cov/ | ||
lanes/testcut/p2-av1stream.heavy.ord.tsvadded+105 -0
| @@ -0,0 +1,105 @@ | |||
| 1 | +1 stream::tests::t05::a_real_aomenc_square_only_inter_sequence_with_a_64x64_intra_superblock_decodes_pixel_exact | ||
| 2 | +2 stream::tests::t05::a_real_aomenc_inter_sequence_with_temporal_mv_candidates_decodes_pixel_exact | ||
| 3 | +3 stream::tests::t05::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact | ||
| 4 | +4 stream::tests::t05::a_real_aomenc_inter_sequence_with_intra_16x4_strips_in_1to4_partitions_decodes_pixel_exact | ||
| 5 | +5 stream::tests::t05::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact | ||
| 6 | +6 stream::tests::t06::a_real_aomenc_stream_with_interintra_wedge_decodes_pixel_exact | ||
| 7 | +7 stream::tests::t05::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact | ||
| 8 | +8 stream::tests::t04::a_real_aomenc_10bit_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact | ||
| 9 | +9 stream::tests::t09::a_real_aomenc_stream_with_a_coded_strip_whose_chroma_is_a_4to1_or_sub8_rect_decodes_pixel_exact | ||
| 10 | +10 stream::tests::t05::a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact | ||
| 11 | +11 stream::tests::t06::a_real_aomenc_stream_with_warped_motion_refuses_or_matches | ||
| 12 | +12 stream::tests::t06::a_real_aomenc_superres_key_frame_sequence_decodes_pixel_exact | ||
| 13 | +13 stream::tests::t04::a_real_aomenc_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact | ||
| 14 | +14 stream::tests::t04::real_aomenc_1to4_streams_decode_pixel_exact_and_rect_vartx_leaves_fire_before_a_named_refusal | ||
| 15 | +15 stream::tests::t05::a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_decodes_pixel_exact | ||
| 16 | +16 stream::tests::t05::a_pinned_444_inter_stream_chroma_units_inherit_their_own_quadrants_tx_type | ||
| 17 | +17 stream::tests::t05::a_pinned_444_rect_inter_stream_resolves_each_chroma_unit_from_its_own_luma_leaf | ||
| 18 | +18 stream::tests::t05::a_pinned_rect_stream_with_a_64x64_intra_block_in_an_inter_frame_decodes_pixel_exact | ||
| 19 | +19 stream::tests::t06::a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact | ||
| 20 | +20 stream::tests::t06::a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact | ||
| 21 | +21 stream::tests::t06::a_real_aomenc_stream_with_a_coded_rect_strip_below_16x16_decodes_pixel_exact | ||
| 22 | +22 stream::tests::t06::a_real_aomenc_stream_with_a_rectangular_compound_wedge_decodes_pixel_exact | ||
| 23 | +23 stream::tests::t04::a_real_aomenc_inter_sequence_with_a_superblock_level_rect_partition_decodes_pixel_exact | ||
| 24 | +24 stream::tests::t09::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_and_delta_q_decodes_pixel_exact | ||
| 25 | +25 stream::tests::t06::a_real_aomenc_stream_with_free_partitions_decodes_pixel_exact | ||
| 26 | +26 stream::tests::t08::a_real_aomenc_stream_with_filter_intra_on_a_sub16_horz_vert_strip_decodes_pixel_exact | ||
| 27 | +27 stream::tests::t07::a_real_aomenc_stream_with_delta_q_and_delta_lf_decodes_pixel_exact | ||
| 28 | +28 stream::tests::t05::a_real_aomenc_inter_sequence_with_deblocking_decodes_pixel_exact | ||
| 29 | +29 stream::tests::t09::a_real_aomenc_stream_with_filter_intra_on_a_32_level_1to4_strip_decodes_pixel_exact | ||
| 30 | +30 stream::tests::t05::a_real_aomenc_stream_with_compound_references_decodes_pixel_exact | ||
| 31 | +31 stream::tests::t04::a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual | ||
| 32 | +32 stream::tests::t08::a_real_aomenc_stream_with_filter_intra_on_a_horz_vert_strip_decodes_pixel_exact | ||
| 33 | +33 stream::tests::t07::a_real_aomenc_tiny_frame_size_sweep_decodes_pixel_exact | ||
| 34 | +34 stream::tests::t09::the_chroma_rect_gates_excluded_seed_46_decodes_pixel_exact | ||
| 35 | +35 stream::tests::t08::a_real_aomenc_10bit_filter_intra_on_a_sub16_strip_decodes_pixel_exact | ||
| 36 | +36 stream::tests::t05::a_real_aomenc_inter_sequence_with_16x16_level_1to4_partitions_decodes_pixel_exact | ||
| 37 | +37 stream::tests::t04::a_real_aomenc_stream_with_rect_screen_content_decodes_pixel_exact | ||
| 38 | +38 stream::tests::t09::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_10bit_decodes_pixel_exact | ||
| 39 | +39 stream::tests::t08::a_real_aomenc_128x128_none_inter_blocks_coded_chroma_per_mu_chunk_decodes_pixel_exact | ||
| 40 | +40 stream::tests::t09::a_real_aomenc_stream_with_a_32x32_level_1to4_partition_decodes_pixel_exact | ||
| 41 | +41 stream::tests::t06::a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact | ||
| 42 | +42 stream::tests::t08::a_frame_edge_straddling_band_decodes_pixel_exact | ||
| 43 | +43 stream::tests::t08::a_pinned_aomenc_16x8_strip_reads_its_use_filter_intra_flag | ||
| 44 | +44 stream::tests::t05::a_real_aomenc_inter_sequence_with_forward_keyframes_and_temporal_mvs_decodes_pixel_exact | ||
| 45 | +45 stream::tests::t04::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact_10bit | ||
| 46 | +46 stream::tests::t08::a_real_aomenc_stream_with_a_superblock_level_ab_partition_decodes_pixel_exact | ||
| 47 | +47 stream::tests::t04::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact | ||
| 48 | +48 stream::tests::t03::a_real_aomenc_palette_stream_with_8x8_leaves_decodes_pixel_exact | ||
| 49 | +49 stream::tests::t06::a_real_aomenc_stream_with_mandelbrot_fires_the_vert_b_partition_arm | ||
| 50 | +50 stream::tests::t06::a_real_aomenc_stream_with_interintra_decodes_pixel_exact | ||
| 51 | +51 stream::tests::t08::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_decodes_pixel_exact | ||
| 52 | +52 stream::tests::t04::a_real_aomenc_stream_with_rect_palette_decodes_pixel_exact | ||
| 53 | +53 stream::tests::t08::a_real_aomenc_stream_with_128x128_superblocks_decodes_pixel_exact | ||
| 54 | +54 stream::tests::t09::a_real_aomenc_band_stream_seed46_decodes_pixel_exact | ||
| 55 | +55 stream::tests::t08::a_real_aomenc_sb128_intra_rect_block_decodes_pixel_exact | ||
| 56 | +56 stream::tests::t08::a_32x32_frame_edge_rect_partition_with_a_flat_band_decodes_pixel_exact | ||
| 57 | +57 stream::tests::t08::a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact | ||
| 58 | +58 stream::tests::t06::a_real_compound_global_warp_12bit_stream_decodes_pixel_exact | ||
| 59 | +59 stream::tests::t06::a_real_compound_global_warp_stream_decodes_pixel_exact | ||
| 60 | +60 stream::tests::t09::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_decodes_pixel_exact | ||
| 61 | +61 stream::tests::t04::a_real_aomenc_10bit_partial_bottom_stripe_restoration_decodes_pixel_exact | ||
| 62 | +62 stream::tests::t09::a_real_aomenc_stream_with_a_16_level_1to4_partition_decodes_pixel_exact | ||
| 63 | +63 stream::tests::t07::a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly | ||
| 64 | +64 stream::tests::t08::a_real_aomenc_sb128_gathered_edge_horz_partition_decodes_pixel_exact | ||
| 65 | +65 stream::tests::t08::a_real_aomenc_stream_with_a_32x32_frame_edge_rect_partition_decodes_pixel_exact | ||
| 66 | +66 stream::tests::t08::a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact | ||
| 67 | +67 stream::tests::t06::a_real_compound_global_warp_10bit_stream_decodes_pixel_exact | ||
| 68 | +68 stream::tests::t06::a_real_force_integer_mv_warp_10bit_stream_decodes_pixel_exact | ||
| 69 | +69 stream::tests::t08::a_real_aomenc_sb128_ab_partition_at_the_128_root_decodes_pixel_exact | ||
| 70 | +70 stream::tests::t04::a_superres_all_tools_sb128_stream_decodes_pixel_exact | ||
| 71 | +71 stream::tests::t04::a_real_stream_reconstructs_identically_with_one_and_four_recon_threads | ||
| 72 | +72 stream::tests::t06::a_real_compound_global_warp_12bit_8x8_leaf_stream_decodes_pixel_exact | ||
| 73 | +73 stream::tests::t07::a_real_aomenc_stream_with_variance_aq_segmentation_decodes_pixel_exact | ||
| 74 | +74 stream::tests::t04::a_real_aomenc_inter_frame_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet | ||
| 75 | +75 stream::tests::t08::a_422_muchunk_compound_128root_pinned_stream_reaches_its_unit_walk | ||
| 76 | +76 stream::tests::t07::a_real_aomenc_stream_with_cdef_decodes_pixel_exact | ||
| 77 | +77 stream::tests::t09::the_frame_the_caller_receives_carries_no_unwritten_plane_sample | ||
| 78 | +78 stream::tests::t09::a_real_aomenc_10bit_screen_inter_sequence_codes_palette_syntax_on_rect_intra_strips | ||
| 79 | +79 stream::tests::t04::a_real_stream_filters_identically_with_one_and_four_filter_threads | ||
| 80 | +80 stream::tests::t10::a_real_aomenc_inter_sequence_with_intra_sub8x8_leaves_decodes_pixel_exact | ||
| 81 | +81 stream::tests::t08::a_real_aomenc_stream_with_a_1d_tx_class_on_a_rect_transform_decodes_pixel_exact | ||
| 82 | +82 stream::tests::t08::a_422_muchunk_iis_128root_grad128_comp_stream_is_exact_and_reaches_its_unit_walk | ||
| 83 | +83 stream::tests::t09::a_real_aomenc_stream_whose_frame_edge_partition_bit_is_horz_decodes_pixel_exact | ||
| 84 | +84 stream::tests::t09::a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact_10bit | ||
| 85 | +85 stream::tests::t04::a_real_aomenc_10bit_obmc_over_1to4_strip_neighbours_decodes_pixel_exact | ||
| 86 | +86 stream::tests::t09::the_two_10bit_film_pins_match_aomdec_on_every_decode_order_frame | ||
| 87 | +87 stream::tests::t09::a_real_aomenc_multi_tile_inter_10bit_stream_decodes_pixel_exact | ||
| 88 | +88 stream::tests::t08::a_real_aomenc_inter_128x128_none_root_decodes_pixel_exact | ||
| 89 | +89 stream::tests::t07::a_real_aomenc_both_axes_cut_corner_inter_frames_decode_pixel_exact | ||
| 90 | +90 stream::tests::t08::a_real_aomenc_key_frame_with_a_128x128_none_partition_decodes_pixel_exact | ||
| 91 | +91 stream::tests::t07::a_real_aomenc_compound_mv_stack_across_two_tile_columns_decodes_pixel_exact | ||
| 92 | +92 stream::tests::t09::a_real_aomenc_inter_sequence_with_a_split_transform_intra_strip_decodes_pixel_exact | ||
| 93 | +93 stream::tests::t06::a_real_force_integer_mv_warp_stream_decodes_pixel_exact | ||
| 94 | +94 stream::tests::t08::a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact | ||
| 95 | +95 stream::tests::t09::a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact | ||
| 96 | +96 stream::tests::t10::a_420_lossless_rect_chroma_walk_is_bounded_by_the_chroma_plane | ||
| 97 | +97 stream::tests::t06::a_real_aomenc_stream_with_ab_partitions_decodes_pixel_exact | ||
| 98 | +98 stream::tests::t01::a_real_aomenc_128x128_superblock_stream_decodes_pixel_exact | ||
| 99 | +99 stream::tests::t01::a_real_aomenc_mixed_lossless_segment_frame_decodes_sample_exact | ||
| 100 | +100 stream::tests::t09::the_grained_picture_the_caller_receives_carries_no_unwritten_plane_sample | ||
| 101 | +101 stream::tests::t01::a_real_obmc_stream_reads_a_recorded_switchable_filter_for_every_neighbour | ||
| 102 | +102 stream::tests::t03::a_real_aomenc_10bit_stream_with_a_rect_transform_decodes_pixel_exact | ||
| 103 | +103 stream::tests::t01::a_real_aomenc_inter_frame_edge_half_strip_decodes_pixel_exact | ||
| 104 | +104 stream::tests::t07::a_real_aomenc_compound_mv_stack_with_global_motion_decodes_pixel_exact | ||
| 105 | +105 stream::tests::t06::a_real_aomenc_10bit_stream_with_onesided_compound_decodes_pixel_exact | ||
lanes/testcut/p2-av1stream.heavy.tsvadded+105 -0
| @@ -0,0 +1,105 @@ | |||
| 1 | +stream::tests::t05::a_real_aomenc_square_only_inter_sequence_with_a_64x64_intra_superblock_decodes_pixel_exact 264.940091 | ||
| 2 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_temporal_mv_candidates_decodes_pixel_exact 260.357021 | ||
| 3 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact 258.803079 | ||
| 4 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_intra_16x4_strips_in_1to4_partitions_decodes_pixel_exact 218.634469 | ||
| 5 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact 175.886448 | ||
| 6 | +stream::tests::t06::a_real_aomenc_stream_with_interintra_wedge_decodes_pixel_exact 166.262468 | ||
| 7 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact 157.207205 | ||
| 8 | +stream::tests::t04::a_real_aomenc_10bit_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact 148.906127 | ||
| 9 | +stream::tests::t09::a_real_aomenc_stream_with_a_coded_strip_whose_chroma_is_a_4to1_or_sub8_rect_decodes_pixel_exact 145.576473 | ||
| 10 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact 144.779128 | ||
| 11 | +stream::tests::t06::a_real_aomenc_stream_with_warped_motion_refuses_or_matches 129.142655 | ||
| 12 | +stream::tests::t06::a_real_aomenc_superres_key_frame_sequence_decodes_pixel_exact 128.199731 | ||
| 13 | +stream::tests::t04::a_real_aomenc_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact 126.447797 | ||
| 14 | +stream::tests::t04::real_aomenc_1to4_streams_decode_pixel_exact_and_rect_vartx_leaves_fire_before_a_named_refusal 124.687742 | ||
| 15 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_decodes_pixel_exact 121.296509 | ||
| 16 | +stream::tests::t05::a_pinned_444_inter_stream_chroma_units_inherit_their_own_quadrants_tx_type 116.584203 | ||
| 17 | +stream::tests::t05::a_pinned_444_rect_inter_stream_resolves_each_chroma_unit_from_its_own_luma_leaf 116.069739 | ||
| 18 | +stream::tests::t05::a_pinned_rect_stream_with_a_64x64_intra_block_in_an_inter_frame_decodes_pixel_exact 115.764303 | ||
| 19 | +stream::tests::t06::a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact 109.221110 | ||
| 20 | +stream::tests::t06::a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact 104.052926 | ||
| 21 | +stream::tests::t06::a_real_aomenc_stream_with_a_coded_rect_strip_below_16x16_decodes_pixel_exact 98.472234 | ||
| 22 | +stream::tests::t06::a_real_aomenc_stream_with_a_rectangular_compound_wedge_decodes_pixel_exact 95.779028 | ||
| 23 | +stream::tests::t04::a_real_aomenc_inter_sequence_with_a_superblock_level_rect_partition_decodes_pixel_exact 95.208793 | ||
| 24 | +stream::tests::t09::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_and_delta_q_decodes_pixel_exact 92.727331 | ||
| 25 | +stream::tests::t06::a_real_aomenc_stream_with_free_partitions_decodes_pixel_exact 91.957481 | ||
| 26 | +stream::tests::t08::a_real_aomenc_stream_with_filter_intra_on_a_sub16_horz_vert_strip_decodes_pixel_exact 91.070479 | ||
| 27 | +stream::tests::t07::a_real_aomenc_stream_with_delta_q_and_delta_lf_decodes_pixel_exact 89.812516 | ||
| 28 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_deblocking_decodes_pixel_exact 86.592866 | ||
| 29 | +stream::tests::t09::a_real_aomenc_stream_with_filter_intra_on_a_32_level_1to4_strip_decodes_pixel_exact 84.898134 | ||
| 30 | +stream::tests::t05::a_real_aomenc_stream_with_compound_references_decodes_pixel_exact 83.330642 | ||
| 31 | +stream::tests::t04::a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual 77.469090 | ||
| 32 | +stream::tests::t08::a_real_aomenc_stream_with_filter_intra_on_a_horz_vert_strip_decodes_pixel_exact 71.309770 | ||
| 33 | +stream::tests::t07::a_real_aomenc_tiny_frame_size_sweep_decodes_pixel_exact 69.473222 | ||
| 34 | +stream::tests::t09::the_chroma_rect_gates_excluded_seed_46_decodes_pixel_exact 68.778539 | ||
| 35 | +stream::tests::t08::a_real_aomenc_10bit_filter_intra_on_a_sub16_strip_decodes_pixel_exact 66.456050 | ||
| 36 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_16x16_level_1to4_partitions_decodes_pixel_exact 62.262815 | ||
| 37 | +stream::tests::t04::a_real_aomenc_stream_with_rect_screen_content_decodes_pixel_exact 61.774027 | ||
| 38 | +stream::tests::t09::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_10bit_decodes_pixel_exact 61.502668 | ||
| 39 | +stream::tests::t08::a_real_aomenc_128x128_none_inter_blocks_coded_chroma_per_mu_chunk_decodes_pixel_exact 59.473242 | ||
| 40 | +stream::tests::t09::a_real_aomenc_stream_with_a_32x32_level_1to4_partition_decodes_pixel_exact 58.776899 | ||
| 41 | +stream::tests::t06::a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact 57.686264 | ||
| 42 | +stream::tests::t08::a_frame_edge_straddling_band_decodes_pixel_exact 57.188185 | ||
| 43 | +stream::tests::t08::a_pinned_aomenc_16x8_strip_reads_its_use_filter_intra_flag 57.057437 | ||
| 44 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_forward_keyframes_and_temporal_mvs_decodes_pixel_exact 54.851799 | ||
| 45 | +stream::tests::t04::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact_10bit 54.763863 | ||
| 46 | +stream::tests::t08::a_real_aomenc_stream_with_a_superblock_level_ab_partition_decodes_pixel_exact 54.635038 | ||
| 47 | +stream::tests::t04::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact 53.946861 | ||
| 48 | +stream::tests::t03::a_real_aomenc_palette_stream_with_8x8_leaves_decodes_pixel_exact 53.510149 | ||
| 49 | +stream::tests::t06::a_real_aomenc_stream_with_mandelbrot_fires_the_vert_b_partition_arm 53.501221 | ||
| 50 | +stream::tests::t06::a_real_aomenc_stream_with_interintra_decodes_pixel_exact 52.757679 | ||
| 51 | +stream::tests::t08::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_decodes_pixel_exact 52.049074 | ||
| 52 | +stream::tests::t04::a_real_aomenc_stream_with_rect_palette_decodes_pixel_exact 49.585261 | ||
| 53 | +stream::tests::t08::a_real_aomenc_stream_with_128x128_superblocks_decodes_pixel_exact 47.802051 | ||
| 54 | +stream::tests::t09::a_real_aomenc_band_stream_seed46_decodes_pixel_exact 47.251855 | ||
| 55 | +stream::tests::t08::a_real_aomenc_sb128_intra_rect_block_decodes_pixel_exact 46.721707 | ||
| 56 | +stream::tests::t08::a_32x32_frame_edge_rect_partition_with_a_flat_band_decodes_pixel_exact 45.999041 | ||
| 57 | +stream::tests::t08::a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact 45.320857 | ||
| 58 | +stream::tests::t06::a_real_compound_global_warp_12bit_stream_decodes_pixel_exact 45.043941 | ||
| 59 | +stream::tests::t06::a_real_compound_global_warp_stream_decodes_pixel_exact 44.768265 | ||
| 60 | +stream::tests::t09::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_decodes_pixel_exact 44.515127 | ||
| 61 | +stream::tests::t04::a_real_aomenc_10bit_partial_bottom_stripe_restoration_decodes_pixel_exact 44.453907 | ||
| 62 | +stream::tests::t09::a_real_aomenc_stream_with_a_16_level_1to4_partition_decodes_pixel_exact 44.300909 | ||
| 63 | +stream::tests::t07::a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly 43.574494 | ||
| 64 | +stream::tests::t08::a_real_aomenc_sb128_gathered_edge_horz_partition_decodes_pixel_exact 42.258867 | ||
| 65 | +stream::tests::t08::a_real_aomenc_stream_with_a_32x32_frame_edge_rect_partition_decodes_pixel_exact 41.588543 | ||
| 66 | +stream::tests::t08::a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact 40.819730 | ||
| 67 | +stream::tests::t06::a_real_compound_global_warp_10bit_stream_decodes_pixel_exact 38.833303 | ||
| 68 | +stream::tests::t06::a_real_force_integer_mv_warp_10bit_stream_decodes_pixel_exact 38.581289 | ||
| 69 | +stream::tests::t08::a_real_aomenc_sb128_ab_partition_at_the_128_root_decodes_pixel_exact 37.019724 | ||
| 70 | +stream::tests::t04::a_superres_all_tools_sb128_stream_decodes_pixel_exact 36.677306 | ||
| 71 | +stream::tests::t04::a_real_stream_reconstructs_identically_with_one_and_four_recon_threads 36.531807 | ||
| 72 | +stream::tests::t06::a_real_compound_global_warp_12bit_8x8_leaf_stream_decodes_pixel_exact 35.994635 | ||
| 73 | +stream::tests::t07::a_real_aomenc_stream_with_variance_aq_segmentation_decodes_pixel_exact 35.874673 | ||
| 74 | +stream::tests::t04::a_real_aomenc_inter_frame_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet 35.404144 | ||
| 75 | +stream::tests::t08::a_422_muchunk_compound_128root_pinned_stream_reaches_its_unit_walk 33.237113 | ||
| 76 | +stream::tests::t07::a_real_aomenc_stream_with_cdef_decodes_pixel_exact 32.407258 | ||
| 77 | +stream::tests::t09::the_frame_the_caller_receives_carries_no_unwritten_plane_sample 31.451651 | ||
| 78 | +stream::tests::t09::a_real_aomenc_10bit_screen_inter_sequence_codes_palette_syntax_on_rect_intra_strips 31.127508 | ||
| 79 | +stream::tests::t04::a_real_stream_filters_identically_with_one_and_four_filter_threads 30.401638 | ||
| 80 | +stream::tests::t10::a_real_aomenc_inter_sequence_with_intra_sub8x8_leaves_decodes_pixel_exact 29.343103 | ||
| 81 | +stream::tests::t08::a_real_aomenc_stream_with_a_1d_tx_class_on_a_rect_transform_decodes_pixel_exact 27.661633 | ||
| 82 | +stream::tests::t08::a_422_muchunk_iis_128root_grad128_comp_stream_is_exact_and_reaches_its_unit_walk 27.363240 | ||
| 83 | +stream::tests::t09::a_real_aomenc_stream_whose_frame_edge_partition_bit_is_horz_decodes_pixel_exact 27.339954 | ||
| 84 | +stream::tests::t09::a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact_10bit 26.341261 | ||
| 85 | +stream::tests::t04::a_real_aomenc_10bit_obmc_over_1to4_strip_neighbours_decodes_pixel_exact 26.022744 | ||
| 86 | +stream::tests::t09::the_two_10bit_film_pins_match_aomdec_on_every_decode_order_frame 26.009668 | ||
| 87 | +stream::tests::t09::a_real_aomenc_multi_tile_inter_10bit_stream_decodes_pixel_exact 25.509813 | ||
| 88 | +stream::tests::t08::a_real_aomenc_inter_128x128_none_root_decodes_pixel_exact 24.952498 | ||
| 89 | +stream::tests::t07::a_real_aomenc_both_axes_cut_corner_inter_frames_decode_pixel_exact 24.475722 | ||
| 90 | +stream::tests::t08::a_real_aomenc_key_frame_with_a_128x128_none_partition_decodes_pixel_exact 24.064822 | ||
| 91 | +stream::tests::t07::a_real_aomenc_compound_mv_stack_across_two_tile_columns_decodes_pixel_exact 23.767956 | ||
| 92 | +stream::tests::t09::a_real_aomenc_inter_sequence_with_a_split_transform_intra_strip_decodes_pixel_exact 23.053403 | ||
| 93 | +stream::tests::t06::a_real_force_integer_mv_warp_stream_decodes_pixel_exact 22.843460 | ||
| 94 | +stream::tests::t08::a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact 22.546881 | ||
| 95 | +stream::tests::t09::a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact 22.478690 | ||
| 96 | +stream::tests::t10::a_420_lossless_rect_chroma_walk_is_bounded_by_the_chroma_plane 22.406941 | ||
| 97 | +stream::tests::t06::a_real_aomenc_stream_with_ab_partitions_decodes_pixel_exact 21.522556 | ||
| 98 | +stream::tests::t01::a_real_aomenc_128x128_superblock_stream_decodes_pixel_exact 21.488030 | ||
| 99 | +stream::tests::t01::a_real_aomenc_mixed_lossless_segment_frame_decodes_sample_exact 21.471572 | ||
| 100 | +stream::tests::t09::the_grained_picture_the_caller_receives_carries_no_unwritten_plane_sample 21.302185 | ||
| 101 | +stream::tests::t01::a_real_obmc_stream_reads_a_recorded_switchable_filter_for_every_neighbour 21.092938 | ||
| 102 | +stream::tests::t03::a_real_aomenc_10bit_stream_with_a_rect_transform_decodes_pixel_exact 20.715907 | ||
| 103 | +stream::tests::t01::a_real_aomenc_inter_frame_edge_half_strip_decodes_pixel_exact 20.545250 | ||
| 104 | +stream::tests::t07::a_real_aomenc_compound_mv_stack_with_global_motion_decodes_pixel_exact 20.412457 | ||
| 105 | +stream::tests::t06::a_real_aomenc_10bit_stream_with_onesided_compound_decodes_pixel_exact 20.339690 | ||
lanes/testcut/p2-av1stream.heavy.txtadded+105 -0
| @@ -0,0 +1,105 @@ | |||
| 1 | +stream::tests::t05::a_real_aomenc_square_only_inter_sequence_with_a_64x64_intra_superblock_decodes_pixel_exact | ||
| 2 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_temporal_mv_candidates_decodes_pixel_exact | ||
| 3 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact | ||
| 4 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_intra_16x4_strips_in_1to4_partitions_decodes_pixel_exact | ||
| 5 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact | ||
| 6 | +stream::tests::t06::a_real_aomenc_stream_with_interintra_wedge_decodes_pixel_exact | ||
| 7 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact | ||
| 8 | +stream::tests::t04::a_real_aomenc_10bit_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact | ||
| 9 | +stream::tests::t09::a_real_aomenc_stream_with_a_coded_strip_whose_chroma_is_a_4to1_or_sub8_rect_decodes_pixel_exact | ||
| 10 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact | ||
| 11 | +stream::tests::t06::a_real_aomenc_stream_with_warped_motion_refuses_or_matches | ||
| 12 | +stream::tests::t06::a_real_aomenc_superres_key_frame_sequence_decodes_pixel_exact | ||
| 13 | +stream::tests::t04::a_real_aomenc_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact | ||
| 14 | +stream::tests::t04::real_aomenc_1to4_streams_decode_pixel_exact_and_rect_vartx_leaves_fire_before_a_named_refusal | ||
| 15 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_decodes_pixel_exact | ||
| 16 | +stream::tests::t05::a_pinned_444_inter_stream_chroma_units_inherit_their_own_quadrants_tx_type | ||
| 17 | +stream::tests::t05::a_pinned_444_rect_inter_stream_resolves_each_chroma_unit_from_its_own_luma_leaf | ||
| 18 | +stream::tests::t05::a_pinned_rect_stream_with_a_64x64_intra_block_in_an_inter_frame_decodes_pixel_exact | ||
| 19 | +stream::tests::t06::a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact | ||
| 20 | +stream::tests::t06::a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact | ||
| 21 | +stream::tests::t06::a_real_aomenc_stream_with_a_coded_rect_strip_below_16x16_decodes_pixel_exact | ||
| 22 | +stream::tests::t06::a_real_aomenc_stream_with_a_rectangular_compound_wedge_decodes_pixel_exact | ||
| 23 | +stream::tests::t04::a_real_aomenc_inter_sequence_with_a_superblock_level_rect_partition_decodes_pixel_exact | ||
| 24 | +stream::tests::t09::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_and_delta_q_decodes_pixel_exact | ||
| 25 | +stream::tests::t06::a_real_aomenc_stream_with_free_partitions_decodes_pixel_exact | ||
| 26 | +stream::tests::t08::a_real_aomenc_stream_with_filter_intra_on_a_sub16_horz_vert_strip_decodes_pixel_exact | ||
| 27 | +stream::tests::t07::a_real_aomenc_stream_with_delta_q_and_delta_lf_decodes_pixel_exact | ||
| 28 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_deblocking_decodes_pixel_exact | ||
| 29 | +stream::tests::t09::a_real_aomenc_stream_with_filter_intra_on_a_32_level_1to4_strip_decodes_pixel_exact | ||
| 30 | +stream::tests::t05::a_real_aomenc_stream_with_compound_references_decodes_pixel_exact | ||
| 31 | +stream::tests::t04::a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual | ||
| 32 | +stream::tests::t08::a_real_aomenc_stream_with_filter_intra_on_a_horz_vert_strip_decodes_pixel_exact | ||
| 33 | +stream::tests::t07::a_real_aomenc_tiny_frame_size_sweep_decodes_pixel_exact | ||
| 34 | +stream::tests::t09::the_chroma_rect_gates_excluded_seed_46_decodes_pixel_exact | ||
| 35 | +stream::tests::t08::a_real_aomenc_10bit_filter_intra_on_a_sub16_strip_decodes_pixel_exact | ||
| 36 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_16x16_level_1to4_partitions_decodes_pixel_exact | ||
| 37 | +stream::tests::t04::a_real_aomenc_stream_with_rect_screen_content_decodes_pixel_exact | ||
| 38 | +stream::tests::t09::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_10bit_decodes_pixel_exact | ||
| 39 | +stream::tests::t08::a_real_aomenc_128x128_none_inter_blocks_coded_chroma_per_mu_chunk_decodes_pixel_exact | ||
| 40 | +stream::tests::t09::a_real_aomenc_stream_with_a_32x32_level_1to4_partition_decodes_pixel_exact | ||
| 41 | +stream::tests::t06::a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact | ||
| 42 | +stream::tests::t08::a_frame_edge_straddling_band_decodes_pixel_exact | ||
| 43 | +stream::tests::t08::a_pinned_aomenc_16x8_strip_reads_its_use_filter_intra_flag | ||
| 44 | +stream::tests::t05::a_real_aomenc_inter_sequence_with_forward_keyframes_and_temporal_mvs_decodes_pixel_exact | ||
| 45 | +stream::tests::t04::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact_10bit | ||
| 46 | +stream::tests::t08::a_real_aomenc_stream_with_a_superblock_level_ab_partition_decodes_pixel_exact | ||
| 47 | +stream::tests::t04::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact | ||
| 48 | +stream::tests::t03::a_real_aomenc_palette_stream_with_8x8_leaves_decodes_pixel_exact | ||
| 49 | +stream::tests::t06::a_real_aomenc_stream_with_mandelbrot_fires_the_vert_b_partition_arm | ||
| 50 | +stream::tests::t06::a_real_aomenc_stream_with_interintra_decodes_pixel_exact | ||
| 51 | +stream::tests::t08::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_decodes_pixel_exact | ||
| 52 | +stream::tests::t04::a_real_aomenc_stream_with_rect_palette_decodes_pixel_exact | ||
| 53 | +stream::tests::t08::a_real_aomenc_stream_with_128x128_superblocks_decodes_pixel_exact | ||
| 54 | +stream::tests::t09::a_real_aomenc_band_stream_seed46_decodes_pixel_exact | ||
| 55 | +stream::tests::t08::a_real_aomenc_sb128_intra_rect_block_decodes_pixel_exact | ||
| 56 | +stream::tests::t08::a_32x32_frame_edge_rect_partition_with_a_flat_band_decodes_pixel_exact | ||
| 57 | +stream::tests::t08::a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact | ||
| 58 | +stream::tests::t06::a_real_compound_global_warp_12bit_stream_decodes_pixel_exact | ||
| 59 | +stream::tests::t06::a_real_compound_global_warp_stream_decodes_pixel_exact | ||
| 60 | +stream::tests::t09::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_decodes_pixel_exact | ||
| 61 | +stream::tests::t04::a_real_aomenc_10bit_partial_bottom_stripe_restoration_decodes_pixel_exact | ||
| 62 | +stream::tests::t09::a_real_aomenc_stream_with_a_16_level_1to4_partition_decodes_pixel_exact | ||
| 63 | +stream::tests::t07::a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly | ||
| 64 | +stream::tests::t08::a_real_aomenc_sb128_gathered_edge_horz_partition_decodes_pixel_exact | ||
| 65 | +stream::tests::t08::a_real_aomenc_stream_with_a_32x32_frame_edge_rect_partition_decodes_pixel_exact | ||
| 66 | +stream::tests::t08::a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact | ||
| 67 | +stream::tests::t06::a_real_compound_global_warp_10bit_stream_decodes_pixel_exact | ||
| 68 | +stream::tests::t06::a_real_force_integer_mv_warp_10bit_stream_decodes_pixel_exact | ||
| 69 | +stream::tests::t08::a_real_aomenc_sb128_ab_partition_at_the_128_root_decodes_pixel_exact | ||
| 70 | +stream::tests::t04::a_superres_all_tools_sb128_stream_decodes_pixel_exact | ||
| 71 | +stream::tests::t04::a_real_stream_reconstructs_identically_with_one_and_four_recon_threads | ||
| 72 | +stream::tests::t06::a_real_compound_global_warp_12bit_8x8_leaf_stream_decodes_pixel_exact | ||
| 73 | +stream::tests::t07::a_real_aomenc_stream_with_variance_aq_segmentation_decodes_pixel_exact | ||
| 74 | +stream::tests::t04::a_real_aomenc_inter_frame_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet | ||
| 75 | +stream::tests::t08::a_422_muchunk_compound_128root_pinned_stream_reaches_its_unit_walk | ||
| 76 | +stream::tests::t07::a_real_aomenc_stream_with_cdef_decodes_pixel_exact | ||
| 77 | +stream::tests::t09::the_frame_the_caller_receives_carries_no_unwritten_plane_sample | ||
| 78 | +stream::tests::t09::a_real_aomenc_10bit_screen_inter_sequence_codes_palette_syntax_on_rect_intra_strips | ||
| 79 | +stream::tests::t04::a_real_stream_filters_identically_with_one_and_four_filter_threads | ||
| 80 | +stream::tests::t10::a_real_aomenc_inter_sequence_with_intra_sub8x8_leaves_decodes_pixel_exact | ||
| 81 | +stream::tests::t08::a_real_aomenc_stream_with_a_1d_tx_class_on_a_rect_transform_decodes_pixel_exact | ||
| 82 | +stream::tests::t08::a_422_muchunk_iis_128root_grad128_comp_stream_is_exact_and_reaches_its_unit_walk | ||
| 83 | +stream::tests::t09::a_real_aomenc_stream_whose_frame_edge_partition_bit_is_horz_decodes_pixel_exact | ||
| 84 | +stream::tests::t09::a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact_10bit | ||
| 85 | +stream::tests::t04::a_real_aomenc_10bit_obmc_over_1to4_strip_neighbours_decodes_pixel_exact | ||
| 86 | +stream::tests::t09::the_two_10bit_film_pins_match_aomdec_on_every_decode_order_frame | ||
| 87 | +stream::tests::t09::a_real_aomenc_multi_tile_inter_10bit_stream_decodes_pixel_exact | ||
| 88 | +stream::tests::t08::a_real_aomenc_inter_128x128_none_root_decodes_pixel_exact | ||
| 89 | +stream::tests::t07::a_real_aomenc_both_axes_cut_corner_inter_frames_decode_pixel_exact | ||
| 90 | +stream::tests::t08::a_real_aomenc_key_frame_with_a_128x128_none_partition_decodes_pixel_exact | ||
| 91 | +stream::tests::t07::a_real_aomenc_compound_mv_stack_across_two_tile_columns_decodes_pixel_exact | ||
| 92 | +stream::tests::t09::a_real_aomenc_inter_sequence_with_a_split_transform_intra_strip_decodes_pixel_exact | ||
| 93 | +stream::tests::t06::a_real_force_integer_mv_warp_stream_decodes_pixel_exact | ||
| 94 | +stream::tests::t08::a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact | ||
| 95 | +stream::tests::t09::a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact | ||
| 96 | +stream::tests::t10::a_420_lossless_rect_chroma_walk_is_bounded_by_the_chroma_plane | ||
| 97 | +stream::tests::t06::a_real_aomenc_stream_with_ab_partitions_decodes_pixel_exact | ||
| 98 | +stream::tests::t01::a_real_aomenc_128x128_superblock_stream_decodes_pixel_exact | ||
| 99 | +stream::tests::t01::a_real_aomenc_mixed_lossless_segment_frame_decodes_sample_exact | ||
| 100 | +stream::tests::t09::the_grained_picture_the_caller_receives_carries_no_unwritten_plane_sample | ||
| 101 | +stream::tests::t01::a_real_obmc_stream_reads_a_recorded_switchable_filter_for_every_neighbour | ||
| 102 | +stream::tests::t03::a_real_aomenc_10bit_stream_with_a_rect_transform_decodes_pixel_exact | ||
| 103 | +stream::tests::t01::a_real_aomenc_inter_frame_edge_half_strip_decodes_pixel_exact | ||
| 104 | +stream::tests::t07::a_real_aomenc_compound_mv_stack_with_global_motion_decodes_pixel_exact | ||
| 105 | +stream::tests::t06::a_real_aomenc_10bit_stream_with_onesided_compound_decodes_pixel_exact | ||
lanes/testcut/p2-av1stream.idx1.txtadded+30 -0
| @@ -0,0 +1,30 @@ | |||
| 1 | +0 | ||
| 2 | +1 | ||
| 3 | +2 | ||
| 4 | +3 | ||
| 5 | +4 | ||
| 6 | +5 | ||
| 7 | +6 | ||
| 8 | +7 | ||
| 9 | +8 | ||
| 10 | +9 | ||
| 11 | +10 | ||
| 12 | +11 | ||
| 13 | +12 | ||
| 14 | +13 | ||
| 15 | +14 | ||
| 16 | +15 | ||
| 17 | +16 | ||
| 18 | +17 | ||
| 19 | +18 | ||
| 20 | +19 | ||
| 21 | +20 | ||
| 22 | +21 | ||
| 23 | +22 | ||
| 24 | +23 | ||
| 25 | +24 | ||
| 26 | +25 | ||
| 27 | +26 | ||
| 28 | +27 | ||
| 29 | +28 | ||
| 30 | +29 | ||
lanes/testcut/p2-av1stream.idx2.txtadded+30 -0
| @@ -0,0 +1,30 @@ | |||
| 1 | +30 | ||
| 2 | +31 | ||
| 3 | +32 | ||
| 4 | +33 | ||
| 5 | +34 | ||
| 6 | +35 | ||
| 7 | +36 | ||
| 8 | +37 | ||
| 9 | +38 | ||
| 10 | +39 | ||
| 11 | +40 | ||
| 12 | +41 | ||
| 13 | +42 | ||
| 14 | +43 | ||
| 15 | +44 | ||
| 16 | +45 | ||
| 17 | +46 | ||
| 18 | +47 | ||
| 19 | +48 | ||
| 20 | +49 | ||
| 21 | +50 | ||
| 22 | +51 | ||
| 23 | +52 | ||
| 24 | +53 | ||
| 25 | +54 | ||
| 26 | +55 | ||
| 27 | +56 | ||
| 28 | +57 | ||
| 29 | +58 | ||
| 30 | +59 | ||
lanes/testcut/p2-av1stream.sample.jsonadded+1 -0
| @@ -0,0 +1 @@ | |||
| 1 | +[{"file": "crates/ec-av1/src/census.rs", "span": {"start": {"line": 232, "column": 5}, "end": {"line": 245, "column": 8}}, "replacement": "()", "function": "block", "genre": "FnValue", "name": "crates/ec-av1/src/census.rs:232:5: replace block with ()", "global": 133}, {"file": "crates/ec-av1/src/compound.rs", "span": {"start": {"line": 66, "column": 61}, "end": {"line": 66, "column": 62}}, "replacement": "==", "function": "dist_wtd_comp_weight_assign", "genre": "BinaryOperator", "name": "crates/ec-av1/src/compound.rs:66:61: replace > with == in dist_wtd_comp_weight_assign", "global": 214}, {"file": "crates/ec-av1/src/encode/mod.rs", "span": {"start": {"line": 91, "column": 5}, "end": {"line": 109, "column": 6}}, "replacement": "(1, 1)", "function": "chroma_mi_shape", "genre": "FnValue", "name": "crates/ec-av1/src/encode/mod.rs:91:5: replace chroma_mi_shape -> (usize, usize) with (1, 1)", "global": 1112}, {"file": "crates/ec-av1/src/dumpio.rs", "span": {"start": {"line": 158, "column": 9}, "end": {"line": 191, "column": 10}}, "replacement": "()", "function": "LoudDump::finish", "genre": "FnValue", "name": "crates/ec-av1/src/dumpio.rs:158:9: replace LoudDump::finish with ()", "global": 1717}, {"file": "crates/ec-av1/src/envflags.rs", "span": {"start": {"line": 23, "column": 5}, "end": {"line": 23, "column": 55}}, "replacement": "Ok(\"xyzzy\".into())", "function": "var", "genre": "FnValue", "name": "crates/ec-av1/src/envflags.rs:23:5: replace var -> Result<String, VarError> with Ok(\"xyzzy\".into())", "global": 2091}, {"file": "crates/ec-av1/src/film_grain.rs", "span": {"start": {"line": 979, "column": 18}, "end": {"line": 979, "column": 19}}, "replacement": "*", "function": "simd::luma_noise_rows_avx2", "genre": "BinaryOperator", "name": "crates/ec-av1/src/film_grain.rs:979:18: replace + with * in simd::luma_noise_rows_avx2", "global": 3760}, {"file": "crates/ec-av1/src/mc.rs", "span": {"start": {"line": 2524, "column": 43}, "end": {"line": 2524, "column": 44}}, "replacement": "*", "function": "blend_masked_compound", "genre": "BinaryOperator", "name": "crates/ec-av1/src/mc.rs:2524:43: replace + with * in blend_masked_compound", "global": 6351}, {"file": "crates/ec-av1/src/msac.rs", "span": {"start": {"line": 274, "column": 31}, "end": {"line": 274, "column": 32}}, "replacement": "/", "function": "update_cdf", "genre": "BinaryOperator", "name": "crates/ec-av1/src/msac.rs:274:31: replace - with / in update_cdf", "global": 7085}, {"file": "crates/ec-av1/src/par.rs", "span": {"start": {"line": 303, "column": 12}, "end": {"line": 303, "column": 13}}, "replacement": "", "function": "DecodeSplit::install", "genre": "UnaryOperator", "name": "crates/ec-av1/src/par.rs:303:12: delete ! in DecodeSplit::install", "global": 8666}, {"file": "crates/ec-av1/src/restoration.rs", "span": {"start": {"line": 1107, "column": 19}, "end": {"line": 1107, "column": 21}}, "replacement": "*=", "function": "compute_ab", "genre": "BinaryOperator", "name": "crates/ec-av1/src/restoration.rs:1107:19: replace += with *= in compute_ab", "global": 9436}, {"file": "crates/ec-av1/src/stream/mod.rs", "span": {"start": {"line": 1234, "column": 20}, "end": {"line": 1234, "column": 21}}, "replacement": ">=", "function": "decode_stream_with_threads", "genre": "BinaryOperator", "name": "crates/ec-av1/src/stream/mod.rs:1234:20: replace > with >= in decode_stream_with_threads", "global": 10508}, {"file": "crates/ec-av1/src/superres.rs", "span": {"start": {"line": 75, "column": 5}, "end": {"line": 80, "column": 71}}, "replacement": "0", "function": "upscale_convolve_x0", "genre": "FnValue", "name": "crates/ec-av1/src/superres.rs:75:5: replace upscale_convolve_x0 -> i64 with 0", "global": 10878}, {"file": "crates/ec-av1/src/transform.rs", "span": {"start": {"line": 1102, "column": 34}, "end": {"line": 1102, "column": 35}}, "replacement": "*", "function": "inverse_adst16", "genre": "BinaryOperator", "name": "crates/ec-av1/src/transform.rs:1102:34: replace + with * in inverse_adst16", "global": 12610}, {"file": "crates/ec-av1/src/warp.rs", "span": {"start": {"line": 314, "column": 59}, "end": {"line": 314, "column": 60}}, "replacement": "+", "function": "find_affine_int", "genre": "BinaryOperator", "name": "crates/ec-av1/src/warp.rs:314:59: replace - with + in find_affine_int", "global": 13860}, {"file": "crates/ec-av1/src/wedge.rs", "span": {"start": {"line": 195, "column": 24}, "end": {"line": 195, "column": 25}}, "replacement": "*", "function": "init_wedge_master_masks", "genre": "BinaryOperator", "name": "crates/ec-av1/src/wedge.rs:195:24: replace / with * in init_wedge_master_masks", "global": 14792}, {"file": "crates/ec-av1/src/decode/inter_block8.rs", "span": {"start": {"line": 163, "column": 5}, "end": {"line": 3023, "column": 7}}, "replacement": "Ok((false, true, false, Some((0, -1, 1, 0)), [1; 2], (-1, Some(0))))", "function": "decode_inter_block8", "genre": "FnValue", "name": "crates/ec-av1/src/decode/inter_block8.rs:163:5: replace decode_inter_block8 -> Result<(bool, bool, bool, Option<(i8, i8, u8, u8)>, [u8; 2], (i8, Option<i8>),)> with Ok((false, true, false, Some((0, -1, 1, 0)), [1; 2], (-1, Some(0))))", "global": 21116}, {"file": "crates/ec-av1/src/decode/inter_block8.rs", "span": {"start": {"line": 163, "column": 5}, "end": {"line": 3023, "column": 7}}, "replacement": "Ok((false, true, false, Some((1, 0, 1, 1)), [0; 2], (0, Some(-1))))", "function": "decode_inter_block8", "genre": "FnValue", "name": "crates/ec-av1/src/decode/inter_block8.rs:163:5: replace decode_inter_block8 -> Result<(bool, bool, bool, Option<(i8, i8, u8, u8)>, [u8; 2], (i8, Option<i8>),)> with Ok((false, true, false, Some((1, 0, 1, 1)), [0; 2], (0, Some(-1))))", "global": 21218}, {"file": "crates/ec-av1/src/decode/inter_intra_arm.rs", "span": {"start": {"line": 717, "column": 54}, "end": {"line": 717, "column": 55}}, "replacement": "+", "function": "decode_inter_block_intra_arm", "genre": "BinaryOperator", "name": "crates/ec-av1/src/decode/inter_intra_arm.rs:717:54: replace * with + in decode_inter_block_intra_arm", "global": 24085}, {"file": "crates/ec-av1/src/decode/inter_block.rs", "span": {"start": {"line": 1801, "column": 58}, "end": {"line": 1801, "column": 59}}, "replacement": "+", "function": "decode_inter_block", "genre": "BinaryOperator", "name": "crates/ec-av1/src/decode/inter_block.rs:1801:58: replace * with + in decode_inter_block", "global": 24580}, {"file": "crates/ec-av1/src/decode/coeffs.rs", "span": {"start": {"line": 588, "column": 46}, "end": {"line": 588, "column": 47}}, "replacement": "==", "function": "read_coeffs_rect", "genre": "BinaryOperator", "name": "crates/ec-av1/src/decode/coeffs.rs:588:46: replace < with == in read_coeffs_rect", "global": 25493}, {"file": "crates/ec-av1/src/decode/cdef_simd.rs", "span": {"start": {"line": 151, "column": 13}, "end": {"line": 151, "column": 14}}, "replacement": ">", "function": "filter_block_avx2", "genre": "BinaryOperator", "name": "crates/ec-av1/src/decode/cdef_simd.rs:151:13: replace < with > in filter_block_avx2", "global": 27126}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 0, 0, 1, 0, Some((0, -1)), Some(0), None, Some(Default::default()), Some((0, 0))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 0, 0, 1, 0, Some((0, -1)), Some(0), None, Some(Default::default()), Some((0, 0))))", "global": 31188}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 0, 0, 1, 1, None, None, None, None, Some((0, -1))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 0, 0, 1, 1, None, None, None, None, Some((0, -1))))", "global": 31980}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 0, 0, 1, 1, Some((1, 0)), None, None, Some(Default::default()), Some((1, 0))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 0, 0, 1, 1, Some((1, 0)), None, None, Some(Default::default()), Some((1, 0))))", "global": 32471}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 0, 1, 1, 1, Some((1, 1)), Some(0), None, Some(Default::default()), None))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 0, 1, 1, 1, Some((1, 1)), Some(0), None, Some(Default::default()), None))", "global": 39827}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 0, -1, 1, 1, Some((0, -1)), Some(0), None, None, Some((-1, 1))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 0, -1, 1, 1, Some((0, -1)), Some(0), None, None, Some((-1, 1))))", "global": 46785}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 0, -1, 1, 1, Some((-1, -1)), Some(0), None, Some(Default::default()), Some((-1, 0))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 0, -1, 1, 1, Some((-1, -1)), Some(0), None, Some(Default::default()), Some((-1, 0))))", "global": 47514}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 1, 1, 0, 0, Some((-1, 0)), Some(1), Some(Default::default()), Some(Default::default()), Some((0, 1))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 1, 1, 0, 0, Some((-1, 0)), Some(1), Some(Default::default()), Some(Default::default()), Some((0, 1))))", "global": 56929}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 1, 1, 1, 1, Some((1, 0)), Some(0), Some(Default::default()), None, Some((1, 0))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 1, 1, 1, 1, Some((1, 0)), Some(0), Some(Default::default()), None, Some((1, 0))))", "global": 61321}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 1, 1, 1, -1, Some((1, 0)), Some(0), Some(Default::default()), None, Some((1, 0))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 1, 1, 1, -1, Some((1, 0)), Some(0), Some(Default::default()), None, Some((1, 0))))", "global": 62521}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 1, -1, 0, 0, Some((1, 1)), Some(1), Some(Default::default()), None, Some((1, -1))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 1, -1, 0, 0, Some((1, 1)), Some(1), Some(Default::default()), None, Some((1, -1))))", "global": 63883}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 1, -1, 0, -1, Some((-1, -1)), None, Some(Default::default()), Some(Default::default()), None))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 1, -1, 0, -1, Some((-1, -1)), None, Some(Default::default()), Some(Default::default()), None))", "global": 66687}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 1, -1, 1, 1, Some((1, 1)), None, None, None, Some((1, 0))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 1, -1, 1, 1, Some((1, 1)), None, None, None, Some((1, 0))))", "global": 68581}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((true, 1, -1, 1, -1, Some((0, 0)), None, Some(Default::default()), Some(Default::default()), Some((1, -1))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((true, 1, -1, 1, -1, Some((0, 0)), None, Some(Default::default()), Some(Default::default()), Some((1, -1))))", "global": 69333}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((false, 0, 0, 0, -1, Some((1, 1)), None, Some(Default::default()), None, Some((-1, 0))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((false, 0, 0, 0, -1, Some((1, 1)), None, Some(Default::default()), None, Some((-1, 0))))", "global": 73404}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((false, 0, 0, 1, 1, Some((-1, 1)), None, Some(Default::default()), Some(Default::default()), Some((-1, 1))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((false, 0, 0, 1, 1, Some((-1, 1)), None, Some(Default::default()), Some(Default::default()), Some((-1, 1))))", "global": 76175}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((false, 1, 0, 0, 0, Some((-1, -1)), Some(0), Some(Default::default()), None, Some((1, -1))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((false, 1, 0, 0, 0, Some((-1, -1)), Some(0), Some(Default::default()), None, Some((1, -1))))", "global": 93123}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((false, 1, 0, 0, -1, Some((1, -1)), None, Some(Default::default()), Some(Default::default()), Some((-1, 1))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((false, 1, 0, 0, -1, Some((1, -1)), None, Some(Default::default()), Some(Default::default()), Some((-1, 1))))", "global": 95135}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((false, 1, 1, 0, -1, None, Some(1), None, None, Some((0, 0))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((false, 1, 1, 0, -1, None, Some(1), None, None, Some((0, 0))))", "global": 101658}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((false, 1, 1, 1, 0, Some((0, -1)), Some(0), None, Some(Default::default()), Some((1, -1))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((false, 1, 1, 1, 0, Some((0, -1)), Some(0), None, Some(Default::default()), Some((1, -1))))", "global": 103193}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((false, 1, 1, 1, -1, Some((1, 1)), None, None, None, Some((0, 0))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((false, 1, 1, 1, -1, Some((1, 1)), None, None, None, Some((0, 0))))", "global": 105778}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((false, 1, -1, 0, 0, None, None, Some(Default::default()), Some(Default::default()), Some((1, 1))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((false, 1, -1, 0, 0, None, None, Some(Default::default()), Some(Default::default()), Some((1, 1))))", "global": 106412}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((false, 1, -1, 0, 0, Some((1, 0)), Some(1), None, Some(Default::default()), Some((1, -1))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((false, 1, -1, 0, 0, Some((1, 0)), Some(1), None, Some(Default::default()), Some((1, -1))))", "global": 106953}, {"file": "crates/ec-av1/src/decode/rect.rs", "span": {"start": {"line": 63, "column": 5}, "end": {"line": 331, "column": 7}}, "replacement": "Ok((false, 1, -1, 0, -1, Some((0, -1)), Some(0), None, Some(Default::default()), Some((1, 0))))", "function": "read_intra_mode_rect", "genre": "FnValue", "name": "crates/ec-av1/src/decode/rect.rs:63:5: replace read_intra_mode_rect -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>, Option<(i32, i32)>,)> with Ok((false, 1, -1, 0, -1, Some((0, -1)), Some(0), None, Some(Default::default()), Some((1, 0))))", "global": 109191}, {"file": "crates/ec-av1/src/decode/rect4.rs", "span": {"start": {"line": 2419, "column": 83}, "end": {"line": 2419, "column": 84}}, "replacement": "%", "function": "decode_rect4_16_strip", "genre": "BinaryOperator", "name": "crates/ec-av1/src/decode/rect4.rs:2419:83: replace / with % in decode_rect4_16_strip", "global": 115362}, {"file": "crates/ec-av1/src/decode/block.rs", "span": {"start": {"line": 44, "column": 5}, "end": {"line": 400, "column": 7}}, "replacement": "Ok((false, 0, -1, 0, 0, Some((0, 0)), Some(0), Some(Default::default()), Some(Default::default())))", "function": "read_intra_mode", "genre": "FnValue", "name": "crates/ec-av1/src/decode/block.rs:44:5: replace read_intra_mode -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>,)> with Ok((false, 0, -1, 0, 0, Some((0, 0)), Some(0), Some(Default::default()), Some(Default::default())))", "global": 121581}, {"file": "crates/ec-av1/src/decode/block.rs", "span": {"start": {"line": 44, "column": 5}, "end": {"line": 400, "column": 7}}, "replacement": "Ok((false, 0, -1, 0, -1, Some((0, 0)), None, None, None))", "function": "read_intra_mode", "genre": "FnValue", "name": "crates/ec-av1/src/decode/block.rs:44:5: replace read_intra_mode -> Result<(bool, usize, i32, usize, i32, Option<(i32, i32)>, Option<usize>, Option<PaletteY>, Option<PaletteUv>,)> with Ok((false, 0, -1, 0, -1, Some((0, 0)), None, None, None))", "global": 121814}, {"file": "crates/ec-av1/src/decode/block.rs", "span": {"start": {"line": 2862, "column": 58}, "end": {"line": 2862, "column": 59}}, "replacement": "%", "function": "decode_block", "genre": "BinaryOperator", "name": "crates/ec-av1/src/decode/block.rs:2862:58: replace / with % in decode_block", "global": 125311}, {"file": "crates/ec-av1/src/decode/wave.rs", "span": {"start": {"line": 650, "column": 22}, "end": {"line": 650, "column": 23}}, "replacement": "+", "function": "strip", "genre": "BinaryOperator", "name": "crates/ec-av1/src/decode/wave.rs:650:22: replace * with + in strip", "global": 125747}, {"file": "crates/ec-av1/src/decode/leaf8.rs", "span": {"start": {"line": 2003, "column": 5}, "end": {"line": 2154, "column": 64}}, "replacement": "Ok((true, 0, 0, Some((0, 1, None)), None, Some((1, -1))))", "function": "read_intra_mode_sub8", "genre": "FnValue", "name": "crates/ec-av1/src/decode/leaf8.rs:2003:5: replace read_intra_mode_sub8 -> Result<(bool, usize, i32, Option<(usize, i32, Option<(i32, i32)>)>, Option<usize>, Option<(i32, i32)>,)> with Ok((true, 0, 0, Some((0, 1, None)), None, Some((1, -1))))", "global": 126500}, {"file": "crates/ec-av1/src/decode/leaf8.rs", "span": {"start": {"line": 2003, "column": 5}, "end": {"line": 2154, "column": 64}}, "replacement": "Ok((true, 0, 0, Some((1, 1, Some((-1, 0)))), Some(1), Some((0, 1))))", "function": "read_intra_mode_sub8", "genre": "FnValue", "name": "crates/ec-av1/src/decode/leaf8.rs:2003:5: replace read_intra_mode_sub8 -> Result<(bool, usize, i32, Option<(usize, i32, Option<(i32, i32)>)>, Option<usize>, Option<(i32, i32)>,)> with Ok((true, 0, 0, Some((1, 1, Some((-1, 0)))), Some(1), Some((0, 1))))", "global": 127626}, {"file": "crates/ec-av1/src/decode/leaf8.rs", "span": {"start": {"line": 2003, "column": 5}, "end": {"line": 2154, "column": 64}}, "replacement": "Ok((true, 1, -1, Some((0, 0, Some((0, 1)))), None, Some((0, 1))))", "function": "read_intra_mode_sub8", "genre": "FnValue", "name": "crates/ec-av1/src/decode/leaf8.rs:2003:5: replace read_intra_mode_sub8 -> Result<(bool, usize, i32, Option<(usize, i32, Option<(i32, i32)>)>, Option<usize>, Option<(i32, i32)>,)> with Ok((true, 1, -1, Some((0, 0, Some((0, 1)))), None, Some((0, 1))))", "global": 135406}, {"file": "crates/ec-av1/src/decode/leaf8.rs", "span": {"start": {"line": 2003, "column": 5}, "end": {"line": 2154, "column": 64}}, "replacement": "Ok((false, 0, 0, Some((1, 0, Some((0, -1)))), Some(0), Some((-1, 1))))", "function": "read_intra_mode_sub8", "genre": "FnValue", "name": "crates/ec-av1/src/decode/leaf8.rs:2003:5: replace read_intra_mode_sub8 -> Result<(bool, usize, i32, Option<(usize, i32, Option<(i32, i32)>)>, Option<usize>, Option<(i32, i32)>,)> with Ok((false, 0, 0, Some((1, 0, Some((0, -1)))), Some(0), Some((-1, 1))))", "global": 138182}, {"file": "crates/ec-av1/src/decode/leaf8.rs", "span": {"start": {"line": 2003, "column": 5}, "end": {"line": 2154, "column": 64}}, "replacement": "Ok((false, 0, 1, Some((0, 0, Some((0, 1)))), None, None))", "function": "read_intra_mode_sub8", "genre": "FnValue", "name": "crates/ec-av1/src/decode/leaf8.rs:2003:5: replace read_intra_mode_sub8 -> Result<(bool, usize, i32, Option<(usize, i32, Option<(i32, i32)>)>, Option<usize>, Option<(i32, i32)>,)> with Ok((false, 0, 1, Some((0, 0, Some((0, 1)))), None, None))", "global": 139064}, {"file": "crates/ec-av1/src/decode/leaf8.rs", "span": {"start": {"line": 2003, "column": 5}, "end": {"line": 2154, "column": 64}}, "replacement": "Ok((false, 0, 1, Some((1, -1, Some((-1, -1)))), Some(1), Some((1, -1))))", "function": "read_intra_mode_sub8", "genre": "FnValue", "name": "crates/ec-av1/src/decode/leaf8.rs:2003:5: replace read_intra_mode_sub8 -> Result<(bool, usize, i32, Option<(usize, i32, Option<(i32, i32)>)>, Option<usize>, Option<(i32, i32)>,)> with Ok((false, 0, 1, Some((1, -1, Some((-1, -1)))), Some(1), Some((1, -1))))", "global": 140800}, {"file": "crates/ec-av1/src/decode/leaf_sub8.rs", "span": {"start": {"line": 1325, "column": 30}, "end": {"line": 1325, "column": 31}}, "replacement": "*", "function": "decode_leaf_split4", "genre": "BinaryOperator", "name": "crates/ec-av1/src/decode/leaf_sub8.rs:1325:30: replace + with * in decode_leaf_split4", "global": 148427}, {"file": "crates/ec-av1/src/decode/inter_shapes.rs", "span": {"start": {"line": 108, "column": 13}, "end": {"line": 108, "column": 15}}, "replacement": "||", "function": "read_block_tx_size", "genre": "BinaryOperator", "name": "crates/ec-av1/src/decode/inter_shapes.rs:108:13: replace && with || in read_block_tx_size", "global": 149018}, {"file": "crates/ec-av1/src/decode/replay.rs", "span": {"start": {"line": 382, "column": 5}, "end": {"line": 392, "column": 8}}, "replacement": "vec![0]", "function": "crop_owned", "genre": "FnValue", "name": "crates/ec-av1/src/decode/replay.rs:382:5: replace crop_owned -> Vec<u16> with vec![0]", "global": 150842}, {"file": "crates/ec-av1/src/decode/inter_ctx.rs", "span": {"start": {"line": 3009, "column": 50}, "end": {"line": 3009, "column": 51}}, "replacement": "*", "function": "covering_leaf_tx_type", "genre": "BinaryOperator", "name": "crates/ec-av1/src/decode/inter_ctx.rs:3009:50: replace / with * in covering_leaf_tx_type", "global": 152833}, {"file": "crates/ec-av1/src/decode/sub8_inter.rs", "span": {"start": {"line": 1087, "column": 37}, "end": {"line": 1087, "column": 38}}, "replacement": "*", "function": "decode_intra_sub8_leaf", "genre": "BinaryOperator", "name": "crates/ec-av1/src/decode/sub8_inter.rs:1087:37: replace / with * in decode_intra_sub8_leaf", "global": 153100}] | ||
| \ No newline at end of file | \ No newline at end of file | ||
lanes/testcut/p2-av1stream.shard1.tsvadded+35 -0
| @@ -0,0 +1,35 @@ | |||
| 1 | +1 stream::tests::t05::a_real_aomenc_square_only_inter_sequence_with_a_64x64_intra_superblock_decodes_pixel_exact | ||
| 2 | +2 stream::tests::t05::a_real_aomenc_inter_sequence_with_temporal_mv_candidates_decodes_pixel_exact | ||
| 3 | +3 stream::tests::t05::a_real_aomenc_inter_sequence_with_superblock_level_ab_partitions_decodes_pixel_exact | ||
| 4 | +4 stream::tests::t05::a_real_aomenc_inter_sequence_with_intra_16x4_strips_in_1to4_partitions_decodes_pixel_exact | ||
| 5 | +5 stream::tests::t05::a_real_aomenc_inter_sequence_with_a_coded_rectangular_residual_decodes_pixel_exact | ||
| 6 | +6 stream::tests::t06::a_real_aomenc_stream_with_interintra_wedge_decodes_pixel_exact | ||
| 7 | +7 stream::tests::t05::a_real_aomenc_inter_sequence_with_a_16_level_rect_leaf_decodes_pixel_exact | ||
| 8 | +8 stream::tests::t04::a_real_aomenc_10bit_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact | ||
| 9 | +9 stream::tests::t09::a_real_aomenc_stream_with_a_coded_strip_whose_chroma_is_a_4to1_or_sub8_rect_decodes_pixel_exact | ||
| 10 | +10 stream::tests::t05::a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact | ||
| 11 | +11 stream::tests::t06::a_real_aomenc_stream_with_warped_motion_refuses_or_matches | ||
| 12 | +12 stream::tests::t06::a_real_aomenc_superres_key_frame_sequence_decodes_pixel_exact | ||
| 13 | +13 stream::tests::t04::a_real_aomenc_inter_sequence_with_an_angle_delta_8x8_intra_leaf_decodes_pixel_exact | ||
| 14 | +14 stream::tests::t04::real_aomenc_1to4_streams_decode_pixel_exact_and_rect_vartx_leaves_fire_before_a_named_refusal | ||
| 15 | +15 stream::tests::t05::a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_decodes_pixel_exact | ||
| 16 | +16 stream::tests::t05::a_pinned_444_inter_stream_chroma_units_inherit_their_own_quadrants_tx_type | ||
| 17 | +17 stream::tests::t05::a_pinned_444_rect_inter_stream_resolves_each_chroma_unit_from_its_own_luma_leaf | ||
| 18 | +18 stream::tests::t05::a_pinned_rect_stream_with_a_64x64_intra_block_in_an_inter_frame_decodes_pixel_exact | ||
| 19 | +19 stream::tests::t06::a_real_aomenc_stream_with_masked_compound_decodes_pixel_exact | ||
| 20 | +20 stream::tests::t06::a_real_aomenc_stream_with_a_diffwtd_compound_64x64_block_decodes_pixel_exact | ||
| 21 | +21 stream::tests::t06::a_real_aomenc_stream_with_a_coded_rect_strip_below_16x16_decodes_pixel_exact | ||
| 22 | +22 stream::tests::t06::a_real_aomenc_stream_with_a_rectangular_compound_wedge_decodes_pixel_exact | ||
| 23 | +23 stream::tests::t04::a_real_aomenc_inter_sequence_with_a_superblock_level_rect_partition_decodes_pixel_exact | ||
| 24 | +24 stream::tests::t09::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_and_delta_q_decodes_pixel_exact | ||
| 25 | +25 stream::tests::t06::a_real_aomenc_stream_with_free_partitions_decodes_pixel_exact | ||
| 26 | +26 stream::tests::t08::a_real_aomenc_stream_with_filter_intra_on_a_sub16_horz_vert_strip_decodes_pixel_exact | ||
| 27 | +27 stream::tests::t07::a_real_aomenc_stream_with_delta_q_and_delta_lf_decodes_pixel_exact | ||
| 28 | +28 stream::tests::t05::a_real_aomenc_inter_sequence_with_deblocking_decodes_pixel_exact | ||
| 29 | +29 stream::tests::t09::a_real_aomenc_stream_with_filter_intra_on_a_32_level_1to4_strip_decodes_pixel_exact | ||
| 30 | +30 stream::tests::t05::a_real_aomenc_stream_with_compound_references_decodes_pixel_exact | ||
| 31 | +31 stream::tests::t04::a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual | ||
| 32 | +32 stream::tests::t08::a_real_aomenc_stream_with_filter_intra_on_a_horz_vert_strip_decodes_pixel_exact | ||
| 33 | +33 stream::tests::t07::a_real_aomenc_tiny_frame_size_sweep_decodes_pixel_exact | ||
| 34 | +34 stream::tests::t09::the_chroma_rect_gates_excluded_seed_46_decodes_pixel_exact | ||
| 35 | +35 stream::tests::t08::a_real_aomenc_10bit_filter_intra_on_a_sub16_strip_decodes_pixel_exact | ||
lanes/testcut/p2-av1stream.shard2.tsvadded+35 -0
| @@ -0,0 +1,35 @@ | |||
| 1 | +36 stream::tests::t05::a_real_aomenc_inter_sequence_with_16x16_level_1to4_partitions_decodes_pixel_exact | ||
| 2 | +37 stream::tests::t04::a_real_aomenc_stream_with_rect_screen_content_decodes_pixel_exact | ||
| 3 | +38 stream::tests::t09::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_10bit_decodes_pixel_exact | ||
| 4 | +39 stream::tests::t08::a_real_aomenc_128x128_none_inter_blocks_coded_chroma_per_mu_chunk_decodes_pixel_exact | ||
| 5 | +40 stream::tests::t09::a_real_aomenc_stream_with_a_32x32_level_1to4_partition_decodes_pixel_exact | ||
| 6 | +41 stream::tests::t06::a_real_aomenc_superres_stream_with_compound_obmc_and_interintra_decodes_pixel_exact | ||
| 7 | +42 stream::tests::t08::a_frame_edge_straddling_band_decodes_pixel_exact | ||
| 8 | +43 stream::tests::t08::a_pinned_aomenc_16x8_strip_reads_its_use_filter_intra_flag | ||
| 9 | +44 stream::tests::t05::a_real_aomenc_inter_sequence_with_forward_keyframes_and_temporal_mvs_decodes_pixel_exact | ||
| 10 | +45 stream::tests::t04::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact_10bit | ||
| 11 | +46 stream::tests::t08::a_real_aomenc_stream_with_a_superblock_level_ab_partition_decodes_pixel_exact | ||
| 12 | +47 stream::tests::t04::a_real_aomenc_inter_sequence_with_an_intra_rect_strip_decodes_pixel_exact | ||
| 13 | +48 stream::tests::t03::a_real_aomenc_palette_stream_with_8x8_leaves_decodes_pixel_exact | ||
| 14 | +49 stream::tests::t06::a_real_aomenc_stream_with_mandelbrot_fires_the_vert_b_partition_arm | ||
| 15 | +50 stream::tests::t06::a_real_aomenc_stream_with_interintra_decodes_pixel_exact | ||
| 16 | +51 stream::tests::t08::a_real_aomenc_stream_with_a_superblock_level_horz_vert_partition_decodes_pixel_exact | ||
| 17 | +52 stream::tests::t04::a_real_aomenc_stream_with_rect_palette_decodes_pixel_exact | ||
| 18 | +53 stream::tests::t08::a_real_aomenc_stream_with_128x128_superblocks_decodes_pixel_exact | ||
| 19 | +54 stream::tests::t09::a_real_aomenc_band_stream_seed46_decodes_pixel_exact | ||
| 20 | +55 stream::tests::t08::a_real_aomenc_sb128_intra_rect_block_decodes_pixel_exact | ||
| 21 | +56 stream::tests::t08::a_32x32_frame_edge_rect_partition_with_a_flat_band_decodes_pixel_exact | ||
| 22 | +57 stream::tests::t08::a_real_aomenc_stream_with_a_split_transform_superblock_strip_decodes_pixel_exact | ||
| 23 | +58 stream::tests::t06::a_real_compound_global_warp_12bit_stream_decodes_pixel_exact | ||
| 24 | +59 stream::tests::t06::a_real_compound_global_warp_stream_decodes_pixel_exact | ||
| 25 | +60 stream::tests::t09::a_real_aomenc_stream_with_a_skipped_8x8_intra_leaf_whose_tx_split_decodes_pixel_exact | ||
| 26 | +61 stream::tests::t04::a_real_aomenc_10bit_partial_bottom_stripe_restoration_decodes_pixel_exact | ||
| 27 | +62 stream::tests::t09::a_real_aomenc_stream_with_a_16_level_1to4_partition_decodes_pixel_exact | ||
| 28 | +63 stream::tests::t07::a_real_aomenc_stream_with_restoration_reads_lr_symbols_correctly | ||
| 29 | +64 stream::tests::t08::a_real_aomenc_sb128_gathered_edge_horz_partition_decodes_pixel_exact | ||
| 30 | +65 stream::tests::t08::a_real_aomenc_stream_with_a_32x32_frame_edge_rect_partition_decodes_pixel_exact | ||
| 31 | +66 stream::tests::t08::a_real_aomenc_stream_with_a_split_transform_horz_vert_strip_decodes_pixel_exact | ||
| 32 | +67 stream::tests::t06::a_real_compound_global_warp_10bit_stream_decodes_pixel_exact | ||
| 33 | +68 stream::tests::t06::a_real_force_integer_mv_warp_10bit_stream_decodes_pixel_exact | ||
| 34 | +69 stream::tests::t08::a_real_aomenc_sb128_ab_partition_at_the_128_root_decodes_pixel_exact | ||
| 35 | +70 stream::tests::t04::a_superres_all_tools_sb128_stream_decodes_pixel_exact | ||
lanes/testcut/p2-av1stream.shard3.tsvadded+35 -0
| @@ -0,0 +1,35 @@ | |||
| 1 | +71 stream::tests::t04::a_real_stream_reconstructs_identically_with_one_and_four_recon_threads | ||
| 2 | +72 stream::tests::t06::a_real_compound_global_warp_12bit_8x8_leaf_stream_decodes_pixel_exact | ||
| 3 | +73 stream::tests::t07::a_real_aomenc_stream_with_variance_aq_segmentation_decodes_pixel_exact | ||
| 4 | +74 stream::tests::t04::a_real_aomenc_inter_frame_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet | ||
| 5 | +75 stream::tests::t08::a_422_muchunk_compound_128root_pinned_stream_reaches_its_unit_walk | ||
| 6 | +76 stream::tests::t07::a_real_aomenc_stream_with_cdef_decodes_pixel_exact | ||
| 7 | +77 stream::tests::t09::the_frame_the_caller_receives_carries_no_unwritten_plane_sample | ||
| 8 | +78 stream::tests::t09::a_real_aomenc_10bit_screen_inter_sequence_codes_palette_syntax_on_rect_intra_strips | ||
| 9 | +79 stream::tests::t04::a_real_stream_filters_identically_with_one_and_four_filter_threads | ||
| 10 | +80 stream::tests::t10::a_real_aomenc_inter_sequence_with_intra_sub8x8_leaves_decodes_pixel_exact | ||
| 11 | +81 stream::tests::t08::a_real_aomenc_stream_with_a_1d_tx_class_on_a_rect_transform_decodes_pixel_exact | ||
| 12 | +82 stream::tests::t08::a_422_muchunk_iis_128root_grad128_comp_stream_is_exact_and_reaches_its_unit_walk | ||
| 13 | +83 stream::tests::t09::a_real_aomenc_stream_whose_frame_edge_partition_bit_is_horz_decodes_pixel_exact | ||
| 14 | +84 stream::tests::t09::a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact_10bit | ||
| 15 | +85 stream::tests::t04::a_real_aomenc_10bit_obmc_over_1to4_strip_neighbours_decodes_pixel_exact | ||
| 16 | +86 stream::tests::t09::the_two_10bit_film_pins_match_aomdec_on_every_decode_order_frame | ||
| 17 | +87 stream::tests::t09::a_real_aomenc_multi_tile_inter_10bit_stream_decodes_pixel_exact | ||
| 18 | +88 stream::tests::t08::a_real_aomenc_inter_128x128_none_root_decodes_pixel_exact | ||
| 19 | +89 stream::tests::t07::a_real_aomenc_both_axes_cut_corner_inter_frames_decode_pixel_exact | ||
| 20 | +90 stream::tests::t08::a_real_aomenc_key_frame_with_a_128x128_none_partition_decodes_pixel_exact | ||
| 21 | +91 stream::tests::t07::a_real_aomenc_compound_mv_stack_across_two_tile_columns_decodes_pixel_exact | ||
| 22 | +92 stream::tests::t09::a_real_aomenc_inter_sequence_with_a_split_transform_intra_strip_decodes_pixel_exact | ||
| 23 | +93 stream::tests::t06::a_real_force_integer_mv_warp_stream_decodes_pixel_exact | ||
| 24 | +94 stream::tests::t08::a_real_aomenc_intra_stream_with_tx_size_search_and_chroma_decodes_pixel_exact | ||
| 25 | +95 stream::tests::t09::a_real_aomenc_inter_sequence_with_an_intra_1to4_strip_decodes_pixel_exact | ||
| 26 | +96 stream::tests::t10::a_420_lossless_rect_chroma_walk_is_bounded_by_the_chroma_plane | ||
| 27 | +97 stream::tests::t06::a_real_aomenc_stream_with_ab_partitions_decodes_pixel_exact | ||
| 28 | +98 stream::tests::t01::a_real_aomenc_128x128_superblock_stream_decodes_pixel_exact | ||
| 29 | +99 stream::tests::t01::a_real_aomenc_mixed_lossless_segment_frame_decodes_sample_exact | ||
| 30 | +100 stream::tests::t09::the_grained_picture_the_caller_receives_carries_no_unwritten_plane_sample | ||
| 31 | +101 stream::tests::t01::a_real_obmc_stream_reads_a_recorded_switchable_filter_for_every_neighbour | ||
| 32 | +102 stream::tests::t03::a_real_aomenc_10bit_stream_with_a_rect_transform_decodes_pixel_exact | ||
| 33 | +103 stream::tests::t01::a_real_aomenc_inter_frame_edge_half_strip_decodes_pixel_exact | ||
| 34 | +104 stream::tests::t07::a_real_aomenc_compound_mv_stack_with_global_motion_decodes_pixel_exact | ||
| 35 | +105 stream::tests::t06::a_real_aomenc_10bit_stream_with_onesided_compound_decodes_pixel_exact | ||
scripts/kill-matrix-analyze.pyadded+291 -0
| @@ -0,0 +1,291 @@ | |||
| 1 | +#!/usr/bin/env python3 | ||
| 2 | +"""Local analysis for the batched kill matrix (see lanes/testcut.phase2.md, "Batched variant"). | ||
| 3 | + | ||
| 4 | +Subcommands (paths are absolute or relative to the lane root): | ||
| 5 | + | ||
| 6 | + sample MUTANTS.tsv COVDIR N SEED OUT_IDX OUT_JSON | ||
| 7 | + Stratified per-file seeded sample of mutants whose start line is covered by at | ||
| 8 | + least one heavy test. OUT_JSON holds the sample (indices 0..N-1 in OUT_IDX). | ||
| 9 | + survivors MUTANTS.json FASTDIR OUT_IDX | ||
| 10 | + Indices whose fast-suite status is "pass" (survived the fast suite). | ||
| 11 | + heavyjobs MUTANTS.json COVDIR SURV_IDX OUT_IDXFILE TESTSDIR | ||
| 12 | + For each survivor, the heavy tests whose coverage includes its line. Writes | ||
| 13 | + "<idx>\\t<testsfile>" lines for scripts/kill-matrix.sh mutrun heavy. | ||
| 14 | + decide MUTANTS.json COVDIR FASTCOV.json FASTDIR HEAVYDIR TIMES.tsv KILLTSV REPORT_MD | ||
| 15 | + failing LOG TESTS OUT | ||
| 16 | + Test names from TESTS that nextest marks FAIL/TIMEOUT/signal in LOG (heavy mode). | ||
| 17 | + compact LLVM_COV.json OUT.json | ||
| 18 | + Reduce one llvm-cov JSON to executed ec-av1 regions (run on the server to keep | ||
| 19 | + the copied-back data small). | ||
| 20 | + | ||
| 21 | +COVDIR holds index.tsv (ordinal, test name) and <ordinal>.json per heavy test. | ||
| 22 | +""" | ||
| 23 | +import json | ||
| 24 | +import os | ||
| 25 | +import random | ||
| 26 | +import re | ||
| 27 | +import sys | ||
| 28 | +from collections import defaultdict | ||
| 29 | + | ||
| 30 | +PROTECTED = re.compile(r"pinned|pins?_|_pins?\b|golden|sha256|vector|conformance|fuzz|realtime|faster|speedup|beats_the_incumbent") | ||
| 31 | + | ||
| 32 | + | ||
| 33 | +def compact(cov_json_path, out_path): | ||
| 34 | + """Reduce an `llvm-cov report --json` file to the ec-av1 regions executed at least once. | ||
| 35 | + | ||
| 36 | + Output: JSON list of [file, line_start, col_start, line_end, col_end]. | ||
| 37 | + """ | ||
| 38 | + cov = json.load(open(cov_json_path)) | ||
| 39 | + keys = set() | ||
| 40 | + for fn in cov["data"][0]["functions"]: | ||
| 41 | + names = fn.get("filenames", []) | ||
| 42 | + for r in fn["regions"]: | ||
| 43 | + if r[4] <= 0: | ||
| 44 | + continue | ||
| 45 | + f = names[r[5]] | ||
| 46 | + if "crates/ec-av1/src/" in f: | ||
| 47 | + keys.add((f, r[0], r[1], r[2], r[3])) | ||
| 48 | + json.dump(sorted(list(k) for k in keys), open(out_path, "w")) | ||
| 49 | + return keys | ||
| 50 | + | ||
| 51 | + | ||
| 52 | +def load_regions(path): | ||
| 53 | + return {tuple(k) for k in json.load(open(path))} | ||
| 54 | + | ||
| 55 | + | ||
| 56 | +def norm(f): | ||
| 57 | + """Workspace-relative path from "crates/" on (LLVM paths are absolute, mutant paths relative).""" | ||
| 58 | + return f[f.index("crates/"):] if "crates/" in f else f | ||
| 59 | + | ||
| 60 | + | ||
| 61 | +def covered_lines(regions): | ||
| 62 | + lines = defaultdict(set) # normalized file -> set of lines covered | ||
| 63 | + for (f, l1, _, l2, _) in regions: | ||
| 64 | + lines[norm(f)].update(range(l1, l2 + 1)) | ||
| 65 | + return lines | ||
| 66 | + | ||
| 67 | + | ||
| 68 | +def load_index(covdir): | ||
| 69 | + rows = [] | ||
| 70 | + with open(os.path.join(covdir, "index.tsv")) as fh: | ||
| 71 | + for line in fh: | ||
| 72 | + i, name = line.rstrip("\n").split("\t") | ||
| 73 | + rows.append((i, name)) | ||
| 74 | + return rows | ||
| 75 | + | ||
| 76 | + | ||
| 77 | +def covers_line(cov_lines, mutant): | ||
| 78 | + line = mutant["span"]["start"]["line"] | ||
| 79 | + return line in cov_lines.get(norm(mutant["file"]), set()) | ||
| 80 | + | ||
| 81 | + | ||
| 82 | +def read_mutants_tsv(path): | ||
| 83 | + """All mutants, in `cargo mutants --list --json` order: one TSV row per mutant (see README in the report).""" | ||
| 84 | + rows = [] | ||
| 85 | + for line in open(path): | ||
| 86 | + f, sl, sc, el, ec, rep, fn, genre, name = line.rstrip("\n").split("\t", 8) | ||
| 87 | + rows.append({"file": f, "span": {"start": {"line": int(sl), "column": int(sc)}, | ||
| 88 | + "end": {"line": int(el), "column": int(ec)}}, | ||
| 89 | + "replacement": rep, "function": fn, "genre": genre, "name": name}) | ||
| 90 | + return rows | ||
| 91 | + | ||
| 92 | + | ||
| 93 | +def cmd_sample(tsv_path, covdir, n, seed, out_idx, out_json): | ||
| 94 | + """Seeded, per-file stratified sample of mutants whose start line is covered by a heavy test. | ||
| 95 | + | ||
| 96 | + out_json is the sample itself as a JSON array (same fields mutate.py reads). Its position is | ||
| 97 | + the sample index used by the other subcommands; "global" keeps the index in the full list. | ||
| 98 | + """ | ||
| 99 | + mutants = read_mutants_tsv(tsv_path) | ||
| 100 | + union = defaultdict(set) | ||
| 101 | + for i, _ in load_index(covdir): | ||
| 102 | + for f, ls in covered_lines(load_regions(os.path.join(covdir, f"{i}.json"))).items(): | ||
| 103 | + union[f] |= ls | ||
| 104 | + by_file = defaultdict(list) | ||
| 105 | + for gidx, m in enumerate(mutants): | ||
| 106 | + if covers_line(union, m): | ||
| 107 | + by_file[m["file"]].append(gidx) | ||
| 108 | + total = sum(len(v) for v in by_file.values()) | ||
| 109 | + rng = random.Random(seed) | ||
| 110 | + picked = [] | ||
| 111 | + for f in sorted(by_file): | ||
| 112 | + quota = max(1, round(n * len(by_file[f]) / total)) | ||
| 113 | + picked += rng.sample(by_file[f], min(quota, len(by_file[f]))) | ||
| 114 | + picked = sorted(rng.sample(picked, min(n, len(picked)))) | ||
| 115 | + sample = [] | ||
| 116 | + for g in picked: | ||
| 117 | + m = dict(mutants[g]) | ||
| 118 | + m["global"] = g | ||
| 119 | + sample.append(m) | ||
| 120 | + json.dump(sample, open(out_json, "w")) | ||
| 121 | + with open(out_idx, "w") as fh: | ||
| 122 | + fh.write("".join(f"{i}\n" for i in range(len(sample)))) | ||
| 123 | + print(f"eligible={total} files={len(by_file)} sampled={len(sample)} seed={seed}") | ||
| 124 | + | ||
| 125 | + | ||
| 126 | +def read_statuses(d): | ||
| 127 | + st = {} | ||
| 128 | + for name in os.listdir(d): | ||
| 129 | + if name.endswith(".status"): | ||
| 130 | + st[int(name.split(".")[0])] = open(os.path.join(d, name)).read().strip() | ||
| 131 | + return st | ||
| 132 | + | ||
| 133 | + | ||
| 134 | +def cmd_survivors(mutants_path, fastdir, out): | ||
| 135 | + st = read_statuses(fastdir) | ||
| 136 | + surv = sorted(i for i, s in st.items() if s == "pass") | ||
| 137 | + open(out, "w").write("".join(f"{i}\n" for i in surv)) | ||
| 138 | + print(f"fast_run={len(st)} survivors={len(surv)} killed_by_fast={sum(1 for s in st.values() if s == 'fail')} unviable={sum(1 for s in st.values() if s == 'unviable')}") | ||
| 139 | + | ||
| 140 | + | ||
| 141 | +def cmd_heavyjobs(mutants_path, covdir, surv_path, out, testsdir): | ||
| 142 | + mutants = json.load(open(mutants_path)) | ||
| 143 | + names = dict(load_index(covdir)) | ||
| 144 | + cov = {} | ||
| 145 | + for i in names: | ||
| 146 | + cov[i] = covered_lines(load_regions(os.path.join(covdir, f"{i}.json"))) | ||
| 147 | + os.makedirs(testsdir, exist_ok=True) | ||
| 148 | + with open(out, "w") as fh: | ||
| 149 | + for line in open(surv_path): | ||
| 150 | + idx = int(line) | ||
| 151 | + m = mutants[idx] | ||
| 152 | + tests = [names[i] for i in names if covers_line(cov[i], m)] | ||
| 153 | + tfile = os.path.join(testsdir, f"{idx}.txt") | ||
| 154 | + with open(tfile, "w") as tf: | ||
| 155 | + tf.write("".join(t + "\n" for t in tests)) | ||
| 156 | + fh.write(f"{idx}\t{tfile}\n") | ||
| 157 | + print(f"survivor {idx}: {m['file']}:{m['span']['start']['line']} covering_heavy={len(tests)}") | ||
| 158 | + | ||
| 159 | + | ||
| 160 | +def cmd_decide(mutants_path, covdir, fastcov_path, fastdir, heavydir, times_path, killtsv, report_md): | ||
| 161 | + mutants = json.load(open(mutants_path)) | ||
| 162 | + names = dict(load_index(covdir)) | ||
| 163 | + regs = {} | ||
| 164 | + keep_names = set() | ||
| 165 | + for fn in ("failed.txt", "nocov.txt"): | ||
| 166 | + path = os.path.join(covdir, fn) | ||
| 167 | + if os.path.exists(path): | ||
| 168 | + keep_names |= {l.strip() for l in open(path) if l.strip()} | ||
| 169 | + for i, name in names.items(): | ||
| 170 | + jpath = os.path.join(covdir, f"{i}.json") | ||
| 171 | + if os.path.exists(jpath): | ||
| 172 | + regs[name] = load_regions(jpath) | ||
| 173 | + else: | ||
| 174 | + keep_names.add(name) | ||
| 175 | + regs[name] = set() | ||
| 176 | + fast = load_regions(fastcov_path) | ||
| 177 | + secs = {} | ||
| 178 | + for line in open(times_path): | ||
| 179 | + parts = line.rstrip("\n").split("\t") | ||
| 180 | + if len(parts) == 2: | ||
| 181 | + secs[parts[0]] = float(parts[1]) | ||
| 182 | + # Kill matrix: survivor -> failing heavy tests | ||
| 183 | + kills = {} | ||
| 184 | + for name in os.listdir(heavydir): | ||
| 185 | + if name.endswith(".fail"): | ||
| 186 | + idx = int(name.split(".")[0]) | ||
| 187 | + kills[idx] = set(l.strip() for l in open(os.path.join(heavydir, name)) if l.strip()) | ||
| 188 | + for idx in list(kills): | ||
| 189 | + if not kills[idx]: | ||
| 190 | + del kills[idx] | ||
| 191 | + # Greedy runtime-weighted set cover over the kill matrix (Smith & Kapfhammer). | ||
| 192 | + universe = set(kills) | ||
| 193 | + kept, uncovered = [], set(universe) | ||
| 194 | + tests_of = defaultdict(set) | ||
| 195 | + for idx, ts in kills.items(): | ||
| 196 | + for t in ts: | ||
| 197 | + tests_of[t].add(idx) | ||
| 198 | + while uncovered: | ||
| 199 | + best = max(tests_of, key=lambda t: (len(tests_of[t] & uncovered) / secs.get(t, 1.0), t), default=None) | ||
| 200 | + if best is None or not (tests_of[best] & uncovered): | ||
| 201 | + break | ||
| 202 | + kept.append(best) | ||
| 203 | + uncovered -= tests_of[best] | ||
| 204 | + kept_set = set(kept) | ||
| 205 | + kept_regions = set(fast) | ||
| 206 | + for t in kept: | ||
| 207 | + kept_regions |= set(regs[t]) | ||
| 208 | + rows = [] | ||
| 209 | + deleted_secs = 0.0 | ||
| 210 | + with open(killtsv, "w") as kt: | ||
| 211 | + kt.write("mutant\tfile\tline\treplacement\tkilling_heavy_tests\n") | ||
| 212 | + for idx in sorted(kills): | ||
| 213 | + m = mutants[idx] | ||
| 214 | + kt.write(f"{idx}\t{m['file']}\t{m['span']['start']['line']}\t{m['replacement']}\t{' ; '.join(sorted(kills[idx]))}\n") | ||
| 215 | + for name in sorted(names.values(), key=lambda n: -secs.get(n, 0)): | ||
| 216 | + u_fast = set(regs[name]) - set(fast) | ||
| 217 | + u_kept = set(regs[name]) - kept_regions | ||
| 218 | + kp = {idx for idx, ts in kills.items() if name in ts and not (ts & kept_set)} | ||
| 219 | + if name in kept_set: | ||
| 220 | + cls, action = "kept(cover)", "keep" | ||
| 221 | + elif name in keep_names: | ||
| 222 | + cls, action = "candidate", "keep (failed or no coverage)" | ||
| 223 | + elif PROTECTED.search(name): | ||
| 224 | + cls, action = "protected", "keep (protected)" | ||
| 225 | + else: | ||
| 226 | + cls = "candidate" | ||
| 227 | + if u_kept: | ||
| 228 | + action = "keep (unique coverage)" | ||
| 229 | + elif kp: | ||
| 230 | + action = "keep (unique kills)" | ||
| 231 | + else: | ||
| 232 | + action = "delete" | ||
| 233 | + deleted_secs += secs.get(name, 0) | ||
| 234 | + rows.append((name, cls, len(u_fast), len(u_kept), len(kp), action)) | ||
| 235 | + with open(report_md, "w") as rp: | ||
| 236 | + rp.write("| crate | test | seconds | class | |U(T)| vs fast | |U(T)| vs fast+kept | |K'| | decision |\n") | ||
| 237 | + rp.write("|---|---|---|---|---|---|---|---|\n") | ||
| 238 | + for name, cls, uf, uk, kp_n, action in rows: | ||
| 239 | + rp.write(f"| ec-av1 | {name} | {secs.get(name, 0):.1f} | {cls} | {uf} | {uk} | {kp_n} | {action} |\n") | ||
| 240 | + deletions = [r[0] for r in rows if r[5] == "delete"] | ||
| 241 | + print(f"survivors_with_kills={len(kills)} kept_by_cover={len(kept)} candidates={sum(1 for r in rows if r[1]=='candidate')} deletable={len(deletions)} seconds_saved={deleted_secs:.1f}") | ||
| 242 | + with open(os.path.join(os.path.dirname(report_md), os.path.basename(report_md) + ".deletions"), "w") as fh: | ||
| 243 | + fh.write("".join(d + "\n" for d in deletions)) | ||
| 244 | + | ||
| 245 | + | ||
| 246 | +def cmd_failing(log_path, tests_path, out_path): | ||
| 247 | + """Names from TESTS that nextest reports as FAIL/TIMEOUT/signal in LOG (one per line in OUT).""" | ||
| 248 | + names = [l.strip() for l in open(tests_path) if l.strip()] | ||
| 249 | + status = re.compile(r"^\s*(FAIL|TIMEOUT|SIGSEGV|SIGABRT|SIGKILL|SIGILL|SIGBUS|SIGFPE|SIGTERM|LEAK|ABORT)\b") | ||
| 250 | + text = re.sub(r"\x1b\[[0-9;]*[A-Za-z]", "", open(log_path, errors="replace").read()) | ||
| 251 | + bad = set() | ||
| 252 | + for line in text.splitlines(): | ||
| 253 | + if status.match(line): | ||
| 254 | + tail = line.rstrip() | ||
| 255 | + bad.update(n for n in names if tail.endswith(" " + n)) | ||
| 256 | + open(out_path, "w").write("".join(f"{n}\n" for n in sorted(bad))) | ||
| 257 | + print(f"failing={len(bad)}") | ||
| 258 | + | ||
| 259 | + | ||
| 260 | +def cmd_regex(sample_json, idx): | ||
| 261 | + """Anchored, escaped regex that selects exactly one mutant by its `--list` name.""" | ||
| 262 | + name = json.load(open(sample_json))[int(idx)]["name"] | ||
| 263 | + special = set(".+*?()|[]{}^$\\#&-~") | ||
| 264 | + print("^" + "".join("\\" + c if c in special else c for c in name) + "$") | ||
| 265 | + | ||
| 266 | + | ||
| 267 | +def cmd_name(sample_json, idx): | ||
| 268 | + print(json.load(open(sample_json))[int(idx)]["name"]) | ||
| 269 | + | ||
| 270 | + | ||
| 271 | +if __name__ == "__main__": | ||
| 272 | + cmd = sys.argv[1] | ||
| 273 | + args = sys.argv[2:] | ||
| 274 | + if cmd == "regex": | ||
| 275 | + cmd_regex(args[0], args[1]) | ||
| 276 | + elif cmd == "name": | ||
| 277 | + cmd_name(args[0], args[1]) | ||
| 278 | + elif cmd == "compact": | ||
| 279 | + compact(args[0], args[1]) | ||
| 280 | + elif cmd == "sample": | ||
| 281 | + cmd_sample(args[0], args[1], int(args[2]), int(args[3]), args[4], args[5]) | ||
| 282 | + elif cmd == "survivors": | ||
| 283 | + cmd_survivors(args[0], args[1], args[2]) | ||
| 284 | + elif cmd == "heavyjobs": | ||
| 285 | + cmd_heavyjobs(args[0], args[1], args[2], args[3], args[4]) | ||
| 286 | + elif cmd == "decide": | ||
| 287 | + cmd_decide(*args) | ||
| 288 | + elif cmd == "failing": | ||
| 289 | + cmd_failing(args[0], args[1], args[2]) | ||
| 290 | + else: | ||
| 291 | + sys.exit(__doc__) | ||
scripts/kill-matrix.shadded+171 -0
| @@ -0,0 +1,171 @@ | |||
| 1 | +#!/usr/bin/env bash | ||
| 2 | +# kill-matrix.sh: the heavy-compute steps of a batched mutation kill matrix for one crate. | ||
| 3 | +# Reusable for any crate; defaults target ec-av1. Run it on a server through scripts/remote-run.sh, | ||
| 4 | +# from the workspace root (remote-run's cwd), with the EC_* environment set by the caller: | ||
| 5 | +# | ||
| 6 | +# EC_MEMGUARD_MAX=12G EC_AV1_AOM_DIR=$HOME/fixtures/av1-aom EC_REQUIRE_FIXTURES=1 \ | ||
| 7 | +# EC_TOOL_CACHE_DIR=$HOME/.cache/ec-tool-cache \ | ||
| 8 | +# scripts/remote-run.sh <lane> --host auto -- scripts/kill-matrix.sh <subcommand> [args] | ||
| 9 | +# | ||
| 10 | +# Subcommands (CRATE defaults to ec-av1; OUT is a directory under the workspace): | ||
| 11 | +# list <OUT> mutants of $CRATE as JSON (cargo mutants --list --json) | ||
| 12 | +# cover <TESTS> <OUT> per-test region coverage: one instrumented run per test; TESTS | ||
| 13 | +# lines are "<ordinal>\t<name>"; writes OUT/<ordinal>.json (compact) | ||
| 14 | +# fastcov <OUT> coverage of the fast profile (the "fast suite") | ||
| 15 | +# mutrun <SAMPLE.json> <IDXFILE> <OUT> fast|heavy | ||
| 16 | +# apply each mutant index in IDX (one per line), run the fast | ||
| 17 | +# profile or the given heavy test list, record the failing tests | ||
| 18 | +# in OUT/<index>.fail, and revert the tree after each mutant. | ||
| 19 | +# | ||
| 20 | +# A mutant with a compile error is recorded as "unviable" and is not a kill or a survivor. | ||
| 21 | +set -euo pipefail | ||
| 22 | + | ||
| 23 | +CRATE=${CRATE:-ec-av1} | ||
| 24 | +ROOT=$(pwd) | ||
| 25 | +TMP=${TMPDIR:-$HOME/tmp} | ||
| 26 | +mkdir -p "$TMP" | ||
| 27 | +export EC_MEMGUARD_MAX=${EC_MEMGUARD_MAX:-12G} | ||
| 28 | +export EC_REQUIRE_FIXTURES=${EC_REQUIRE_FIXTURES:-1} | ||
| 29 | +export EC_AV1_AOM_DIR=${EC_AV1_AOM_DIR:-$HOME/fixtures/av1-aom} | ||
| 30 | +export EC_TOOL_CACHE_DIR=${EC_TOOL_CACHE_DIR:-$HOME/.cache/ec-tool-cache} | ||
| 31 | +NEXTEST_J=${NEXTEST_J:-4} | ||
| 32 | +MUTATE="python3 $ROOT/scripts/mutate.py" | ||
| 33 | + | ||
| 34 | +sub=${1:?subcommand} | ||
| 35 | +shift | ||
| 36 | + | ||
| 37 | +# Per-test profraw are kept per run; report merges what is on disk. | ||
| 38 | +llvm_clean() { cargo llvm-cov clean --profraw-only -p "$CRATE" >/dev/null 2>&1 || true; } | ||
| 39 | + | ||
| 40 | +# A child process that dies mid-write leaves a truncated .profraw, and llvm-cov report then fails | ||
| 41 | +# for the whole merge. Delete every profile that llvm-profdata cannot read, and log the count. | ||
| 42 | +prune_profraw() { | ||
| 43 | + local pd f n=0 | ||
| 44 | + pd=$(rustc --print sysroot)/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-profdata | ||
| 45 | + local dir="${CARGO_TARGET_DIR:-target}/llvm-cov-target" | ||
| 46 | + while IFS= read -r f; do | ||
| 47 | + if ! "$pd" show "$f" >/dev/null 2>&1; then | ||
| 48 | + rm -f "$f" | ||
| 49 | + n=$((n + 1)) | ||
| 50 | + fi | ||
| 51 | + done < <(find "$dir" -name '*.profraw' 2>/dev/null) | ||
| 52 | + echo "prune_profraw: deleted $n unreadable profraw under $dir" >&2 | ||
| 53 | +} | ||
| 54 | + | ||
| 55 | +# Heavy mode: apply one mutant to this tree (scripts/mutate.py), run the listed heavy tests with | ||
| 56 | +# --no-fail-fast, and record every failing test in OUT/<idx>.fail. cargo-mutants stops at the first | ||
| 57 | +# failing test, so it cannot produce the full kill set that the matrix needs. | ||
| 58 | +# A timeout records every listed test as killing (conservative: it keeps them). | ||
| 59 | +heavy_one() { | ||
| 60 | + local json=$1 idx=$2 tests=$3 out=$4 expr="" name rc | ||
| 61 | + while IFS= read -r name; do | ||
| 62 | + [ -n "$name" ] || continue | ||
| 63 | + expr+="${expr:+ | }test(=$name)" | ||
| 64 | + done < "$tests" | ||
| 65 | + rm -f "$out/$idx.fail" "$out/$idx.status" | ||
| 66 | + if [ -z "$expr" ]; then | ||
| 67 | + : > "$out/$idx.fail"; echo pass > "$out/$idx.status"; return 0 | ||
| 68 | + fi | ||
| 69 | + python3 scripts/mutate.py apply "$json" "$idx" "$ROOT" > "$out/$idx.apply.txt" 2>&1 | ||
| 70 | + set +e | ||
| 71 | + timeout 3600 cargo nextest run -p "$CRATE" --no-fail-fast -j "$NEXTEST_J" -E "$expr" > "$out/$idx.log" 2>&1 | ||
| 72 | + rc=$? | ||
| 73 | + set -e | ||
| 74 | + python3 scripts/mutate.py revert "$ROOT" | ||
| 75 | + if [ "$rc" -eq 124 ]; then | ||
| 76 | + cp "$tests" "$out/$idx.fail"; echo fail > "$out/$idx.status" | ||
| 77 | + echo "heavy_one: mutant $idx timed out; all covering tests recorded" >&2 | ||
| 78 | + return 0 | ||
| 79 | + fi | ||
| 80 | + if ! grep -q 'Summary' "$out/$idx.log"; then | ||
| 81 | + echo unviable > "$out/$idx.status"; return 0 | ||
| 82 | + fi | ||
| 83 | + python3 scripts/kill-matrix-analyze.py failing "$out/$idx.log" "$tests" "$out/$idx.fail" | ||
| 84 | + if [ -s "$out/$idx.fail" ]; then echo fail > "$out/$idx.status"; else echo pass > "$out/$idx.status"; fi | ||
| 85 | +} | ||
| 86 | + | ||
| 87 | +case $sub in | ||
| 88 | +list) | ||
| 89 | + out=$1; mkdir -p "$out" | ||
| 90 | + (cd "crates/$CRATE" && cargo mutants -p "$CRATE" --list --json) > "$out/mutants.json" | ||
| 91 | + echo "mutants: $(python3 -c "import json,sys;print(len(json.load(open('$out/mutants.json'))))")" | ||
| 92 | + ;; | ||
| 93 | +cover) | ||
| 94 | + tests=$1; out=$2; mkdir -p "$out" | ||
| 95 | + # TESTS lines: "<ordinal><TAB><test name>". The ordinal names the output files, so shards | ||
| 96 | + # run on different hosts can be merged by ordinal. | ||
| 97 | + while IFS=$'\t' read -r i name; do | ||
| 98 | + [ -n "$name" ] || continue | ||
| 99 | + llvm_clean | ||
| 100 | + # A failing test still leaves its profile behind; the coverage is what matters here. | ||
| 101 | + cargo llvm-cov nextest --no-report --no-fail-fast -p "$CRATE" -j "$NEXTEST_J" \ | ||
| 102 | + -E "test(=$name)" > "$out/$i.log" 2>&1 || { | ||
| 103 | + # Coverage of a failing run is still reported, but it is not a clean baseline. | ||
| 104 | + echo "cover: test $i exited non-zero: $name" >&2 | ||
| 105 | + printf '%s\n' "$name" >> "$out/failed.txt" | ||
| 106 | + } | ||
| 107 | + prune_profraw | ||
| 108 | + # A missing report is not fatal: the test is recorded as "nocov" and the analysis keeps it. | ||
| 109 | + if cargo llvm-cov report --json --output-path "$TMP/cov-$i.json" >/dev/null 2>&1 \ | ||
| 110 | + && python3 scripts/kill-matrix-analyze.py compact "$TMP/cov-$i.json" "$out/$i.json"; then | ||
| 111 | + printf '%s\t%s\n' "$i" "$name" >> "$out/index.tsv" | ||
| 112 | + else | ||
| 113 | + echo "cover: no coverage report for test $i: $name" >&2 | ||
| 114 | + printf '%s\n' "$name" >> "$out/nocov.txt" | ||
| 115 | + printf '%s\t%s\n' "$i" "$name" >> "$out/index.tsv" | ||
| 116 | + fi | ||
| 117 | + rm -f "$TMP/cov-$i.json" | ||
| 118 | + done < "$tests" | ||
| 119 | + ;; | ||
| 120 | +fastcov) | ||
| 121 | + out=$1; mkdir -p "$out" | ||
| 122 | + llvm_clean | ||
| 123 | + cargo llvm-cov nextest --no-report --no-fail-fast -p "$CRATE" --profile fast -j "$NEXTEST_J" > "$out/fast.log" 2>&1 || true | ||
| 124 | + prune_profraw | ||
| 125 | + if ! { cargo llvm-cov report --json --output-path "$TMP/fast-cov.json" >/dev/null 2>&1 \ | ||
| 126 | + && python3 scripts/kill-matrix-analyze.py compact "$TMP/fast-cov.json" "$out/fast.json"; }; then | ||
| 127 | + echo "fastcov: no coverage report; see $out/fast.log" >&2 | ||
| 128 | + fi | ||
| 129 | + rm -f "$TMP/fast-cov.json" | ||
| 130 | + ;; | ||
| 131 | +mutrun) | ||
| 132 | + # Fast mode: cargo-mutants applies, builds and runs each sampled mutant itself. Each one is selected | ||
| 133 | + # by its exact name (-F/--re over the names `--list` shows), so no span is applied by this script. | ||
| 134 | + json=$1; idxfile=$2; out=$3; mode=$4 | ||
| 135 | + mkdir -p "$out" | ||
| 136 | + # idxfile lines: "<index>" (fast) or "<index><TAB><tests file>" (heavy, one list per mutant). | ||
| 137 | + while IFS=$'\t' read -r idx tests; do | ||
| 138 | + [ -n "$idx" ] || continue | ||
| 139 | + if [ "$mode" = heavy ]; then | ||
| 140 | + heavy_one "$json" "$idx" "$tests" "$out" | ||
| 141 | + echo "mutrun: heavy mutant $idx status=$(cat "$out/$idx.status")" >&2 | ||
| 142 | + continue | ||
| 143 | + fi | ||
| 144 | + re=$(python3 scripts/kill-matrix-analyze.py regex "$json" "$idx") | ||
| 145 | + sel=(--cargo-test-arg=--profile --cargo-test-arg=fast) | ||
| 146 | + rm -rf "$out/$idx.d" | ||
| 147 | + set +e | ||
| 148 | + cargo mutants -p "$CRATE" --test-tool nextest --baseline skip --timeout-multiplier 3 \ | ||
| 149 | + --re "$re" "${sel[@]}" --output "$out/$idx.d" > "$out/$idx.log" 2>&1 | ||
| 150 | + rc=$? | ||
| 151 | + set -e | ||
| 152 | + mo="$out/$idx.d/mutants.out" | ||
| 153 | + if [ -f "$mo/caught.txt" ] && grep -qF "$(python3 scripts/kill-matrix-analyze.py name "$json" "$idx")" "$mo/caught.txt"; then | ||
| 154 | + echo fail > "$out/$idx.status" # killed by the selected tests | ||
| 155 | + elif [ -f "$mo/timeout.txt" ] && grep -qF "$(python3 scripts/kill-matrix-analyze.py name "$json" "$idx")" "$mo/timeout.txt"; then | ||
| 156 | + echo fail > "$out/$idx.status" | ||
| 157 | + elif [ -f "$mo/unviable.txt" ] && grep -qF "$(python3 scripts/kill-matrix-analyze.py name "$json" "$idx")" "$mo/unviable.txt"; then | ||
| 158 | + echo unviable > "$out/$idx.status" | ||
| 159 | + elif [ -f "$mo/missed.txt" ] && grep -qF "$(python3 scripts/kill-matrix-analyze.py name "$json" "$idx")" "$mo/missed.txt"; then | ||
| 160 | + echo pass > "$out/$idx.status" # survived the selected tests | ||
| 161 | + else | ||
| 162 | + echo "error rc=$rc" > "$out/$idx.status" | ||
| 163 | + fi | ||
| 164 | + echo "mutrun: $mode mutant $idx status=$(cat "$out/$idx.status")" >&2 | ||
| 165 | + done < "$idxfile" | ||
| 166 | + ;; | ||
| 167 | +*) | ||
| 168 | + sed -n '2,20p' "$0" >&2 | ||
| 169 | + exit 2 | ||
| 170 | + ;; | ||
| 171 | +esac | ||
scripts/mutate.pyadded+62 -0
| @@ -0,0 +1,62 @@ | |||
| 1 | +#!/usr/bin/env python3 | ||
| 2 | +"""Apply or revert one cargo-mutants mutant in place, from `cargo mutants --list --json`. | ||
| 3 | + | ||
| 4 | +Used by scripts/kill-matrix.sh on a scratch copy of the tree (never on the local checkout). | ||
| 5 | + | ||
| 6 | + mutate.py apply <mutants.json> <index> <root> # writes the mutated file, saves the original | ||
| 7 | + mutate.py revert <root> # restores every file saved by apply | ||
| 8 | + | ||
| 9 | +The original bytes are kept in <root>/.mutate-backup/ so revert is exact. | ||
| 10 | +""" | ||
| 11 | +import json | ||
| 12 | +import os | ||
| 13 | +import shutil | ||
| 14 | +import sys | ||
| 15 | + | ||
| 16 | + | ||
| 17 | +def offset(text_lines, line, col): | ||
| 18 | + # cargo-mutants spans are 1-based line and 1-based char column (inclusive start, exclusive end). | ||
| 19 | + return sum(len(l) for l in text_lines[: line - 1]) + (col - 1) | ||
| 20 | + | ||
| 21 | + | ||
| 22 | +def apply(json_path, index, root): | ||
| 23 | + mutants = json.load(open(json_path)) | ||
| 24 | + m = mutants[index] | ||
| 25 | + rel = m["file"] | ||
| 26 | + path = os.path.join(root, rel) | ||
| 27 | + backup_dir = os.path.join(root, ".mutate-backup") | ||
| 28 | + os.makedirs(backup_dir, exist_ok=True) | ||
| 29 | + backup = os.path.join(backup_dir, rel.replace("/", "__")) | ||
| 30 | + if not os.path.exists(backup): | ||
| 31 | + shutil.copy2(path, backup) | ||
| 32 | + with open(path, encoding="utf-8", newline="") as f: | ||
| 33 | + text = f.read() | ||
| 34 | + lines = text.splitlines(keepends=True) | ||
| 35 | + s = m["span"]["start"] | ||
| 36 | + e = m["span"]["end"] | ||
| 37 | + a = offset(lines, s["line"], s["column"]) | ||
| 38 | + b = offset(lines, e["line"], e["column"]) | ||
| 39 | + original = text[a:b] | ||
| 40 | + new = text[:a] + m["replacement"] + text[b:] | ||
| 41 | + with open(path, "w", encoding="utf-8", newline="") as f: | ||
| 42 | + f.write(new) | ||
| 43 | + print(f"mutant {index}: {rel}:{s['line']}:{s['column']} {original!r} -> {m['replacement']!r}") | ||
| 44 | + | ||
| 45 | + | ||
| 46 | +def revert(root): | ||
| 47 | + backup_dir = os.path.join(root, ".mutate-backup") | ||
| 48 | + if not os.path.isdir(backup_dir): | ||
| 49 | + return | ||
| 50 | + for name in os.listdir(backup_dir): | ||
| 51 | + rel = name.replace("__", "/") | ||
| 52 | + shutil.copy2(os.path.join(backup_dir, name), os.path.join(root, rel)) | ||
| 53 | + os.remove(os.path.join(backup_dir, name)) | ||
| 54 | + | ||
| 55 | + | ||
| 56 | +if __name__ == "__main__": | ||
| 57 | + if sys.argv[1] == "apply": | ||
| 58 | + apply(sys.argv[2], int(sys.argv[3]), sys.argv[4]) | ||
| 59 | + elif sys.argv[1] == "revert": | ||
| 60 | + revert(sys.argv[2]) | ||
| 61 | + else: | ||
| 62 | + sys.exit(__doc__) | ||