fix: new codes & tests
Some checks failed
build / build (push) Failing after 1m52s
build / trigger-build-image (push) Has been skipped

This commit is contained in:
张泊明518370910136 2025-09-14 17:41:17 -07:00
parent 571577ab70
commit 4a7295d008
GPG Key ID: D47306D7062CDA9D
21 changed files with 9 additions and 35 deletions

View File

@ -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

View File

@ -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": {

View File

@ -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

View File

@ -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": {

View File

@ -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

View File

@ -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": {

View File

@ -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

View File

@ -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": {

View File

@ -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

View File

@ -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": {

View File

@ -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

View File

@ -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": {

View File

@ -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

View File

@ -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": {

View File

@ -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": {

View File

@ -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": {

View File

@ -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

View File

@ -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": {

View File

@ -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

View File

@ -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": {

View File

@ -1,5 +1,5 @@
# general task configuration
task.name = "hw7 ex2" # task name
name = "hw7 ex2" # task name
[[stages]]
name = "[cq] Filelength"