Skip to content

Commit e57f544

Browse files
committed
changes on script
1 parent d3085de commit e57f544

File tree

7 files changed

+147
-293
lines changed

7 files changed

+147
-293
lines changed

.github/workflows/refresh-data.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v3
1515

16-
- name: Set up Node.js
17-
uses: actions/setup-node@v3
16+
- name: Set up Python
17+
uses: actions/setup-python@v4
1818
with:
19-
node-version: '18'
19+
python-version: '3.x'
2020

2121
- name: Install dependencies
22-
run: npm ci
22+
run: pip install requests
2323

2424
- name: Update projects.json
2525
env:
2626
GH_TOKEN: ${{ secrets.GH_TOKEN }}
27-
run: node scripts/fetch-github-data.js
27+
run: python scripts/update_projects.py
2828

2929
- name: Commit and push changes if needed
3030
run: |

public/projects.json

Lines changed: 17 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -10,49 +10,36 @@
1010
{
1111
"name": "flatland-rl",
1212
"url": "https://github.com/AI4REALNET/flatland-rl",
13-
"description": "The Flatland Framework is a multi-purpose environment to tackle problems around resilient resource allocation under uncertainty. It is designed to be a flexible and method agnostic to solve a wide range of problems in the field of operations research and reinforcement learning.",
1413
"stars": 0,
15-
"forks": 0,
1614
"is_fork": true,
1715
"topics": [
1816
"flatland"
19-
],
20-
"language": "Jupyter Notebook",
21-
"updated_at": "2025-05-07T14:57:52Z"
17+
]
2218
},
2319
{
2420
"name": "flatland-book",
2521
"url": "https://github.com/AI4REALNET/flatland-book",
26-
"description": "This repository is an aggregation of all the documentation, exploratory research, baselines, un-explored ideas, future research directions for the Flatland-RL (https://github.com/flatland-association/flatland-rl) project.",
2722
"stars": 0,
28-
"forks": 0,
2923
"is_fork": true,
3024
"topics": [
3125
"flatland"
32-
],
33-
"language": "Jupyter Notebook",
34-
"updated_at": "2025-05-07T14:57:03Z"
26+
]
3527
},
3628
{
3729
"name": "flatland-scenarios",
3830
"url": "https://github.com/AI4REALNET/flatland-scenarios",
39-
"description": "Flatland scenarios",
4031
"stars": 0,
41-
"forks": 0,
4232
"is_fork": true,
4333
"topics": [
4434
"flatland"
45-
],
46-
"language": "Jupyter Notebook",
47-
"updated_at": "2025-05-07T14:57:43Z"
35+
]
4836
}
4937
],
5038
"total_stars": 0,
5139
"total_repositories": 3,
5240
"project_tags": [
5341
"flatland"
54-
],
55-
"last_updated": "2025-05-20T14:07:41.863Z"
42+
]
5643
},
5744
{
5845
"project_name": "Grid2Op",
@@ -65,49 +52,36 @@
6552
{
6653
"name": "pypowsybl2grid",
6754
"url": "https://github.com/AI4REALNET/pypowsybl2grid",
68-
"description": "An integration between Grid2op and PyPowSybl",
6955
"stars": 0,
70-
"forks": 0,
7156
"is_fork": true,
7257
"topics": [
7358
"grid2op"
74-
],
75-
"language": null,
76-
"updated_at": "2025-05-20T10:00:33Z"
59+
]
7760
},
7861
{
7962
"name": "grid2op",
8063
"url": "https://github.com/AI4REALNET/grid2op",
81-
"description": "Grid2Op a testbed platform to model sequential decision making in power systems.",
8264
"stars": 0,
83-
"forks": 0,
8465
"is_fork": true,
8566
"topics": [
8667
"grid2op"
87-
],
88-
"language": null,
89-
"updated_at": "2025-05-20T10:00:22Z"
68+
]
9069
},
9170
{
9271
"name": "grid2op-scenario",
9372
"url": "https://github.com/AI4REALNET/grid2op-scenario",
94-
"description": null,
9573
"stars": 0,
96-
"forks": 1,
9774
"is_fork": false,
9875
"topics": [
9976
"grid2op"
100-
],
101-
"language": "Python",
102-
"updated_at": "2025-05-20T09:59:58Z"
77+
]
10378
}
10479
],
10580
"total_stars": 0,
10681
"total_repositories": 3,
10782
"project_tags": [
10883
"grid2op"
109-
],
110-
"last_updated": "2025-05-20T14:07:49.439Z"
84+
]
11185
},
11286
{
11387
"project_name": "BlueSky",
@@ -118,38 +92,29 @@
11892
"project_website": "https://ai.inesctec.pt",
11993
"top_repositories": [
12094
{
121-
"name": "bluesky-gym",
122-
"url": "https://github.com/AI4REALNET/bluesky-gym",
123-
"description": "A gymnasium style environment for standardized Reinforcement Learning research in Air Traffic Management. Built on the BlueSky Air Traffic Simulator ",
95+
"name": "bluesky",
96+
"url": "https://github.com/AI4REALNET/bluesky",
12497
"stars": 0,
125-
"forks": 0,
12698
"is_fork": true,
12799
"topics": [
128100
"bluesky"
129-
],
130-
"language": "Python",
131-
"updated_at": "2025-05-20T10:00:51Z"
101+
]
132102
},
133103
{
134-
"name": "bluesky",
135-
"url": "https://github.com/AI4REALNET/bluesky",
136-
"description": "The open source air traffic simulator",
104+
"name": "bluesky-gym",
105+
"url": "https://github.com/AI4REALNET/bluesky-gym",
137106
"stars": 0,
138-
"forks": 0,
139107
"is_fork": true,
140108
"topics": [
141109
"bluesky"
142-
],
143-
"language": "Python",
144-
"updated_at": "2025-05-20T10:01:01Z"
110+
]
145111
}
146112
],
147113
"total_stars": 0,
148114
"total_repositories": 2,
149115
"project_tags": [
150116
"bluesky"
151-
],
152-
"last_updated": "2025-05-20T14:07:56.812Z"
117+
]
153118
},
154119
{
155120
"project_name": "Interactive AI",
@@ -162,22 +127,17 @@
162127
{
163128
"name": "InteractiveAI",
164129
"url": "https://github.com/AI4REALNET/InteractiveAI",
165-
"description": "Interactive AI Assistant Platform for Real-time Operations",
166130
"stars": 0,
167-
"forks": 2,
168131
"is_fork": true,
169132
"topics": [
170133
"interactive-ai"
171-
],
172-
"language": "Python",
173-
"updated_at": "2025-05-20T10:01:13Z"
134+
]
174135
}
175136
],
176137
"total_stars": 0,
177138
"total_repositories": 1,
178139
"project_tags": [
179140
"interactive-ai"
180-
],
181-
"last_updated": "2025-05-20T14:08:04.191Z"
141+
]
182142
}
183143
]

public/projects_input.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[
2+
{
3+
"project_name": "Flatland",
4+
"project_topic": "flatland",
5+
"project_area": "Energy",
6+
"project_description": "Advanced energy management systems for smart grids and renewable energy integration.",
7+
"project_url": "https://example.com/energy-management",
8+
"project_website": "https://energy.inesctec.pt"
9+
},
10+
{
11+
"project_name": "Grid2Op",
12+
"project_topic": "grid2op",
13+
"project_area": "Artificial Intelligence",
14+
"project_description": "Cutting-edge machine learning research and applications for industrial use cases.",
15+
"project_url": "https://example.com/ml-research",
16+
"project_website": "https://ai.inesctec.pt"
17+
},
18+
{
19+
"project_name": "BlueSky",
20+
"project_topic": "bluesky",
21+
"project_area": "Internet of Things",
22+
"project_description": "Advanced sensor networks for IoT applications and smart environments.",
23+
"project_url": "https://example.com/iot-sensors",
24+
"project_website": "https://ai.inesctec.pt"
25+
},
26+
{
27+
"project_name": "Interactive AI",
28+
"project_topic": "interactive-ai",
29+
"project_area": "Robotics",
30+
"project_description": "Research on autonomous robotic systems for industry and healthcare.",
31+
"project_url": "https://example.com/robotics",
32+
"project_website": "https://robotics.inesctec.pt"
33+
}
34+
]

0 commit comments

Comments
 (0)