fix: new codes & tests
This commit is contained in:
parent
571577ab70
commit
4a7295d008
|
@ -167,10 +167,6 @@ class Stage(BaseModel):
|
|||
class Config(BaseModel):
|
||||
name: str = ""
|
||||
log_path: str = Field("", serialization_alias="logPath")
|
||||
expire_unix_timestamp: int = Field(-1, serialization_alias="expireUnixTimestamp")
|
||||
effective_unix_timestamp: int = Field(
|
||||
-1, serialization_alias="effectiveUnixTimestamp"
|
||||
)
|
||||
actor_csv_path: str = Field("", serialization_alias="actorCsvPath")
|
||||
max_total_score: int = Field(100, serialization_alias="maxTotalScore")
|
||||
stage: Stage
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "hw7 ex2",
|
||||
"logPath": "/home/tt/.cache/joj3/hw7/joj3.log",
|
||||
"expireUnixTimestamp": 0,
|
||||
"effectiveUnixTimestamp": 0,
|
||||
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
||||
"maxTotalScore": 10245871,
|
||||
"stage": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# general task configuration
|
||||
task.name = "hw7 ex2" # task name
|
||||
name = "hw7 ex2" # task name
|
||||
|
||||
max-total-score = 10245871
|
||||
time.end = 2024-12-30 23:59:59+08:00
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "hw7 ex2",
|
||||
"logPath": "/home/tt/.cache/joj3/hw7/joj3.log",
|
||||
"expireUnixTimestamp": 0,
|
||||
"effectiveUnixTimestamp": 0,
|
||||
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
||||
"maxTotalScore": 100,
|
||||
"stage": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# general task configuration
|
||||
task.name = "hw7 ex2" # task name
|
||||
name = "hw7 ex2" # task name
|
||||
|
||||
time.end = 2024-12-30 23:59:59+08:00
|
||||
time.begin = 2024-12-29 23:59:59+08:00
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "hw7 ex2",
|
||||
"logPath": "/home/tt/.cache/joj3/hw7/joj3.log",
|
||||
"expireUnixTimestamp": 0,
|
||||
"effectiveUnixTimestamp": 0,
|
||||
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
||||
"maxTotalScore": 100,
|
||||
"stage": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# general task configuration
|
||||
task.name = "hw7 ex2" # task name
|
||||
name = "hw7 ex2" # task name
|
||||
|
||||
time.end = 2024-12-30 23:59:59+08:00
|
||||
time.begin = 2024-12-29 23:59:59+08:00
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "hw7 ex2",
|
||||
"logPath": "/home/tt/.cache/joj3/hw7/joj3.log",
|
||||
"expireUnixTimestamp": 0,
|
||||
"effectiveUnixTimestamp": 0,
|
||||
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
||||
"maxTotalScore": 100,
|
||||
"stage": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# general task configuration
|
||||
task.name = "hw7 ex2" # task name
|
||||
name = "hw7 ex2" # task name
|
||||
|
||||
time.end = 2024-12-30 23:59:59+08:00
|
||||
time.begin = 2024-12-29 23:59:59+08:00
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "hw7 ex2",
|
||||
"logPath": "/home/tt/.cache/joj3/hw7/joj3.log",
|
||||
"expireUnixTimestamp": 0,
|
||||
"effectiveUnixTimestamp": 0,
|
||||
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
||||
"maxTotalScore": 100,
|
||||
"stage": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# general task configuration
|
||||
task.name = "hw7 ex2" # task name
|
||||
name = "hw7 ex2" # task name
|
||||
|
||||
time.end = 2024-12-30 23:59:59+08:00
|
||||
time.begin = 2024-12-29 23:59:59+08:00
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "hw7 ex2",
|
||||
"logPath": "/home/tt/.cache/joj3/hw7/joj3.log",
|
||||
"expireUnixTimestamp": 0,
|
||||
"effectiveUnixTimestamp": 0,
|
||||
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
||||
"maxTotalScore": 100,
|
||||
"stage": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# general task configuration
|
||||
task.name = "hw7 ex2" # task name
|
||||
name = "hw7 ex2" # task name
|
||||
|
||||
time.end = 2024-12-30 23:59:59+08:00
|
||||
time.begin = 2024-12-29 23:59:59+08:00
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "health check",
|
||||
"logPath": "/home/tt/.cache/joj3/health/joj3.log",
|
||||
"expireUnixTimestamp": 0,
|
||||
"effectiveUnixTimestamp": 0,
|
||||
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
||||
"maxTotalScore": 100,
|
||||
"stage": {
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "hw7 ex3",
|
||||
"logPath": "/home/tt/.cache/joj3/hw7/joj3.log",
|
||||
"expireUnixTimestamp": 0,
|
||||
"effectiveUnixTimestamp": 0,
|
||||
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
||||
"maxTotalScore": 100,
|
||||
"stage": {
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "hw7 ex2",
|
||||
"logPath": "/home/tt/.cache/joj3/hw7/joj3.log",
|
||||
"expireUnixTimestamp": 0,
|
||||
"effectiveUnixTimestamp": 0,
|
||||
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
||||
"maxTotalScore": 100,
|
||||
"stage": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# general task configuration
|
||||
task.name = "hw7 ex2" # task name
|
||||
name = "hw7 ex2" # task name
|
||||
|
||||
time.end = 2024-12-30 23:59:59+08:00
|
||||
time.begin = 2024-12-29 23:59:59+08:00
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "hw7 ex2",
|
||||
"logPath": "/home/tt/.cache/joj3/hw7/joj3.log",
|
||||
"expireUnixTimestamp": 0,
|
||||
"effectiveUnixTimestamp": 0,
|
||||
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
||||
"maxTotalScore": 100,
|
||||
"stage": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# general task configuration
|
||||
task.name = "hw7 ex2" # task name
|
||||
name = "hw7 ex2" # task name
|
||||
|
||||
time.end = 2024-12-30 23:59:59+08:00
|
||||
time.begin = 2024-12-29 23:59:59+08:00
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
"name": "hw7 ex2",
|
||||
"logPath": "/home/tt/.cache/joj3/hw7/joj3.log",
|
||||
"expireUnixTimestamp": 0,
|
||||
"effectiveUnixTimestamp": 0,
|
||||
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
||||
"maxTotalScore": 100,
|
||||
"stage": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# general task configuration
|
||||
task.name = "hw7 ex2" # task name
|
||||
name = "hw7 ex2" # task name
|
||||
|
||||
[[stages]]
|
||||
name = "[cq] Filelength"
|
||||
|
|
Loading…
Reference in New Issue
Block a user