<commit_before>/**
 * A container for the [fleets](https://esi.tech.ccp.is/latest/#/Fleets)
 * ESI endpoints. You should not require this module directly, as it technically
 * returns a factory function that requires an internal API. Instead an instance
 * is automatically exposed when the 
 * {@link module:eve_swagger_interface} is loaded and configured.
 *
 * @see https://esi.tech.ccp.is/latest/#/Fleets
 * @param api The internal API instance configured by the root module
 * @module insurance
 */
 module.exports = function(api) {
    var newRequest = api.newRequest;
    var newRequestOpt = api.newRequestOpt;
    var ESI = api.esi;

    var exports = {};

    /**
     * Get fleet details from the ESI endpoint. This makes
     * an HTTP GET request to [`/fleets/{id}/`](https://esi.tech.ccp.is/latest/#!/Fleets/get_fleets_fleet_id).
     * The request is returned as an asynchronous Promise that resolves to 
     * an object parsed from the response JSON model. An example value looks 
     * like:
     * ```
     * {
     *   "is_free_move": false,
     *   "is_registered": false,<commit_msg>Fix declared module name in fleets.js<commit_after>/**
 * A container for the [fleets](https://esi.tech.ccp.is/latest/#/Fleets)
 * ESI endpoints. You should not require this module directly, as it technically
 * returns a factory function that requires an internal API. Instead an instance
 * is automatically exposed when the 
 * {@link module:eve_swagger_interface} is loaded and configured.
 *
 * @see https://esi.tech.ccp.is/latest/#/Fleets
 * @param api The internal API instance configured by the root module
 * @module fleets
 */
 module.exports = function(api) {
    var newRequest = api.newRequest;
    var newRequestOpt = api.newRequestOpt;
    var ESI = api.esi;

    var exports = {};

    /**
     * Get fleet details from the ESI endpoint. This makes
     * an HTTP GET request to [`/fleets/{id}/`](https://esi.tech.ccp.is/latest/#!/Fleets/get_fleets_fleet_id).
     * The request is returned as an asynchronous Promise that resolves to 
     * an object parsed from the response JSON model. An example value looks 
     * like:
     * ```
     * {
     *   "is_free_move": false,
     *   "is_registered": false,
{'fraction_non_alphanumeric': 0.10882221227048813, 'fraction_numerical': 0.0, 'mean_word_length': 3.144712430426716, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3894807', 'n_tokens_mistral': 674, 'n_tokens_neox': 647, 'n_words': 228}