source stringclasses 2 values | version stringclasses 2 values | module stringclasses 53 values | function stringclasses 318 values | input stringlengths 3 496 | expected stringlengths 0 876 | signature stringclasses 41 values |
|---|---|---|---|---|---|---|
reprorusted-python-cli | 3a82afb | example_math.math_tool | __module__ | >>> compute_floor(2.7) | 2 | null |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_sin | >>> compute_sin(0.0) | 0.0 | def compute_sin(x: float) -> float |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_sin | >>> abs(compute_sin(3.14159265359 / 2) - 1.0) < 0.0001 | True | def compute_sin(x: float) -> float |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_cos | >>> compute_cos(0.0) | 1.0 | def compute_cos(x: float) -> float |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_cos | >>> abs(compute_cos(math.pi) + 1.0) < 0.0001 | True | def compute_cos(x: float) -> float |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_sqrt | >>> compute_sqrt(0.0) | 0.0 | def compute_sqrt(x: float) -> float |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_sqrt | >>> compute_sqrt(4.0) | 2.0 | def compute_sqrt(x: float) -> float |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_sqrt | >>> compute_sqrt(9.0) | 3.0 | def compute_sqrt(x: float) -> float |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_ceil | >>> compute_ceil(2.0) | 2 | def compute_ceil(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_ceil | >>> compute_ceil(2.1) | 3 | def compute_ceil(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_ceil | >>> compute_ceil(-2.1) | -2 | def compute_ceil(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_floor | >>> compute_floor(2.0) | 2 | def compute_floor(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_floor | >>> compute_floor(2.9) | 2 | def compute_floor(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_math.math_tool | compute_floor | >>> compute_floor(-2.1) | -3 | def compute_floor(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_replace.replace_tool | __module__ | >>> replace_char("hello", "l", "x") | 'hexxo' | null |
reprorusted-python-cli | 3a82afb | example_replace.replace_tool | __module__ | >>> replace_all("abc", "X") | 'XXX' | null |
reprorusted-python-cli | 3a82afb | example_replace.replace_tool | replace_char | >>> replace_char("hello", "l", "x") | 'hexxo' | def replace_char(text: str, old: str, new: str) -> str |
reprorusted-python-cli | 3a82afb | example_replace.replace_tool | replace_char | >>> replace_char("banana", "a", "o") | 'bonono' | def replace_char(text: str, old: str, new: str) -> str |
reprorusted-python-cli | 3a82afb | example_replace.replace_tool | replace_char | >>> replace_char("test", "x", "y") | 'test' | def replace_char(text: str, old: str, new: str) -> str |
reprorusted-python-cli | 3a82afb | example_replace.replace_tool | replace_all | >>> replace_all("abc", "X") | 'XXX' | def replace_all(text: str, new: str) -> str |
reprorusted-python-cli | 3a82afb | example_replace.replace_tool | replace_all | >>> replace_all("", "X") | '' | def replace_all(text: str, new: str) -> str |
reprorusted-python-cli | 3a82afb | example_replace.replace_tool | replace_all | >>> replace_all("hello", "*") | '*****' | def replace_all(text: str, new: str) -> str |
reprorusted-python-cli | 3a82afb | example_round.round_tool | __module__ | >>> round_nearest(2.4) | 2 | null |
reprorusted-python-cli | 3a82afb | example_round.round_tool | __module__ | >>> round_nearest(2.6) | 3 | null |
reprorusted-python-cli | 3a82afb | example_round.round_tool | __module__ | >>> round_floor(2.9) | 2 | null |
reprorusted-python-cli | 3a82afb | example_round.round_tool | __module__ | >>> round_ceil(2.1) | 3 | null |
reprorusted-python-cli | 3a82afb | example_round.round_tool | round_nearest | >>> round_nearest(0.0) | 0 | def round_nearest(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_round.round_tool | round_nearest | >>> round_nearest(2.5) | 2 | def round_nearest(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_round.round_tool | round_nearest | >>> round_nearest(3.5) | 4 | def round_nearest(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_round.round_tool | round_nearest | >>> round_nearest(-2.5) | -2 | def round_nearest(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_round.round_tool | round_floor | >>> round_floor(2.0) | 2 | def round_floor(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_round.round_tool | round_floor | >>> round_floor(2.9) | 2 | def round_floor(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_round.round_tool | round_floor | >>> round_floor(-2.1) | -3 | def round_floor(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_round.round_tool | round_ceil | >>> round_ceil(2.0) | 2 | def round_ceil(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_round.round_tool | round_ceil | >>> round_ceil(2.1) | 3 | def round_ceil(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_round.round_tool | round_ceil | >>> round_ceil(-2.9) | -2 | def round_ceil(x: float) -> int |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | __module__ | >>> bool_and(1, 1) | True | null |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | __module__ | >>> bool_or(0, 1) | True | null |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | __module__ | >>> bool_not(0) | True | null |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | bool_and | >>> bool_and(1, 1) | True | def bool_and(x: int, y: int) -> bool |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | bool_and | >>> bool_and(1, 0) | False | def bool_and(x: int, y: int) -> bool |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | bool_and | >>> bool_and(0, 0) | False | def bool_and(x: int, y: int) -> bool |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | bool_or | >>> bool_or(1, 0) | True | def bool_or(x: int, y: int) -> bool |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | bool_or | >>> bool_or(0, 1) | True | def bool_or(x: int, y: int) -> bool |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | bool_or | >>> bool_or(0, 0) | False | def bool_or(x: int, y: int) -> bool |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | bool_not | >>> bool_not(0) | True | def bool_not(x: int) -> bool |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | bool_not | >>> bool_not(1) | False | def bool_not(x: int) -> bool |
reprorusted-python-cli | 3a82afb | example_bool.bool_tool | bool_not | >>> bool_not(5) | False | def bool_not(x: int) -> bool |
reprorusted-python-cli | 3a82afb | example_abs.abs_tool | __module__ | >>> compute_abs_int(-5) | 5 | null |
reprorusted-python-cli | 3a82afb | example_abs.abs_tool | __module__ | >>> compute_abs_int(5) | 5 | null |
reprorusted-python-cli | 3a82afb | example_abs.abs_tool | __module__ | >>> compute_abs_float(-3.14) | 3.14 | null |
reprorusted-python-cli | 3a82afb | example_abs.abs_tool | __module__ | >>> compute_abs_float(2.71) | 2.71 | null |
reprorusted-python-cli | 3a82afb | example_abs.abs_tool | compute_abs_int | >>> compute_abs_int(-10) | 10 | def compute_abs_int(x: int) -> int |
reprorusted-python-cli | 3a82afb | example_abs.abs_tool | compute_abs_int | >>> compute_abs_int(0) | 0 | def compute_abs_int(x: int) -> int |
reprorusted-python-cli | 3a82afb | example_abs.abs_tool | compute_abs_int | >>> compute_abs_int(42) | 42 | def compute_abs_int(x: int) -> int |
reprorusted-python-cli | 3a82afb | example_abs.abs_tool | compute_abs_float | >>> compute_abs_float(-2.5) | 2.5 | def compute_abs_float(x: float) -> float |
reprorusted-python-cli | 3a82afb | example_abs.abs_tool | compute_abs_float | >>> compute_abs_float(0.0) | 0.0 | def compute_abs_float(x: float) -> float |
reprorusted-python-cli | 3a82afb | example_abs.abs_tool | compute_abs_float | >>> compute_abs_float(1.5) | 1.5 | def compute_abs_float(x: float) -> float |
reprorusted-python-cli | 3a82afb | example_split.split_tool | __module__ | >>> split_underscore("a_b_c") | ['a', 'b', 'c'] | null |
reprorusted-python-cli | 3a82afb | example_split.split_tool | __module__ | >>> split_dash("x-y-z") | ['x', 'y', 'z'] | null |
reprorusted-python-cli | 3a82afb | example_split.split_tool | __module__ | >>> split_dot("1.2.3") | ['1', '2', '3'] | null |
reprorusted-python-cli | 3a82afb | example_split.split_tool | split_underscore | >>> split_underscore("hello_world_test") | ['hello', 'world', 'test'] | def split_underscore(text: str) -> list |
reprorusted-python-cli | 3a82afb | example_split.split_tool | split_underscore | >>> split_underscore("a_b_c") | ['a', 'b', 'c'] | def split_underscore(text: str) -> list |
reprorusted-python-cli | 3a82afb | example_split.split_tool | split_dash | >>> split_dash("foo-bar-baz") | ['foo', 'bar', 'baz'] | def split_dash(text: str) -> list |
reprorusted-python-cli | 3a82afb | example_split.split_tool | split_dash | >>> split_dash("2025-11-29") | ['2025', '11', '29'] | def split_dash(text: str) -> list |
reprorusted-python-cli | 3a82afb | example_split.split_tool | split_dot | >>> split_dot("192.168.1.1") | ['192', '168', '1', '1'] | def split_dot(text: str) -> list |
reprorusted-python-cli | 3a82afb | example_split.split_tool | split_dot | >>> split_dot("a.b.c") | ['a', 'b', 'c'] | def split_dot(text: str) -> list |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.