Under the old bankruptcy laws, most debtors chose between a liquidation proceeding under Chapter 7 of the Bankruptcy Code and a wage-earner repayment plan under Chapter 13. Under the Bankruptcy Abuse Prevention and Consumer Protection Act of 2005 (BAPCPA), new bankruptcy law, a two-part means (income) test now determines if your are eligible for Chapter 7 or must file under Chapter 13 for relief. Filing for bankruptcy should always be a last resort, since it damages your credit for many years.