SAN FRANCISCO (AP) -- California's attorney general has filed a lawsuit against debt rating agency Standard & Poor's, claiming it inflated its ratings of certain investments, costing the state's public pension funds and other investors billions of dollars.