Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
fdb6923
Set up empty pages
DamianDhesi Apr 15, 2024
f207567
Update README.md to see if changes will be made on site
JackWalton1 Apr 15, 2024
5ae5eff
Update _config.yml
JackWalton1 Apr 15, 2024
ad5ff19
Update _config.yml (navbar didnt work)
JackWalton1 Apr 15, 2024
d34a34e
Update home.html (add navbar?)
JackWalton1 Apr 15, 2024
d7fa4bb
Basic info for licensing page
DamianDhesi Apr 15, 2024
91995af
Merge branch 'pages' of https://github.com/CPSECapstone/MicroPolyPage…
DamianDhesi Apr 15, 2024
9d4bbcd
adding includes for navbar
JackWalton1 Apr 15, 2024
961118b
Update nav.html
JackWalton1 Apr 15, 2024
6165b60
Update home.html
JackWalton1 Apr 15, 2024
889d317
Update other.html (add nav bar to these pages?)
JackWalton1 Apr 15, 2024
a1befd8
Update nav.html Should be good. Color probably bad
JackWalton1 Apr 15, 2024
05c5e82
Update nav.html
JackWalton1 Apr 16, 2024
9f9695a
Update home.html force website to update
JackWalton1 Apr 16, 2024
677da38
Update nav.html changing bg color
JackWalton1 Apr 16, 2024
6957234
Update nav.html
JackWalton1 Apr 16, 2024
a1e4fcd
Update nav.html
JackWalton1 Apr 16, 2024
c05fed3
Update nav.html because text color did not update
JackWalton1 Apr 16, 2024
9984b79
Update nav.html wrong element
JackWalton1 Apr 16, 2024
a4fd2d9
Update nav.html testing lots of color edits
JackWalton1 Apr 16, 2024
bd4d38e
Update nav.html
JackWalton1 Apr 16, 2024
b20b267
Filled out home page. Very basic navigation
DamianDhesi Apr 16, 2024
09e804e
Merge branch 'pages' of https://github.com/CPSECapstone/MicroPolyPage…
DamianDhesi Apr 16, 2024
c442e23
Update nav.html
JackWalton1 Apr 16, 2024
fc2cd67
Update other.html commiting to one nav
JackWalton1 Apr 16, 2024
ed8a943
Update home.html moving nav up
JackWalton1 Apr 16, 2024
07ba04c
Update home.html moving navbar above section names
JackWalton1 Apr 16, 2024
19a5760
Update other.html moving navbar up again
JackWalton1 Apr 16, 2024
8a86a8a
Update other.html nav bar didnt move?!
JackWalton1 Apr 16, 2024
496220a
Setup demo and installation pages. Reformatted home page
DamianDhesi Apr 16, 2024
d603650
Merge branch 'pages' of https://github.com/CPSECapstone/MicroPolyPage…
DamianDhesi Apr 16, 2024
b6a2f3b
link fix in installation
DamianDhesi Apr 16, 2024
416c66e
Added further steps to installation
DamianDhesi Apr 16, 2024
011f371
Update installation.md
calistakerins Apr 18, 2024
73da169
Update installation.md
calistakerins Apr 18, 2024
83a1d72
Update installation.md
calistakerins Apr 18, 2024
dda96c7
Update installation.md
calistakerins Apr 18, 2024
d3606a4
Update installation.md
calistakerins Apr 18, 2024
373beae
Update installation.md
calistakerins Apr 18, 2024
d7f8a13
Updated isntallation instructions
DamianDhesi Apr 30, 2024
d23ee26
Updated installation instructions
DamianDhesi May 9, 2024
fa4f07c
Preprocessing done automatically
DamianDhesi May 9, 2024
3877ed7
Update install instructions (.NET SDK, pip, python installs and versi…
JackWalton1 Jun 3, 2024
66bdee2
Update installation.md
JackWalton1 Jun 3, 2024
28951d6
Updated installation instructions as added uninstall instructions
DamianDhesi Jun 5, 2024
7be0236
Updated installion page. Added Uninstall instructions as well
DamianDhesi Jun 5, 2024
457aee2
Update installation.md
JackWalton1 Jun 10, 2024
558c83b
Update index.md
JackWalton1 Jun 10, 2024
fb02a68
Update index.md
JackWalton1 Jun 10, 2024
b26b25c
Update index.md
JackWalton1 Jun 10, 2024
66467b2
Update index.md
JackWalton1 Jun 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# MicroPolyPages
Since the MicroPoly repo is private, we need a separate repo for the Alpha Release
Since the MicroPoly repo is private, we need a separate repo for the Alpha Release. This is that repo.

The site can be accessed at https://cpsecapstone.github.io/MicroPolyPages/
8 changes: 8 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ description: >- # this means to ignore newlines until "baseurl:"
A machine learning based update scheduler for the windows operating system that adapts
to the varying schedules of users to ensure updates are as unintrusive as possible.

# this should add a nav bar? Didnt work.
# header_pages:
# - index.html
# - contact_issue.md
# - demo.md
# - installation.md
# - licensing.md
# - about.md
# Build settings
markdown: kramdown
remote_theme: pages-themes/[email protected]
Expand Down
7 changes: 7 additions & 0 deletions _includes/nav.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<p style="text-align: center; background-color: inherit;">
<a href="{{site.baseurl}}/" style="color: white; font-weight: bold;">Home</a> |
<a href="{{site.baseurl}}/contact_issue_reporting" style="color: white; font-weight: bold;">Contact About Issues</a> |
<a href="{{site.baseurl}}/demo" style="color: white; font-weight: bold;">Demo</a> |
<a href="{{site.baseurl}}/install" style="color: white; font-weight: bold;">Installation</a> |
<a href="{{site.baseurl}}/licensing/" style="color: white; font-weight: bold;">Licensing</a>
</p>
7 changes: 7 additions & 0 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<nav>
<a href="/">Home</a>
<a href="/demo">Demo</a>
<a href="/install">Installation</a>
<a href="/licensing">Licensing</a>
<a href="/contact_issue_reporting">Contact/Issue Reporting</a>
</nav>
4 changes: 2 additions & 2 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
</head>

<body>

<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
{% if site.github.is_project_page %}
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>
{% endif %}
{% include nav.html %}

<h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1>
<h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2>
Expand Down Expand Up @@ -49,4 +49,4 @@ <h2 id="project_tagline">{{ site.description | default: site.github.project_tagl
</footer>
</div>
</body>
</html>
</html>
53 changes: 53 additions & 0 deletions _layouts/other.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">

<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,maximum-scale=2">
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">

{% seo %}
{% include head-custom.html %}
</head>

<body>

<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
{% if site.github.is_project_page %}
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>
{% endif %}

{% include nav.html %}

<h1 id="project_title">{{ page.title | default: site.github.repository_name }}</h1>

{% if site.show_downloads %}
<section id="downloads">
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
</section>
{% endif %}
</header>
</div>

<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
{{ content }}
</section>
</div>

<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
{% if site.github.is_project_page %}
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
{% endif %}
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
</footer>
</div>
</body>
</html>
18 changes: 0 additions & 18 deletions about.md

This file was deleted.

7 changes: 7 additions & 0 deletions contact_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: other
title: Contact/Issue Reporting
permalink: /contact_issue_reporting/
---

<p>Please report any issues found to the following <a href="https://forms.gle/62xmx4EJvupaECBA8">survey</a></p>
7 changes: 7 additions & 0 deletions demo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: other
title: Demo
permalink: /demo/
---

<p>View the demo <a href="https://github.com/CPSECapstone/MicroPoly/issues/35">here</a>. Requires repository access</p>
43 changes: 42 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,45 @@

layout: home
---
<h1>{{ "Hello World!" | downcase }}</h1>
<h2>The Problem:</h2>
* Many Windows background updates can disrupt user activities
* Taking computer resources at inopportune times can be frustrating
* For example:
* Some Operating System updates might affect a user’s game experience, as the update takes some CPU away from the game.
* A sound driver update in the middle of a user’s Zoom call could drastically affect their meeting.

<h2>The Current Solution:</h2>
* Windows Active Hours
* Can tell your computer when you are actively using it (Static period for everyday)
* Informs update orchestrator and schedules update, install, reboot.
* Limitations:
* A user may have an inconsistent schedule
* Students/Teachers use devices more during school year
* Use device more/less on weekends
* Health conditions interfere (Sleeping problems)
* There is a need for scheduler to determine a “good time” to update for each user

<h2>Proposed Solution:</h2>
<h3>Features:</h3>
* Improves update timing by adapting to device use over time using a machine learning model, XGBoost.
* Supports retraining of the ML model
* Utilizes a scheduled task to collect user data (Runs every 5 minutes)
* System Logs
* Device State
* CPU utility
* etc
* Provides an API for the Windows Update Orchestrator to hit the endpoints and determine when to schedule an update, and whether or not right now is a good time to update.
* Tracks the accuracy of the model's performance over time.

<h3>MicroPoly API</h3>
* A RESTful API hosted on the local machine that can be queried to provide a list of good times to install an update, OR to check if the device has the capacity to install the current update now.
* The API references several XGBoost models that uses time series forecasting to predict the device’s resource usage for the next day, and uses heuristics from the thresholds provided in the request to determine “good times”.

<h3>Technical Requirements:</h3>
* The system shall run on machines with a supported version of Windows (10 and 11 as of date) as an executable
* The ML model shall not exceed 150 MB in size
* The ML model shall evaluate in 2 seconds or less
* The system shall support Win32 calls or other standard query calls

<h2>Docs</h2>
* You can find our final presentations from every quarter, final project architectures, and the MicroPoly Technical Specification in the README of the [GitHub Repo](https://github.com/CPSECapstone/MicroPoly). There is also information on recompiling the production executable.
46 changes: 46 additions & 0 deletions installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
layout: other
title: Install
permalink: /install/
---

<h2>{{"1. Download Repository"}}</h2>
<p>Can be found <a href="https://github.com/CPSECapstone/MicroPoly">here</a></p>

<h2>{{"2. Enter the Root Folder of the Project Directory"}}</h2>
* Using Powershell or an IDE of your choice.

<h2>{{"3. Start Data Collection, API server, and ML validation"}}</h2>
<h3>Alpha Release (Development Mode)</h3>
* Run: python mp-build.py
* May need to update/install dotnet and python (refer to part 3.5 then return to part 3)
* Creates and starts the data collection task
* Sets up a local HTTP server to request "good times" to update
* Creates and starts the validation task and associated sub tasks
* Gives very meaningful error messages/logs in case the application does not run as expected.

<h3>Beta Release (Production Mode)</h3>
* Run: start ./production-install.exe
* Creates and starts the data collection task
* Sets up a local HTTP server to request "good times" to update
* Sets up a task to restart the server on login (Server does not persist after a shutdown)
* Creates and starts the validation task and associated sub tasks
* Will ask for administrator priviledges.

<h2>{{"3.5. Install Required Dependencies (If Needed)"}}</h2>
* Run: python --version (Should be Python 3.12+; Else upgrade)
* Run: winget install Microsoft.DotNet.SDK.8
* Run: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \| python get-pip.py

<h2>4. Utilize HTTP Requests to Recieve "Good Times"</h2>
* Refer to <a href="/MicroPolyPages/demo/">the demo</a> for example requests and how to interpret responses

<h2>{{"[OPTIONAL] Uninstall MicroPoly"}}</h2>
* Run: python mp-uninstall.py
* Will remove all created tasks, whether you chose to run the dev or production release.
* Can choose to remove all required python libraries installed at build time
* Can choose to remove all data created at runtime (In out folder)
* On completion, can delete the root folder to fully uninstall

<br>
<p>If any issues are found, report them <a href="/MicroPolyPages/contact_issue_reporting/">here</a></p>
13 changes: 13 additions & 0 deletions licensing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: other
title: Licensing
permalink: /licensing/
---

<h1>EULA</h1>
<p>Refer to the licensing agreement for the relevant operating system</p>
<a href="https://www.microsoft.com/en-us/UseTerms/Retail/Windows/10/UseTerms_Retail_Windows_10_English.htm">Windows 10</a>
<a href="https://www.microsoft.com/en-us/UseTerms/Retail/Windows/11/UseTerms_Retail_Windows_11_English.htm">Windows 11</a>

<h1>Privacy Policy</h1>
<p>Refer to <a href="https://privacy.microsoft.com/en-us/privacystatement">Microsoft's Privacy Policy</a> for more information</p>