Module Import alias Import alias Import alias identifier Import alias identifier Import alias identifier Import alias identifier Import alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Return AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Str Str BinOpMult Num Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad CompareEq NameLoad Call AttributeLoad NameLoad attr Str attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list Expr Call NameLoad Str Str BinOpSub Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num Expr Call NameLoad Str Str BinOpSub Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num Expr Call NameLoad Str Str BinOpSub Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num Expr Call NameLoad Str Str SubscriptLoad BinOpSub Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num Slice Num Num Expr Call NameLoad Str Str SubscriptLoad BinOpSub Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num Slice Num Num Expr Call NameLoad Str Str BinOpSub Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num Expr Call NameLoad Str Str BinOpSub Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIs Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Num Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Str Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Num Call AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad comprehension NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListComp Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad comprehension NameStore NameLoad decorator_list Expr Call NameLoad Str ListLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad comprehension NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListComp Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad comprehension NameStore NameLoad decorator_list Expr Call NameLoad Str ListLoad Str Str Str Str Str Str Expr Call NameLoad Str ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list
N/A N/A unittest N/A numpy N/A ufora.native.Cumulus CumulusNative N/A ufora.FORA.python.FORA FORA N/A ufora.FORA.python.Evaluator.Evaluator Evaluator N/A ufora.FORA.python.Evaluator.LocalEvaluator LocalEvaluator N/A ufora.native.CallbackScheduler CallbackScheduler TestVectorDataManager N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self callbackScheduler N/A N/A CallbackScheduler singletonForTesting createStorage N/A N/A vdm N/A N/A N/A N/A self simpleOfflineCache N/A N/A CumulusNative SimpleOfflineCache N/A self callbackScheduler 1000000000 N/A N/A self simpleOfflineCache N/A N/A N/A self evaluator N/A N/A LocalEvaluator LocalEvaluator createStorage 2000000 maxPageSizeInBytes 100000 N/A N/A self oldEvaluator N/A N/A Evaluator swapEvaluator N/A self evaluator N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A self evaluator teardown N/A N/A N/A Evaluator swapEvaluator N/A self oldEvaluator N/A test_vectors_clean_up N/A N/A self N/A N/A N/A origPageCount N/A N/A self getVectorPageCount N/A N/A N/A self assertEqual N/A N/A FORA eval [[ix for _ in sequence(12500)].paged for ix in sequence(500)].paged; 10 10 N/A N/A N/A N/A N/A N/A self evaluator getVDM unloadAllPossible N/A N/A N/A self assertEqual N/A N/A self getVectorPageCount origPageCount N/A test_gc_working N/A N/A self N/A N/A N/A origPageCount N/A N/A self getVectorPageCount N/A N/A N/A self assertEqual N/A N/A FORA eval N/A N/A let res = 0;
 for ix in sequence(10000) {
     res = res + [x for x in sequence(10000)][10]
}; res N/A 10 10000 N/A N/A N/A N/A N/A N/A self evaluator getVDM unloadAllPossible N/A N/A N/A self assertEqual N/A N/A self getVectorPageCount origPageCount N/A test_extract_numpy_array N/A N/A self N/A N/A numpytest N/A N/A text dtype expr N/A N/A N/A array N/A N/A FORA extractImplValContainer N/A N/A FORA eval text N/A nArray N/A N/A N/A N/A N/A self evaluator getVDM extractVectorContentsAsNumpyArray array 0 N/A N/A array getVectorSize N/A N/A N/A self assertTrue N/A N/A N/A nArray N/A N/A expr astype int64 all N/A Expected %s, got %s N/A N/A N/A expr astype int64 nArray N/A N/A N/A numpytest Vector.range(1000) int64 N/A N/A N/A N/A N/A numpy ones 1000 cumsum 1 N/A N/A numpytest Vector.range(1000).paged int64 N/A N/A N/A N/A N/A numpy ones 1000 cumsum 1 N/A N/A numpytest Vector.range(500).paged + Vector.range((500,1000)) int64 N/A N/A N/A N/A N/A numpy ones 1000 cumsum 1 N/A N/A numpytest (Vector.range(500).paged + Vector.range((500,1000)).paged)[1,,3] int64 N/A N/A N/A N/A N/A N/A numpy ones 1000 cumsum 1 N/A 1 3 N/A N/A numpytest (Vector.range(500).paged + Vector.range((500,1000)).paged)[-1,,-1] int64 N/A N/A N/A N/A N/A N/A numpy ones 1000 cumsum 1 N/A -1 -1 N/A N/A numpytest Vector.range(1000.0) double N/A N/A N/A N/A N/A numpy ones 1000 cumsum 1 N/A N/A numpytest Vector.range(1000.0).paged double N/A N/A N/A N/A N/A numpy ones 1000 cumsum 1 N/A test_extract_nonhomogenous_numpy_array_fails N/A N/A self N/A N/A N/A array N/A N/A FORA extractImplValContainer N/A N/A FORA eval [1,2,(3,4,5)] N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A N/A self evaluator getVDM extractVectorContentsAsNumpyArray array 0 N/A N/A array getVectorSize None N/A test_stringify N/A N/A self N/A N/A N/A array N/A N/A FORA extractImplValContainer N/A N/A FORA eval [1,2,3.4] N/A stringified N/A N/A N/A N/A N/A self evaluator getVDM stringifyAndJoinVectorContents array , 0 N/A N/A array getVectorSize N/A N/A N/A self assertEqual stringified 1,2,3.4 N/A test_extract_vector_contents N/A N/A self N/A N/A test N/A N/A strForm pyList N/A N/A N/A array N/A N/A FORA extractImplValContainer N/A N/A FORA eval strForm N/A contents N/A N/A N/A N/A N/A self evaluator getVDM extractVectorContentsAsPythonArray array 0 N/A N/A array getVectorSize N/A contentsIndividually N/A N/A N/A N/A N/A N/A self evaluator getVDM extractVectorItem array ix N/A ix N/A range N/A N/A array getVectorSize N/A vals pyList N/A N/A N/A self assertEqual contents contentsIndividually N/A N/A N/A self assertEqual contents N/A N/A N/A FORA extractImplValContainer N/A N/A FORA eval x keepAsForaValue True N/A x vals N/A N/A N/A test [1,2,3,4,5,6][-2,0,-1] N/A 5 4 3 2 N/A test_extract_vector_contents_using_slices N/A N/A self N/A N/A test N/A N/A strForm pyList N/A N/A N/A array N/A N/A FORA extractImplValContainer N/A N/A FORA eval strForm N/A contents N/A N/A N/A low high N/A N/A array getVectorPageSliceRanges N/A N/A N/A self evaluator getVDM N/A N/A contents N/A N/A N/A N/A N/A self evaluator getVDM extractVectorContentsAsPythonArray array low high N/A contentsIndividually N/A N/A N/A N/A N/A N/A self evaluator getVDM extractVectorItem array ix N/A ix N/A range N/A N/A array getVectorSize N/A vals pyList N/A N/A N/A self assertEqual contents contentsIndividually N/A N/A N/A self assertEqual contents N/A N/A N/A FORA extractImplValContainer N/A N/A FORA eval x keepAsForaValue True N/A x vals N/A N/A N/A test [1,2,3,4].paged + [5,6] N/A 1 2 3 4 5 6 N/A N/A test [1,2,3,4].paged[1,2] + [5,6] N/A 2 5 6 N/A getVectorPageCount N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self evaluator getVDM getVectorPageCount N/A N/A