Module Import alias Import alias Import alias Import alias Import alias Import alias identifier Import alias identifier Import alias identifier Import alias identifier Import alias identifier Import alias identifier Import alias identifier Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str FunctionDef arguments args defaults vararg body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return Call NameLoad TupleLoad NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryFinally body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Num finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Str AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Num AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore SubscriptLoad NameLoad Index Num Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore ListLoad For NameStore ListLoad Num body For NameStore Call NameLoad Num body Assign NameStore BinOpAdd Num NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad BinOpMult NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpDiv BinOpDiv BinOpMult NameLoad NameLoad NameLoad Num Print BinOpMult NameLoad NameLoad Str NameLoad Str BinOpMod Str BinOpDiv BinOpDiv BinOpMult NameLoad NameLoad NameLoad Num Str Assign NameStore Call NameLoad NameLoad Assign NameStore Num While BoolOpAnd CompareLt NameLoad Call NameLoad NameLoad CompareLt SubscriptLoad NameLoad Index NameLoad BinOpDiv NameLoad Num body AugAssignAdd NameStore Num If CompareLt NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice NameLoad orelse Assign NameStore Num Expr Call AttributeLoad NameLoad attr CompareGt NameLoad BinOpDiv NameLoad Num BinOpMod Str NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Num handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Num handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str keyword Num handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad If CompareIs NameLoad NameLoad body TryExcept body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Str AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Num handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad If CompareIs NameLoad NameLoad body TryExcept body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Str AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Num handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Num handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body TryExcept body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Str AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Num handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body TryExcept body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Str AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Num handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr Str AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr NameLoad AttributeLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list AttributeLoad NameLoad attr decorator_list
N/A N/A gzip N/A Queue N/A logging N/A time N/A threading N/A ufora.FORA.python.FORA FORA N/A ufora.native.FORA ForaNative N/A ufora.native.Cumulus CumulusNative N/A ufora.native.Hash HashNative N/A ufora.util.Teardown Teardown N/A ufora.util.CodeCoverage CodeCoverage N/A cPickle pickle N/A ufora.native.CallbackScheduler CallbackScheduler N/A callbackScheduler N/A N/A CallbackScheduler singletonForTesting N/A IVC N/A ForaNative ImplValContainer N/A callIVC N/A N/A ForaNative makeSymbol Call N/A expensiveCalculationText fun(count) {
    let X = [(-1.83045,-2.05459),(-1.61185,-1.1104),(-2.39371,-2.3851),(-2.30236,-1.85439),(-3.29381,-2.14036),(-2.27295,-1.9858),
        (-2.14089,-2.06091),(-0.667216,-0.470452),(-1.35343,-1.91638),(-2.32273,-2.91459),(4.04358,1.35241),(1.03174,3.38565),
        (3.84581,1.81709),(1.37791,1.8897),(2.1719,2.35836),(1.20563,2.73266),(2.42006,2.00324),(0.986196,1.38097),
        (3.11006,0.378729),(0.171622,2.46585)];
    let y = [1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,-1.,-1.,-1.,-1.,-1.,-1.,-1.,-1.,-1.,-1.];


    let DotProduct = fun(u,v) {
        let res = 0
        for ix in sequence(size(u))
            res = res + u[ix] * v[ix]
        res
        }

    let StochGDPrimalForm = 
        fun( X, Y, b, lambda, N ){
            let m = size(X);
            let d = size(X[0]);
            
            let dims = (0,1);
            
            let w = dims..apply(fun(d) { 0.0 });
            
            let t = 1;

            for i in sequence(N){
                for j in sequence(m){

                    let jt = j;  // can be randomized
                    if ( Y[jt]*( DotProduct( X[jt],w ))< 1.0 ){

                        let newW = []
                        
                        let xJT = X[jt];
                        
                        w = dims..apply({
                            xJT[_] * Y[jt] / (lambda * t) * (1.0 - 1.0 / t) + w[_]
                            })
                        
                    } else {
                        w = dims..apply({ w[_] * (1.0 - 1.0 / t) } )
                    };

                    let mult = min(1.0, 1.0/(lambda*DotProduct(w,w)));
                    w = dims..apply({w[_] * mult })
                    t=t+1;
                }
            }
            return w;
        };

    StochGDPrimalForm( X, y, 0.0, 0.01, count )
    } makeComputationDefinitionFromIVCs N/A N/A N/A args N/A N/A N/A N/A N/A CumulusNative ComputationDefinition Root N/A N/A CumulusNative ImmutableTreeVectorOfComputationDefinitionTerm N/A N/A N/A N/A CumulusNative ComputationDefinitionTerm Value N/A N/A ForaNative ImplValContainer x None N/A x args N/A foraBrownian N/A N/A x depth N/A N/A N/A brownianIVC N/A N/A FORA extractImplValContainer N/A N/A FORA eval builtin.brownian N/A N/A makeComputationDefinitionFromIVCs N/A brownianIVC callIVC N/A IVC x N/A IVC depth N/A CumulusTestCases N/A object N/A evaluateWithGateway N/A N/A self computationDefinition timeout N/A 240.0 N/A N/A computationId N/A N/A N/A self gateway requestComputation computationDefinition N/A N/A N/A N/A N/A N/A N/A self gateway finalResponses get timeout 240.0 N/A N/A N/A N/A N/A self gateway deprioritizeComputation computationId N/A test_vecWithinVec N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 4 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    let v = 
                        Vector.range(10) ~~ fun(x) {
                            Vector.range(1000000 + x).paged
                            };
                    v = v.paged;

                    let res = ()
                    for elt in v
                        res = res + (elt,)

                    res..apply(fun(tupElt) { tupElt.sum() })

                    'got to the end'
                    } N/A response N/A N/A self evaluateWithGateway N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A response N/A 1 asResult result pyval got to the end N/A N/A N/A N/A response N/A 1 asResult result pyval N/A N/A Teardown Teardown test_mixedVecOfNothingAndFloat N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 4 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    let v = Vector.range(1000000, fun(x) { if (x%5 == 0) nothing else x }); 

                    sum(0,10, fun(ix) { v.apply(fun (nothing) { nothing } (elt) { elt + ix }).sum() })
                    } N/A response N/A N/A self evaluateWithGateway N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A response N/A 1 asResult result pyval 4000036000000 N/A N/A N/A N/A response N/A 1 asResult result pyval N/A N/A Teardown Teardown DISABLEDtest_repeatedCalculationOfSomethingComplex N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 1 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval expensiveCalculationText calculateTime N/A N/A count N/A N/A N/A t0 N/A N/A time time N/A response N/A N/A self evaluateWithGateway N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A ForaNative ImplValContainer count N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A stats N/A response N/A 2 N/A N/A N/A stats timeSpentInInterpreter N/A stats timeSpentInCompiler N/A N/A N/A time time t0 N/A N/A perSecondValues N/A N/A base N/A 500000 N/A N/A ix N/A range 10 N/A N/A ratio N/A 1.0 ix N/A N/A interp compiled wallClock N/A calculateTime N/A base ratio N/A N/A N/A perSecondValues append N/A N/A N/A base ratio wallClock 1000000.0 N/A N/A base ratio -> wallClock  seconds =  N/A %.2f N/A N/A N/A base ratio wallClock 1000000.0 M per second. N/A fastest N/A max perSecondValues N/A saturationPoint 0 N/A N/A N/A saturationPoint N/A len perSecondValues N/A N/A perSecondValues N/A saturationPoint N/A fastest 2 N/A N/A saturationPoint 1 N/A N/A saturationPoint N/A len perSecondValues N/A N/A slowest N/A min N/A perSecondValues N/A saturationPoint N/A N/A slowest 0.0 N/A N/A N/A self assertTrue N/A slowest N/A fastest 2.0 N/A Excessive variance in run rates: %s perSecondValues N/A N/A Teardown Teardown test_vectorOfPagedVectorApplyWithDropping N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 3 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    let v =
                        Vector.range(20).apply(fun(ix) {
                            Vector.range(1250000.0+ix).paged
                            }).paged
                    let lookup = fun(ix) { v[ix] }
                    Vector.range(100).apply(fun(ix) { sum(0, 10**8); cached(lookup(ix)) })
                    v
                    } N/A computation1 N/A N/A N/A self gateway requestComputation N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A response N/A N/A N/A N/A self gateway finalResponses get timeout 60.0 N/A N/A N/A N/A Queue Empty N/A N/A response None N/A N/A N/A self assertTrue N/A response None response N/A N/A N/A N/A self gateway deprioritizeComputation computation1 N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 2 blocking True N/A expr2 N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    let res = 0
                    for ix in sequence(10)
                        res = res + Vector.range(12500000+ix).sum()
                    return res
                    } N/A computation2 N/A N/A N/A self gateway requestComputation N/A makeComputationDefinitionFromIVCs expr2 N/A N/A ForaNative makeSymbol Call N/A N/A N/A response N/A N/A N/A N/A self gateway finalResponses get timeout 60.0 N/A N/A N/A N/A Queue Empty N/A N/A response None N/A N/A N/A self assertTrue N/A response None N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A N/A N/A self gateway deprioritizeComputation computation2 N/A N/A Teardown Teardown test_sortALargeVectorWithFourWorkers N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 4 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    let v = Vector.range(12500000, {_%3.1415926});

                    if (sorting.isSorted(sorting.sort(v))) 'sorted'
                    } N/A N/A N/A response N/A N/A self evaluateWithGateway N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call timeout 120.0 N/A N/A N/A N/A Queue Empty N/A N/A response None N/A N/A response None N/A N/A N/A N/A dumpFun N/A self dumpSchedulerEventStreams N/A N/A dumpFun N/A N/A N/A N/A N/A N/A logging warn Wanted to dump CumulusWorkerEvents, but couldn't N/A N/A N/A self assertTrue N/A response None N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A response N/A 1 asResult result pyval sorted N/A N/A N/A N/A response N/A 1 asResult result pyval N/A N/A Teardown Teardown test_bigSumWithAdding N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 1 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() { if (sum(0, 10**11) > 0) 'big_enough' } N/A computationId N/A N/A N/A self gateway requestComputation N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A time sleep 5 N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 2 blocking True N/A N/A N/A response N/A N/A N/A N/A self gateway finalResponses get timeout 240.0 N/A N/A N/A N/A Queue Empty N/A N/A response None N/A N/A response None N/A N/A N/A N/A dumpFun N/A self dumpSchedulerEventStreams N/A N/A dumpFun N/A N/A N/A N/A N/A N/A logging warn Wanted to dump CumulusWorkerEvents, but couldn't N/A N/A N/A self assertTrue N/A response None N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A response N/A 1 asResult result pyval big_enough N/A N/A N/A N/A response N/A 1 asResult result pyval N/A N/A N/A N/A self gateway deprioritizeComputation computationId N/A N/A Teardown Teardown test_manyDuplicateCachecallsAndAdding N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 2 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() { 
                    Vector.range(20).papply(fun(x) { 
                        x + cached(sum(0,10**11))[0]
                        })
                    } N/A computationId N/A N/A N/A self gateway requestComputation N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A time sleep 5 N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 4 blocking True N/A N/A N/A response N/A N/A N/A N/A self gateway finalResponses get timeout 240.0 N/A N/A N/A N/A Queue Empty N/A N/A response None N/A N/A N/A self assertTrue N/A response None N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A N/A N/A self gateway deprioritizeComputation computationId N/A N/A Teardown Teardown test_sortALargeVectorWithAdding N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 2 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    let v = Vector.range(12500000, {_%3.1415926});

                    if (sorting.isSorted(sorting.sort(v))) 'sorted_2'
                    } N/A computationId N/A N/A N/A self gateway requestComputation N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A time sleep 10 N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 4 blocking True N/A N/A N/A response N/A N/A N/A N/A self gateway finalResponses get timeout 360.0 N/A N/A N/A N/A Queue Empty N/A N/A response None N/A N/A N/A N/A self gateway deprioritizeComputation computationId N/A N/A response None N/A N/A N/A N/A dumpFun N/A self dumpSchedulerEventStreams N/A N/A dumpFun N/A N/A N/A N/A N/A N/A logging warn Wanted to dump CumulusWorkerEvents, but couldn't N/A N/A N/A self assertTrue N/A response None N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A response N/A 1 asResult result pyval sorted_2 N/A N/A N/A N/A response N/A 1 asResult result pyval N/A N/A Teardown Teardown test_sortALargeVectorWithRemoving N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 4 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    let v = Vector.range(12500000, {_%3.1415926});

                    if (sorting.isSorted(sorting.sort(v))) 'sorted_3'
                    } N/A computationId N/A N/A N/A self gateway requestComputation N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A time sleep 10 N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 3 blocking True N/A N/A N/A response N/A N/A N/A N/A self gateway finalResponses get timeout 240.0 N/A N/A N/A N/A Queue Empty N/A N/A response None N/A N/A N/A N/A self gateway deprioritizeComputation computationId N/A N/A response None N/A N/A N/A N/A dumpFun N/A self dumpSchedulerEventStreams N/A N/A dumpFun N/A N/A N/A N/A N/A N/A logging warn Wanted to dump CumulusWorkerEvents, but couldn't N/A N/A N/A self assertTrue N/A response None N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A response N/A 1 asResult result pyval sorted_3 N/A N/A N/A N/A response N/A 1 asResult result pyval N/A N/A Teardown Teardown test_vectorApplyWithAdding N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 2 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    let v = [1,2,3,4].paged;
                    let res = 0
                    sum(0,20000000000, fun(x) { v[x%4] })
                    'test_vectorApplyWithAdding'
                    } N/A computationId N/A N/A N/A self gateway requestComputation N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A response N/A N/A N/A N/A self gateway finalResponses get timeout 5.0 N/A N/A N/A N/A Queue Empty N/A N/A response None N/A N/A N/A self assertTrue N/A response None response N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 3 blocking True N/A response N/A N/A N/A N/A self gateway finalResponses get timeout 240.0 N/A N/A N/A N/A self gateway deprioritizeComputation computationId N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A response N/A 1 asResult result pyval test_vectorApplyWithAdding N/A N/A N/A N/A response N/A 1 asResult result pyval N/A N/A Teardown Teardown test_expensive_brownian N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 2 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    let brownian = fun(x,t) {
                        if (t == 0)
                            return sum(0.0, x * 10.0**7.0)
                        else
                            {
                            let (l,r) = cached(brownian(x - 1, t - 1), brownian(x + 1, t - 1));
                            return sum(0.0, x * 10.0**7.0) + l + r
                            }
                        }
                    brownian(0, 5)
                    } N/A response N/A N/A self evaluateWithGateway N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A Teardown Teardown test_simple_computation N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 2 blocking True N/A simpleFunc N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun(){1 + 2} N/A response N/A N/A self evaluateWithGateway N/A makeComputationDefinitionFromIVCs simpleFunc N/A N/A ForaNative makeSymbol Call N/A N/A N/A self assertEqual 3 N/A N/A N/A N/A response N/A 1 asResult result pyval N/A N/A Teardown Teardown test_sortManySmallVectors N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 4 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    let shouldAllBeTrue = 
                    Vector.range(20, fun(o) {
                        sorting.isSorted(
                            sort(Vector.range(50000 + o, fun(x) { x / 10 }))
                            )
                        });
                    for s in shouldAllBeTrue {
                        if (not s)
                            return false
                        }

                    return true
                    } N/A response N/A N/A self evaluateWithGateway N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A response N/A 1 asResult result pyval True N/A N/A N/A N/A response N/A 1 asResult result pyval N/A N/A Teardown Teardown test_basic_sum_1_worker N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 1 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    sum(0,10**10)
                    } N/A response N/A N/A self evaluateWithGateway N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A Teardown Teardown test_basic_sum_2_workers N/A N/A self N/A N/A N/A N/A N/A N/A self desirePublisher desireNumberOfWorkers 2 blocking True N/A expr N/A N/A FORA extractImplValContainer N/A N/A FORA eval fun() {
                    sum(0,10**10)
                    } N/A response N/A N/A self evaluateWithGateway N/A makeComputationDefinitionFromIVCs expr N/A N/A ForaNative makeSymbol Call N/A N/A N/A self assertTrue N/A N/A N/A response N/A 1 isResult N/A N/A Teardown Teardown N/A