Skip to content
This repository was archived by the owner on Nov 21, 2021. It is now read-only.

Commit a93236c

Browse files
committed
fix bug(hostby/) & add readme
1 parent 6f5088b commit a93236c

14 files changed

+2139
-2270
lines changed

README.md

+58-2,017
Large diffs are not rendered by default.

README_old.md

+2,056
Large diffs are not rendered by default.

__pycache__/app.cpython-36.pyc

-2.2 KB
Binary file not shown.

_data/_effective_others.yaml

+1-61
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,5 @@
11

22

3-
# - title: LANL Earthquake Prediction
4-
# year: 2019
5-
# id: LANL-Earthquake-Prediction
6-
# link: https://www.kaggle.com/c/LANL-Earthquake-Prediction
7-
# deadline: 2019-05-27 23:59:59
8-
# timezone: Etc/GMT+10
9-
# prize: $50000
10-
# type1: Research
11-
12-
13-
# - title: VSB Power Line Fault Detection
14-
# year: 2019
15-
# id: vsb-power-line-fault-detection
16-
# link: https://www.kaggle.com/c/vsb-power-line-fault-detection
17-
# deadline: 2019-05-14 23:59:59
18-
# timezone: Etc/GMT+10
19-
# prize: $25000
20-
# type1: Featured
21-
22-
23-
24-
# deadtime 日期请严格采用复合 ISO8601 格式的年、月、日、时、分、秒表示。
25-
# (注意!deadtime 内容一定要双引号括起来,强制成 string,不然 pyyaml 读 yaml 会按照本地系统所在的 timezone 读入解析,无限期的就内容为'No deadline')
26-
# (注意!deadtime 的 timezone 信息请另外标明!可选的 timezone 可见 ./timezone。)
27-
28-
293

304
- id: SQuAD
315
type1:
@@ -74,38 +48,4 @@
7448
<br>(不受限对抗样本挑战) <a href="https://github.com/google/unrestricted-adversarial-examples">The project on Github</a>'
7549
prize: NaN
7650

77-
78-
79-
80-
81-
82-
###
83-
84-
85-
# - id: de2018
86-
# type1:
87-
# - PF
88-
# title: 'DengAI: Predicting Disease Spread'
89-
# url: https://www.drivendata.org/competitions/44/dengai-predicting-disease-spread/
90-
# from: DrivenData
91-
# from_url: https://www.kaggle.com/
92-
# range: June 10-15 2019
93-
# deadtime: "2019-05-03 13:40:00"
94-
# timezone: Etc/GMT-8
95-
# note: This competition is for learning and exploring so the deadline may be extended in the future.
96-
# prize: Glory!
97-
98-
99-
# - id: ren2018
100-
# type1:
101-
# - IT
102-
# - PF
103-
# title: 人口动态普查与预测
104-
# url: https://jdder.jd.com/index/jddDetail?matchId=3dca1a91ad2a4a6da201f125ede9601a
105-
# from: JD
106-
# from_url: https://www.kaggle.com/
107-
# range: Nov 20 - Dec 21 2019
108-
# deadtime: "2019-12-14 21:59:43"
109-
# timezone: Asia/Shanghai
110-
# note:
111-
# prize: CNY 1,100,000
51+
# http://spiechallenges.cloudapp.net/competitions/

_data/_history.yaml

Whitespace-only changes.

_data/readme

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
- id 唯一编码,可随意指定,但建议根据 title 的内容书写。
4+
-(注意!不可数字开头)
5+
6+
- type1 只有三个选项 PF, IT,AC
7+
- type2 有五个选项 DM, CV, NLP, RL, SP
8+
-(可多选,但不可不选)
9+
10+
- hostby 的内容必须指定
11+
12+
- deadtime 日期请严格采用复合 ISO8601 格式的年、月、日、时、分、秒表示(我这里必须引号)。
13+
- (注意!deadtime 内容一定要双引号括起来,强制成 string,不然 pyyaml 读 yaml 会按照本地系统所在的 timezone 读入解析,无限期的就内容为'No deadline')
14+
- (注意!deadtime 的 timezone 信息请另外标明!可选的 timezone 可见 ./timezone。)
15+
- (注意!对于没有 deadtime 的题目,内容必须指定为"No deadline",才不会判断报错~)
16+
17+
- note 的内容是可以直接上 html 标记语言的。

app.py

-61
This file was deleted.

docs/hostby.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ <h1>Data Science Challenge / Competition
700700
}
701701
}
702702
store.set('/', subs);
703-
window.history.pushState('', '', '/DataSciComp/hostby/?sub=' + subs.join());
703+
window.history.pushState('', '', '/DataSciComp/hostby?sub=' + subs.join());
704704

705705
// Event handler on checkbox change
706706
$('form :checkbox').change(function(e) {
@@ -731,7 +731,7 @@ <h1>Data Science Challenge / Competition
731731
}
732732
console.log(subs);
733733
store.set('/', subs);
734-
window.history.pushState('', '', '/DataSciComp/hostby/?sub=' + subs.join());
734+
window.history.pushState('', '', '/DataSciComp/hostby?sub=' + subs.join());
735735
});
736736

737737

docs/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h1>Data Science Challenge / Competition
6262
Countdowns to <b>ENTRY DEADLINE</b> of popular Data Science Challenges/Competitions.
6363
<br>
6464
To add/update a challenge or any other advices to me, plesase don't hesitate and send in a
65-
<a target="_blank" href="//" style="background-color:#CCFF66">pull request</a>.
65+
<a target="_blank" href="https://github.com/iphysresearch/DataSciComp" style="background-color:#CCFF66">pull request</a>.
6666
<br>
6767
<a href="/DataSciComp/hostby.html" style="background-color:#CCFF66">Here</a> offer a list of links to various sources in which you may have an interest.
6868
</div>

readme

-46
This file was deleted.

run.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ def hostby(id_type_checkboxs = id_type_checkboxs, hosts = hosts):
7676

7777
if __name__ == '__main__':
7878
# freezer.freeze()
79-
freezer.run(debug=False)
79+
freezer.run(debug=True)

templates/hostby.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h1>Data Science Challenge / Competition
130130
}
131131
}
132132
store.set('/', subs);
133-
window.history.pushState('', '', '/DataSciComp/hostby/?sub=' + subs.join());
133+
window.history.pushState('', '', '/DataSciComp/hostby?sub=' + subs.join());
134134

135135
// Event handler on checkbox change
136136
$('form :checkbox').change(function(e) {
@@ -161,7 +161,7 @@ <h1>Data Science Challenge / Competition
161161
}
162162
console.log(subs);
163163
store.set('/', subs);
164-
window.history.pushState('', '', '/DataSciComp/hostby/?sub=' + subs.join());
164+
window.history.pushState('', '', '/DataSciComp/hostby?sub=' + subs.join());
165165
});
166166

167167

templates/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h1>Data Science Challenge / Competition
2929
Countdowns to <b>ENTRY DEADLINE</b> of popular Data Science Challenges/Competitions.
3030
<br>
3131
To add/update a challenge or any other advices to me, plesase don't hesitate and send in a
32-
<a target="_blank" href="//" style="background-color:#CCFF66">pull request</a>.
32+
<a target="_blank" href="https://github.com/iphysresearch/DataSciComp" style="background-color:#CCFF66">pull request</a>.
3333
<br>
3434
<a href="/DataSciComp/hostby.html" style="background-color:#CCFF66">Here</a> offer a list of links to various sources in which you may have an interest.
3535
</div>

toc.py

-78
This file was deleted.

0 commit comments

Comments
 (0)