Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Num Assign NameStore Num ClassDef bases AttributeLoad NameLoad attr body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Return ListLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults vararg body Pass decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return ListLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareNotIn NameLoad NameLoad body Return Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body If CompareNotEq NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareGtE NameLoad NameLoad body Expr Yield TupleLoad NameLoad Dict Str Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad keyword NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Str Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad decorator_list
N/A N/A Jobs for recommendations. N/A ast core jobs core.domain exp_services core.domain recommendations_services core.domain rights_manager core.platform models N/A N/A exp_models recommendations_models N/A N/A N/A models Registry import_models N/A N/A N/A models NAMES exploration N/A N/A models NAMES recommendations N/A MAX_RECOMMENDATIONS 10 N/A SIMILARITY_SCORE_THRESHOLD 3.0 ExplorationRecommendationsRealtimeModel N/A N/A jobs BaseRealtimeDatastoreClassForContinuousComputations N/A N/A N/A ExplorationRecommendationsAggregator N/A N/A jobs BaseContinuousComputationManager N/A N/A A continuous-computation job that computes recommendations for each
    exploration.

    This job does not have a realtime component. There will be a delay in
    propagating new updates to recommendations; the length of the delay
    will be approximately the time it takes a batch job to run.
     get_event_types_listened_to N/A N/A cls N/A N/A N/A N/A N/A classmethod _get_realtime_datastore_class N/A N/A cls N/A N/A N/A ExplorationRecommendationsRealtimeModel N/A classmethod _get_batch_job_manager_class N/A N/A cls N/A N/A N/A ExplorationRecommendationsMRJobManager N/A classmethod _handle_incoming_event N/A N/A cls active_realtime_layer event_type N/A args N/A N/A N/A classmethod N/A ExplorationRecommendationsMRJobManager N/A N/A jobs BaseMapReduceJobManagerForContinuousComputations N/A N/A Manager for a MapReduce job that computes a list of recommended
    explorations to play after completing some exploration.
     _get_continuous_computation_class N/A N/A cls N/A N/A N/A ExplorationRecommendationsAggregator N/A classmethod entity_classes_to_map_over N/A N/A cls N/A N/A N/A N/A N/A exp_models ExpSummaryModel N/A classmethod map N/A N/A item N/A N/A N/A N/A N/A item status N/A rights_manager ACTIVITY_STATUS_PRIVATE N/A N/A N/A exp_summary_id N/A item id N/A exp_summaries_dict N/A N/A exp_services get_non_private_exploration_summaries N/A N/A exp_summary_id exp_summaries_dict N/A N/A N/A reference_exp_summary N/A exp_summaries_dict N/A exp_summary_id N/A exp_summaries_items N/A N/A exp_summaries_dict iteritems N/A N/A compared_exp_id compared_exp_summary exp_summaries_items N/A N/A N/A compared_exp_id exp_summary_id N/A N/A similarity_score N/A N/A recommendations_services get_item_similarity N/A reference_exp_summary category N/A reference_exp_summary language_code N/A reference_exp_summary owner_ids N/A compared_exp_summary category N/A compared_exp_summary language_code N/A compared_exp_summary exploration_model_last_updated N/A compared_exp_summary owner_ids N/A compared_exp_summary status N/A N/A similarity_score SIMILARITY_SCORE_THRESHOLD N/A N/A N/A N/A exp_summary_id N/A similarity_score exp_id similarity_score compared_exp_id N/A staticmethod reduce N/A N/A key stringified_values N/A N/A N/A other_exploration_similarities N/A sorted N/A N/A N/A ast literal_eval v N/A v stringified_values reverse True key N/A N/A N/A x N/A N/A x N/A similarity_score N/A recommended_exploration_ids N/A N/A item N/A exp_id N/A item N/A other_exploration_similarities N/A MAX_RECOMMENDATIONS N/A N/A N/A recommendations_services set_recommendations key recommended_exploration_ids N/A staticmethod N/A