repo_id stringclasses 400
values | commit_sha stringclasses 400
values | commit_index int32 0 951 | in_repo_split stringclasses 1
value | cross_repo_split stringclasses 1
value | test_file stringlengths 7 121 | test_function stringlengths 1 108 | assertion_type stringclasses 32
values | difficulty stringclasses 8
values | context_lines int32 3 600 | prefix large_stringlengths 44 113k | target large_stringlengths 1 498 | anchor_sha stringclasses 400
values | anchor_index int32 0 951 | qna_source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_misc.py | test_SetTrie | assert | collection | 46 | __copyright__ = "Copyright (C) 2016 Matt Wala"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, ... | [1, 2, 3, 4, 5] | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_misc.py | test_memoize_on_disk_with_pym_expr | assert | variable | 61 | __copyright__ = "Copyright (C) 2016 Matt Wala"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, ... | uncached_result | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_misc.py | test_kernel_pickling_and_hashing | assert | func_call | 43 | __copyright__ = "Copyright (C) 2016 Matt Wala"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, ... | LoopyKeyBuilder()(reconst_knl) | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_reduction.py | test_reduction_without_inames | assert | numeric_literal | 63 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 5 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_reduction.py | test_simul_reduce | assert | variable | 62 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | ref | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_reduction.py | test_parallel_multi_output_reduction | assert | func_call | 60 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | np.max(a) | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_reduction.py | test_nonsense_reduction | pytest.raises | variable | 56 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | RuntimeError) | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_reduction.py | test_argmax | assert | func_call | 66 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | np.max(np.abs(a)) | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_reduction.py | test_reduction_with_conditional | assert | func_call | 64 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | code.index("for") | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_reduction.py | test_parallel_multi_output_reduction | assert | func_call | 61 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | np.argmax(np.abs(a)) | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_reduction.py | test_argmax | assert | func_call | 67 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | np.where(np.abs(a) == max_val)[-1] | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_scan.py | check_segmented_scan_output | assert | func_call | 68 | __copyright__ = """
Copyright (C) 2012 Andreas Kloeckner
Copyright (C) 2016, 2017 Matt Wala
"""
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including wit... | len(actual) | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_scan.py | test_automatic_scan_detection | assert | func_call | 60 | __copyright__ = """
Copyright (C) 2012 Andreas Kloeckner
Copyright (C) 2016, 2017 Matt Wala
"""
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including wit... | cgr.device_code() | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_scan.py | test_force_outer_iname_for_scan | pytest.raises | complex_expr | 56 | __copyright__ = """
Copyright (C) 2012 Andreas Kloeckner
Copyright (C) 2016, 2017 Matt Wala
"""
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including wit... | lp.diagnostic.ReductionIsNotTriangularError) | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_statistics.py | test_barrier_counter_nobarriers | assert | numeric_literal | 59 | __copyright__ = "Copyright (C) 2015 James Stevens"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | 1 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_statistics.py | test_all_counters_parallel_matmul | assert | numeric_literal | 65 | __copyright__ = "Copyright (C) 2015 James Stevens"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | 2 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_statistics.py | test_summations_and_filters | assert | numeric_literal | 123 | __copyright__ = "Copyright (C) 2015 James Stevens"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | 0 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_statistics.py | test_no_loop_ops | assert | numeric_literal | 56 | __copyright__ = "Copyright (C) 2015 James Stevens"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | 3 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_statistics.py | test_mem_access_counter_nonconsec | assert | complex_expr | 114 | __copyright__ = "Copyright (C) 2015 James Stevens"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | n*m | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_statistics.py | test_stats_on_callable_kernel | assert | numeric_literal | 62 | __copyright__ = "Copyright (C) 2015 James Stevens"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | 400 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_statistics.py | test_gather_access_footprint_2 | assert | numeric_literal | 52 | __copyright__ = "Copyright (C) 2015 James Stevens"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | 200 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_statistics.py | test_stats_on_callable_kernel_within_loop | assert | numeric_literal | 63 | __copyright__ = "Copyright (C) 2015 James Stevens"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | 8000 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_statistics.py | test_mem_access_counter_nonconsec | assert | complex_expr | 95 | __copyright__ = "Copyright (C) 2015 James Stevens"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | 2*n*m | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_statistics.py | test_all_counters_parallel_matmul | assert | complex_expr | 115 | __copyright__ = "Copyright (C) 2015 James Stevens"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | n*ell | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_target.py | test_tuple | assert | numeric_literal | 62 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 1 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_target.py | test_pyopencl_execution_numpy_handling | assert | variable | 59 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | x | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_target.py | test_nan_support | assert | numeric_literal | 82 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 0 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_target.py | test_tuple | assert | numeric_literal | 63 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 2. | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_target.py | test_pyopencl_execution_numpy_handling | assert | numeric_literal | 60 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 7. | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_target.py | test_opencl_emits_ternary_operators_correctly | assert | numeric_literal | 76 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 42 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_target.py | test_opencl_emits_ternary_operators_correctly | assert | numeric_literal | 77 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 128 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_target.py | test_pyopencl_execution_accepts_device_scalars | assert_* | numeric_literal | 62 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 42) | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_target.py | test_math_function | assert | variable | 75 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | code | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_target.py | test_opencl_emits_ternary_operators_correctly | assert | numeric_literal | 75 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 1729 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_precompute_nested_subst | assert | numeric_literal | 70 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 1 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_uniquify_instruction_ids | assert | numeric_literal | 62 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 4 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_custom_iname_tag | assert | numeric_literal | 88 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 2 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_to_batched_temp | assert | collection | 73 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | () | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_rename_argument_of_domain_params | assert | numeric_literal | 80 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | -1 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_privatize_with_nonzero_lbound | assert | collection | 84 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | (4,) | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_to_batched | assert | numeric_literal | 75 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 1e-15 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_add_barrier | assert | numeric_literal | 70 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | 1e-16 | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_tag_iname_with_match_pattern | assert | string_literal | 81 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | "unr" | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_custom_iname_tag | assert | string_literal | 82 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | "iel" | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_custom_iname_tag | assert | string_literal | 83 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | "idof" | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_prefetch_with_within | assert | collection | 96 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | (128,) | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
inducer/loopy | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | train | train | test/test_transform.py | test_map_domain_transform_map_validity_and_errors | assert | func_call | 180 | __copyright__ = "Copyright (C) 2012 Andreas Kloeckner"
__license__ = """
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, ... | str(err) | 04fb70333121667d9f7731d075069ad7e24fa759 | 315 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_traffic_light | assert | numeric_literal | 33 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | 2 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_traffic_light | assert | numeric_literal | 34 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | 1 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_traffic_light | assert | numeric_literal | 35 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | 0 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_apply_dynamic_traffic_light_bounds | assert_* | numeric_literal | 87 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | 5.0) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_apply_dynamic_traffic_light_bounds | assert_* | numeric_literal | 88 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | 3.5) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_apply_dynamic_traffic_light_bounds | assert_* | numeric_literal | 89 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | -0.5) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_apply_dynamic_traffic_light_bounds | assert_* | numeric_literal | 90 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | -2.0) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_apply_monitoring_business_rules | assert | collection | 57 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | [0] * 5 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_apply_monitoring_business_rules | assert | collection | 61 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | [1] * 5 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_apply_monitoring_business_rules | assert | variable | 51 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | datastore | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_apply_monitoring_business_rules | assert | variable | 54 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | test_data | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_traffic_light | pytest.raises | variable | 37 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | Exception) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_apply_tl_bounds.py | test_rolling_window_funcs | assert_* | collection | 54 | import numpy as np
import pandas as pd
import pytest
from popmon.alerting import (
ComputeTLBounds,
DynamicBounds,
StaticBounds,
TrafficLightAlerts,
pull_bounds,
traffic_light,
)
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.functions import (
expanding_mean,
exp... | [np.nan] * 9 + [1.0] * 91) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_compute_tl_bounds.py | test_collect_traffic_light_bounds | assert | numeric_literal | 12 | import pytest
from popmon.alerting import ComputeTLBounds, collect_traffic_light_bounds
def test_collect_traffic_light_bounds():
test_dict = {"a": 2, "b:c": 5, "b:d": 6, "x:y:z": 17}
pkeys, nkeys = collect_traffic_light_bounds(test_dict)
assert nkeys == ["a"]
assert len(pkeys) == | 2 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_compute_tl_bounds.py | test_compute_traffic_light_funcs | assert | numeric_literal | 26 | import pytest
from popmon.alerting import ComputeTLBounds, collect_traffic_light_bounds
def test_compute_traffic_light_funcs():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
"monitoring_rules": {
"the_feature:mae": [8, 4, 2, 2],
"dummy_feature:*": [0, 0, 0, 0],
... | 3 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_compute_tl_bounds.py | test_collect_traffic_light_bounds | assert | collection | 11 | import pytest
from popmon.alerting import ComputeTLBounds, collect_traffic_light_bounds
def test_collect_traffic_light_bounds():
test_dict = {"a": 2, "b:c": 5, "b:d": 6, "x:y:z": 17}
pkeys, nkeys = collect_traffic_light_bounds(test_dict)
assert nkeys == | ["a"] | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_compute_tl_bounds.py | test_collect_traffic_light_bounds | assert | collection | 13 | import pytest
from popmon.alerting import ComputeTLBounds, collect_traffic_light_bounds
def test_collect_traffic_light_bounds():
test_dict = {"a": 2, "b:c": 5, "b:d": 6, "x:y:z": 17}
pkeys, nkeys = collect_traffic_light_bounds(test_dict)
assert nkeys == ["a"]
assert len(pkeys) == 2
assert pkeys... | ["z"] | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_compute_tl_bounds.py | test_compute_traffic_light_funcs | assert | collection | 29 | import pytest
from popmon.alerting import ComputeTLBounds, collect_traffic_light_bounds
def test_compute_traffic_light_funcs():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
"monitoring_rules": {
"the_feature:mae": [8, 4, 2, 2],
"dummy_feature:*": [0, 0, 0, 0],
... | ["mae"] | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_compute_tl_bounds.py | test_compute_traffic_light_funcs | assert | collection | 37 | import pytest
from popmon.alerting import ComputeTLBounds, collect_traffic_light_bounds
def test_compute_traffic_light_funcs():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
"monitoring_rules": {
"the_feature:mae": [8, 4, 2, 2],
"dummy_feature:*": [0, 0, 0, 0],
... | ["mse"] | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_compute_tl_bounds.py | test_collect_traffic_light_bounds | assert | collection | 14 | import pytest
from popmon.alerting import ComputeTLBounds, collect_traffic_light_bounds
def test_collect_traffic_light_bounds():
test_dict = {"a": 2, "b:c": 5, "b:d": 6, "x:y:z": 17}
pkeys, nkeys = collect_traffic_light_bounds(test_dict)
assert nkeys == ["a"]
assert len(pkeys) == 2
assert pkeys[... | {"c", "d"} | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_compute_tl_bounds.py | test_compute_traffic_light_bounds | assert | collection | 28 | import pytest
from popmon.alerting import ComputeTLBounds, collect_traffic_light_bounds
def test_compute_traffic_light_bounds():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
"monitoring_rules": {
"the_feature:mae": [8, 4, 2, 2],
"dummy_feature:*": [0, 0, 0, 0],
... | [8, 4, 2, 2] | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_compute_tl_bounds.py | test_compute_traffic_light_funcs | assert | collection | 30 | import pytest
from popmon.alerting import ComputeTLBounds, collect_traffic_light_bounds
def test_compute_traffic_light_funcs():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
"monitoring_rules": {
"the_feature:mae": [8, 4, 2, 2],
"dummy_feature:*": [0, 0, 0, 0],
... | (0, 0, 0, 0) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_compute_tl_bounds.py | test_compute_traffic_light_bounds | assert | func_call | 27 | import pytest
from popmon.alerting import ComputeTLBounds, collect_traffic_light_bounds
def test_compute_traffic_light_bounds():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
"monitoring_rules": {
"the_feature:mae": [8, 4, 2, 2],
"dummy_feature:*": [0, 0, 0, 0],
... | output.keys() | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_compute_tl_bounds.py | test_compute_traffic_light_bounds | assert | collection | 29 | import pytest
from popmon.alerting import ComputeTLBounds, collect_traffic_light_bounds
def test_compute_traffic_light_bounds():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
"monitoring_rules": {
"the_feature:mae": [8, 4, 2, 2],
"dummy_feature:*": [0, 0, 0, 0],
... | [0.2, 0.11, 0.09, 0] | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_integration.py | test_integration_alerting | assert | numeric_literal | 47 | import pandas as pd
import pytest
from popmon.alerting import AlertsSummary, ComputeTLBounds, traffic_light_summary
from popmon.analysis.apply_func import ApplyFunc
from popmon.base import Pipeline
def test_integration_alerting():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
"monitorin... | 5 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_integration.py | test_integration_alerting | assert | numeric_literal | 48 | import pandas as pd
import pytest
from popmon.alerting import AlertsSummary, ComputeTLBounds, traffic_light_summary
from popmon.analysis.apply_func import ApplyFunc
from popmon.base import Pipeline
def test_integration_alerting():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
"monitorin... | 1 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_integration.py | test_integration_alerting | assert | numeric_literal | 49 | import pandas as pd
import pytest
from popmon.alerting import AlertsSummary, ComputeTLBounds, traffic_light_summary
from popmon.analysis.apply_func import ApplyFunc
from popmon.base import Pipeline
def test_integration_alerting():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
"monitorin... | 4 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_integration.py | test_traffic_light_summary | assert | numeric_literal | 49 | import pandas as pd
import pytest
from popmon.alerting import AlertsSummary, ComputeTLBounds, traffic_light_summary
from popmon.analysis.apply_func import ApplyFunc
from popmon.base import Pipeline
def test_traffic_light_summary():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
"monitori... | 0 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/alerting/test_integration.py | test_traffic_light_summary_combination | assert | variable | 49 | import pandas as pd
import pytest
from popmon.alerting import AlertsSummary, ComputeTLBounds, traffic_light_summary
from popmon.analysis.apply_func import ApplyFunc
from popmon.base import Pipeline
def test_traffic_light_summary_combination():
datastore = {"test_data": pytest.test_comparer_df}
conf = {
... | alerts | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/comparison/test_comparisons.py | test_uu_chi2 | assert_* | numeric_literal | 22 | import numpy as np
import pytest
from popmon.analysis.comparison.comparisons import (
jensen_shannon_divergence,
ks_prob,
ks_test,
kullback_leibler_divergence,
population_stability_index,
uu_chi2,
)
@pytest.mark.filterwarnings("ignore:invalid value encountered in true_divide")
def test_uu_chi2... | 4) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/comparison/test_comparisons.py | test_ks_prob | assert_* | numeric_literal | 15 | import numpy as np
import pytest
from popmon.analysis.comparison.comparisons import (
jensen_shannon_divergence,
ks_prob,
ks_test,
kullback_leibler_divergence,
population_stability_index,
uu_chi2,
)
def test_ks_prob():
np.testing.assert_equal(ks_prob(0.1), | 1) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/comparison/test_comparisons.py | test_kl | assert_* | numeric_literal | 29 | import numpy as np
import pytest
from popmon.analysis.comparison.comparisons import (
jensen_shannon_divergence,
ks_prob,
ks_test,
kullback_leibler_divergence,
population_stability_index,
uu_chi2,
)
def test_kl():
np.testing.assert_almost_equal(
kullback_leibler_divergence(
... | 0) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/comparison/test_comparisons.py | test_ks_prob | assert_* | complex_expr | 16 | import numpy as np
import pytest
from popmon.analysis.comparison.comparisons import (
jensen_shannon_divergence,
ks_prob,
ks_test,
kullback_leibler_divergence,
population_stability_index,
uu_chi2,
)
def test_ks_prob():
np.testing.assert_equal(ks_prob(0.1), 1)
np.testing.assert_equal(k... | np.nan) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/comparison/test_comparisons.py | test_uu_chi2 | assert_* | complex_expr | 21 | import numpy as np
import pytest
from popmon.analysis.comparison.comparisons import (
jensen_shannon_divergence,
ks_prob,
ks_test,
kullback_leibler_divergence,
population_stability_index,
uu_chi2,
)
@pytest.mark.filterwarnings("ignore:invalid value encountered in true_divide")
def test_uu_chi2... | arr1.shape[0]) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/comparison/test_hist_comparer.py | test_reference_hist_comparer | assert | numeric_literal | 66 | import numpy as np
import pandas as pd
import pytest
from popmon import resources
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.comparison.hist_comparer import (
ExpandingHistComparer,
ReferenceHistComparer,
RollingHistComparer,
hist_compare,
)
from popmon.analysis.functions imp... | 16 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/comparison/test_hist_comparer.py | test_reference_hist_comparer | assert | numeric_literal | 71 | import numpy as np
import pandas as pd
import pytest
from popmon import resources
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.comparison.hist_comparer import (
ExpandingHistComparer,
ReferenceHistComparer,
RollingHistComparer,
hist_compare,
)
from popmon.analysis.functions imp... | 17 | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/comparison/test_hist_comparer.py | test_reference_hist_comparer | assert | func_call | 67 | import numpy as np
import pandas as pd
import pytest
from popmon import resources
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.comparison.hist_comparer import (
ExpandingHistComparer,
ReferenceHistComparer,
RollingHistComparer,
hist_compare,
)
from popmon.analysis.functions imp... | set(cols) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/comparison/test_hist_comparer.py | test_expanding_hist_comparer | assert | func_call | 55 | import numpy as np
import pandas as pd
import pytest
from popmon import resources
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.comparison.hist_comparer import (
ExpandingHistComparer,
ReferenceHistComparer,
RollingHistComparer,
hist_compare,
)
from popmon.analysis.functions imp... | len(features) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/comparison/test_hist_comparer.py | test_hist_compare | assert_* | numeric_literal | 67 | import numpy as np
import pandas as pd
import pytest
from popmon import resources
from popmon.analysis.apply_func import ApplyFunc
from popmon.analysis.comparison.hist_comparer import (
ExpandingHistComparer,
ReferenceHistComparer,
RollingHistComparer,
hist_compare,
)
from popmon.analysis.functions imp... | 0.7017543859649122) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_apply_func.py | test_variance_comparer | assert_* | numeric_literal | 42 | import numpy as np
import pandas as pd
import pytest
from popmon.analysis.apply_func import ApplyFunc, apply_func, apply_func_array
from popmon.analysis.functions import pull
from popmon.analysis.profiling.pull_calculator import (
ExpandingPullCalculator,
ReferencePullCalculator,
RefMedianMadPullCalculator... | 5) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_apply_func.py | test_variance_comparer | assert_* | numeric_literal | 43 | import numpy as np
import pandas as pd
import pytest
from popmon.analysis.apply_func import ApplyFunc, apply_func, apply_func_array
from popmon.analysis.functions import pull
from popmon.analysis.profiling.pull_calculator import (
ExpandingPullCalculator,
ReferencePullCalculator,
RefMedianMadPullCalculator... | 6) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_apply_func.py | test_apply_func_module | assert_* | numeric_literal | 41 | import numpy as np
import pandas as pd
import pytest
from popmon.analysis.apply_func import ApplyFunc, apply_func, apply_func_array
from popmon.analysis.functions import pull
from popmon.analysis.profiling.pull_calculator import (
ExpandingPullCalculator,
ReferencePullCalculator,
RefMedianMadPullCalculator... | 1.5) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_apply_func.py | test_apply_func_module | assert_* | numeric_literal | 43 | import numpy as np
import pandas as pd
import pytest
from popmon.analysis.apply_func import ApplyFunc, apply_func, apply_func_array
from popmon.analysis.functions import pull
from popmon.analysis.profiling.pull_calculator import (
ExpandingPullCalculator,
ReferencePullCalculator,
RefMedianMadPullCalculator... | 0.5) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_apply_func.py | test_pull | assert_* | numeric_literal | 45 | import numpy as np
import pandas as pd
import pytest
from popmon.analysis.apply_func import ApplyFunc, apply_func, apply_func_array
from popmon.analysis.functions import pull
from popmon.analysis.profiling.pull_calculator import (
ExpandingPullCalculator,
ReferencePullCalculator,
RefMedianMadPullCalculator... | -1.0) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_apply_func.py | test_apply_func_module | assert_* | numeric_literal | 40 | import numpy as np
import pandas as pd
import pytest
from popmon.analysis.apply_func import ApplyFunc, apply_func, apply_func_array
from popmon.analysis.functions import pull
from popmon.analysis.profiling.pull_calculator import (
ExpandingPullCalculator,
ReferencePullCalculator,
RefMedianMadPullCalculator... | 49.5) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_apply_func.py | test_apply_func_array | assert_* | variable | 41 | import numpy as np
import pandas as pd
import pytest
from popmon.analysis.apply_func import ApplyFunc, apply_func, apply_func_array
from popmon.analysis.functions import pull
from popmon.analysis.profiling.pull_calculator import (
ExpandingPullCalculator,
ReferencePullCalculator,
RefMedianMadPullCalculator... | cols) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_apply_func.py | test_median_mad_pull_comparer | assert_* | numeric_literal | 33 | import numpy as np
import pandas as pd
import pytest
from popmon.analysis.apply_func import ApplyFunc, apply_func, apply_func_array
from popmon.analysis.functions import pull
from popmon.analysis.profiling.pull_calculator import (
ExpandingPullCalculator,
ReferencePullCalculator,
RefMedianMadPullCalculator... | 0.6745) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_apply_func.py | test_median_mad_pull_comparer | assert_* | numeric_literal | 37 | import numpy as np
import pandas as pd
import pytest
from popmon.analysis.apply_func import ApplyFunc, apply_func, apply_func_array
from popmon.analysis.functions import pull
from popmon.analysis.profiling.pull_calculator import (
ExpandingPullCalculator,
ReferencePullCalculator,
RefMedianMadPullCalculator... | -0.6745) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_apply_func.py | test_apply_func_module | assert_* | numeric_literal | 42 | import numpy as np
import pandas as pd
import pytest
from popmon.analysis.apply_func import ApplyFunc, apply_func, apply_func_array
from popmon.analysis.functions import pull
from popmon.analysis.profiling.pull_calculator import (
ExpandingPullCalculator,
ReferencePullCalculator,
RefMedianMadPullCalculator... | 28.86607) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_hist_profiler.py | test_profile_hist1d | assert | variable | 33 | import histogrammar as hg
import numpy as np
import pandas as pd
from popmon.analysis.profiling.hist_profiler import HistProfiler
from popmon.hist.hist_utils import get_bin_centers
def test_profile_hist1d():
num_bins = 1000
num_entries = 10000
hist_name = "histogram"
split_len = 10
split = []
... | num_bins | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_hist_profiler.py | test_profile_hist1d | assert | variable | 30 | import histogrammar as hg
import numpy as np
import pandas as pd
from popmon.analysis.profiling.hist_profiler import HistProfiler
from popmon.hist.hist_utils import get_bin_centers
def test_profile_hist1d():
num_bins = 1000
num_entries = 10000
hist_name = "histogram"
split_len = 10
split = []
... | split_len | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_hist_profiler.py | test_profile_hist1d | assert | complex_expr | 31 | import histogrammar as hg
import numpy as np
import pandas as pd
from popmon.analysis.profiling.hist_profiler import HistProfiler
from popmon.hist.hist_utils import get_bin_centers
def test_profile_hist1d():
num_bins = 1000
num_entries = 10000
hist_name = "histogram"
split_len = 10
split = []
... | profiles[0] | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
ing-bank/popmon | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | train | train | tests/popmon/analysis/profiling/test_hist_profiler.py | test_profile_hist1d | assert | func_call | 32 | import histogrammar as hg
import numpy as np
import pandas as pd
from popmon.analysis.profiling.hist_profiler import HistProfiler
from popmon.hist.hist_utils import get_bin_centers
def test_profile_hist1d():
num_bins = 1000
num_entries = 10000
hist_name = "histogram"
split_len = 10
split = []
... | np.max(get_bin_centers(split[1][hist_name])[0]) | d687d10255eb1c86f49a3dd93ef9fd853c4c4a6f | 18 | v2_extractor_at_anchor |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.