Kwai-Klear/GoLongRL-Eval huggingface dataset:
|($ in millions)||||
||2019|2018|2017|
|Balance at January 1|$6,759|$ 7,031|$3,740|
|Additions based on tax positions related to the current year|816|394|3,029|
|Additions for tax positions of prior years|779|1,201|803|
|Reductions for tax positions of prior years (including impacts due to a lapse of statute)|(922)|(1,686)|(367)|
|Settlements|(286)|(181)|(174)|
|Balance at December 31|$7,146|$ 6,759|$7,031|
 The amount of unrecognized tax benefits at December 31, 2019 increased by $387 million in 2019 to $7,146 million. A reconciliation of the beginning and ending amount of unrecognized tax benefits was as follows: The additions to unrecognized tax benefits related to the current and prior years were primarily attributable to U.S. federal and state tax matters, as well as non-U.S. tax matters, including transfer pricing, credits and incentives. The settlements and reductions to unrecognized tax benefits for tax positions of prior years were primarily attributable to U.S. federal and state tax matters, non-U.S. audits and impacts due to lapse of statute of limitations. The unrecognized tax benefits at December 31, 2019 of $7,146 million can be reduced by $584 million associated with timing adjustments, U.S. tax credits, potential transfer pricing adjustments and state income taxes. The net amount of $6,562 million, if recognized, would favorably affect the company’s effective tax rate. The net amounts at December 31, 2018 and 2017 were $6,041 million and $6,064 million, respectively.


Question: If the Balance at January 1 in 2019 increases to 7,871, what is the revised average? (in million)

Solution:
def solution():
    # Define variables name and value
    balance_jan_1_2019 = 7871
    balance_jan_1_2018 = 7031
    balance_jan_1_2017 = 3740

    # Do math calculation to get the answer
    answer = (balance_jan_1_2019 + balance_jan_1_2018 + balance_jan_1_2017) / 3

    return answer
Answer: 6214
||Years Ended December 31,||
||2019|2018|
|Sales|$  —|$  —|
|Cost of sales|(901)|(88)|
|Total operating expense|1,022|96|
|Operating income (loss) from discontinued operations|(121)|(8)|
|Other income (expense)|10,895|(24)|
|Income (loss) from discontinued operations before income taxes|10,774|(32)|
|Provision (benefit) for income taxes|2,294|6|
|Income (loss) from discontinued operations, net of income taxes|$ 8,480|$  (38)|
 Discontinued Operations In December 2015, we completed the wind down of engineering, manufacturing and sales of our solar inverter product line (the "inverter business"). Accordingly, the results of our inverter business have been reflected as “Income (loss) from discontinued operations, net of income taxes” on our Consolidated Statements of Operations for all periods presented herein. The effect of our sales of the remaining extended inverter warranties to our customers continues to be reflected in deferred revenue in our Consolidated Balance Sheets. Deferred revenue for extended inverter warranties and the associated costs of warranty service will be reflected in Sales and Cost of goods sold, respectively, from continuing operations in future periods in our Consolidated Statement of Operations, as the deferred revenue is earned and the associated services are rendered. Extended warranties related to the inverter product line are no longer offered. In May 2019, we divested our grid-tied central solar inverter repair and service operation. In conjunction with the divesture, the initial product warranty for the previously sold grid-tied central solar inverters was transferred to the buyer. Accordingly, a gain of $8.6 million net of tax expense of $2.4 million was recognized in Other income (expense) and Provision (benefit) for income taxes, respectively, in our discontinued operations for the year December 31, 2019. Operating income from discontinued operations for the year ended December 31, 2019 and 2018, also includes the impacts of changes in our estimated product warranty liability, the recovery of accounts receivable and foreign exchange gain or (losses). Income (loss) from discontinued operations, net of income taxes (in thousands):


Question: What would be the percentage change in total operating expense between 2018 and 2019 if total operating expense in 2019 was $2,000 thousand instead? (in percent)

Solution:
def solution():
    # Define variables name and value
    total_operating_expense_2019 = 2000
    total_operating_expense_2018 = 96
    
    # Do math calculation to get the answer
    answer = (total_operating_expense_2019 - total_operating_expense_2018) / total_operating_expense_2018 * 100
    
    return answer
Answer: 1983.3333333333333
||December 31, 2019|December 31, 2018|
||$|$|
|Deferred revenues and gains (note 2)|28,612|31,324|
|Guarantee liabilities|10,113|9,434|
|Asset retirement obligation|31,068|27,759|
|Pension liabilities|7,238|4,847|
|In-process revenue contracts|11,866|17,800|
|Derivative liabilities (note 16)|51,914|56,352|
|Unrecognized tax benefits (note 22)|62,958|40,556|
|Office lease liability – long-term (note 1)|10,254|—|
|Other|2,325|1,325|
||216,348|189,397|
 Other Long-Term Liabilities In-Process Revenue Contracts As part of the Company’s previous acquisition of FPSO units from Petrojarl ASA (subsequently renamed Teekay Petrojarl AS, or Teekay Petrojarl), the Company assumed a certain FPSO contract with terms that were less favorable than the then prevailing market terms. At the time of the acquisition, the Company recognized a liability based on the estimated fair value of this contract and service obligation. The Company is amortizing the remaining liability over the estimated remaining term of its associated contract on a weighted basis, based on the projected revenue to be earned under the contract. Amortization of in-process revenue contracts for the year ended December 31, 2019 was $5.9 million (2018 – $14.5 million, 2017 – $27.2 million), which is included in revenues on the consolidated statements of loss. Amortization of in-process revenue contracts following 2019 is expected to be $5.9 million (2020), $5.9 million (2021) and $5.9 million (2022). (all tabular amounts stated in thousands of U.S. dollars, other than share data and unless otherwise indicated)


Question: If the Guarantee liabilities in December 31, 2019 reduced to 8,137 thousand, what would be the revised change between 2018 and 2019? (in thousand)

Solution:
def solution():
    # Define variables name and value
    guarantee_liabilities_2019 = 8137
    guarantee_liabilities_2018 = 9434
    
    # Do math calculation to get the answer
    answer = guarantee_liabilities_2019 - guarantee_liabilities_2018
    
    return answer
Answer: -1297
|||Years Ended September 30,||
||2019|2018|2017|
|||(in thousands)||
|Tax expense at U.S. statutory rate|$ 10,992|$  3,124|$  (3,877)|
|State income taxes, net of federal tax effect|1,416|(237)|(923)|
|Nondeductible expenses|1,720|1,186|(185)|
|Change in reserve for tax contingencies|(1,468)|(1,047)|(4,435)|
|Change in deferred tax asset valuation allowance|(10,007)|8,784|17,374|
|Foreign rate differential (1)|2,149|5,684|9,912|
|Tax credits|(4,767)|(2,656)|(3,459)|
|Impact of U.S. Tax Reform|—|(7,053)|—|
|Global Intangible Low-Tax Income|8,182|—|—|
|Stock Based Compensation|(448)|59|16|
|Non-controlling interest in equity arrangements|1,802|99|—|
|Other|1,469|(850)|235|
|Provision for income taxes|$  11,040|$  7,093|$  14,658|
 The reconciliation of income tax computed at the U.S. federal statutory tax rate to income tax expense is as follows: (1) In 2018, we recorded $3.5 million of tax expense related to foreign earnings which were not permanently reinvested prior to the enactment of the U.S. Tax Act. After enactment, certain foreign earnings are taxed at higher statutory rates than the U.S. which results in $2.1 million of incremental tax expense in 2019. In 2017, we provided for deferred taxes on all cumulative unremitted foreign earnings, as the earnings were no longer considered permanently reinvested resulting in a charge of $9.5 million.


Question: What would the percentage change in nondeductible expenses in 2019 from 2018 be if the amount in 2019 was $1,700 thousand instead? (in percent)

Solution:
def solution():
    # Define variables name and value
    nondeductible_expenses_2019 = 1700
    nondeductible_expenses_2018 = 1186
    
    # Do math calculation to get the answer
    answer = (nondeductible_expenses_2019 - nondeductible_expenses_2018) / nondeductible_expenses_2018 * 100
    
    return answer
Answer: 43.3389544688027
||2019|2018|
|Prepaid expenses|$137,927|$90,981|
|Prepaid income taxes .|47,811|59,319|
|Indirect tax receivables .|29,908|26,327|
|Restricted cash|13,697|19,671|
|Notes receivable (1)|23,873|5,196|
|Derivative instruments (2) .|1,199|2,364|
|Other current assets|22,040|39,203|
|Prepaid expenses and other current assets|$276,455|$243,061|
 Prepaid expenses and other current assets Prepaid expenses and other current assets consisted of the following at December 31, 2019 and 2018 (in thousands): (1) In November 2014 and February 2016, we entered into a term loan agreement and a convertible loan agreement, respectively, with Clean Energy Collective, LLC (“CEC”). Our term loan bears interest at 16% per annum, and our convertible loan bears interest at 10% per annum. In November 2018, we amended the terms of the loan agreements to (i) extend their maturity to June 2020, (ii) waive the conversion features on our convertible loan, and (iii) increase the frequency of interest payments, subject to certain conditions. In January 2019, CEC finalized certain restructuring arrangements, which resulted in a dilution of our ownership interest in CEC and the loss of our representation on the company’s board of managers. As a result of such restructuring, CEC no longer qualified to be accounted for under the equity method. As of December 31, 2019, the aggregate balance outstanding on the loans was $23.9 million and was presented within “Prepaid expenses and other current assets.” As of December 31, 2018, the aggregate balance outstanding on the loans was $22.8 million and was presented within “Notes receivable, affiliate.” (2) See Note 9. “Derivative Financial Instruments” to our consolidated financial statements for discussion of our derivative instruments.


Question: If the total prepaid expenses and other current assets in 2018 increased by 500 thousand, what will be the percentage change in total prepaid expenses and other current assets from 2018 to 2019? (in percent)

Solution:
def solution():
    # Define variables name and value
    total_prepaid_expenses_2019 = 276455
    total_prepaid_expenses_2018 = 243061
    increase_in_2018 = 500

    # Do math calculation to get the answer
    new_total_prepaid_expenses_2018 = total_prepaid_expenses_2018 + increase_in_2018
    percentage_change = (total_prepaid_expenses_2019 - new_total_prepaid_expenses_2018) / new_total_prepaid_expenses_2018 * 100
    
    return percentage_change
Answer: 13.505446274239308
|Year Ended December 31,|||
||2019|2018|
|(In thousands)|||
|Revenues|$36,898|$36,149|
|Income from operations|$4,461|$4,973|
|Income from operations as a % of revenues|12%|14%|
 Europe Europe net revenues increased $749,000 in 2019 compared to 2018 (see “Revenues” above). Europe expenses increased $1.3 million from 2018 to 2019 primarily due to increased marketing costs. Foreign currency movements relative to the U.S. dollar negatively impacted our local currency income from our operations in Europe by approximately $207,000 and $181,000 for 2019 and 2018, respectively.


Question: What would be the average income from operations in 2018 and 2019 if the value in 2019 decreased by $200 thousand? (in thousand)

Solution:
def solution():
    # Define variables name and value
    income_from_operations_2019 = 4461
    income_from_operations_2018 = 4973
    decrease_amount = 200

    # Do math calculation to get the answer
    answer = (income_from_operations_2019 - decrease_amount + income_from_operations_2018) / 2

    return answer
Answer: 4617
|FOR THE YEAR ENDED DECEMBER 31|NOTE|WEIGHTED AVERAGE INTEREST RATE AT DECEMBER 31, 2019|2019|2018|
|Notes payable (1)|26|2.03%|1,994|3,201|
|Loans secured by trade receivables|26|2.71%|1,050|919|
|Long-term debt due within one year (2)|22|4.77%|837|525|
|Total debt due within one year|||3,881|4,645|
 Note 21 Debt due within one year (1) Includes commercial paper of $1,502 million in U.S. dollars ($1,951 million in Canadian dollars) and $2,314 million in U.S. dollars ($3,156 million in Canadian dollars) as at December 31, 2019 and December 31, 2018, respectively, which were issued under our U.S. commercial paper program and have been hedged for foreign currency fluctuations through forward currency contracts. See Note 26, Financial and capital management, for additional details. (2) Included in long-term debt due within one year is the current portion of lease liabilities of $775 million as at December 31, 2019 and the current portion of finance leases of $466 million as at December 31, 2018.


Question: What would the total long-term debt due within one year in 2018 and 2019 be if the amount in 2019 is 875?

Solution:
def solution():
    # Define variables name and value
    long_term_debt_2019 = 875
    long_term_debt_2018 = 525
    
    # Do math calculation to get the answer
    answer = long_term_debt_2019 + long_term_debt_2018
    
    return answer
Answer: 1400
||Balance at|ASC 606|Balance at|
||February 28, 2018|Adjustments|March 1, 2018|
||Assets|||
|Prepaid expenses and other current assets (1)|$12,000|1,891|$13,891|
|Deferred income tax assets|31,581|532|32,113|
|Other assets (1)|18,829|3,145|21,974|
|||||
||Liabilities and Stockholders' Equity|||
|Deferred revenue|$17,757|2,156|19,913|
|Other non-current liabilities|24,249|5,007|29,256|
|||||
||Stockholders' equity|||
 As a result of the adoption of ASC 606, our deferred product revenues and deferred product costs for the fleet management and auto vehicle finance verticals increased as balances are now amortized over the estimated average in-service lives of these devices. Deferred income tax assets and accumulated deficit increased as a result of the changes made to our deferred product revenues and deferred product costs. The cumulative effect of the changes made to our consolidated balance sheet for the adoption of ASC 606 were as follows (in thousands): (1) Deferred product costs included in Prepaid expenses and other current assets and Other assets amounted to $5.4 million and $6.0 million, respectively, as of March 1, 2018.


Question: What were the balance of total assets at March 1, 2018 if other assets were now $20,000 thousand instead? (in thousand)

Solution:
def solution():
    # Define variables name and value
    prepaid_expenses_and_other_current_assets = 13891
    deferred_income_tax_assets = 32113
    other_assets_new = 20000
    
    # Do math calculation to get the answer
    answer = prepaid_expenses_and_other_current_assets + deferred_income_tax_assets + other_assets_new
    
    return answer
Answer: 66004
|As at December 31,|2019|2018|
|Equity securities|||
|Canada|22.3%|20.8%|
|United States|19.8%|12.7%|
|International (other than United States)|14.1%|18.1%|
|Fixed income instruments|||
|Canada|41.2%|45.7%|
|Cash and cash equivalents|||
|Canada|2.6%|2.7%|
 30. EMPLOYEE BENEFIT PLANS (cont.) The fair value of the plan assets were allocated as follows between the various types of investments: Plan assets are valued at the measurement date of December 31 each year. The investments are made in accordance with the Statement of Investment Policies and Procedures. The Statement of Investment Policies and Procedures is reviewed on an annual basis by the Management Level Pension Fund Investment Committee with approval of the policy being provided by the Audit Committee.


Question: What would be the percentage change in plan asset fair value allocated in Canada equity securities between 2018 and 2019 if the percentage accorded in 2019 is doubled and then increased by 5%? (in percent)

Solution:
def solution():
    # Define variables name and value
    canada_equity_securities_2019 = 22.3
    canada_equity_securities_2018 = 20.8
    multiplier = 2
    percentage_increase = 5

    # Do math calculation to get the answer
    answer = (canada_equity_securities_2019 * multiplier + percentage_increase) - canada_equity_securities_2018
    
    return answer
Answer: 28.8
|($ in millions)||||
||2019|2018|2017|
|Balance at January 1|$6,759|$ 7,031|$3,740|
|Additions based on tax positions related to the current year|816|394|3,029|
|Additions for tax positions of prior years|779|1,201|803|
|Reductions for tax positions of prior years (including impacts due to a lapse of statute)|(922)|(1,686)|(367)|
|Settlements|(286)|(181)|(174)|
|Balance at December 31|$7,146|$ 6,759|$7,031|
 The amount of unrecognized tax benefits at December 31, 2019 increased by $387 million in 2019 to $7,146 million. A reconciliation of the beginning and ending amount of unrecognized tax benefits was as follows: The additions to unrecognized tax benefits related to the current and prior years were primarily attributable to U.S. federal and state tax matters, as well as non-U.S. tax matters, including transfer pricing, credits and incentives. The settlements and reductions to unrecognized tax benefits for tax positions of prior years were primarily attributable to U.S. federal and state tax matters, non-U.S. audits and impacts due to lapse of statute of limitations. The unrecognized tax benefits at December 31, 2019 of $7,146 million can be reduced by $584 million associated with timing adjustments, U.S. tax credits, potential transfer pricing adjustments and state income taxes. The net amount of $6,562 million, if recognized, would favorably affect the company’s effective tax rate. The net amounts at December 31, 2018 and 2017 were $6,041 million and $6,064 million, respectively.


Question: If the Balance at December 31 in 2019 increases to 7,961, what is the revised average? (in million)

Solution:
def solution():
    # Define variables name and value
    balance_dec_2019 = 7961
    balance_dec_2018 = 6759
    balance_dec_2017 = 7031
    
    # Do math calculation to get the answer
    answer = (balance_dec_2019 + balance_dec_2018 + balance_dec_2017) / 3
    
    return answer
Answer: 7250.333333333333
||2019|2018|2017|
|Minimum rentals|$184,587|$184,106|$185,696|
|Contingent rentals|2,255|2,221|2,419|
|Total rent expense|186,842|186,327|188,115|
|Less rental expense on subleased properties|(170,651)|(162,640)|(145,728)|
|Net rent expense|$16,191|$23,687|$42,387|
 As lessee — We lease restaurants and other facilities, which generally have renewal clauses of 1 to 20 years exercisable at our option. In some instances, these leases have provisions for contingent rentals based upon a percentage of defined revenues. Many of our restaurant and other facility leases also have rent escalation clauses and require the payment of property taxes, insurance, and maintenance costs. We also lease certain restaurant and office equipment. Minimum rental obligations are accounted for on a straight-line basis over the term of the initial lease, plus lease option terms for certain locations. The components of rent expense were as follows in each fiscal year (in thousands):


Question: What is the average contingent rentals for years 2017, 2018 and 2019 if the value in 2017 is 2,500? (in thousand)

Solution:
def solution():
    # Define variables name and value
    contingent_rentals_2019 = 2255
    contingent_rentals_2018 = 2221
    contingent_rentals_2017 = 2500
    
    # Do math calculation to get the average
    average_contingent_rentals = (contingent_rentals_2019 + contingent_rentals_2018 + contingent_rentals_2017) / 3
    
    return average_contingent_rentals
Answer: 2325.3333333333335
|(in thousands of $)|2019|2018|
|Balance sheet|||
|Current assets|64,507|172,554|
|Non-current assets|1,300,065|1,392,710|
|Current liabilities|(496,029)|(278,728)|
|Non-current liabilities|(418,578)|(842,786)|
 Summarized financial information of Hilli LLC The assets and liabilities of Hilli LLC(1) that most significantly impacted our consolidated balance sheet as of December 31, 2019 and 2018, are as follows: (1) As Hilli LLC is the primary beneficiary of the Hilli Lessor VIE (see above) the Hilli LLC balances include the Hilli Lessor VIE.


Question: What would be the percentage change in non-current assets between 2018 and 2019 if the amount in 2019 was 1,489,320 thousand? (in percent)

Solution:
def solution():
    # Define variables name and value
    non_current_assets_2019 = 1_489_320
    non_current_assets_2018 = 1_392_710
    
    # Do math calculation to get the answer
    answer = ((non_current_assets_2019 - non_current_assets_2018) / non_current_assets_2018) * 100
    
    return answer
Answer: 6.936835378506652
|Year Ended December 31|||
||2019|2018|
|Goodwill, beginning of period|$       3,178|$           -|
|Golden Ridge acquisition|-|3,178|
|MGI acquistion|737|-|
|Goodwill, end of period|$3,915|$3,178|
 NOTE 9. GOODWILL AND INTANGIBLES A summary of goodwill activity follows (in thousands).


Question: What would be the total goodwill obtained from acquisitions in 2018 and 2019 if the goodwill from the MCI acquisition is doubled and then decreased by $50,000? (in thousand)

Solution:
def solution():
    # Define variables name and value
    goodwill_beginning = 3178
    golden_ridge_acquisition = 3178
    mgi_acquisition = 737

    # Do math calculation to get the answer
    answer = goodwill_beginning + (mgi_acquisition * 2) - 50

    return answer
Answer: 4602
||Pension||Other Benefits||
||2019|2018|2019|2018|
|Net actuarial loss (gain)|$16,864|$15,691|$(793)|$(879)|
|Prior service cost|1,325|1,413|—|—|
|Accumulated other comprehensive (income) loss|$18,189|$17,104|$(793)|$(879)|
 Amounts recognized in Accumulated other comprehensive income (loss) at March 31, 2019 and 2018 consist of the following (amounts in thousands): Although not reflected in the table above, the tax effect on the pension balances was $2.4 million and $2.3 million as of March 31, 2019 and 2018, respectively.


Question: What would be the change in the Net actuarial loss for Other Benefits between 2018 and 2019 if the Net actuarial loss in 2019 was -$100 thousand instead?

Solution:
def solution():
    # Define variables name and value
    net_actuarial_loss_2019 = -100
    net_actuarial_loss_2018 = -879
    
    # Do math calculation to get the answer
    answer = net_actuarial_loss_2019 - net_actuarial_loss_2018
    
    return answer
Answer: 779