-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
86 lines (74 loc) · 3.34 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# 总配置
common:
upsolve: # 补题
expiration: 7 # 以 `比赛结束` 开始计算的补题有效期,单位天
sort_by_score: true
# 各个 OJ 的配置(将会用于实例化 ContestRetriever)
vjudge: # vjudge config
instances:
# prophase: # 前期训练
# title_prefix: "CUC-ACM-2023秋季学期新生练习" # 检索用的标题
# sheet_name_remover: "CUC-ACM-2023秋季学期" # 用于去除 sheet name 中的前缀
# export_filename: "CUC-ACM-2023-Autumn-Vjudge-prophase" # 导出的文件名前缀
# basic: # 基础训练
# title_prefix: "CUC-ACM-2023秋季学期新生基础练习" # 检索用的标题
# sheet_name_remover: "CUC-ACM-2023秋季学期新生" # 用于去除 sheet name 中的前缀
# export_filename: "CUC-ACM-2023-Autumn-Vjudge-Basic" # 导出的文件名前缀
# div1: # 9~16 周的 div1 类别
# title_prefix: "CUC-ACM-2023秋季学期新生练习-div1" # 检索用的标题
# sheet_name_remover: "CUC-ACM-2023秋季学期" # 用于去除 sheet name 中的前缀
# export_filename: "CUC-ACM-2023-Autumn-Vjudge-div1" # 导出的文件名前缀
# div2: # 9~16 周 div2 类别
# title_prefix: "CUC-ACM-2023秋季学期新生练习-div2" # 检索用的标题
# sheet_name_remover: "CUC-ACM-2023秋季学期" # 用于去除 sheet name 中的前缀
# export_filename: "CUC-ACM-2023-Autumn-Vjudge-div2" # 用于去除 sheet name 中的前缀
Winter-Training:
title_prefix: "CUC-ACM-2024-Winter-Training" # 检索用的标题
sheet_name_remover: "CUC-ACM-2024-Winter-Training Round " # 用于去除 sheet name 中的前缀
export_filename: "CUC-ACM-2023-Autumn-Vjudge-Winter-Training" # 用于去除 sheet name 中的前缀
nowcoder: # 牛客 config
instances:
[]
# prophase: # 前期训练
# title_prefix: "CUC2023秋季新生训练第" # 检索用的标题
# sheet_name_remover: "CUC2023秋季新生" # 用于去除 sheet name 中的前缀
# export_filename: "CUC-ACM-2023-Autumn-Nowcoder-prophase" # 导出的文件名前缀
input:
attendance_path: "acmana/resources/attendance.csv" # 选课人员名单 csv 文件路径
questionnaire_path: "acmana/resources/CUCACM积分系统信息收集表(收集结果)-CUCACM积分系统信息收集表(收集结果).csv" # 问卷 csv 文件路径
using_nickname_cache: true
coloredlogs:
level: INFO
fmt: "%(asctime)s %(name)s[%(process)d] %(levelname)s\n%(message)s"
Logging: # logging 配置
disable_existing_loggers: false
formatters:
verbose:
format: "[%(asctime)s-%(levelname)s-%(name)s] %(message)s"
datefmt: "%H:%M:%S" # %Y-%m-%d
handlers:
console:
class: logging.StreamHandler
formatter: verbose
level: DEBUG # 命令行的记录器设置阈值
file_handler:
class: logging.FileHandler
formatter: verbose
level: DEBUG
filename: ./app.log
# dingtalk:
# class: dingtalk_log_handler.DingTalkHandler
# formatter: verbose
# level: WARNING # 钉钉的 记录器设置阈值
# secret: ""
# webhook: https://oapi.dingtalk.com/robot/send?access_token=
# timeout: 2 # http request timeout, default 1 second
loggers:
"":
handlers:
- console
# - file_handler
# - dingtalk
level: INFO
# propagate: false
version: 1