; and (B) is— (i) a violent felony as defined in section 924(e)(2)(B) of title 18; or (ii) a felony drug offense as defined in section 102(44) of the Controlled Substances Act. . 407. Exclusion of acquitted conduct and discretion to disregard manipulated conduct from consideration during sentencing (a) Acquitted conduct not To be considered in sentencing Section 3661 of title 18, United States Code, is amended by striking the period at the end and inserting , except that a court shall not consider conduct of which a person has not been convicted. . (b) Providing discretion To disregard certain factors in sentencing (1) Title 18, United States Code Section 3553 of title 18, United States Code, is amended by adding at the end the following: (g) Discretion To disregard certain factors A court, in sentencing a defendant convicted under the Controlled Substances Act, the Controlled Substances Import and Export Act, any offense deriving its penalties from either such Act, or an offense under section 924(c) based on a drug trafficking crime, may disregard, in determining the statutory range, calculating the guideline range or considering the factors set forth in section 3553(a), any type or quantity of a controlled substance, counterfeit substance, firearm or ammunition that was determined by a confidential informant, cooperating witness, or law enforcement officer who solicited the defendant to participate in a reverse sting or fictitious stash-house robbery. . (2) Controlled Substances Act Section 401(b)(1) of the Controlled Substances Act ( 21 U.S.C. 841(b)(1) ) is amended by adding at the end the following: (F) In the case of a person who conspires to commit an offense under this title, the type and quantity of the controlled or counterfeit substance for the offense that was the object of the conspiracy shall be the type and quantity involved in— (i) the defendant’s own unlawful acts; and (ii) any unlawful act of a co-conspirator that— (I) the defendant agreed to jointly undertake