Skip to content

Commit e510395

Browse files
SevhenamyaAyushi1972tanveer-brarnivethakuruparan
authored
[DOCS] [ALL] Final Documentation (#580)
Co-authored-by: mya <[email protected]> Co-authored-by: Ayushi Amin <[email protected]> Co-authored-by: tbrar06 <[email protected]> Co-authored-by: Nivetha Kuruparan <[email protected]> Co-authored-by: Ayushi Amin <[email protected]> Co-authored-by: Nivetha Kuruparan <[email protected]> Co-authored-by: Mya <[email protected]> Co-authored-by: Tanveer Brar <[email protected]>
1 parent d7c2982 commit e510395

File tree

42 files changed

+6577
-3529
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+6577
-3529
lines changed

.github/workflows/pdf_builder.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if: steps.cache.outputs.cache-hit != 'true'
3131
run: |
3232
sudo apt-get update
33-
sudo apt-get install texlive-latex-extra texlive-science latexmk
33+
sudo apt-get install texlive-latex-extra texlive-fonts-extra texlive-science latexmk
3434
3535
- name: Create app access token
3636
uses: actions/create-github-app-token@v1
@@ -76,6 +76,14 @@ jobs:
7676
cd - # Go back to root folder
7777
done
7878
git status
79+
80+
- name: Build All Files
81+
if: ${{ contains(github.event.head_commit.message, '[DOCS] [ALL]') }}
82+
run: |
83+
cd docs
84+
make
85+
cd ..
86+
git status
7987
8088
# Commit the generated PDF and formatted .tex files back to the repository
8189
- name: Commit & Push changes

Final_Team_Contrib.pdf

-72 KB
Binary file not shown.

README.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,9 @@ Date of project start: September 16th 2024
2121
- Provides guidelines and transformations to minimise energy consumption while maintaining code compatibility.
2222
- Adapts to the unique performance and energy model of Python.
2323

24-
3. **Reinforcement Learning for Refactoring Preferences**
25-
- Utilises reinforcement learning to adapt refactoring strategies based on past performance data.
26-
- Continuously improves the refactoring process by learning which transformations lead to the greatest energy savings.
27-
- Continuously improves the refactoring process by learning which transformations lead to most technically sustainable (readable) code.
28-
29-
4. **DevOps GitHub Integration**
30-
- Integrates with GitHub to automatically trigger energy-efficient refactoring as part of the CI/CD pipeline.
31-
- Provides version control, ensuring that refactoring changes can be tracked, tested, and validated before deployment.
32-
- Implements an automated feedback loop that records energy consumption data and feeds it back into the library's reinforcement learning model.
33-
- Automates testing of source code within the DevOps workflow to ensure that behaviour is maintained.
34-
35-
**Nice-to-Have Features:**
36-
37-
1. **Library Plugin**
24+
3. **Library Plugin**
3825
- Offers a plugin extension for popular IDEs and platforms, allowing developers to easily incorporate the refactoring library into their existing workflows.
3926
- Provides real-time suggestions and refactoring options within the development environment, enhancing usability and accessibility.
40-
- Synchronizes plugin with website allowing developers to view measurements taken in a visual manner (i.e. graphs, tables).
41-
42-
2. **Human-in-the-Loop Reinforcement Learning**
43-
- Involves human feedback in the reinforcement learning process to guide the system's refactoring decisions based on developer expertise and preferences.
44-
- Balances automated refactoring with human oversight to ensure that complex refactoring decisions align with the project's goals and constraints.
45-
4627

4728
The folders and files for this project are as follows:
4829

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

5334
src - Source code
5435

55-
test - Test cases
56-
57-
etc.
36+
test - Test cases

docs/Design/README.md

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
1-
# Design Documentation
1+
# Design Documentation Directory
22

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

5-
Describe ...
5+
## Directory Contents
6+
7+
### Files
8+
- `README.md` - Documentation overview
9+
10+
### Directories
11+
- `SoftArchitecture/` - High-level system architecture documentation
12+
- `SoftDetailedDes/` - Low-level detailed design specifications
13+
14+
## Major Components
15+
16+
1. System Architecture
17+
- System Overview
18+
- Component Architecture
19+
- Design Patterns
20+
- System Interfaces
21+
22+
2. Detailed Design
23+
- Module Specifications
24+
- Class Designs
25+
- Data Structures
26+
- Algorithms
27+
28+
## Documentation Guidelines
29+
30+
1. Architecture Documentation
31+
- System-level design decisions
32+
- Component relationships
33+
- Technology choices
34+
- Integration points
35+
36+
2. Detailed Design Documentation
37+
- Module interfaces
38+
- Class hierarchies
39+
- Data flow
40+
- Implementation details
104 KB
Binary file not shown.

0 commit comments

Comments
 (0)