Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
9218c22
[DEV PLAN] Update POC Plan (#242)
Sevhena Nov 11, 2024
4c2afdb
Merge branch 'main' into docs
Sevhena Nov 11, 2024
5d50ebf
Added #307: MIS of Long Element Chain (#309)
Ayushi1972 Jan 16, 2025
b74aefb
[DESIGN] Added MIS and MG for PylintAnalyzer, RepeatedCalls Refactore…
nivethakuruparan Jan 17, 2025
d518d07
[Prob Dev] Rev 1 Changes: Problem Statement & Dev Plan Docs (#526)
Ayushi1972 Mar 24, 2025
c82f584
Merge branch 'docs' of https://github.com/Sevhena/capstone--source-co…
Mar 24, 2025
22670a5
Merge branch 'docs' of https://github.com/Sevhena/capstone--source-co…
Mar 24, 2025
79a8b21
[SRS] Updated SRS Documentation (#532)
Ayushi1972 Mar 24, 2025
9e2dd63
[HA] Updated Hazard Analysis Documentation (#533)
Ayushi1972 Mar 24, 2025
63c4697
Added apendix and intro to usability testing #535
Mar 25, 2025
1b65396
Added apendices, introduction and methodology #535
Mar 25, 2025
95377d6
Added makefile #535
Mar 25, 2025
2dc22bc
changes #353
Mar 25, 2025
e91c33a
added command for macbooks to be inclusive (#535)
Ayushi1972 Mar 25, 2025
43e11db
Merge branch 'usability-testing-extra' of https://github.com/ssm-lab/…
Ayushi1972 Mar 25, 2025
dbc9abd
docs
Mar 25, 2025
34925ee
Merge branch 'usability-testing-extra' of https://github.com/Sevhena/…
Mar 25, 2025
4a4338e
Completed participant feedback for ute (#535)
Ayushi1972 Mar 25, 2025
58b27fb
Merge branch 'usability-testing-extra' of https://github.com/Sevhena/…
Mar 25, 2025
906bd63
yum
Mar 25, 2025
c8a2ba0
Merge branch 'usability-testing-extra' of https://github.com/Sevhena/…
Mar 25, 2025
dba4038
added usability issues from the feedback in utr (#535)
Ayushi1972 Mar 25, 2025
ea760d4
removed unnessecary stuff
Ayushi1972 Mar 25, 2025
20ef602
Added reccomendations for utr (#535)
Ayushi1972 Mar 25, 2025
aed1e62
new
Mar 25, 2025
b784fca
Merge branch 'usability-testing-extra' of https://github.com/Sevhena/…
Mar 25, 2025
9ec29c6
Compiling feedback changes
Mar 25, 2025
8b9be58
Changed some issues to high priority for utr (#535)
Ayushi1972 Mar 25, 2025
dea93bf
Added old ui screenshots to the images folder (#535)
Ayushi1972 Mar 25, 2025
74f2207
Adding things changed from report #353
Mar 25, 2025
781ce9f
Merge branch 'usability-testing-extra' of https://github.com/Sevhena/…
Mar 25, 2025
8fdb619
Added a conclusion (#535)
Ayushi1972 Mar 25, 2025
18ee1c2
updated executive summary for utr (#535)
Ayushi1972 Mar 25, 2025
bf93295
Added ALL changes section #535
Mar 25, 2025
7411642
Merge branch 'usability-testing-extra' of https://github.com/Sevhena/…
Mar 25, 2025
c9ce7bc
pdf
Mar 25, 2025
2d49790
Add makefile
Mar 25, 2025
6addebe
Merge branch 'docs' into usability-testing-extra
mmyaaaaa Mar 25, 2025
df93e82
Merge pull request #538 from ssm-lab/usability-testing-extra
mmyaaaaa Mar 25, 2025
da662d9
[DOCS] Final Team contribution doc (#551)
mmyaaaaa Mar 27, 2025
449a5ef
Merge remote-tracking branch 'origin/main' into docs
Sevhena Mar 27, 2025
8a9928c
[MIS-MG] Updated MIS and MG Documents (#534)
Ayushi1972 Mar 29, 2025
2bfeb3b
[REV 1] Update project Readme files (#556)
tanveer-brar Mar 29, 2025
e9679ae
Merge branch 'main' of https://github.com/ssm-lab/capstone--source-co…
Sevhena Apr 3, 2025
df9e72b
[VNV PLAN] Updated Document with All Feedback and Revisions (#581)
nivethakuruparan Apr 4, 2025
c346b73
[Reflect Trace] Reflect and Trace Document (#572)
Ayushi1972 Apr 5, 2025
23a5d02
[VNV REPORT] Updated Document with All Feedback and Revisions (#583)
tanveer-brar Apr 5, 2025
8e7ae50
[DOCS] FINAL ADJUSTMENTS (#585)
Sevhena Apr 5, 2025
cbbd767
Merge branch 'main' into docs
Sevhena Apr 5, 2025
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
10 changes: 9 additions & 1 deletion .github/workflows/pdf_builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: |
sudo apt-get update
sudo apt-get install texlive-latex-extra texlive-science latexmk
sudo apt-get install texlive-latex-extra texlive-fonts-extra texlive-science latexmk

- name: Create app access token
uses: actions/create-github-app-token@v1
Expand Down Expand Up @@ -76,6 +76,14 @@ jobs:
cd - # Go back to root folder
done
git status

- name: Build All Files
if: ${{ contains(github.event.head_commit.message, '[DOCS] [ALL]') }}
run: |
cd docs
make
cd ..
git status

# Commit the generated PDF and formatted .tex files back to the repository
- name: Commit & Push changes
Expand Down
Binary file removed Final_Team_Contrib.pdf
Binary file not shown.
25 changes: 2 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,9 @@ Date of project start: September 16th 2024
- Provides guidelines and transformations to minimise energy consumption while maintaining code compatibility.
- Adapts to the unique performance and energy model of Python.

3. **Reinforcement Learning for Refactoring Preferences**
- Utilises reinforcement learning to adapt refactoring strategies based on past performance data.
- Continuously improves the refactoring process by learning which transformations lead to the greatest energy savings.
- Continuously improves the refactoring process by learning which transformations lead to most technically sustainable (readable) code.

4. **DevOps GitHub Integration**
- Integrates with GitHub to automatically trigger energy-efficient refactoring as part of the CI/CD pipeline.
- Provides version control, ensuring that refactoring changes can be tracked, tested, and validated before deployment.
- Implements an automated feedback loop that records energy consumption data and feeds it back into the library's reinforcement learning model.
- Automates testing of source code within the DevOps workflow to ensure that behaviour is maintained.

**Nice-to-Have Features:**

1. **Library Plugin**
3. **Library Plugin**
- Offers a plugin extension for popular IDEs and platforms, allowing developers to easily incorporate the refactoring library into their existing workflows.
- Provides real-time suggestions and refactoring options within the development environment, enhancing usability and accessibility.
- Synchronizes plugin with website allowing developers to view measurements taken in a visual manner (i.e. graphs, tables).

2. **Human-in-the-Loop Reinforcement Learning**
- Involves human feedback in the reinforcement learning process to guide the system's refactoring decisions based on developer expertise and preferences.
- Balances automated refactoring with human oversight to ensure that complex refactoring decisions align with the project's goals and constraints.


The folders and files for this project are as follows:

Expand All @@ -52,6 +33,4 @@ refs - Reference material used for the project, including papers

src - Source code

test - Test cases

etc.
test - Test cases
41 changes: 38 additions & 3 deletions docs/Design/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Design Documentation
# Design Documentation Directory

The folders and files for this folder are as follows:
This directory contains the design documentation for the Source Code Optimizer project, detailing both high-level architecture and low-level design specifications.

Describe ...
## Directory Contents

### Files
- `README.md` - Documentation overview

### Directories
- `SoftArchitecture/` - High-level system architecture documentation
- `SoftDetailedDes/` - Low-level detailed design specifications

## Major Components

1. System Architecture
- System Overview
- Component Architecture
- Design Patterns
- System Interfaces

2. Detailed Design
- Module Specifications
- Class Designs
- Data Structures
- Algorithms

## Documentation Guidelines

1. Architecture Documentation
- System-level design decisions
- Component relationships
- Technology choices
- Integration points

2. Detailed Design Documentation
- Module interfaces
- Class hierarchies
- Data flow
- Implementation details
Binary file modified docs/Design/SoftArchitecture/MG.pdf
Binary file not shown.
Loading