Repository navigation
Add run meta stats to artifacts - #191
Conversation
azchin
left a comment
There was a problem hiding this comment.
Thanks, could change the meta.json format to something like the snippet below? There's additional implementation change requests commented.
Also please sign your commits and use Conventional Commits for commit messages.
{
"totals": {
"artifacts": {
"povs": 2,
"seeds": 4,
"patches": 1,
"bug_candidates": 2
},
"llm": {
"credits_used": 1.65
},
"sidecar": {
"patch_builds": 4,
"patch_tests": 2,
"pov_runs": 8
}
},
"crs": {
"crs_a": {
"artifacts": {
"povs": 2,
"seeds": 3,
"patches": 1,
"bug_candidates": 0
},
"llm": {
"credits_used": 1.25
},
"sidecar": {
"patch_builds": 4,
"patch_tests": 2,
"pov_runs": 7
}
}
}
}|
schema update to nested totals + per-CRS (patches, bug_candidates), structured JSONL metrics replacing log scraping, LiteLLM spend polling via /global/spend/report, and artifact counting centralized in WorkDir are all clean and cohesive enough to ship as one PR. CI green, no split needed. |
azchin
left a comment
There was a problem hiding this comment.
Added suggestions to get LiteLLM reporting working. Tracking number of artifacts and libCRS calls look good.
Again, please sign-off your commits https://github.com/ossf/oss-crs/pull/191/checks?check_run_id=75833728185.
The easiest way to do this is probably interactive rebase, and selectively reword your commits to manually add the Signed-off-by: Author Name <authoremail@example.com> for each of your changes.
|
Hello @tusharshah21 , just checking in on whether you would like to continue working on this PR. If you no longer have bandwidth or interest that's totally fine, I will close this PR and build upon your contribution in my own branch. |
|
ofcourse wanted to finish it man, was occupied with work, would try to cover it within weekend. Cheers! |
a1c22d8 to
55fb199
Compare
|
Applied all suggestions:
my bad for delays covered the suggestion but |
Signed-off-by: tusharshah21 <tusharkumarshah14394@gmail.com>
Signed-off-by: tusharshah21 <tusharkumarshah14394@gmail.com>
…bles Signed-off-by: tusharshah21 <tusharkumarshah14394@gmail.com>
…tion Signed-off-by: tusharshah21 <tusharkumarshah14394@gmail.com>
55fb199 to
e6445dd
Compare
|
Awesome, meta stats from |
Summary
Added run-level statistics capture and persistence so each run writes a meta.json under its run directory, then exposed that metadata through the artifacts command output.
This was done to satisfy the issue requirement to track and retrieve:
User Impact
CLI/API/config/docs impact and migration:
Release Note / Changelog
Deprecation or breaking behavior:
Validation
Checklist
Closes #80