Skip to content

fastdatascience/evaluate_insolvency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast Data Science logo

🌐 fastdatascience.com Fast Data Science | LinkedIn Fast Data Science | X Fast Data Science | Instagram Fast Data Science | Facebook Fast Data Science | YouTube

Insolvency evaluation scripts

You can try the insolvency bot at https://fastdatascience.com/insolvency

Evaluation scripts DOI on Zenodo:

DOI

Read the long version of our paper (pending publication) here: DOI

All bot responses to the training and test questions are in all_responses_test.md and all_responses_train.md.

Training questions

The training questions are in train_questions.csv.

question_no question_text
Q1 I left a position a couple of months ago after a disagreement with the other director on the direction of the company. I signed a stock transfer form a month ago to return the 5% I had in the business and assumed it was dealt with after I was told it would be filed and I would be removed. Today, the other director dropped the keys for the offices rented by the business and a note saying I was never taken off of the business and to sell all of the assets, close down the business and pay off the debts (along with sending the other director some money). It came a bit out of left field and I'm fairly new to business but I assumed when I signed that form it removed all of my permissions from doing anything with company assets or filings? Any advice would help as I currently don't know what to do other than send the keys back recorded delivery so I cannot be accused of theft or anything.
Q2 Hi, I hope someone can help advise as Citizens advice are a 14 day turn around and I feel so angry and stressed. My partner was working for a subcontractor I will refer to as X and he subcontracts from Y who then subcontracts from a massive house builder in the UK. X had been booking in work with Y and the work hadn't been done so when Y found out they said he wouldn't be getting anymore more money to pay his 13 guys wages. So now my partner hasn't been paid £1800 after tax becuase of this. Apparently X doesn't have the money and he owes Y over £30k. My partner has tried to contact X and be reasonable about it but he started off saying my partner was at the top of his priority list and he would be paid the money, it is now 3 weeks later and X is ignoring calls and texts. Never in our lives have we struggled like this, we are a large family my partner and I have 8 children together and have now had to use a food bank for the last 2 weeks which we have never had to do as we have been pay check to pay check since covid as we didn't take any of the gouverment grants and this has massively set us back. Please can someone help, what can we do, can I persue X, Y and the massive UK house builder? Should I call. The massive UK house builder and speak to them and let them know the kind of guy that has been subcontracted? Would they even care? We can't let this just be accepted as a loss of £1800 as its put us in debt and it has really affected our family massively. Many Thanks in advance for anyone who takes the time to read and respond.
Q3 Good Evening, I am in an extremely difficult situation and I'm looking for a specialist lawyer who can help me with the following: Company A is a trading company that has been in business since 2008 and has been liquidated in 2023. Company B is a property company that has been in business since 2020. We are currently in liquidation with Company A, and one of the creditors is a bank due to an RLS loan. This loan is a cross-guarantee, which means that in case of liquidation, the property company is liable to pay this amount. Background: Company A gave an intercompany loan to Company B to facilitate the purchase of an industrial unit. As Company A is in liquidation, the insolvency practitioner will be asking for the loan amount to be repaid. This means that not only is Company B liable to pay the RLS, but they will also be liable to pay the intercompany loan along with the mortgage on Company B. This puts Company B in a difficult position, and the liquidators are putting pressure on them and asking to put Company B into administration with them. This way, they can sell the industrial unit and I will lose everything I have worked for over the last 17 years. I am here to get some advice, help, and support, but I feel like I have lost it all. Is there any point in carrying on....?
Q4 I know that LTD company debts, stay with the LTD company, and a personal individual cannot be chased for this. What happens when it's the other way round. A personal debt against an individual who is the sole director of multiple LTD companies? Can company assets be seized to pay a personal debt?
Q5 I posted a thread s few weeks back about "closing my ltd company and who to pay" and got some really helpful advice. Today I got a phone call from a debt collection agency, on behalf of Utility Bidder ( a comparison site for business energy) who I went thru when energy prices were rising and I wanted to secure the best price. Apparently I have broken the contract by not seeing out the whole 3 yr term and they're chasing me for about 1k inc vat. I told him I had applied to companies House to dissolve the company and he told me I wouldn't be able to because I have this outstanding debt with them and I should see an insolvency practitioner. When I told him that I wasnt going to spend 2k+ to settle a 1k debt ,he suggested a payment plan. I asked for time to get some advice because obviously the company has no money with which to pay. He suggested that I should "find the money from somewhere". I was a very small bakery and essentially all the equipment was mine, most of it I owned before I set up, some I bought but with my own money, and I used the company money to buy mainly ingredients and small things like replacement knives/bowls. I stopped trading on 24th Dec, I gave notice on my unit and moved out on 18th Jan. I have not traded since and there is no outstanding payments due for goods i supplied. Do I just stick to my guns and let it run its course till they run out of steam?
Q6 A creditor committee had been formed a few months ago in a quick time, without involving any voting or consent from the creditors. We have found the creditor committee is not doing thing for the best interest of the creditors. We may take the following action. 1. To remove some existing members and to be replaced by some others. 2. To add some new members. Can we do it and how can we do it? Thanks
Q7 We have a ltd company with 2 shareholders/directors. Unfortunately over the last year work has really quietened down. Also the other shareholder/director would like to leave the company for new ventures. This would leave us in a position where the business could no longer carry on. We have no debt and no overdrawn directors accounts. we didn't take any bounce back loans. All vat bills would be paid as would Cox. The only thing we wouldnt have enough money for is to terminate our telecoms contract which has 7 years left. (they are completely unreasonable and not budging) Would we require liquidators purely for this reason? Thanks.
Q8 We've screwed up. We informed our landlord that we would like to execute a break clause in our lease (5 year contract with a 3-year break). As per our lease agreement, we need to provide the landlord at least 3 months notice on the break. We informed them 7 days too late to conform to that requirement (i.e. we've given them 2 months and 3 weeks notice). The person this fell to was out-of-action last week, when they were supposed to do this. Landlord is holding this against us, saying that we are too late, and are liable for the final 2 years. Note, we'd discussed this with the landlord several months ago, that we were looking to get out of the lease sooner as we no longer had enough space to operate effectively. The landlord even arranged viewings for prospective tenants. But we did not formally request it until today (too late). Where do we stand on this?
Q9 Business has been a LTD Company since 2014 with good trading history in retail/B2B. Like many we suffered during covid after being closed and not being able to trade as normal. We restructured in some ways but still required retail store. We have recently had to close the retail store Nov 22 to reduce costs and restructure our customer base more towards B2B clients. After 3 months trading from a new non retail location we have come to the conclusion the business is no longer viable for various reasons. Business has 2 equal directors. BBL Natwest balance around £14k which has been paid consistently until Jan when we had to take a payment holiday to help with cash flow. We have an OD with bank of around 6K which has a directors guarantee, we could probably cover this with sale of assets. CH & HMRC in good order. A few outstanding invoices from the closure retail store for around 7K, asset sale won't cover. Two lease cars both with 1 year each left on lease but leased via LTD company with no directors guarantee that we can see in the paperwork. Our customer base has pretty much dried up and the customers we do have are being very careful on what they spend since cost of living issue hit the media, so although we are trading we struggle with cash flow on a daily basis. I know these amounts are not huge but we feel like we are fighting a loosing battle and want to look at options of closing the business or selling it and moving on. But have no idea where to start. This I'm sure is a very common story after recent events and I never thought I would ever be even contemplating these options but it feels like the only option. Have read a few posts and seen the SpongeBob post but don't know what to do for best. Have a meeting with accountant soon to discuss but would be great-full for any advise. TIA
Q10 Hi everyone, long time lurker here. Fortunately, I've never needed to read this subsection until now! Bit of a backstory: I've been running a limited co for 6 years now, I've always had a bit of a hard time getting a hold of the accountants despite paying monthly retainers but the last couple of years have been particularly bad, late filings, no call backs and so on. I've recently switched to a new practice who have reviewed my accountants in full and immediately flagged a horrific situation. The accounts were a mess. The tax liabilities were much higher than expected and it turns out, I've unknowingly taken illegal dividends to the sum of 35k. I've spoken to a local liquidator who has stressed that this needs handled and I will be forced into personal bankruptcy, no question. I have no assets, everything was sold to keep the business going post-covid. Beyond the dividends, I owe personal tax. There's about 15k worth of equipment in the business and cash in the bank or due in. The top line has done well over the years but in the current climate, it will be almost impossible for the company to earn its way out of things. I'm wondering if there's any independent advice I could get? I'm terrified that if I go bankrupt, it will ruin my future prospects and could have been avoided. Thanks
Q11 I know TUPE applies when a business changes hands. I seem to remember reading TUPE also applies if an unrelated business takes over the premises of another business in the same sector and trades from the same location - is that correct? Example in our town. Butchers gone in to administration, staff left in limbo, talk that a new butcher will be opening in the same premises soon. Would TUPE apply in those circumstances?
Q12 Hi there, I wonder if anybody else has been through this and can shed some light on it, So we've been trying to save our business and we've come to terms to realise with world events we cannot continue the company is effectively dead as we sold a luxury not a need. However HSBC have been very supportive and we told them we cannot pay and they said they do a long term no affordability. Send a few letters tick a few boxes they have said in a nutshell. The bounce back loan at the moment is on a payment holiday. So costing us very little a month. I have to give credit to HSBC and their support and advice. But it's the question of how the company is closed. However when do we strike the company off normally my main question? We have no money to liquidate and it and HSBC said they wouldn't liquidate it either for a 12k bounce back loan. We had our total bounce back loan on designing a new product for our company and buying stock for it. Not ever used for personal consumption. Will the company be left in limbo and then companies house eventually strike off, we owe nobody else apart from bounce back loan and I've put my own money into company to try and save it but we have to come to the terms that the world events cost of living have killed our business. It's a real heart breaking situation having owned this company since 2012: but the world has changed. I feel allot of hurt personally. Thanks everybody. Has anybody else been through the process?
Q13 Sorry, bit of an essay, I am looking for some advice on a partnership matter. I am in a general partnership with one other; running a small retail shop. I manage nearly all the admin, finances etc, we both work in the shop and have one employee. We have managed to pay ourselves monthly drawings from profits for our time since we opened a few years ago, with a small additional profit on top most years. Drawings are related to hours worked and I get extra for admin time, though this generally doesn't accout for all the time I spend. I recently completed our tax return and became suspicious of our bank balance - we had a healthy buffer following the covid grants but this has gradually been eroded, and I have expressed concern to them several times, assuming that we were struggling and suggesting we might not be able to pay ourselves at the usual rate. We have a system whereby both partners are responsible for banking cash - we record amounts taken and are meant to record when they are paid in. My partner is very slack with record keeping and rarely fills in the paying in records or passes on paying in slips, and often needs prompting to pay in cash at end of month. I finally managed to check back through records we have both filled in for cash taken and payments received to bank - I know I should have done it sooner - and there is almost a £3000 shortfall in what they have recorded as taken and what they have paid in over last two years. When challenged they sent a letter apologising profusely saying they had got behind with paying in and record keeping, needed to borrow some cash, lost track of how much and basically panicked and buried head in sand and always intended to pay it back, but the reality is the money has been steadily taken over a two year period - generally something is paid in but has been short of what was actually taken from the till. They said they always intended to pay it back, but could never work it out and just ignored it, in hope that at some point they would be able to deal with it, and could never find the right time to tell me. I feel I am being taken for a mug. Alongside this they have proved to be pretty erratic in general - poor communication, record keeping and making silly errors (though some now seen more suspicious) which have cost us money. I end up spending a lot of time trying to track down errors or clear up the mess their errors cause, which has been quite stressful. They have quite a turbulent personal life which exacerbates errors and often precludes discussions about finances and procedures. My discovery of the shortfall comes at a time of personal crisis for my business partner which I have every sympathy for, but I am hurt and angry that they basically took cash from the business and let me stress about our finances without telling me that they had “borrowed” the cash. I have decided I no longer trust them and no longer want to be in the partnership - but am getting severe emotional blackmail from them regarding their personal situation and their involvement in the business. My questions are really about the technicalities of how to end it - we have a fairly thorough partnership agreement of which several terms with regard to paying in, handling cash and record keeping have been broken, so it would seems I have grounds to expel them, but as a two partner partnership, presumably this would result in instant dissolution too? The partnership deeds also have clauses relating to setting up similar businesses and lack of entitlement to goodwill following expulsion. Ideally my intention is to continue the business alone, but I am just looking for advice on potential pitfalls in the process of expulsion and dissolution that might arise, or potential problems regarding me taking on the business alone. I am anticipting working out balances owed either way and potentially may even have to buy them out of the assets, but am unclear about how the “goodwill” side of things works and if they have any claim to the name/intellectual property etc. And also am looking for reassurance.
Q14 I'm in the process of winding up my limited business (only me and wife are directors with no employees). For my customers I officially stopped on 24th December but moved out of my premises on 18th Jan. My landlord was OK about me not being able to pay the rent and we agreed I'd get out pretty quick. I have no debt (like official bank loans or BBL except directors loans - amounting to a couple of thousand) apart from my latest direct debits for energy, water and broadband. Energy is probably the biggest as I paid every quarter - that falls this month. I have £600 left in the business account - who do I prioritise and what will happen when they chase me for any remainder?

Test questions

The test questions are in test_questions.csv.

question_no question_text
Q1 I set up a limited liability company in 2015. My business suffered greatly during the Covid-19 pandemic, and it still hasn’t recovered yet. I fell into arrears, and one of my suppliers submitted a winding-up petition against my business. A friend of mine is willing to invest money in my company. Do I have good chances of avoiding a liquidation order if my friend commits to pumping money into my business?
Q2 My business has been running at a deficit for a few years. In 2021, I got a loan from NatWest to stay afloat. I have given my share in the family home (50%) as a collateral for this loan. I am now unable to repay it. What should I do? Can the bank repossess my house?
Q3 My business (a small restaurant in Egham) is saddled with debt towards several suppliers. I do have a loyal customer base, but I feel that I need to reduce my debt burden. My brother offered to buy my business for a fair price, and he also told me he would like to retain me and some of my employees. However, he says that I need to deal with my debt before selling the business to him. I don’t have savings. What can I do?
Q4 I own a pub in Windsor. I have been badly hit by the rise in interest rates on my loans, by additional taxes on alcohol as well as by a reduction in my customer base. I fell in arrears in the payments towards the HMRC, as well as some of my suppliers (but I had to pay in full some of them, as otherwise I would have had to close my business). I reached an agreement with my bank and with most of my suppliers to delay the repayment of my debt. The HMRC won’t listen and they are threatening legal actions against me. What can I do? HMRC counts for roughly 50% of my unsecured debt (the debt towards the bank is secured by a collateral on my pub).
Q5 I have been badly hit by the rise in interest rates on my loans, as well as by a reduction in my customer base (I run a pub in Ascot). I fell in arrears in the payments towards the HMRC, as well as some of my suppliers (but I had to pay in full some of them, as otherwise I would have had to close my business). My landlord is demanding an extortionate amount of money for my rent. While I agreed to a new, 5-year leasing agreement, I realised that I am operating at a loss unless my rent is reduced and the HMRC agrees to a repayment plan. What can I do?
Q6 I am a real estate developer. Due to the current housing crisis, my mortgages have ballooned, and I am struggling to make money out of the sale of the properties I recently completed. While my housing portfolio is significant, most properties are not yet ready for the market. I am not paying all my suppliers, and the banks are chasing me multiple times per day. If they foreclose, I lose everything. If I complete all my projects, I can repay the banks and the suppliers. However, one of them just filed a petition for winding up my business. I refuse to believe I am insolvent. Is it likely that the petition will be dismissed?
Q7 My brother and I have been working together on our hand-made furniture shop for 20+ years. Last year, we had to liquidate the business because we could no longer pay the bills. An official receiver was appointed. Yesterday, he came back to us and asked to repay all the dividends we received in the 5 years before insolvency. This is a ridiculous amount of money (£150,000 each). My brother and I never received a salary. The official receiver says that we could not get any dividends because the business was operating at a loss. We were only paid in dividends to avoid income tax, and because my accountant told me that was fine. Surely, we don’t have to repay that money?
Q8 My business went into liquidation last year. I was the owner and director. A liquidator was appointed. He is threatening to sue me for breaching my duties as a director unless I return the money I received as monthly repayments for a loan I gave to my company. He’s also threatening to start a disqualification procedure against me for the same reason. I believe I did nothing wrong – this was a fair loan with interests below the market rate. However, I cannot risk being disqualified, because I am also working as a director in my sister’s company. What can I do? Should I return the money?
Q9 My business is operating at a loss. Chase Bank is my major lender, and they have a security over my home. I fell into arrears towards several suppliers, but I do believe I can turn around my business if I am given a bit more time to repay my debts. What can I do?
Q10 My business went into liquidation last March. I tried my best to avoid it. I may have preferred some creditors over others, but simply because they knew I was struggling, and they would not give me their products on credit. I may also have taken some money out of the business account to repay the mortgage on my house. Surely, I did nothing wrong? Do I risk anything?
Q11 My life-long partner just left me for an Italian scugnizzo who is 15 years younger than her. What’s worse is that before leaving, she emptied our joint business account and she stopped paying the joint mortgage we have on our business. The bank is threatening legal actions against me, and to foreclose on the business property. What can I do? By the way, I cannot contact my (ex) partner but I believe she’s now in Italy with her new partner.
Q12 After Brexit, I set up a business in the Netherlands. This is a limited liability company. I am the sole director of that company. There are no employees in the Netherlands, just some people I hire occasionally to load and unload the lorries that distribute my products to the rest of Europe. I have now decided to stop selling goods to Europe, because it is not profitable. I want to wind-up the business here in the UK. Can I do it?

Mark schemes

See train_mark_scheme.csv and test_mark_scheme.csv.

For the training data, there is also train_cases_gold_standard.csv and train_statute_gold_standard.csv which define the desired cases and statutes that the bot should refer to for the training questions. These were used to refine the triage that is part of the prompt engineering, but we have not run a separate validation of the case and statute triage for the test set.

Running the evaluation scripts

To run the models and evaluation, you need to run all these scripts in sequence:

Running all the development/training questions through GPT 3.5 Turbo and 4

These were questions that were used to develop the model and can't be used for validation. We run the questions through GPT to get a control for the baseline performance.

python generate_responses_gpt.py gpt-3.5-turbo train
python generate_responses_gpt.py gpt-4 train

Running all the development/training questions through the insolvency bot with two underlying LLMs (GPT-3.5-Turbo and GPT-4)

python generate_responses_insolvency_bot.py gpt-3.5-turbo train
python generate_responses_insolvency_bot.py gpt-4 train

Running all the test questions through GPT 3.5 Turbo and 4

python generate_responses_gpt.py gpt-3.5-turbo test
python generate_responses_gpt.py gpt-4 test

Running all the test questions through the insolvency bot with two underlying LLMs (GPT-3.5-Turbo and GPT-4)

python generate_responses_insolvency_bot.py gpt-3.5-turbo test
python generate_responses_insolvency_bot.py gpt-4 test

Evaluating the models

python evaluate_responses_with_mark_scheme.py gpt-3.5-turbo train
python evaluate_responses_with_mark_scheme.py gpt-4 train
python evaluate_responses_with_mark_scheme.py insolvency_bot_with_gpt-3.5-turbo train
python evaluate_responses_with_mark_scheme.py insolvency_bot_with_gpt-4 train
python evaluate_responses_with_mark_scheme.py gpt-3.5-turbo test
python evaluate_responses_with_mark_scheme.py gpt-4 test
python evaluate_responses_with_mark_scheme.py insolvency_bot_with_gpt-3.5-turbo test
python evaluate_responses_with_mark_scheme.py insolvency_bot_with_gpt-4 test

Short cut: scripts to run and evaluate all models

These scripts run all of the above commands.

./run_all_models.sh
./evaluate_all_models.sh

Generating graphs

You can generate the graphs in the paper by running GenerateSummaryGraphs.ipynb which will read the results files scores_***.csv.