Skip to content
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

warningwarningwarningfix for a major security issuewarningwarningwarning #788

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

warningwarningwarningfix for a major security issuewarningwarningwarning #788

wants to merge 3 commits into from

Conversation

TOGEP
Copy link

@TOGEP TOGEP commented Apr 1, 2023

Got fooled? Have a great day! ;)

@rgryta
Copy link

rgryta commented Apr 1, 2023

I'm amazed to see a PR here with actual typo fixes that are merge-worthy.

Copy link

@ArchitW ArchitW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Fixes, LGTM white_check_mark

@@ -18,7 +18,7 @@
private final PriorityQueue<DistancedItem<T>> queue;
private final boolean minQueue;
/**
* Creates ontainer for items with their distances.
* Creates a container for items with their distances.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Fix, LGTM white_check_mark

@@ -94,7 +94,7 @@ public DistancedItem<T> dequeue() {
}

/**
* Dequeue all the elements from queueu with ordering mantained
* Dequeue all the elements from queueu with ordering maintained
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Fix, LGTM white_check_mark

@@ -91,7 +91,7 @@ def parse_metric(config):
elif metric_str == "linf":
return faiss.METRIC_Linf
else:
raise Exception(f"Uknown metric: {metric_str}")
raise Exception(f"Unknown metric: {metric_str}")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Fix, LGTM white_check_mark

@@ -36,7 +36,7 @@ object AnnoyCommon {

case class AnnoyRuntimeParams(
/* Number of vectors to evaluate while searching. A larger value will give more accurate results, but will take longer time to return.
* Default value would be numberOfTrees*numberOfNeigboursRequested
* Default value would be numberOfTrees*numberOfNeighboursRequested
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Fix, LGTM white_check_mark

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Fixex, LGTM white_check_mark

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Fixs, LGTM white_check_mark

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Fixs, LGTM white_check_mark

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Fixs, LGTM white_check_mark

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Fixs, LGTM white_check_mark

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Fixs, LGTM white_check_mark

@@ -37,7 +37,7 @@ trait Task extends Closable { self: Logging =>

@volatile private var taskLoop: Future[Unit] = null

/** Execute the task wih bookkeeping **/
/** Execute the task with bookkeeping **/
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo fix, LGTM

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No changes here.. formatting?

@Pab450
Copy link

Pab450 commented Apr 1, 2023

amazing job!!

Copy link

@rps2579 rps2579 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit contains only typo changes. Ironic that the changes themselves have a few typos. Suggested changes at those particular places.

@@ -168,7 +168,7 @@ class ProductPipelineBuilder[TRequest <: Request, Query <: PipelineQuery, Respon
}

def pipelineSelectorStep(
pipelineByIdentifer: Map[ComponentIdentifier, Pipeline[Query, Response]],
pipelineByIdentifler: Map[ComponentIdentifier, Pipeline[Query, Response]],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo correction contains typo.. should've been identifier

@@ -178,7 +178,7 @@ class ProductPipelineBuilder[TRequest <: Request, Query <: PipelineQuery, Respon
override def executorArrow: Arrow[
Query,
PipelineSelectorExecutorResult
] = pipelineSelectorExecutor.arrow(pipelineByIdentifer, pipelineSelector, context)
] = pipelineSelectorExecutor.arrow(pipelineByIdentifler, pipelineSelector, context)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.. should've been identifier

@@ -30,7 +30,7 @@ def __init__(self, filenames, compression_type="auto", buffer_size=1 << 20):
self._filenames = tf.convert_to_tensor(filenames, dtype=tf.string, name="filenames")
self._compression_type = tf.convert_to_tensor(compression_type.lower(), name="compression_type")
self._buffer_size = tf.convert_to_tensor(buffer_size, dtype=tf.int64, name="buffer_size")
# Parent class calss self._as_variant_tensor in init. So call this at the end.
# Parent class call self._as_variant_tensor in init. So call this at the end.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be parent class *calls* self...

@CLAassistant
Copy link

CLAassistant commented Apr 1, 2023

CLA assistant check
All committers have signed the CLA.

@TOGEP
Copy link
Author

TOGEP commented Apr 1, 2023

@rps2579
Thank you for reviewing this PR. While it started as a joke, I quickly realized that the workload was more than I could handle alone. Your review is much appreciated.

Copy link

@cyber-eternal cyber-eternal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kapilepatel
Copy link

Reviewed all 100+ files, looks good. Great efforts. @TOGEP

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.

None yet

8 participants