Skip to content

Commit 67507c9

Browse files
committed
test mkdocs deploy without build
1 parent 45f803a commit 67507c9

16 files changed

+1467
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- main
6+
permissions:
7+
contents: write
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Configure Git Credentials
14+
run: |
15+
git config user.name github-actions[bot]
16+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: 3.x
20+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
21+
- uses: actions/cache@v4
22+
with:
23+
key: mkdocs-material-${{ env.cache_id }}
24+
path: .cache
25+
restore-keys: |
26+
mkdocs-material-
27+
- run: pip install mkdocs-material
28+
- run: pip install mkdocs-static-i18n
29+
- run: mkdocs gh-deploy --force

docs/about.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# About us
2+
3+
![xlab大图](images/xlab大图.png)
4+
5+
## What we are
6+
X-Lab is a combination of two leading and pioneering laboratories from computer science and data science and engineering respectively in Tongji University (同济大学) and East China Normal University (华东师范大学).The lab is supported by a number of core members, including doctorial supervisors, Ph.D students, master students and undergraduate students.
7+
8+
## What we interesting
9+
X-Lab is an intercross multi-discipline, cutting-edge research lab which focuses on the following research domains: Cloud Computing, Big Data, Data Intelligence, and Education Science & Technology.
10+
11+
## What we hope
12+
With regard to the lab culture, we keep all along holding the several opinions below:
13+
14+
- Advocating lofty academic feelings and technical feelings!
15+
- Encourage highly respected, open and innovative geek culture!
16+
- Rejecting the “sophisticated egoism”!
17+
- Adhering to the “open”, “equal”, ”positive”, ”mutual respect”, “mutual support” culture!
18+
- Stay hungry, stay foolish
19+
- Your attention to our lab would be highly appreciated. It’s not only our pursuit but also our faith endeavoring to build a harmonious team with a strong sense of belonging: mentors and students like one family!
20+
21+
## Looking
22+
<font color=red> We are always looking for highly-motivated students to work with us on the exciting area of computer science. If you are interested, please contact us by email. </font>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
<meta name="referrer" content="no-referrer"/>
2+
# Using knowledge units of programming languages to_recommend reviewers for pull requests_ an empirical study
3+
4+
## 摘要
5+
为给定的代码更改(本文指pr)寻找合适的代码审查者。使用的基本工具叫 **KU**(knowledge unit)。设计了一个推荐系统 **KUREC** 。其中,文章根据检测到的 KU 生成开发人员的的专业知识档案。同时,文章将 KUREC 与其他七个基准推荐器做了比较。效果与第一梯队的 RF 并列第一且 KUREC 的推荐更加稳定,因为其四分位距更小,所以可能更加值得信赖。
6+
文章还设计了组合推荐器,得出结论是组合推荐器优于包括 KUREC 在内的所有单一推荐器。目前比较好的组合方式是与 AD_HYBRID 相结合的推荐器。文章提出期望:
7+
8+
- 未来可以将 KU-based 推荐器作为基准。
9+
- 未来可以研究与 KU 相结合的组合推荐器。
10+
## 结论
11+
12+
基本是对摘要的复述和一些对未来研究的展望
13+
14+
## KU
15+
16+
KU 定义:文章将 KU 定义为特定编程语言的一个或多个构件所提供的一整套关键能力。
17+
KU 数据来源: 10个 github 上积极维护的 java 项目, 包括 29000 条 commits 和 65000 条pr。
18+
KU 定义的基本原理中要避免KU与上下文的过度关联
19+
在具体的 KU 定义过程中,使用 Oracle 的 java 考试作为 KU 但是会排除一些子主题,例如解释概念的主题和不能被自动提取的主题等等。
20+
**KU 包括一系列,有如下,即一些列特定类型功能的代码块**
21+
![909e3fabef2c17a74452b4011c5dd17c_5_Table_1_614574616.png](https://cdn.nlark.com/yuque/0/2024/png/39023202/1712030565364-46e72608-7fe6-4a31-b833-81f2d1aa19cd.png#averageHue=%23ededed&clientId=u0bf7242b-61f3-4&from=drop&height=1566&id=u929e89ef&originHeight=1566&originWidth=1041&originalType=binary&ratio=2&rotation=0&showTitle=false&size=260762&status=done&style=none&taskId=uf25209b9-245d-4746-8ad0-ad117c168d5&title=&width=1041)
22+
23+
## 如何发现KU
24+
25+
如何分析的 Java 源代码是通过 Eclipse 的 JDT 框架进行分析,它会给出源码的抽象语法树 (AST)并且提供这个树的每个元素,包括名称、类型和表达式等等。
26+
通过这个框架以及事先定义的 KU ,文章为每个文件的 KU 进行计数,用一个向量存储,包括每个 KU 的计数。
27+
28+
## 数据收集过程
29+
30+
收集目的项目的 commit 和 pr 。首先项目是积极维护的,标签要求 java 。 star 不少于 100. 过去一年有提交,之后进行降序排序。这个步骤需要下载目标项目的提交历史,中间使用 PyDriller 分析这个历史数据,从而获得诸如提交信息、id、作者姓名和日期等信息。
31+
这里【3】中说的用 KU 表示开发人员专业知识我的理解是,针对某个开发者提交的commit,分析其改动部分的 KU ,通过这改动部分的 KU 对开发人员进行表示。具体如何通过 KU 表示开发者在下一节
32+
![909e3fabef2c17a74452b4011c5dd17c_9_Figure_2_-1337592130.png](https://cdn.nlark.com/yuque/0/2024/png/39023202/1712032549578-466933d3-6ed6-427a-9a84-ee03f8f98835.png#averageHue=%23e6e6e6&clientId=u0bf7242b-61f3-4&from=drop&height=1026&id=u75b8e219&originHeight=1026&originWidth=1032&originalType=binary&ratio=2&rotation=0&showTitle=false&size=111365&status=done&style=none&taskId=ua0931c25-b543-4fd7-941b-3617fe942c6&title=&width=1032)
33+
![image.png](https://cdn.nlark.com/yuque/0/2024/png/39023202/1712035303556-2e52c112-4090-4c9e-adea-85ca75d51627.png#averageHue=%23e9e8e8&clientId=u0bf7242b-61f3-4&from=paste&height=301&id=u31a07447&originHeight=602&originWidth=2026&originalType=binary&ratio=2&rotation=0&showTitle=false&size=113786&status=done&style=none&taskId=u87808efa-59d5-4444-bd3e-ea9e072dabb&title=&width=1013)
34+
35+
## 如何通过 KU 定义开发者专业档案(对开发者进行表示)
36+
37+
1. 通过每个 commit 中改动的部分挖掘 KU ,并于开发者联系起来。
38+
2. 对开发者进行表示的时候不是针对部分 commit ,而是整个 java 文件的 commit 与 pr
39+
3. 通过 KU 表示开发者的方法是用一个 28 位的 KU 向量表示。每个位置对应一个 KU 。为进行标准化。每个 KU 对应一个比例值,每个比例值的计算方式为该开发者该类型的 KU 总数 除以 所有开发者的该类型的所有 KU 数。得到一个 28 维向量,每个值是一个比例。 这个向量叫Pku (D)
40+
41+
![image.png](https://cdn.nlark.com/yuque/0/2024/png/39023202/1712035629750-31f06f9d-54b2-462e-a071-975aec5dffde.png#averageHue=%23eeeeed&clientId=u0bf7242b-61f3-4&from=paste&height=448&id=u4643641f&originHeight=896&originWidth=1972&originalType=binary&ratio=2&rotation=0&showTitle=false&size=179699&status=done&style=none&taskId=u40f25754-91aa-4360-891f-963b36c4df5&title=&width=986)
42+
43+
## 如何证明基于 KU 分组的开发者档案对代码审查者推荐有帮助
44+
45+
1. 先 PCA 降维,运用K-means聚类算法进行聚类
46+
2. 因为 k-means 的聚类集群是人工设定的参数,所以文章从 2-100 进行试验,并用轮廓系数的中位数进行比较。(为什么用中位数而不是传统的平均数是因为中位数对异常值的表现更加稳健,例如只有少数糟糕聚类对象的聚类应该被认为是一个整体良好的聚类)在产生的中位数轮廓为0.90中选择最大的 K 但不最大化 K 。
47+
3. 结果有:基于 KU 的分类可以将开发者分为 71 个不同的类型,表面该方法具有良好的分类能力。这里区分不同类型的聚类还用到了**基尼系数**作为区分的手段。其中,这样的聚类方法中有57%的比例是单例集群,即集群中只有一个人。表面开发人员具有独特的 KU 配置。
48+
4. 在文章示例中的观察结果是基尼系数为0.96 即存在一个包含大多数人的集体。
49+
5. 文章通过条形图表面不同聚类的开发者在与不同 KU 的关联程度,从图表结果可以看到不同聚类关联的 KU 显著不同。
50+
6. 文章的工作分析了具有良好经验的开发者,其定义为在某方面 KU 高于整个数据集的中值 KU(数值上的体现是概率值的比较)。
51+
52+
## KUREC的原理
53+
54+
### 评估方法中的关键假设
55+
56+
对于任何一个给定的Pull Request(PR),其代码审查者最有可能是那些在该PR更改文件中涉及的知识单元(KUs)方面的专家。换言之,如果一个审查者对PR中修改的代码所使用的特定编程语言特性或功能有深入了解和实践经验,那么他/她就被视为最适合对此PR进行审查的人选。
57+
58+
### 构建方式
59+
60+
基于历史的 pr 数据,训练测试 82开。这里提到了一些之前的研究也是采用基于历史的数据。也许以后可以用。
61+
62+
### 推荐方式
63+
64+
基于开发者的专业配置文件和审查配置文件给出分数,根据分数降序排序进行推荐,推荐完成后更新配置文件。(如何更新?)专业配置文件是基于 commit。审查配置文件基于 pr。
65+
专业分数的计算同时考虑开发者最近是否有参与 这个 commit 或 pr 相关的 KU 的工作,也就是新鲜度。
66+
**推荐器准确度的计算方式在论文23页**
67+
68+
## 相关工作可以以后阅读的内容
69+
70+
1. 评估推荐准确度的研究
71+
2. 推荐准确性和审查工作负载分布之间的平衡
72+
3. **开发人员的专业表示**
73+
4. **KU**
74+
75+
## 潜在的问题
76+
77+
1. 没有针对第三方库建立 KU 而是基于原项目
78+
2. 使用 java 考试中的题目帮助建立的 KU 可能涵盖的知识是有限的
79+
3. 实验得出的开发人员分类最佳数量不一定好
80+
4. 仅针对java项目进行了研究
81+
5. 使用 KU 的结果不一定是泛化(通用)的,可以尝试结合其他指标在不同的主题下进行研究,比如不同的编程语言。
82+
83+
## 本文与开发者技能定义的关联
84+
85+
这应该是我阅读这些文献的目的和意义。
86+
87+
1. 对开发者进行数据化的表示,也就是专业配置文件和审查配置文件,开发者在28个 KU 上的一个 28维向量
88+
2. 如何利用这些配置文件进行专业分数计算,具体的计算方式在论文p20

docs/en/index.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
**<p align="center">{ Hello! X-lab! 👋 }</p>**
2+
3+
<div align=center>
4+
<img src="https://user-images.githubusercontent.com/15010826/165412908-eea08190-01bd-400d-94a7-04a32155b2fc.png" width="550px">
5+
</div>
6+
7+
8+
[![License: CC BY 4.0](https://img.shields.io/badge/License-CC_BY_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)
9+
[![GH Discussions](https://img.shields.io/badge/Xlab-Discussions-green)](https://github.com/orgs/X-lab2017/discussions)
10+
[![Newsletter](https://img.shields.io/badge/Xlab-Newsletter-%2300FFFF)](https://www.getrevue.co/profile/x-lab)
11+
![](https://komarev.com/ghpvc/?username=X-lab2017&color=blue)
12+
13+
### **🚩 About X-lab**
14+
15+
> **X-lab** Positioned as an open community dedicated to open-source research and innovation, it comprises experts, scholars, and engineers from renowned universities, start-ups, and some internet and IT companies worldwide. Focused on the collaborative innovation of the open-source software industry, its members have diverse backgrounds in fields such as computer science, software engineering, data science, business administration, sociology, and economics. They engage in long-term exploration and practice of topics including open-source strategy, open-source metrics, and open-source digital ecosystems. They have already made significant contributions in areas such as establishing open-source governance standards, measuring and analyzing open-source community behavior, automating open-source community processes, and governing and gaining insights from open-source data comprehensively.⛵
16+
17+
> 👋 Welcome to X-lab, the Open Laboratory! Here, we showcase numerous outstanding open-source creative projects under the laboratory's umbrella.。[[**Go for a stroll**](https://github.com/X-lab2017/open-wonderland "开源奇妙世界")]
18+
>
19+
> 📣 The community forum of X-lab Open Laboratory provides a platform for various forms of discussions. You are welcome to join us![[**Go for a chat**](https://github.com/orgs/X-lab2017/discussions "社区论坛")]
20+
>
21+
> 🍀 2024(Spring)Open Source Research Paper Sharing Group Meeting Schedule, Welcome to Join.[[**Go for a listen**](https://github.com/X-lab2017/open-research/tree/main/agenda "开源研究分享")]
22+
>
23+
> 🎊 Overview of Main Activities Schedule at X-lab Open Laboratory.[[**Go for a look**](https://github.com/X-lab2017/open-wonderland/tree/main/agenda "活动分享")]
24+
25+
<div align=center>
26+
<img src="https://user-images.githubusercontent.com/15010826/180943441-5df8114b-c1bf-4803-887b-73455abf18ce.png" width="750px">
27+
</div>
28+
29+
30+
## 🚀 Mission: Making open source and digitalization simpler
31+
32+
33+
> Founded in 2017, the X-lab community is a place to share experiences, develop best practices, and work on common knowledge and tooling to improve open source adoption and digital education.
34+
35+
36+
## 🌟 Value: Technology disseminates civilization, practices in sync with the world, open source illuminates the future.
37+
38+
- Believe in open source, believe in community
39+
- Working in public,open innovation
40+
- Openness, Networking,Equality,Sharing, ONES
41+
42+
## 📝 Community-wide objectives
43+
44+
- Collection and development of open-source ecosystem data
45+
- Creation of tools and platforms for the open-source ecological niche
46+
- Interdisciplinary research-oriented open innovation team
47+
48+
## 👋 Get in touch
49+
50+
- **Email** : [email protected]
51+
- **Address** : 3663 North Zhongshan Road, Putuo District, Shanghai, China
52+
- **Office** : Enter the Computer Building and Go to Office 229 on Floor 2
53+
- **Office Hours** : Monday 10:00 to 13:00, Wednesday 09:00 to 10:00
54+
55+
<div align=center>
56+
<img src="https://user-images.githubusercontent.com/15010826/159158901-924e75ba-52c3-4991-98da-caba38579a9c.png" width="150px">
57+
</div>
58+

docs/en/members.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## Faculty
2+
朱丹丹 Postdoc
3+
李建盛(适兕)Chief Open Source Officer
4+
王伟 Professor
5+
田春岐 Associate Professor
6+
陆雪松 Associate Professor
7+
8+
## PhD
9+
赵生宇
10+
夏小雅
11+
娄泽华
12+
毕枫林
13+
韩凡宇
14+
彭佳恒
15+
16+
## Master
17+
张翔宇
18+
唐烨男
19+
宁志成
20+
张欣然
21+
伍泰炜
22+
吴双
23+
李鸿斌
24+
朱志炜
25+
黄温瑞
26+
王婕
27+
王衍童
28+
游明东
29+
黄帆
30+
赵思嘉
31+
32+
## Alumni
33+
14本:王楚涵 张馨蕊
34+
15本:陈梦凡
35+
15硕:顾逸圣 张敬轩 常进达
36+
16硕:廖正宇 张礼庆 沈旭东 李静
37+
17硕:黄立波 霍文君 邰丽媛
38+
18博:唐骏 徐彦军 万兴
39+
18硕:刘涵 吴佳洁 周添一 吴绍岭 李文 杨尚辉 潘塘 范家宽
40+
19博:陈亮
41+
19硕:陈旭刚 王皓月 林海铭 李苗进 方孝君 刘畅
42+
20硕:史经犇 吕扬才 朱香宁 文杰 李智伟 杨鸣 苗晓变 翁振杰 范语 邹韬 郁毅明 陈悦 顾业鸣 黄超然

0 commit comments

Comments
 (0)