# Changing runits interacts poorly with road editor

**URL:** <https://forum.beeminder.com/t/changing-runits-interacts-poorly-with-road-editor/2667>\
**Category:** Bugabee\
**Created:** [November 3, 2016, 12:52pm UTC](https://forum.beeminder.com/t/changing-runits-interacts-poorly-with-road-editor/2667 "2016-11-03T12:52:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenoubi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/kenoubi/32/842_2.png) [@kenoubi](https://forum.beeminder.com/u/kenoubi)\
**Post date:** [November 3, 2016, 12:52pm UTC](https://forum.beeminder.com/t/changing-runits-interacts-poorly-with-road-editor/2667/1 "2016-11-03T12:52:14Z")

</div>

Is runits per row in the road editor? Because that’s not shown, and the “5” and “0.71” in this screenshot aren’t using the same runits.

![](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/a/af33c3f8068b014fa746e2ab0c00d25ec40d3937.png)

Also, changing runits from week to day and then back to week doesn’t result in the same number (5 -\> 0.71 -\> 4.97). I understand floating point rounding but this seems like a really large error, so I think it’s actually rounding to only the 2 displayed digits.

My graph (on [https://www.beeminder.com/kenoubi/earlier](https://www.beeminder.com/kenoubi/earlier)) looks screwy too, but I do still have 5 safe days (I just derailed) so I’m not sure what’s going on there.

EDIT: Also, how is runits _supposed_ to interact with weekends off? With “days” I think it’s pretty obvious (which is why I wanted to change this, since I wasn’t quite sure what “weeks” meant with weekends off). But with “weeks”, is (or should) it be per calendar week (probably more intuitive to users) or implicitly converted to a daily rate by dividing by 7 (simpler implementation and probably more consistent with other runits settings)?

---

<div class="post-metadata">

**Author:** ![grayson](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/grayson/32/1336_2.png) [@grayson](https://forum.beeminder.com/u/grayson)\
**Post date:** [November 3, 2016, 3:13pm UTC](https://forum.beeminder.com/t/changing-runits-interacts-poorly-with-road-editor/2667/2 "2016-11-03T15:13:40Z")

</div>

> [@kenoubi](#):
>
> Is runits per row in the road editor? Because that’s not shown, and the “5” and “0.71” in this screenshot aren’t using the same runits.

This might be related to [the state display refresh issue I’ve mentioned elsewhere](http://forum.beeminder.com/t/odd-road-behavior-upon-commit-to-rate-change-was-odd-weekends-off-behavior-upon-turning-the-feature-on/2643/9). If you hard-refresh the page, do the rates in the “old” rows update to the new runit you specified?

---

<div class="post-metadata">

**Author:** ![kenoubi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/kenoubi/32/842_2.png) [@kenoubi](https://forum.beeminder.com/u/kenoubi)\
**Post date:** [November 3, 2016, 7:41pm UTC](https://forum.beeminder.com/t/changing-runits-interacts-poorly-with-road-editor/2667/3 "2016-11-03T19:41:15Z")

</div>

Oh, you’re totally right. The rows all updated (to a nice fine-grained value, except for the last one which is still rounded to 2 decimal places) when I refreshed.

---

<div class="post-metadata">

**Author:** ![dreev](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dreev/32/4311_2.png) [@dreev](https://forum.beeminder.com/u/dreev)\
**Post date:** [November 8, 2016, 10:47pm UTC](https://forum.beeminder.com/t/changing-runits-interacts-poorly-with-road-editor/2667/4 "2016-11-08T22:47:40Z")

</div>

> [@kenoubi](#):
>
> how is runits supposed to interact with weekends off? With “days” I think it’s pretty obvious (which is why I wanted to change this, since I wasn’t quite sure what “weeks” meant with weekends off). But with “weeks”, is (or should) it be per calendar week (probably more intuitive to users) or implicitly converted to a daily rate by dividing by 7 (simpler implementation and probably more consistent with other runits settings)?

Yeah, it’s the latter and is confusing. Quoting the [blog post](http://blog.beeminder.com/weekends/):

> You may find it helpful to switch your goal over to daily rate units if you’re using this feature. A goal set to 40hrs/week is equivalent to only 5.7 hours per day, so if you have your goal set to 40 hours/week, with weekends scheduled in this way, you only have to complete 28.5 hours each week to stay on track.

We originally had a warning about this in the UI but lost it in the redesign ☹

But probably the right answer is to force you to set runits=daily in order to use weekends-off.

---

<div class="post-metadata">

**Author:** ![kenoubi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/kenoubi/32/842_2.png) [@kenoubi](https://forum.beeminder.com/u/kenoubi)\
**Post date:** [November 9, 2016, 1:09am UTC](https://forum.beeminder.com/t/changing-runits-interacts-poorly-with-road-editor/2667/5 "2016-11-09T01:09:08Z")

</div>

> [@dreev](#):
>
> But probably the right answer is to force you to set runits=daily in order to use weekends-off.

That seems reasonable.
