<commit_before>/**
 * Copyright 2017 FreshPlanet
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.freshplanet.ane.AirFacebook.appevents {

    /**
     * Predefined event and parameter names for logging events common to many apps.
     *
     * @see FBEvent
     * @see https://developers.facebook.com/docs/app-events/android
     */
    public class FBAppEventsConstants {

        /**
         * Log this event when the user has achieved a level in the app.
         */
        public static const EVENT_NAME_ACHIEVED_LEVEL:String = "fb_mobile_level_achieved";

        /**
         * Log this event when an app is being activated.
         */
        public static const EVENT_NAME_ACTIVATED_APP:String = "fb_mobile_activate_app";

        /**
         * Log this event when the user has entered their payment info.
         */
        public static const EVENT_NAME_ADDED_PAYMENT_INFO:String = "fb_mobile_add_payment_info";

        /**
         * Log this event when the user has added an item to their cart.
         * The valueToSum passed to logEvent should be the item's price.
         */
        public static const EVENT_NAME_ADDED_TO_CART:String = "fb_mobile_add_to_cart";

        /**
         * Log this event when the user has added an item to their wishlist.
         * The valueToSum passed to logEvent should be the item's price.
         */
        public static const EVENT_NAME_ADDED_TO_WISHLIST:String = "fb_mobile_add_to_wishlist";

        /**
         * Log this event when the user has completed registration with the app.
         */
        public static const EVENT_NAME_COMPLETED_REGISTRATION:String = "fb_mobile_complete_registration";

        /**
         * Log this event when the user has completed a tutorial in the app.
         */
        public static const EVENT_NAME_COMPLETED_TUTORIAL:String = "fb_mobile_tutorial_completion";

        /**
         * Log this event when the user has entered the checkout process.
         * The valueToSum passed to logEvent should be the total price in the cart.
         */
        public static const EVENT_NAME_INITIATED_CHECKOUT:String = "fb_mobile_initiated_checkout";

        /**
         * Log this event when the user has completed a purchase. The {@link
                * AppEventsLogger#logPurchase(java.math.BigDecimal, java.util.Currency)} method is a shortcut
         * for logging this event.
         */
        public static const EVENT_NAME_PURCHASED:String = "fb_mobile_purchase";

        /**
         * Log this event when the user has rated an item in the app.
         * The valueToSum passed to logEvent should be the numeric rating.
         */
        public static const EVENT_NAME_RATED:String = "fb_mobile_rate";

        /**
         * Log this event when the user has performed a search within the app.
         */
        public static const EVENT_NAME_SEARCHED:String = "fb_mobile_search";

        /**
         * Log this event when the user has spent app credits.
         * The valueToSum passed to logEvent should be the number of credits spent.
         */
        public static const EVENT_NAME_SPENT_CREDITS:String = "fb_mobile_spent_credits";

        /**
         * Log this event when the user has unlocked an achievement in the app.
         */
        public static const EVENT_NAME_UNLOCKED_ACHIEVEMENT:String = "fb_mobile_achievement_unlocked";

        /**
         * Log this event when the user has viewed a form of content in the app.
         */
        public static const EVENT_NAME_VIEWED_CONTENT:String = "fb_mobile_content_view";

		/**
		 * Log this event when the user has viewed a form of content in the app.
		 */
		public static const EVENT_NAME_PUSH_OPENED:String = "fb_mobile_push_opened";

        /**<commit_msg>adding ad impression event constant<commit_after>/**
 * Copyright 2017 FreshPlanet
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.freshplanet.ane.AirFacebook.appevents {

    /**
     * Predefined event and parameter names for logging events common to many apps.
     *
     * @see FBEvent
     * @see https://developers.facebook.com/docs/app-events/android
     */
    public class FBAppEventsConstants {

        /**
         * Log this event when the user has achieved a level in the app.
         */
        public static const EVENT_NAME_ACHIEVED_LEVEL:String = "fb_mobile_level_achieved";

        /**
         * Log this event when an app is being activated.
         */
        public static const EVENT_NAME_ACTIVATED_APP:String = "fb_mobile_activate_app";

        /**
         * Log this event when the user has entered their payment info.
         */
        public static const EVENT_NAME_ADDED_PAYMENT_INFO:String = "fb_mobile_add_payment_info";

        /**
         * Log this event when the user has added an item to their cart.
         * The valueToSum passed to logEvent should be the item's price.
         */
        public static const EVENT_NAME_ADDED_TO_CART:String = "fb_mobile_add_to_cart";

        /**
         * Log this event when the user has added an item to their wishlist.
         * The valueToSum passed to logEvent should be the item's price.
         */
        public static const EVENT_NAME_ADDED_TO_WISHLIST:String = "fb_mobile_add_to_wishlist";

        /**
         * Log this event when the user has completed registration with the app.
         */
        public static const EVENT_NAME_COMPLETED_REGISTRATION:String = "fb_mobile_complete_registration";

        /**
         * Log this event when the user has completed a tutorial in the app.
         */
        public static const EVENT_NAME_COMPLETED_TUTORIAL:String = "fb_mobile_tutorial_completion";

        /**
         * Log this event when the user has entered the checkout process.
         * The valueToSum passed to logEvent should be the total price in the cart.
         */
        public static const EVENT_NAME_INITIATED_CHECKOUT:String = "fb_mobile_initiated_checkout";

        /**
         * Log this event when the user has completed a purchase. The {@link
                * AppEventsLogger#logPurchase(java.math.BigDecimal, java.util.Currency)} method is a shortcut
         * for logging this event.
         */
        public static const EVENT_NAME_PURCHASED:String = "fb_mobile_purchase";

        /**
         * Log this event when the user has rated an item in the app.
         * The valueToSum passed to logEvent should be the numeric rating.
         */
        public static const EVENT_NAME_RATED:String = "fb_mobile_rate";

        /**
         * Log this event when the user has performed a search within the app.
         */
        public static const EVENT_NAME_SEARCHED:String = "fb_mobile_search";

        /**
         * Log this event when the user has spent app credits.
         * The valueToSum passed to logEvent should be the number of credits spent.
         */
        public static const EVENT_NAME_SPENT_CREDITS:String = "fb_mobile_spent_credits";

        /**
         * Log this event when the user has unlocked an achievement in the app.
         */
        public static const EVENT_NAME_UNLOCKED_ACHIEVEMENT:String = "fb_mobile_achievement_unlocked";

        /**
         * Log this event when the user has viewed a form of content in the app.
         */
        public static const EVENT_NAME_VIEWED_CONTENT:String = "fb_mobile_content_view";

		/**
		 * Log this event when the user has opened a push notification
		 */
		public static const EVENT_NAME_PUSH_OPENED:String = "fb_mobile_push_opened";

		/**
		 * Log this event when ad was displayed
		 */
		public static const EVENT_NAME_AD_IMPRESSION:String = "AdImpression";

        /**
{'fraction_non_alphanumeric': 0.06553984132459469, 'fraction_numerical': 0.001839714844199149, 'mean_word_length': 2.4861723446893786, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '833578', 'n_tokens_mistral': 2355, 'n_tokens_neox': 2265, 'n_words': 870}