Skip to content

Commit 8ca9694

Browse files
chore(docs): Data pipeline for safaa week 7 with week 8 blog
1 parent 34b3920 commit 8ca9694

2 files changed

Lines changed: 85 additions & 0 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: Week 7
3+
author: Abdulsobur Oyewale
4+
tags: [gsoc25, Data Pipeline for Safaa]
5+
---
6+
7+
<!--
8+
SPDX-License-Identifier: CC-BY-SA-4.0
9+
10+
SPDX-FileCopyrightText: 2025 Abdulsobur Oyewale <oyewaleabdulsobur@gmail.com>
11+
-->
12+
13+
# WEEK 7
14+
*(July 16, 2025)*
15+
16+
## Attendees:
17+
- [Ayush Kumar Bhardwaj](https://github.com/hastagAB)
18+
- [Shaheem Azmal M MD](https://github.com/shaheemazmalmmd)
19+
20+
### Engagements
21+
* Last week I got a lot of reviews, comments and corrections on the current scripts I opened a pull request for.
22+
* Therefore what I did mostly this week was making adjustment and adhering to the advice and corrections of the comments i received, while also ensuring code quality.
23+
* Below are the corrections i made;
24+
- Added individual copyright and license information in all the files created by me.
25+
- Made the output path from fetched copyright content configurable via argument.
26+
- Refactored the file name to contain date (DD/MM/YY formats) of the fetched content.
27+
- Re-adjusted initializations to avoid exception errors.
28+
- Add the ability for the contents in the server to be fetched in batches.
29+
- Made fetched content input limit to be configurable through arguments
30+
- Add some checks to sanitize the availability of DB environmental variable.
31+
- Removed the calling of the fetch_copyright_data() unconditionally.
32+
- Introduced a base path for all scripts used in the `pipeline.yml` file
33+
- Combined the preprocess, declutter, and split scripts into a single utility file
34+
35+
36+
## Meeting Discussion:
37+
* I had the opportunity to show my mentors what I did this week, while also taking them through how i went by solving each issues and comments, while still maintaining code quality
38+
39+
## Subsequent Steps
40+
* I will be proceeding with continuing adjustments on other of the comments received and areas that needs improvement
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Week 8
3+
author: Abdulsobur Oyewale
4+
tags: [gsoc25, Data Pipeline for Safaa]
5+
---
6+
7+
<!--
8+
SPDX-License-Identifier: CC-BY-SA-4.0
9+
10+
SPDX-FileCopyrightText: 2025 Abdulsobur Oyewale <oyewaleabdulsobur@gmail.com>
11+
-->
12+
13+
# WEEK 8
14+
*(July 23, 2025)*
15+
16+
## Attendees:
17+
- [Ayush Kumar Bhardwaj](https://github.com/hastagAB)
18+
- [Shaheem Azmal M MD](https://github.com/shaheemazmalmmd)
19+
20+
### Engagements
21+
* This week I started by continuing with the corrections from the reviews and comments I got from the current scripts we have.
22+
* Below are the adjustment I made;
23+
- Updated the pipeline.yml to accept environmental variables for our DB.
24+
- Used workflow secrets to handle injection of .env files into the pipeline.
25+
- Renamed the pipeline flow `safaa-model-retraining` to showcase its functionalities
26+
- Removed artifacts upload functionality since we aren't passing the artifacts among workflows
27+
28+
* Also, this week I created a new branch named `testing` on my own end to test out changes we have made so far.
29+
- The first testing required manual testing of the pipeline through GitHub actions manual triggering
30+
- The second testing was automated by adding the `on: push: branches: [testing]` for `testing` branch, thereby triggering on github action anytime the branch gets an update
31+
32+
* Lastly since we are trying to find a better ways to install our dependencies, I introduced the use of shell script in our pipeline instead of a `requirements.txt` file
33+
34+
35+
## Meeting Discussion:
36+
* This week, i discussed with my mentors on what i have done so far regarding the corrections on comments. I was told to made some little improvements like;
37+
- Direct installation of dependencies in the pipeline script.
38+
- Removal of requirements.txt or shell scripts installations.
39+
- Splitting of each processing into different commands using argument flags, thereby enabling us to understand steps in process.
40+
- I was also tasked to introduce some global variable to some repetitive paths.
41+
42+
* And lastly i was also told to introduce a pickle file into the system using the available data in the current safaa repository.
43+
44+
## Subsequent Steps
45+
* I will proceed to making adjust and integrating new task while continuing on the work towards achieving the pipeline goals.

0 commit comments

Comments
 (0)