def METHOD_NAME():
    from muse.carbon_budget import create_sample
    carbon_price = 0.02
    budget = 420000
    size = 4
    current_emissions = 300000
    expected = np.array([0.02, 0.01933333, 0.01866667, 0.018])
    sample = create_sample(carbon_price, current_emissions, budget, size)
    assert sample == approx(expected)
    current_emissions = 500000
    expected = np.array([0.02, 0.02115623, 0.02231246, 0.02346869])
    sample = create_sample(carbon_price, current_emissions, budget, size)
    assert sample == approx(expected)