Report generated on 11-Aug-2022 at 16:18:00 by pytest-html v3.1.1
Packages | {"pluggy": "1.0.0", "py": "1.11.0", "pytest": "7.1.2"} |
Platform | macOS-12.4-x86_64-i386-64bit |
Plugins | {"cov": "3.0.0", "html": "3.1.1", "metadata": "2.0.2"} |
Python | 3.10.5 |
8 tests ran in 1.76 seconds.
(Un)check the boxes to filter the results.
4 passed, 0 skipped, 4 failed, 0 errors, 0 expected failures, 0 unexpected passesResult | Test | Duration | Links |
---|---|---|---|
No results found. Try to check the filters | |||
Failed | twitch_specification.py::test_func[VarCharRegex::tempdb.public.twitch_v2] | 0.08 | |
constraint = <datajudge.constraints.varchar.VarCharRegex object at 0x10d808490> datajudge_engine = Engine(postgresql://datajudge:***@localhost:5432/datajudge) @pytest.mark.parametrize( "constraint", all_constraints, ids=Constraint.get_description ) def test_constraint(constraint, datajudge_engine): test_result = constraint.test(datajudge_engine) > assert test_result.outcome, test_result.failure_message E AssertionError: tempdb.public.twitch_v2's column(s) 'language' breaks regex '^[a-zA-Z]+$' in 0.045454545454545456 > 0.0 of the cases. In absolute terms, 1 of the 22 samples violated the regex. Some counterexamples consist of the following: ['Sw3d1zh']. /usr/local/Caskroom/miniconda/base/envs/datajudge/lib/python3.10/site-packages/datajudge/pytest_integration.py:25: AssertionError | |||
Failed | twitch_specification.py::test_func[KolmogorovSmirnov2Sample::public.twitch_v1 | public.twitch_v2] | 1.18 | |
constraint = <datajudge.constraints.stats.KolmogorovSmirnov2Sample object at 0x10d809000> datajudge_engine = Engine(postgresql://datajudge:***@localhost:5432/datajudge) @pytest.mark.parametrize( "constraint", all_constraints, ids=Constraint.get_description ) def test_constraint(constraint, datajudge_engine): test_result = constraint.test(datajudge_engine) > assert test_result.outcome, test_result.failure_message E AssertionError: Null hypothesis (H0) for the 2-sample Kolmogorov-Smirnov test was rejected, i.e., the two samples (tempdb.public.twitch_v1's column(s) 'average_viewers' and tempdb.public.twitch_v2's column(s) 'average_viewers''s ) do not originate from the same distribution. The test results are d=0.152764705882353 and p_value=8.093137091858472e-10. /usr/local/Caskroom/miniconda/base/envs/datajudge/lib/python3.10/site-packages/datajudge/pytest_integration.py:25: AssertionError | |||
Failed | twitch_specification.py::test_func[UniquesEquality::public.twitch_v1 | public.twitch_v2] | 0.01 | |
constraint = <datajudge.constraints.uniques.UniquesEquality object at 0x10d80ba90> datajudge_engine = Engine(postgresql://datajudge:***@localhost:5432/datajudge) @pytest.mark.parametrize( "constraint", all_constraints, ids=Constraint.get_description ) def test_constraint(constraint, datajudge_engine): test_result = constraint.test(datajudge_engine) > assert test_result.outcome, test_result.failure_message E AssertionError: tempdb.public.twitch_v1's column(s) 'language' doesn't have the element(s) '{'Sw3d1zh'}' when compared with the reference values. /usr/local/Caskroom/miniconda/base/envs/datajudge/lib/python3.10/site-packages/datajudge/pytest_integration.py:25: AssertionError | |||
Failed | twitch_specification.py::test_func[NumericMean::public.twitch_v2 | public.twitch_v2] | 0.01 | |
constraint = <datajudge.constraints.numeric.NumericMean object at 0x10d808520> datajudge_engine = Engine(postgresql://datajudge:***@localhost:5432/datajudge) @pytest.mark.parametrize( "constraint", all_constraints, ids=Constraint.get_description ) def test_constraint(constraint, datajudge_engine): test_result = constraint.test(datajudge_engine) > assert test_result.outcome, test_result.failure_message E AssertionError: tempdb.public.twitch_v2's column(s) 'average_viewers' has mean 4970.2188235294117647, deviating more than 0.1 from tempdb.public.twitch_v2's column(s) 'average_viewers''s 3567.6584158415841584. Condition on second table: WHERE mature IS TRUE; /usr/local/Caskroom/miniconda/base/envs/datajudge/lib/python3.10/site-packages/datajudge/pytest_integration.py:25: AssertionError | |||
Passed | twitch_specification.py::test_func[ColumnSubset::public.twitch_v1 | public.twitch_v2] | 0.02 | |
No log output captured. | |||
Passed | twitch_specification.py::test_func[ColumnSuperset::public.twitch_v1 | public.twitch_v2] | 0.00 | |
No log output captured. | |||
Passed | twitch_specification.py::test_func[RowSubset::public.twitch_v1 | public.twitch_v2] | 0.02 | |
No log output captured. | |||
Passed | twitch_specification.py::test_func[RowMatchingEquality::public.twitch_v1 | public.twitch_v2] | 0.01 | |
No log output captured. |