<commit_before><?xml version="1.0"?>
<config>
    <modules>
        <DEG_OrderLifecycle>
            <version>1.0.0</version>
        </DEG_OrderLifecycle>
    </modules>
    <global>
        <helpers>
            <deg_orderlifecycle>
                <class>DEG_OrderLifecycle_Helper</class>
            </deg_orderlifecycle>
        </helpers>
        <models>
            <deg_orderlifecycle>
                <class>DEG_OrderLifecycle_Model</class>
            </deg_orderlifecycle>
        </models>
        <events>
            <lifecycle_event>
                <observers>
                    <lifecycle_event_to_registry>
                        <class>deg_orderlifecycle/observer</class>
                        <method>lifecycleEventToRegistry</method>
                    </lifecycle_event_to_registry>
                </observers>
            </lifecycle_event>
            <sales_order_save_commit_after>
                <observers>
                    <order_saved_event_flush>
                        <class>deg_orderlifecycle/observer</class>
                        <method>orderSavedEventFlush</method>
                    </order_saved_event_flush>
                </observers>
            </sales_order_save_commit_after>
            <sales_order_invoice_save_commit_after>
                <observers>
                    <invoice_saved_event_flush>
                        <class>deg_orderlifecycle/observer</class>
                        <method>invoiceSavedEventFlush</method>
                    </invoice_saved_event_flush>
                </observers>
            </sales_order_invoice_save_commit_after>
            <sales_order_payment_save_commit_after>
                <observers>
                    <payment_saved_event_flush>
                        <class>deg_orderlifecycle/observer</class>
                        <method>paymentSavedEventFlush</method>
                    </payment_saved_event_flush>
                </observers>
            </sales_order_payment_save_commit_after>
            <sales_order_save_after>
                <observers>
                    <order_saved_after_lifecycle_event>
                        <class>deg_orderlifecycle/hooks</class>
                        <method>orderAfterSaveLifecycleEvent</method>
                    </order_saved_after_lifecycle_event>
                </observers>
            </sales_order_save_after>
            <sales_order_payment_capture>
                <observers>
                    <sales_order_payment_capture_lifecycle_event>
                        <class>deg_orderlifecycle/hooks</class>
                        <method>paymentCaptureLifecyceEvent</method>
                    </sales_order_payment_capture_lifecycle_event>
                </observers>
            </sales_order_payment_capture>

            <sales_order_payment_refund>
                <observers>
                    <sales_order_payment_refund_lifecycle_event>
                        <class>deg_orderlifecycle/hooks</class>
                        <method>paymentRefundLifecyceEvent</method>
                    </sales_order_payment_refund_lifecycle_event>
                </observers>
            </sales_order_payment_refund>
            <sales_order_invoice_register>
                <observers>
                    <sales_order_invoice_register_lifecycle_event>
                        <class>deg_orderlifecycle/hooks</class>
                        <method>invoiceCreatedLifecyceEvent</method>
                    </sales_order_invoice_register_lifecycle_event>
                </observers>
            </sales_order_invoice_register>
            <shipment_save_after>
                <observers>
                    <shipment_save_after_lifecycle_event>
                        <class>deg_orderlifecycle/hooks</class>
                        <method>shippmentCreatedLifecyceEvent</method>
                    </shipment_save_after_lifecycle_event>
                </observers>
            </shipment_save_after>
        </events>
    </global>
    <default>
        <sales>
            <order_lifecycle>
                <adapter>deg_orderlifecycle/write_adapter_order_history</adapter>
            </order_lifecycle>
        </sales>
    </default>
</config><commit_msg>Start listening to the correct event being dispatched<commit_after><?xml version="1.0"?>
<config>
    <modules>
        <DEG_OrderLifecycle>
            <version>1.0.0</version>
        </DEG_OrderLifecycle>
    </modules>
    <global>
        <helpers>
            <deg_orderlifecycle>
                <class>DEG_OrderLifecycle_Helper</class>
            </deg_orderlifecycle>
        </helpers>
        <models>
            <deg_orderlifecycle>
                <class>DEG_OrderLifecycle_Model</class>
            </deg_orderlifecycle>
        </models>
        <events>
            <lifecycle_event>
                <observers>
                    <lifecycle_event_to_registry>
                        <class>deg_orderlifecycle/observer</class>
                        <method>lifecycleEventToRegistry</method>
                    </lifecycle_event_to_registry>
                </observers>
            </lifecycle_event>
            <sales_order_save_commit_after>
                <observers>
                    <order_saved_event_flush>
                        <class>deg_orderlifecycle/observer</class>
                        <method>orderSavedEventFlush</method>
                    </order_saved_event_flush>
                </observers>
            </sales_order_save_commit_after>
            <sales_order_invoice_save_commit_after>
                <observers>
                    <invoice_saved_event_flush>
                        <class>deg_orderlifecycle/observer</class>
                        <method>invoiceSavedEventFlush</method>
                    </invoice_saved_event_flush>
                </observers>
            </sales_order_invoice_save_commit_after>
            <sales_order_payment_save_commit_after>
                <observers>
                    <payment_saved_event_flush>
                        <class>deg_orderlifecycle/observer</class>
                        <method>paymentSavedEventFlush</method>
                    </payment_saved_event_flush>
                </observers>
            </sales_order_payment_save_commit_after>
            <sales_order_save_after>
                <observers>
                    <order_saved_after_lifecycle_event>
                        <class>deg_orderlifecycle/hooks</class>
                        <method>orderAfterSaveLifecycleEvent</method>
                    </order_saved_after_lifecycle_event>
                </observers>
            </sales_order_save_after>
            <sales_order_payment_capture>
                <observers>
                    <sales_order_payment_capture_lifecycle_event>
                        <class>deg_orderlifecycle/hooks</class>
                        <method>paymentCaptureLifecyceEvent</method>
                    </sales_order_payment_capture_lifecycle_event>
                </observers>
            </sales_order_payment_capture>

            <sales_order_payment_refund>
                <observers>
                    <sales_order_payment_refund_lifecycle_event>
                        <class>deg_orderlifecycle/hooks</class>
                        <method>paymentRefundLifecyceEvent</method>
                    </sales_order_payment_refund_lifecycle_event>
                </observers>
            </sales_order_payment_refund>
            <sales_order_invoice_register>
                <observers>
                    <sales_order_invoice_register_lifecycle_event>
                        <class>deg_orderlifecycle/hooks</class>
                        <method>invoiceCreatedLifecyceEvent</method>
                    </sales_order_invoice_register_lifecycle_event>
                </observers>
            </sales_order_invoice_register>
            <sales_order_shipment_save_after>
                <observers>
                    <shipment_save_after_lifecycle_event>
                        <class>deg_orderlifecycle/hooks</class>
                        <method>shippmentCreatedLifecyceEvent</method>
                    </shipment_save_after_lifecycle_event>
                </observers>
            </sales_order_shipment_save_after>
        </events>
    </global>
    <default>
        <sales>
            <order_lifecycle>
                <adapter>deg_orderlifecycle/write_adapter_order_history</adapter>
            </order_lifecycle>
        </sales>
    </default>
</config>
{'fraction_non_alphanumeric': 0.07643905849452343, 'fraction_numerical': 0.0011652295502213937, 'mean_word_length': 1.5067172897196262, 'pattern_counts': {'":': 0, '<': 249, '<?xml version=': 2, '>': 249, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5445939', 'n_tokens_mistral': 2337, 'n_tokens_neox': 2214, 'n_words': 210}