{"id":1517,"date":"2025-12-08T08:02:45","date_gmt":"2025-12-08T07:02:45","guid":{"rendered":"https:\/\/control-advent.com\/?p=1517"},"modified":"2025-12-08T08:02:46","modified_gmt":"2025-12-08T07:02:46","slug":"08-will-the-elf-by-elf-sweetness-regulation-work-as-planned","status":"publish","type":"post","link":"https:\/\/control-advent.com\/?p=1517","title":{"rendered":"08 &#8211; Will  the Elf-by-Elf sweetness regulation work as planned?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Santa wants to upgrade his legendary Christmas Hot Cocoa Boiler so it can keep up when he changes his mind \u2014 which he often does \u2014 about how sweet the cocoa should be.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To help him, the elves designed a clever new system where sweetness no longer changes in a poof of magic, but slowly drifts up or down thanks to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A set of <strong>chocolate-brown<\/strong> levers &#8211; pulling one will make sweetness creep upward by 1 unit per minute;<br><\/li>\n\n\n\n<li>A set of <strong>snow-white<\/strong> levers &#8211; pulling one will make sweetness drift downward by 1 unit per minute.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In the proposed system, pulling two identical levers will make sweetness change twice as fast (i.e., 2 units per minute). If instead at any moment a brown-lever elf and a white-lever elf are both pulling, their actions <strong>cancel<\/strong>, and both elves step aside to go drinking a ginger ale.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And when &amp; how shall an elf decide to do something? The proposal is that every minute, a new elf arrives and decides what to do based on the average sweetness of the previous minute:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If the cocoa was <strong>too bland<\/strong>, the elf pulls one chocolate-brown lever.<\/li>\n\n\n\n<li>If it was <strong>too sweet<\/strong>, the elf pulls one snow-white lever.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Santa is happy, but you are worried that this strategy may hide a serious problem, especially when Santa suddenly asks for a sweeter cocoa. <strong>Which one?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">a. \ud83c\udf6b\ud83d\ude80\ud83e\uddca <em>Watch out!<\/em><em><br><\/em>If Santa asks for a sweeter cocoa, the system could run away and push sweetness all the way to its maximum \u2014 and get stuck there forever!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">b. \u2615\ud83c\udfa2\ud83d\udcc8 <em>Watch out!<\/em><em><br><\/em>If Santa asks for a sweeter cocoa, the sweetness may shoot too high at first and overshoot the new level before settling.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">c. \ud83e\udddd\u200d\u2642\ufe0f\ud83d\udd25\u2699\ufe0f <em>Watch out!<\/em><em><br><\/em>If Santa asks for a sweeter cocoa right when a new elf arrives, the poor machine might panic, overheat, and jingle itself to pieces!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">d. \u2744\ufe0f\u23f3\u2615 <em>Watch out!<\/em><em><br><\/em>If Santa asks for a sweeter cocoa, sweetness might briefly drift downward first \u2014 because a white-lever elf might react before any brown-lever elf jumps in.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">e. \ud83e\udddd\ud83c\udfa7\u2744\ufe0f Watch out!<strong><br><\/strong>Tiny random fluctuations in sweetness levels when the elf arrives might confuse the arriving elves, making them pull the wrong lever again and again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">f. \ud83c\udf85\ud83c\udf6a\ud83e\udd2a Watch out!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If Santa tastes too many test samples, he might lose his sense of sweetness entirely and give the elves completely contradictory commands!<\/p>\n\n\n<div class=\"yop-poll-container\" data-yop-poll-id=\"45\"><script type=\"application\/json\" data-yop-poll-init>{\"poll\":{\"id\":\"45\",\"name\":\"08-Dec-2025\",\"template\":\"3\",\"template_base\":\"classic\",\"skin_base\":\"red-v1\",\"status\":\"published\",\"meta_data\":{\"style\":{\"poll\":{\"backgroundColor\":\"#b70004\",\"borderSize\":0,\"borderStyle\":\"none\",\"borderColor\":\"#b70004\",\"borderRadius\":0,\"paddingLeftRight\":10,\"paddingTopBottom\":10},\"questions\":{\"paddingLeftRight\":0,\"paddingTopBottom\":10,\"textColor\":\"#ffffff\",\"textSize\":14,\"textWeight\":\"normal\",\"textAlign\":\"center\"},\"answers\":{\"paddingLeftRight\":0,\"paddingTopBottom\":0,\"textColor\":\"#ffffff\",\"textSize\":14,\"textWeight\":\"normal\",\"skin\":\"minimal\",\"colorScheme\":\"black\"},\"buttons\":{\"backgroundColor\":\"#ffffff\",\"borderSize\":1,\"borderStyle\":\"solid\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"paddingLeftRight\":10,\"paddingTopBottom\":5,\"textColor\":\"#000000\",\"textSize\":14,\"textWeight\":\"normal\",\"align\":\"center\"},\"errors\":{\"borderLeftColorForSuccess\":\"#008000\",\"borderLeftColorForError\":\"#ff0000\",\"borderLeftSize\":10,\"paddingTopBottom\":0,\"textColor\":\"#000000\",\"textSize\":14,\"textWeight\":\"normal\"},\"captcha\":[],\"custom\":{\"css\":\"\"}},\"options\":{\"poll\":{\"voteButtonLabel\":\"&gt;&gt;&gt;\",\"showResultsLink\":\"no\",\"resultsLabelText\":\"Results\",\"showTotalVotes\":\"no\",\"showTotalAnswers\":\"no\",\"startDateOption\":\"now\",\"startDateCustom\":\"\",\"endDateOption\":\"never\",\"endDateCustom\":\"\",\"redirectAfterVote\":\"no\",\"redirectUrl\":\"\",\"redirectAfter\":\"\",\"pageLink\":\"\",\"useCaptcha\":\"no\",\"enableGdpr\":\"no\",\"gdprSolution\":\"ask_consent\",\"gdprConsentText\":\"\",\"loadWithAjax\":\"no\",\"notificationMessageLocation\":\"top\"},\"results\":{\"showResultsMoment\":[\"never\"],\"customDateResults\":\"\",\"showResultsTo\":[],\"resultsDetails\":[\"percentages\"],\"backToVoteOption\":\"no\",\"backToVoteCaption\":\"Back to vote\",\"sortResults\":\"as-defined\",\"sortResultsRule\":\"asc\",\"displayResultsAs\":\"bar\"},\"access\":{\"votePermissions\":[\"wordpress\"]}}}},\"elements\":[{\"id\":\"45\",\"poll_id\":\"45\",\"etext\":\"Choose an option:\",\"etype\":\"question-text\",\"status\":\"active\",\"sorder\":\"1\",\"meta_data\":{\"allowOtherAnswers\":\"no\",\"otherAnswersLabel\":\"Other\",\"addOtherAnswers\":\"no\",\"displayOtherAnswersInResults\":\"no\",\"resultsColorForOtherAnswers\":\"#000000\",\"allowMultipleAnswers\":\"no\",\"multipleAnswersMinim\":\"1\",\"multipleAnswersMaxim\":\"1\",\"answersDisplay\":\"horizontal\",\"answersColumns\":\"\",\"answersSort\":\"as-defined\"},\"subelements\":[{\"id\":\"381\",\"poll_id\":\"45\",\"element_id\":\"45\",\"stext\":\"a\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"1\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"382\",\"poll_id\":\"45\",\"element_id\":\"45\",\"stext\":\"b\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"2\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"383\",\"poll_id\":\"45\",\"element_id\":\"45\",\"stext\":\"c\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"3\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"387\",\"poll_id\":\"45\",\"element_id\":\"45\",\"stext\":\"d\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"4\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"388\",\"poll_id\":\"45\",\"element_id\":\"45\",\"stext\":\"e\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"5\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}},{\"id\":\"390\",\"poll_id\":\"45\",\"element_id\":\"45\",\"stext\":\"f\",\"stype\":\"text\",\"status\":\"active\",\"sorder\":\"6\",\"meta_data\":{\"makeDefault\":\"0\",\"makeLink\":\"0\",\"link\":\"\",\"resultsColor\":\"#000000\"}}]}],\"messages\":{\"captcha\":{\"accessibility-alt\":\"Sound icon\",\"accessibility-title\":\"Accessibility option: listen to a question and answer it!\",\"accessibility-description\":\"Type below the [STRONG]answer[\\\/STRONG] to what you hear. Numbers or words:\",\"explanation\":\"Click or touch the [STRONG]ANSWER[\\\/STRONG]\",\"refresh-alt\":\"Refresh\\\/reload icon\",\"refresh-title\":\"Refresh\\\/reload: get new images and accessibility option!\"},\"buttons\":{\"anonymous\":\"Anonymous Vote\",\"wordpress\":\"Sign in with WordPress\",\"facebook\":\"Sign in with Facebook\",\"google\":\"Sign in with Google\"},\"voting\":{\"poll-ended\":\"This poll is no longer accepting votes\",\"poll-not-started\":\"This poll is not accepting votes yet\",\"already-voted-on-poll\":\"Thank you for your vote\",\"invalid-poll\":\"Invalid Poll\",\"no-answers-selected\":\"No answer selected\",\"min-answers-required\":\"At least {min_answers_allowed} answer(s) required\",\"max-answers-required\":\"A max of {max_answers_allowed} answer(s) accepted\",\"no-answer-for-other\":\"No other answer entered\",\"no-value-for-custom-field\":\"{custom_field_name} is required\",\"consent-not-checked\":\"You must agree to our terms and conditions\",\"no-captcha-selected\":\"Captcha is required\",\"not-allowed-by-ban\":\"Vote not allowed\",\"not-allowed-by-block\":\"Vote not allowed\",\"not-allowed-by-limit\":\"Vote not allowed\",\"thank-you\":\"Thank you for your vote\",\"too-many-chars-for-custom-field\":\"Text for {custom_field_name} is too long\"},\"results\":{\"single-vote\":\"vote\",\"multiple-votes\":\"votes\",\"single-answer\":\"answer\",\"multiple-answers\":\"answers\"}},\"date_format\":\"F j, Y\",\"nonce\":\"d411b7d450\",\"page_id\":0,\"tracking_id\":\"https:\\\/\\\/control-advent.com\"}<\/script><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Related control topic: integral control<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Santa wants to upgrade his legendary Christmas Hot Cocoa Boiler so it can keep up when he changes his mind \u2014 which he often does \u2014 about how sweet the cocoa should be. To help him, the elves designed a &hellip; <span class=\"more-link\"><a href=\"https:\/\/control-advent.com\/?p=1517\" class=\"readmore\">Continue reading<span class=\"screen-reader-text\">08 &#8211; Will  the Elf-by-Elf sweetness regulation work as planned?<\/span><\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":1519,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[111],"class_list":["post-1517","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-english","tag-2025-en"],"_links":{"self":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/1517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1517"}],"version-history":[{"count":1,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/1517\/revisions"}],"predecessor-version":[{"id":1518,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/posts\/1517\/revisions\/1518"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=\/wp\/v2\/media\/1519"}],"wp:attachment":[{"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/control-advent.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}