<commit_before>package ee.tuleva.onboarding.account;

import ee.eesti.xtee6.kpr.KprV6PortType;
import ee.eesti.xtee6.kpr.PensionAccountBalanceResponseType;
import ee.eesti.xtee6.kpr.PensionAccountBalanceType;
import ee.tuleva.ee.tuleva.onboarding.xroad.XRoadClient;
import ee.tuleva.onboarding.user.User;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;

import static org.springframework.web.bind.annotation.RequestMethod.GET;

@RestController
@RequestMapping("/v1")
public class AccountStatementController {
    /*
    private XRoadClient xRoadClient;

    @Autowired
    AccountStatementController(XRoadClient xRoadClient) {
        this.xRoadClient = xRoadClient;
    }
    */

    @ApiOperation(value = "Get pension register account statement")
    @RequestMapping(method = GET, value = "/pension-account-statement")
    public List<FundBalance> getMyPensionAccountStatement(@AuthenticationPrincipal User user) {

        //PensionAccountBalanceType request = new PensionAccountBalanceType();
        //request.setBalanceDate(null);
        //PensionAccountBalanceResponseType response = xRoadClient.getPort().pensionAccountBalance(request);
        //response.getUnits();


        return Arrays.asList(
                FundBalance.builder()
                        .isin("EE1234567890")
                        .name("My fund")
                        .manager("Myself")
                        .price(new BigDecimal("10.03"))
                        .currency("EUR")
                        .build(),
                FundBalance.builder()
                        .isin("EE0987654321")
                        .name("Friends fund")
                        .manager("Buddy")
                        .price(new BigDecimal("19.04"))
                        .currency("EUR")
                        .build()
        );
    }
}
<commit_msg>Uku wanted real ISINs to dummys<commit_after>package ee.tuleva.onboarding.account;

import ee.eesti.xtee6.kpr.KprV6PortType;
import ee.eesti.xtee6.kpr.PensionAccountBalanceResponseType;
import ee.eesti.xtee6.kpr.PensionAccountBalanceType;
import ee.tuleva.ee.tuleva.onboarding.xroad.XRoadClient;
import ee.tuleva.onboarding.user.User;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;

import static org.springframework.web.bind.annotation.RequestMethod.GET;

@RestController
@RequestMapping("/v1")
public class AccountStatementController {
    /*
    private XRoadClient xRoadClient;

    @Autowired
    AccountStatementController(XRoadClient xRoadClient) {
        this.xRoadClient = xRoadClient;
    }
    */

    @ApiOperation(value = "Get pension register account statement")
    @RequestMapping(method = GET, value = "/pension-account-statement")
    public List<FundBalance> getMyPensionAccountStatement(@AuthenticationPrincipal User user) {

        //PensionAccountBalanceType request = new PensionAccountBalanceType();
        //request.setBalanceDate(null);
        //PensionAccountBalanceResponseType response = xRoadClient.getPort().pensionAccountBalance(request);
        //response.getUnits();


        return Arrays.asList(
                FundBalance.builder()
                        .isin("EE3600019790")
                        .name("LHV Pensionifond 25")
                        .manager("LHV")
                        .price(new BigDecimal("10.03"))
                        .currency("EUR")
                        .build(),
                FundBalance.builder()
                        .isin("EE3600019808")
                        .name("<NAME>")
                        .manager("LHV")
                        .price(new BigDecimal("19.04"))
                        .currency("EUR")
                        .build()
        );
    }
}

{'fraction_non_alphanumeric': 0.10317279160009131, 'fraction_numerical': 0.01552157041771285, 'mean_word_length': 2.4944178628389153, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, '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': '2895029', 'n_tokens_mistral': 1263, 'n_tokens_neox': 1183, 'n_words': 181}