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



fix for a major security issue


#788
base: main
Are you sure you want to change the base?
Conversation
I'm amazed to see a PR here with actual typo fixes that are merge-worthy. |
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.
Typo Fixes, LGTM
@@ -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. |
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.
Typo Fix, LGTM
@@ -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 |
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.
Typo Fix, LGTM
@@ -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}") |
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.
Typo Fix, LGTM
@@ -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 |
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.
Typo Fix, LGTM
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.
Typo Fixex, LGTM
twml/libtwml/src/ops/feature_id.cpp
Outdated
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.
Typo Fixs, LGTM
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.
Typo Fixs, LGTM
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.
Typo Fixs, LGTM
twml/twml/__init__.py
Outdated
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.
Typo Fixs, LGTM
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.
Typo Fixs, LGTM
@@ -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 **/ |
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.
Typo fix, LGTM
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.
No changes here.. formatting?
amazing job!! |
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.
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]], |
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.
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) |
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.
Same here.. should've been identifier
twml/twml/dataset.py
Outdated
@@ -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. |
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.
Should this be parent class *calls* self...
@rps2579 |
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.
LGTM!
Reviewed all 100+ files, looks good. Great efforts. @TOGEP |
Got fooled? Have a great day! ;)