-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli: split fetch-recent-miner-measurements
and evaluate-measurements
#401
Conversation
I'll review this PR next week. I am afraid there will be a merge conflict with #396 😢 How should we proceed to handle that in the least painful way? |
Before your change, the default behaviour is to not show rejected measurements in the output file. IIUC the proposed version, the first step will produce an intermediate file that includes rejected measurements too. I think this can create confusion when people not familiar with the concept of accepted/rejected scores use these tools. An idea to consider:
WDYT? |
Since e2b5663, the output file will have |
The merge conflict isn't going to be hard to deal with if we reapply https://github.com/filecoin-station/spark-evaluate/pull/396/files on top of this PR. Therefore I propose to merge this one first. |
I was thinking about this some more, and would like to rework #396 - see #396 (comment) I agree to land this pull request first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I quickly skimmed through the changes and I don't see any obvious problems. Let's land this and then fix any issues later as we discover them.
I believe the old version included evaluation results in the measurements written to the per-miner file. After your change, the first script that fetches measurements produces a file that does not have information about the evaluation result. The second script produces only TXT file, so there is no way how to further analyse the processed per-miner measurements using Please correct me if I'm wrong. I think this can be also iterated on in a follow-up pull request. Please remember to update our docs (https://docs.filspark.com/troubleshooting-miner-score, the source is in Notion) after you land this change. |
Now, the measurements fetching prints a summary to stdout and produces a The evaluation script prints a summary to stdout and produces a |
Updated in https://www.notion.so/spacemeridian/Troubleshooting-Miner-Score-664ccb2e5c264b39986df09db6b445a4 👍 |
Usage:
This is a first step towards evaluating arbitrary rounds. Next: #402