Assistant: 
User: 
    Please analyze the following code file and determine whether it belongs to any of the provided modules based on the listed module descriptions.
    Note that the provided list of modules may not be exhaustive, and some files may not belong to any of the modules. 
    If the code belongs to a module, Only output the module name, without any explanation or additional information; otherwise, return 'None' if it does not belong to any module.

    Modules : {
        "UI": "Handles the front-end user interface, consisting of HTML, CSS, and JavaScript files generated by the Angular framework. It processes user requests and interacts with the server using AJAX for data retrieval and client-side interactions."
"Test Driver": "Facilitates automated regression testing and handles transmission of test data in JSON format. It performs Java testing using TestNG and JavaScript unit-testing with Jest. It also sets up a simulated web server for servlet-level tests and automates end-to-end testing using Selenium Java."
"Logic": "Manages the business logic of TEAMMATES, including handling relationships between entities, managing transactions, input value sanitization, access control rights, and interfacing with GAE-provided or third-party APIs."
"Storage": "Performs CRUD operations on data entities, validation of data, and abstraction of GQL queries, hiding the complexities of datastore from the Logic component."
"Common": "Contains utility classes, custom exceptions, and data transfer objects used across the entire application for easy consolidation and transfer of structured data."
"E2E": "Handles end-to-end testing and load & performance testing, providing helpers, abstractions of browser pages, and test cases for E2E tests and L&P tests."
"Client": "Contains scripts for administrative tasks, such as migrating data to a new schema and calculating statistics. This module connects directly to the application back-end for administrative purposes."
    }

    Code: package teammates.client.scripts; /** * Base script to be used as a template for all data migration scripts. * * <ul> * <li>Supports full scan of entities without {@code OutOfMemoryError}.</li> * <li>Supports automatic continuation from the last failure point (Checkpoint feature).</li> * <li>Supports transaction between {@link #isMigrationNeeded(BaseEntity)} and {@link #migrateEntity(BaseEntity)}.</li> * <li>Supports batch saving if transaction is not used.</li> * </ul> * * @param <T> The entity type to be migrated by the script. */ public abstract class DataMigrationEntitiesBaseScript<T extends BaseEntity> extends DatastoreClient { // the folder where the cursor position and console output is saved as a file private static final String BASE_LOG_URI = "src/client/java/teammates/client/scripts/log/"; // 100 is the optimal batch size as there won't be too much time interval // between read and save (if transaction is not used) // cannot set number greater than 300 // see https://stackoverflow.com/questions/41499505/objectify-queries-setting-limit-above-300-does-not-work private static final int BATCH_SIZE = 100; // Creates the folder that will contain the stored log. static { new File(BASE_LOG_URI).mkdir(); } AtomicLong numberOfScannedKey; AtomicLong numberOfAffectedEntities; AtomicLong numberOfUpdatedEntities; // buffer of entities to save private List<T> entitiesSavingBuffer; public DataMigrationEntitiesBaseScript() { numberOfScannedKey = new AtomicLong(); numberOfAffectedEntities = new AtomicLong(); numberOfUpdatedEntities = new AtomicLong(); entitiesSavingBuffer = new ArrayList<>(); } /** * Gets the query for the entities that need data migration. */ protected abstract Query<T> getFilterQuery(); /** * If true, the script will not perform actual data migration. */ protected abstract boolean isPreview(); /** * Checks whether data migration is needed. * * <p>Causation: this method might be called in multiple threads if using transaction.</p> */ protected abstract boolean isMigrationNeeded(T entity); /** * Migrates the entity. * * <p>Causation: this method might be called in multiple threads if using transaction.</p> */ protected abstract void migrateEntity(T entity) throws Exception; /** * Determines whether the migration should be done in a transaction. * * <p>Transaction is useful for data consistency. However, there are some limitations on operations * inside a transaction. In addition, the performance of the script will also be affected. * * @see <a href="https://cloud.google.com/datastore/docs/concepts/cloud-datastore-transactions#what_can_be_done_in_a_transaction">What can be done in a transaction</a> */ protected boolean shouldUseTransaction() { return false; } /** * Migrates the entity without transaction for better performance. */ private void migrateWithoutTrx(T entity) { doMigration(entity); } /** * Migrates the entity and counts the statistics. */ pr
Assistant: