这是indexloc提供的服务,不要输入任何密码
Skip to content

Complete refactoring of signal collection logic #220

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

Merged
merged 20 commits into from
Oct 24, 2022
Merged

Conversation

calebbrown
Copy link
Contributor

This work is to support productionization and Python deprecation.

This change completes work started in #214 by putting signal collection behind a single interface.

Because this work was done on a branch made off the on in #214 the changes are listed here, but are already merged into main.

This normalizes the logic of scorer and collect_signals.

If someone has multiple inputs to collect_signals they can be aggregated
by using cat. e.g: cat file1.txt file2.txt | collect_signals - out.csv

Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
This is to free up the name "collector", and to represent better that
each of the structs is meant to represent a single source of signals.

This is a part of larger refactoring work to support productionization
and a simpler CLI tool.

Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
This allows the eventual simple reuse of signal collection across
binaries.

Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
This is the last step in allowing two binaries two exist that can do
collection:
- a productionized worker for large scale collection
- a small scale CLI focused tool

Signed-off-by: Caleb Brown <calebbrown@google.com>
Signed-off-by: Caleb Brown <calebbrown@google.com>
@calebbrown calebbrown merged commit 0f80589 into main Oct 24, 2022
@calebbrown calebbrown deleted the workerize_2 branch October 24, 2022 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants