<table><tr><td style="">TallFurryMan created this revision.<br />TallFurryMan added reviewers: mutlaqja, wreissenberger.<br />TallFurryMan added a project: KDE Edu.<br />TallFurryMan requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15937">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This differential does a few rewrites, removes a few logs from the console and essentially removes the shutdown decision from the evaluation algorithm.</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Avoided multiple evaluations while loading a schedule, introduced a new Scheduler state for this purpose.</li>
<li class="remarkup-list-item">Prevented moving jobs in the list when option "Sort jobs by Altitude and Priority" is enabled, added tips.</li>
<li class="remarkup-list-item">Reduced amount of logs, fix date display, fix some logs.</li>
<li class="remarkup-list-item">Avoided evaluating a repeating job that just completed, shorted to completion.</li>
<li class="remarkup-list-item">Rewrote, clarified and added fixmes and asserts in the final part of evaluation, sequencing jobs (no change).</li>
<li class="remarkup-list-item">Moved decision to shutdown from the evaluation function off to the status check function.</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>Verify this differential brings no change of behavior with the all scheduler test vectors.<br />
Observe the console reduced output as most technical logs were moved to the file journal.<br />
Observe the console as loading a dozen schedule jobs does not result in dozens of evaluations.<br />
Observe move buttons following the state of option "Sort jobs by Altitude and Priority".</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>improve__some_rewrites (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15937">https://phabricator.kde.org/D15937</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/ekos/ekos.h<br />
kstars/ekos/scheduler/scheduler.cpp</div></div></div><br /><div><strong>To: </strong>TallFurryMan, mutlaqja, wreissenberger<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>