Skip to content
Snippets Groups Projects
Commit d15da923 authored by Maël Madon's avatar Maël Madon
Browse files

test: add edge cases SABjson tested in batmen

parent 0dcf13c4
No related merge requests found
{
"description": "Test feedback when platform is fully loaded.",
"nb_res": 16,
"sessions": [
{
"id": 1,
"first_submit_time": 0.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 1,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 2,
"first_submit_time": 2000.0,
"preceding_sessions": [1],
"thinking_time_after_preceding_session": [1000],
"nb_jobs": 1,
"jobs": [
{
"id": 2,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 3,
"first_submit_time": 10000.0,
"preceding_sessions": [
2
],
"thinking_time_after_preceding_session": [
7000.0
],
"nb_jobs": 1,
"jobs": [
{
"id": 3,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 4,
"first_submit_time": 12000.0,
"preceding_sessions": [
3
],
"thinking_time_after_preceding_session": [
1000.0
],
"nb_jobs": 1,
"jobs": [
{
"id": 4,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 5,
"first_submit_time": 9000.0,
"preceding_sessions": [
2
],
"thinking_time_after_preceding_session": [
6000.0
],
"nb_jobs": 2,
"jobs": [
{
"id": 5,
"profile": "5000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
},
{
"id": 6,
"profile": "5000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
}
]
}
\ No newline at end of file
{
"description": "A session (session 1) has five followers, four with a think time of 1000s and one with a think time of 2000s.",
"nb_res": 16,
"sessions": [
{
"id": 1,
"first_submit_time": 0.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 1,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 2,
"first_submit_time": 2000.0,
"preceding_sessions": [1],
"thinking_time_after_preceding_session": [1000],
"nb_jobs": 1,
"jobs": [
{
"id": 2,
"profile": "2000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 3,
"first_submit_time": 2000.0,
"preceding_sessions": [1],
"thinking_time_after_preceding_session": [1000],
"nb_jobs": 1,
"jobs": [
{
"id": 3,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 4,
"first_submit_time": 2000.0,
"preceding_sessions": [1],
"thinking_time_after_preceding_session": [1000],
"nb_jobs": 1,
"jobs": [
{
"id": 4,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 5,
"first_submit_time": 2000.0,
"preceding_sessions": [1],
"thinking_time_after_preceding_session": [1000],
"nb_jobs": 1,
"jobs": [
{
"id": 5,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 6,
"first_submit_time": 3000.0,
"preceding_sessions": [1],
"thinking_time_after_preceding_session": [2000],
"nb_jobs": 1,
"jobs": [
{
"id": 6,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
}
]
}
\ No newline at end of file
{
"description": "A session (session 6) depends on five others, with a think time of 1000s.",
"nb_res": 16,
"sessions": [
{
"id": 1,
"first_submit_time": 1000.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 1,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 2,
"first_submit_time": 1000.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 2,
"profile": "2000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 3,
"first_submit_time": 1000.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 3,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 4,
"first_submit_time": 1500.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 4,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 5,
"first_submit_time": 2000.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 5,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 6,
"first_submit_time": 2000.0,
"preceding_sessions": [1,2,3,4,5],
"thinking_time_after_preceding_session": [1000,1000,1000,1000,1000],
"nb_jobs": 1,
"jobs": [
{
"id": 6,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
}
]
}
\ No newline at end of file
{
"description": "Five start sessions with no dependency between them.",
"nb_res": 16,
"sessions": [
{
"id": 1,
"first_submit_time": 1000.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 1,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 2,
"first_submit_time": 1000.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 2,
"profile": "2000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 3,
"first_submit_time": 1000.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 3,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 4,
"first_submit_time": 1500.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 4,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 5,
"first_submit_time": 2000.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 5,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
}
]
}
\ No newline at end of file
{
"description": "Empty SABjson.",
"nb_res": 0,
"sessions": []
}
\ No newline at end of file
{
"description": "One session that contains ten jobs.",
"nb_res": 16,
"sessions": [
{
"id": 1,
"first_submit_time": 0.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 10,
"jobs": [
{
"id": 750,
"profile": "450",
"res": 16,
"subtime": 0.0,
"walltime": 86400.0
},
{
"id": 751,
"profile": "210",
"res": 16,
"subtime": 591.0,
"walltime": 86400.0
},
{
"id": 752,
"profile": "81540",
"res": 16,
"subtime": 767.0,
"walltime": 163068.0
},
{
"id": 757,
"profile": "86140",
"res": 16,
"subtime": 895.0,
"walltime": 172260.0
},
{
"id": 758,
"profile": "86130",
"res": 16,
"subtime": 959.0,
"walltime": 172250.0
},
{
"id": 768,
"profile": "920",
"res": 16,
"subtime": 1537.0,
"walltime": 86400.0
},
{
"id": 781,
"profile": "290",
"res": 16,
"subtime": 1841.0,
"walltime": 86400.0
},
{
"id": 791,
"profile": "86130",
"res": 16,
"subtime": 2068.0,
"walltime": 172248.0
},
{
"id": 794,
"profile": "86120",
"res": 16,
"subtime": 2149.0,
"walltime": 172226.0
},
{
"id": 795,
"profile": "86130",
"res": 16,
"subtime": 2533.0,
"walltime": 172246.0
}
]
}
]
}
\ No newline at end of file
{
"description": "Two sessions following each other, with a think time of 0s between them.",
"nb_res": 16,
"sessions": [
{
"id": 1,
"first_submit_time": 0.0,
"preceding_sessions": [],
"thinking_time_after_preceding_session": [],
"nb_jobs": 1,
"jobs": [
{
"id": 1,
"profile": "1000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
},
{
"id": 2,
"first_submit_time": 2000.0,
"preceding_sessions": [1],
"thinking_time_after_preceding_session": [0],
"nb_jobs": 1,
"jobs": [
{
"id": 2,
"profile": "2000",
"res": 16,
"subtime": 0.0,
"walltime": 2592000.0
}
]
}
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment