Module ImportFrom alias alias alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpSub NameLoad Call NameLoad keyword Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad keyword AttributeLoad SubscriptLoad NameLoad Index Num attr keyword NameLoad keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num Expr Call NameLoad keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num For NameStore NameLoad body Assign NameStore Call NameLoad keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Str Expr Call NameLoad keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Num keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num Expr Call NameLoad keyword AttributeLoad SubscriptLoad NameLoad Index Num attr keyword AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num For NameStore SubscriptLoad NameLoad Slice Num body Expr Call NameLoad keyword AttributeLoad NameLoad attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call NameLoad keyword AttributeLoad NameLoad attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword BinOpAdd AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str Num Num Num Expr Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str Expr Call NameLoad Num Call NameLoad NameLoad Expr Call NameLoad Num AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call NameLoad Num AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call NameLoad Call NameLoad Num Num Num AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword Str Expr Call NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad keyword NameLoad keyword Str Assign AttributeStore NameLoad attr Dict Str Str Str Str Num Num Num Num Assign AttributeStore NameLoad attr ListLoad NameLoad Expr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad Num Call NameLoad NameLoad Expr Call NameLoad Num AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad Num Call NameLoad NameLoad Expr Call NameLoad Num AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad Num Call NameLoad NameLoad Expr Call NameLoad Num AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad Num Call NameLoad NameLoad Expr Call NameLoad Num AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad Num Call NameLoad NameLoad Expr Call NameLoad Num AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Expr Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str Num Num Num Expr Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str Expr Call NameLoad Num Call NameLoad NameLoad Expr Call NameLoad Num AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call NameLoad Num AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call NameLoad Call NameLoad Num Num Num AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call NameLoad keyword Num Expr Call NameLoad keyword NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr keyword Str keyword Str body Expr Call NameLoad Expr Call NameLoad Num Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Num AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Index Num attr Expr Call NameLoad Num AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Expr Call NameLoad Num AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str decorator_list Assign NameStore Str
N/A datetime date datetime timedelta mock patch nose.tools eq_ N/A kitsune.kpi.cron kitsune.customercare.tests ReplyFactory kitsune.kpi surveygizmo_utils kitsune.kpi.cron cohort_analysis update_visitors_metric update_l10n_metric googleanalytics update_search_ctr_metric _process_exit_survey_results kitsune.kpi.models Metric Cohort VISITORS_METRIC_CODE L10N_METRIC_CODE SEARCH_CLICKS_METRIC_CODE SEARCH_SEARCHES_METRIC_CODE EXIT_SURVEY_YES_CODE EXIT_SURVEY_NO_CODE EXIT_SURVEY_DONT_KNOW_CODE CONTRIBUTOR_COHORT_CODE KB_ENUS_CONTRIBUTOR_COHORT_CODE KB_L10N_CONTRIBUTOR_COHORT_CODE SUPPORT_FORUM_HELPER_COHORT_CODE AOA_CONTRIBUTOR_COHORT_CODE kitsune.kpi.tests MetricKindFactory MetricFactory kitsune.questions.tests AnswerFactory kitsune.sumo.tests TestCase kitsune.users.tests UserFactory kitsune.wiki.config MAJOR_SIGNIFICANCE MEDIUM_SIGNIFICANCE TYPO_SIGNIFICANCE kitsune.wiki.tests DocumentFactory ApprovedRevisionFactory CohortAnalysisTests N/A TestCase N/A setUp N/A N/A self N/A N/A N/A today N/A N/A datetime today N/A N/A self start_of_first_week N/A today N/A timedelta days N/A N/A today weekday weeks 12 N/A revisions N/A N/A ApprovedRevisionFactory create_batch 3 created N/A self start_of_first_week N/A reviewer N/A UserFactory N/A N/A ApprovedRevisionFactory reviewer reviewer created N/A self start_of_first_week N/A N/A ApprovedRevisionFactory creator N/A N/A revisions N/A 1 creator reviewer reviewer created N/A N/A self start_of_first_week N/A timedelta weeks 1 days 2 N/A N/A ApprovedRevisionFactory created N/A N/A self start_of_first_week N/A timedelta weeks 1 days 1 N/A r revisions N/A N/A lr N/A ApprovedRevisionFactory created N/A N/A self start_of_first_week N/A timedelta days 1 document__locale es N/A N/A ApprovedRevisionFactory created N/A N/A self start_of_first_week N/A timedelta weeks 2 days 1 creator N/A lr creator document__locale es N/A answers N/A N/A AnswerFactory create_batch 7 created N/A N/A self start_of_first_week N/A timedelta weeks 1 days 2 N/A N/A AnswerFactory question N/A N/A answers N/A 2 question creator N/A N/A N/A answers N/A 2 question creator created N/A N/A self start_of_first_week N/A timedelta weeks 1 days 2 N/A a N/A answers N/A 2 N/A N/A N/A AnswerFactory creator N/A a creator created N/A N/A self start_of_first_week N/A timedelta weeks 2 days 5 N/A replies N/A N/A ReplyFactory create_batch 2 created N/A self start_of_first_week N/A r replies N/A N/A N/A ReplyFactory user N/A r user created N/A N/A self start_of_first_week N/A timedelta weeks 2 N/A N/A cohort_analysis N/A test_contributor_cohort_analysis N/A N/A self N/A N/A N/A c1 N/A N/A N/A Cohort objects get kind__code CONTRIBUTOR_COHORT_CODE start N/A self start_of_first_week N/A N/A eq_ N/A c1 size 10 N/A c1r1 N/A N/A N/A c1 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 1 N/A N/A eq_ N/A c1r1 size 2 N/A c1r2 N/A N/A N/A c1 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 2 N/A N/A eq_ N/A c1r2 size 5 N/A c2 N/A N/A N/A Cohort objects get kind__code CONTRIBUTOR_COHORT_CODE start N/A N/A self start_of_first_week N/A timedelta weeks 1 N/A N/A eq_ N/A c2 size 8 N/A c2r1 N/A N/A N/A c2 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 2 N/A N/A eq_ N/A c2r1 size 2 N/A test_kb_enus_contributor_cohort_analysis N/A N/A self N/A N/A N/A c1 N/A N/A N/A Cohort objects get kind__code KB_ENUS_CONTRIBUTOR_COHORT_CODE start N/A self start_of_first_week N/A N/A eq_ N/A c1 size 5 N/A c1r1 N/A N/A N/A c1 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 1 N/A N/A eq_ N/A c1r1 size 2 N/A c1r2 N/A N/A N/A c1 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 2 N/A N/A eq_ N/A c1r2 size 0 N/A c2 N/A N/A N/A Cohort objects get kind__code KB_ENUS_CONTRIBUTOR_COHORT_CODE start N/A N/A self start_of_first_week N/A timedelta weeks 1 N/A N/A eq_ N/A c2 size 1 N/A c2r1 N/A N/A N/A c2 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 2 N/A N/A eq_ N/A c2r1 size 0 N/A test_kb_l10n_contributor_cohort_analysis N/A N/A self N/A N/A N/A c1 N/A N/A N/A Cohort objects get kind__code KB_L10N_CONTRIBUTOR_COHORT_CODE start N/A self start_of_first_week N/A N/A eq_ N/A c1 size 3 N/A c1r1 N/A N/A N/A c1 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 1 N/A N/A eq_ N/A c1r1 size 0 N/A c1r2 N/A N/A N/A c1 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 2 N/A N/A eq_ N/A c1r2 size 3 N/A c2 N/A N/A N/A Cohort objects get kind__code KB_L10N_CONTRIBUTOR_COHORT_CODE start N/A N/A self start_of_first_week N/A timedelta weeks 1 N/A N/A eq_ N/A c2 size 0 N/A c2r1 N/A N/A N/A c2 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 2 N/A N/A eq_ N/A c2r1 size 0 N/A test_support_forum_helper_cohort_analysis N/A N/A self N/A N/A N/A c1 N/A N/A N/A Cohort objects get kind__code SUPPORT_FORUM_HELPER_COHORT_CODE start N/A self start_of_first_week N/A N/A eq_ N/A c1 size 0 N/A c1r1 N/A N/A N/A c1 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 1 N/A N/A eq_ N/A c1r1 size 0 N/A c2 N/A N/A N/A Cohort objects get kind__code SUPPORT_FORUM_HELPER_COHORT_CODE start N/A N/A self start_of_first_week N/A timedelta weeks 1 N/A N/A eq_ N/A c2 size 7 N/A c2r1 N/A N/A N/A c2 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 2 N/A N/A eq_ N/A c2r1 size 2 N/A test_aoa_contributor_cohort_analysis N/A N/A self N/A N/A N/A c1 N/A N/A N/A Cohort objects get kind__code AOA_CONTRIBUTOR_COHORT_CODE start N/A self start_of_first_week N/A N/A eq_ N/A c1 size 2 N/A c1r1 N/A N/A N/A c1 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 1 N/A N/A eq_ N/A c1r1 size 0 N/A c1r2 N/A N/A N/A c1 retention_metrics get start N/A N/A self start_of_first_week N/A timedelta weeks 2 N/A N/A eq_ N/A c1r2 size 2 N/A c2 N/A N/A N/A Cohort objects get kind__code AOA_CONTRIBUTOR_COHORT_CODE start N/A N/A self start_of_first_week N/A timedelta weeks 1 N/A N/A eq_ N/A c2 size 0 N/A N/A CronJobTests N/A TestCase N/A test_update_visitors_cron N/A N/A self visitors N/A N/A N/A Verify the cron job inserts the right rows. N/A visitor_kind N/A MetricKindFactory code VISITORS_METRIC_CODE N/A N/A visitors return_value N/A 2012-01-13 2012-01-14 2012-01-15 42 193 33 N/A N/A update_visitors_metric N/A metrics N/A N/A N/A N/A N/A Metric objects filter kind visitor_kind order_by start N/A N/A eq_ 3 N/A len metrics N/A N/A eq_ 42 N/A N/A metrics N/A 0 value N/A N/A eq_ 193 N/A N/A metrics N/A 1 value N/A N/A eq_ N/A date 2012 1 15 N/A N/A metrics N/A 2 start N/A N/A N/A patch object googleanalytics visitors test_update_l10n_metric_cron N/A N/A self visitors_by_locale _get_top_docs N/A N/A N/A Verify the cron job creates the correct metric. N/A l10n_kind N/A MetricKindFactory code L10N_METRIC_CODE N/A doc N/A DocumentFactory N/A rev N/A ApprovedRevisionFactory document doc significance MEDIUM_SIGNIFICANCE is_ready_for_localization True N/A es_doc N/A DocumentFactory parent doc locale es N/A N/A ApprovedRevisionFactory document es_doc based_on rev N/A N/A DocumentFactory parent doc locale de N/A N/A visitors_by_locale return_value N/A en-US de es fr 50 20 25 5 N/A N/A _get_top_docs return_value N/A doc N/A N/A update_l10n_metric N/A metrics N/A N/A N/A Metric objects filter kind l10n_kind N/A N/A eq_ 1 N/A len metrics N/A N/A eq_ 75 N/A N/A metrics N/A 0 value N/A N/A ApprovedRevisionFactory document doc significance TYPO_SIGNIFICANCE is_ready_for_localization True N/A N/A N/A N/A N/A N/A Metric objects all delete N/A N/A update_l10n_metric N/A metrics N/A N/A N/A Metric objects filter kind l10n_kind N/A N/A eq_ 1 N/A len metrics N/A N/A eq_ 75 N/A N/A metrics N/A 0 value N/A m1 N/A ApprovedRevisionFactory document doc significance MEDIUM_SIGNIFICANCE is_ready_for_localization True N/A N/A N/A N/A N/A N/A Metric objects all delete N/A N/A update_l10n_metric N/A metrics N/A N/A N/A Metric objects filter kind l10n_kind N/A N/A eq_ 1 N/A len metrics N/A N/A eq_ 62 N/A N/A metrics N/A 0 value N/A m2 N/A ApprovedRevisionFactory document doc significance MEDIUM_SIGNIFICANCE is_ready_for_localization True N/A N/A N/A N/A N/A N/A Metric objects all delete N/A N/A update_l10n_metric N/A metrics N/A N/A N/A Metric objects filter kind l10n_kind N/A N/A eq_ 1 N/A len metrics N/A N/A eq_ 50 N/A N/A metrics N/A 0 value N/A N/A N/A m1 delete N/A N/A N/A m2 delete N/A N/A ApprovedRevisionFactory document doc significance MAJOR_SIGNIFICANCE is_ready_for_localization True N/A N/A N/A N/A N/A N/A Metric objects all delete N/A N/A update_l10n_metric N/A metrics N/A N/A N/A Metric objects filter kind l10n_kind N/A N/A eq_ 1 N/A len metrics N/A N/A eq_ 50 N/A N/A metrics N/A 0 value N/A N/A N/A patch object N/A N/A kitsune kpi cron _get_top_docs N/A N/A patch object googleanalytics visitors_by_locale test_update_search_ctr N/A N/A self search_ctr N/A N/A N/A Verify the cron job inserts the right rows. N/A clicks_kind N/A MetricKindFactory code SEARCH_CLICKS_METRIC_CODE N/A N/A MetricKindFactory code SEARCH_SEARCHES_METRIC_CODE N/A N/A search_ctr return_value N/A 2013-06-06 2013-06-07 2013-06-08 42.123456789 13.7654321 99.55555 N/A N/A update_search_ctr_metric N/A metrics N/A N/A N/A N/A N/A Metric objects filter kind clicks_kind order_by start N/A N/A eq_ 3 N/A len metrics N/A N/A eq_ 421 N/A N/A metrics N/A 0 value N/A N/A eq_ 138 N/A N/A metrics N/A 1 value N/A N/A eq_ N/A date 2013 6 8 N/A N/A metrics N/A 2 start N/A N/A N/A patch object googleanalytics search_ctr test_process_exit_surveys N/A N/A self requests N/A N/A N/A Verify the metrics inserted by process_exit_surveys cron job. N/A N/A N/A N/A requests get return_value content SURVEY_GIZMO_EXIT_SURVEY_RESPONSE N/A yes_kind N/A MetricKindFactory code EXIT_SURVEY_YES_CODE N/A no_kind N/A MetricKindFactory code EXIT_SURVEY_NO_CODE N/A dunno_kind N/A MetricKindFactory code EXIT_SURVEY_DONT_KNOW_CODE N/A two_days_back N/A N/A N/A date today N/A timedelta days 2 N/A N/A MetricFactory kind yes_kind start two_days_back N/A N/A N/A self settings SURVEYGIZMO_API_TOKEN test SURVEYGIZMO_API_TOKEN_SECRET test N/A N/A N/A _process_exit_survey_results N/A N/A eq_ 4 N/A N/A N/A Metric objects count N/A N/A eq_ 2 N/A N/A N/A N/A N/A Metric objects filter kind yes_kind N/A 1 value N/A N/A eq_ 1 N/A N/A N/A N/A Metric objects get kind no_kind value N/A N/A eq_ 1 N/A N/A N/A N/A Metric objects get kind dunno_kind value N/A N/A N/A patch object surveygizmo_utils requests N/A N/A SURVEY_GIZMO_EXIT_SURVEY_RESPONSE 
{
    "total_count": "4",
    "total_pages": 1,
    "results_per_page": "500",
    "result_ok": true,
    "data": [
        {
            "[variable(\"8-shown\")]": "1",
            "[variable(\"1-shown\")]": "1",
            "[variable(\"4-shown\")]": "1",
            "[variable(\"2-shown\")]": "1",
            "[variable(\"7-shown\")]": "1",
            "contact_id": "100019965",
            "[variable(\"STANDARD_USERAGENT\")]": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36",
            "[question(6)]": "I most often use Chrome to browse because it has a native omni bar, but I really like what you guys are doing and am hoping that Firefox OS will be supported on my smartphone when it's released.",
            "[question(4)]": " 9\r",
            "[variable(\"STANDARD_GEOREGION\")]": "00",
            "id": "3970",
            "[question(2)]": "Yes\n",
            "[variable(\"PORTAL_RELATIONSHIP\")]": "",
            "[variable(\"STANDARD_REFERER\")]": "",
            "[variable(\"STANDARD_RESPONSETIME\")]": "",
            "sResponseComment": "",
            "datesubmitted": "2013-07-16 00:31:26",
            "[question(8)]": "Learn more about Firefox",
            "[variable(\"STANDARD_COMMENTS\")]": "",
            "[variable(\"STANDARD_GEODMA\")]": "0",
            "status": "Complete",
            "[variable(\"6-shown\")]": "1",
            "[variable(\"STANDARD_LAT\")]": "1.2931",
            "[variable(\"STANDARD_GEOPOSTAL\")]": "",
            "[question(3), option(10004)]": "Help Articles\n",
            "[variable(\"STANDARD_IP\")]": "111.111.1.111, 111.111.11",
            "[variable(4)]": "10007",
            "is_test_data": "0",
            "[url(\"_\")]": "",
            "[variable(\"STANDARD_GEOCITY\")]": "Singapore",
            "[url(\"sguid\")]": "",
            "[variable(2)]": "10001",
            "[variable(\"STANDARD_GEOCOUNTRY\")]": "Singapore",
            "[variable(\"3-shown\")]": "1",
            "[question(3), option(10006)]": "",
            "[variable(\"STANDARD_LONG\")]": "103.855797",
            "[variable(8)]": "10018",
            "[question(3), option(10005)]": ""
        }, {
            "[variable(\"8-shown\")]": "1",
            "[variable(\"1-shown\")]": "1",
            "[variable(\"4-shown\")]": "1",
            "[variable(\"2-shown\")]": "1",
            "[variable(\"7-shown\")]": "1",
            "contact_id": "100020010",
            "[variable(\"STANDARD_USERAGENT\")]": "Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Firefox/22.0",
            "[question(6)]": "i know  mozilla firefox has  very experienced team what ever they are doing it is for the mankind and i can simply send best wishes\r\nthanks  that u give honour to ordinary people like me",
            "[question(4)]": " 9\r",
            "[variable(\"STANDARD_GEOREGION\")]": "35",
            "id": "3971",
            "[question(2)]": "No\n",
            "[variable(\"PORTAL_RELATIONSHIP\")]": "",
            "[variable(\"STANDARD_REFERER\")]": "http://in-mg61.mail.yahoo.com/neo/launch",
            "[variable(\"STANDARD_RESPONSETIME\")]": "",
            "sResponseComment": "",
            "datesubmitted": "2013-07-16 01:18:05",
            "[question(8)]": "Learn more about Firefox",
            "[variable(\"STANDARD_COMMENTS\")]": "",
            "[variable(\"STANDARD_GEODMA\")]": "0",
            "status": "Complete",
            "[variable(\"6-shown\")]": "1",
            "[variable(\"STANDARD_LAT\")]": "23.266701",
            "[variable(\"STANDARD_GEOPOSTAL\")]": "",
            "[question(3), option(10004)]": "Help Articles\n",
            "[variable(\"STANDARD_IP\")]": "111.111.11.11",
            "[variable(4)]": "10007",
            "is_test_data": "0",
            "[url(\"_\")]": "",
            "[variable(\"STANDARD_GEOCITY\")]": "Bhopal",
            "[url(\"sguid\")]": "",
            "[variable(2)]": "10001",
            "[variable(\"STANDARD_GEOCOUNTRY\")]": "India",
            "[variable(\"3-shown\")]": "1",
            "[question(3), option(10006)]": "",
            "[variable(\"STANDARD_LONG\")]": "77.400002",
            "[variable(8)]": "10018",
            "[question(3), option(10005)]": "Support Forum\n"
        }, {
            "[variable(\"8-shown\")]": "1",
            "[variable(\"1-shown\")]": "1",
            "[variable(\"4-shown\")]": "1",
            "[variable(\"2-shown\")]": "1",
            "[variable(\"7-shown\")]": "1",
            "contact_id": "100020010",
            "[variable(\"STANDARD_USERAGENT\")]": "Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Firefox/22.0",
            "[question(6)]": "i know  mozilla firefox has  very experienced team what ever they are doing it is for the mankind and i can simply send best wishes\r\nthanks  that u give honour to ordinary people like me",
            "[question(4)]": " 9\r",
            "[variable(\"STANDARD_GEOREGION\")]": "35",
            "id": "3971",
            "[question(2)]": "I don't know\n",
            "[variable(\"PORTAL_RELATIONSHIP\")]": "",
            "[variable(\"STANDARD_REFERER\")]": "http://in-mg61.mail.yahoo.com/neo/launch",
            "[variable(\"STANDARD_RESPONSETIME\")]": "",
            "sResponseComment": "",
            "datesubmitted": "2013-07-16 01:18:05",
            "[question(8)]": "Learn more about Firefox",
            "[variable(\"STANDARD_COMMENTS\")]": "",
            "[variable(\"STANDARD_GEODMA\")]": "0",
            "status": "Complete",
            "[variable(\"6-shown\")]": "1",
            "[variable(\"STANDARD_LAT\")]": "23.266701",
            "[variable(\"STANDARD_GEOPOSTAL\")]": "",
            "[question(3), option(10004)]": "Help Articles\n",
            "[variable(\"STANDARD_IP\")]": "111.111.11.11",
            "[variable(4)]": "10007",
            "is_test_data": "0",
            "[url(\"_\")]": "",
            "[variable(\"STANDARD_GEOCITY\")]": "Bhopal",
            "[url(\"sguid\")]": "",
            "[variable(2)]": "10001",
            "[variable(\"STANDARD_GEOCOUNTRY\")]": "India",
            "[variable(\"3-shown\")]": "1",
            "[question(3), option(10006)]": "",
            "[variable(\"STANDARD_LONG\")]": "77.400002",
            "[variable(8)]": "10018",
            "[question(3), option(10005)]": "Support Forum\n"
        }, {
            "[variable(\"8-shown\")]": "1",
            "[variable(\"1-shown\")]": "1",
            "[variable(\"4-shown\")]": "1",
            "[variable(\"2-shown\")]": "1",
            "[variable(\"7-shown\")]": "1",
            "contact_id": "100020010",
            "[variable(\"STANDARD_USERAGENT\")]": "Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Firefox/22.0",
            "[question(6)]": "i know  mozilla firefox has  very experienced team what ever they are doing it is for the mankind and i can simply send best wishes\r\nthanks  that u give honour to ordinary people like me",
            "[question(4)]": " 9\r",
            "[variable(\"STANDARD_GEOREGION\")]": "35",
            "id": "3971",
            "[question(2)]": "Yes\n",
            "[variable(\"PORTAL_RELATIONSHIP\")]": "",
            "[variable(\"STANDARD_REFERER\")]": "http://in-mg61.mail.yahoo.com/neo/launch",
            "[variable(\"STANDARD_RESPONSETIME\")]": "",
            "sResponseComment": "",
            "datesubmitted": "2013-07-16 01:18:05",
            "[question(8)]": "Learn more about Firefox",
            "[variable(\"STANDARD_COMMENTS\")]": "",
            "[variable(\"STANDARD_GEODMA\")]": "0",
            "status": "Complete",
            "[variable(\"6-shown\")]": "1",
            "[variable(\"STANDARD_LAT\")]": "23.266701",
            "[variable(\"STANDARD_GEOPOSTAL\")]": "",
            "[question(3), option(10004)]": "Help Articles\n",
            "[variable(\"STANDARD_IP\")]": "111.111.11.11",
            "[variable(4)]": "10007",
            "is_test_data": "0",
            "[url(\"_\")]": "",
            "[variable(\"STANDARD_GEOCITY\")]": "Bhopal",
            "[url(\"sguid\")]": "",
            "[variable(2)]": "10001",
            "[variable(\"STANDARD_GEOCOUNTRY\")]": "India",
            "[variable(\"3-shown\")]": "1",
            "[question(3), option(10006)]": "",
            "[variable(\"STANDARD_LONG\")]": "77.400002",
            "[variable(8)]": "10018",
            "[question(3), option(10005)]": "Support Forum\n"
        }
    ],
    "page": "1"
}
