Oregon lawmakers gave it three years. Portugal’s program took longer to show results.