Generate reference config from previous logs#17
Conversation
|
@alexandraBara have you checked if reference config file generated directly (--gen-reference-config) is identical to one generated from logs, assuming same "input" node? |
I have not, let me investigate |
The end files are the same. We will be adding this test to functional testing in the future to make sure it stays that way. |
landrews-amd
left a comment
There was a problem hiding this comment.
Looks good! added a couple suggestions
| "--gen-reference-config-from-logs", | ||
| dest="reference_config_from_logs", | ||
| type=log_path_arg, | ||
| help="Generate reference config from previous run logfiles. Writes to ./reference_config.json.", |
There was a problem hiding this comment.
Should remove the 'Writes to ./reference_config.json.' part since we are now leveraging the output path arg
Scope: Use previous node-scraper logs to generate a reference config by parsing the log files.
node-scraper --gen-reference-config-from-logs <path_to_previous_logs>
Sample run:
Sample output:
reference_config.json:
README.md updates to follow