Coder Social home page Coder Social logo

Comments (2)

elharo avatar elharo commented on June 26, 2024

I think the test is misunderstanding what standard deviation is and how it's calculated, though I might have to spend some time with a statistics book in hand to explain what's really going on here.

from presto.

rschlussel avatar rschlussel commented on June 26, 2024

I'm still seeing this failure for the double version:

Error:  Tests run: 8285, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 1,461.751 s <<< FAILURE! - in TestSuite
Error:  com.facebook.presto.operator.aggregation.noisyaggregation.TestNoisySumGaussianDoubleAggregation.testNoisySumGaussianDoubleClippingSomeNoiseScaleWithinSomeStd  Time elapsed: 0.002 s  <<< FAILURE!
java.lang.AssertionError: Test: Inconsistent results with reversed channels, Expected: 42.7871001051494, actual: 48.01681405531419
	at org.testng.Assert.fail(Assert.java:110)
	at com.facebook.presto.operator.aggregation.AggregationTestUtils.assertFunctionEquals(AggregationTestUtils.java:138)
	at com.facebook.presto.operator.aggregation.AggregationTestUtils.groupedAggregation(AggregationTestUtils.java:351)
	at com.facebook.presto.operator.aggregation.AggregationTestUtils.assertAggregationInternal(AggregationTestUtils.java:124)
	at com.facebook.presto.operator.aggregation.AggregationTestUtils.assertAggregation(AggregationTestUtils.java:85)
	at com.facebook.presto.operator.aggregation.noisyaggregation.TestNoisySumGaussianDoubleAggregation.testNoisySumGaussianDoubleClippingSomeNoiseScaleWithinSomeStd(TestNoisySumGaussianDoubleAggregation.java:294)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135)
	at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:673)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:220)
	at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
	at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:945)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:193)
	at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)

from presto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.