{ "test_bleu_4": 0.018053792553092807, "test_exact_match": 0.00019667617268167962, "test_rouge": { "rouge1": 0.13388922368879946, "rouge2": 0.01765488441310429, "rougeL": 0.11178661020075599, "rougeLsum": 0.1118200913452327 }, "test_bertscore": { "precision": 0.8426993681460968, "recall": 0.8411349141031536, "f1": 0.8415151817665678 }, "test_meteor": 0.10164148320273035, "raw_data": [ { "prediction": "I think this should be `language=java,transport=grpc`", "reference": "can we also test for `transport=rest`?" }, { "prediction": "I think we need to set pageSize in the constructor of the AbstractSolrBackendFactory", "reference": "If record_batch_size is not set in config.ini, this code will trigger a notice about an undefined value. I would suggest either wrapping the setPageSize() call in an `if (!empty(...)) {` check, or else providing a default value in the set call (i.e. `$config->Index->record_batch_size?? 100`)." }, { "prediction": "I think we can remove the `2nexpdgku3` from the `SEGMENT_KEY` variable.", "reference": "I didn't realize we were hardcoding this, thanks for moving it to an env value." }, { "prediction": "I don't think this is the right place to do this. I think it should be `''` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `NaN` or `null` if `file.data.size` is `", "reference": "We are trying to support IE 10-11, so we'll need a polyfill for this one, I think." }, { "prediction": "I'm not sure if this is the right place to call this function. I'm not sure if this is the right place to call it, but I'm not sure if it's the right place to call it.", "reference": "It looks like there's a new `isNavigatingTo( url )` selector for this very purpose so let's use this here instead. This way we just need to use the one selector rather than two. Let's assign that to a similar-named variable here (e.g. `isNavigatingToPostResetURL`) rather than the prop it's used with." }, { "prediction": "I think this should be `const AbsMat& im`.", "reference": "I think im2col should only accommodate CPUMat." }, { "prediction": "I think this should be `email_factory.EmailFactory` instead of `email_factory.EmailFactory`", "reference": "alpha sort the imports" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "Can you explain why is this necessary? Is `snprintf()` with four integer arguments unsafe?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this. I'm not sure it's the right place to do this.", "reference": "How likely would it be that the keyboard layout for the NVDA main thread differs from the keyboard layout of the currently focused app?" }, { "prediction": "I'm not sure if this is the right place to do this. It seems to me that the `service = getDefaultService()` is never used.", "reference": "Would you mind removing the default parameter above? (I doubt I'll ever use defaults again since you still have to protect against callers explicitly passing `null` or `undefined`)" }, { "prediction": "`keys.then(keys => keys.join(''))` is the same as `keys.join('')`", "reference": "Also update line 2205 below" }, { "prediction": "This should be `volumeConfig.GetSharedMountValue()`", "reference": "n_: It is a good practice to name the variable to indicate what they contain. In this case since `shared` is supposed to have boolean, calling it: `isShared` can help in the readability of the code." }, { "prediction": "nit: `freezeColumn()` doesn't re-render the table, so you need to call the `render()` method afterward. `freezeColumn()` doesn't re-render the table, so you need to call the `render()` method afterward. `freezeColumn()` doesn't re-render the table, so you need to call the `render()` method afterward. `freezeColumn()` doesn't re-render the table, so you need to call the `render()` method afterward. `freezeColumn()` doesn't re-render the table, so you need to call the `render()` method afterward. `freezeColumn()` doesn't re-render the table, so you need to call the `render()` method afterward.", "reference": "I suppose it's a false-positive error. Maybe there is a way to configure the `eslint-*` package to accept `i.e..... lower case` syntax" }, { "prediction": "This is a bug fix. The parentSpanId will be null if the parentId is null, but the parentSpanId will be null if the parentId is null.", "reference": "this maynot be a perf issue, if ToHexString() is not actually allocating a string, but returns the caches string value. to be confirmed." }, { "prediction": "I think this should be `w.logger.Info(\"failed to update image\", zap.String(\"image-provider\", provider.Name()), )`", "reference": "`zap.String(\"image-provider\", provider.Name())` should be in a same line." }, { "prediction": "Why was this removed?", "reference": "Why this deletion?" }, { "prediction": "I think this should be `('public,%20max-age=500', 'public, max-age=500')`", "reference": "This change looks unrelated to the CL description?" }, { "prediction": "I'm not sure if this is the right place to put the DEDUP_RESUTL_CHECK macro.", "reference": "I'm not certain that `res`+`utl` isn't a thing." }, { "prediction": "I think this should be `Status.SUCCEEDED.getNumVal()`, `Status.KILLED.getNumVal()`, `Status.FAILED.getNumVal()`, `Status.EXECUTION_RUNNING.getNumVal()`, `Status.KILLED.getNumVal()`, `Status.SUCCEEDED.getNumVal()`, `Status.KILLED.getNumVal()`, `Status.FAILED.getNumVal()`, `Status.EXECUTION_RUNNING.getNumVal()`, `Status.KILLED.getNumVal()`, `Status.SUCCEEDED.getNumVal()`, `Status.KILLED.getNumVal()`, `Status.FAILED.getNumVal()`, `Status.EXECUTION_RUNNING.getNumVal()`, `Status.KILLED.getNumVal()`, `Status.SUCCEEDED.getNumVal()`, `Status.KILLED.getNumVal()`, `Status.FAILED.getNumVal()`, `Status.EXECUTION_RUNNING.getNumVal()`, `Status.KILLED.getNumVal()`, `Status.SUCCEEDED.getNumVal()", "reference": "This method can cause bugs. Why don't you use list of finalize statuses and then use join by comma and that will give you correct value. Use Apache Commons Lang library List list = Arrays.asList(1,2,3,4,5,6,7); String str = org.apache.commons.lang.StringUtils.join(list, \",\"); You can use it at multiple places shown in this diff." }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "Merge with next condition" }, { "prediction": "I think this should be `TaskStackInfo` instead of `task deploy.TaskStackInfo`.", "reference": "Maybe add it when it is used." }, { "prediction": "I don't think we should have two enabled configurations, one for non-exist_scanner and one for non-exist_bucket_acl. I'm not sure what the best way to do this is.", "reference": "More clear naming: NONEXISTENT_ENABLED" }, { "prediction": "Is this change intentional?", "reference": "why is this change necessary?" }, { "prediction": "I'm not sure this is the right fix. The `isEmptyType()` method returns a boolean, which means that if the type is null, the method will return `java.lang.Void`. I'm not sure if this is the right fix.", "reference": "make a SchemaTypeNameConverter.getTypeNameForEmptyType() and call that here." }, { "prediction": "I don't think this is the right place to do this. The `$request->getSession()->getLang()->getLocale()` is used in the `AbstractSmartyPlugin` class.", "reference": "Use braces on your conditional structures please" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "Great God, I have a question. This \".nebula_history\" file is used to save history commands. Is there a file size limit? When the file is large, does it take a long time to start initialization (loadHistory)? How did you think about this? Thx." }, { "prediction": "I'm not sure this is the right fix.", "reference": "Isn't this the same check as two lines above?" }, { "prediction": "I don't think this is needed.", "reference": "Don't redefine, just import the existing one in `cmdline.py`. :)" }, { "prediction": "I think this should be `if!responds && store_as = aliased_fields.invert[name.to_s] name = store_as`", "reference": "why not call `respond_to?(\"#{name}=\")` from the `if` line?" }, { "prediction": "I think this should be `Path.of(workingDir)` instead of `Path.of(workspaceRootDirectory)`.", "reference": "This was properly set above as `.runfiles/` (with a fallback to workspace root dir) but never used past this line." }, { "prediction": "Should this be `MvxBasePresentationAttribute`?", "reference": "Are all these namespaces required for this attribute?" }, { "prediction": "Use rescue instead of.inspect.
Redundant `rescue` detected.", "reference": "Given this may be used and printed in other ways, isn't `debug` more appropriate?" }, { "prediction": "I'm not sure if this is the right place to call `clear()`. I'm not sure if `remove()` is the right place to call `clear()` or if it's the right place to call `clear()`.", "reference": "Looks like this is unused? Did you mean to call it when clearing the block journal?" }, { "prediction": "I think this should be done in ExecutorManager constructor, not in ExecutorManager.", "reference": "why named alters? how about this.alerts = alerts?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "not sure if this has to be here or not tbh" }, { "prediction": "I don't think we should be doing this. We should only be doing this if the entity name is longer than 50 characters.", "reference": "There's a better fix for this in #1741, which should replace this." }, { "prediction": "Why did this change?", "reference": "Use swarm.Address not []byte as type, and construct it from actual byteslice or use swarm.NewAddress if it is constructed from hex-encoded string." }, { "prediction": "Why is this change necessary?", "reference": "It would be worth factoring this out to a function, but you don't have to do that here." }, { "prediction": "I'm not sure if this should be public.", "reference": "There's no need for `final` in interfaces." }, { "prediction": "I'm not sure this is the right place to set the tags.", "reference": "Isn't this case handled as a custom tag in `Span.SetTag()` below? This switch is only for special tags that actually set `Span` properties." }, { "prediction": "I think this should be `Args: save: When given, save the open windows even if auto_save.session is turned off.`", "reference": "This shouldn't be changed." }, { "prediction": "I don't think you need to change the year in this file.", "reference": "This one is important `2: I102 copyright year is outdated, expected 2014 but got 2012`" }, { "prediction": "Please remove unused imports.", "reference": "Are these imports needed (BiConsumer and Consumer)? If they are unused imports, then precommit will fail." }, { "prediction": "I'm not sure this is the right place for this job, but I'm not sure it's a good idea to rescue StandardError.", "reference": "Why are we catching and logging exceptions? By doing that we make it look like the job has succeeded and it will be removed from the queue - if we didn't do that then it would stay queued..." }, { "prediction": "I think we can remove the `null` check here.", "reference": "If there are `@param` tags in docblock, there should be `@return` tag also. (applies for a whole file)" }, { "prediction": "I think this should be `VALIDATORS(\"validators\")` instead of `VALIDATORS(\"validators\")`", "reference": "Is the concept of validators exclusive to IBFT2? I wonder if this category should be more explicitly linked to IBFT2." }, { "prediction": "I don't think we should use star imports.", "reference": "Spotless is configured to reject star imports. Please replace with explicit imports." }, { "prediction": "This should be `device::max_shared_mem_size` instead of `device::local_mem_size`.", "reference": "Remind me why you are using CUDA vocabulary when naming these variables." }, { "prediction": "I don't think this is the right place to do this. The `feeds.size()` is guaranteed to be non-empty, so the `feeds.get(i).getId()` is guaranteed to be non-empty.", "reference": "Please turn the iteration order around (instead of `0...size` to `size...0`). The reason is that this sometimes skips indices when removing an item. You can therefore end up with feeds that have counter 0 and are still displayed." }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "this is a behavior change. solid_subset=[] represents an empty pipeline where as solid_subset=None is the full pipeline" }, { "prediction": "I'm not sure if this should be a warning.", "reference": "this is a breaking change, any specific reason you want to do this?" }, { "prediction": "I'm not sure why we need to call `SetHead` here.", "reference": "Blocking: we still want read write separation. Node functions should absolutely not write to the chain store and the interface should reflect that. Only the syncer should have this capability in production code. It should be no problem to keep casting chainForTest to a read-write interface, or doing other function decomposition and automatic casting tricks." }, { "prediction": "I'm not sure this is the right priority.", "reference": "The PR description says the lowest on-demand request priority is `2^30`. Why the `-1` here?" }, { "prediction": "Shouldn't this be `if (creature &&!creature->isRemoved() && creature->getHealth() < 1)`?", "reference": "checking health again? I think it is not necessary." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to log the error and log it in the log message.", "reference": "Need an `if err == nil {break}` above this line so that we don't log/sleep if the retry succeeds." }, { "prediction": "I don't think this is needed.", "reference": "to reiterate my point above, this class is not the actual provided Promise, but rather something a user can provide a Promise to/with. I think a name like `PromiseProvider` is more appropriate." }, { "prediction": "Do we even need the following any more? s.pkg.MarkTargetModified(target)", "reference": "I guess we can only call this from a post-build function, but we might need to check that this target is to be built? I guess target A depends on B which has a post build. We `plz build :B` which adds C as a dep of A. Won't we queue C to be built even though it only needs to build if A needs to be built? That's kinda why I approached this the way I did. I trust you've thought about this but would be good to understand this a bit better." }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to use `isinstance(pks, StreamSocket)` instead of `isinstance(pks, StreamSocket)`", "reference": "You should use `isinstance()` instead of comparing the class name to a string." }, { "prediction": "I don't think this is the right way to do this, but I'm not sure if it's worth it.", "reference": "Why should audio and video elements always return `false` for `isHidden`?" }, { "prediction": "Why is this needed?", "reference": "This obviously won't work for all the other platforms." }, { "prediction": "Why is this change needed?", "reference": "Isn't he diamond operator Java7+?" }, { "prediction": "I think this should be `double positive(String argName, double number, String message)` instead of `double positive(String argName, double number, String message)`", "reference": "Prefer adding a second `positive(String, double)` that delegates down to this three-param version. Using `null` in code is generally Not A Great Idea, and it looks ugly." }, { "prediction": "nit: `nextNodeId` -> `nextNodeId`", "reference": "This pattern, where we add a new parameter without using it, often indicates to me that we've got a leaky interface or abstraction. I see this pattern _a lot_ in this patch, so wondering you have thoughts about it." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it. I'm not sure if this is the right place to do it.", "reference": "This seems like an improved pattern :)" }, { "prediction": "Line is too long. [87/80]", "reference": "`open_id_authentication` is no longer the name of the function, and it's not OpenID specific" }, { "prediction": "Please use `std::string` instead of `std::string`.", "reference": "This didn't require corresponding changes to the test case(s)?" }, { "prediction": "I think this should be `env_file_path`?", "reference": "A question! I think `string` totally works, but what do you think of `*string` for consistency?" }, { "prediction": "I'm not sure if this is a good place to put this. I'm not sure if it's a good place to put it, but I'm not sure if it's a good place to put it.", "reference": "Should this be: `aws.infrastructure.cluster.sigs.k8s.io` instead?" }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix or if it is the right fix or if it is the right fix.", "reference": "Not clear on why this change is correct." }, { "prediction": "I think this should be `true` instead of `false`.", "reference": "Hi Simon. Whether this should return true depends on what byte buffers are used? The same applies to ByteBufferIndexInput, actually... I don't think you can generally tell whether the ByteBuffers the input operates on come from a mmap call or from somewhere else (even direct buffers don't have to be a result of mmap)." }, { "prediction": "I think this should be `padding: 0`.", "reference": "All stories in this file also need to have the default padding." }, { "prediction": "I'm not sure this is the right fix. ` wl_list_remove(&sibling->parent_pending_link);`", "reference": "I don't think these asserts are necessary, because `subsurface_find_sibling` already searches in the parent. Or am I missing something?" }, { "prediction": "Use 2 (not 0) spaces for indenting an expression spanning multiple lines.
Prefer single-quoted strings when you don't need string interpolation or special symbols.
Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Should this be `number` instead of `id`?" }, { "prediction": "I don't think we need to do anything special here. I'm not sure if it's possible to do anything special in bindWA.", "reference": "I have forgotten why we thought this restriction is necessary. A user registers a Hive/HBase table with us but is not able to use the table with the registered name in DML. Will UPDATE STATs will be on the original name too (and update stats code will find out registered name and use it for Table_uid?). This was the registration concept is almost like an internal implementation idea, at some point could even be done by some utility program for all existing Hive/hBase tables, and the user need not be aware of it? I am struggling with a user would want to register a table, if they cannot use it by that name." }, { "prediction": "is a a a a a............", "reference": "Should most of these non-globals be static?" }, { "prediction": "Line is too long. [87/80]", "reference": "Please do not approve PRs without tests!!!!" }, { "prediction": "I'm not sure this is the right place to set the page.", "reference": "Now that you handle this in `webenginetab.py` you can undo all the changes in this file." }, { "prediction": "I don't think this is the right place to catch the exception.", "reference": "I think we should log the exception to a log file instead of printing it. The current behavior (not catching the exception) should lead to an automatic print of the exception to the terminal/console." }, { "prediction": "I think this should be `Warn(\"running the apply command failed\")`.", "reference": "These changes to the resource helpers have some more far-reaching implications as they also affect calls made in hive-operator, I believe. It's probably OK still, though. Ideally, the resource helper would not be the one doing the logging, since it cannot know the severity, but that is well beyond something that we should tackle for this PR. I would rather have the hive-operator log warnings than have the syncsetinstance controller log errors." }, { "prediction": "Why do we need to restrict the categories?", "reference": "do you really want to change the behavior on foreign key?" }, { "prediction": "I don't think this is correct. The `event_publish_state` calls `event_publish_state` and `event_publish_state` calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state`, which calls `event_publish_state", "reference": "Looks like my bad. Thanks for fixing!" }, { "prediction": "I'm not sure if this should be `None` or `True` depending on whether or not to replace variables.", "reference": "I think \"Don't replace variables...\" would be cleaner." }, { "prediction": "`objects` is not used anymore, please remove it.", "reference": "Do you validate the possible strings? I've not read the code below but we should make sure if a string is supplied it is validate..." }, { "prediction": "I think we should rename these variables to `generateDataDiskName`.", "reference": "I'd recommend using generateDataDiskName here as well -- might as well benefit from the safety that it gives to protect yourself from future changes to w.ID()." }, { "prediction": "I'm not sure if this is the right place for this method. It seems like it should be called `pos()`.", "reference": "qq: do we want to include anything in the name to indicate that it is a position in the manifest?" }, { "prediction": "Is there a reason to not resume the `Compositor`?", "reference": "These logs should probably use the `LOGTAG`" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "From this, it was clear, that we are using our version of wireguard-go. And now it looks like we are using original packages which is confusing." }, { "prediction": "Nitpick: `e.Message` should be `e.ToString()`.", "reference": "Any particular reason for this? This potentially will make harder to investigate users issues" }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to check `closestConnection` and `localConnection` separately.", "reference": "Do you also need to check if Blockly.localConnection_ is non-null?" }, { "prediction": "I'm not sure if this is needed.", "reference": "Not really a container, and it's not just about non-config data, not sure of a better description, @myronmarston?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if it's a good idea to put this in a separate file.", "reference": "The desktop app will load this fine. on iOS I get `TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[8], \"stream\").Readable.Readable')` if I change it to `const Readable = require('stream').Readable;` or `const { Readable } = require('stream');` I get undefined errors from the stream on iOS: `[TypeError: stream.on is not a function. (In'stream.on(\"data\", function (chunk) { return chunks.push(chunk); })','stream.on' is undefined)]` What am I missing?" }, { "prediction": "I'm not sure this is the right place to do this. I think it should be `make([]byte, len(ch.Data()))` instead of `make([]byte, len(ch.Data()))`", "reference": "this is needed since the chunk feeder shares memory across calls to the pipeline. this is in order to avoid multiple allocations. this change mimics the behavior of shed and localstore, and copies the data from the call into the in-memory store" }, { "prediction": "I'm not sure if this is the right place to set global tracer. I'm not sure if this is the right place to set global tracer.", "reference": "wut. We can do this at the beginning of tests if we want right? Why are we depending on init?" }, { "prediction": "I'm not sure if this is the right place to unlock the lock.", "reference": "Same trick here IMO." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "Should be `@origin = element || origin || POINTER`" }, { "prediction": "I think we can remove the `if options.cstorSPC.spcName!= \"\"` part.", "reference": "this example needs a fix?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "Is it safe to assume this surface is a toplevel?" }, { "prediction": "Why not just `return new projCtx_t(*ctx);`?", "reference": "we don't need that function" }, { "prediction": "This should be `MAC(\"mac\", \"darwin\", \"os x\")`, not `MAC(\"mac\", \"darwin\", \"os x\")`, `SNOW_LEOPARD(\"snow leopard\", \"os x 10.6\")`", "reference": "we'll also have to think about adding \"Windows Server 2014\" or whatever they come up with later." }, { "prediction": "I think it would be better to rename fetchActiveFlowByExecId() to fetchFlowByExecId(int execId)", "reference": "curious do we have an API to fetch an inactive flow?" }, { "prediction": "I'm not sure why this was removed.", "reference": "This branch is not needed anymore because every `vnode` that passes through `h` in compat or core will have the `$$typeof`-property now." }, { "prediction": "nit: `return el.getAttribute('aria-hidden') === null? true : el.getAttribute('aria-hidden')`", "reference": "Did you mean to use `hasAttribute`? You shouldn't. This does not improve performance and it messes with the readability." }, { "prediction": "I think this should be `QObject` instead of `QObject`.", "reference": "Please import modules and not classes (except for Qt stuff)." }, { "prediction": "Why not just call `super.setImage(image)`?", "reference": "Hm... why do we have a \"DummyJavaNode\" in src/main? Looks like, this should have gone into src/test...." }, { "prediction": "I'm not sure if this is the right place to put this package.", "reference": "This seems meaningless. If we cannot add any info let us remove this." }, { "prediction": "I think this should be `c.Ports` instead of `c.Ports`", "reference": "Can you rename `Ports` to `PortsUnsafe`?" }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if this is the right place to put this in.", "reference": "This feels like it could be moved out to your first gem!" }, { "prediction": "I'm not sure if this is the right place to put this method.", "reference": "The expected behaviour for `poll` would be to match what `Deque` does, which is: > Retrieves and removes the head of the queue represented by this deque As such, you shouldn't need the `RequestId` here." }, { "prediction": "`xaxe.utils.uniqueArray` is not a function. You should use `xaxe.utils.concat` instead.", "reference": "This is super minor, but it'd be nice if this iterated over an arbitrary number of array inputs." }, { "prediction": "I'm not sure this is the right fix. The problem is that `readlink()` will fail if `path_buf` is NULL, but `readlink()` will fail if `path_buf` is NULL. I'm not sure if this is the right fix, but it seems to be the right fix.", "reference": "What is the problem here? The commit message has strange wording \"readlink is defined with restrict pointers\": do you mean \"restricted\"? Is that a well-defined language term? I'm not sure what it means." }, { "prediction": "I think this should be `ImmutableSet`.", "reference": "Why are we not wrapping here?" }, { "prediction": "Why do we need to pass null?", "reference": "I though that all data objects are being unified in the fashion where all default values are initialized in constructor, are not they?" }, { "prediction": "Can you revert this change?", "reference": "Does this file actually need to be committed to git? Having to run `make generate` is rather tedious on each PR and it conflicts easily." }, { "prediction": "I think we can remove the `cfg.JSONKeyPath == \"\"` check as well.", "reference": "We don't need this anymore, as Google's library handles various auth mechanisms for us. We'll be less explicit about why we're failing but we gain support for several authentication methods- swings and roundabouts!" }, { "prediction": "I think this should be `gpus` instead of `gpus`", "reference": "No need to speficy attribute here. Moreover in yaml it is default to use lowercase names." }, { "prediction": "I think this should be `using System.Linq;` instead of `using System.Net.Http;`", "reference": "In general I'm a trying to understand the reason behind this PR. Looks like if a blob (name) already exists we check if the contents are identical? In what scenarios this is not the case? When we want to publish a package/asset that has changed but still we want to use the same version?" }, { "prediction": "I think this should be `req.add_header('User-Agent', 'Forseti blacklist rules engine agent')`", "reference": "Can rename `req` to be `opener`, since that is the object, and it wraps `req` internally?" }, { "prediction": "I think this should be `breakpoint=attrs.get(\"breakpoint\")`", "reference": "@MichaelDCurran, thoughts on adding a breakpoint format field attribute? It seems almost app specific, but I guess it does seem odd abusing line-prefix. Is there any more generic concept here?" }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure if it's the best way to do it. I'm also not sure if `_w3c` is the best way to do this, so I'm not sure if it's the best way to do it.", "reference": "This would return a tuple of two dictionaries. You need to combine them and return a dictionary" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "What do you think of moving the example to the help text of the prompt? and the prompt itself can be \"What is your application's GitHub repository URL?\"" }, { "prediction": "Can we use a constant here?", "reference": "Break out tests for events into their own tests rather than placing them in other ones. That makes it easier for us to figure out where problems lie and to do a TDD-driven implementation over new APIs." }, { "prediction": "I'm not sure why this is needed.", "reference": "Nice use of std::distance. I'm a bit worried about first += 9 though." }, { "prediction": "I think this should be part of `prometheus-operator`", "reference": "Shouldn't this be `app.kubernetes.io/managed-by` as prometheus-operator manages this resource, but this resource isn't a part of prometheus-operator?" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "As long as we're being extra-vigilant about NREs, should we check that `httpMethod` and `requestUri` are not null?" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if it's the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "No need to have `xrc20` alias" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "the naming convention I'm been adopting if `_type` for instances of these classes. So maybe `context_config_type` is a better name for this fn" }, { "prediction": "I think this should be set to `true` by default.", "reference": "Don't call it GPU mining, call it `externalMining`, here and throughout." }, { "prediction": "I think this should be `imageMaxWidth` and `imageMaxHeight` instead of `imageMaxWidth`, `imageMaxHeight` and `imageQuality`.", "reference": "`within this with` typo, should be `within this width`" }, { "prediction": "I don't think we need this. The `k8s:openapi-gen=true` flag is only used by the `prometheus` package, so we don't need it here.", "reference": "how come this is false?" }, { "prediction": "I'm not sure this is the right thing to do here, but I think it would be better to check for `typeof(obj)!== 'undefined'` and throw an error if `typeof(obj)!== 'undefined'` and `typeof(obj)!== 'undefined'`.", "reference": "How about `Object.prototype.toString`? Or using the `typeof` operator?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I know @jzila suggested this, but I disagree: you're really not supposed to save a context in a struct. Can you get by with just saving the `Done()` channel instead? The `ctx` should continue to be passed around explicitly." }, { "prediction": "I'm not sure this is the right place to remove the `isDarwinMono` variable.", "reference": "This check isn't right though." }, { "prediction": "I think this should be `String.valueOf(codeGenVersion())`", "reference": "maybe `toolkitVersion` instead? It doesn't necessarily have to be called that in the generated code, but in the view model classes, I think it makes it clearer that it is the version of toolkit itself." }, { "prediction": "I'm not sure this is the right place to store the response object, but I'm not sure if this is the right place to store the response object. I'm not sure if this is the right place to store the response object.", "reference": "the response data was added intentionally in #612, i think we could keep the `setFileState` stuff here as a special case, at least for now" }, { "prediction": "I'm not sure this is the right fix. `time.Until(deadline)` returns a `time.Now()` and `time.Since(deadline)` returns a `time.Now()` and `time.Since(deadline)` returns a `time.Now()` and `time.Since(deadline)` returns a `time.Now()` and `time.Since(deadline)` returns a `time.Now()` and `time.Since(deadline)` returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `time.UtcNow()` which returns a `", "reference": "This isn't really easy to read." }, { "prediction": "I think this should be `%q` instead of `%s`", "reference": "This line changed due to go formatting. Format was not there earlier." }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be better to have the `From` and `To` fields in `NewStaticUpstreams` instead of `From` and `To` fields in `NewStaticUpstreams`.", "reference": "The name \"Without\" in code is a little nebulous. Maybe something more descriptive like TrimPrefix or StripPrefix or WithoutPathPrefix or something like that. (Thoughts?)" }, { "prediction": "I'm not sure this is the right way to do it. I think it would be better to use `UtilIT.linkDataset(datasetPid, dataverse2Alias, superuserApiToken)` instead of `UtilIT.linkDataset(datasetPid, dataverse2Alias, superuserApiToken)`", "reference": "is this test in the move tests? I see what you mean then - it works, but I wonder if we won't lose track that it's being tested here." }, { "prediction": "I think this should be `Optional[string]string` instead of `Optional[string]string`.", "reference": "I'm not sure if this wanted to be `json:\"tags\"` (which I'd set in my PR) or `json:\"tag\"` that someone elses PR had set. Given that the rest of the fields had their JSON field name set to the same as the struct field name, I opted for `tags`." }, { "prediction": "Line is too long. [83/80]", "reference": "since the logic here and in `Proposal` is exactly the same, do you think it makes sense for us to include it elsewhere? I am not opposed to duplicated code when it makes sense, but the reason I first identified this was that I was looking for code in NCR::WorkOrder that was not specific to Work Orders. Seems like fiscal year logic might be helpful for reporting for other clients. In that case, we'd want this scope on those client data classes as well. Might be wrong to include this in the FiscalYear mixin, but it does seem like it should be outside of Proposal and WorkOrder. Does that make sense?" }, { "prediction": "I'm not sure this is the right place for this. I think it should be `on_connection_closed` instead of `on_connection_closed`.", "reference": "there is no static method as a go between -- how does this work?" }, { "prediction": "I don't think we need this class, since it's only used in tests.", "reference": "Can you please change the name of this class to be something else?" }, { "prediction": "(style) please, no space before tabs", "reference": "I think we might prefer generalizing the interface rather than creating an exception. Current design of `h2o_next_token` assumes the input to be a comma-separated list, and allows the caller to specify a different separator when parsing a nested list. As I understand, what we are trying to attain in this PR is to have a way of parsing a flat list of semicolon-separated list. Assuming that is the case, I think it would be better to change the API of the function to accept two separators (i.e. inner and outer), where for our existing use-cases `outer` would be `,`." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "why not recycling? I Lru cache now recycling?" }, { "prediction": "I don't think we should change the logic here. We should only change the logic if the payment version is v2 or v3.", "reference": "Why it is now called `PaymentVersionV3`?" }, { "prediction": "I think this should be `klog.V(4).Infof(\"there are %d nodes need to sync secret, operation: %s\", len(nodes), e.Type)`", "reference": "changed for debug purpose?" }, { "prediction": "I think this should be `protected override void OnEnd(T data)` instead of `protected override void OnEnd(T data)`", "reference": "@cijothomas I needed a way to set the Exporter.ParentProvider when the Processor's gets set. Internal to SDK though." }, { "prediction": "I'm not sure this is the right way to do it, but I think it would be better to do it like this: `if (from_motorway && (node_based_graph.GetEdgeData(eid).flags.road_classification.IsLinkClass()))`", "reference": "Talking through this scenario with @srividyacb and she's wondering if there should also be a check of `(from_trunk && node_based_graph.GetEdgeData(eid).flags.road_classification.IsLinkClass())` as highways with trunk classifications can also have this scenario." }, { "prediction": "Align the parameters of a method call if they span more than one line.", "reference": "where does `master_certname` come from?" }, { "prediction": "why do we need to import HRNet here?", "reference": "The line breaking is unnecessary." }, { "prediction": "I don't think we need to change this line.", "reference": "why not enable split by space here?" }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if this is the right fix or if it's the right fix or if it's the right fix.", "reference": "Shouldn't the operator be &&?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be better to have this method return the snapshot name, not just the host name. It's a bit of a nitpicking, but it's a bit of a nitpicking, so it's a bit of a nitpicking, but it's a bit of a nitpicking, so it's a bit of a nitpicking, but it's a bit of a nitpicking, so it's a bit of a nitpicking, but it's a bit of a nitpicking, and it's a bit of a nitpicking, so it's a bit of a nitpicking, but it's a bit of a nitpicking, so it's a bit of a nitpicking, so it's a bit of a nitpicking, but it's a bit of a nitpicking, so it's a bit of a nitpicking, but it's a bit of a nitpicking, so it's a bit of a nitpicking", "reference": "My best guess is that you want to use host.name in these parts to get the name of the host?" }, { "prediction": "Why is this removed?", "reference": "IMO this edge case handling could remain here, just instead of overwriting the `n.nodeType`, the `makeEdgeType` method of `n` should be called, so `n.nodeType = nodeTypeEdge` -> `n.makeEdge()`" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Just wondering... The two kinds of notifications are now quite different (Channel, text, maybe even icon). Would it make sense to extract the auto download notification to a new class instead of handling everything in the existing `notificationManager`? I have not checked if this will lead to a lot of code duplication, though." }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if this is the right place to put it.", "reference": "Do we need to put this on the Call? We only need the API communication between the Encoding and the Transports which is currently done through the Transport.Request. The Call is used by users right?" }, { "prediction": "I'm not sure if this is the right place to put these functions in `webapi/v1/webservice/v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v1/webservice_v2/webservice_v2/webservice_v2/webservice_v2/webservice_v1/webservice_v2/webservice_v2/webservice_v2/webservice_v2/webservice_v2/webservice_v2/webservice_v2/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v3/webservice_v", "reference": "`ctx` is unused in GenerateAPIKey" }, { "prediction": "I think this should be `log.Fatalf(\"cfg %s\", cfg)`", "reference": "Can you judge the type of error?" }, { "prediction": "I think this should be `data = np.diff(data)/2.astype(np.float)`", "reference": "Much simpler than a weird and confusing ``convolve`` call!" }, { "prediction": "I think this test should be changed to `expect(Suspender1.prototype.render).to.have.been.calledTwice;`", "reference": "Huh, this seems weird to me... Surely the suspenders render was called again in order to get the new `
Hello second 2
` output... Imma take a peak at these tests to understand what's going on" }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if it's a good idea to put this method in the ApplicationController, but if it's a good idea to put it in the ApplicationController, I think it's a good place to put this method in the ApplicationController.", "reference": "Since this is just a helper function to create text, perhaps this could live in a helper? I noticed that we have a few other error/message creators in the application controller as well, but I think this type of function should be re-factored to be part of a helper." }, { "prediction": "I think this should be `msg-template=[{msg_id}]` instead of `msg-template=[{msg_id}]`", "reference": "Will this mess up parsing the messages by other editors? (vscode, vim...)" }, { "prediction": "This change is unrelated to this PR.", "reference": "Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I think this should be `var block = memory.Lease();` instead of `var block = _filteredStream.CopyToAsync(_socketInputStream, block).ContinueWith((task, state) => { returnedBlock.Pool?.Return(task); });`", "reference": "Why can the pool be null?" }, { "prediction": "This should be `STATE_READWRITE` instead of `STATE_READONLY`.", "reference": "It might be good to have a note here: > work-around for issue #7562 allowing us to differentiate presentational lists from interactive lists (such as of size greater 1 and ARIA list boxes). In firefox, this is possible by the presence of a read-only state, even in content editable." }, { "prediction": "I think this should be `DigraphNode`.", "reference": "This set of changes is the one part of this that I'm not completely sure is valid. Can someone look over this to make sure I got the E's right?" }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do it.", "reference": "There doesn't seem to be a reason to copy this here." }, { "prediction": "This should be `#include \"include/h2o/ebpf.h\"` instead of `#include \"include/h2o/ebpf.h\"`", "reference": "We've avoided including h2o headers in BPF programs because it's a runtime dependency. However, IIRC, this is because h2olog was maintained in the separate repository so that h2olog did not know where h2o was installed. Now h2olog can use `H2O_ROOT`, we should add it to BCC's `cflags` in order to include h2o headers in BPF programs." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "I think the docstring here should include the CLI arg `--alert.query-url` just to make it clear to users which setting this uses." }, { "prediction": "I'm not sure why we need to do this. I'm not sure why we need to do this.", "reference": "Same change just above?" }, { "prediction": "nit: I'm not sure this is the right way to test this, but I think it would be better to test that `n` and `\u043b` are the same.", "reference": "Could you check the result content rather than just the number of search results please? For example with this test if the search engine suddenly starts returning \"latin n\" for both queries, we won't know about it." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if this is a good idea.", "reference": "nit: I think that `workloadID` should suffice for this test... that's what we'd be issuing anyways" }, { "prediction": "Line is too long. [81/80]", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I think this should be `ClassNotFoundException | NoClassDefFoundError`.", "reference": "We should have a rule to detect identical catch branches" }, { "prediction": "Why are we dropping retry attempts?", "reference": "remove these from the targets file." }, { "prediction": "Why is this removed?", "reference": "now that we have the signature in the hive messages, it might be that this must be drastically reduced, since there are limits on the protobuf reader/writers i believe" }, { "prediction": "I think this package should be `google-api-python-client` instead of `1.6.3`", "reference": "I recommend that we move this to be optional, as other users might not need it. Can you look at `OPTIONAL_PACKAGES` section, around line 68?" }, { "prediction": "Please don't use wildcard imports.", "reference": "I usually set idea to never use wildcard import such as `import java.util.*;` Now i use setting from javaslang standard." }, { "prediction": "Use the new Ruby 1.9 hash syntax.
Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Where is host['ips'] coming from?" }, { "prediction": "Why did you remove this?", "reference": "oh! missed a `:` here; let me fix that; also can get rid of the intermediate variable" }, { "prediction": "Line is too long. [87/80]", "reference": "Is this necessary?" }, { "prediction": "I'm not sure if this is a good idea to import `LoginModal` from `components/Login`.", "reference": "I'd create a different method for each render section." }, { "prediction": "I don't think this is a good idea. If we're not going to do this, we should probably just remove the `isReverted` field from the `EstimateGasOperationTracer` and just set it to `false` in the `EstimateGasOperationTracer` constructor.", "reference": "Instead of storing the revert flag in the tracer is it possible to use org.hyperledger.besu.ethereum.mainnet.TransactionProcessor.Result#getRevertReason? (via org.hyperledger.besu.ethereum.transaction.TransactionSimulatorResult#getResult)? If a TX reverts without a reason do we get an empty revert reason or a revert reason with zero bytes?" }, { "prediction": "nit: can we rename `createReaderFunc` to `createReaderFunc(SparkOrcReader::new)`?", "reference": "I think this should test with and without container reuse if that is implemented in this PR. Probably just make this test parameterized." }, { "prediction": "I'm not sure this is the right place for this.", "reference": "These modifications allow BaseFile to translate into a SparkRow with the specID as a column" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if `typeof readPreference ==='string'` is the right thing to do.", "reference": "is this something we've been missing this whole time?" }, { "prediction": "I'm not sure if this is a good default, but I'm not sure if it's a good default, or if it's a good default.", "reference": "nit: this is a package-wide constant so better to narrow the scope like `allEventsSign`." }, { "prediction": "I don't think this is necessary. The viewer server should be able to generate the authentication interface files.", "reference": "There seems to be some repetition. Does a local function make this code shorter overall?" }, { "prediction": "I think this should be `isHydrating = false;` instead of `isHydrating = false;`", "reference": "Might be cheaper to reuse the `null` assignment of line 313 and set `isHydrating` to null instead WDYT?" }, { "prediction": "Why is this removed? I don't see any usages of `clientMethodName()` in this class.", "reference": "Revert this blank line" }, { "prediction": "I think we should use a different name for these, like `tests.hdfs.numdatanodes` and `tests.hdfs.blockcache.blocksperbank` and `tests.hdfs.numdatanodes`", "reference": "This was introduced recently for the Hadoop 3 upgrade. Copy/paste error but definitely causing some of the new test failures." }, { "prediction": "Metrics/LineLength: Line is too long. [83/80]", "reference": "I think we should only need to do this for `:approve` since we are using `authenticate_user!` for all other actions and that checks for disabled client" }, { "prediction": "I'm not sure this is the right assertion.", "reference": "I wonder if we should create new tests for header checks; here for instance we're mixing querystring and headers. Thoughts?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "We should be able to add sensitive by hard-coding the parameters, same as you put into the metadata in apply_helpers." }, { "prediction": "I think this should be `Shopsys\\FrameworkBundle\\Model\\Order\\Item\\BaseOrderItemFactory`", "reference": "Why do you think that it is necessary to create this class?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "replacing the `1` with `io.SeekCurrent` may be good here" }, { "prediction": "I'm not sure if this is the right place to put this interface. I'm not sure if it's a good place to put it.", "reference": "nit: perhaps this file would be better named `jwks_source.go`?" }, { "prediction": "Can we rename this constant to `PARAM_OVERRIDE_CONFIGS`?", "reference": "It will be helpful to specify the intended priority as well for the properties within this file." }, { "prediction": "I'm not sure if this should be a `RunFunc` or just a `Run` function.", "reference": "Make this private and update all the public functions to not take this argument. The variable you set below should also be private, then in the tests instead of passing the variable in to the function just update the variable. We don't want to expose the testing implementation in the public api if it can be avoided." }, { "prediction": "I don't think this is the right place for this file.", "reference": "Do you now why is it a specific table name is used as a default?" }, { "prediction": "Why not use `Path.Combine(Environment.GetEnvironmentVariable(\"HOME\"), \"myagent/_work/_temp\")`?", "reference": "If all you're doing is checking for the existence of a directory as your \"temp\" directory, why does it matter what OS you're on?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "nit- would be cleaner to import it once" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "Looks like there is a closing parenthesis `)` missing here." }, { "prediction": "I'm not sure this is the right fix. The `sprintf()` function is supposed to print the number of characters in the string, not the number of characters in the string.", "reference": "this one bothers me. There are many places where this one is written to for an error message and just a single callsite is changed." }, { "prediction": "I think we should use `mockMdserv.EXPECT().FastForwardBackoff().AnyTimes()` instead of `AnyTimes()`", "reference": "You can put this in `kbfsOpsInit()` in you want, so we don't have to call it in every test." }, { "prediction": "I think this should be `assert(!is_64, \"DRX_COUNTER_64BIT is not implemented for ARM_32\");`", "reference": "`ARM_32` is what clients define as an input to DR, and is not always defined internally: we use just `ARM` to mean AArch32." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "s/for use/to use for/" }, { "prediction": "I think this should be `$event->getAvatarFilename()->getValue()` instead of `$event->getAvatarId()->getValue()`", "reference": "` $event->getAvatarFilename()` this function return `string` or `null`. In this place ` $event->getAvatarFilename()->getValue()` return `Fatal error `" }, { "prediction": "I don't think we should be exposing this as a service error. We should be exposing it as a service error.", "reference": "why not creating a new error type for server's own resource limit exceed error and do conversion within rpc interceptor?" }, { "prediction": "I'm not sure if this is the right way to do this.", "reference": "Could be a timing thing here. When options are created they'll copy the ref for the current default propagator. If user sets through SDK the global propagator after that, it won't be reflected. Could leave it null here and then when it is used in instrumentation do `options.Propagator?? Propagators.DefaultTextMapPropagator`. It would be a slight perf hit but it makes it hot-swappable." }, { "prediction": "Why is this removed?", "reference": "Unrelated file. Please remove from PR." }, { "prediction": "I think this should be `Access-Control-Allow-Origin: *` instead of `Access-Control-Allow-Origin: *`.", "reference": "Careful: you only want two newlines after the final header message. (That indicates the end of headers and the start of data.)" }, { "prediction": "I'm not sure this is the right thing to do here, but I'm not sure it's the right thing to do here.", "reference": "This will not work on Python 3 (to which we are transitioning) because `.content` is bytes, not a str. Can you make the pattern a bytes object as well (like so: `b\"pattern\"`)?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if it's the right way to do it. If it's the right way to do it, let me know.", "reference": "This was to allow the tests to pass when the order of the required was different. Silly, but we don't have an easy way to check for \"equal but order doesn't matter\" in chai." }, { "prediction": "I don't think this is the right way to do this.", "reference": "maybe say \"returns the default cost method that returns an object of cost 1\"." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "I believe these rules will be enforced both (1) on egress from a local workload, and (2) on ingress **to** a local workload. Right? I understand that we definitely want (1), but do we really want to enforce (2) as well?" }, { "prediction": "I don't think this is the right place to put the response as a string.", "reference": "Use `response.asJsonObject()` instead. Also, use `put()` instead of `putOpt()`, `null` as a value is fine." }, { "prediction": "Is there a reason why we don't use `is(':visible')` here?", "reference": "Are you sure? We've changed it during an introduction of the IME support." }, { "prediction": "I think this should be `if (null!== $dqlFilter) {`", "reference": "I think here we want the use of `empty()` to take care of empty strings. If you put `dql_filter: ''` in your YAML config... this will add `->andWhere('')` and it will fail, right?" }, { "prediction": "I'm not sure this is the correct error message.", "reference": "this is golang's named return, err is defined, `return` is equivalent to `return err` the current code has no problem" }, { "prediction": "I think this should be `(out, out)` instead of `(out, out)`.", "reference": "I don't think this is right; in Rust terms it's like a `&mut String`, in Java `StringBuilder` - it's not a return value from the function which is what `(out)` is for." }, { "prediction": "I think this should be `labels >= 0 & (labels < label_channels)).squeeze()`", "reference": "If the label is not binary, should we rename this function?" }, { "prediction": "I think this should be `cur_path + File.separator` instead of `FileServer.getFileServer().getBaseDir()`", "reference": "This is very-very bad idea because of its performance impact" }, { "prediction": "nit: remove empty line", "reference": "WHY U NOT SORT IMPORTS?" }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be `sign_in_as(user)` or `sign_in_as(user, email: user.email, password: user.password)` or `sign_in_as(user, email: user.email, password: user.password)` or `sign_in_as(user, email: user.email, password: user.password)` or `sign_in_as(user, email: user.email, password: user.password)`", "reference": "Put a comma after the last item of a multiline hash." }, { "prediction": "Why do we need to import Dimensioned here?", "reference": "How come we need ``Dimensioned`` in the top-level namespace?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "excess whitespace through plugin." }, { "prediction": "I'm not sure if this is correct. The range should be defined as `std::size_t { 0 }, geometry_size`.", "reference": "What is the problem here? I feel we used this in a lot of places." }, { "prediction": "I'm not sure if this is the right way to do it.", "reference": "Update the docstring." }, { "prediction": "Why is this needed?", "reference": "delete the empty line \"github.com/pkg/errors\" should be grouped with other third party packages same for the rest" }, { "prediction": "Why is this needed? I think it should be `ImmutableCapabilities.of(capabilities)`.", "reference": "Assigning capabilities to the field here is not the best idea. Semantically this field contains the capabilities returned by the browser after session start. So here we sould better amend capabilities and return them from `init` method to pass later to `startSession` method (that will assign the capabilities returned by the browser to the field)." }, { "prediction": "I'm not sure if this is the right place to remove this method.", "reference": "Is this a breaking change, or is the API private?" }, { "prediction": "I don't think you need to do this. You can just do `test_data = pd.read_json(\"./dumps/courseData.json\");`", "reference": "I don't think we need this dependency in this project right now" }, { "prediction": "I don't think this is needed.", "reference": "I don't think this is necessary since `CommonLabels` is a public func and every component name is also public constant." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if `puppet` or `python3` is the right thing to do here.", "reference": "The `_example` field should be updated to include an interpreter with an array value." }, { "prediction": "I'm not sure if we should update the above map, also update sslProtocolToStringMap in caddyhttp/fastcgi/fastcgi.go in caddyhttp/fastcgi/fastcgi.go", "reference": "Put this in the godoc of SupportedProtocols instead. Preferably we would just use one map though. Why not just use this one?" }, { "prediction": "I'm not sure if this is a good idea to change the name of the CronContainer to something like `name` or something like that.", "reference": "I'd feel a little safer if the first argument were a string, not a *string unless there's a particular reason for making it a pointer." }, { "prediction": "I think this import should be removed.", "reference": "Can you please revert changes to files in the `thoughtworks` package? This is legacy code and we will eventually phase out RC." }, { "prediction": "I think this class should be renamed `SessionMap`", "reference": "You can safely revert changes to this file." }, { "prediction": "Can you remove this blank line?", "reference": "This deletion is unnecessary." }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to use `typeof smallImage ==='string'` instead of `typeof smallImage ==='string'`", "reference": "I'm not a huge fan of this overloading of the prop; accepting very different types of arguments for props like this can be confusing, and wasn't part of the IB. I understand wanting to import the SVG directly, but the IB suggests using `${global._googlesitekitLegacyData.admin.assetsRoot}${userInputSuccessImage}` as the `src`/`smallImage` value here. It'd be great to refactor this to accept components directly in the future, but let's do that all-at-once rather than this hybrid approach that makes the API less clear." }, { "prediction": "Please use `import java.util.*;`", "reference": "I've had this happen recently with IntelliJ, was this intentional?" }, { "prediction": "I think this should be `unordered_map SubscribeToRegistrationEvent(identityAddress) returns registeredEvent chan of type (RegisteredEvent not int), Unsubscribe func(), error (in case of any error). That way caller can always cance subscription if needed and check for any errors. Also - unsubscribe function hides any internal details how subscribtion is really implemented" }, { "prediction": "I think this change should be reverted.", "reference": "`.wav`?! cannot we use something slightly more modern and compressed instead? :) I dunno, like `.mp3` or `.aac` or `.ogg`..." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "Wouldn't a single signal call be enough? (without the boolean even)" }, { "prediction": "Use the new Ruby 1.9 hash syntax.
Space inside { missing.
Space inside } missing.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "I suspect that this whole block, which is going to be repeated a number of times, should probably be in a helper. I guess it would need to be given the object and the title and could probably figure out everything else from that?" }, { "prediction": "I don't think this is the right way to do this. The `PathResolver` class should only be used to resolve paths in this block, and the `PathResolver` class should only be used to resolve paths in this block, and the `PathResolver` class should only be used to resolve paths in this block, and the `PathResolver` class should only be used to resolve paths in this block, and the `PathResolver` class should only be used to resolve paths in this block, and the `PathResolver` class should only be used to resolve paths in this block, and the `PathResolver` class should only be used to resolve paths in this block, and the `PathResolver` class should only be used to resolve paths in this block.", "reference": "Should we expose this attribute in the Asciidoctor.js API?" }, { "prediction": "`Objects.equals` is not supported in Java 8", "reference": "I think contains on `Multimap` was broken - it should return true if one of the values is associated with the key? It that right" }, { "prediction": "I don't think this is a good default, but I think it's a good default.", "reference": "delete this line" }, { "prediction": "I think this should be `return if!conn.table_exists? \"test_client_requests\"`", "reference": "Presumably we no longer need `force: true` here." }, { "prediction": "I think this should be `hipErrorInvalidValue` instead of `hipErrorSuccess`.", "reference": "HIP runtime is compiled using a C++ compiler. So comparison to both NULL as well as 0 does not make sense. Just comparing to NULL is sufficient." }, { "prediction": "I'm not sure if this is a good idea. We don't want to send any additional parameters to the user, but instead just send the help text to the user. I'm not sure what the best way to do this is.", "reference": "these urls are still in `a` tags so we should probably include these links separately for a non-HTML version" }, { "prediction": "I'm not sure if this is the right place to put this lock.", "reference": "That's fine though, meaning that you can send to this channel under the server lock. The internalSendLoop will pick up the change when the server lock is released (if loop is blocked trying to grab the server lock). Even the way you do it here (releasing the lock, sending, then reacquiring) does not guarantee that the internalSendLoop will have time to refresh in that interval." }, { "prediction": "Can we rename this to `ENABLE_DOWNLOADING_CAPABILITIES`?", "reference": "The name `enableDownloading` implies this is a boolean capability. How about `downloadDir`?" }, { "prediction": "I think this should be `@Deprecated` instead of `@Deprecated`.", "reference": "Found one internal team is using this method. Will coordinate with them about the migration solution." }, { "prediction": "This should be `TracerSettings.HttpServerErrorCodes` instead of `TracerSettings.HttpClientErrorCodes`", "reference": "The field `HttpServerErrorCodes` should be called `HttpServerErrorStatuses`" }, { "prediction": "I don't think we need to add this file to the `cloud/sdk/v1` directory. We should be able to remove it from the `cloud/sdk/v1` directory and just use `cloud/sdk/v1` in the `cloud/sdk/v1` directory.", "reference": "Can you please make each of these in a separate line. It will be easier to keep them sorted, and add/remove." }, { "prediction": "I don't think this is the right place to do this, but I think it would be better to do it in a separate method.", "reference": "should we error instead of silently ignoring the `cleanup` param? it defaults to `false`, so someone must have explicitly set it to `true`" }, { "prediction": "I think this should be `errors.New(\"archive root is not a directory\", \"expected a 'root' directory but got %v\", archive.File[0].Name)`", "reference": "There is no specific requirement that the root be called `root`, just that there is a single root directory and that it be the first entry in the zip." }, { "prediction": "I'm not sure if this is the right place to put this check, but I think it would be better to put this check in `user_profile_warning.html.erb`.", "reference": "perhaps we should encapsulate this logic in a helper method w a test?" }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like it should be in the `beaker/options` directory, not `beaker/options` directory.", "reference": "Now that we're only using this repo as a Gem you shouldn't need to `require` an expanded local file path like below." }, { "prediction": "I think this should be `long.valueOf(granularity.between(EPOCH, timestamp)).intValue()`", "reference": "This isn't necessarily a year. It may be months, days, or hours. Can we return `intValue()` directly instead?" }, { "prediction": "I think we should remove the `containerName` and `RuntimeID` from the message.", "reference": "this is redundant because it gets logged immediately on entering the handleContainerChange function" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "`ds.GenericDeploymentConfig.DeploymentNotification` in L128 is nullable." }, { "prediction": "I think this should be `final`", "reference": "this shouldn't be exposed here - this class isn't a carriage for this - its used internally to determine if/how we can mine." }, { "prediction": "I think we should keep this as `Require.nonNull(\"Path\", path)`", "reference": "It's fine to leave these checks in. It'll make the exception come from `FirefoxDriver`, and that's probably clearer to a user." }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be good to add it to the `IntegrationSpecHelper` as well.", "reference": "We don't want to include the `IntegrationSpecHelper` for models...mind moving this line out of the loop to be `config.include EnvironmentSpecHelper, type: :model`?" }, { "prediction": "Why not just use `os.Chmod(file.Name(), 0666)`?", "reference": "Please check the return on these." }, { "prediction": "I'm not sure if `uplink.config.cache` is the right thing to do here. I'm not sure if `uplink.config.cache` is the right thing to do.", "reference": "Do we need `==` for true?" }, { "prediction": "I think this should be 0.0001. The momentum used for updating ema parameter. Ema's parameter are updated with the formula: `ema_param = (1-momentum) * ema_param + momentum * cur_param`.", "reference": "Changing the default value may cause BC-breaking. Suggest changing this value in config." }, { "prediction": "Why not just `slider_pos = int(slider_pos)`?", "reference": "how does that happen?" }, { "prediction": "I'm not sure if this is the right place to import `exec_`", "reference": "This is gross/clever. :-)" }, { "prediction": "This test was failing because `TestZhCnLocale` wasn't being used.", "reference": "Take a look at the name of this file. Definitely copy and" }, { "prediction": "I think this should be `util.ServerUnavailable` instead of `util.PageNotFound`", "reference": "Can you check with @mahebbar how to work this error. Should be different from 404." }, { "prediction": "I think this should be >=3.5", "reference": "Do we still need the upper bound `<3.9`?" }, { "prediction": "Why not use `dirname(__DIR__). DIRECTORY_SEPARATOR. 'bin'. DIRECTORY_SEPARATOR. 'psalm'` instead of `dirname(__DIR__). DIRECTORY_SEPARATOR. 'bin'. DIRECTORY_SEPARATOR. 'psalter'`?", "reference": "Does this mean `vendor/bin/psalm` is not a symlink (or whatever equivalent Windows has for symlinks) on Windows?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "@lpabon having a separate package name `aws_test` allows to test the package as if the tester was an external package. If the test package name is the same as the package being tested, the test package can also use methods and variables not exposed to the eventual user." }, { "prediction": "I'm not sure why this was removed.", "reference": "The exporter should still be able to test these histogram instrument kinds, right? Is there another reason to remove these?" }, { "prediction": "Why not just set `eval.totalTxBytes = 0`?", "reference": "should this increment eval.Round somehow?" }, { "prediction": "Line is too long. [82/80]", "reference": "Although this change looks good. Maybe there are other inconsistent cases too?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "This is a way better method name." }, { "prediction": "I'm not sure this is the right place to redirect to root_path, but it seems like we should be able to redirect to `welcome_to_upcase_path` if we want to redirect to `welcome_to_upcase_path`.", "reference": "Prefer single-quoted strings when you don't need string interpolation or special symbols." }, { "prediction": "I don't think we need to do this. `options` is an object, not an array. `options` is an object, not an array. `options` is an object, not an array.", "reference": "I was wondering if this should allow per role specification, instead of (or in addition to) a generic \"allowed everywhere\". So you could do: `{ separator: ['aria-valuenow', 'aria-valuemin', 'aria-valuemax'] }`. You could still allow the array, and you could add a wildcard option for the \"generic\" case you've got now: `{ '*': ['always-allowed'] }`." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "I'm confused by the name. The string was a Hive string but it isn't any longer? Why should we care? (I imagine I'll find the answer later... there is some different semantic that we want downstream...)" }, { "prediction": "Please use `*` instead of `//`.", "reference": "Could you please leave the explicit imports?" }, { "prediction": "I think this should be `iproto` instead of `proto`.", "reference": "Why need alias?" }, { "prediction": "I'm not sure why this is needed.", "reference": "Shouldn't this be a `libfs.nullIDGetter` (exported, of course)?" }, { "prediction": "I think this should be `%s: logicsig program size too large: %d > %d`", "reference": "I dislike the messages.go pattern; the strings are only used once and make more sense in context. The other two added reportErrorf() calls in clerk.go have inline strings." }, { "prediction": "I'm not sure this is the right place to remove this.", "reference": "Seems we don't need it anymore." }, { "prediction": "Line is too long. [87/80]", "reference": "This might cause problems with the weird way we publish Guidance and Groups in the UI. We will have to make sure that UAT is thorough." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a `NewExportPipelineWithOldController` function that returns a `*push.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that returns a `*export.Controller` that", "reference": "this default needs to be on order 1 minute, I'm not sure why we defaulted to 1 hour below..." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "I figure to make `{env.*}` work, right? I can't think of any other placeholder that makes sense here" }, { "prediction": "Why not just use `network::NetworkUtils::getAvailablePort()`?", "reference": "Why change the port from 0 to getAvailablePort()?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "For me would be great don't repeat timeout sending in every get_locator call. Looks like it should be sent into LocatorsManager init. And possibly it should me non mandatory, something like that: `def __init__ (self, locators, timeout=60):`" }, { "prediction": "I'm not sure if this is the correct way to do this, but I'm not sure if this is the correct way to do this.", "reference": "I feel like since now we don't initiate the `opts.projectName` with `opts.ProjectName()`, which means `opts.projectName` and `opts.ProjectName()` they don't necessarily equal to each other, we need to also substitute all usage of `opts.ProjectName()` within `Ask()`, `Validate()`, and `Execute()` to `opts.projectName`. Otherwise if `-p` is set, `opts.ProjectName()` will get expired." }, { "prediction": "Nit: `bytes == null || bytes.Length == 0 || bytes == null`", "reference": "why do we thinkg that an empty string is ok to return from this method? I think the null should never be passed in here in the first place" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "nit: can remove this `else` since we return from the condition above." }, { "prediction": "Why was this removed?", "reference": "You missed `Write(...)`! I'm kidding ofc." }, { "prediction": "I don't think we need to check for `present?` here.", "reference": "Was there a customer who had this set to an empty string?" }, { "prediction": "Wouldn't this be better named `approver_email_address_aware`?", "reference": "I know we have the `reporter` spec below, but what about a unit test for this to explain reasoning behind logic? If I were going to update this decorator, I would assume it wasn't covered by tests because there is no unit test." }, { "prediction": "I think this should be `addFormData` instead of `addFormData`", "reference": "it's better to be : void attach(String name, Part part);" }, { "prediction": "I'm not sure if we should change this to throws IOException. I'm not sure if it's a good idea to change it.", "reference": "I didn't see where the IOException can get thrown, is this just to match the V1 reader?" }, { "prediction": "I'm not sure this is the right place to put this, but it seems to me that the RDKit code is only used in the `compute2DCoordsMimicDistMat()` function, not in the `compute2DCoordsMimicDistMat()` function.", "reference": "We normally suppress this warning with `RDUSED_PARAM(forceRDKit)`" }, { "prediction": "I'm not sure this is the right fix. The `mappedPlayerGuids` is a list of unique guids, and the `find` function is supposed to return a unique guid. I'm not sure if this is the right fix, but it seems to be the right fix.", "reference": "What if `Game::getPlayerByNameWildcard` had not been called before. It would not find a player, wouldn't it?" }, { "prediction": "I think this should be \"Requires Patch\" or \"Patch Required\"", "reference": "Why upper case \"R\"?" }, { "prediction": "I'm not sure if this is the right name for the method.", "reference": "Does this need to return an error or could it return `false, nil`?" }, { "prediction": "I'm not sure if this should be public, or if it should be protected.", "reference": "Can you not change those scopes in public API classes? This applies here and in other places -- protected changed to package-scope for source is not really an API-compatible change." }, { "prediction": "Why did you change the default value of `1` to `0`?", "reference": "this parameter is only used in POST, please use `getRequest()->request->get('...');` Thanks" }, { "prediction": "I'm not sure if this is the right thing to do, but I think it's better to keep the `filename` param in the `config.js` file.", "reference": "Problem number 1: Scoped packages would have a `/` character here. Changing this to `validatePackage` resolves the 403." }, { "prediction": "I'm not sure this is the right place to do this. The `new_val` should be `None` if `new_val` is `None`, and `new_val` should be `None` if `new_val` is `None`. If `new_val` is `None`, then `new_val` should be `None`. If `new_val` is `None`, then `new_val` should be `None`. If `new_val` is `None`, then `new_val` should be `None`. If `new_val` is `None`, then `new_val` should be `None`. If `new_val` is `None`, then `new_val` should be `None`. If `new_val` is `None`, then `new_val` should be `None`. If `new_val` is `None`, then `new_val` should be `None`. If `new_val` is `None`, then `new_val` should be `None`. If `new_val` is `None`, then `new_val` should be `None`. If `new_val` is `None`, then", "reference": "I don't quite get why there would be key errors: ``deep_mapped`` is a clone of ``self`` and ``k`` comes from ``self.items()`` so why would the key ever be rejected?" }, { "prediction": "I think this should be `errors.New(\"Unsupported chain\", http.StatusBadRequest)`", "reference": "this chain ID determines only from which chain to withdraw, therefore your changes do not accomplish what you want them to accomplish. You'll need changes to `func (aps *hermesPromiseSettler) Withdraw(chainID int64, providerID identity.Identity, hermesID, beneficiary common.Address) error`. The method probably has to include two chain ids: to and from. Currently, the method internally uses: `aps.config.L1ChainID` -> the chain to withdraw to `chainID` -> the chainID that was passed as the chain that the withdrawal is originating from." }, { "prediction": "I'm not sure if this is the right place to put this check. It seems like it would be better to put this check in the `ContextWithRemoteSpanContext` func.", "reference": "If instead we had `TraceContext.extract` return a bool value as a second return value, we could avoid the byte array comparison in `TraceID.IsValid`. Did you consider that alternative?" }, { "prediction": "I'm not sure if `items[type].maxItems` is the right thing to do here.", "reference": "here shouldn't we use `depotFreeLimit`?" }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to put it in the `bookmarks_controller.rb` file.", "reference": "Could we use the Rails application's secret token instead? Do we actually need our own here?" }, { "prediction": "I think this should be `axis=None` instead of `axis=None`.", "reference": "so should be fixed here also" }, { "prediction": "I think this should be `&& (dmc->flags & ~DR_MC_ALL) == 0`", "reference": "I would just remove this assert as it's going to get un-maintainable with a long list of valid sizes. Ditto below." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "`HostDataDir` is misleading. Can we rename it to something more relevant? The constant should also be moved up and reused as necessary." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to limit the number of bytes to the ESP overhead. If it's a good idea to limit the number of bytes to the ESP overhead, then I think it's a good idea to limit the number of bytes to the ESP header and trailer.", "reference": "I still feel like we are double-counting the outer IP header here (once in `defaultMTUGRE` and once in `ipsecESPOverhead`) but I'm not that familiar with IPsec." }, { "prediction": "I'm not sure if this should be `public abstract void OnEnd(T value, ref DateTimeOffset dt, ref ReadOnlySpan> tags)` or `public abstract void OnEnd(T value, ref DateTimeOffset dt, ref ReadOnlySpan> tags)`", "reference": "Not sure what benefit we gain by extending BaseProcessor here, as this seems to be defining a new OnEnd method. Could we modify MeasurementItem to have all the things, and then MeasurementProcessor can be simply extending BaseProcessor (not blocking. just noting some observations in the PR :) )" }, { "prediction": "I'm not sure if this is the right place to put these imports.", "reference": "This change was not really intended but made by the linter of VS Code. And looking at other packages this looks like a best practise to place interal packages on the top and gh imports afterwards." }, { "prediction": "Note: A configured Requestlogger will not log HealthChecks.", "reference": "This seems like a more appropriate message under `ListenAndServe`. WDYT?" }, { "prediction": "Why was this removed?", "reference": "Is this not required?" }, { "prediction": "I don't think this is the right place to put this code. The `$this->entity['list']['fields']` variable is used in the `AdminEvents::POST_SEARCH` action.", "reference": "We should start thinking of an object that encapsulates this information :) we might need more arguments in the future." }, { "prediction": "I'm not sure this is the right fix.", "reference": "Given that we are (conceptually) searching across multiple self-dependencies, all we can say is that we didn't have a self dependency in which *both* source and dest masks were correct. Since the spec doesn't imagine this case, the valid usage statement assume we can differentiate only wrong source from only wrong dest within a *single* self-dependency -- which we can't across multiple (at least not meaningfully)... so we always return both the source/dest VUID's if we can't find a self-dependency in with *both* are correct." }, { "prediction": "I think we can remove the `isMining()` method from `EthMiningTest` as it's not used anywhere else.", "reference": "rename? MiningCoordinator always exists" }, { "prediction": "I don't think this is needed. The `plugins.getConfig(\"api\").offline_mode` will be set to `false` if `offline_mode` is set to `true`.", "reference": "Here would be the same case you don't need to call `loadConfigs`, but you would need to reread configs using `getConfig` on each getHost function call, not once per file." }, { "prediction": "I'm not sure this is the right way to do this. The `renameAndDeletionLock` is only called when the `d.folder.fs.renameAndDeletionLock` is not `nil` and `d.folder.fs.renameAndDeletionLock` is `nil` and `d.folder.fs.renameAndDeletionLock` is `nil` and `d.folder.fs.renameAndDeletionLock` is `nil` and `d.folder.fs.renameAndDeletionLock` is `nil` and `d.folder.fs.renameAndDeletionLock` is `nil` and `d.folder.fs.renameAndDeletionLock` is `nil` and `d.folder.fs.renameAndDeletionLock` is `nil` and `d.folder.fs.renameAndDeletionLock` is `nil` and `d.folder.fs.renameAndDeletionLock` is `nil` and `d.folder.fs.renameAndDeletionLock` is `nil` and `d.folder.fs.renameAndDeletionLock` is `nil` and `d.folder.fs.renameAndDeletionLock` is", "reference": "Unlocking with defer means that this lock is still held curing the call to forgetNode(), below, which I see attempts to acquire `f.mu`, which looks dangerous to me." }, { "prediction": "Why is this change needed?", "reference": "Does anyone still use the cst out of this method? If not consider deleting" }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like it should be in the `/vim-for-rails-developers` directory.", "reference": "Line is too long. [97/80]" }, { "prediction": "I think this should be `from io import BytesIO`, not `pathlib`.", "reference": "This seems unused." }, { "prediction": "I'm not sure this is the right fix.", "reference": "@luguanglong, Thanks for the fix, can you re-phrase it to sound better something like \"This OS version is currently un-supported by keadm\"" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to put it in the `_CleanFpInfoAttr_` function.", "reference": "should probably be called `_DeleteFpInfoAttr` because it removes it. Cleaning gives the impression it is still there. I would also move this to the end of the function `GetAtomicWeightsForFingerprint`." }, { "prediction": "I'm not sure this is the right place to put this in. I'm not sure it's a good idea to put it in a map.", "reference": "nit, can we use `VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR` here (granted it isn't else where, maybe worth fixing here or in separate PR)" }, { "prediction": "Line is too long. [81/80]", "reference": "This will need to be updated in the upcase-exercises repo as well." }, { "prediction": "Line is too long. [81/80]", "reference": "Think it's worth extracting this to `Exercise#complete?`?" }, { "prediction": "I think we should remove this method as it's not used anymore.", "reference": "This is still a potentially useful public method - should we remove such methods?" }, { "prediction": "I'm not sure about this change, but I think it would be better to keep the default release level as alpha.", "reference": "I don't understand this change, what is happening here?" }, { "prediction": "I don't think this is the right way to do this, but I don't think this is the right way to do it.", "reference": "I think its worth stating this is `versionMajor`" }, { "prediction": "I think this function should be renamed to `SetConsensus` since it's only used in one place.", "reference": "rebuild: say loads and merges" }, { "prediction": "I'm not sure why this is needed.", "reference": "Why was this removed here (also in the other file)? Shouldn't we import them so that the reference in the docs below is interpreted correctly?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I'd prefer to have a blank line between the class declaration and its first member. Is it possible?" }, { "prediction": "I'm not sure this is the right place for this test. I think it should be `DEFAULT_ISMASTER_36, { msg: 'isdbgrid' }`", "reference": "Is it really LEGACY_HELLO if we are using the most up to date HELLO? Perhaps `MONGOS_HELLO` would work here?" }, { "prediction": "Should we retry instead?", "reference": "I am afraid this is going to cause problems on Windows where it is not uncommon to have injected threads (CTRL_SHUTDOWN, CTRL_LOGOFF, etc.) we have no privileges to suspend -- and thus retrying will just fail again, and with the new \"synchall failure is fatal and should kill the process\" approach it turns what used to work for us on Windows into process death." }, { "prediction": "This should be `--mac_installer_signing_identifier` or `--mac_installer_signing_keychain`.", "reference": "think it should only be in create_dist" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Do you plan to support Pod spec change? Like hostPort is added/removed later after Pod creation?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Is this behavior correct? It used to return `true`, which should map to `dokan.ExistingDir`. Was that previously a bug?" }, { "prediction": "I don't think this is the right place to log this.", "reference": "What about just printing an empty list in this case? That would make the output more predictable." }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it should be `this.container = this.get('value') || BLANK_DOC;`", "reference": "I looked and couldn't find any usage of `container` in any of the editor component files (js or hbs), so I assume this was used once and didn't get removed?" }, { "prediction": "I think this should be `if ($argument === '')` instead of `if ($argument === '')`", "reference": "I just updated a number of sites using older versions of Roots onto WP 3.6 and this little function change was required. Multiple search bars were displaying when I used the search widget in a widgetized sidebar. Updated the roots_get_search_form as seen in this change resolved it for me!" }, { "prediction": "Please remove this line.", "reference": "Fixes test failed in some cases" }, { "prediction": "Can we remove this once ads catalog moves to using prod?", "reference": "what's the prod url for this? just curious. @amirsaber" }, { "prediction": "I think this should be `azkaban.jvm.cmd.args` instead of `azkaban.jvm.jvm.args`", "reference": "Can you please change this to azkaban.jobs.java.opts?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "Here is another concatenation which should be updated. Even though `Source:` and the link are essentially separate, it isn't RTL friendly. This would be another good use for `createInterpolateElement` I think so that we wouldn't need to include all of the classnames in the translation string (or extract them to a placeholder). That would allow us to use the `Link` component as well, rather than using its resulting HTML as a string which will be a pain to maintain if we were to make changes to the base `Link` component." }, { "prediction": "I'm not sure this is the right place to put this code. It looks like the `default(CancellationToken)` parameter is only used in the `GetCancelledZeroTask` method.", "reference": "I would add an overload `GetCancelledZeroTask()` which calls `GetCancelledZeroTask(CancellationToken.None)`. This is cleaner than requiring the caller to pass `default(CancellationToken)` or `CancellationToken.None`." }, { "prediction": "I think this should be `VK_NULL_HANDLE!= swapchain`", "reference": "Would it be equivalent to check if `chain!= nullptr` below? Not suggesting a change, just curious." }, { "prediction": "I'm not sure this is the right place to put this. The `wallet_a.change_action` function should be moved to `wallet_a.cpp`.", "reference": "Should probably do `auto this_l (shared_from_this ());` and pass/use that instead of `this`. Same a few other places. IOW, replace both `shared_from_this()` and `this` with `this_l`" }, { "prediction": "I think this should be `'` instead of `\\'`. `\\'` is not a valid escape character in JSDoc.", "reference": "And here. Please, use `'` for apostrophes in changed strings in this file." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "assignments should only be cuddled with other assignments (from `wsl`)" }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if this is the right place to put it.", "reference": "Please move this to `block_types.go`." }, { "prediction": "Why are we removing the AppDomainFixedOutput attribute?", "reference": "So this is not needed anymore for all attributes?" }, { "prediction": "I think we should change the message to \"An exception occured while adding OpenTelemetry Tracing to ServiceCollection. OpenTelemetry tracing will not work.\" or \"An exception occured while retrieving OpenTelemetry Tracer from Service Provider. OpenTelemetry tracing will not work.\" or \"An exception occured while retrieving OpenTelemetry Tracer from Service Provider. OpenTelemetry tracing will not work.\" or \"An exception occured while retrieving OpenTelemetry Tracer from Service Provider. OpenTelemetry tracing will not work.\" or \"An exception occured while retrieving OpenTelemetry Tracer from Service Provider. OpenTelemetry tracing will not work.\" or \"An exception occured while retrieving OpenTelemetry SDK from Service Provider. OpenTelemetry tracing will not work.\"", "reference": "Happy to get suggestion for better messaging here. Here's what I intended to convey: Something is wrong - the Exception is a hint to what might be the cause The impact of that - tracing wont work." }, { "prediction": "I think this should be moved to es_starter.py?", "reference": "I think we can remove this function, right? (duplicate with `ses_starter.py`)" }, { "prediction": "I think this should be `self.rename(name)` instead of `self.rename(name)`", "reference": "With this fix, I am not even sure we need to overwrite this function." }, { "prediction": "I think this should be `os.environ.get('QUILT_USE_TQDM', 'true')`", "reference": "Why not just import this from `data_transfer`? As a rule copying the same code twice is not a good idea. Also: please run `pylint` on all files in this PR." }, { "prediction": "Line is too long. [82/80]", "reference": "You've got an absolute path here referencing your home dir :-)." }, { "prediction": "I think this should be `Optional.empty()` instead of `true`.", "reference": "Maybe I should do some sorting so that these properties don't keep moving around..." }, { "prediction": "Why was this removed?", "reference": "Can we keep this test anyway, as it's part of the spec?" }, { "prediction": "Please remove the `strict_types` parameter.", "reference": "Can be removed" }, { "prediction": "I don't think we should use Request here.", "reference": "It's a minor quibble I know, but I like having the imports ordered by lengt" }, { "prediction": "I don't think we need to change this. The content-type should be `application/json; charset=utf-8`", "reference": "It's better to get the charset from context or other setting to let the user override it." }, { "prediction": "I'm not sure if this is the right way to test CStorPool instances. I'm not sure if it's the right way to test CStorPool instances, but if it's the right way to test CStorPool instances, then I think we should be able to remove the `NewTestCStorPools` function from the `CStorPoolController` class.", "reference": "this filename as well needs change" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "I think we want to remove `omitempty` here" }, { "prediction": "I'm not sure if this is the right place to close the signal handler. I'm not sure if this is the right place to close the signal handler.", "reference": "You cannot move this here because it breaks detach. Just call `tty.Close()` before returning the error from start" }, { "prediction": "I'm not sure why this was removed.", "reference": "I updated only the implicit roles who needed a update for this new rule to validate." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "> // Code generated by protoc-gen-go. DO NOT EDIT." }, { "prediction": "Should this be `map[string]string{\"osconfig_not_supported\": \"true\"}`?", "reference": "minor: skipOSConfigMetadata, otherwise, the name sounds like a boolean" }, { "prediction": "I don't think this is the right place to put this check.", "reference": "~~I think lines 65-67 should be moved into this else clause after `type =...` Else, it is a bit confusing why we check the enclose type validity a second time~~ Nevermind, will do some refactoring, myself. But thanks for \"fixing\" this!" }, { "prediction": "I don't think we need to close the response body here.", "reference": "`sessions := endpoints.SessionsDTO{}` and using only `sessions` should be simpler." }, { "prediction": "I don't think this is the right fix. The sigstack should be the same as the sigstack in master_signal_handler_C, and the sigstack in master_signal_handler_C should be the same as the sigstack in master_signal_handler_C. The sigstack should be the same as the sigstack in master_signal_handler_C, and the sigstack in master_signal_handler_C should be the same as the sigstack in master_signal_handler_C. The sigstack in master_signal_handler_C should be the same as the sigstack in master_signal_handler_C, and the sigstack in master_signal_handler_C should be the same as the sigstack in master_signal_handler_C. The sigstack in master_signal_handler_C should be the same as the sigstack in master_signal_handler_C, and the sigstack in master_signal_handler_C should be the same as the sigstack in master_signal_handler_C.", "reference": "These need to be in the other order to avoid crashing when dcontext == GLOBAL_DCONTEXT (==-1)" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Why not change the other samples?" }, { "prediction": "I'm not sure if this is the best way to do this. The `id` attribute should always be present in the `headers` table.", "reference": "Indentation is mixed up here due to spaces/tabs, I'm guessing." }, { "prediction": "I'm not sure this is the right place to print the error message. I'm not sure if this is the right place to print the error message.", "reference": "Should we provide a little more context in the error message? Maybe throw in something about what operation was being performed?" }, { "prediction": "I think this should be `if (array_key_exists('settings', $configuration))`", "reference": "Project standard is spaces, not tabs. Please fix and then we can merge this." }, { "prediction": "I don't think we need to include `cliententry.h` and `clientlist.h` here.", "reference": "@hgtw is there anything we're worried about with regards to using this cache? Do we want to do staged testing around expeditions before we merge? Curious your thoughts here" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "The purpose of this was to allow pushing filters into the manifest files if we ever use a format other than Parquet. I think overall this is a good change because we can add it back later. Just wanted to note why the unused argument was there." }, { "prediction": "I'm not sure if this is the right place to put this code, but I'm not sure if this is the right place to put this code.", "reference": "I think BSON::Decimal128 should always be serialized as Decimal128 regardless of config option." }, { "prediction": "I think this should be `plan_creator_path`.", "reference": "We should probably just move the `require 'bolt/plan_creator'` in `Bolt::CLI` to `Bolt::Application` so it will already be loaded." }, { "prediction": "I'm not sure if we want to run more that 20 iterations.", "reference": ">20 [](start = 45, length = 2) Can we override this at runtime? Maybe it should be a command line option with default." }, { "prediction": "Why is this property needed?", "reference": "can just remove it?" }, { "prediction": "I don't think we need this function anymore.", "reference": "Better call it `CleanUpMirrorInfo`?" }, { "prediction": "Why do we need this?", "reference": "@shannonwells is there still something missing here?" }, { "prediction": "I don't think we should be setting this for stress testing. I think we should just default to `false` if stress testing is disabled.", "reference": "This could be more indicative of what it is... e.g... `stresstest_time_limit`" }, { "prediction": "Why is this removed?", "reference": "Shouldn't we do a `reader_payload_pool_.reset()` here?" }, { "prediction": "why do we need to change this?", "reference": "I'd prefer the nomenclature less tightly coupled to DRAND throughout. I played with renaming the `drand` package to `beacon` but it was too much noise in this change." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to have a `_current_key` property in `util.stream_parameters`.", "reference": "I think I would prefer you declare `self._current_key=None` in the constructor and just return `self._current_key`. That way you can prevent anyone from overwriting `current_key` without needing to use `getattr` here." }, { "prediction": "I'm not sure this is the right thing to do here. I think it would be better to have a constant for `rawMode` (or something like that) so that we don't have to define it everywhere.", "reference": "I guess I like the name `mode` okay. I can't think of anything better." }, { "prediction": "I think this should be `if timeout <= 0 { return &Step{name: name, w: w, Timeout: w.DefaultTimeout} }`", "reference": "I would create a new method (NewStepWithDefaultTimeout?) for this purpose because timeout<=0 looks like a hidden logic" }, { "prediction": "Why do we need this?", "reference": "Are these limit changes related?" }, { "prediction": "I don't think this is needed anymore.", "reference": "Don't you mean `import scapy.consts`?" }, { "prediction": "I think this should be `rollbackPrimary` instead of `ensurePrimaryUpdate`.", "reference": "`ctx` is unused in rollbackPrimary" }, { "prediction": "I think this should be `0`", "reference": "This is not what title says." }, { "prediction": "I don't think this is a good idea. The rule violation should be applied to a node in the AST, not to a node in the AST. The rule violation should be applied to a node in the AST, not to a node in the AST. The rule violation should be applied to a node in the AST, not to a node in the AST. The rule violation should be applied to a node in the AST, not to a node in the AST. The rule violation should be applied to a node in the AST, not to a node in the AST. The rule violation should be applied to a node in the AST, not to a node in the AST. The rule violation should be applied to a node in the AST, not to a node in the AST. The rule violation should be applied to a node in the AST, not to a node in the AST. The rule violation should be applied to a node in the AST, not to a node in the AST. The rule violation should be applied to a node in the AST, not to a node in the AST.", "reference": "a fix applies several fixes? maybe this should simply be `applyToNode`" }, { "prediction": "I'm not sure this is the right name for this function. I'm not sure if it's a good idea to rename it to `fakeGetClientset` or `fakeListOk`.", "reference": "U1000: func `fakeGetOk` is unused (from `unused`)" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Because there is a \"k8s.io/client-go/tools/cache\" below, we can sort out all the \"imports\" here." }, { "prediction": "I'm not sure this import is needed.", "reference": "Nit should be using `goimports` to format the import statements with standard libary imports first, new line, followed by non-standard library imports." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "Do we not have tests for pipeline delete" }, { "prediction": "I think this should be `fs.append(local_path, destination)`.", "reference": "Good that you mention this constraint in the docstring :)" }, { "prediction": "I don't think we need this package anymore.", "reference": "remove this blank?" }, { "prediction": "I'm not sure this is the right thing to do here. The `ComputedNumOfActivePartiions_` variable is only used by `FileScan::FileScan()` and `FileScan::FileScan()` and `FileScan::FileScan()` and `FileScan::FileScan()` are only used by `FileScan::FileScan()` and `FileScan::FileScan()` and `FileScan::FileScan()` are only used by `FileScan::FileScan()` and `FileScan::FileScan()` and `FileScan::FileScan()` are only used by `FileScan::FileScan()` and `FileScan::FileScan()` and `FileScan::FileScan()` are only used by `FileScan::FileScan()` and `FileScan::FileScan()` and `FileScan::FileScan()` are only used by `FileScan::FileScan()` and `FileScan::FileScan()` and `FileScan::FileScan()` and `FileScan::FileScan()` are only used by `FileScan::FileScan()` and `FileScan::FileScan()` and `FileScan::FileScan()` and `", "reference": "Partitions is misspelled 8 times in this commit, might make sense to fix the spelling for all of those." }, { "prediction": "I think this should be `qutebrowser.utils` instead of `qutescheme`.", "reference": "Please remove this blank line - those are only used to group Python/third-party/qutebrowser imports." }, { "prediction": "I don't think we need this.", "reference": "`insecure` is a global variable (from `gochecknoglobals`)" }, { "prediction": "I don't think this is the right way to do it. I think it should be `\"Interacting with repositories by HTTP protocol is not allowed\"`", "reference": "Same as above (HTTP in upper-case)" }, { "prediction": "I'm not sure this is the right assertion. The `setProviderReference` method should return `null` if the provider reference is not set.", "reference": "This is getting repetitive maybe you could introduce an abstract test case with a `getExpectedUrl($providerReference)` method?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if it's the right place to put this.", "reference": "I do not think returning `Value{}` is correct here. For example, `reflect.MakeFunc(...).Kind()` would return `reflect.Invalid` instead of `reflect.Func`. Therefore, I think this should panic instead." }, { "prediction": "`window` is not supported in IE, so we should use `window.name` instead.", "reference": "Does this work for Custom Elements? iirc we're lacking test cases for them. /cc @andrewiggins @developit" }, { "prediction": "I'm not sure why we need to do this. I'm not sure why we need to do this.", "reference": "Same change just above?" }, { "prediction": "I think this should be `self.Promise = undefined;` instead of `window.Promise = undefined;`", "reference": "I suppose `apploader.js` isn't used by WebWorkers. So `self` will always be `window` here." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "Since this var is no longer defined we should remove the `if skip_targets.any?` bit below." }, { "prediction": "I'm not sure if this is the right place for this function. It seems like it should be moved to `aws_stack/lambda/lambda_function_arn.py` instead of `aws_stack/lambda/lambda_function_arn.py`.", "reference": "I think we should `return arn` as a fallback at the end of this function (otherwise the `['Resource']` entry below could become `None`)." }, { "prediction": "I don't think we need to close the remoteConn here.", "reference": "Why session is started at all, if you need to shut it down e.g. DI should launch noopSession" }, { "prediction": "I think this should be `DeleteWorkspaceFiles()`", "reference": "nit: can we rename the interface to `wsFileDeleter`" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do. I'm just not sure if this is the right thing to do.", "reference": "Why target cannot be external endpoints?" }, { "prediction": "I'm not sure if this should be prefixed with `.` or `.auto_`?", "reference": "We use a suffix \".AUTOCREATED\" for configsets, maybe we can use the same here?" }, { "prediction": "I don't think we need to add ActivitySource here.", "reference": "This one won't be disposed. Should be (something like) `using var openTelemetry = OpenTelemetrySdk.EnableOpenTelemetry(` no?" }, { "prediction": "I'm not sure about this change, but I think it's a good idea to change the name of the import to `comInterfaces.UIAutomationClient` instead of `comInterfaces.UIAutomationClient`.", "reference": "Why this is in the diff?" }, { "prediction": "I'm not sure if this should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface, or if it should be part of the QuiesceDriver interface,", "reference": "How is status determined? When the user calls CloudBackupCreate( src_volume_id ) they can then call CloudBackupStatus( src_volume_id ) Is there something similar for this new API?" }, { "prediction": "I don't think this is the right place to do this, but I think it would be better to move the `excessDomChildren` array out of the `diff` function, so that we don't have to do this for every `diff` call.", "reference": "We could pass `excessDomChildren` to `options._catchError` and only do this if an error-boundary catches the error. Not entirely sure if that's better." }, { "prediction": "`call_user_func_array` is deprecated, please use `array_values` instead.", "reference": "In php8 named parameters were introduced and now it is required to match called method parameter name when setting parameters by array destructing or call_user_func_array() etc." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "If instead we had `B3.extractSingleHeader` and `B3.extract` return a bool value as a second return value, we could avoid the byte array comparison in `TraceID.IsValid`. Did you consider that alternative?" }, { "prediction": "Line is too long. [85/80]", "reference": "I think this is more of a semantic difference than a typo - `weiter hinzufgen` is like `continue adding` whereas `weitere hinzufgen` is like `add more`. I think it makes sense to change it though" }, { "prediction": "I think this should be `delete_json` instead of `put_json`.", "reference": "nit: 200 is superfluous" }, { "prediction": "I'm not sure why this change is needed.", "reference": "This is testing `unreserved keyword`" }, { "prediction": "I'm not sure if this should be `S2` or `s2`.", "reference": "paramsNatOrigin doesn't include sUVtoST. I would just remove that definition for now" }, { "prediction": "Why not just `q.TogglePrefetcher(false, nil)`?", "reference": "It feels like the test should be waiting for the prefetcher to shut down, but I don't have a great reason why other than that it might be confusing for debugging if there are still goroutines from old prefetchers lying. But I guess since `TogglePrefetcher(false)` doesn't actually set the prefetcher to nil, the queue shutdown method will still end up waiting for the shutdown to finish. If that sounds right, nevermind me." }, { "prediction": "I don't think we need to change the order of the `snippet-sourcedescription` lines. Can you change the order of the `snippet-sourcedescription` lines to match the order of the `sourcedescription` lines?", "reference": "AWS Identity and Access Management (IAM)" }, { "prediction": "I think this should be `CLOUDDSQL_INSTANCES_RESOURCE_NAME` and not `CLOUDDSQL_IPADDRESSES_RESOURCE_NAME`.", "reference": "As a long term thing, would it make sense to move the resource names as keys under the requirements map?" }, { "prediction": "`hasAttribute` and `getAttribute` are not supported in IE. Please use `commons.dom.idrefs(cell, 'headers')` instead.", "reference": "That doesn't fix the whole problem. The issue lays in this line right here, not the one above. There are two problems with this line: 1. It finds things that aren't cells in the table 2. if it doesn't find anything, it shouldn't return empty here, but continue down to look for row/ column headers." }, { "prediction": "I'm not sure this is the right place to do this. It seems to me that `BaselineVersions.getResolvedArtifacts(getProject())` returns a set of projects, but `getResolvedArtifacts(getProject())` returns a set of projects. I'm not sure if this is the right place to do it, but it seems to me that `getResolvedArtifacts(getProject())` returns a set of projects, so I'm not sure if this is the right place to do it.", "reference": "I am pretty sure that this is infinite recursion as getAllProjects returns the project itself." }, { "prediction": "This should be `dataLists` instead of `data`.", "reference": "Something I didn't catch before I merged this PR, is the hyphenated constant a problem? E.g. should \"data-lists\" be \"data_lists\"? @paulkaplan" }, { "prediction": "I don't think this is the right way to do this. If `wpcap.dll` is not available, then `if not conf.use_winpcapy` should be removed.", "reference": "Can you write the test as `if not (conf.use_winpcapy or conf.use_pcap or conf.use_dnet):`" }, { "prediction": "I'm not sure if this is the right place to put this. I think it should be in the `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of `__call__` of", "reference": "we have to include foreign assets on the repository directly because they don't belong to a job? This seems very awkward... Is this a step towards the job-less assets on the repository? Did you consider having `build_asset_job` take in a set of foreign assets instead? I suppose we would then need to subclass it to be a more special `AssetJobDefinition` that can keep track of them." }, { "prediction": "I'm not sure why this is needed.", "reference": "`-Wstringop-truncation` is a new kind of error detector introduced in GCC 8. As for this patch, these are two false-positives though." }, { "prediction": "I'm not sure this is the right word for the error message. I think it should say \"only one credential type can be specified per profile: source profile, credential source, credential process, web identity token, or sso\".", "reference": "Can we port this error msg to v2 too? This one is better, as it explicitly states what sources are allowed." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "The convention so far has been to require directly from the defining file (in this case `../../read_preference'). I think the concern has been mostly about the potential for circular dependency cycles" }, { "prediction": "I'm not sure if this is a good idea to have a default value for `to_float32` or `to_int32`?", "reference": "I suggest expanding dims here to simplify the formatting." }, { "prediction": "I think this should be `config/kinto.ini`", "reference": "Why do you need to specify the kinto prefix here?" }, { "prediction": "I think this should be `print('outputs[{}].shape = {!r}'.format(i, outputs[i].shape))`", "reference": "The `!r` is unnecessary." }, { "prediction": "I'm not sure this is the right fix. The `isMSIEnvironment` check should be moved to the `if isMSIEnvironment` check above.", "reference": "I didn't see existing tests for this `OpenBucketURL`. Not sure if it's easy to do without mocking these `opener` calls." }, { "prediction": "I'm not sure if this is the right place to put this. PreparerNeeded should be set to `false` if the model is not paged.", "reference": "Should we default to `true`?" }, { "prediction": "I don't think we need this. The consensus package should be in the `iotex-core` package, not `iotex-core` package.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I think this should be `@wordpress/default` instead of `@babel/preset-react`.", "reference": "Shouldn't these options also include `@babel/preset-env`? Also I see you set `babelrc` to `false`, could we rely on our existing `.babelrc` file? Feels like some duplicate configuration otherwise." }, { "prediction": "I'm not sure this is the right fix.", "reference": "Nit: We can use `%s` since `disconnectReason` is a string." }, { "prediction": "`boosting_type` should be `boosting_type='rgf'`", "reference": "I think it's better to create a new example" }, { "prediction": "I'm not sure if this is the right fix. I think it should be `kDepthStencilAttachmentRasterOrder` instead of `kAttachmentRasterOrder`.", "reference": "The stages are correct, but the more forgiving `kAttachmentRasterOrder` should be used, based on a review of the spec. That should give the same effect of suppressing the false positive conflict between the DEPTH R/W and resolve. > End-of-subpass multisample resolves are treated as color attachment writes for the purposes of synchronization. This applies to resolve operations for both color and depth/stencil attachments. That is, they are considered to execute in the VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT pipeline stage and their writes are synchronized with VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT. Synchronization between rendering within a subpass and any resolve operations at the end of the subpass occurs automatically, without need for explicit dependencies or pipeline barriers." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to change it, but I'm not sure if it's a good idea to change it, or if it's a good idea to change it. If it's a good idea to change it, I'm fine with it.", "reference": "To be consistent, I think it should actually just be a single `-`" }, { "prediction": "I don't think this is needed.", "reference": "this seems extraneous." }, { "prediction": "I'm not sure this is the right featureset for long domains.", "reference": "Ah, I see here that 'LongDomain' is defined as something that contains a subdomain segment that is `maxLengthOfDomainSegment` long (which I think is 63 characters) - I don't think any public ACME servers/Let's Encrypt's staging environment has a restriction on this? if it does, and the 'pebble' based ACME server does not, then Pebble needs modifying to also fail in these cases as it aims to replicate the ACME RFC as closely as possible" }, { "prediction": "I'm not sure if we want to install gdebi-core or gdebi-amd64. Can we just install gdebi-core and install gdebi-amd64.deb directly?", "reference": "I think you need `-y` here to prevent a user confirmation prompt" }, { "prediction": "I don't think this is needed.", "reference": "Repeating: I don't think this should be a core-wide global var. This should be isolated to arch/x86 or at least arch/, maybe inside getter/setters as mentioned above." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if it's the right place to put it, but if it's the right place to put it, I think it's better to put it in `JMeterPlugins` as well.", "reference": "right URL is like in cmdrunner, using search.maven.org" }, { "prediction": "I don't think we should start with http or https here.", "reference": "The link to valid syntax is not really applicable for NET2_1, right?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "Shouldn't it be more specific, like \"gcppubsub supports all UTF-8 strings\"?" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "Everything in this class is SolrCloud-related, not legacy replication" }, { "prediction": "I'm not sure why this is needed.", "reference": "Could just assign directly and eliminate the `newval` var." }, { "prediction": "I'm not sure we should change the title of this pull request. I think we should change the description of the pull request.", "reference": "... with the name of the affected package, or \"all\", followed by a colon,..." }, { "prediction": "This should be `Datadog.Trace.ClrProfiler.Managed/Datadog.Trace.ClrProfiler.Managed.Core.csproj`", "reference": "We'll want to remove this one if we make the assembly version constant." }, { "prediction": "This should be called `setup_single_post_style` and `setup_single_page_style`.", "reference": "Can we have a single function here that uses the same subscribers and just changes meta based on context?" }, { "prediction": "I'm not sure if this is the right place to put this logic. If it is not enabled, HIP will load kernels and setup the function symbol map on program startup. If it is enabled, HIP will load the kernels and setup the function symbol map on program startup.", "reference": "where would ` static startup_kernel_loader skl;` be instantiated? if it's not instantiated anywhere should this be removed?" }, { "prediction": "I'm not sure if `getFilesAndDirectoriesApi` works in firefox, but it doesn't seem to work in other browsers.", "reference": "I think we should move those util functions that work with drag-drop to @uppy/utils, so they can be shared (maybe later) with drag-drop plugin? Otherwise it will continue to depend on drag-drop module." }, { "prediction": "I think we can remove the `map[string]string` here as well.", "reference": "Migrate the spec.Labels to locator.Labels?" }, { "prediction": "I'm not sure this is the right fix. The `require.EqualError` should be `require.Equal(t, gotErr, tc.wantErr.Error())`.", "reference": "The test case already existed but it never tested properly because of the conditional in the test." }, { "prediction": "I'm not sure this is the right fix. The `name` and `transform` are the same, so they should be equal.", "reference": "I'm okay with this, but I don't see a lot of benefit to removing unnecessary parens. If extra parens make something more readable (like this) or clarify order of operations even when matching the default, I would say we should keep them." }, { "prediction": "I'm not sure why volatile is needed here.", "reference": "@sarowe why was this volatile? It's fishy to see this as the only volatile field." }, { "prediction": "I don't think you need the `@since` annotation, you can just use `@since`.", "reference": "template is not correct?" }, { "prediction": "I don't think this is used anywhere, please remove it.", "reference": "Rename the registies to `BBOX_ASSIGNERS` and `BBOX_SAMPLERS` to avoid ambiguity. There is also a registry for dataset sampler." }, { "prediction": "I don't think we need to activate the fakeFS if we don't actually activate it.", "reference": "This is no longer stubbed on every test. Perhaps it should be, and should be unstubbed in the single case that it matters." }, { "prediction": "Puma.stats is a Ruby object, so you don't need to cast it to a Puma.stats object.", "reference": "This seems much simpler! I'm not sure I follow what you mean by the threading part... Also tests are not liking this constant. Might need a require or to fully qualify this." }, { "prediction": "I'm not sure this is the right fix.", "reference": "Convention is \"FIXME: i#2144\" or \"XXX: i#2144\"" }, { "prediction": "I don't think we need this interface.", "reference": "This should probably be a property instead of a method." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "do we need to consider setting the `state` as well? If so, lot of changes might be required, like, setting to 'Reconciling' in upgrade code, setting to 'error' or'reconciled' in volumeReconciler functions." }, { "prediction": "Line is too long. [82/80]", "reference": "Line is too long. [82/80]" }, { "prediction": "I don't think this file is needed.", "reference": "Add blank line below license header." }, { "prediction": "I don't think we need to pass `ops.current()` as a parameter to `buildReplacement`.", "reference": "I'm not clear on whether this really should be the right behavior. Basically we're saying that a replace table will keep the existing location (as opposed to using defaults). I suspect we don't have create or replace with location semantics, but this is making some assumptions that a replacement is somehow the same as the old. If we were to go with id based pathing convention, this wouldn't work. I don't think this is an issue at this point, but it might make sense to push this down to the location provider." }, { "prediction": "Remove empty line.", "reference": "Just run a global replacement for all `executionproto`." }, { "prediction": "I think this should be `options=None` instead of `options=None`.", "reference": "@AutomatedTester @davehunt thoughts on a new keyword argument?" }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix.", "reference": "Should line 47 be OPAE_ERR?" }, { "prediction": "I don't think this is needed.", "reference": "Not necessary, just write `time.Time{}`" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if it's the best way to do it.", "reference": "As these two strings simply get concatenated for the docs, there's a space missing after the dot here." }, { "prediction": "I'm not sure if this is the right place to record Telemetry. I'm not sure if this is the right place to record Telemetry, but if it is the right place to record Telemetry, then I'm not sure if this is the right place to record Telemetry.", "reference": "What about integrations where we don't plug ourselved on OnMethodBegin?" }, { "prediction": "I think this should be `visibility_of_all_elements_located` or `visibility_of_any_elements_located`.", "reference": "shouldn't **call** return a boolean?" }, { "prediction": "I'm not sure this is the right place to put this interface. I'm not sure if this is the right place to put it.", "reference": "ViewModel classes should not expose any classes from framework.model." }, { "prediction": "I think this was a leftover from the previous test.", "reference": "how would you feel about keeping these tests to be more explicit and having them `assert not _validate...`? or is your view that that is too duplicative of the tests in `test_evaluator.py`?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "Why do we use the `winrm_nodes` variable here and not the string `\"winrm_nodes\"` as we were using before?" }, { "prediction": "I don't think this change is needed.", "reference": "why update Copyright?" }, { "prediction": "I think this should be `CmpCommon::diags() << DgSqlCode(-4322) << DgTableName(naTable->getTableName().getQualifiedNameAsAnsiString()) << bindWA->setErrStatus();`", "reference": "Does this mean we cannot update statistics with sampling on a table with LOB columns?" }, { "prediction": "I don't think this enum is used anywhere.", "reference": "Look good, but I think a `[flags]` enum would be more future proof? Although i'm not sure if a flags-enum is working from the XML config. What do you think?" }, { "prediction": "This should be `self.options.treeLevel > -1 || ( self.options.showTreeExpandNoChildren && row.treeNode.children.length > 0 )`", "reference": "Since I believe state will never be anything other than 'expanded' or collapse, you can rewrite this as follows: `return row.treeNode.state === 'expanded'? 'ui-grid-icon-minus-squared' : 'ui-grid-icon-plus-squared'; `" }, { "prediction": "I think we can remove this.", "reference": "the latter part can go but isn't the first part of this still sound -- that we assume \"id\"?" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "Why is the escaping of @ and $ removed?" }, { "prediction": "I don't think we need this interface, it's already in Datadog.Trace.ClrProfiler.Interfaces.", "reference": "Nit: `Http` is redundant in this interface's name." }, { "prediction": "I think this should be `err := store.Put(cfg.SynchronizableEntitiesPrefix, []byte{}, nil)`", "reference": "what if I set SynchronizableEntitiesPrefix to \"a/b/c/d\" in config?" }, { "prediction": "I think this should be `error.Errorf(\"dockerfile path expected, got %s\", opts.DockerfilePath)`", "reference": "nit: This error message doesn't mention that the path is a directory, maybe \"Dockerfile path is a directory:%s, please provide path to file.\"" }, { "prediction": "I don't think this copyright is needed.", "reference": "This is done automatically, you can skip it next time ;)" }, { "prediction": "I think this should be `log.webelem.debug(\"Firing event on {!r} via javascript.\".format(self))`", "reference": "This is needed in `set_value` because of `:open-editor` (you could open an editor, close the tab, then close the editor). I don't think it makes any sense to have it here?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but if it is the right thing to do, I think it would be better to have this in the agentConfig struct rather than in the RunCLI struct.", "reference": "Perhaps we can assume that profiling is enabled if ProfilingPort is set? And/or configure a default port and frequency, so we don't have to set three config vars every time?" }, { "prediction": "I don't think we need to add this here, as it's not used anywhere in Beaker.", "reference": "This nil check won't correctly handle the case where forward_ssh_agent is set to false - it won't be nil but it should still not be set." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "We could avoid passing proto since threshold isn't needed." }, { "prediction": "I don't think this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "This route excluding needed for reconnect only when one connection is lost and we trying to establish another. I was thinking to make 2 separate flags for killswitch and reconnect enabling. This way we can keep killswitch working, but we don't need these routes excluded." }, { "prediction": "I'm not sure if this is correct. I'm not sure if this is correct.", "reference": "why can this modification avoid crash?" }, { "prediction": "Line is too long. [82/80]", "reference": "This looks good -- signing out the user if the current user is disabled" }, { "prediction": "I'm not sure if this should be a Set or a List?", "reference": "The line exceeds 120 characters." }, { "prediction": "I think this should be `\\n\\nPHP Version\\n-----------------\\n`", "reference": "Let's go ahead and change \"Site\" to \"Project\", since that's the path we've chosen. One less thing to alter in the other issue." }, { "prediction": "This change is unrelated to the PR, but should be reverted.", "reference": "I am for this change iff we are sure the information is no longer helpful. I think this could still be valuable for certain scenarios, wbu?" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to use `Comparator.comparing(ImageRampup::getRampupPercentage)` instead of `Comparator.comparing(Rampup::getRampupPercentage)`", "reference": "I thought we decided on using the latest active version and not the one which is max ramped up." }, { "prediction": "I'm not sure this is the right fix.", "reference": "can we update this to a `log.Warningf`?" }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to have the `--disable` flag on `subprocess-run-check` instead of `disable=subprocess-run-check`. That way, we don't have to worry about the `disable=subprocess-run-check` flag.", "reference": "can we get something emitted in the logs on non-zero exits to trace back to for problems like this failing on the first invocation?" }, { "prediction": "I think you can remove the `schemaMan` variable and just use `schemaMan.get()`.", "reference": "Do we need `schema manager` at here?" }, { "prediction": "I think this should be `flux_parse_json` instead of `flux_parse_json`", "reference": "This won't work because of the permissions on the directory when this is included as a library. But, we may be able to do this. The key would be wrapping this command with either a script or a go binary that ensures the current directory is writable. If the current directory is not writable, it would attempt to make it writable so that we could write out the produced binary. But I'm not sure if that will influence the hash that gets produced for `go.sum` since I am not sure how that is calculated. Alternatively, we can choose a place in `/usr/local` or choose a location that is writable in the go cache and use that. I'll give that a try since it might be needed for the ARM builds if we choose to only include `x86_64` precompiled binaries in the module." }, { "prediction": "I'm not sure if this is the right place to set the return value. I'm not sure if this is the right place to set the return value, or if this is the right place to set the return value.", "reference": "Correct me if I'm wrong, but is this necessary? Why not just use the value returned by `interpreter.Eval` and not mess with the scope? `interpreter.Eval` will return any produced side effects. This means TableObjects as well as any value resulting from any expression statements." }, { "prediction": "I think this should be `config.Labels.Merge(p.Spec.ServiceMetadata.Labels)` instead of `config.Labels.Merge(p.Spec.ServiceMetadata.Annotations)`", "reference": "This service is global per namespace, not per Alertmanager/Prometheus/ThanosRuler instance. So this approach won't work. But maybe I missing out something, can you describe your use case here?" }, { "prediction": "I'm not sure if this should default to `true` or `false` depending on whether or not the node is tested.", "reference": "Do we need this default? Since we aren't using a sql.NullBool or *bool, an unset column will be interpreted as `false` already... We don't set a default on our other bool fields (e.g. entry admin and downstream columns)." }, { "prediction": "I'm not sure if this is the right place to put this logic. I think it should be `display_section?(customization, section, show_custom_sections)` or `display_section?(customization, section, show_custom_sections)` or `display_section?(customization, section, show_custom_sections)` or `display_section?(customization, section, show_custom_sections)` or `display_section?(customization, section, show_custom_sections)`", "reference": "thanks for moving these over. makes more sense for them to be in the exports_helper" }, { "prediction": "I'm not sure if we should use `STARTCHARS` here.", "reference": "That import now isn't needed anymore" }, { "prediction": "This should be `:full_path`.", "reference": "Can you update the `Usage` to be an absolute path as well? Something like `/path/to/firebug.xpi`" }, { "prediction": "I don't think this is needed anymore.", "reference": "This class is missing the `MvxPlugin` attribute" }, { "prediction": "This should be done in `wx.CallAfter` instead of in `wx.GetApp().SetTopWindow(mainFrame)`.", "reference": "What if `wxLang` is returned `None` from `getWxLang`" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix.", "reference": "Please don't do changing like this unless it _**really**_ cares. BTW. Please look around to infer our naming conventions." }, { "prediction": "This should be `info` or `finest`.", "reference": "This is in test code: understanding what we're doing is important in this context." }, { "prediction": "I think this should be `--goquorum-compatibility-enabled` instead of `--min-gas-price`", "reference": "prob should still have an example that has multiple option names even if you have to make it up. Or maybe we don't need this method?" }, { "prediction": "Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end.", "reference": "I believe respond_to whitelists the formats passed to the block so if we don't want to display html, we can just remove the line format.html..." }, { "prediction": "I think this should be `error=` instead of `error=`", "reference": "stylistic nitpick: I _feel_ like we've largely shown errors like this as \"error: \" vs. \"error=\". IMO colon/space reads better." }, { "prediction": "Why are these included in the history file?", "reference": "We could put this implementation in `RTPSWriter::create_change_pool` and avoid an extra function." }, { "prediction": "I'm not sure if this is a good place to put this import.", "reference": "should this file ends with _test.go?" }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "It's because of this change. `ss` was unused and it made sense in the program. However I haven't read the IPv6 RFC so I'm unsure of what it does" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "\"Flatten\" is a verb, so I'd probably go with `flattenedIndex` as a variable name here." }, { "prediction": "I'm not sure if this is the right place for this function. I'm not sure if this is the right place for it.", "reference": "If it can only be called once, perhaps a more appropriate name is something like `setMaskables`? `addX` sounds like you can add many `X`es by calling it many times" }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "Nodecfg should be downloading from a private bucket -- these shouldn't be for public consumption. In general these should be generic and expect environment to provide appropriate credentials and bucket." }, { "prediction": "This file is not covered by the GNU General Public License.", "reference": "Could you please end the file with an empty line?" }, { "prediction": "I think this should be `LOG.debug` instead of `LOG.finest`.", "reference": "This is an incorrect change. The dialect spoken is an important part of the handshake and should be communicated to users." }, { "prediction": "I don't think we need a mutex here.", "reference": "Can this be non-exported to avoid direct use? It would be a breaking change but using previous package version would work." }, { "prediction": "I think we can remove `ErrorCode` from `driver.ErrorCode` since it's not used anywhere else.", "reference": "Nit: this is just `return gcerrors.Code(err)`, isn't it?" }, { "prediction": "I'm not sure if this is the right place to put this code.", "reference": "I don't know where this came from, but it's not a good idea. This is actually timing out after 5 rounds, not 5 blocks. 5 consecutive null blocks won't be that uncommon. Also when testing with a short block time, this is a very short duration that can contribute to flaky tests." }, { "prediction": "Why do we need to open the state file?", "reference": "In Python 3 when pickling or unpickling objects, the file needs to be opened as binary so that no text encoding/decoding takes place. So for any open calls around pickle loads or dumps, the mode for reading must be rb and the mode for writing must be wb." }, { "prediction": "I'm not sure this is the right fix. The `method` parameter is a string, not an array of strings.", "reference": "did you remove **params.qstring.method** intentionally? if so why?" }, { "prediction": "I'm not sure if this is a good idea. I think it should be `read.locality.task.initialize.threads` instead of `read.locality.task.initialize.threads`.", "reference": "What is the current default? Is that inconsistent across uses and that's why this is null?" }, { "prediction": "I'm not sure if this is the right place to set this, but it seems like it should be `appConfig.Name` instead of ` previouslyDeployedConfig`.", "reference": "Why did we make this change? How come it wasn't an issue before" }, { "prediction": "I'm not sure this is the right place to do this.", "reference": "Can you tighten scope by moving to of these variables? i.e. Move to ~4372?" }, { "prediction": "This should be `dataverse.rserve.password` instead of `dataverse.rserve.password`", "reference": "Nice to see this `dataverse.rserve.password` fix rolled in." }, { "prediction": "I'm not sure this is the right fix. The strtoul() function is supposed to return the size of the buffer, not the actual size of the buffer.", "reference": "How about the following faster alternative that doesn't need `strlen()` at all: if (*tmp_optarg == '\\0' || *endptr!= '\\0') { fprintf(...)... This would treat the bus argument as invalid if it's either empty (`tmp_optarg` points to '\\0') or invalid (`endptr` points to something other that a '\\0'). Actually, the existing code would accept an empty argument and set the bus to `0`, so if (*endptr!= '\\0') { fprintf(...)... would be enough. The check for an empty argument doesn't hurt, though." }, { "prediction": "cc is already in the params", "reference": "I could be missing something here, but the `from` and `cc` are the same. On the test email sent to gatewaycommunicator, these values are different." }, { "prediction": "I think this test should be moved to a separate test.", "reference": "I'm honestly scared because act is now a hard requirement for useEffect which it wasn't before... This could break some tests :(" }, { "prediction": "I'm not sure this is the right fix. The election->blocks[block_a->hash ()] = block_a; should be inside the `if (election->status.winner->hash () == block_a->hash ()) {` block_a = election->blocks[block_a->hash ()]; adjust_difficulty (block_a->hash () == block_a->hash ()); }", "reference": "Could use election from `info_a.election`, or is this deliberate?" }, { "prediction": "Why not just use `LegacyFormHelper::getType('form')`?", "reference": "looks like this should be `return array(LegacyFormHelper::getType('form'));`" }, { "prediction": "I'm not sure this is the right assertion.", "reference": "Maybe it would simpler to ignore opt_port if type!== 'number'?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Where was `name` being declared before?" }, { "prediction": "I think this should be `appsv1.DeploymentAvailable` instead of `appsv1.Deployment`", "reference": "nit: use `corev1.ConditionUnknown`" }, { "prediction": "I don't think this is the right way to do this. `v.length === 24 && /^[a-f0-9]*$/.test(v)` should be `v.length === 12 || /^[a-f0-9]*$/.test(v)`", "reference": "You also need to add a similar check on line 992, there's another place where we check `length === 24`" }, { "prediction": "nit: `.get()` -> `.get()`", "reference": "nit: can extract the voteProvider as a local variable" }, { "prediction": "I think this is a bug fix.", "reference": "[0] Not suggesting you change it here, but....kindof weird that there's just not an `assertFuncNotEquals`" }, { "prediction": "I think this should be `errors.Wrap(err, \"could not create registry caller\")`", "reference": "why are we passing'registryAddress' here? We probably should construct it together with bc. Registry is not something that change?" }, { "prediction": "It's like {@link RA.spreadPath|spreadPath}, but preserves object under property path.", "reference": "`.` at the end of the sentence" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to do this in the `streamer.Ping()` method, not in the `streamer.Ping()` method.", "reference": "wouldn't it be useful to split this into an error metric for the timing?" }, { "prediction": "Use 2 (not 4) spaces for indentation.
Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Not sure if this is good enough. Each generator will have it's own unit test anyway. Ideally, I think I'd want to test that each generator in the yml is actually a valid generator..." }, { "prediction": "Why not just use `MintNewSecretBlockWithActionIterator`?", "reference": "line is 138 characters" }, { "prediction": "I'm not sure if this is the right thing to do here. The first return value is a Wire cleanup function, which calls Close on the returned database. The second return value is a Close function that calls Close on the returned database.", "reference": "Nit: I would leave `Wire` out of the description; if you use this without wire you can still use it." }, { "prediction": "I think we can remove these unused imports.", "reference": "Nit: each field can be on a separate line to make it visually easier to read." }, { "prediction": "This should be `metadata.json` instead of `compiler_info.json`", "reference": "Do we still have these files? Shouldn't we remove these?" }, { "prediction": "Nit: I'd prefer if we could have a constant called `ErrDurationRenewedBefore` or `ErrDurationRenewedAfter` or something like that.", "reference": "A lot of things to do with constants seemed to move since the original commit, so I stuck this here, Is there a better place for it?" }, { "prediction": "Why is this 10?", "reference": "is 10 too small compared to 1000? consider sync chan is unicast only (vs block chan is broadcast + unicast), i would say use 200~400 for BlockSyncChanSize my concern is that this would potentially slowdown sync speed of full-node" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it's better to do `plans.reject(:first)` instead of `plans.reject { |plan| get_plan_info(plan.first)['private'] }`", "reference": "A full parse of the plan here on listing the plans will be expensive from both a computation and IO perspective." }, { "prediction": "I'm not sure if this is the right place for this const, but I'm not sure if it's the right place for it.", "reference": "These constants use the `_PIN` suffix, while the other constants don't use it. I'm not sure what is best, but I would prefer to keep this consistent. Do you have an opinion on which it should be (with or without suffix)?" }, { "prediction": "I'm not sure if this should be final.", "reference": "Hmm... this feels like discovery should come first. perhaps `--discovery-dns-url`? @NicolasMassart any opinions on this or ideas on who it should be run by?" }, { "prediction": "Remove this file.", "reference": "why is this needed?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "I wonder if it'd be possible to autogenerate a key from the name within this function if one is not provided explicitly, rather than having all the callsites pass both the name and key (and usually as the same value)? Might give us a good place to implement a `name->key` function that isn't 1:1." }, { "prediction": "I think this should be `IPV6` instead of `IPV4` and `IPV6`", "reference": "@adriancole I do not see a change in the thrift file. Are there unit tests verifying that this manual serialization is compatible with the native Thrift serialization done by classes generated from `.thrift` IDL file?" }, { "prediction": "I'm not sure if this is the right place to put this check, but I'm not sure if this is the right place to put this check.", "reference": "spelling (variable name, all three changes)" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I believe you meant \"specify `desiredUID` and `desiredRole`\"?" }, { "prediction": "I'm not sure if this is the right place for this import.", "reference": "Please follow the import style, move it to its similar group" }, { "prediction": "I'm not sure this is the right name for this function. I think it should be `RouterUnrecognizedEncodingError` instead of `RouterUnrecognizedEncodingError`.", "reference": "Do we really need these? This is expanding on an API that we're about to do work on with the error stuff @kriskowal" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "passwordModificationTime is no longer used - did the change drop a time check that should be restored? Or should the param get dropped from the methods?" }, { "prediction": "I don't think this is the right fix. `evt.CommandLine.Trim() == commandLine.Trim()` is equivalent to `evt.CommandLine.Trim() == commandLine.Trim()`.", "reference": "Would it break here without trim? If so, can we do trim in Startup.cs so we don't need to add this code to every parser?" }, { "prediction": "I think this should be `Expect(string(out)).NotTo(ContainSubstring(\"Another app is currently holding the xtables lock\"))`", "reference": "Since we're using Logrus, probably best to use `Infof` to avoid confusion (Logrus' Printf behaves differently to the built in one)" }, { "prediction": "I think this should be `this.width += 2 * Blockly.FlyoutButton.MARGIN;`", "reference": "Hm, this looks like a change that should go upstream as well." }, { "prediction": "Why remove this function?", "reference": "let's keep ActionByActionHash and delete getActionByActionHash" }, { "prediction": "This should be `@return \\Shopsys\\FrameworkBundle\\Model\\Pricing\\Group\\PricingGroup`", "reference": "please use return type" }, { "prediction": "This should be `LOG.info(\"fine will log to \" + logFile);`", "reference": "This is deliberately at this level." }, { "prediction": "I think this should be `as msg` instead of `as msg`", "reference": "I'm going to go ahead and undo this change, I don't think it was intentional." }, { "prediction": "I'm not sure this is correct. The above logic is further specialized, depending on the kind of the currnent AppDomain and where the app is hosted: ///
/// * On non-default AD: /// we do not wait. /// * On default AD: /// we do not wait. The target framework moniker and the binary compatibility flags are initialized correctly. /// /// The above logic is further specialised, depending on the kind of the currnent AppDomain and where the app is hosted: ///
/// * On default AD: /// we do not wait. The target framework moniker and the binary compatibility flags are initialized correctly. ///
The above logic is further specialized, depending on the kind of the current AppDomain and where the app is hosted: ///
/// * On non-default AD: /// we do not wait. The target framework moniker and the binary compatibility flags are initialized correctly. /// ", "reference": "> specialised This isn't a typo in my neck of the woods" }, { "prediction": "I think this should be `storageTarget` instead of `storageTarget`.", "reference": "will change to `storage_target`" }, { "prediction": "I'm not sure if this is the right place to set the beta api client.", "reference": "This would be better as `cls.securitycenter_client`, to match what is being instantiated." }, { "prediction": "I don't think we need to check for `SYSWOW64SYS32` here.", "reference": "Could we have this initialization as part of the initialize method?" }, { "prediction": "I think this should be `null`.", "reference": "This line should be removed as editController is not used from this context anymore." }, { "prediction": "I'm not sure if this is the right place to put this. It's not a function, it's a function that returns a flux table. It's a function that returns a flux table. It's not a function, it's a function that returns a flux table. It's a function that returns a flux table. It's not a function, it's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table. It's a function that returns a flux table.", "reference": "This is correct in concept but the method signature doesn't really communicate the same thing. In other words, if the function produces an output table where is it? Its not on the function signature. Can you explain where the output table is created?" }, { "prediction": "I think you can remove the `if init_cfg is not None` part.", "reference": "For insurance, it's best not to take it directly" }, { "prediction": "I don't think we need to change the signature of this method.", "reference": "change 'value' to keysToSend, here and in other references in this commit. 'value' implies the user is getting the value of the element, rather than just the keys we're sending to it." }, { "prediction": "I think this should be `task.SetLocalIPAddress(taskIP)` instead of `task.SetLocalIPAddress(taskIP)`", "reference": "is the plan to fully migrate to boltdb and then remove the state save here?" }, { "prediction": "I think this should be `output.strongTextColor` instead of `output.colorUrl`.", "reference": "This should be `output.colorBright`. Unless I'm missing some reason for adding a new theme variable." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `version_major_minor_build` and `version_major_major_minor_build` and `version_minor_build_major_minor` and `version_build_major_minor_build` and `version_major_major_minor_build` and `version_minor_build_major_minor` and `version_major_build_major_minor_build` and `version_minor_build_major_build`", "reference": "nit: I wonder if these should be moved down to where version is defined, just to keep them all in the same place." }, { "prediction": "I'm not sure if this is the right thing to do, but it seems to me that this is the only thing that should be changed in this PR. I'm not sure if this is the right thing to do, but it seems to me that this is the only thing that should be changed in this PR. If it's the right thing to do, then I'd like to see this change in a separate PR.", "reference": "Is this supported by every implementation of Java (and Android)? Should it be conditional upon `gen_nullable`?" }, { "prediction": "Line is too long. [87/80]", "reference": "@briri Thanks! I just caught this too updating my feature branch" }, { "prediction": "I'm not sure if this is the right place to print the password, or if it's the right place to print it.", "reference": "I think you should move this block (and the `envpw := os.Getenv(\"RCLONE_CONFIG_PASS\")`) right to the start of the function, then we can remove the duplicate code below" }, { "prediction": "I'm not sure if this is the right test. I think it should be \"test that the draining command sets Host status to DRAINING by any means\" or \"test that the draining command sets Host status to DRAINING by any means\" or \"test that the draining command sets Host status to DRAINING by any means\" or \"test that the draining command sets Host status to DRAINING by any means\" or \"test that the draining command sets Host status to DRAINING by any means\" or \"test that the draining command sets Host status to DRAINING by any means\" or \"test that the draining command sets Host status to DRAINING by any means\" or \"test that the draining command sets Host status to DRAINING by any means\" or \"test that the draining command sets Host status to DRAINING by any means\" or \"test that the draining command sets Host status to DRAINING by any means\" or \"test that the draining command sets Host status to DRAINING by any means\" or \"test that the draining command sets Host status to DRAINING by any means\"", "reference": "Is this only to set the node to draining? I think we can do that inside `Before` or something?" }, { "prediction": "I don't think we need to check for `IsRelevant` here.", "reference": "This should have been moved up above this inner `try` because the log message in the `catch` block does not apply to this." }, { "prediction": "I'm not sure how I feel about aliasing `Boltlib::TargetSpec` and `Boltlib::PlanResult` here. I'm not sure how I feel about aliasing `Boltlib::TargetSpec` and `Boltlib::PlanResult` here.", "reference": "Do we expect people to use PlanResult directly?" }, { "prediction": "I think this should be `waitErr := wait.ExponentialBackoff(backoff, func() (bool, error) {`", "reference": "Maybe we should call this something like `errToReturn`?" }, { "prediction": "I think it would be better to move this check into the `findDelegatesForFoundationBonus` function.", "reference": "should calculate numEpochIn1Year = xxx and <= fairBankEpochNum+numEpochIn1Year a.foundationBonusLastEpoch just happens to be equal to 1 year now, but should not count on that" }, { "prediction": "I'm not sure this is the right place to put phrasing here.", "reference": "I wasn't sure if the content type needed to be removed from both the `default` and `usemap` objects - I'm not sure how usemap is used." }, { "prediction": "`XStrField` is a bit confusing. `XShortEnumField` is a `X3BytesField` and `X3BytesField` is a `X3BytesField`.", "reference": "Duplication of line 28 Please refer your tox -e flake8 It seems that XStrField, XShortField, FieldLenField are not used" }, { "prediction": "I'm not sure this is the right place to put this function. It's only used in the `_directories_hide_show_model` function.", "reference": "I don't really understand the `self._file_model.index(path)` as parent here - you use `self._root_index` for `rowCount` above, so wouldn't the parent here need to be `self._root_index` as well?" }, { "prediction": "I think this should be `minQueryLength` instead of `maxQueryLength`.", "reference": "Do we want validation somewhere that max >= min? Or simply treat the max < min case as ignoring max?" }, { "prediction": "I think this should be `when:inner=:else=${ndc:topframes=1}`", "reference": ":+1: that's a easier example :)" }, { "prediction": "I think this should be `findProductIdsByAttributeId` instead of `findAttributeIdsByAggregateId`", "reference": "If an external module decorates this interface, such a change will cause it to generate an error" }, { "prediction": "I'm not sure if `strcmp()` is the right thing to do here. `strcmp()` returns a negative number, so `strcmp()` should return a positive number.", "reference": "Oh ha hah, FNM_PERIOD worked out nicely there. Points for co-opting a file system convention." }, { "prediction": "I don't think we need this anymore.", "reference": "wrong grouping. As you can tell from the other files, we put system packages in the first group, the 3rd party packages in the second group, and our own packages in the third group." }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Is `o.name` always set here?" }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if this is the right place to put it in.", "reference": "Can this line be removed, as `SteadyStateDependencies` isn't updated anywhere? Also do we need to check the `TransitionDependencySet` here?" }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be `has_active_subscription?` instead of `has_annual_plan?`.", "reference": "`plan.present?` and `has_active_subscription?` are equivalent. We can drop this change, while leaving the one on `app/controllers/application_controller.rb`." }, { "prediction": "I think this should be `too-many-locals` instead of `too-many-locals`.", "reference": "No need for this, as pylint already only turns things off for this function and it's needed for the entire function." }, { "prediction": "I think this should be `c.config.Namespaces.AlertmanagerConfigAllowList` instead of `c.config.Namespaces.DenyList`", "reference": "L171 needs to be modified too?" }, { "prediction": "I don't think this is the right place for this function.", "reference": "Why do you compare by nodeid? Simply saying d == e should be enough. Unless we have to objects in memory with the same nodeid. If that is so, something went really wrong." }, { "prediction": "Can you add this to the `init.py` file?", "reference": "configs/pvt/retinanet_pvt_t_fpn_1x_coco.py --> configs/pvt/retinanet_pvt-t_fpn_1x_coco.py" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "Nit, this could be json:\",omitempty\"" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "It's kinda funny to read `s.Image.Image` I wonder why it resulted to this way. What would it take to refactor to just `s.Image`?" }, { "prediction": "I don't think we need this file anymore.", "reference": "nit: I like the idea! can we instead change the tag to `integration-remote` to be more specific? I feel like it's possible for us to use the `deploy` build tag for possibly another scenario" }, { "prediction": "I don't think this is the right place to put this.", "reference": "Copy and paste error here. Edit: Also missing commas here and in other Perl croaks between some parameters and not others." }, { "prediction": "Why is this needed?", "reference": "stateRoot or maybe ParentHeader would make more sense from API point of view?" }, { "prediction": "I'm not sure why this was removed.", "reference": "Are you sure that this is no longer needed?" }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a `SCAN_WITH_STATS` column in `SnapshotTableScan` and `SCAN_COLUMNS` in `SnapshotTableScan` and `SCAN_COLUMNS` in `SnapshotTableScan` and `SnapshotTableScan` respectively.", "reference": "Would it help to use SCAN_COLUMNS as base to build SCAN_WITH_STATS_COLUMNS e.g like so `SCAN_WITHSTATS_COLUMNS = ImmutableList.builder().addAll(SCAN_COLUMNS).add(\"value_counts\",....).build()`?" }, { "prediction": "This service is deprecated, use ReportStat instead.", "reference": "`ctx` is unused in ReportStat" }, { "prediction": "I don't think this is needed. It's already included in `t_generator.h`.", "reference": "We don't want to add boost as a dependency when building the Thrift compiler. Sorry." }, { "prediction": "I'm not sure this is correct. The `minSpeedChange` and `maxSpeedChange` are already initialized to 0 by default, so the `speedChange` and `maxSpeedChange` are never initialized to 0 by default.", "reference": "It's not printing the range. Also I think it's useful to print a warning above stating that the minimum change is -1000." }, { "prediction": "I don't think we need to do this.", "reference": "if name is empty will this become enumerate? (and cause the unmarshal to fail?)" }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.
Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "How about including a flash message that explains the exercises are only available to subscribers of X plan?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "You should also call `e.accept()` and `return` so the key press isn't processed further (as we're leaving insert mode anyways)." }, { "prediction": "I don't think this is needed.", "reference": "Freeze mutable objects assigned to constants." }, { "prediction": "Can we use `await pageWait();` instead of `await Promise.all( [... ] );`?", "reference": "Hmm, this feels hacky. Maybe good enough if it makes the test more stable, but why is timing even an aspect here, since below it should wait for these two things anyway?" }, { "prediction": "I don't think we need to do this. The `X-Forwarded-For` header is already set in the `Instrumentation` class.", "reference": "Do we want this on by default, or an opt-in (e.g. via some config while add the instrumentation)? I guess a more general question is - what's the bar for the default vs opt-in tags." }, { "prediction": "I'm not sure if this is the right place to register the handlers.", "reference": "`status` is just one of the features, named as status is not suitable." }, { "prediction": "I think this should be `if (UserPreferences.getFeedFilter()!= UserPreferences.FEED_FILTER_NONE) {`", "reference": "There is an option to hide the subscriptions list from the sidebar. If it is hidden, the filter text should not be displayed." }, { "prediction": "I think it would be better to have a default value of 100 here.", "reference": "I'd like for all of this to be dynamically configurable at some point, but it doesn't have to be in this PR. Can add it to the future SIP or create a separate JIRA for it, as you think would be appropriate." }, { "prediction": "I'm not sure why this was removed.", "reference": "move the constructor to down the `namespace`" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "Nit: ending with a '.' looks consistent with the fields around it." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix or if it's the right fix.", "reference": "Audit log will not have a warning about they are using a deprecated path, is it something we must care about?" }, { "prediction": "I don't think we need to check for `TypeMemberVisibility.FamilyOrAssembly` here.", "reference": "I think you also want to update the condition to add ` || impl.Visibility == TypeMemberVisibility.FamilyOrAssembly`." }, { "prediction": "This should be `uint64(100)`", "reference": "`DepositToRewardingFundBaseGas` is a global variable (from `gochecknoglobals`)" }, { "prediction": "I don't think this is a good idea. It's not a command group, it's a command group. It's not a command group, it's a command group, it's a command group.", "reference": "What do you think of \"operations\"?? Also what do these emojis look like on Linux??" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to have a `prime-aside-links` section with a link to `View all the features of #{t('shared.subscription.name')}` and a link to `View all the features of #{t('shared.subscription.name')}`.", "reference": "I like the word \"give\" here. Feels like I'm giving a gift to my team." }, { "prediction": "I'm not sure if this is a good place to put this. It's not a big deal, but it's a good place to put it.", "reference": "Is it possible to use `np.random` module instead?" }, { "prediction": "I think this should be `black` instead of `white`.", "reference": "``default=None`` implies ``allow_None`` so ``allow_None`` is superfluous here. As a special case, if allow_None=True (which is true by default if the parameter has a default of None when declared) then a value of None is also allowed." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "Is there anything in particular that makes setting up the downstream rolebinding(s) to `system:k3s-controller` burdensome or confusing? This changes looks fine to me but it seems a shame to alias an embedded k3s controller. If we are doing this in other places that I am not aware of then we can dismiss this concern out of hand." }, { "prediction": "I don't think we need this anymore.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I don't think this is needed.", "reference": "nit: all other types in this project have full names, so maybe a better name would be `OperatingSystem`?" }, { "prediction": "I think this should be `#include ` instead of `#include `", "reference": "Why is this needed here?" }, { "prediction": "I think this should be `Optional.empty()`.", "reference": "mmm, why a method declaration should not have the TypeVariableResolutionCapability? Is this ok?" }, { "prediction": "I think we can remove the `privateTransactionHandler` parameter from the super constructor.", "reference": "nit: any reason you swapped the ordering?" }, { "prediction": "I think this should be `config.HardwareAccelerationType` instead of `config.EnableHardwareEncoding`", "reference": "can you de-uglify at least this line?.. hard to tell what changed..." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Please can you merge master in before making these changes. I just reinstated a bunch of BPF UTs. Possible that the UTs use this code." }, { "prediction": "I don't think we need this test.", "reference": "Do you want to add additional cases for `Bla.__b()` and `self.__c()`? (Just add additional classmethods `__b` and `__c` and the calls to `__init__`)" }, { "prediction": "I'm not sure this is the right place for this function. I think it should be `get_current_user_records_that_can_be_displayed(qid)`", "reference": "the recids is never changed after. So, it should contains the exact shown results, whatever are the rights for the user (admin or simple user, restricted collections...)" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if it's the right way to do this, but I'm not sure if it's the right way to do it.", "reference": "Shouldn't the docstring mention that the MD5 checksum of `p` is computed each time and verified? Also, could there be use cases where a caller might not want such a check to happen because, eg, a blob storage solution doesn't provide MD5 verification or uses another hash algorithm such as SHA256?" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to do it in the `if eventName==\"gainFocus\" and not doPreGainFocus(obj,sleepMode=sleepMode):` block. This way you don't have to do it in the `if eventName==\"gainFocus\" and not doPreGainFocus(obj,sleepMode=sleepMode):` block.", "reference": "focusRedirect is used in the powerpnt appModule. We might have to make sure that this does not break. Having said that, I really like this being handled on the events level!" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "You imports are out of order" }, { "prediction": "Why is this change needed?", "reference": "This should not be called Flow Trigger. FlowTrigger should has its own flowTrigger job name, for instance, \"flowtrigger\"" }, { "prediction": "I don't think this is required for sqlite3 usage.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "This should be `Console.WriteLine(\"***WARNING*** The current build is DEBUG which may affect timing!\\n\");`", "reference": "Why do we need `\\n` if we already use `WriteLine`? (and `\\n` is not cross platform)" }, { "prediction": "I think this should be `prometheus.InstrumentationName` and `prometheus.InstrumentationProtocol`", "reference": "What is instrumentation name used for? I'm not seeing other classes use it, only a getter, constructor, and builder." }, { "prediction": "I think this should be `internal` instead of `internal`.", "reference": "@kristofgazso could you review these warnings?" }, { "prediction": "I don't think this is needed.", "reference": "will delete this." }, { "prediction": "Metrics/LineLength: Line is too long. [124/120]", "reference": "~~Indent 2 lines above~~ Disregard. My fault" }, { "prediction": "Why is this change necessary?", "reference": "What was the bug that this is fixing?" }, { "prediction": "I don't think this is needed, the `Basic` header is already added to the request.", "reference": "This will always add the authorization header to the request object. Is this the right scope for these two lines? If username/password are not defined, it will encode 'Basic :'" }, { "prediction": "I'm not sure if this is the right place to put this in. It seems like it would be better to put it in the `tests/` directory, rather than in the `tests/` directory.", "reference": "Is this always how Bazel does paths? Would it be nicer to do `-DBAZEL_TEST_DATA_PATH=../com_github_google_flatbuffers/tests/` so this string is not hardcoded in the the source?" }, { "prediction": "`date_utc` added here, so we can be sure to get the actual date and time based upon UTC and not the client date and time based on the client machine.", "reference": "Not an expert of ES, so not sure of the impact here." }, { "prediction": "I think we can remove the `granteeList` parameter from the `getRoleList` function.", "reference": "Who deletes the memory for the granteeList? (or the roleList for that matter)" }, { "prediction": "I don't think this is the right place to do this. The `subscriptions` variable is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_listener.` is only used by `ws_listener` and `ws_", "reference": "This loop is missing a lock on subscriptions_mutex." }, { "prediction": "I'm not sure if this is the right route. I think we should be able to do `/users/:id` instead of `/sign_in` and `/sign_out` depending on the `id` of the `sign_in` session.", "reference": "shouldn't clearance be setting these up for us?" }, { "prediction": "I'm not sure if this should be a Detector, or just an empty resource.", "reference": "Need to update the doc for `TelemetrySDK` and `Host` structs deleting references from removed functions." }, { "prediction": "Why is this removed?", "reference": "I think we should keep that here and add a new method `isSyntacticallyFinal` that returns `super.isFinal()` (and can be used in UnnecessaryModifier). Otherwise the contract of `isFinal` is not respected" }, { "prediction": "I'm not sure this is the right fix. I think we need to do something like `scrollEvent.y = getScrollY(scrollPixels, scrollLength, self.renderContainers.body.prevScrolltopPercentage);` instead of `scrollEvent.y = getScrollY(scrollPixels, scrollLength, self.renderContainers.body.prevScrolltopPercentage);`", "reference": "Is there a reason why we wouldn't want to check this every time? Why are we only checking for the footer and scroll bar when enableCellEditOnFocus is true?" }, { "prediction": "This import is unused. Please remove it.", "reference": "You need to create an API for this class. This class should follow roughly the same dependency structure than RemoteAvailableInstallersPlayOnLinuxImplementation / RemoteAvailableInstallers. Maybe we could use a inner class here?" }, { "prediction": "I don't think we need the `ON DUPLICATE KEY UPDATE` here. The `ON DUPLICATE KEY UPDATE workflow_id = VALUES(workflow_id)` should be fine.", "reference": "This should not be a case, right? If `run_id` is the same `workflow_id` can't be changed. Actually surprised that it is not part of a key." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "How would AQR work for an INSERT/SELECT of one table into another where a LOB column is being copied?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Since these are ultimately different endpoints, it would be nice if we could move them up one level and nuke the common `sds` directory in order to reduce path stutter" }, { "prediction": "I think this should be `||` instead of `||`.", "reference": "Please check also whether `null` occurs in the rest of `beforeChangeResult` array." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Outdated docs. There is no response, there's an ack." }, { "prediction": "I'm not sure this is the right fix.", "reference": "I'd rather have the container process remove the FIFO after it unblocks. Then `start` can always `Exec()`, and you can catch the \"FIFO does not exist\" error and translate it to a prettier \"someone must have already started the container\"." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "can you check if there's other similar cases to add nil-check like this?" }, { "prediction": "I think this should be `is_valid_commonname = (commonname is not None and len(commonname) < 64)`", "reference": "`<= 64`? I just picked up what you said in #3981 (\"the CN field is limited to 64 characters\") but maybe there's something I don't know where the 64th character is needed (trailing dot or whatever?) Also this sounds like something that could be beautifully unit tested. Sorry for bugging you :grin:" }, { "prediction": "Line is too long. [82/80]", "reference": "I understand that this grabs a Licenses objects but what is the autocomplete method used for? What does this do in context of the auto_completes controller?" }, { "prediction": "I think this method should be `public Optional transactionLocationByHash(final Hash transactionHash)`.", "reference": "I don't really like that way of naming methods based on their arguments. But I can see that the other method names are the same..." }, { "prediction": "I think this method should be called `sanitizeFileDirectory(String value)` instead of `sanitizeFileDirectory(String value)`", "reference": "@sekmiller This method correctly strips the leading and trailing slashes (and also \".\" and \"-\"); But I thought the plan was also to replace any multiple slashes between nested folders with a single slash. For example, as implemented now, I can enter \"folder1///folder2\", and it gets saved and displayed like this, with the 3 slashes. I thought we wanted to sanitize it as \"folder1/folder2\"." }, { "prediction": "This should be `int64_t` instead of `int64_t`.", "reference": "Looks like the X86 inline assembly is not happy with this type. I will update that" }, { "prediction": "I'm not sure if this is the right place to put the `

` tag.", "reference": "Tabs and a space, again." }, { "prediction": "I think this should be a `std::string` instead of a `uint32`", "reference": "Please just enclose if blocks with brackets; this has created issues in the past so I'd prefer we don't use them" }, { "prediction": "Line is too long. [87/80]", "reference": "`version` isn't need anymore because it's built into `approve_proposal_url`, yes?" }, { "prediction": "I'm not sure why this is needed.", "reference": "Moved to the bottom of the file. `CtrlPDU` sits on `BTLE_DATA` so let's put it after" }, { "prediction": "I don't think this is needed.", "reference": "This ends up requiring the `json` gem, right? Is there any way we can do this to be implementation agnostic (e.g. to let me use `yajl-ruby` for performance reasons (or because my app already brings in a JSON library)" }, { "prediction": "nit: I'd prefer if ReadByte returned a nil error, and if ReadByte returned a nil error, we don't need to continue.", "reference": "This seems dangerous. What circumstances lead to the need for a retry? Can that happen more than once? I'm concerned that if we hit the pathological state, this could turn into a CPU spinner. I wonder if we could get the same benefit from just \"trying again\" and failing if it fails the second time." }, { "prediction": "I think this should be `final` instead of `final`", "reference": "If there is a reference to other fields or methods, please do the initialization in the constructor." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it. If it is the right way to do it, let me know.", "reference": "These should be importing from `pill-container`" }, { "prediction": "I'm not sure if this is correct. The message should be \"Sorry, not possible. Please try again later.\"", "reference": "Why this change? It will now only show on the bottom of the screen as white text, is it correct behaviour?" }, { "prediction": "Do we need to check if `f` is `nil`?", "reference": "Does this need to allocate a string or would a nil value (indicating no header) be a better?" }, { "prediction": "Why is this needed?", "reference": "Nit: Past tense of `reset` is also `reset`." }, { "prediction": "I'm not sure if this should be a command, since it's not a command.", "reference": "Shouldn't this use `'n'` instead?" }, { "prediction": "I'm not sure if this is a good idea, but I'm not sure if it's a good idea.", "reference": "revert back to 'TASK_TYPE_ACTIVITY_TIMEOUT'" }, { "prediction": "I don't think you need the `Variable::Info` template parameter here.", "reference": "Shouldn't we prefer passing a pointer by reference T*&, since these are C++ bindings?" }, { "prediction": "I think this should be `if len(ingressRule.SourceGroups) > 0`", "reference": "nit: Personally I feel that it's cleaner to let `toAntreaPeerForCRD` to take `ingressRule` as a param instead of `ingressRule.From`. It can call `processRefCGs` inside the function and do the ipBlock/AG union within the function itself. It might not be worth the refactor though." }, { "prediction": "I think this should be `spcObj.VersionDetails.Status.State = apis.ReconcilePending`", "reference": "Pending has been set only for SPC.. why? for other CRs as well, this need to be done.. right?" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to have the `class` parameter in the `getBoxHelperProperties` method.", "reference": "would use an empty string here as default and then check for emptiness in the twig template. I dont like mixing types @core23 what do you think?" }, { "prediction": "Please use `Name#toLowerCamel` instead of `Name#toUpperCamel`", "reference": "How come we need case manipulation for the nextPageToken and not for pageToken?" }, { "prediction": "I'm not sure if this is the right place to put this route. I think it should be `profile#show` instead of `profile#update`.", "reference": "why use these rather than regular named paths?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Hm, I don't think the extra flags are doing any harm here, but it does seem like `--help` is the only flag you could *actually* use with this command. We might eventually want to separate those out." }, { "prediction": "I think we need to add a note about naming of these dataframes.", "reference": "We should make this a docstring, so that editors are able to pick it up." }, { "prediction": "I'm not sure what this test is testing. It looks like it's testing the analytics for the watchable name, but it doesn't seem like it's testing the watchable name. I'm not sure what the best way to test this is.", "reference": "Put a comma after the last parameter of a multiline method call." }, { "prediction": "Why is this being removed?", "reference": "App cache size is now managed dynamically by the `WebView`. This statement has no effect in the new framework." }, { "prediction": "`includes` is not supported in IE. Please use `includes(nodeName)` instead.", "reference": "VirtualNode has a `hasAttr` function, any reason why you're not using it?" }, { "prediction": "I think we should remove this assert. The `HttpAccess.init` method is only called once per process, so we don't need to create a new instance every time.", "reference": "This now throws when running tests (maybe the move to java 11??). Do we want to keep it?" }, { "prediction": "I think this should be `sha1[:10]` instead of `sha1[:7]`", "reference": "We can allow 7-char SHA, does not mean we want to show with 7-char in default, please change to `if len() > 10`, then cut." }, { "prediction": "I'm not sure if this should be translatable or not. I'm not sure if it should be translatable or not. If it is translatable or not, it should be translatable.", "reference": "this one should also have quotes i guess :)" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Using the variable on range scope `mock` in function literal (from `scopelint`)" }, { "prediction": "I'm not sure if we should change this to `accepted(json(res.getDataset()));`", "reference": "does this result in a 200 when the dataset is still inprogress/publishing not yet finalized? Seems like 202 is the right code for that (as it was) and the test should be watching for a 202?" }, { "prediction": "I think this should be `orderPath` instead of `orderPath`", "reference": "Previously you could only order by the field you were searching by. But for full-text search, you can search across all indexed fields, and it didn't make sense not to have a sorting. For backward compatibility, the javascript code uses indexPath as the orderPath when no orderPath is provided." }, { "prediction": "I think this should be `{object}` instead of `{object}`.", "reference": "VIM didn't like your whitespace." }, { "prediction": "I don't think this is needed.", "reference": "Are you sure the namespace should change?" }, { "prediction": "I don't think you need to call `Reset()` here.", "reference": "@martijn00 I'm not sure why we're keeping the object parameter and return type since this can be done by using MvxApplication with THint set to object" }, { "prediction": "I'm not sure if this is the right place for this class. It seems to me that `Time` and `MySQLType` are the same, so I'm not sure if this is the right place for them.", "reference": "why do we create a time type here?" }, { "prediction": "I don't think we should use `css!components/listview/listview` here.", "reference": "Does this style actually need to get loaded in all of these components?" }, { "prediction": "I don't think we need this anymore.", "reference": "import but not used so you did not resolve compile warnings?" }, { "prediction": "I'm not sure this is correct. The armor value should be a power of 2, and the armor value should be a power of 3. The armor value should be a power of 2, and the armor value should be a power of 3. The armor value should be a power of 2, and the armor value should be a power of 2, and the armor value should be a power of 3.", "reference": "This is so much more concise and beautiful than the previous formula" }, { "prediction": "I think this class should be renamed to `AcceptanceTestBase`.", "reference": "Is there any reason not to have the `static` modifier for the logger? _(that would be in keeping with the reference being uppercase)_" }, { "prediction": "I don't think we need this interface, it's only used for the initiation of the connection.", "reference": "It's not about session creation config. It's about passing consumer config parameters to underlying transport - nothing to do with session itself" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a default value of `true` for `debug` and `false` for `noBGFlush`.", "reference": "Why is there an \"enable\" in the param name? Couldn't it just be `overrideDebug`? Here are everywhere else." }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "`published.recently_published_first` reads a little oddly to me. Is this the same thing as `Video.published.ordered`?" }, { "prediction": "I don't think this is the right place to catch this.", "reference": "Encountered this because I had a stray comma. Figured I'd tweak it a bit." }, { "prediction": "I'm not sure if this is the right way to test this. I'm not sure if this is the right way to test this.", "reference": "qq: Should this include the iptables6-save sim. to the inverse checks above?" }, { "prediction": "I think we should use `reflect.ValueOf(left.Field(i).Interface())` instead of `reflect.ValueOf(right.Field(i).Interface()).(type)`", "reference": "im open to explicitly checking NotSet value here but json logic already handles it so kept it this way." }, { "prediction": "Why is this needed?", "reference": "The naming of the include file appears to be unlucky." }, { "prediction": "`self.legend_opts.update(**leg_spec)`", "reference": "Bit worried about this. At minimum you should make a copy of the dict here to avoid modifying a user supplied variable." }, { "prediction": "I'm not sure if we should limit the number of launch template versions. I'm not sure if we should limit the number of launch template versions, or if we should limit the number of launch template versions.", "reference": "Is it better to create one before pruning? In case creation fails we don't want to delete the previous one. We create a new one, it is tagged as latest, so the previous can be deleted. `CreateLaunchTemplateVersion` returns the version created, how about directly trying to delete the previous version? Assuming the numbering is strictly increasing." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do it, but I'm not sure if this is the right place to do it.", "reference": "Do we require the specific implementation information here?" }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be `email_banned?(email_address.split('@').last)`", "reference": "How about `exists?(['domain ~*?', domain.downcase])`?" }, { "prediction": "I think this is the only place where the CLI header is being used.", "reference": "Is this getting used in other places? Can we switch all the places to use the new API you added?" }, { "prediction": "I'm not sure why this was removed.", "reference": "This need to be checked with linux. AFAIK, we have this file in our bin directory that is a link to the system file." }, { "prediction": "I'm not sure if this is the best way to do this, but I think it's better to use `eslint-disable-warnings` instead of `eslint-disable-warnings`.", "reference": "Shouldn't we import `default`? I can't get here to test." }, { "prediction": "I think this should be `self.unix_socket = os.path.join(self.temp_dir, 'luigid.sock')`.", "reference": "!!!!!!!!!!!!! @graingert, does this mean that tests haven't been running???" }, { "prediction": "Nit: `type!= null && type.Equals(RunToolSettingValueTypeReservedKeyword)`", "reference": "I've already tried the null-coalescing operator here and got a strange error, so did this the old-fashioned way." }, { "prediction": "I don't think this is the right way to do this. The `role` attribute is always `list`, so the `isListRole` check should be redundant.", "reference": "This doesn't follow our spacing convention. It's also a little hard to read. Can you reformat?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "The deploy should come before template? EDIT: I see that in other files, we put a separate line and put deploy at the end. What is the reason for this?" }, { "prediction": "I don't think this is needed.", "reference": "Consider making a constant (e.g. `MetricStreamConfiguration.Drop`)." }, { "prediction": "I think this import should be moved to `rdkit/piddle/__init__.py` instead of `rdkit/piddle/__init__.py`.", "reference": "same question: why not just switch this to range too?" }, { "prediction": "Why is this change needed?", "reference": "@chuckatkins most places used an empty string for \"no type\", but a few used `\"unknown\"`. I've converted both cases to `Type::None`. Do you know why there was a distinction before?" }, { "prediction": "I think this should be `std::min(train_data_->FeatureGroupSizesInByte(i), static_cast(num_data_));` instead of `static_cast(num_data_)`.", "reference": "should we assert for the type for `FeatureGroupData`? I think it should be 1-Byte type." }, { "prediction": "Why flipud and not flipud?", "reference": "As long as you are sure this is definitely correct now... :-)" }, { "prediction": "I think this should be `\" \" + activeTemp.toStringShort() + \"\\n\"`", "reference": "... so that all action buttons have the same height :-)" }, { "prediction": "I don't think this is needed.", "reference": "Use correct, alpha sorted, include order. Correct order means: 1. Header corresponding to this source (i.e. `\"LatencyTestPublisher.hpp\"`) 2. C system headers 3. C++ system headers 4. Alpha-sorted external libraries headers 5. Alpha-sorted public headers from this project 6. Alpha-sorted private headers" }, { "prediction": "I'm not sure if this is a good idea to have a default implemenation for outbound requests. I'm not sure if it's a good idea to have a default implemenation for outbound requests, but if it's a good idea to have a default implemenation for outbound requests, I think it's better to have a default implemenation for outbound requests.", "reference": "I hate this name, open to suggestions." }, { "prediction": "I'm not sure if we should log an error here. I'm not sure if we should log an error here.", "reference": "Does this log line work? We need Warningf or just warning without the format string." }, { "prediction": "I'm not sure if this is the right thing to do here. It seems that `WithMetricsProcessors` should be called before `sdk.WithAccumulator(checkpointer, sdk.WithResource(c.Resource), sdk.WithMetricsProcessors(c.MetricsProcessors...), )`", "reference": "The pull controller would need similar updates." }, { "prediction": "I don't think we should change the year.", "reference": "ignore this.. just didn't want to litter with a commit update to satisfy license plugin" }, { "prediction": "I think this should be `/cygdrive/c/Windows/Temp/#{host['dist']}.msi` instead of `/cygdrive/c/Windows/Temp`", "reference": "Is this definition needed since it doesn't look like it's being used anywhere?" }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to put this in a `before_filter` so that we don't have to repeat the `if` in the `unless` block.", "reference": "Can this condition be reworded using `if` please?" }, { "prediction": ">inputs!= nullptr [](start = 36, length = 6) I'm not sure why we have empty imputs from pipe.", "reference": "after ||, no need inputs!= nullptr" }, { "prediction": "I'm not sure if this should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, or if it should be an array of strings, it should be an array of strings.", "reference": "Is it just preference or on purpose that using slice of structs instead of slice of pointers?" }, { "prediction": "I'm not sure this is the right thing to do here. `oldDom` is always `null`, and `newVNode._dom` is `undefined`, so `oldVNode._dom` will always be `null`. I'm not sure if `newVNode._dom` will always be `null`, but `oldVNode._dom` will always be `undefined`.", "reference": "This line always confused me anyway. Good catch!" }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Should we add `ctx` to `BlockServer.Shutdown()` for this purpose? Would be nice, but I don't care too much." }, { "prediction": "I think this should be `period.nanosec` instead of `period.seconds` and `period.nanosec`", "reference": "Duration_t at RTPS level must be serialized using fractions." }, { "prediction": "I'm not sure if this is a good name. I think it should be something like \"peer for service %q is not running\" or something like that.", "reference": "\"peer\" has its own meaning within YARPC with its own class of objects. This should probably be \"dispatcher\" too?" }, { "prediction": "I don't think this is the right thing to do here. The `experimental-enable-naive-ctu-analysis` flag should be added to the `config.ctu_dir` argument.", "reference": "I do not like this line break before `=true`. Maybe starting the list in the next line would help to reduce the indent? This way we could keep this string together." }, { "prediction": "I think we should keep the config-path and sub-config-path as well.", "reference": "_plugins should be removed too" }, { "prediction": "I don't think we need to check for `alt` attributes, since it's not a valid attribute.", "reference": "The rule selector will not include `` and `` elements. Why not make this a new, separate rule altogether?" }, { "prediction": "I'm not sure about this change, but I think it's better to use `userscripts.NotFoundError` instead of `userscripts.UnsupportedError`.", "reference": "@The-Compiler Is this style okay or would you prefer a common userscript exception base?" }, { "prediction": "I don't think this is the right way to do this, but I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "we'd need to return a MongooseBuffer here instead of the Binary. lets add the subtype option to the buffer schema type as referenced in #1000 instead." }, { "prediction": "I think this should be `if (selector == null || typeof selector!== 'object') return callback(toError('selector must be a valid JavaScript object'));`", "reference": "Let's remove this change." }, { "prediction": "I'm not sure this is the right way to do this. I think it should be `ROLE_TABLECELL,ROLE_TABLECOLUMNHEADER,ROLE_TABLEROWHEADER` instead of `ROLE_TABLECELL,ROLE_TABLECOLUMNHEADER,ROLE_TABLEROWHEADER`", "reference": "Could you split this into multiple lines?" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it's better to use `useSelect` instead of `useSelect( STORE_NAME ).getCurrentEntityURL()`.", "reference": "This technically works, however it may be safer to use both `getCurrentReferenceURL` and `getCurrentEntityURL` and then make this condition `currentReferenceURL === currentEntityURL`. Currently, this code only works based on the internals of `getCurrentReferenceURL`, so by checking both we would decouple that." }, { "prediction": "I'm not sure why this was changed.", "reference": "It does not recommend capitalization" }, { "prediction": "Use the new Ruby 1.9 hash syntax.", "reference": "Minor thing, but can you use 1.9 hash syntax for this?" }, { "prediction": "I think this should be `Util.format_windows_path(lambda_cwd)` instead of `format_windows_path`", "reference": "I tried to follow the code structure already present." }, { "prediction": "I think this should be `\"of\" + from.toPath()` instead of `\"of\" + from.toPath()`", "reference": "seems reasonable to also want to include the 'to' location?" }, { "prediction": "I think this should be `resource_filename(\"nupic\",\"\")` instead of `resource_filename(\"nupic\",\"\")`", "reference": "Please leave 1 space char between commas here and other places in this PR." }, { "prediction": "I'm not sure this is correct. The `pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED)` should be `0 == pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED)`.", "reference": "hm is this really &&? Not ||? Was it initially correct if any of these things are not set that it needs to recreated?" }, { "prediction": "I don't think this is the right place to do this, but I don't think it's worth it.", "reference": "Please don't use C-style array declarations. IMO our pre-commit ought to be enhanced to not allow this" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "@rhc54 This doesn't look like a comprehensive comparison. For `PMIX_STRING` we seem to actually compare the content of the data while here we only compare meta-information which doesn't ensure that values are the same." }, { "prediction": "I think this should be `bool` instead of `bool`.", "reference": "I think `bypass_frontier_confirmation` conveys the intention better (default false as well)" }, { "prediction": "why not use `github.com/filecoin-project/go-filecoin/address`?", "reference": "This looks like it goes beyond the scope of removing `BlockHeight()`, in the future please do this in a separate commit at a minimum -- separate PR is fine too." }, { "prediction": "Why do we need to pass `tab` to `super().__init__(parent)`?", "reference": "You'll also need to adjust `FakeWebTabAudio` in `tests/helpers/stubs.py`." }, { "prediction": "I don't think we should remove this file.", "reference": "@csrwng what should we do here? This one is from origin." }, { "prediction": "This should be `#include `", "reference": "Follow alphabetical order." }, { "prediction": "I don't think this is needed.", "reference": "As far as I can tell, these always get and set the context as an `IReadOnlyDictionary`. Can we use that here instead of `object` and get rid of the `as IReadOnlyDictionary`?" }, { "prediction": "I think this should be `html.escape(self._opt.text)` instead of `html.escape(html.escape(self._opt.text))`", "reference": "As you only have `{}` as the format string (without anything else in it), this is the same as doing `self._doc.setHtml(html.escape(self._opt.text))`" }, { "prediction": "I think this should be `azkaban.security.credential.name` instead of `azkaban.security.credential.name`", "reference": "Where would this be configured? In azkaban.properties?" }, { "prediction": "I'm not sure if this is the right place to put this check. I'm not sure if this is the right place to put this check.", "reference": "1. Use `const` instead of `var` here. 2. Move the check to after the `if (update == null || typeof update!== 'object')`." }, { "prediction": "I'm not sure this is the right place to put this define.", "reference": "Let's assume that on Linux `eventfd` is always available as a wrapper of the eventfd2 system call. It is supported since linux 2.6.27 + glibc 2.9, as well as from the ancient versions of bionic. In other words, it would be fair to argue that the pair would be available on practically all platforms that provide `pipe2`. Therefore switching from using `pipe2` to `eventfd` on linux unconditionally would not cause issues on our users." }, { "prediction": "I don't think we need to create a new `DBCStatistics` every time we create a new `DBCStatistics` object.", "reference": "This field could be `final`." }, { "prediction": "Line is too long. [82/80]", "reference": "would be good to have a test for the case when `shutdown!` raises" }, { "prediction": "I'm not sure this is the right place for this code. I'm not sure if this is the right place to put this code.", "reference": "Does upsert pass this check also?" }, { "prediction": "I think this should be `WithField(\"stdout\", ioStreams.Out.(*bytes.Buffer).String()).Info(\"patch command successful\")`", "reference": "Apologies reviewers, I did end up pushing another change. I was starting to request SRE-P help to get the apiserver configs from some clusters before and after when I realized I can just log the stdout from the patch command to see if anything was changed or not. Much simpler to verify if my work did or did not make changes to the config during the transition. Also got the spacing issue you mentioned @abhinavdahiya Thanks all." }, { "prediction": "I think this should be `_kbfs_config` instead of `_kbfs_config`.", "reference": "I'm not sure this naming is a good idea; that's the format for macOS xattr metadata files on unsupported filesystems." }, { "prediction": "Line is too long. [86/80]", "reference": "Metrics/LineLength: Line is too long. [85/80]" }, { "prediction": "I don't think we need this anymore.", "reference": "Please remove these imports. The project's style is to use `Assert.assertEquals` and not import static methods in general. This also caused a lot of unnecessary changes." }, { "prediction": "This should be `flb_plg_error(ctx->ins, \"[http_client] failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP client\", \"Failed to create HTTP", "reference": "thanks. Note that returning at this point might leak memory from the allocations above, so the PR will need to take care of that too." }, { "prediction": "I'm not sure if this is the right place to put this logic, but I think it would be better to move this logic into the `setWindowState` function, so that it's only called when `isFullScreen()` is true.", "reference": "If you really want to rename this, you'll also need to adjust the name in `__init__` and in other places it's used (`browser/commands.py`)." }, { "prediction": "@OneToOne(cascade = {CascadeType.REMOVE, CascadeType.MERGE, CascadeType.PERSIST}) // TODO: Figure out why this doesn't work. @JoinColumn(nullable=false, unique=true) private DataFile dataFile; @OneToOne(cascade = {CascadeType.PERSIST}) // TODO: Figure out why this doesn't work. @JoinColumn(nullable=false, unique=true) private DataFile dataFile; @OneToOne(cascade = {CascadeType.REMOVE, CascadeType.MERGE, CascadeType.PERSIST}) // TODO: Figure out why this doesn't work. @JoinColumn(nullable=false, unique=true) private DataFile dataFile; @OneToOne(cascade = {CascadeType.PERSIST}) // TODO: Figure out why this doesn't work. @OneToOne(cascade = {CascadeType.REMOVE, CascadeType.MERGE}) // TODO: Figure out why this doesn't work. @JoinColumn(nullable=false, unique=true) private DataFile dataFile;", "reference": "As discussed at standup, I gave up on this. Calling `DeleteMapLayerMetadataCommand` felt cleaner anyway because there might be other cleanup that needs to happen. @scolapasta and @matthew-a-dunlap plan to discuss this." }, { "prediction": "I think this should be `%v\\n` instead of `%v\\n`", "reference": "Do we need these changes? If so, can you tidy up the messages? Looks like it might have been your testing/debugging changes" }, { "prediction": "I'm not sure if this is a good default, but I'm not sure if it's a good default.", "reference": "where is the default being set?" }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "these changes should likely be in the next commit instead" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Since you have defined this struct, I would suggest to replace all exist literal structs by this." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "The field name doesn't really capture what this option does. I think `mConfirmDiscardMessage` would be a better choice." }, { "prediction": "I think this should be `'string, %s, %s', 'Symfony\\Component\\HttpFoundation\\File\\File', 'Symfony\\Component\\HttpFoundation\\Request'`", "reference": "what if `$media->getBinaryContent() == Symfony\\Component\\HttpFoundation\\File\\File` does `is_string()` return `true`? ping @greg0ire" }, { "prediction": "Why is this removed?", "reference": "maybe rather than `bool` make this field a `StructDef *`?" }, { "prediction": "I think this should be `fbm.blocksToDeleteWaitGroup.Add(1)` instead of `fbm.blocksToDeleteChan <- toDelete`", "reference": "Shall we maybe put this in a `const` like `backgroundTaskTimeout`?" }, { "prediction": "I don't think we need to catch `HttpListenerException` here.", "reference": "CI is complaining about this." }, { "prediction": "Why not use `Calendar.DATE` instead of `Calendar.DATE`?", "reference": "Let's only change a file if it is really necessary. Such a change does not bring much value and makes it harder to find the original commit in which the method was introduced." }, { "prediction": "Why not just use `$attributes['class'] === ''` here?", "reference": "I would prefer to set up space between classes in format pattern, `%s %s` and then use `trim()` to remove unnecessary whitespaces. This will also solve stripping whitespaces from the beginning and end of a string `$attributes['class']`" }, { "prediction": "I think this should be `LOG(ERROR) << \"unknown setence type[\" << sentence_->getType() <<\"]\";`", "reference": "when Op is illegal should return here?" }, { "prediction": "I think we should remove the `versionKey` from the `installedVersions` map.", "reference": "don't we need to remove the project version from installedVersions?" }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, so I'm not sure what the best way to do this is.", "reference": "the bridge here isn't defined as an accessor / reader to try mask it better. So you need to directly call the iVar `@bridge` here." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "This is intended. Pls revert this." }, { "prediction": "I think this should be `Comparator::naturalComparator()` instead of `Comparator::naturalComparator()`", "reference": "Something wrong with cast to `(Comparator<> & Serializable)`, need to be investigated" }, { "prediction": "I think we should keep the `handleClickSearch` and `handleSearchSearch` methods as they are only used in one place.", "reference": "I think we need this. Not sure, I'll test." }, { "prediction": "I'm not sure if this is the right place to putiptables. I'm not sure if it's safe to remove it, or if it's safe to remove it.", "reference": "I'm going to need to check if google compute requires these steps in this order, or if you can disable iptables after the fact." }, { "prediction": "I think this should be `//go:build!no_stage // build/static/charts/traefik-10.3.001.tgz`", "reference": "Did go change their tags with the new version?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "I don't recall what we decided here in terms of which source would get priority. As written, the static configuration will overwrite datastore results." }, { "prediction": "I'm not sure this is the right fix. The rule can't use multiple outputs if it has only one output. I'm not sure if this is the right fix.", "reference": "I think it should still panic for when there are no outputs; might be nice to special-case that though so the message is more explicit." }, { "prediction": "I think this should be `new MetricsConfig.MetricsConfigBuilder().build()`.", "reference": "*NULL_DEREFERENCE:* object `null` is dereferenced by call to `meterSupplier(...)` at line 122." }, { "prediction": "I'm not sure this is the right fix. The `readPreference.mode` should be `primary` and not `secondary`.", "reference": "switch over to.mode" }, { "prediction": "I think this should be `(force desync between physical and visual indexes)`", "reference": "I guess your IDE did some auto-fixing here" }, { "prediction": "I think this class should be renamed to `TestRamUsageEstimator`.", "reference": "This is an unused import failing recommit still." }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "I'm concerned that we're conflating multiple things here. There are 2 things that Beaker should really care about: - Network transport - i.e. `ssh` vs `winrm` - Interpreter - i.e. `bash`, `cmd`, `powershell`, etc The problem is that @cowofevil is running Bitvise SSH, and he assumed we should be setting `is_cygwin: false` in node definitions. But that doesn't really accurately convey what we care about, and since Beaker doesn't appear to track network transport apart from interpreter, we end up in a strange state. `is_cygwin: false` appears to end up setting `is_powershell?` to `true`, which IMHO is not accurate or appropriate. Bitvise templates use `ssh` (like Cygwin), but the interpreter used is `cmd`, not `powershell`." }, { "prediction": "I'm not sure if this is the best place to put this message. It's not the best place to put it, but it's the best place to put it.", "reference": "I think this is ok for now. This ties into the larger issue of the site not having a consistent method for relaying form input errors. Please make sure the focus gets set on the close button when the dialog opens." }, { "prediction": "I think this should be `{@link GhostTable} and {@link SamplesGenerator} for calculations.` instead of `{@link GhostTable} and {@link SamplesGenerator} for calculations.`", "reference": "Should these link be removed?" }, { "prediction": "I think this should be `add_undo_on_close`.", "reference": "Please make this a keyword-only argument by adding a `*` argument before `add_undo`." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "didn't quite follow what this code block is doing." }, { "prediction": "I'm not sure this is the right fix. The keyboard is completely ignored. Need another solution.", "reference": "this doesn't sound pretty... I would rather we have a proper navigation for all modes - AFAIK TV remote navigation is very similar to normal keyboard, but maybe it just uses another key codes - those should be extracted in a single file and defined there depending on context then" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this, so I'm not sure it's the right place to do this.", "reference": "After diffing the children we check whether the value got out of sync, if it did we update it. We also update the `_prevValue` to prepare for the next event hitting our controlled component" }, { "prediction": "I'm not sure this is the right place to start a Bee node. I'm not sure if this is the right place to start a Bee node, or if it is the right place to start a Bee node.", "reference": "It provides a type called Node which is a fully functional bee client. This package is where the dependencies are injected. It is not just a glue-code, it is concept of node." }, { "prediction": "I think this should be `('', '%')`", "reference": "I think this will change `''` to `'%'` unconditionally, i.e. there'll be no way to set `''` anymore. This should really only be used for values which make no sense anymore." }, { "prediction": "nit: `RowKey rowKey()` -> `RowKey rowKey()`", "reference": "Nit: this table's row key map -> this table's row keys map" }, { "prediction": "I'm not sure if this is the right place for this change.", "reference": "this change should be reverted" }, { "prediction": "I think this should be `1.5.0`", "reference": "I'm a bit confused about the `os.path.dirname(basedir)` here - is this just to get to the parent directory? Either way, I think I'd prefer just having this in `update_version.py` as it's not needed in qutebrowser itself." }, { "prediction": "Why did this change?", "reference": "Revert this change and see below why..." }, { "prediction": "Why do we need this?", "reference": "Should not switch to `lvis_v1_instance` here because that base config uses ClassBalancedDataset to oversample the data." }, { "prediction": "I think this should be `LOG.debug` instead of `LOG.finest`.", "reference": "This is an informational message that allows someone to read the console output and understand how the grid node is configured. Please leave." }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "This doesn't make sense to me. What does RaiseSingleton mean? To me it sounds like a single object is being.. raised? Not sure." }, { "prediction": "I'm not sure if this should be null.", "reference": "What's the benefit of having jobExecutorTests as a member variable? What do you think about making the method static? Afterall, it is a stateless method." }, { "prediction": "I'm not sure this is the right command to use, but I think it would be better to use `dump` instead of `check`.", "reference": "This looks like it's only downloading things, not really checking their true validity. Especially for the MD object. Should we call `BareRootMetadata.IsValidAndSigned()` in `mdGet`?" }, { "prediction": "I don't think you need to do this. You can just do `cv::Mat(1, get_linearized_data_size(), InputBuf_T::T(1));`", "reference": "Nikoli, I believe that this addresses your concern. One question for you or Jae-Seung is if any allocation from the clone is properly cleaned up when the vector is destroyed. I believe that it should." }, { "prediction": "I'm not sure this is the right kind for this.", "reference": "should be `ECSApp`" }, { "prediction": "I'm not sure if this is the correct way to do this, but I'm not sure if this is the right way to do it.", "reference": "flake8 is going to fail on this having 2 lines" }, { "prediction": "I'm not sure why this is needed.", "reference": "should we make a dir named controllers/scheduler/podchaos" }, { "prediction": "I don't think we need to change this, we can just change the `KeyNode` to `kubernetes.io/hostname` and the `KeyNodeHostname` to `kubernetes.io/hostname`", "reference": "there seems to be one KeyNode in kubernetes.go of PV.. would it make sense to use it?" }, { "prediction": "Why are we removing clicontext?", "reference": "Im gonna be a little annoying here but did you configure your linter correctly? This empty line should not be here. Maybe go to settings and check if `goimports` is enabled?" }, { "prediction": "I'm not sure if this is the right place for this, but I think it would be better to move the `case` statement above the `switch` statement, so that it's easier to understand what's going on here.", "reference": "Don't think this belongs in this pr" }, { "prediction": "I'm not sure if this is the right place for this function. I think it should be moved to `Dispatcher` and `Dispatcher.OutboundKey` and `Dispatcher.InboundKey` and `Dispatcher.OutboundKey` should be moved to `Dispatcher` and `Dispatcher.OutboundKey` should be moved to `Dispatcher` and `Dispatcher.InboundKey` should be moved to `Dispatcher` and `Dispatcher.OutboundKey` should be moved to `Dispatcher` and `Dispatcher.OutboundKey` should be moved to `Dispatcher` and `Dispatcher.InboundKey` should be moved to `Dispatcher` and `Dispatcher.OutboundKey` should be moved to `Dispatcher` and `Dispatcher.OutboundKey` should be moved to `Dispatcher` and `Dispatcher.InboundKey` should be moved to `Dispatcher` and `Dispatcher.OutboundKey` should be moved to `Dispatcher` and `Dispatcher.OutboundKey` should be moved to `Dispatcher` and `Dispatcher.InboundKey` should be moved to `Dispatcher` and `Dispatcher.OutboundKey` should be moved to `Dispatcher` and `Dispatcher.OutboundKey` should be moved to `Dispatcher` and `Dispatcher.InboundKey` should be moved to `Dispatcher` and `Dispatcher.OutboundKey`", "reference": "We can assert on the existence of Outbounds through ClientConfig calls right? Since this is only for tests, do we need this function?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "@martijn00 so this PR introduces a new ViewModel lifecyle method? It isn't in the PR description/any new docs" }, { "prediction": "I'm not sure if this is needed for the construction of masks, since the input_img_shape will be the same shape as the input_img_metas in DETR.", "reference": "Are these modification duplicate? Or should we move it into base detector." }, { "prediction": "I think this should be `public`.", "reference": "Since this is private and single use it should be un-wrapped inside of the two-arg dagSeed method." }, { "prediction": "I think this should be `$this->conf = \\TYPO3\\CMS\\Core\\Utility\\ArrayUtility::mergeRecursiveWithOverrule( $this->conf, $configuration );`", "reference": "why the order change? Also for the next chunk. (I understand the result will be the same though)" }, { "prediction": "I don't think we need this return value.", "reference": "I wonder if this should just be a single `string`? We don't have any cases where we return different types and it would make the parser simpler to just read a single identifier." }, { "prediction": "I think this change is not necessary. The `inputFiles.get` method will always return a `InputFile` if the input file doesn't exist.", "reference": "I don't think this needs to change. Can you go back to the previous implementation?" }, { "prediction": "I think this should be `from molecule.core import Molecule` instead of `from molecule.core import Molecule`", "reference": "Bump it 2 lines higher, 'c' > 'u'." }, { "prediction": "I don't think this is needed.", "reference": "Please do not add author here" }, { "prediction": "I'm not sure if this import should be in the `iotex-core` package.", "reference": "Similarly, we should be able to persist action uniformly" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "I think i'd prefer this override to be in the test helper instead, if that's possible?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "This would be better with context added via wrapping or fmt.errorf()" }, { "prediction": "I don't think you need this file.", "reference": "What's the purpose of this file?" }, { "prediction": "I'm not sure if this is the right place to store this.", "reference": "@bhariharan Why was passcode length requirement allowed to be lowered?" }, { "prediction": "Why are these removed?", "reference": "This file needs a license header, too. Sorry I didn't catch that earlier." }, { "prediction": "I'm not sure this is the right place to pass the genesisText to the initialize function. I'm not sure if this is the right place to pass the genesisText, or if it's the right place to pass it.", "reference": "probably don't need `[:]` why not reference into `github.com/algorand/go-algorand/daemon/algod/api/server/lib` here and skip bouncing off daemon/algod/server.go?" }, { "prediction": "I'm not sure if this is the right place to call `compute_reference` or `compute_result_reference`?", "reference": "Why reference is converted to table?" }, { "prediction": "I don't think we should allow for this fake token. I think we should just allow `req.Pagination.Token` to be `0`.", "reference": "should we implement pagination in the fake datastore so the server startup code that paginates entries for trust domain validation can be tested?" }, { "prediction": "I think this should be `if f.Vectorized!= nil { f = f.Vectorized }`", "reference": "What mechanism will be exposed so the caller knows they're using the vectorized version?" }, { "prediction": "Layout/SpaceInsideHashLiteralBraces: Space inside { missing.
Layout/SpaceInsideHashLiteralBraces: Space inside } missing.", "reference": "Can we remove respond_to block its not required here" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Do not do that even in example, we demonstrate bad practice" }, { "prediction": "Line is too long. [82/80]", "reference": "Hm, taking a second look over this, this is why we have the object inheritance structure that we do. This could be divided up by having a custom determine_if_x86_64 in the pswindows/exec hosts and then a default method in hosts.rb. That way all the custom ps windows work is in a single location." }, { "prediction": "I think we can remove the `FlushAsync` and `Complete` methods from `Kestrel.Core.Tests.EncodesAsAscii`.", "reference": "We have to `.Complete` now because of empty/null string test cases." }, { "prediction": "Line is too long. [82/80]", "reference": "Is there still a way to specify no recursion?" }, { "prediction": "I think this should be URISafeName, not URISafeName.", "reference": "How is this name being URI safe and being used programmatically related?" }, { "prediction": "I don't think `smart_count` is needed here.", "reference": "I think we have to keep this as a fallback for now, else it's a small breaking change :(" }, { "prediction": "I'm not sure why this change is needed.", "reference": "nit: shouldn't be part of this PR." }, { "prediction": "I think this should be `MongoError` instead of `Error`.", "reference": "this change looks wrong to me. I think the test is trying to signal that something went wrong by throwing the `Error` here, otherwise the `catch` below will swallow it." }, { "prediction": "I'm not sure this is the right place to put this check. It seems like it should be moved into `_layout.RenderAppendBuilder(logEvent, reusableBuilder);`", "reference": "I'm doubting if this should be `if (_layout.IsThreadAgnostic)`, as ThreadAgnostic stuff could be calculated on every thread. (and thus could be lazy). non-ThreadAgnostic should be calculated on the main thread." }, { "prediction": "I'm not sure if this is the right place to use slf4j logger. I'm not sure if this is the right place to use it, but I'm not sure if it's the right place to use it.", "reference": "Please use only `Logger` instead of `org.slf4j.Logger`" }, { "prediction": "I'm not sure if this is the right place to put this code. It seems like it should be moved to `nano::block_processor::process_live`?", "reference": "Should this be \"no limiter drop\", since this isn't an absolutely essential activity for the stability of the network?" }, { "prediction": "I think this should be `console.log('Account alias'+ process.argv[2] +'deleted.');` instead of `console.log('Account alias'+ process.argv[2] +'deleted.');`", "reference": "I updated many of the success messages, because most of these operations don't return data if they succeed. This meant many of the operations would print: `Success null` if the script ran successfully." }, { "prediction": "I think this should be `os.path.join(os.path.dirname(__file__), 'pyx')`", "reference": "Could you simply add it to the previous clause?" }, { "prediction": "I think this should be `return procCodeA.localeCompare(procCodeB, undefined, { sensitivity: 'base', numeric: true});`", "reference": "@joshyrobot, I think you can just use localeCompare with only the first argument and leave the other arguments out (here and all the other lines changed). It seems to do the right thing, and then we don't have to worry about these extra options." }, { "prediction": "Is it possible that slaOptions is not empty?", "reference": "@chengren311 : where does this logic move to?" }, { "prediction": "I don't think we need to do this.", "reference": "Can we have a `nil` exception check at `s.scope.ManagedMachinePool`" }, { "prediction": "I'm not sure why this was removed.", "reference": "Rather than deleting this, should you just reformat it so it's the `*` settings, so if nothing is configured in facets.ini, the existing default behavior continues to work?" }, { "prediction": "Please use `str_replace(\"_\", \" \", $property);` instead of `ucfirst`.", "reference": "wrap, single line" }, { "prediction": "I think this should be `returnType == null? \"Void\" : returnType;`", "reference": "always use brackets for if statements" }, { "prediction": "Why is this needed? I don't see it being used anywhere.", "reference": "`NUnitIntegration` doesn't need to cache this anymore." }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to do `lower(element_at(parts, -1)) = 'gz'` instead of `concat(element_at(parts, -2), '.', element_at(parts, -1))`", "reference": "Why did you change it to `>=` here?" }, { "prediction": "`HiveCatalog` and `HadoopTables` should be renamed to `HadoopCatalog` and `HadoopTables`.", "reference": "Looks like this needs to be updated. There is no need to remove `hadoop.` if Hadoop tables don't use this code path." }, { "prediction": "I don't think this is needed.", "reference": "This require isn't need anymore, right?" }, { "prediction": "I don't think we should import crypto here.", "reference": "a bit weird to see payments crypto package inside connection manager. There probably will be services not having any relation with payments that will use connection manager. Thats why probably ping-ping by itself can be useful without any relation to payments.." }, { "prediction": "I think we can remove the `Bibliographic` trait from the `AbstractTrait` as well.", "reference": "I like the overall idea here, but I wonder if it would be more clear to define the property in the trait, and then set it in the constructors of the classes using the trait. Alternatively, at a bare minimum, it may be a good idea to add `?? 'Bibliographic'` here, to account for the possibility of the trait being used in a class that does not define the property at all." }, { "prediction": "I don't think this is needed.", "reference": "I would prefer to not have a magic number, but construct this value out of other constants we already have." }, { "prediction": "I don't think this is a good idea. I think it would be better to put this in the `config.py` file, so that we don't have to duplicate it everywhere.", "reference": "The limitation is if somebody configure another policy with the same name, but it is an edge case we can ignore I guess." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "? The package is named `hashivault`." }, { "prediction": "I think this should be `config->xwayland = config->xwayland_lazy = config->xwayland;`", "reference": "I don't think this should enable xwayland, because it's convenient to toggle xwayland just by setting `xwayland` to `false`" }, { "prediction": "Why was this removed?", "reference": "Remove this line by accident?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "Calling `.stream()` on a `DomainObjectCollection` is pretty much always a bug, as it doesn't include objects added later (and encourages people to use afterEvaluate). I wonder if we should make this an error prone check?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Thanks for paying attention to other places this might happen. This one is particularly important; I probably never should have gotten in the habit of CheckErr(), since it does a log.Panic() explicitly, which looks like something else until you look closely. It's supposed to be used places where \"can't happen\" but Things Can Happen." }, { "prediction": "I think this should be `func (b *ofFlowBuilder) MatchIPDscp(dscp uint8) FlowBuilder { b.matchers = append(b.matchers, fmt.Sprintf(\"nw_tos=%d\", dscp<<2)) b.Match.IpDscp = dscp }`", "reference": "What is the different between nw_tos and ip_dscp? Only high 6 bits vs low 6 bits and supported version?" }, { "prediction": "I'm not sure if this is the right thing to do here. It seems to me that if we have a `MolToCXSmiles` function, then we can just call it `MolToSmarts`. I'm not sure if it's the right thing to do here.", "reference": "I'm assuming that asSmarts & cxSmiles == asSmarts" }, { "prediction": "I'm not sure this is the right thing to do here, but I'm not sure it's the right thing to do here.", "reference": "Seems like an oversight but I don't think the super would do anything else in this case unless I'm mistaken." }, { "prediction": "I'm not sure if this should be readonly.", "reference": "Curious, do we consider this as pedantic for example code?" }, { "prediction": "Why not just `$this->entity['name']`?", "reference": "Should we convert the entity name to snake case using `Doctrine\\Common\\Inflector\\Inflector::tableize` or similar? Should a `snaked_name` or whatever be part of the entity metadata in order to use it for form names, ids, & other html attributes?" }, { "prediction": "I'm not sure if this is the right place to put this in.", "reference": "Should be `client.outboundIp`" }, { "prediction": "I'm not sure why this is needed.", "reference": "Must these `using` statements not go inside the `namespace` block?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Why? I thought the previous way was idiomatic. (Same with the `MetadataVer` stuff above.)" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "shouldn't we `reject` here instead?" }, { "prediction": "I think this should be `action.Core.GasPrice` instead of `action.Core.GasPriceUnitIOTX`.", "reference": "check err or use gasPriceUnitIOTX, _ := if we are sure action.Core.GasPrice is correct" }, { "prediction": "I'm not sure if this is a good idea. It seems to me that `harness` is a `*harness`, and `driver.Watcher` is a `*harness`, and `harness` is a `*harness`. I'm not sure if `wait` is a good idea here.", "reference": "Just curious, was wait not used at all before?" }, { "prediction": "I'm not sure why this is needed.", "reference": "nit: can we remove this?" }, { "prediction": "Why not use `synchronized`?", "reference": "is it not a problem when one synchronized function is called by other?" }, { "prediction": "I'm not sure if this is the right place to put these params. I'm not sure if it's the right place to put these params, but if it's the right place to put them, I think it's better to put them in the `account` model.", "reference": "We (even as admins) shouldn't override the User Preference settings like `email_master`, `email_posts`, `email_kudos`, `email_new_followers`. These all would be set by the user of their choice. Please do remove these attributes from editing//updating. Thanks!" }, { "prediction": "I think this should be \"j\u00e1 est\u00e1 ligado\"", "reference": "\"Este :attribute j est anexado.\" sounds better." }, { "prediction": "I don't think you need doctest here. You can just do `from databricks.koalas import frame, series`", "reference": "This line should be repeated for every module that needs testing. One cannot rely on nosetest to automatically discover all the modules. On the bright side, there is no need to change any of the other files." }, { "prediction": "I'm not sure why this was removed.", "reference": "This error was unused" }, { "prediction": "I'm not sure if we should be notifying persistence that we're unloading a shard. I'm not sure if we should be notifying persistence that we're unloading a shard.", "reference": "Personally I wish we didn't have a proto for every single little thing we do. RequestShardAction with an enum for the action type would be a lot cleaner imo, but I'm pretty sure that ship has sailed :) Just kvetching." }, { "prediction": "I'm not sure if this is the right place to put this logic. I'm not sure if we should put it in the `completed_trails/trail` view, or if we should put it in the `incomplete_trails` view.", "reference": "Does this make more sense as `trails/_trail` now?" }, { "prediction": "Should this be `return agent.ec2MetadataClient.OutpostARN()`?", "reference": "synced offline. let's move this to `agent_unix.go` to make the IMDS call, since this is not supported in Windows." }, { "prediction": "This mapping should be named `py_install` or `py_docs` or `py_install` depending on whether or not we're using this mapping.", "reference": "Too much indentation here. Should match the lines above, which have four spaces." }, { "prediction": "Why was this removed?", "reference": "Same here we still need this test to make sure the fallback works." }, { "prediction": "I don't think this is needed. The `MvvmCross.iOS.Views.Presenters.PresentationAttributes` class is already in `MvvmCross.iOS.Views.Presenters.PresentationAttributes`.", "reference": "I'm wondering if we can actually base this on a `IMvxPresentationAttribute` instead of the base one." }, { "prediction": "I'm not sure this is the right fix. The `unmount` function is supposed to be called for every `vnode` and `parentDom` nodes, but the `vnode` and `parentDom` nodes are not yet initialized. I'm not sure if this is the right fix, but it seems to me that `unmount` should be called for every `vnode` and `parentDom` nodes, not for every `vnode` and `parentDom` nodes.", "reference": "could we switch to `undefined` here?" }, { "prediction": "I don't think we need to call `cleanupSyncsSoupIfNeeded` here.", "reference": "The cleanup call" }, { "prediction": "I don't think we should be changing this. It's not a big deal, but I think it's better to change this to `if (options.openArtist!== false && item.AlbumArtists && item.AlbumArtists.length) {`", "reference": "I think \"View artist\" is a bit more standard and expected. Or even \"Go to artist\" to take the Spotify terminology as-is." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure what the best way to do this is.", "reference": "It might make sense to refactor this later so that we use a Bolt-native type to hide sensitive values." }, { "prediction": "I think this should be `import nupic.bindings.algorithms.TemporalMemory as nupic.bindings.algorithms.TemporalMemory`", "reference": "We were trying to move away from this to force people to always run tests under py.test." }, { "prediction": "I think this should be `[self._get_firefox_webdriver()])` instead of `[self._get_firefox_webdriver()])`", "reference": "1 - create browser specific options class: - chromeoptions - firefoxoptions - argsoptions" }, { "prediction": "I don't think this is the right fix. The `\\` should be before the `and not response_content_str.startswith('` instead of a `Optional`?", "reference": "What is the reasoning for using the negation of `isOption()` instead of simply using `isPositional()` to identify a positional param?" }, { "prediction": "I'm not sure if this is the right place to send prey data, but I don't think it's the right place to send prey data. I'm not sure if this is the right place to send prey data.", "reference": "Why would you add those if client version min is set to 1100?" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "You can delete this, it will now need to live in `gointerfaces` package" }, { "prediction": "Use the new Ruby 1.9 hash syntax.
Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Okay, I still don't understand why you have to add `html_safe` here, and it still seems like a very bad idea. It will allow html tags in the title, and keep Rails from escaping literal greater-than or less-than chars not intended as HTML tags. It ought to work to just let Rails do HTML-escaing as normal, without any manual `html_safe` or `strip_tags` or whatever. I am not clear on what problem you are trying to solve, why the straightfoward approach does not work." }, { "prediction": "I'm not sure if this is the right place to put this code, but I think it would be better to move the `else` statement into the `if` block.", "reference": "What is is subject when it's not the email subject. Why are we having to do this crap? What's calling this with an empty string?" }, { "prediction": "I'm not sure if this is the best way to do this. The `defaultSamplingProbability` parameter is used by providers that don't depend on `Sampler`.", "reference": "Could you also remove the `defaultSamplingProbability` constant from `sampling.go`? It seems to became unused with this change." }, { "prediction": "I think this should be `appsv1.Deployment{}` instead of `appsv1.Deployment{}`", "reference": "can you delete the `generateDeploymentStrategicPatch` function as well?" }, { "prediction": "I think this should be `LOG.info(String.format(\"Connecting to %s and %s\", publishConnection, subscribeConnection));`", "reference": "I'd keep this at `info` level..." }, { "prediction": "I think this check should be done in `LimitPushDownRule::transform()` instead of in `LimitPushDownRule::transform()`.", "reference": "Don't use DCHECK to debug your code if it's the regular branch you need to handle." }, { "prediction": "This interface is no longer used.", "reference": "You should return null here instead. Null is an acceptable default value for the image attribute." }, { "prediction": "I'm not sure if this is the right place to catch the error, but I'm not sure if this is the right place to catch it.", "reference": "react bails as well?" }, { "prediction": "I don't think this change is needed.", "reference": "Can you please tell me why you did this?" }, { "prediction": "I don't think we need to do anything special here. If the `videoConstraints` is empty, it will be set to `false` if `videoConstraints` is `false`.", "reference": "Reading this again it should prob prefer the `videoConstraints.facingMode` value over `facingMode` if the former was already set" }, { "prediction": "I don't think this belongs_to is necessary.", "reference": "There's a good bit of class-level stuff that's repeated in our various product types. Think it's worth extracting a...dare I say it...module?" }, { "prediction": "I'm not sure this is the best way to do this, but I think it would be better if we had a `--no-wasm-abi` flag in `build.go` that sets `--no-wasm-abi` to `true`.", "reference": "Please do not modify the `config.Target` field, it should contain exactly what is extracted from the JSON files. Instead, you can either: * Add a getter to the `config` variable (`*compileopts.Config`), so you can simply call `config.WasmAbi()` to get the value. * Use a local variable instead. The getter would be slightly cleaner, as it matches the pattern of other configurations (`CGO_ENABLED`, `GC`, `NeedsStackObjects`, etc)." }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "The nil check is not necessary for these. Append checks both sides for nil." }, { "prediction": "I'm not sure if this is the right place to set the attributes.", "reference": "Shouldn't we instead have the SDK apply these, internally? I.e., I would expect to see the dctx entries included in the span as first-class distributed correlations, not as span attributes." }, { "prediction": "I think this should be `&topologyv1.SearchTopologyRequest{}` instead of `&topologyv1.SearchTopologyResponse{}`.", "reference": "nit: rename this in proto and update impl to `Search` to avoid stutter" }, { "prediction": "I think this should be ` ->orderBy('s.position')`", "reference": "is it necessary to order by id as a second ordering? this will take place only when several new slider items are created without reordering (position is then null). Wouldn't be better to recalculate position after creating a new item? (right now items with null in position behave differently in administration and on frontend)" }, { "prediction": "I don't think this is correct. The base intrinsic gas for claimFromRewardingFund is the base intrinsic gas for the claimFromRewardingFund payload gas.", "reference": "`ClaimFromRewardingFundBaseGas` is a global variable (from `gochecknoglobals`)" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "How about modifying the NOGIL definition so that it only does anything if the thread safety flag (RDK_BUILD_THREADSAFE_SSS) is set?" }, { "prediction": "I think this should be `blockHeight` instead of `blockHeight` since it's a struct.", "reference": "blockheighter would be more clear" }, { "prediction": "I think this should be `Status::OK(compareAndSwapBound(a, b));`", "reference": "This is so weird as a utility function." }, { "prediction": "Why do we need to ignore the ConsistentRead field here?", "reference": "Why? What would happen if you did not?" }, { "prediction": "I don't think this is the right place to put the null check.", "reference": "Unrelated bugfix for NPE." }, { "prediction": "This should be `if (!$propertyMetadata['canBeSet']) {`", "reference": "What if some extended the `AdminController` and had a check for the old option name? Could that be a valid use case?" }, { "prediction": "I don't think this is needed.", "reference": "This will be only available when data-manager is enabled, is there a fallback in case data manager is disabled?" }, { "prediction": "I'm not sure this is the right place for this. I think it should be `%s` instead of `%s`.", "reference": "Do you think we want to move the call to `generateWorkerServiceRecommendedActions` inside `RecommandedActions()`?" }, { "prediction": "I think this should be `02827` instead of `-00814`.", "reference": "The VUIDs in this area are not great, but I think `ValidateQueryPoolStride` should probably be skipped if the query pool was created with type `VK_QUERY_TYPE_PERFORMANCE_QUERY`. VUID-02828 might be a better fit, but again, the existing VUIDs step on each other so it requires a bit of interpretation." }, { "prediction": "I'm not sure this is the right place for this method. It seems like it should be `public static byte[] ToDbKey(this Keccak key)` instead of `public static byte[] ToDbKey(this Keccak key)`.", "reference": "Iguess you should use ToDbKey here" }, { "prediction": "I think we can remove the `x.tbk.Size() - 1, nil` part.", "reference": "x.tbk is the \"index\" below, and is done in Start()" }, { "prediction": "I don't think this is used anywhere.", "reference": "Do we already have a convention for this? If not, would we consider \"DataDog.IsAppInsights\". And then use \"DataDog.\" prefix for all this settings, environment variables etc..? Such settings are, essentially, public APIs because they may conflict with customer data. Regardless of that, AppInsights has an s at the end :)" }, { "prediction": "I'm not sure if this is the right place to set the log_key?", "reference": "this assignment is not necessary if the offsetof() is used in the configmap" }, { "prediction": "Why is this removed?", "reference": "I'd rather leave a TODO here at least." }, { "prediction": "I'm not sure about this change, but I think it's better to use `objects` instead of `requests` here.", "reference": "Shouldn't this be `resource`?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Why does this become blocking for the CPU path? Shouldn't it remain independent of the GPU path?" }, { "prediction": "Travis doesn't have `configure` defined, so this is not needed.", "reference": "Do we need to change occurences where `setup` was called before?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Is this TODO still valid? Or are we going to put this somewhere else later?" }, { "prediction": "I don't think this is needed.", "reference": "We generally don't do parantheses in if conditions in Python. :) this could be better written as `if from_ts is None`" }, { "prediction": "I'm not sure why this is needed.", "reference": "Odd that we'd set just element 299 of a 2000-byte buffer to null. But I see that this is the way it was before." }, { "prediction": "I don't think this is used anywhere.", "reference": "ScoreFunc is not used in this PR. Maybe to add it later when needed?" }, { "prediction": "I'm not sure this is the right approach. If the user explicitly sets `Location` to `/tmp/foo.tmp`, then the `/tmp/foo.tmp` file will be overwritten by the `/tmp/foo.tmp` file. If they set `/tmp/foo.tmp`, then the `/tmp/foo.tmp` file will be overwritten by the `/tmp/foo.tmp` file. If they set `/tmp/foo.tmp`, then the `/tmp/foo.tmp` file will be overwritten by the `/tmp/foo.tmp` file. If they set `/tmp/foo.tmp`, then the `/tmp/foo.tmp` file will be overwritten by the `/tmp/foo.tmp` file. If they set `/tmp/foo.tmp`, then the `/tmp/foo.tmp` file will be overwritten by the `/tmp/foo.tmp` file. If they set `/tmp/foo.tmp`, then the `/tmp/foo.tmp` file will be overwritten by the `/tmp/foo.tmp` file. If they set `/tmp/foo.tmp`, then the `/tmp/", "reference": "super nit: I think this might be easier to read as `requestHeadersFromResponseWriter`" }, { "prediction": "I think this include should be moved to `common/thread/GenericThreadPool.h`.", "reference": "Need to include \"common/base/Base.h\" in front of this line" }, { "prediction": "I'm not sure this is the right place to put this, but it seems like it should be moved to `src/standards/get-element-spec.js`.", "reference": "Changes in this file should go into a separate PR." }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if it's a good place to put it.", "reference": "Please ensure that this will not start putting single quotes where double quotes are expected." }, { "prediction": "I'm not sure this is the right place for this function. It's not used anywhere else.", "reference": "`ProvideConfig` was changed, looks like it will not compile for windows, and should be changed too." }, { "prediction": "I'm not sure if this is the right place for this function. I think it should be renamed to `ListMyRepos` and `ListUserRepos`.", "reference": "This does not look right, you're listing all private repositories.." }, { "prediction": "Use the new Ruby 1.9 hash syntax.
Use the new Ruby 1.9 hash syntax.
Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "An OPTIONS request should respond from _any_ path? Seems weird to me..." }, { "prediction": "I think this should be `width` and `height` instead of `width` and `height`.", "reference": "you need to add the content type" }, { "prediction": "I'm not sure if this should be called `StopAllProcesses` or `StopAllSubProcesses`?", "reference": "Do we need to distinguish between these two processes? I'm thinking maybe we can have a list of processes and treat them all equally." }, { "prediction": "I don't think this is correct. The stack size needs to be 16 byte aligned on x86 and x64.", "reference": "This is used only for out-of-line -- so yes this seems right to do for x64. Inlined is aligned separately at the end of prepare_for_clean_call(). There the ifdef is x86_64 or MACOS -- no ARM, why not? Also, please add || MACOS here to match the inlined." }, { "prediction": "I don't think we need the `.and()` here.", "reference": "guess I'm wondering if this needs to be refactored to use Schema.joinCondition() or similar?" }, { "prediction": "Use the new Ruby 1.9 hash syntax.
Use the new Ruby 1.9 hash syntax.
Use the new Ruby 1.9 hash syntax.
Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Does it make sense to restrict this option to `exec` only? You could add it specific to that subcommand using the `method_option`...method. There's an example of it for hosts in the `init` function." }, { "prediction": "I think this should be `string.Join(\"=\", decodedPair.Split('=').Select(Uri.EscapeDataString));` instead of `string.Join(\"=\", decodedPair.Split('=').Select(Uri.EscapeDataString));`", "reference": "This is very expensive (lots of allocations, lots of data copying). Could we do something like check IndexOf('%') and bypass if no hit?" }, { "prediction": "I'm not sure if this is the right place to put this check, but I think it would be better to use `contains` instead of `contains`.", "reference": "This should be `WorldType.isDeadmanWorld(client.getWorldType())` to be inline with the other WorldType calls." }, { "prediction": "I'm not sure this is the right thing to do here, but I think it should be ` anchors.append(confids)` instead of `confids`", "reference": "do we also need to change `mlvl_confid` -> `mlvl_confidences`>" }, { "prediction": "I think this should be `iface-list;cali;non-zero,die-on-fail`", "reference": "I feel slightly that InterfaceExclude is not a clear name - bearing in mind that our config names are, to some extent, an external API. From an external point of view, a clearer name might be IPVSInterfaces. Then it would obviously make sense for the value to be something like 'kube-ipvs0', and it would be a matter of Felix's internal implementation that we choose to exclude those interfaces from our monitoring. Alternatively, if we want to keep this at a level that is more general than just IPVS, perhaps 'UnmonitoredInterfaces'? WDYT?" }, { "prediction": "I think this should be `re.fullmatch(r'[A-Z]:[^\\\\]', path, re.IGNORECASE)` instead of `re.match(r'[A-Z]:[^\\\\]', path, re.IGNORECASE)`", "reference": "This should be `re.search` with a `^` anchor added to the regex, as what we want here is really any path starting with something like `E:`." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I think it's better to do it in the `determineResourceHealth` function.", "reference": "Since `IsKubernetesBuiltInResource` at L69 returns false due to lack `networking.istio.io/v1alpha3` in `builtInApiVersions` within `pkg/app/piped/cloudprovider/kubernetes/resourcekey.go`, it will never reach this point." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "Does codecov not run this test? Not sure how else it would not be covered." }, { "prediction": "I'm not sure if it's better to use JSON_DATA here.", "reference": "can we add some sample of JSON_DATA format in the usage?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Using `Tracer.Instance` in here is problematic for testing It will likely cause some other tests to break I think - that's why we started passing in `IScopeManager` EDIT: I see you used `[TracerRestore]` - maybe that'll be enough!" }, { "prediction": "Why not just use `${randomValueToken}`?", "reference": "make all of these `static final` fields UPPER_SNAKE - they are constants." }, { "prediction": "I'm not sure this is the right fix. It's the same as `AffectMagicalDamage`.", "reference": "No possible chance for weird overflows here, right?" }, { "prediction": "I think this should be configurable.", "reference": "Or we could use a Float object to more clearly show as user-settable via non-null?" }, { "prediction": "Why is the `finalizedHeader` needed here?", "reference": "finalizedHeader should be saved in FinalizationManager when we have FinalizationBlockHash!= Keccak.Zero" }, { "prediction": "I don't think we should add this step to the `daisy` package.", "reference": "Not using ExactName: true would remove the need for manually adding workflow ID as it would be added automatically by Daisy. E.g. 'disk-importer-2-import-ovf-7mn7h' was created from diskImporterDiskName above even though only 'disk-importer-2' was specified. ExactName: true should be used for resources that shouldn't include any temp prefix/suffix, such as disks that will be permanently attached to a created instance. Scratch disk is not one of them." }, { "prediction": "`sdf = self._internal.copy(sdf=sdf, column_scols=self._internal.column_scols)`", "reference": "If we support multi-index column later, we need to rename to fit the pandas' requirement." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "I'm not sure this is really needed. JSONValue type can be used the same as a map as far as operators go, including range. I'd leave this out for now unless there is a strong reason to keep it." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "sorry for nitpicking but I would love a new line under this line" }, { "prediction": "I think this should be `ChannelID` instead of `ChannelImplementation`.", "reference": "ChannelImplementation field naming is not clear, is it some kind of standard? Maybe it can be named ChannelID?" }, { "prediction": "I'm not sure this is the right place to put this method. I think it would be better to have a default implementation of `RemoveFiles` that does the same thing.", "reference": "Looks like there is a typo: `expireSnapshots` -> `removeFiles` or whatever name we go with." }, { "prediction": "`currentSortOrder` can be `null` if `currentSortOrder` is `null`.", "reference": "Thanks for looking into this. I think it looks a bit strange to have this check inside the for loop. Wouldn't it also work to initialize `idxCurrentSort` with 0 instead?" }, { "prediction": "I think this should be `61.` instead of `62.`", "reference": "Just a small ordering thing: Could you please bring `IMPORTANCE_HIGH` to the bottom and maybe even have one line between it and the Notification IDs?" }, { "prediction": "I'm not sure this is the right fix. The `RDKit::AtomKekulizeException` should be a `const RDKit::AtomKekulizeException&`.", "reference": "Should this be boost logged?" }, { "prediction": "I'm not sure if this should be `session` or `violations`.", "reference": "What is the reason for doing expunge here? This method is purely for converting the timestamp." }, { "prediction": "I think this should be `AvroSchemaUtil.VALID_FIELD_NAME_PROP` instead of `AvroSchemaUtil.ORIGINAL_FIELD_NAME_PROP`", "reference": "This calls sanitize twice if the name isn't valid." }, { "prediction": "I don't think this belongs in the ApprovalGroup model.", "reference": "Is there an equivalent that'd allow zero or one?" }, { "prediction": "This is a bit of a hack, but I'm not sure if it's worth it. I'm not sure if it's worth it, but I think it's worth it.", "reference": "Is it possible to update/re-evaluate entire metatask object for every repeat? If we decide/need to use a repeatWith resources in let us say labelSelector(bad example) then we would have to add another logic to update those properties." }, { "prediction": "why not just `int(syscall.Stdin)`?", "reference": "unnecessary conversion (from `unconvert`)" }, { "prediction": "I'm not sure why this was removed.", "reference": "typo in commit message `openening`" }, { "prediction": "Is this needed? It looks like it's in `include/adios2/engine/hdf5/HDF5ReaderP.h`", "reference": "User-code doesn't see the internal ADIOS headers anymore. This whole include block should just be `#include `" }, { "prediction": "I think this test should be changed to `test_buckets_are_global_to_every_users`", "reference": "nit: I guess we can omit this (unless you had a reason to specify it)" }, { "prediction": "I think this should be `c.leaf.remote!= nil &&!c.leaf.remote.Hub`", "reference": "Why is Hub public?" }, { "prediction": "why was this removed?", "reference": "why is this deleted?" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be good to have a link to the `Rails website` instead of the `Intro to Rails` tutorial.", "reference": "Maybe move that into a partial" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do this.", "reference": "Error return value of `dao.Stop` is not checked (from `errcheck`)" }, { "prediction": "I think this should be a warning instead of a warning.", "reference": "util.Warning()? Easier to say." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "this default is kinda superfluous (although i see it was already there before PR )" }, { "prediction": "Why is this removed?", "reference": "How is this related?" }, { "prediction": "Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument.", "reference": "I'm breaking one of the rules here, it feels like the right thing to do. Open to alternative suggestions." }, { "prediction": "I'm not sure this is the right way to do this, but I'm not sure it's the right way to do it.", "reference": "The use of `#should` was triggering an rspec depracation warning for me, which is why I switched this to the rspec 3 style." }, { "prediction": "I'm not sure if this is correct. `chit->isValid()` will return true if `it` is valid, but `it->isValid()` will return false if `it` isn't valid.", "reference": "Why are you setting the CacheChange as REQUESTED when it is not valid (it was erased from history)?" }, { "prediction": "I'm not sure if this is a good place to import `lodash` or `lodash.js`. I'm not sure if it's a good place to import `lodash` or `lodash.js`. I'm not sure if it's a good place to import `lodash` or `lodash.js`. I'm not sure if it's a good place to import `lodash` or `lodash.js`, but if it's a good place to import `lodash` or `lodash.js`, I think it's a good place to import `lodash` or `lodash.js`.", "reference": "`lodash` shouldn't be grouped under WordPress dependencies" }, { "prediction": "Why is this public?", "reference": "This needs to be public so that Avro can call it." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to import the map from the storage, or if it's a good idea to import the map from the storage, or if it's a good idea to import the map from the storage.", "reference": "`Google*` shouldn't be under External dependencies - seems like ESlint is not properly recognizing that these are aliases to internal dependencies." }, { "prediction": "nit: I'd prefer `assert not isinstance(data, ks.Series)` instead of `assert not isinstance(data, ks.DataFrame)`", "reference": "I think he meant the docstring in this constructor. yea we should fix" }, { "prediction": "I think this method should be renamed to `getClasspathResource` to make it clear that it's not a classpath resource.", "reference": "so.. this basically follows the pattern from JapaneseTokenizer, I think... but somehow I don't see where we defined ResourceScheme? We're not referencing the one in kuromoji, right?" }, { "prediction": "I don't think this is the right thing to do here. The only reason we can't do this is because we don't specify TLS levels at all, let the OS decide. But we worry that this will mess up Win7 and Win8 installs, so we continue to specify explicitly TLS levels.", "reference": "It would probably be better to do: const SecurityProtocolType Tls13 = (SecurityProtocolType)12288" }, { "prediction": "I'm not sure if we should remove the `labs` key from the `values` array.", "reference": "Similar to the above, put this setting back but keep the value as `'{}'`" }, { "prediction": "I'm not sure if this should be a debug level message.", "reference": "As discussed in chat - we should run this function within an app context which means that we'd already have a logger configured, and a connection to timescale set up" }, { "prediction": "I think we can remove the Blacklight.onLoad function entirely.", "reference": "I'm curious about why this needed to be removed." }, { "prediction": "I don't think we need to import external libs.", "reference": "why did you remove `zip`? It is used!" }, { "prediction": "`MarkTopicReady` should be renamed to `MarkTopicReady_`", "reference": "Is there any reason that we don't add a similar condition like `ChannelConditionTopic` to the channel?" }, { "prediction": "Please revert this change.", "reference": "before php8 \"goto\" was a reserved word and was not allowed as part of the namespace. Now test checks for validity of plugin namespace according to PSR-4" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "nit: I'm not sure it can be addressed in this diff, but it seems odd that NewOutbound supports TLS but NewSingleOutbound does not. As a somewhat naive user I would expect the only difference between these two APIs is how peers are chosen." }, { "prediction": "I think this should be `return time.Now(), nil` instead of `return time.Now(), nil`", "reference": "I would advise to enhance the test for the method `CallOneway` - we should have a test very similar to `TestCallSuccess`. We should test: - Success with response (even if it is callOneway) - Success with no response and empty payload - Errors" }, { "prediction": "I don't think this is the right place to put this, but I'm not sure if it's the right place to put it.", "reference": "We're already matching +. Not sure why this changed." }, { "prediction": "I think it would be better to use the `category_manager` instead of the `category_manager` in the `Configuration` class.", "reference": "Please add line breaks, so the line doesn't exceed 80 chars." }, { "prediction": "I'm not sure this is the right place for this constructor. It seems like the `activitySource` parameter should be removed from the `InstrumentationOptions` constructor.", "reference": "I initially thought (inccoreclty) this is a breaking change! The public api analyzer is a gift!" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "I'm not sure how this one didn't segfault before." }, { "prediction": "I don't think this is needed.", "reference": "Same points as in other test file." }, { "prediction": "Please don't use star imports.", "reference": "Did you run gradlew tidy? Wildcard imports shouldn't be there, hence the question." }, { "prediction": "Line is too long. [87/80]", "reference": "Put a comma after the last parameter of a multiline method call." }, { "prediction": "This should be `fpgaPropertiesSetInterface(*filter, FPGA_IFC_DFL);`", "reference": "Is this going to restrict the output to *ONLY* ports that are bound to vfio-pci? That's not what we discussed yesterday." }, { "prediction": "I don't think we should defer to VM here.", "reference": "Intention is to do the lookup here, I believe (where we can cache it). This would make the call non-pure function though. I'll confirm with lotus. ID addresses are the *only* addresses I expect to actually see here." }, { "prediction": "I'm not sure if this is a good idea. I don't think it's a good idea to connect through SSH to run the commands manually. I'm not sure if it's a good idea to connect through SSH to run the commands manually, or if it's a good idea to connect through SSH to run the commands manually. If it's a good idea to connect through SSH to run the commands manually, I'm not sure if it's a good idea to connect through SSH to run the commands manually. If it's a good idea to connect through SSH to run the commands manually, I'm not sure if it's a good idea to connect through SSH to run the commands manually. If it's a good idea to connect through SSH to run the commands manually, I'm not sure if it's a good idea to connect through SSH to run the commands manually. If it's a good idea to connect through SSH to run the commands manually, I'm not sure if it's a good idea to connect through SSH to run the commands manually. If it's a good idea to connect through SSH to run the commands manually, I think it's a good idea.", "reference": "electronic medical record file system (EMRFS)" }, { "prediction": "I don't think we need this directive anymore.", "reference": "Put this higher in the list, like after \"bind\", since I guess we're considering the max request body size to be kind of a native/fundamental feature, built directly into the vhosts." }, { "prediction": "I'm not sure this is the right error.", "reference": "oh come on :(" }, { "prediction": "I think this should be `LOG.debug` instead of `LOG.finest`.", "reference": "This is an incorrect change. The dialect spoken is an important part of the handshake and should be communicated to users." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "Remove as this is not needed anymore." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This new class is for checking that #4551 works correctly with PlantUML output too." }, { "prediction": "I think this should be `cmapi.UsageDigitalSignature, cmapi.UsageKeyEncipherment, cmapi.UsageServerAuth, // default for web facing certificates as per https://support.apple.com/en-us/HT210176`", "reference": "Will this cause all certificates to be re-issued?" }, { "prediction": "I'm not sure why we need to free tmp here.", "reference": "I think tmp is also leaked at the end of this loop if no error cases are encountered." }, { "prediction": "I'm not sure this is the right way to check the schema of the array element.", "reference": "The previous version didn't use `keyProjection` because the entire key must be projected. If the key is a struct of multiple columns, then projecting a subset of those columns can easily introduce key collisions that aren't in the original data." }, { "prediction": "I'm not sure this is the right place to put this check. I'm not sure if it's the right place to put this check.", "reference": "Why not use StatusOr? We can't ensure spaceId is greater than zero, especially when AdHocSchemaManager is used." }, { "prediction": "I'm not sure if this is the best place to put this. I'm not sure if this is the best place to put it.", "reference": "Does it seem we only use that as the json-rpc client? Do we have any other choice? It's a little weird." }, { "prediction": "I'm not sure if this is a breaking change, but I'm not sure if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's a breaking change, or if it's", "reference": "Could you split this into multiple lines?" }, { "prediction": "I'm not sure if this is a good change, but I'm not sure if it's a good change.", "reference": "Doesn't the snapshot ID start off as null? It seems like we don't need to set it here." }, { "prediction": "I think this should be `buffer[len(cidr) - 1]` instead of `buffer[len(cidr) - 1]`", "reference": "I wondered why `buffer` was passed into `LookupPath`. What is happening here? Is `buffer[:0]` equivalent to `[]V4TrieEntry{}`, and hence `buffer` isn't needed any more?" }, { "prediction": "I think this is the right place to put the validator.", "reference": "nit: Ideally we would would use this abstraction everywhere we need this translation. I believe it's needed in the mining worker and the storage and market connectors." }, { "prediction": "I don't think this is the right place to do this, but I don't think this is the right place to do this.", "reference": "need to fix the error message here" }, { "prediction": "This is a bug fix. It's not fixed in this PR, but it should be fixed in a separate PR.", "reference": "Unsure of how to handle this one." }, { "prediction": "I think this should be `if (isKilled() && this.flowFinished) {`", "reference": "Will this.flowFinished verify with every finished state stated in Status.isStatusFinished method? If so, no need to verify isKilled." }, { "prediction": "I don't think this is a good idea. It's not a good idea to have a default retry settings for a child workflow. It's not a good idea to have a default retry setting for a parent workflow. It's not a good idea to have a default retry setting for a child workflow. It's a good idea to have a default retry setting for a parent workflow, but it's not a good idea to have a default retry setting for a child workflow.", "reference": "replace \"Child Workflow\" with \"any workflow\"" }, { "prediction": "I think this should be `-1` instead of `mdash`", "reference": "Instead of showing the words \"symbolic link\" under the \"Size\" column, how about we introduce new icons for symbolic link to file and symbolic link to directory?" }, { "prediction": "Shouldn't this be `@internal`?", "reference": "Please add back the description of the parameter" }, { "prediction": "I think this should be `this.trees = { graphite: treeRoot.findChild('id', 'GraphiteTree'), mygraphs: treeRoot.findChild('id', 'MyGraphsTree'), }`", "reference": "Superfluous space inserted." }, { "prediction": "I'm not sure if `ownerSVGElement` is the right thing to do here.", "reference": "Didn't fix the problem. `href=\"\"` for SVG will still result in `undefined` getting returned by this function." }, { "prediction": "I'm not sure why this was changed.", "reference": "This seems like a strange change... I wouldn't think that a change to access tags in the profiles would result in different bearings in this tests?" }, { "prediction": "I think this should be `isFocus=False` instead of `isFocus=True`.", "reference": "As isCaret is False by default, explicitly specifying isCaret=False here is not needed, and is perhaps a little confusing. I'd prefer that anywhere in the codebase that isCaret is only ever specified if it needs to be set to true. Mirroring that of isFocus for setNavigatorObject." }, { "prediction": "Freeze mutable objects assigned to constants.", "reference": "We can't freeze this and then add something to it in the next line. The `freeze` on line 43 is sufficient. If Rubocop flags this we need to exclude it." }, { "prediction": "I think this should be `sort.Strings(aps[i].Subjects)` instead of `sort.Strings(aps[i].Subjects)`", "reference": "Why is this needed?" }, { "prediction": "I think it's better to use `m.Get(\"/user/:username/repos\", reqToken()).Get(repo.ListUserRepos)` instead of `m.Get(\"/org/:org/repos\", reqToken()).Get(repo.ListOrgRepos)`", "reference": "Why not put two other routes after this line (221)?" }, { "prediction": "I think this should be `if (!addrs.value().empty())` instead of `if (!addrs.value().empty())`", "reference": "If FLAGS_meta_server_addrs is not empty, in which case \"toHosts\" return empty array?" }, { "prediction": "This should be `Settings.JSONBoolWithQuotes(DEFAULT_JSON_USE_QUOTES);`", "reference": "There is a function to output a \"JSONBool\" string. That would be a good start for finding uses. But maybe just have a look at where we decide whether it is a numerical or not, thus wrapping quotes around its value. Then you have it all I guess." }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do it, but if it is the right place to do it, I think it should be `scol = data._kdf._internal.data_scols[0]`.", "reference": "oops, it should be `data._scol` so that it respects the expression stored in Series. Let me fix it quick." }, { "prediction": "Use the new Ruby 1.9 hash syntax.
Use the new Ruby 1.9 hash syntax.
Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Thanks for moving this up with the rest of the variables. Much tidier :)" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `PaymentPerTime` struct with a `Price` and a `Duration` struct with a `PaymentPerTime` struct with a `Price` and a `Duration` struct with a `PaymentPerTime` struct with a `Price` and a `Duration` struct with a `PaymentPerTime` struct with a `PaymentPerTime` struct with a `Price` and a `Duration` struct with a `PaymentPerTime` struct with a `PaymentPerTime` struct with a `PaymentPerTime` struct with a `Price` and a `Duration` struct with a `PaymentPerTime` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with a `Payment` struct with", "reference": "I think `Rate` is a more precise and concise term for `PaymentPerTime`." }, { "prediction": "I'm not sure this is correct. The description starts with a label and ends with a period.", "reference": "I think this should maybe be: var limit = input.IndexOfAny(new[] { '+', '-', ']' }, **posNext**); You pretty much want to ignore any sign that is before the \"M\". But, if there is a sign somewhere before the M, and also after the M, you'd want to be able to find the sign after the M, right?" }, { "prediction": "Why do we need to check available stock here?", "reference": "if `checkStockNotEmpty` returns a reponse, you must return it or your script will continue its execution." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Any specific reason for this change? klog should work correctly here." }, { "prediction": "I don't think we need to do this. I'm not sure if it's a good idea to do this.", "reference": "we don't mention `last_modified` here?" }, { "prediction": "nit: `require('preact')` vs `require('hyperx')`", "reference": "same deal about the global state maybe interfering as in ActionBrowseTagline" }, { "prediction": "Nitpick: I think this should be a `Assert.Throws(() => { LruCache cache = new LruCache(maxCapacity, \"test\"); });`", "reference": "so sweet to see a test as the first thing" }, { "prediction": "Why not just use `HTTP_PROXY = getenv(\"HTTP_PROXY\")`?", "reference": "usually when HTTP_PROXY=\"\" (empty), proxy should be disabled. could you set it to NULL when it's empty string?" }, { "prediction": "I think this should be `int` instead of `int`.", "reference": "Can you throw an exception if width or height are both null" }, { "prediction": "Why are we changing this?", "reference": "This is a breaking change. I guess these might have been intentionally exported." }, { "prediction": "I think this should be `splitSize = targetSplitSize(ops);` instead of `splitSize = targetSplitSize(ops);`", "reference": "I don't think this is necessary. When options are used to set the split size in the Spark reader, it uses `TableProperties.SPLIT_SIZE` to pass it here. That should work for metadata tables as well, right? The situation that we need to handle in this PR is setting the default, like you had before. We just want to use a metadata split size so you can set it and not have the same split size used (by default) for both metadata and data scans." }, { "prediction": "I don't think we need this. Multiply and Divide are not supported in IEEE 754 and IEEE 754 only.", "reference": "wait a sec, shouldn't this be `'*'`?" }, { "prediction": "I don't think this is necessary. The `compute_service_account` is set by the `OVFImporter` and `instance_name` is set by the `OVFImporter` and `instance_name` is set by the `OVFImporter` and `compute_service_account` is set by the `OVFImporter` and `instance_name` is set by the `OVFImporter` and `instance_name` is set by the `OVFImporter` and `compute_service_account` is set by the `OVFImporter` and `instance_name` is set by the `OVFImporter` and `instance_name` is set by the `OVFImporter` and `instance_name` is set by the `OVFImporter` and `compute_service_account` is set by the `OVFImporter` and `instance_name` is set by the `OVFImporter` and `instance_name` is set by the `OVFImporter` and `compute_service_account` is set by the `OVFImporter` and `instance_name` is set by the `OV", "reference": "It think you'll want the var for GMI import as well: daisy_workflows/ovf_import/create_gmi.wf.json (Unfortunately there's duplication between the two :/ )" }, { "prediction": "I don't think we need this.", "reference": "Nit: Group this with the other commands by moving it down one line." }, { "prediction": "I think this should be `UnsupportedEncodingException`.", "reference": "I would like to emphasize that a user can use non-vectorized reads to handle this file so maybe something like \"Cannot perform a vectorized read of ParquetV2 File with encoding %s, disable vectorized reading with $param to read this table/file\"" }, { "prediction": "I think it would be better if this was named `parameter_name` instead of `parameter_value`.", "reference": "Maybe add `positional=False`. It does not need it more than the other parameters, but one must start somewhere." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Since we're here, can we use a template?" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to put this in a `if __name__ == '__main__':` block, and have the `spark_session_local.resource_fn(None)` call in the `if __name__ == '__main__':` block.", "reference": "saw you're also doing this in `test_types.py`: `spark = _spark_context()['test'].resources['spark'].resource_fn(None)` since `_spark_context()` uses `spark_session_local` won't the above break the tests?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "`has(default)` i think is the preferred way of doing this" }, { "prediction": "I'm not sure if it's safe to assume clipInput=True here.", "reference": "always put a space after a comma" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if it's the right place to do this.", "reference": "@angmas1 move the else up, next to the closing bracket of the if block. Also, there is no need for the braces as your else statement contains only a single line. Make your if-else block similar to the block in lines 277-280." }, { "prediction": "I think this should be `options=None` instead of `options=None`.", "reference": "@AutomatedTester @davehunt thoughts on a new keyword argument?" }, { "prediction": "I think this should be an `Set` instead of an `Integer`.", "reference": "This change shouldn't be necessary for this PR. Please remove it." }, { "prediction": "Why is this change needed?", "reference": "This variable is mostly unused, how about we make `NewTestCtx` return a pointer?" }, { "prediction": "I'm not sure this is the right place to put this constant, but I'm not sure if it's worth it.", "reference": "What is the basis of this value?" }, { "prediction": "I don't think this is needed. gce_metadata.h is already included in gce_metadata.h.", "reference": "Nit: was this extra blank line added intentionally?" }, { "prediction": "Is this the same as the other exception code?", "reference": "nit: inconsistent spacing around =" }, { "prediction": "Why is this removed?", "reference": "We still need this import" }, { "prediction": "I think this should be `groupId` instead of `filesToRewrite`.", "reference": "We are pulling this because we removed \"groupID\" state and put it into the strategy implementations" }, { "prediction": "I don't think this is needed anymore.", "reference": "Is this file actually related to PCA?" }, { "prediction": "Why did you remove isFirstAdmin?", "reference": "See above, this should probably remain `isFirstAdmin`." }, { "prediction": "I'm not sure this is the right type for this field.", "reference": "Why the change to make it public? The expression interface has the `TypeOf` method?" }, { "prediction": "I think this should be renamed to `Single_Archive_File_Rolls_Correctly`.", "reference": "don't mind the snake cases in the test names. If there are in the test cases, it's fine IMO" }, { "prediction": "I think we should add a `Unlocking` field to the `IdentityManagerInterface` instead of a `Unlocking` struct.", "reference": "`Id` defines REST resource address and should not be in payload" }, { "prediction": "I think it's better to use `action='store_true'` instead of `action='store_false'`", "reference": "We can omit the underscore and just use `classwise`." }, { "prediction": "I think this should be `$rootCategoryId =!empty($rootCategory)? $rootCategory->getId() : null;`", "reference": "Why not throw an exception instead then?" }, { "prediction": "This change is not needed.", "reference": "Looks like this doesn't need to change. Can you revert this?" }, { "prediction": "I think this should be `from pyramid.config import template`", "reference": "please import it like `from kinto.config import template`" }, { "prediction": "I don't think this change is needed.", "reference": "There are lots of default value changed, not sure if it break the old behavior." }, { "prediction": "I don't think we need this anymore.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "Nitpick: `AdditiveStaticNodes` vs `AdditiveStaticNodes`?", "reference": "parameter should be called removeFromStaticNodes" }, { "prediction": "I don't think we should add this to the docstring.", "reference": "The handler will have an extra property in the marker to signal the implementation is in the provider, for the cases we want to add functionality, for example, custom implementations not in moto." }, { "prediction": "I think this should be `update_column(:deactivated_on, Date.today)` instead of `update_column(:deactivated_on, nil)`", "reference": "Is this method actually being used anywhere? If not, I think we should remove it." }, { "prediction": "I don't think this is correct. The `IsReadOnly` property is only used in the `PayloadFlatteningThreshold` property, not in the `BodyParameterType`.", "reference": "Thanks! I somehow lost this between my far too many branchs." }, { "prediction": "I'm not sure why this is needed.", "reference": "i think this should get put into its own file. This could start to grow :)" }, { "prediction": "I think this should be `~internal~ecs~pause`", "reference": "Can you add a TODO for loading the tarball of the pause image into Docker?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Is there any value in setting the process to null like this?" }, { "prediction": "I think this check should be done in `SoftmaxWithLossLayer` instead of in `SoftmaxWithLossLayer`.", "reference": "This could be a good time to add a check that the prediction and target dimensions (except channel) agree?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "The requirement that OP_isb is bb-final needs to be a rule for clients, just like the rule that syscalls and interrupts must be bb-final: i.e., please add it to the dr_register_bb_event() docs." }, { "prediction": "I think this should be `'.replace(\"{0}\", (totalRecordCount? startIndex + 1 : 0) + \"-\" + recordsEnd).replace(\"{1}\", totalRecordCount);`", "reference": "The translate library has a method to replace the variables." }, { "prediction": "I don't think we need the `fill_value` argument here.", "reference": "i don't think this test case is correct. in both cases inpalce=True returns nothing. We need to compare the ks. Also we probably need to make a copy of it. Otherwise you pollute the following \"ks\" because ks has been changed." }, { "prediction": "I think this should be `[ tls.TlsClienthelloHook, tls.TlsStartClientHook, tls.TlsStartServerHook, ]`", "reference": "Any proposals how to make the naming somehow include the \"completed\" idea of this hook? `TlsHandshakeCompletedHook` or similar? Or using the `...Start/End...` scheme?" }, { "prediction": "Why do we need to flush here?", "reference": "it introduces a lot of complexity to the state, can we flush straightaway or create a two level flush store where the questions are read form unflushed data?" }, { "prediction": "This change is not needed anymore.", "reference": "There are two calls to getUrlFromRouteCache, but you're only urlencoding one of them. Is that intentional? Would it make more sense to do the url-encoding inside the getUrlFromRouteCache function?" }, { "prediction": "I think this should be `this.activeEditor.row = row;` instead of `this.activeEditor.getEditedCell()`", "reference": "Maybe we can use `this.instance.getCell` with `topMost` flag to get `TD` element?" }, { "prediction": "I think this should be `log.Errorf` instead of `log.L().Info`.", "reference": "Change this to Debug Level" }, { "prediction": "I think we can just do `StackTraceUsage |= usesStackTrace.StackTraceUsage;` instead of doing `(seed,layout) => seed | (layout?.StackTraceUsage?? StackTraceUsage.None);`", "reference": "I refactored the Aggregate, those are hard to read" }, { "prediction": "I'm not sure why this test was removed.", "reference": "This is now done in the after method, so this test won't pass any more." }, { "prediction": "Style/IfUnlessModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.", "reference": "What was the point of creating `user_block` if you're then not going to use it ;-)" }, { "prediction": "why did you remove this?", "reference": "@ueshin, I thought we can remove this entire file. Does that require some more works?" }, { "prediction": "I think this should be `str` instead of `unicode`.", "reference": "Just `return tokens.string[1:-1]` is enough" }, { "prediction": "Style/SymbolArray: Use %i or %I for an array of symbols.", "reference": "1 trailing blank lines detected." }, { "prediction": "I'm not sure this is the right place to set pref width.", "reference": "Isn't this the default max width? In any case I would prefer to see these definitions in the css files." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if it's the right thing to do here.", "reference": "Is this thread-safe? (If not, and if the solution is to introduce locking, let's reconsider how we do the scheme changing instead...)" }, { "prediction": "I don't think this is needed.", "reference": "Looks like this file has tabs instead of spaces." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Hmm should we clean up container resources before task resources here? or the order does not really matter here?" }, { "prediction": "I'm not sure why this was removed.", "reference": "Please undo this :wink:" }, { "prediction": "Align the parameters of a method call if they span more than one line.", "reference": "thanks for adding this missing association" }, { "prediction": "I don't think we need to pass the cert to the constructor.", "reference": "Should I remove this in favor of the HttpsConnectionFilterOptions overload?" }, { "prediction": "I don't think this is needed. The `StatusQueryInterface` has a `getMaxIndex()` method.", "reference": "This shode be nullable, there alway sholud be at least one status in system, if not exist that mean data problme" }, { "prediction": "I think this should be `../../../modules/backend/assets/js/auth/unistall-sw.js` instead of `../../../modules/backend/assets/js/auth/unistall-sw.js`", "reference": "Spaces not tabs" }, { "prediction": "Is there a reason we don't use `fsErrorToJsError_` here?", "reference": "To get the files inside a directory, please use `readDirStats()`." }, { "prediction": "I'm not sure this is the right place for this, but I think it would be better to have a `TestContainerNone` and a `TestContainerPlz` defined in `pkg/config/config.go` and have a `TestContainerDocker` and `TestContainerNone` defined in `pkg/config/config.go`.", "reference": "might be worth to call these `Isolation` instead of containers here and when presented to the user -- docker/rkt, in addition to cgroups and namespaces, also provide image discovery and filesystem preparation; there's also the security context and probably 1-2 other small things" }, { "prediction": "I don't think we need this file.", "reference": "File is empty, consider removing?" }, { "prediction": "I think this should be `if logged_in(client):`", "reference": "This seems to return the registry_url. The more meaningful URL is the catalog URL, which is the URL the user specifies in `quilt3.login`. The username might also be as useful here if not more useful." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Was the addition of `GasPriceOracleAddress` here erroneous?" }, { "prediction": "Use the new Ruby 1.9 hash syntax.", "reference": "I believe that you are going to have to do some work here to get the env var support for these values to still work correctly, otherwise they will get stored as :department instead of host_tags[:department]." }, { "prediction": "I'm not sure this is the best way to do this. I think it would be better to iterate over `browserState.getTabs().size()` instead of `mSessions.size()`", "reference": "How was this causing the exception?" }, { "prediction": "I think this should be `!jellyfin-noto/css/TC` instead of `!jellyfin-noto/css/SC`", "reference": "I still have issues with it loading Simplified Chinese by default over Japanese, since they also share characters and we're not sure if characters are different or not. As-is, this fixes Traditional Chinese and Simplified Chinese, but we're not sure if it'd still screw up Japanese text or not. I maintain that, in my opinion, Japanese should be the only script of this kind loaded by default (Because of Hiragana and Katakana, that aren't shared with any other script) and either variant of Chinese should be loaded only in their respective case." }, { "prediction": "I think this should be `visitor.visitLeaf(new IntervalQuery(field, this));` instead of `visitor.visitLeaf(new IntervalQuery(field, this));`", "reference": "Isn't it better to stub AtomatonQuery and yield it here. IIRC it resolves simplest MTQ highlighting cases as nobrainer." }, { "prediction": "Line is too long. [97/80]", "reference": "Line is too long. [96/80]" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do.", "reference": "My only concern with changing the node selector here is that someone else _could_ have built their own images for other platforms and set them to be used using the flag override on the controller, which in turn this change would break. Perhaps not changing the selector for acmesolver pods makes most sense, and then working on actually having support for Windows? wdyt?" }, { "prediction": "I'm not sure if this is the right type for this field, but I think it should be `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObjectWithSelector` or `Object v1alpha1.InnerObjectWithSelector` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObjectWithSelector` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObjectWithSelector` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObjectWithSelector` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha1.InnerObject` or `Object v1alpha", "reference": "Why do we need interface `InnerObjectWithSelector`, I searched the usage with this field, it seems nowhere use `GetSelectorSpecs()` methods provided by `InnerObjectWithSelector`" }, { "prediction": "I think we should remove this function from `pkg/context/context.go` since it's only used in `pkg/context/context.go`.", "reference": "Do we need this `init` here? We have already called the `InitContext` in `StartModule` directly." }, { "prediction": "I don't think this is needed.", "reference": "This `if` is not necessary" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this.", "reference": "should we add a `mangle.json` mapping for this? We could reuse a property name that's only used on component or vnode objects right now, like `__s` (\"next state\")." }, { "prediction": "I think this should be `--modulepath #{opts[:modulepath]}\" if opts[:modulepath]`", "reference": "Please update the yard docs to indicate this new option." }, { "prediction": "I'm not sure if we should add this to the `aws_load_balancers_spec.go` file, since it's not part of the `aws_load_balancer_spec.go` file.", "reference": "Can you provide an example in the godoc section on how to use this? From the implementation it looks like the AvailabilityZone field is required for example, otherwise it can fail / error, is that correct?" }, { "prediction": "I think this should be `CodeVersion: latestSchemaVersion, CodeVersion: codeVersion.String()`", "reference": "It would be great if this could be captured by a test." }, { "prediction": "I don't think we need to worry about this. If we have a high load visibility queue processor, it will flush every this interval. If we have a high load visibility queue processor, it will flush every this interval.", "reference": "1000 -> 100 maybe too much, 200 ish to 500ish maybe a good option" }, { "prediction": "Why is this change necessary?", "reference": "Any reason we need to keep this package's `ChecksumAddress` type or can we get rid of it too?" }, { "prediction": "I'm not sure if this is the right title for the button.", "reference": "Above the one that was picked was the Button* prefix, and here it's the Header* prefix. Maybe the Button prefix is more general." }, { "prediction": "Why is this change necessary? I don't see any usages of `Head?.Hash` in this file.", "reference": "I might prefer changing: public Block FindPendingBlock() => FindBlock(PendingHash, BlockTreeLookupOptions.None); public BlockHeader FindPendingHeader() => FindHeader(PendingHash, BlockTreeLookupOptions.None); in IBlockFinder, what do you think?" }, { "prediction": "I think this should be `kubebuilder:pruning:PreserveUnknownFields` instead of `kubebuilder:pruning:PreserveUnknownFields`.", "reference": "This is necessary due to a bug in 4.7. Follow HIVE-1561 for getting rid of it." }, { "prediction": "Line is too long. [87/80]", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I'm not sure why this change is needed.", "reference": "Some day (tm) I will also get rid of that one. But today is not that day..." }, { "prediction": "I think this should be `substr($localPath, -1)!== '/';`", "reference": "Add a space between if and opening parenthesis please (i.e. `if (`)" }, { "prediction": "I think this should be `return self._scol.alias(index)` instead of `return self._scol.alias(index)`", "reference": "nit: `rename` instead of `alias`?" }, { "prediction": "I'm not sure if this is a good idea. If the root device is sda1 then we should be able to remove the root device from the block device mappings.", "reference": "Per AWS docs EC instances have the root mounted at /dev/sda1. This label should be skipped." }, { "prediction": "I'm not sure why this was removed.", "reference": "I'm not sure it is a better way to address lose message, if wait here, edge controller cant process message, event from watching api-server will be lost yet, right?" }, { "prediction": "I think this should be `(x + p.value_size + 6) if p.value_size is not None else 6`", "reference": "Please keep the correct alignment, it seems broken now (at least in Github). Can you reverse the test (`if p.value_size is None`)? Also, do you want `6` when `p.value_size is None` or `x + 6`? Maybe, in that case, something like `lambda p, x: x + 6 + (0 if p.value_size is None else p.value_size)` would be easier to read. Or even easier: `lambda p, x: x + 6 + (p.value_size or 0)`." }, { "prediction": "I think this should be a pointer to a pointer to a pointer to a struct, not a pointer to a pointer to a pointer to a pointer to a struct.", "reference": "Can we make sure ECS service treats it as int64 as well?" }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to use `ReadOnlyEditBox` instead of `ReadOnlyEditBox`.", "reference": "Please follow the naming convention for variables, i.e. `windowText`." }, { "prediction": "This import should be moved to `maya/pkg/castemplate/v1alpha1.go`", "reference": "alias can be `cast`" }, { "prediction": "This should be `mmap_errors` instead of `mmap_errors`", "reference": "Let's use `%zu` instead of casting to `uint64_t` and using `PRIu64`. The alternative is to change the type of `mmap_errors` to `uint64_t`, though I'd prefer not doing that because some 32-bit platforms might not provide atomic operation support for `uint64_t`." }, { "prediction": "I'm not sure if we should change this to `SeverityLevel.ERROR` or `SeverityLevel.WARNING`.", "reference": "I recall there being a reason we had this one set only to suggeation. @carterkozak do you remember why? or is my memory getting corrupted?" }, { "prediction": "This change is unrelated to the rest of the PR.", "reference": "This should now be made into `if (it->second.empty())`?" }, { "prediction": "I think this should be `if self.num_of_searches > 0`", "reference": "Do we need to worry about a race condition on this decrement (@The-Compiler)? I'm not sure how the python callbacks work, so this might not need to be something to worry about." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "Should these assert that the extracted `SpanContext` is remote?" }, { "prediction": "I think this should be `match_high_quality` or `match_low_quality`.", "reference": "typo: allow low quality matches." }, { "prediction": "I'm not sure if this is the right place for this function, but it seems like it should be moved to `cmds.StartServer` instead of `StartServer`.", "reference": "At some point we need to condense down and refactor our \"configs\" as we have too many in too many places and we're starting to get more illegible code. No change necessary but calling out for future reference." }, { "prediction": "I think this should be `aria-label` instead of `aria-label`.", "reference": "Can we add the `if label` conditional to this please?" }, { "prediction": "I think this should be `<0.2.0`", "reference": "@thunterdb, can we increase the minimal version to almost the latest ones? I was thinking people will mostly use the latest version of mlflow" }, { "prediction": "`hasFillDataChanged Indicates whether the original fillData has been changed in the `afterAutofill` hook.`", "reference": "If the last argument is going to be removed, why would we add it to the API docs? Shouldn't it be private for internal use?" }, { "prediction": "I don't think we should import intermediate_manager here.", "reference": "`Intermediates` or `Intermediate`" }, { "prediction": "I don't think this is the right place to put this check.", "reference": "This is not the right exception class. There is an InvalidSelectorException class that covers bad locators." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it. I'm not sure if this is the right place to do it.", "reference": "If this code isn't needed, it should be removed." }, { "prediction": "I think we can remove the `md.connection.stopCh` parameter from the `uploadMetrics` function.", "reference": "Should the `doRequest` func be a method on the `connection` type instead of passing state from the type?" }, { "prediction": "I'm not sure this is the right thing to do here.", "reference": "we'll probably tackle these e2e tests at the end" }, { "prediction": "I don't think this is needed.", "reference": "what is this address pointing to? what are we measuring here? I want to have a better understanding." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Would it be better to pass the dependency status as the parameter into the SQL string? In case the enum value is changed in the future, we don't need to change the code here." }, { "prediction": "I don't think this is needed.", "reference": "Hah I had `gorename` failing without this too." }, { "prediction": "This should be `Security.Instance.DdlibWafVersion?.ToString()?? \"(none)`", "reference": "maybe prefix these with `appsec_` for consistency?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "nit: this should be down further with the other github imports" }, { "prediction": "I think this should be `if ctypes.windll.kernel32.FreeConsole()!= 0:` instead of `if ctypes.windll.kernel32.FreeConsole()!= 0:`", "reference": "Why is this change necessary or related to the rest of the PR?" }, { "prediction": "I don't think we need to change this line.", "reference": "Hm, I wonder if the `see:` prefix is even necessary?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's worth it. I'm not sure if it's worth it, but it's worth it.", "reference": "This should be translated." }, { "prediction": "Shouldn't this be `Config::Str2Map(parameters)`?", "reference": "I originally had this PR only changing the R package, but then ran into this error > Error: [LightGBM] [Fatal] Cannot change metric during training This is thrown even if you aren't actually CHANGING `metric`. I think the change here in `c_api` is closer to the desired behavior, only throwing an error if the parameter is being changed." }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.
Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "These changes are just to make cli_spec a little more readable for VS Code users, as there's a bug with the Ruby plugin's syntax highlighting when you use multi-line regex literals." }, { "prediction": "I think we should use constants.GlobalPullSecret instead of corev1.DockerConfigJsonKey.", "reference": "Shouldn't the global pull secret by in the namespace of the hive-operator? It is part of the operand." }, { "prediction": "Do we need a sleep here?", "reference": "kinesis-mock applies KINESIS_LATENCY to RegisterStreamConsumer actions so I added a sleep here." }, { "prediction": "Can't upgrade meta from V1 to V2 to V3?", "reference": "Only V1 or V3 is return from `getMetaVersionFromKV`. So where do we call `updateMetaV2ToV3`?" }, { "prediction": "I'm not sure if this is the right place to change it.", "reference": "I think that V0 is missing here, which will prevent plugins that haven't been converted to work." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to move this to the `pages` module, so that we don't have to duplicate the code.", "reference": "Should we remove this?" }, { "prediction": "Remove empty line.", "reference": "Put on top of the import." }, { "prediction": "I don't think we need to add analytics here.", "reference": "See above, this shouldn't be added." }, { "prediction": "I'm not sure this is the right place for this enum.", "reference": "This'll likely get fixed upstream, we should let them deal with it." }, { "prediction": "I'm not sure if this is a good idea. It's not a good idea to have a `HostFactory` struct. It's just a `host.Host` struct, and the `host.Host` struct is a `libp2p.Option`. It's not a `host.Host`, but a `libp2p.Option`. It's a `libp2p.Option`. It's not a `host.Host`, it's a `libp2p.Option`. It's a `host.Host`.", "reference": "Somehow, this field does not seems useful for the exposed package api, only for the tests. Would you consider having an unexported field in `hostFactory func(context.Context,...libp2p.Option) (host.Host, error)` instead to be set only by a new helper function defined in export_test.go. This is just a suggestion, not a hard requirement for the PR approval." }, { "prediction": "I think this should be `goBackInTime` instead of `goForwardInTime`.", "reference": "As a first argument to these function, please pass the date that should go forward/backward. Also please clarify what is \"n\" (possible values, unit) and what is timeDuration (possible values, unit, as from your code it seems to be \"day\", \"hours\", etc. but from your example it seems to be milliseconds)." }, { "prediction": "I don't think we need to do this. It's already done in the languageHandler.", "reference": "Are you sure you really need this code here? that script will be certainly run in NVDA's main thread, and core would have already called setLanguage." }, { "prediction": "I'm not sure this is the right port for this test.", "reference": "why is this changed?" }, { "prediction": "I'm not sure about this TODO.", "reference": "Should this be \"the new revision value\"?" }, { "prediction": "This should be \"Dette feltet m\u00e5 aksepteres n\u00e5r :other er :value.\"", "reference": "You have deleted :attribute" }, { "prediction": "I don't think you need to change the license header.", "reference": "The license header should be updated to the Apache one." }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be better to test the span count as well.", "reference": "@zacharycmontoya Is there any way to distinguish a `SocketHttpHandler` from another `HttpMessageHandler` request?" }, { "prediction": "I'm not sure if it's a good idea to add a new API for scatter and instr_is_gather. I'm not sure if it's a good idea to add a new API for scatter and instr_is_gather.", "reference": "Not sure about this one -- did you check somehow?" }, { "prediction": "I think this should be `@options['HOSTS'][name]['platform'] =~ /platform`", "reference": "Is there a good reason to keep this at the `pe_ver_win` name now that it's per-host?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if it's the right place to do this, so I'm not sure if it's the right place to do it.", "reference": "Not in the order of display : Front, Ingredient, Nutrition here (which is the right thing), Actually displayed: Front, Nutrition, Ingredients" }, { "prediction": "Why did you remove StartTime?", "reference": "Why delete `StartTime`? This `StartTime` was used to avoid the PID was reused." }, { "prediction": "I'm not sure if this is the right place to dump this log, but I'm not sure if this is the right place to dump it.", "reference": "My concern here, is that if the dump_puppet_log also throws then we will lose the data about the teardown_exception." }, { "prediction": "Why not just use `dal::detail::integral_cast(desc.get_class_count())`?", "reference": "Should it be `int64_t`?" }, { "prediction": "I think this should be configurable. It's not a problem, but it's a good idea to make it configurable.", "reference": "is this value related to something?" }, { "prediction": "I'm not sure if this is the right place for this interface. It seems like it should be `AddTxResult` instead of `AddTxResult`.", "reference": "Add names to tuple elements ValueTask<(Keccak? Hash, AddTxResult? AddResult)>, should they both be nullable?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "I think it might make more sense to do this in Name.upperCamel; it is the entry point for upper camel strings." }, { "prediction": "I'm not sure this is the right fix. The `ArrayType[] s` array type should be `new ArrayType[1];` instead of `(ArrayType)t`.", "reference": "Huh? The point is that a cast isn't necessary" }, { "prediction": "Can you add this to `OPENEBS_IO_INSTALL_CRD`?", "reference": "can we name it like `InstallV1Alpha1CRDs`?" }, { "prediction": "Can we rename this to `hiveutilCreatedLabel`?", "reference": "I need something to match when creating selectorsyncsets so added this label." }, { "prediction": "I'm not sure why this is needed, but it seems like we should be able to remove the `:nocov: nil` from the specs.", "reference": "Isn't `nil` the default return value from an empty `rescue` clause? If that's correct, then we could just remove the `nil` line entirely as it doesn't serve a purpose." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Simple Storage **Service**" }, { "prediction": "I don't think this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Wouldn't that cause the obsolete indexes to be downloaded over and over again? After all these are still stored in the repository." }, { "prediction": "I'm not sure if this is the right place to put this code. I'm not sure if this is the right place to put it.", "reference": "We might want to move this logic to a Plain Old Ruby Object down the road. Not a blocker." }, { "prediction": "This should be `if (this.toolbox_)`.", "reference": "move `this.toolbox_.position();` to just after line 1477. Context: the if statement on line 1472 checks whether this is a toolbox with categories, and if so it populates the toolbox. Positioning the toolbox is a reasonable followup to that, and means you don't need an extra if. You may also need to call `this.flyout_.position()` after line 1483, which is the equivalent for the non-category toolbox." }, { "prediction": "I don't think you need to do this.", "reference": "Should the function above be.FirstOrDefault() instead? Otherwise, why check for null and tell ReSharper to ignore the fact that it can never be null?" }, { "prediction": "I'm not sure if this is the right place to put it.", "reference": "Let's not create new connection, but rather user `common.db` one" }, { "prediction": "I'm not sure if this is a good idea to put this in the `app/views/shared/_open_graph_tags.html.erb` file. I think it would be better to put it in the `app/views/shared/_open_graph_tags.html.erb` file.", "reference": "Can this use asset_path rather than defining an image_url helper?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "Hindley-Milner signatures don't use literal types. They explusively use types. It's deal with that" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `PolicyRule` struct with a `OfID` and a `NpName` and a `NpNamespace`. This way we don't have to duplicate the `OfID` and `NpNamespace` in the `PolicyRule` struct, and we don't have to duplicate the `NpName` and `NpNamespace` in the `PolicyRule` struct.", "reference": "Could we just extend PolicyRule with more fields? It was originally designed as the struct required by openflow client, nested structs seem not helping. And for the name of the fields, initialism should be uppercase, OFID and NPName doesn't look good, then maybe FlowID, PolicyName.." }, { "prediction": "I think this should be `opcache_compile_file` instead of `opcache_reset`", "reference": "I really dislike this alignment approach, as it makes identifying individual functions quite hard, but I kept consistent with the previous style. Since no sorting was evident, I pushed it to the end of the block. Meanwhile, is this supposed to be tested or meaningfully testable somehow?" }, { "prediction": "I'm not sure if `get_steps_to_execute` can return `true` if `is_complete` is true, or `false` if `is_complete` is false. If `get_steps_to_execute` returns `true`, then `is_complete` can return `false` if `is_complete` is true. If `is_complete` is false, then `get_steps_to_execute` can return `true` if `is_complete` is false.", "reference": "Could also consider modifying the ActiveExecution..." }, { "prediction": "I think this should be `astroid.Const` instead of `astroid.Index`.", "reference": "Does it make sense to change that to a custom error instead of `ValueError`?" }, { "prediction": "I don't think we need to pass the ticket count here.", "reference": "I guess this will need to change soon." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to use a directive like `map` or `redir` or something like that. I'm not sure if it's a good idea to use a directive like `map` or `redir` or `redir` or something like that.", "reference": "Restore this spacing - not sure why it has to be removed?" }, { "prediction": "I'm not sure if this is the right place to put this #ifdef.", "reference": "These defines cause issues in base.h leading to failing android builds. Locale independency is now set in multiple spots, in cmake and in base.h. The base.h uses feature test macros wrong. Feature test macros can be used to indicate that a feature should be made available. They do not guarantee that it is available. On the cmake side this is done by the check symbol macros (similar to what autoconf does). On the android side not. I would suggest removing this from base.h and define locale independent in gradle. It is available since android 21 I believe. Is there a way in gradle to set locale independent only if android api >= 21?" }, { "prediction": "I think this should be `loopBody!= getDst`.", "reference": "Why not delete these codes?" }, { "prediction": "I'm not sure if this is the right place to put this. It seems like the `FLAGS_meta_client_retry_times` parameter should be passed to `waitForMetadReady()` instead of `FLAGS_meta_client_retry_times`.", "reference": "If pull message failed after some reties, we should ensure the storaged exit, otherwise it has risk to loss data." }, { "prediction": "`first` and `count` are not needed anymore.", "reference": "looks like you don't need to import first and count here anymore" }, { "prediction": "I think this is a good place to add visibility tasks.", "reference": "FYI, visibility task processing is local only, meaning pushing something to local ES cluster / local archival endpoint" }, { "prediction": "I don't think this is needed.", "reference": "This import can be removed." }, { "prediction": "I think this should be `FIPS region not allowed in ARN`", "reference": "1. Nit: We can have a general helper to identify if a region is pseudo region. We might already have one somewhere. 2. Does any type of ARN support FIPS? If not, we may just move this check in arn package?" }, { "prediction": "I don't think this is needed.", "reference": "is this phrase completed in a next line? Or forgot to add... what?" }, { "prediction": "I think this should be `num_classes=15` instead of `num_classes=15`", "reference": "`('train', 5)` and `('train', 1)` are actually the same." }, { "prediction": "I think this should be `limit float64` instead of `limit int64`", "reference": "Would it be too complicated to refactor `currLimit` to be an `int64`?" }, { "prediction": "I'm not sure this is the right way to do this, but I'm not sure it's the right way to do this. I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "Would it be more performant to just `include ::RSpec::Core::Pending` here? /cc @myronmarston" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's worth it.", "reference": "Should be podiochaos?" }, { "prediction": "I'm not sure this is the correct fix. The `cp65001` codec should be added to the `codecs` dictionary in the `updateCheck` function.", "reference": "Is the `codecs.register(lambda name: None)` gracefully handled by codecs? The lambda is expected to return a tuple of functions (encoder, decoder, stream_reader, stream_writer) (or a CodecInfo object), according to the docs. I've only checked python's built-in help, though." }, { "prediction": "I'm not sure this is the right place to log this. It seems like we should log this in the `Log.MetricInstrumentIgnored` method, and not in the `Log.MetricInstrumentIgnored` method.", "reference": "in this case, it could be either instrument name or the view name, which could be invalid. might be better if we can offer very specific message. (not blocking this, we can add this as a follow up,if needed)" }, { "prediction": "I'm not sure this is the right thing to do here. `WebDriver.switchTo().window(nameOrHandle)` will always switch to the given window.", "reference": "I'd rather just send the parameter twice than break encapsulation here. There's already precedence with webelement IDs" }, { "prediction": "I don't think you need this, you can just import the model from `cascade_rcnn/cascade_mask_rcnn_r50_fpn_20e_coco.py`", "reference": "You may put 'open-mmlab://res2net101_v1d_26w_4s' here. MMCV will be updated later." }, { "prediction": "I'm not sure this is a good idea. It's not a good idea to have a form ID for a page speed widget. It's a bit confusing to have a form ID for a page speed widget. It's a bit confusing to have a form ID for a page speed widget. What do you think?", "reference": "May be worth making this more specific, to avoid potential conflicts, maybe `pagespeedDashboardWidget`? Or `webVitalsDashboardWidget`?" }, { "prediction": "I'm not sure this is the right way to do this. The `Failed because` message should be sent to the `uppy.log()` function.", "reference": "I guess this assignment is now redundant?" }, { "prediction": "I'm not sure this is the right place to put this blockNum.", "reference": "See above note re: blockNum synchronization." }, { "prediction": "I'm not sure if this is the right place to put this backoff. I'm not sure if it's the right place to put this backoff.", "reference": "wonder if we could avoid doing named imports if we type aliased `backoff.Backoff` in the `.../agent/common/backoff` package?" }, { "prediction": "Why is this removed?", "reference": "Or maybe put into alphabetical order with the other #includes." }, { "prediction": "I think this should be `ticker := time.NewTicker(1 * time.Second)`", "reference": "This runs the entire duration of the program; this change is not needed." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "I don't feel well about the `ALWAYS_UPDATE` option   sounds like a workaround. I can imagine that some of the plugins want to observe all options. Maybe, in that case, we can reuse the `CONFIG_KEYS` that would return an empty array for observing all settings and `false` for disabling observing at all? I just thinking aloud - Like `CONFIG_KEYS` sounds reasonable. We could support and maintain it in the future, even after implementing the \"observability\" to the MetaManager then `ALWAYS_UPDATE`... I don't know :)" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "A \"tab difference\"? As in, there are tab characters somewhere? This disabling of clang-format for all the code here seems like overkill. Are you sure there's not some other solution? I don't really understand the problem though. Do you mean clang-format-diff?" }, { "prediction": "Please use `*` instead of `//`.", "reference": "Could you please leave the explicit imports?" }, { "prediction": "Why do we need to add the methodConfigMap.get(methodConfigProto.getName()) here?", "reference": "Can we check for containsKey here?" }, { "prediction": "I'm not sure if we want to use `--help` or `--help-check` here. I'm not sure if we want to use `--help` or `--check` here.", "reference": "Exit successfully. We served the help the user wanted." }, { "prediction": "I'm not sure this is the right thing to do here.", "reference": "Had to rename this because `InitialPackage()` already existed." }, { "prediction": "I'm not sure if this is the right email address for the Procurement environment.", "reference": "Can we put this in a different helper?" }, { "prediction": "I'm not sure if this is correct. I'm not sure if it's correct, but I'm not sure if it's correct.", "reference": "I'm not sure where your 31 comes from? I see 15 here and 2 above for pc and flags, for 17 total beyond the SIMD." }, { "prediction": "I don't think we should expose this as a public API property.", "reference": "If you want, you could change this to `allowCors(response` (like in \"version\", above) to allow Cross-Origin Resource Sharing. I'm sort of wondering what's returned if no API terms of use are set." }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if this is the right place to put it, but I'm not sure if this is the right place to put it.", "reference": "Why do we need to override this if all we're doing is passing it up?" }, { "prediction": "I'm not sure if this is the right place to send the CQDs down. I'm not sure if this is the right place to send the CQDs down.", "reference": "Just wondering whether it's safe to send all CQDs to the child compiler. As this missing CQD is causing trouble, maybe some other user CQDs that now get sent could also cause the statement to fail? Also, if I have a table with a nullable unique column, should I have to set this CQD to create another table like it, or should the CREATE TABLE LIKE work without the CQD?" }, { "prediction": "I don't think this is needed. The current_branch should be the current branch, not the current release.", "reference": "EARLIEST_TESTED_RELEASE might be slightly more clear" }, { "prediction": "I'm not sure this is the best way to do this, but I think it would be better to use `\\bpylint:` instead of `\\s*pylint:`.", "reference": "I think replacing `.*` with `\\s*` from after the hash makes sense, but not the rest of the changes." }, { "prediction": "I don't think this is necessary. The default should be `false` if `enableLogging` is `true`.", "reference": "interesting.. did not know varint tag covered bool as well" }, { "prediction": "I don't think this is a good idea. It's not a big deal, but it's a good idea. It's not a big deal, but it's a good idea.", "reference": "Could you please elaborate the reason for not using `gkc_summary` like the values above? I ask this, because I assume what we want to collect is a histogram of event loop latency, and we use `gkc_summary` for collecting histograms." }, { "prediction": "I think this should be `getTransactionHash` instead of `_getHash`.", "reference": "getHash should be a public and without an `_` if used here." }, { "prediction": "I think this is a good place to put this hack into the validator.", "reference": "Unrelated to these changes -- we will probably want some special handling for genesis block validation." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a `SetDiskBlockCacheFraction` method that returns a `float64` instead of `float32`.", "reference": "This is probably overkill since we don't actually need to pass this specific interface anywhere, but I don't mind it!" }, { "prediction": "I think this should be `receivedPeers[addr.ByteString()] = struct{}{}`", "reference": "@janos I moved this back here, to avoid having multiple add peer calls being handled. I think it's either this or a global lock across the whole function. I think this is a better approach, especially since `hive.Broadcast` is blocking. We can remove the map entry on errors if needed. LMKWYT?" }, { "prediction": "I'm not sure if this is the right place to put the link_to here. It looks like it's only used in the `approval_response_path` method, so I'm not sure if that's the right place to put it here.", "reference": "Minor: can we put the conditional outside of the partial?" }, { "prediction": "I don't think this is correct. `isinstance(offline, PacketList)` will return true if `offline` is a list, but `isinstance(elt, Packet)` will return false if `elt` is a Packet.", "reference": "We need to find something more efficient than this. We can probably just check the first element and assume the type list is consistent.." }, { "prediction": "I'm not sure if this should be a task. It's not a task. It's a task.", "reference": "How \" via service code in response to event.\"? I don't think we'll get in the no schedule option to the release. We should probably wait for some customer feedback first to make sure we're addressing different event-triggers the best way" }, { "prediction": "why remove this?", "reference": "Please move unrelated formatting changes to their own PR (same with the resources.py file)." }, { "prediction": "I think this should be `if window.isFullScreen():` instead of `if window.isFullScreen():`", "reference": "Make this a public attribute (remove the leading `_`) if you want to access it from the outside." }, { "prediction": "I think this should be `if (!browser.firefox) {`", "reference": "this conditional is useless now so it should be removed" }, { "prediction": "I'm not sure this is the right fix.", "reference": "`vecofstructs->size()` already returns a `uoffset_t`. So if you just change the type of `i`, you don't need any casts." }, { "prediction": "I don't think this is the right place to do this.", "reference": "Nit: Maybe merge this with the configProto check on line 208? Don't feel that strongly though, please keep separate if you prefer." }, { "prediction": "I'm not sure if this is the right place for this test.", "reference": "I know we already did this in 4.0 so carry on, but I'm facepalming here we should've made an overrided setMessageHandler that sets ismaster to true when hello is present. Esp in 4.0 where we already have some overrides written. We can keep going here and maybe open a ticket to some effect of that solution" }, { "prediction": "I think this should be `Skip to first result`", "reference": "I believe we could use `link_to` here (although not super important). Also, we should internationalize this value. I'm not 100% sure what our process is for adding new UI strings these days (e.g. skip the specs that will fail if we add a new key to only one language, use Google Translate to translate the value for us, some other option)." }, { "prediction": "I'm not sure if `pProperties` is the right thing to do here.", "reference": "This was already in vkGetPhysicalDeviceDisplayProperties2KHR..." }, { "prediction": "I'm not sure if this should be an interface, but I think it would be better to have a `IsDockerEngineRunning()` method that returns an error if the docker engine is not running.", "reference": "nit: I'd expect a public method called IsDockerEngineRunning to return a boolean yes/no, not the error message. Can we change either the return value or the name? Something like `CallDockerEngine`" }, { "prediction": "I don't think we need to change this.", "reference": "If i remembered correctly, type_name is '{RESOURCE_TYPE}/{RESOURCE_NAME}', if type_name is 700 max then name cannot exceed that size" }, { "prediction": "I'm not sure this is the right place for this function. It's only used in one place, and it's not used anywhere else.", "reference": "When calling functions with keyword arguments: please provide the arguments as keyword arguments, not positional arguments." }, { "prediction": "I think this should be `act_cfg=None` instead of `conv_cfg=conv_cfg, norm_cfg=norm_cfg`", "reference": "We may follow the argument order: conv_cfg, norm_cfg, act_cfg." }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like it should be in `spec/features/selenium/spec_helper.rb` rather than in `spec/features/selenium/spec_helper.rb`.", "reference": "`options['binary'] = WebDriver::Chrome.path` if set?" }, { "prediction": "Why is this needed?", "reference": "folly library should be put on the top." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix or if it's the right fix.", "reference": "Do we have to restrict this to SVG elements? I think setting namespaced attributes on normal dom elements (while not as common) is still valid, so perhaps we can save some bytes by removing the `isSvg` check?" }, { "prediction": "I think we should be able to get rid of the `hasHook` and `runHooks` methods in `RowIndexMapper` and just call `this.hot.rowIndexMapper.isHidden(this.hot.toPhysicalRow(row))` directly.", "reference": "Please add it to the `REMOVED_HOOKS` constant." }, { "prediction": "I think this should be `use strict`, not `use axe.testUtils`.", "reference": "This variable needs `.v1` at the end of it, or the tests below need it. There are some test failures as a result" }, { "prediction": "I'm not sure if this is the right place to put this. I think it would be better to have it in the `AccountsController` and not in the `AccountsController`.", "reference": "Is this access protected so that only admins can access this route?" }, { "prediction": "I'm not sure this is correct. The min_x and min_y should be initialized with the same values as l_output->layout->min_x and l_output->layout->min_y. The same is true for wlr_output_layout_closest_point().", "reference": "What happens if the minimum x coord is > 0? This will incorrectly set it as zero, right?" }, { "prediction": "I don't think this is the right place to put this check.", "reference": "I think you want to look at current pending + batchSize and if that is > o.maxp no?" }, { "prediction": "I'm not sure this is the right fix. The `codes.Ok` is a `codes.Internal` and `codes.Ok` is a `codes.Ok`.", "reference": "Should this be `codes.Error`? `codes.Internal` was an error status before." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "I don't think you need these lines." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "You didn't mean to export this, right?" }, { "prediction": "Metrics/LineLength: Line is too long. [82/80]", "reference": "Simple Notification **Service** (singular)" }, { "prediction": "I think this should be `config.EgressConfig` instead of `config.EgressConfig`", "reference": "Do we still need this?" }, { "prediction": "I think we should removeCHEESE from the log message.", "reference": "We do have a disconnect between the privateMarkerTransactionFactory.getSender() call and the createPrivateMarkerTransaction() call. When the plugin receives the call to create the PMT it does not know what the sender was returned by the other call. At a minimum we need to pass in the sender to the second call. I would prefer that the plugin does the locking if that is necessary. If you are using random keys you don't have to lock! Besu could signal to the plugin when a PMT was un- or successfully added to the pool using a callback. Callback could be null if this is not needed. The plugin would have to be able to get the nonce for a certain key from besu. What do you think?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "This is a bit inconsistent with the `ErrorStartHourGreaterThanEnd` in the previous file. Wouldn't `ErrorDefault``fit better here?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "I think it will revert the change @antoninbas did on purpose 05eee251c9c53400277def576f92d614ca234898" }, { "prediction": "I think this should be `if ifaceName == \"wireguard.cali\" {`", "reference": "nit: a switch perhaps?" }, { "prediction": "Line is too long. [89/80]", "reference": "Would it make sense for `opensearch_description_tag` to have default values for the title and href attributes?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but it seems to me that `getRangeFromJournal` should return a `ImmutableRootMetadata` if `errTLFJournalDisabled` is `nil`, and `getRangeFromJournal` should return a `ImmutableRootMetadata` if `errTLFJournalDisabled` is `nil`, and `getRangeFromJournal` should return a `ImmutableRootMetadata` if `errTLFJournalDisabled` is `nil`, and `getRangeFromJournal` should return a `ImmutableRootMetadata` if `errTLFJournalDisabled` is `nil`, and `getRangeFromJournal` should return a `ImmutableRootMetadata` if `errTLFJournalDisabled` is `nil`, and `getRangeFromJournal` should return a `ImmutableRootMetadata` if `errTLFJournalDisabled` is `nil`, and `getRangeFromJournal` should return a `ImmutableRootMetadata` if `errTLFJournalDisabled` is `nil`, and `getRangeFromJournal` should return a `ImmutableRootMetadata` if `errTLFJournalDisabled` is `nil", "reference": "Just noticed this while debugging -- it's unlikely to be causing issues in practice." }, { "prediction": "I don't think we need to wait for the page to load before we actually navigate to the analytics page.", "reference": "That seems unrelated - did that fix a random test failure you noticed while working on this issue?" }, { "prediction": "I don't think this is the right place to do this, but I'm not sure if this is the right place to do this, so I'm not sure if this is the right place to do it.", "reference": "This kind of concern should be handled in the `TableMetadata` update methods. This is similar to `metadata.rollbackTo`, which not only sets the current version, but also updates the table history. I think that all of those methods should add the current object's `file.location()` to the previous metadata location list, if it is non-null. That way, the caller never needs to remember to update it." }, { "prediction": "I think this function should be renamed to `collect_mlvl_tensor_multi` and `collect_mlvl_tensor_multi` to be consistent with the rest of the code.", "reference": "We need to know why all the tensors are detached in `get_bboxed`." }, { "prediction": "I'm not sure why this is needed.", "reference": "Unrelated but shouldn't this raise `attribute-defined-outside-init`?" }, { "prediction": "I'm not sure if this should be passed to the constructor, but I think it would be better to pass `create_no_window=False` to the constructor.", "reference": "I would rather no have this as a `kwarg` as it encourages \"growth\" which lead to an unweildy constructor in other classes. Let's add a method or property to take care of this instead as I think it's usage is going to be quite low." }, { "prediction": "Line is too long. [87/80]", "reference": "You just changed my life :) I grew very attached to this safe nav approach when working with Groovy years ago `obj?.method`. Glad to see its now a part of Ruby!" }, { "prediction": "I'm not sure if this is the best way to fix the issue, but I think it would be better to have the `clear-fix` on the `edit_guidance_submit` button instead of the `form-group clear-fix` on the `edit_guidance_submit` button.", "reference": "do you mean 'clearfix' class?" }, { "prediction": "I think this should be `options.causalConsistency` instead of `options.causalConsistency`.", "reference": "`causalConsistency` is already defined on `SessionOptions`. We do not need to duplicate it here." }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "This should not be included since there are no code changes." }, { "prediction": "I don't think this is the right place to do this. It's a preflight OPTIONS request, not preflight OPTIONS.", "reference": "If all we need just response 200, then we could use `c.Status(http.StatusOK)` here." }, { "prediction": "I think this should be `client.Get(ctx, model.ResourceKey{ Kind: apiv2.KindNode, Name: hostname, Namespace: \"\", }, \"\")`", "reference": "Should be checking for error here" }, { "prediction": "Why not `$this->allTabs->outside = new FormTabs(FormTabs::SECTION_OUTSIDE, (array)$this->config);`?", "reference": "Put a space between `(array)` and `$this` and I'll merge it" }, { "prediction": "This is a stub, not a stub.", "reference": "You could add this to stack.go, which has similar functions (to avoid yet another small file). None of these are likely to be implemented considering what TinyGo is designed for." }, { "prediction": "I don't think we need to pass `notificationId` and `content` to the constructor.", "reference": "the class names `NotificationHolder` and `NotificationsHolder` are fairly difficult to quickly tell apart, particularly since they are often used close to each other" }, { "prediction": "Please use `import java.util.List;`", "reference": "Avoid wildcard imports" }, { "prediction": "I think this should be `candidatesByHeight(hash.PKHash, hash.Hash32B, error)`", "reference": "Need to do this to unblock mockgen. The interface method needs to be public to be visible in another package. The right fix is to delete this test only interface method" }, { "prediction": "I'm not sure if this is the correct version of the driver, or if it's the driver version that we're trying to use?", "reference": "same question here as I have on the other file regarding doing this check here vs L112 vs not at all" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this.", "reference": "Adding `// +build!windows` (as a separate line) will do the same for Windows. So while you are at it we might add it as well." }, { "prediction": "I think we should remove this line.", "reference": "this is used as important way of mocking for unit tests, FYI" }, { "prediction": "I think this should be `muted_alpha=0.2`", "reference": "Sorry, should have been clearer, I meant adding this to the ``Histogram`` options one line above." }, { "prediction": "I don't think this is the right fix. The `aminoacid=\\\"K\\\"` should be `C23NHe2` instead of `C23NHx2`.", "reference": "Just ignorance on my part, but what is the significance of the change from C23NHe2 to C23NHx2?" }, { "prediction": "`class_` should be `np.ndarray`, not `list`.", "reference": "What about tuples or pandas series? Do we want to support lots of different types or force a single type?" }, { "prediction": "I think we should keep the existing check here as well.", "reference": "Small thing, without the check above this will throw a NoNodeException if the path doesn't exist. Maybe this can be wrapped in a try/catch just for the NoNodeException, so that the more user-friendly message used above can be thrown instead: `throw new KeeperException.NoNodeException(\"No collection found at path: \" + path);` Just a thought, I'm not even sure it's worth it." }, { "prediction": "Line is too long. [82/80]", "reference": "I don't know why this worked before, but we should be explicit on not verifying that a blank string (allowed as a way to remove a url/download_url) is a valid url as it is not." }, { "prediction": "Line is too long. [82/80]", "reference": "Do we want to raise an error here instead of warning? Or would it be better to just see if Bolt happens to succeed, and let it fail on it's own if it fails? I'd lean towards raising an error, but that's different from \"removing support\"." }, { "prediction": "`self.options() or self.filter_options(unfiltered)` -> `self.options() or self.filter_options(unfiltered)`", "reference": "This is kind of confusing with the other `filter_options`." }, { "prediction": "I don't think we need to return an error here.", "reference": "Could the `deleteFromFavorites` happen when `head == nil` because it's not initialized yet somehow but not because TLF doesn't exist? I was concerned if this would make it possible in any way to have favorites seemingly deleted on a device while it's not actually happened on server." }, { "prediction": "Why is this change needed?", "reference": "It doesn't look like this particular \"rowCount\" variable is used anywhere. I suppose we could delete it. The code change is harmless though." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "Hmm, probably we should instead write whatever `status` is returned instead of coding a special case." }, { "prediction": "I don't think you need to do this.", "reference": "Could using the pointer-to-struct approach here cause confusion later? We've had several problems of that kind in the past. What does it mean if the struct is non-nil but its fields are nil? Is that even allowed? (libcalico-go question) Are there any validation requirements for this new rule addition; should it only be allowed if `Protocol == TCP`, for example?" }, { "prediction": "I don't think we should add `through: :observers` to the `User` model.", "reference": "why this recursive relationship definition?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "More sentence, less list please. > Encoding of the handler. This field is optional. We don't need to mention exactly what it's used for because that list can expand (as it has already in this change)." }, { "prediction": "I don't think we need these metrics anymore.", "reference": "Not part of this PR, but should the section above say what the name of the metric is for each method?" }, { "prediction": "I'm not sure if this is a TODO or not, but I'm not sure if it's a TODO or not.", "reference": "there are changes that are upcoming to this section. For now, this works (to demo the usage of Gauge), and the changes to this section are coming as separate PRs." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "This is equivalent to stdout. Why not just replace stdin with stdout in `IsProcessBackground`?" }, { "prediction": "I'm not sure this is the right place to put this. The `add_man_to_path` function is only used in the `add_stream` function, so I'm not sure if it's the right place to put it.", "reference": "Rather than test for nullptr, just treat the pointer as a bool, i.e. `if(p_jmsg[\"compress_method\"])`" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this.", "reference": "Can we move the remaining code of this method to a new method? I don't like the `return;` here, we could try to replace it with an `if... else...` syntax. What do you think?" }, { "prediction": "I'm not sure if this is a good place to put this in. I'm not sure if it's a good place to put this in, but it's a good place to put it in.", "reference": "nitpick: _and collections_" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but if it is the right thing to do, then I'm not sure if this is the right thing to do. If it is the right thing to do, then I'm not sure if this is the right thing to do. If it is the right thing to do, then I'm not sure if this is the right thing to do. If it is the right thing to do, then I'm not sure if this is the right thing to do. If it is the right thing to do, then I'm not sure if this is the right thing to do.", "reference": "I believe these need to be explicitly initialized in `proxy_send_prepare`" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "This is unnecessary. The declaration of `t0` on line 179 is still in scope inside the `except` block." }, { "prediction": "I don't think we should add this to the `request` module.", "reference": "The `border_color_`... properties don't support solid colors, not only this one. Maybe `@param solid_color` should be used instead of adding this note to every one of them?" }, { "prediction": "I think this should be `/javascript/grid-ui/src/tests/**/*.test.tsx`", "reference": "We don't need this file, we can use the one that is in the grid-ui directory" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix.", "reference": "FYI: inlined this method in the internal review." }, { "prediction": "Why did you remove this?", "reference": "Werid, the checksum between this file and the one on branch `develop` is the same not sure why it's showing a diff" }, { "prediction": "I'm not sure if `metric.Meter.Name` and `metric.Name` are the same, but I think `metric.Name` should be `metric.Meter.Name + `metric.Name`.", "reference": "Prometheus doesn't have concept of Meter (like OTLP does).. Trying to see if this is a good approach to use the meter name as namespace, to avoid name collisions, when same instrument name is used across multiple instruments, from different Meter." }, { "prediction": "I don't think this is the right way to do this.", "reference": "The formatting of this is a bit strange; I'd suggest collapsing this back to a single line, and moving the `&&` to the beginning of the second line to meet the line length restriction." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "One or the other should be non-NULL. If segments is NULL, the alloc above will have size zero, which we do not allow (there's no header): it should assert in debug build. So there should be asserts that one is non-NULL at the top, and if there really needs to be some kind of defensive check down here, it should cover the alloc too." }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be cleaner to just do `user.update_attributes(first_name: user_data['first_name'], last_name: user_data['last_name'])` instead of `user.update_attributes(first_name: user_data['first_name'], last_name: user_data['last_name'])`", "reference": "I'm surprised rubocop isn't picking up singe quotes?" }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "Is this line still needed?" }, { "prediction": "Why not just set the heartbeatPeriod to 1?", "reference": "Maybe use specific values for all the watt.times fields? Even better, have a const for it at the top of the file?" }, { "prediction": "I don't think we need this. It's not a braille table, it's a braille table, and it's not a braille table, it's a braille table.", "reference": "nit: UNICODE_BRAILLE_TABLE or something might be a better name for this. IMO, braille-patterns.cti is a terrible name. This table allows Unicode braille characters to be used anywhere to produce raw dots." }, { "prediction": "Why is this removed?", "reference": "Why are we removing the option to skip machine pool generation?" }, { "prediction": "I don't think we need this interface.", "reference": "\"Request line\" here too." }, { "prediction": "Why do we need to cast to NPC here?", "reference": "Please remove this." }, { "prediction": "Line is too long. [82/80]", "reference": "Weird bug. Combining those joins and group calls was triggering AREL to generate the sql cache inside of will_paginate before the final call. This is a harmless workaround, but hints that will_paginate might becoming seriously deprecated." }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "This can be simplified as discussed before." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Does `internal` or `test` in the file name actually do anything here? Or is that just to show these functions are only for tests?" }, { "prediction": "I don't think this is the right fix. `serialize(true).should.not.equal(hexa)` should be `should.not.equal(hexa)`", "reference": "does this boolean indicate unsafe serialization?" }, { "prediction": "nit: `Copy bundled Realm files to app's default folder.`", "reference": "Maybe rewrite to `Is only implemented for React Native`? (I assume that is the case)." }, { "prediction": "I'm not sure if this is the right place to put this logic. It seems like it should be moved to `PageStreamingTransformer.getResourcesField(methodModel)`.", "reference": "Do we not need this in Java because Java *is* handling map responses?" }, { "prediction": "I'm not sure if this should be a property, but I think it would be better to have a `task_accepted_messages()` method that returns a list of messages that are accepted.", "reference": "Maybe \"For configuring which scheduler messages can be received.\"?" }, { "prediction": "I don't think we need this anymore. `getObjectManager()` is a `EntityManager` and `getMediaManager()` is a `ObjectManager`.", "reference": "It will stop working with orm, so this is not a good fix, Try using some method in a common interface" }, { "prediction": "I'm not sure this is the right place for the diagnostic source subscriber. I'm not sure if this is the right place for the diagnostic source subscriber.", "reference": "`s` is not necessarily the same as `sampler` - sampler could be null and this crazy lambda underneath falls back to something. So please use `s`" }, { "prediction": "I don't think this is the right place to do this. The `HttpParameterType.BODY` is the default for the `PojoOperationGenerator` and the `HttpParameterType.BODY` is the default for the `PojoOperationGenerator`. The `PojoOperationGenerator` should be responsible for adding the `HttpParameterType.BODY` to the `BodyModel`.", "reference": "This code is a bit confusing. Should HttpParameterType set to the original one or it is always BODY?" }, { "prediction": "I'm not sure this is the right thing to do here. The `c.state.Config.Remote.VerifyOutputs &&!isTest, isTest` checks for the existence of `c.state.Config.Remote.VerifyOutputs`. If it's the case, it should be `c.state.Config.Remote.VerifyOutputs &&!isTest, isTest`.", "reference": "Why did this change?" }, { "prediction": "I'm not sure if we should use the AWS SDK here.", "reference": "nit: `status` collides with imported package named `status`" }, { "prediction": "I think this should be `l.accts.IsWritingCatchpointFile()` instead of `l.accts.IsWritingCatchpointFile()`", "reference": "\"memory pressure could be decreased\" --> \"to avoid memory pressure\"" }, { "prediction": "I'm not sure what this test is testing, but I'm not sure if it's worth it.", "reference": "I think it would make sense to fetch the cache values after deleting the listens and making sure they are what we expect." }, { "prediction": "I think this should be `collapsible: true` instead of `collapsible: false`", "reference": "I'm thinking about covering this change with the test. Can you do that?" }, { "prediction": "I think this should be `stop :=chan struct{}` instead of `stop := []int`", "reference": "Not sure if it's a good idea to remove stop channel. If user cancels connection how will you stop pinger?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but if it is the right thing to do, I'm fine with it.", "reference": "Could you please add a `TODO` here that we won't need `docker.AuthConfiguration` anymore when we migrate to SDK's pull image?" }, { "prediction": "I think this should be `ITaskItem[]`, not `ITaskItem[]`.", "reference": "Is there a scenario were we want to get an arbitrary set of blobs that don't share a common root?" }, { "prediction": "I don't think we need to pass `spec.description.match(/type=regex/);` here.", "reference": "Can you leave a note about why we are skipping regex tests?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "This was the only caller of CreateRepo, so I inlined it." }, { "prediction": "Should this be part of the VaultAuth struct?", "reference": "As this is already a child of `auth`, I think we can shorten this to `path`" }, { "prediction": "Should we raise an error here?", "reference": "This call should use element, not 0 I think." }, { "prediction": "I think it would be better to have a default value of `FetchUntilEmptyPage` and `PartialPageFetchThreshold`.", "reference": "This is missing the definition of `fetch_until_empty_page` - it needs to go in the config section above." }, { "prediction": "Line is too long. [87/80]", "reference": "I don't think this one needs to be changed since the only previous path is already an absolute one." }, { "prediction": "I think we should pass `table.locationProvider()` to `buildValidDataFileDF()` and `buildManifestListDF()` to `buildValidManifestFileDF()` and `buildValidDataFileDF()` and `buildManifestListDF()` to `buildValidFileDF()`.", "reference": "Since we kept the original constructor we might not need this change now." }, { "prediction": "I think this should be `LOG.debug(\"Refreshed [{}]\", fullName);`", "reference": "There is already a log in `BaseMetastoreTableOperations` for this. It has the location, but not the table name. Maybe just add table name to that one." }, { "prediction": "nit: remove empty line", "reference": "This should be in the last group." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "I believe you should either remove this or rename the PR. You can't change the behavior of the tracer (even to fix a bug) in a PR named \"unit test improvements\"" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "I've gone with this group name, however I'm open to suggestions on alternatives!" }, { "prediction": "I think we should rename this to QUORUM_API_NAME or QUORUM_RPC_API_NAME", "reference": "should this be GOQUORUM" }, { "prediction": "`checkCoinbase bool` is the default value for byzantine, so we don't need to set it to `false`.", "reference": "I think checkCoinbase is not skipping checking coinbase. Instead, true-> checking num(coinbase tx) = 1, false -> checking num(coinbase tx) = 0." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "same here, move it out" }, { "prediction": "I don't think this is needed. The `KOKKOS_TOOLS_INDEPENDENT_BUILD` includes the `dlfcn.h` file, and the `KOKKOS_TOOLS_ENABLE_LIBDL` includes the `dlfcn.h` file. The `KOKKOS_TOOLS_INDEPENDENT_BUILD` includes the `dlfcn.h` file, and the `KOKKOS_TOOLS_ENABLE_LIBDL` includes the `dlfcn.h` file.", "reference": "Can you elaborate on why you need different behavior depending on Tools being built independently or not?" }, { "prediction": "I don't think we need the `ex_save` check anymore.", "reference": "because of the above if statement will requires both ex_save and guid_save to be true, this code will always return 'example answer'. This should be revised with `example_answer.present?` and `guidance.present?`" }, { "prediction": "I think this should be `golang.org/x/net/context`", "reference": "why not context from stdlib?" }, { "prediction": "I'm not sure if we should change this to ` FlavorIEEECRC32OverProto2Binary` or ` FlavorIEEECRC32OverProto3Binary`", "reference": "Just saw this and wasn't able to hold myself from renaming :-)." }, { "prediction": "I don't think this is the right way to test this. The `plugins` array is a `Array`, so `plugins` is a `Object`, not a `Array`.", "reference": "Can we keep the other assertion too? I think it's helpful to ensure that the uninstall function was called too" }, { "prediction": "I think this should be `WARNING: Shared example group '#{key}' has been previously defined at:`", "reference": "`warn_with` prefixes the message with `WARNING:`, right? So this will put `WARNING:` twice. It would be good to verify all the warnings look good after this change, given how easy it is to make a simple mistake like this :(." }, { "prediction": "I think we should use `time.Duration` instead of `time.Duration`.", "reference": "FYI In the message queue I use the term \"stamp\" to refer to the time-like mark associated with each message. It's opaque to the queue/pool and should make no difference if the stamps and age limit were converted to seconds. So this could then become `Stamper` with `CurrentStamp()` method, no reference to \"blocks\" or height etc. The wrapper struct could be `StampedMessage. The interpretation as block height is deferred to the user/constructor that hooks things up, the \"business logic\". This is just an observation, take or ignore as you wish." }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if it's a good place to put it, but I'm not sure if it's a good place to put it.", "reference": "Can we remove the `TODO` statement here? (as this is actually fixed in this PR)" }, { "prediction": "I think it's better to use `DisplayPreference.DISPLAY_PREFERENCE` instead of `mDisplayPreference`.", "reference": "m prefix no longer in code style" }, { "prediction": "I think this should be `return kvb.store.Filter(ns, c)` instead of `return kvb.store.Filter(ns, c)`", "reference": "need to filter the entities in buffer as well" }, { "prediction": "I think this should be `de.danoeh.antennapod.core.glide.FastBlurTransformation.class.getName()`", "reference": "Please add spaces before and after the equals sign" }, { "prediction": "I don't think this is needed.", "reference": "This file could also be cleaned up/deleted. But lets do this separately after ensuring all the event logging has been ported to the current logmxevent_traf.cpp file completely." }, { "prediction": "Line is too long. [83/80]", "reference": ":thinking:, the line number here is the line of the example (`example.location`), that's probably why I finally chose to display the example title because it's what can be found on this line, and saying that the error is from there is confusing. But presenting the actual failures is indeed better, so maybe we can get the failure actual line number from the exception backtrace and then output two distinct lines for failures like this one?" }, { "prediction": "I don't think we need to pass `create_no_window=False` here.", "reference": "We shouldn't add this as a new `kwarg` here. This should all be done on the options class" }, { "prediction": "Use the new Ruby 1.9 hash syntax.
Use the new Ruby 1.9 hash syntax.
Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Should this be `OS_VOLUME_SUPPORT` to match the symbol key names?" }, { "prediction": "I'm not sure if this should be `static`.", "reference": "In C, file scope variables are already initialized to 0 so the \"= NULL\" is redundant. Not a big deal." }, { "prediction": "I don't think this is the right place to do this. The `getRootNode` should be called before `axe.commons.dom.getRootNode`, and the `axe.commons.dom.getRootNode` should be called after `axe.commons.dom.getRootNode`. The `getRootNode` should be called before `axe.commons.dom.getRootNode`, and the `axe.commons.dom.getRootNode` should be called after `axe.commons.dom.getRootNode`, and the `axe.commons.dom.getRootNode` should be called after `axe.commons.dom.getRootNode`.", "reference": "on line 40, the `relevantNode` can change and therefore the `doc` might change too for the lookup on line 43. I think this code should be moved to where the `doc` is actually being used" }, { "prediction": "This should be `string.Format(CultureInfo.InvariantCulture, \"milliseconds must be between {0} and {1}\", MinMilliseconds, MaxMilliseconds)`", "reference": "nit: just to be similar to others, can you change to interpolation?" }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if it's worth it.", "reference": "Would this make more sense as an option on an Issuer resource (specifically on the CA issuer) rather than as a flag? It's not ideal that we have a flag that _looks_ like it could be 'global' but is actually not IMO. Also, if Istio is reading the CSR object, is it possible for it to read the CA from the CSR itself too and append the two instead? Not sure if we ever decided whether to use annotations for this purpose @JoshVanL?" }, { "prediction": "This should be `SERVER_DATE_TIME_F` or `SERVER_TIME_F`.", "reference": "Because this acts as a coordination point between client and server, it should go in core.py instead of const.py (so eventually the server could use it to guarantee that it delivers dates in the expected format)." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "expected statement, found 'else' (and 1 more errors)" }, { "prediction": "I'm not sure if this is the right place to use `FakeIDRandomOrBust`. I'm not sure if this is the right place to use `FakeIDRandomOrBust` or if it's the right place to use `FakeIDRandomOrBust` or if it's the right place to use `FakeIDRandomOrBust` or if it's the right place to use `FakeIDRandomOrBust`.", "reference": "IMO this doesn't need to be in the `kbfs` repo. And I don't like setting the byte. We can always compare with the randomly generated `TlfID`." }, { "prediction": "I think this should be `cloudhub/edgecontroller` instead of `cloudhub/edgecontroller`", "reference": "What's the difference from ModuleName in `pkg/apis/meta/v1alpha1/types.go`?" }, { "prediction": "This file should be reverted.", "reference": "We shouldn't be changing this task as we are trying to break our dependency on it and switch to using the shipped version." }, { "prediction": "(style) code indent should use tabs where possible", "reference": "Shouldn't we have a low bar for generating out-of-line context switch, i.e., if we need save more than n (3?) simd or m (4) gprs we should go out-of-line? And it should be || instead &&. It seems the bar is still very high after this change." }, { "prediction": "This file should be moved to `otel/sdk/instrumentation.go`", "reference": "Should the API have a dependency on the SDK?" }, { "prediction": "I think this should be `it.skip('piping of Change Streams when a resumable error is encountered')`.", "reference": "Is this a sometimes leaky test?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "It should be possible to create a test case that enter the loop. That would be a good enough test case for me. Have a look at the extern type inference test cases that already exist. Since you can just pick the type variables the extern type use, you should be able to create a conflict that requires this loop to fix." }, { "prediction": "This is a bit of a nitpick, but I'm not sure if we should do this in this PR. I'm not sure if we should do this in this PR, but I'm not sure if we should do it in this PR, or if we should do it in this PR.", "reference": "It might make sense to log this." }, { "prediction": "Line is too long. [82/80]", "reference": "Line is too long. [84/80]" }, { "prediction": "I think this should be `goog:chromeOptions` instead of `goog:chromeOptions`.", "reference": "nice touch since Google likes to change things every now and then." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Thank you this is so much nicer than the old `Rails.configuration.branding['blah']['blah']['blah']` :)" }, { "prediction": "I think this should be `BACKEND_SERVICES_ACL = 'backend_service_acl'`", "reference": "nit: Would you mind alpha-sorting this?" }, { "prediction": "`ManifestContent.DATA` should be `ManifestContent.DATA`", "reference": "For my understanding, the DATA manifest & DELETE manifest could share the same read / write path so I think we could use the common reader+writer. Is there any other reason that we need to make them separate paths?" }, { "prediction": "Line is too long. [83/80]", "reference": "that change should be sufficient for avoiding the override of contact_us_url helper. The one defined at the.yml it is within a hash so no problem should arise." }, { "prediction": "Line is too long. [85/80]", "reference": "We actually had a discussion about this exactly in #3470, some languages seem to go for one, some for the other" }, { "prediction": "I think this should be `GrpcStreamingDetailView` instead of `grpcStreamingDescriptors`.", "reference": "Is PHP the first dynamic MVVM language with grpc streaming support?" }, { "prediction": "I'm not sure this is the right fix. If `tmpStream` is `null`, then `tmpStream->bad()` will be `true`. If `tmpStream` is `null`, then `tmpStream->bad()` will be `false`. If `tmpStream` is `null`, then `tmpStream->bad()` will be `true`.", "reference": "the `if` isn't necessary here; it's safe to call `delete` on `nullptr`" }, { "prediction": "I don't think this is necessary. The `DataWriter::remove_all_changes()` method does nothing if `impl_->remove_all_changes(removed)` is true.", "reference": "Change if the method's name finally changes to `clear_history` as proposed elsewhere" }, { "prediction": "I'm not sure this is the right place to put this code. I think it should be moved to `DocumentationUtils`.", "reference": "can this one also be moved to the top of the file?" }, { "prediction": "This should be `Resources` instead of `Resources`.", "reference": "So if I understand this correctly the externalEntities should be computed and stored in GroupMember, while current code usage of GroupMemberPod will be migrated to GroupMember later?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Don't we have tests to change after this breaking change? probably we're not using hard coded strings in our tests when we create a `Span`?" }, { "prediction": "I'm not sure this is the right place to put this file. I'm not sure if it's the right place to put it, but it's probably the right place to put it.", "reference": "will this fail if the env variable doesn't exist? Is this the preferred behaviour?" }, { "prediction": "I'm not sure this is the best way to do this. I think it would be better to use `[0.01 * self._random.getReal64() for i in xrange(self._numColumns)])` instead of `[0.01 * self._random.getReal64() for i in xrange(self._numColumns)])`", "reference": "bad line wrap" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "What does the `8` here represent? Can you give it a name?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "`MPRester(os.environ[\"MP_API_KEY\"])` can be left simply as `MPRester()` and it will pick up the API key from the environment. What is the purpose of this file otherwise? Is it better suited for `dev_scripts`, or a test?" }, { "prediction": "Line is too long. [117/80]", "reference": "Looks like there may be more changes to this file than intended?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, or if it's the right place to put it.", "reference": "when message type is not expected, contine to next loop instead of return to finish infinite loop" }, { "prediction": "I'm not sure if this is the right place to put these imports.", "reference": "This change was not really intended but made by the linter of VS Code. And looking at other packages this looks like a best practise to place interal packages on the top and gh imports afterwards." }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "instanceID should stay the same for a AWSMachine?" }, { "prediction": "I think this should be `NO_DOWNLOAD`", "reference": "Since this is a dict don't you want `False` or do we clean that up elsewhere?" }, { "prediction": "Why do we need to set `HOST`?", "reference": "what's the reason you had to add the `host` argument to all `get_work` calls?" }, { "prediction": "I don't think we need to do this. I'm not sure if it's a good idea to do this.", "reference": "This will never be a dataset so we can simplify the code here" }, { "prediction": "Why do we need to pass `blockProcessor.miningBeneficiaryCalculator` to `AbstractBlockProcessor`?", "reference": "This should be moved into the PrivacyBlockProcessor instead of adding the constructor here." }, { "prediction": "I think this should be `insightfilestore` rather than `insightstore`.", "reference": "nit: Remove \"insightfilestore\". I think \"insightstore\" is good enough and as I see we are using that name at other places too." }, { "prediction": "I'm not sure this is the right place to put this, but it seems like it should be `@round_count == 3`", "reference": "It looks like you've removed `bisect_round_finished` but kept `bisect_round_started`. Seems a little odd that they aren't paired. Not sure if there's anything to do about that though..." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this, so I'm not sure if this is the right place to do this.", "reference": "I'm not sure how to fix the lint and mypy warnings on this line. I could just ignore them, but I feel like the linter should know this exists." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "why remove `Symbol`?" }, { "prediction": "I'm not sure this is correct. The `\u00a3\u00a2\u00a5\u00a7\u20ac()*+,\\-.\\/:;<=>?@\\[\\]^_`{|}~\u00b1]/g is not correct.", "reference": "Why are currency signs considered punctuation? They technically fall under the BMP range for Currency Symbols `\\u20A0-\\u20CF` (covered in `getUnicodeNonBmpRegExp`, which is itself a misnomer)" }, { "prediction": "Please add a license header to this file.", "reference": "You have forgotten a coma `,`" }, { "prediction": "`out_dir` should be `img_meta['output_dir']`", "reference": "For different datasets, we may want to save the images differently. Sometimes the datasets are categorized into several subfolders, and we want to keep it when saving visualization results, and sometimes we just want to save all images in `out_dir`. An argument may be added to control the behavior." }, { "prediction": "I'm not sure this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "if `other` could have a guaranteed `0` byte in it, this whole `if` could be removed, and above you could just add `|| c2 == '\\0'` to get the same effect?" }, { "prediction": "I don't think this is the right place to put this method.", "reference": "nit: can this be a primitive value?" }, { "prediction": "I'm not sure this is the right fix, but I think it would be better to use `u.Path.StartsWith(\"/\")` instead of `u.Path.StartsWith(\"/\")`.", "reference": "This maybe not what we want. If `rewrite` occurred before, `r.URL.Path` contains the result and we should use it. Otherwise `rewrite` middleware will disfunction when combining with `browser`." }, { "prediction": "why do we need to add `services` here?", "reference": "Why change this?" }, { "prediction": "Why did you remove this?", "reference": "_nitpick_ Isn't it now actually NotLogFakeHttpExceptions**Error**Listener?" }, { "prediction": "I don't think we need to set `JsonType` to `\"object\"` here.", "reference": "Why not just look for the \"type\" property instead of creating a ResourceType property?" }, { "prediction": "why not use `config.ChainID()` here?", "reference": "should use `bc.config.Blockchain.ChainID`" }, { "prediction": "I don't think this is needed anymore. The `NativeClient.Builder#cluster(String)` method is used to set the default cluster.", "reference": "this doesn't need to know about NativeClient" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "I know we discussed if we should add in the resource_name to the hash, and I actually don't think it's required. The violation hash was recently updated (not released) to include the violated rule, so when the next release goes out, user's findings will get updated. The resource name doesn't hurt to have here, but not required." }, { "prediction": "I'm not sure this is correct. The `scale` parameter is used to determine the scale of the surface. The `width_from_buffer` value is used to determine the width/height of the surface. The `scale` parameter is used to determine the width/height of the surface. The `width_from_buffer` value is used to determine the width/height of the surface. The `scale` parameter is used to determine the width/height of the surface.", "reference": "The variable name is also misleading imo. The width from the buffer comes from `wl_shm_buffer_get_width` (or a similar EGL thing), which is what gets encoded into `surface->texture->width`." }, { "prediction": "I think this should be `self.data['track_msid']` instead of `self.data['track_msid']`", "reference": "Why are you using these tags to carry these msids?" }, { "prediction": "I think this should be `strlcpy(tmp, strcpy(s_val, tmp, sizeof(char) * sizeof(char) + 1) + 1);`", "reference": "flb_strdup() should do the work here. note: use Fluent Bit memory wrappers" }, { "prediction": "I don't think this is needed.", "reference": "This line should be separated from the package declaration by one line as it is not the package description." }, { "prediction": "Why is this change needed?", "reference": "shadow: declaration of \"err\" shadows declaration at line 410 (from `govet`)" }, { "prediction": "I'm not sure if we need to add this to the task_config.go file.", "reference": "Maybe next time better to make separate PR?" }, { "prediction": "I think this should be `if not torch.onnx.is_in_onnx_export():`", "reference": "line 316 also handles this case, need to simplify the logic." }, { "prediction": "I'm not sure this is the right thing to do here. If the client is required, we should be able to call `openBucket(ctx, bucketName string, client *gcp.HTTPClient, opts *Options) (driver.Bucket, error)`.", "reference": "We used to have a simple check for bucket and object names, we then decided to remove it and rely on the backend service to check for the name. Is there any reason to add an empty name check now?" }, { "prediction": "I'm not sure this is the right fix. The `max_blocking_time_point` should be `std::chrono::duration_cast(max_blocking_time_point - std::chrono::steady_clock::now());`", "reference": "Line too long" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a constant for ME_DODGE and ME_HOURGLASS.", "reference": "This isn't aligned though." }, { "prediction": "I don't think this is correct. `mean PAAHead does not support test-time augmentation`", "reference": "it is mean -> it means PAAHead does not support test-time augmentation." }, { "prediction": "I think this should be `from invenio.legacy.bibcatalog.api import BIBCATALOG_SYSTEM`", "reference": "@lnielsen-cern thanks. I missed it :(" }, { "prediction": "I'm not sure this is the right thing to do here, but I think it would be better to add a `analytics.pagePath` property to the `explorer-table.plotKeys` object so that we don't have to duplicate the `analytics.pagePath` value.", "reference": "@tofumatt, has it been changed intentionally? It doesn't seem to be required in IB, plus we haven't had `content-drilldown` before... If it has been changed intentionally, then should we update the `AnalyticsDashboardWidget` component to be use `content-drilldown` instead of `content-pages` as well?" }, { "prediction": "Can we move this to `google/cloud/services/gcp/service_test.py`?", "reference": "nit: don't think an extra line is needed here; as retrying is an installed library and should be grouped with the rest of the installed library." }, { "prediction": "I'm not sure this is the right thing to do, but I think it would be better to have a `EnableAdminAPI` field that defaults to `false` and defaults to `true` and defaults to `true`.", "reference": "This should be a bool" }, { "prediction": "Is this change intentional?", "reference": "`if (llvm::dyn_cast_or_null(GetSwiftType(compiler_type).getPointer())`?" }, { "prediction": "I think this should be `canaryConfigMaps = append(canaryManifests, configMaps...)` and not `canaryConfigMaps = append(canaryManifests, canaryConfigMaps...)`", "reference": "The `generateVariantWorkloadManifests` function below relies on the config manifests specified in Git, but it was passed with the newly created canary's manifests where their name was updated." }, { "prediction": "I think this should be `@param array $configs`", "reference": "are this docs neccesary?" }, { "prediction": "Why do we need to make these final?", "reference": "Can you please revert changes to files in the `thoughtworks` package? This is legacy code and we will eventually phase out RC." }, { "prediction": "Why is this needed?", "reference": "This change suppose to resolve issue #2968. `loss_weight` should be of length 2, the second entry is ignored." }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to have this function return `false` if the file doesn't exist.", "reference": "Is there an easy way to check for conflict suffix to avoid false positives here?" }, { "prediction": "I think we should be able to get the task from `apply_prep` instead of using the context here.", "reference": "`apply_prep.run_task` also seems like it can just use `@context.run_task`" }, { "prediction": "I'm not sure this is the right place to wait for all sections to load. I'm not sure if this is the right place to wait for all sections to load, but if it's the right place to wait for all sections to load, then I'm not sure if this is the right place to wait for all sections to load.", "reference": "do you have any idea on how to fix it?" }, { "prediction": "I'm not sure this is the right way to test this, but I'm not sure it's the right way to test this.", "reference": "You don't need to fix this (you've done so many iterations). But for next time, you can make this into a docstring so it'll have a nicer descriptive name when the tests are running." }, { "prediction": "I don't think this is needed.", "reference": "When does 'expiresAt' change? Do you need this?" }, { "prediction": "I'm not sure if this is the right place for this function. It seems like it should be moved to `Outfits::getOutfitByLookType`.", "reference": "There are enums for genders + `PLAYERSEX_LAST`." }, { "prediction": "I think this should be `RollupBaseTxSize + len(data) * int(tt.dataPrice)`", "reference": "Should this use the constants as well? Or intentionally covering the fact that the constants may change" }, { "prediction": "I think this should be `if self._size < 0: return self._size` instead of `if self._size >= 0: return self._size`", "reference": "The case of a negative size (= keep all elements) was not handled in this function." }, { "prediction": "I don't think we need this anymore.", "reference": "I think we should keep this dynamic config knob for operations purpose." }, { "prediction": "I'm not sure why this was removed.", "reference": "Was this intentional? Perhaps this could be replaced with another way to check the offsets?" }, { "prediction": "I'm not sure if we should add this to the PipelineManifest struct. I'm not sure if it's necessary to add it to the PipelineManifest struct.", "reference": "the buckets are created via the stackset, customers don't need to provide them" }, { "prediction": "Line is too long. [82/80]", "reference": "This doesn't have the same behavior as before. Maybe you want `reverse_merge` (and it either just works or we implement it on `Blacklight::Solr::Request`)" }, { "prediction": "I don't think we need to export PATH unless we're already using it in Travis.", "reference": "This should be ` /$(ghc_find #{config[:ghc]})/ ` instead of ` /#{ghc_version}/ `, I think." }, { "prediction": "I'm not sure this is the right fix. The `dots-vert` and `dots-horiz` icons are only used in Chrome and Android, so I'm not sure if this is the right fix.", "reference": "We should deprecate this at some point." }, { "prediction": "I think this should be `center_sample_radius=1.5`.", "reference": "Move these two arguments before `loss_cls`." }, { "prediction": "I'm not sure this is the right thing to do here. If we're going to generate a serverCert with a serial number, then we should be able to generate a serverCert with a serial number of 1 and a serverCert with a serial number of 0 and a serverCert with a serial number of 1 and a serverCert with a serial number of 0 and a serverCert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with a server cert with", "reference": "[Super NIT]: i := serialNumber if i == 0 { i = mathrand.Int63n(...) }" }, { "prediction": "Nit: `tool` is not a valid option name. It should be `format` or `tool`.", "reference": "-f short form here collided with --force. :)" }, { "prediction": "Why is this removed?", "reference": "I think it is better to describe in the release note that `rerender()` was removed." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "We could also test this easily with `runpy.run_module`, what do you think?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's safe to do this.", "reference": "Is it OK to fall through if it's not assignable? I was kind of surprised when the tests passed. Maybe one of the options below ends up working? For the new tests, this panics because `**not assignable uuid.UUID to []uint8**`. `uuid.UUID` is an array, not a slice." }, { "prediction": "I'm not sure if this is the right API name.", "reference": "I know this is after the fact but imo blockAPI should be blockMiningAPI." }, { "prediction": "I think this should be `self::SYSTEM_ATTRIBUTE_PREFIX.` instead of `self::SYSTEM_ATTRIBUTE_PREFIX.'`.", "reference": "it's just a pattern as it was. SystemAttributeCode should have it's own definition and validate by it" }, { "prediction": "I don't think this is needed. cpp2::LookUpEdgeIndexProcessor::process(LookUpIndexRequest& req) { return UNUSED(req); }", "reference": "Similar to the code block when we use prefix, maybe we can unify them to base?" }, { "prediction": "I don't think this is the right place to do this.", "reference": "I think `Duration` is useful for this action and we shouldn't ignore it." }, { "prediction": "I'm not sure why this is needed.", "reference": "Everything below here can be replaced with `return s.err, len(p) - len(s.dataForWriting)`." }, { "prediction": "I think this should be called `DESUL_ENSURE_HIP_LOCK_ARRAYS_ON_DEVICE` instead of `DESUL_ENSURE_HIP_LOCK_ARRAYS_ON_DEVICE`.", "reference": "Again, we can also guard `g_host_hip_lock_arrays.atomic`, can't we?" }, { "prediction": "I think this should be `true` instead of `false`.", "reference": "Variable name should start from lowercase latter" }, { "prediction": "I'm not sure about this change, but I'm not sure if it's worth it. I'm not sure if it's worth it.", "reference": "Why has this timeout doubled?" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a default value of `0` for `IptablesLockProbeIntervalMillis` and `IptablesLockProbeIntervalSecs`.", "reference": "Should IptablesPostWriteCheckIntervalSecs be set back to its previous smaller value, if use of the iptables lock is disabled?" }, { "prediction": "I'm not sure this is the right way to do this, but I'm not sure it's the right way to do it.", "reference": "You're missing a `return` here, but I'll add it :smile:" }, { "prediction": "I'm not sure why this is needed.", "reference": "Can you try adding back this assertion? I'd like to assert that the texture has been created in the same context as the renderer." }, { "prediction": "`service.collection_path.decode('utf-8')` should be enough.", "reference": "This won't work with Python 3 because it will already be a string. In that case we need to use `decode_header` from utils." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this, so I'm not sure if this is the right place to do this.", "reference": "Why is the respond_to check here?" }, { "prediction": "I think this should be `if ($chars[$i] === '\\\\' || preg_match('/\\w/', $char)) {`", "reference": "@orklah are you sure it's the same as `$chars[$i]`? It looks like `$i` is changed above, after `$char` assignment." }, { "prediction": "I'm not sure why this change is needed.", "reference": "I have a question? How do I construct a indexManager for testcase?" }, { "prediction": "I think this should be `if (adapter == NULL || adapter->plugin.dl_handle == NULL)`", "reference": "These checks aren't needed. See pluginmgr.c : opae_plugin_mgr_load_dflt_plugins( )." }, { "prediction": "I think this should be `$this->argumentsAccessor->get($path, null);`", "reference": "Please take a care about prefixing." }, { "prediction": "I'm not sure if `createSenderAccount` is the right name for this method.", "reference": "this line doesn't match what the rest says" }, { "prediction": "I don't think this is needed.", "reference": "Since it's not working for linux, maybe leave the!linux in there as well?" }, { "prediction": "I'm not sure if this is the right fix. If this is the case, I think it should be `continue` instead of `continue`.", "reference": "Should we remove the key-value pair entirely? Same for workflows in general. We have a \"sourceExists\" method that checks if a key is there if I remember correctly." }, { "prediction": "I don't think this is the right place for this, but I'm not sure if this is the right place for this, so I'm not sure if this is the right place for this.", "reference": "Unrelated bug fix" }, { "prediction": "I think this should be `{0}` and not `{1}`.", "reference": "We probably want to let the translation library handle the string replacement for these as well." }, { "prediction": "why remove getDBFlags?", "reference": "should combine these 2 list (list_gossip and list_db) into just one list command, and show the discrepancy between the 2 if any." }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be `@proposal.currently_awaiting_approvers.include? @user` or `@proposal.currently_awaiting_approvers.include? @user` or `@proposal.currently_awaiting_approvers.include? @user` or `@proposal.currently_awaiting_approvers.include? @user` or `@proposal.currently_awaiting_approvers.include? @user` or `@proposal.currently_awaiting_approvers.include? @user` or `@proposal.currently_awaiting_approvers.include? @user` or `@proposal.currently_awaiting_approvers.include? @user`", "reference": "What do you think about prefixing the Policy method names with `can_`?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "Based on the docs, credential process can return a key `SessionToken`" }, { "prediction": "I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it. I'm not sure if this is the best way to do it, so I'm not sure if this is the best way to do it.", "reference": "I think this if should be removed (see issue)" }, { "prediction": "I think this should be `github.com/projectcalico/libcalico-go/lib/set`", "reference": "I would avoid importing `felix/ipsets` package because this package is the windows equivalent and should be at the same level of `felix/ipsets`. We could add linux specific dependencies into `felix/ipsets` later and it will break Windows build." }, { "prediction": "I'm not sure this import is needed.", "reference": "nitpick: Please move this down to the other imports, as it's a Python stdlib import." }, { "prediction": "I don't think this is the right place to put this.", "reference": "\"for getting started guides\" reads a bit weird, like it's missing punctuation. Maybe just \"for a tutorial\"?" }, { "prediction": "Why did you change the signature of this method to use `recaptcha?` instead of `captcha?`?", "reference": "This looks like a dead parameter -- maybe a copy and paste error. If it's truly unused, maybe you can open a separate PR to simply delete it, and then it's one less detail to worry about here." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Nit: Should we add support for `int` and `uint` in the `values.New()` function? That would allow us to to handle all of these types in one case. Maybe there's a good reason why we don't do that already, but I'm not sure what it is." }, { "prediction": "I think this change is not needed anymore.", "reference": "if you are not dealing with cache now, please revert these changes. On their own they make little sense" }, { "prediction": "I think this should be `@Deprecated`", "reference": "Wearing my extra-douche-bag hat I would say not spaces on a blank line. Maybe at some point we could have some automated process remove these things. For now I would not bother changing it." }, { "prediction": "This class should be renamed to `ShowRemainTimeUpdateEvent`.", "reference": "I think it would be better to use an `ItemUpdatedEvent` like for the \"prefer streaming\" preference. We already have a ton of events that need to be handled in all list fragments that just do the same everywhere. I think we could even remove some of the existing events in the future." }, { "prediction": "I don't think we should add a unique index here. I think we should add a unique index on `id` and `name`", "reference": "I think we have to manually write a down for this migration." }, { "prediction": "I think this should be `index_map = [(SPARK_INDEX_NAME_FORMAT(0), None)]`", "reference": "I don't think we still need this check, but I'd leave it as an assertion for now." }, { "prediction": "Line is too long. [81/80]", "reference": "Since this may be the case, wondering if we should call the param `updated_at_i` or something so that we don't run into a problem distinguishing them down the road?" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to do this in the `ScenarioMeasurement` constructor.", "reference": "wondering why we need to join the paths here; seems evt.commandLine only takes whatever appExe is" }, { "prediction": "Please use `LOGGER.error(\"encode error: {}\",e.getMessage());` instead of `LOGGER.warn(\"encode error: {}\",e.getMessage());`", "reference": "1.not format code 2.failed but still continue? 3.\"UTF-8\" can changed to java.nio.charset.StandardCharsets.UTF_8.name()" }, { "prediction": "I think this should be `astroid.brain.ast_dataclasses` instead of `astroid.brain.ast_dataclasses`", "reference": "I'm wondering if we should add this to a `utils` module in `astroid`. Porting the util to `pylint` doesn't make sense as we would need to duplicate the globals that are being used in the function, but importing from `brain` also feels weird. @Pierre-Sassoulas Do you have an opinion?" }, { "prediction": "I'm not sure this is the right place to do this. It seems like the `_requestProcessingStopping` variable should be set to `false` when `_requestProcessingStopping` is true.", "reference": "This seems different than what we do for corrupted request headers. I would like to determine the correct behavior and consolidate this logic." }, { "prediction": "I'm not sure this is the right fix. The `resourceGroup` field is not set in the `_RunData` constructor.", "reference": "Please make the change in the CAI inventory, rather than changing the scanner." }, { "prediction": "I don't think this change is needed.", "reference": "adding this `abstract` is a breaking API change. Even though I agree it makes perfect sense to have it, we can't break this API until PMD 7.0.0. We should revert this particular change. We could make a reminder ticket like we did with #463 for 6.0.0" }, { "prediction": "This should be `a Plan with countable subscriptions`.", "reference": "This is following the existing convention, but I'm not sure the convention is a good one. I think it would be better to have one shared example group: - It means we don't need to add new example groups twice every time. - If the shared example group looks large, that makes it more obvious that our team models have too much shared behavior. I don't want to do anything about this right now (I'm pretty sure I can wipe out this shared example group when I change team plans), but it's good to keep in mind." }, { "prediction": "I don't think this is the right place to put this check. The `nano::transport::mapped_from_v4_or_v6` function is only called when `new_connection->remote.address ()` is empty, and the `nano::transport::is_ipv4_or_v4_mapped_address` function is called when `new_connection->remote.address ()` is empty.", "reference": "I do not think we need to do a source code change to handle this. We could set the subnetwork to default to /32 (/128 for ipv6 ipv4-mapped)" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "It looks good overall! The only issue I have is that the description string is now duplicated twice right? Once in the struct and once in the parameter string? Maybe let's pass the struct to the command so that `ostree_option_context_parse` can set it as the summary? Similar to what we do in rpm-ostree." }, { "prediction": "Why is this needed?", "reference": "This states very clearly that this is a derivative of Chrome and not Chromium. Do we need to extract an abstract `ChromiumCommandExecutor` and have both Edge and Chrome derive from that?" }, { "prediction": "I don't think this is the right place to put this check.", "reference": "it seems to me, the issue lies on `isEnum()` itself, returning false for something that is an enum. I'd rather change it there than here." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Please use `{}` instead of `dict()`" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if it's the best way to do it.", "reference": "I have concerns about using this in more places before #3278 - I'll take a look at that again shortly." }, { "prediction": "I'm not sure if this is the right message.", "reference": "new field needs to be asserted" }, { "prediction": "I think this should be `self->logIdSent_ = self->lastLogIdSent_;`", "reference": "when send log failed, why update the last sent log id?" }, { "prediction": "I'm not sure this is the right place for this method.", "reference": "what was the problem with the previous order? `prepend` comes conceptually before `append`, i.e. `insert before` should be before `insert after`, I think" }, { "prediction": "I'm not sure if this is the right place for this map, but I think it would be better to have a `BackupInfo` struct with a `Status` field and a `Metadata` struct with a `BackupInfo` struct with a `Status` field and a `Metadata` struct with a `BackupInfo` struct with a `Metadata` struct with a `Status` field and a `Metadata` struct with a `BackupInfo` struct with a `Metadata` struct with a `Status` field and a `Metadata` struct with a `Metadata` struct with a `Metadata` struct with a `Status` field and a `Metadata` struct with a `Metadata` struct with a `Status` struct with a `Metadata` struct with a `Status` struct with a `Metadata` struct with a `Status` struct with a `Metadata` struct with a `Status` struct with a `Metadata` struct with a `Status` struct with a `Metadata` struct with a `Status` struct with a `Status` struct with a `Metadata` struct with a `Status` struct with a `Status` struct with a `Status` struct with a `Status` struct with a `Status` struct with a `Status` struct with", "reference": "Why is this necessary? Could you provide some context?" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to use `` instead of ``", "reference": "Is there a recommended quote style for attributes? I see single and double here, double further down." }, { "prediction": "I'm not sure this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "Please use an atomic bool." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a `DecorateSpan` method that does the decoration.", "reference": "Consider naming this class `SpanExtensions` to follow C# conventions." }, { "prediction": "Why was this removed?", "reference": "FYI @lucaspimentel and @colin-higgins since you have already approved, I wanted to point out this required change. By fixing `FrameworkDescription` to use the correct logger, it created a cycle between these two static constructors, so I'm removing this log line and delaying it to when it's actually constructed later in the Tracer. Let me know if you find that acceptable or have any suggestions." }, { "prediction": "should this be Beaker::ec2 instead of Beaker::AwsSdk?", "reference": "Ah, so we are going to need to update node/host files for this to work?" }, { "prediction": "I think this should be `LOG.info(\"Created container {0}\", id);`", "reference": "This code is new and not tested well. While we may drop the log level before we ship 4.0, right now this is extremely helpful to users." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "used named path (`proposals_path`) instead?" }, { "prediction": "I don't think this is the right way to do this. The `INNER` join should only be done when `item_view.is_suppressed = true` and `bib_view.record_num = bib_record_item_record_link.bib_record_id`. The `INNER` join should only be done when `item_view.is_suppressed = false` and `bib_view.record_num = bib_record_item_record_link.bib_record_id`. The `INNER` join should only be done when `bib_view.is_suppressed = true` and `bib_view.record_num = bib_record_item_record_link.bib_record_id`. The `INNER` join should only be done when `bib_view.is_suppressed = false` and `bib_view.record_num = bib_record_item_record_link.bib_record_id`.", "reference": "Am I misreading something, or is there a mismatched parenthesis here? Please let me know whether or not this is cause for concern -- just wanted to be totally sure before merging, since I can't test this from here. Thanks!" }, { "prediction": "I'm not sure this is the right error message.", "reference": "Might we want a hook to allow emitting metrics or logs in the case of a permitted empty service header response (or similar UpdateSpanWithErr on empty service header in response if strict enforcement is desired by the caller)?" }, { "prediction": "I'm not sure if we should use `self.protocol` here.", "reference": "if using dict.get, this could just be `kwargs.get('protocol', 'https')`" }, { "prediction": "This method is only used in SurfaceNamer, not in SurfaceNamer itself.", "reference": "Add docs to the new methods here" }, { "prediction": "I think this should be `bool Enabled => false;`", "reference": "what does it mean enabled?" }, { "prediction": "I think this should be `db.execSQL(\"PRAGMA rekey = '\" + newKey + \"'\");`", "reference": "Getting an error when calling with db.execSQL (in sqlcipher 4.3.0, pragma returns ok)." }, { "prediction": "I'm not sure if this is the right way to do it, but I think it's better to use `ctx.Tr(\"dashboard\")` instead of `ctx.Tr(\"dashboard\")`", "reference": "Maybe we could remove `\" \" + ctx.Tr(\"dashboard\")` completely?" }, { "prediction": "Line is too long. [87/80]", "reference": "Simple Storage **Service**" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it, but I'm not sure if this is the right place to put it.", "reference": "Let's add some assertions here to ensure we don't panic. Length of results. Conditionally cast second result to error." }, { "prediction": "I don't think this is a good default, but I think it would be better to default to 30 minutes.", "reference": "Where did we take this default from?" }, { "prediction": "Please add `[options.compareStartDate]` and `[options.compareEndDate]` to the doc.", "reference": "Let's move these down to be after all required arguments rather than in between." }, { "prediction": "Why is this needed? I don't think we need to clear the _sharedStringMap every time.", "reference": "Should we just null the Map and let the GC handle the memory? Clearing just removes items, but not capacity, so this would leave some memory on the table." }, { "prediction": "Why is this removed?", "reference": "did you mean to delete this line?" }, { "prediction": "This should be removed.", "reference": "Should we use logger instead?" }, { "prediction": "Metrics/LineLength: Line is too long. [82/80]", "reference": "I think it would be preferred to do `expect(helper).to be_analytics`" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "Actually, I think it's okay to just change to `if isinstance(key, (str)) or is_list_like(key):` and `key = list(key) if is_list_like(key) else key` for simplicity for now." }, { "prediction": "Why is this change necessary?", "reference": "If there any other tests, I would make it optional there also." }, { "prediction": "Line is too long. [82/80]", "reference": "This can be removed too, right?" }, { "prediction": "I think this should be `account.getTransportUri(0)` instead of `account.getTransportUri(0)`", "reference": "If you're going to allow people to specify multiple SMTP servers, you should also properly export/import them." }, { "prediction": "I don't think we should expose these metrics in the `RuntimeMetrics` class. I think we should just expose these metrics in the `RuntimeMetrics` class.", "reference": "nit: Can we prefix these variables with `AspNetCore`?" }, { "prediction": "Layout/MultilineMethodCallIndentation: Use 2 (not 4) spaces for indenting an expression spanning multiple lines.
Layout/MultilineMethodCallIndentation: Use 2 (not 4) spaces for indenting an expression spanning multiple lines.", "reference": "Can this also include a quick test for transpiling by name?" }, { "prediction": "Why do we need to remove this struct in favor of `SessionStatsDeprecated`?", "reference": "This TODO can be removed" }, { "prediction": "I'm not sure this is the right place for this interface.", "reference": "can we make tabAccessibilityIdentifier = null as default?" }, { "prediction": "Why do we need to do this?", "reference": "Should we print this error?" }, { "prediction": "I think this should be `num_classes = len(multi_scores) - 1`.", "reference": "For which reason do we need to convert this to int here?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "FWIW, wondering if the error is interesting here (I actually arrived at this code initially to change `supportsFreezer()` to return a `bool`" }, { "prediction": "I'm not sure if this is the best place to put this conditional, but I'm not sure if it's a good place to put this conditional.", "reference": "Does this still need to be a partial? is the intention down the line to move back towards a conditionally different title?" }, { "prediction": "I'm not sure if this should be `1234` or `902697171733.dkr.ecr.eu-west-3.amazonaws.com`", "reference": "seems like `RegistryURL` is missing? Same for a few other places that create `archer.Environment` below." }, { "prediction": "`target` is not used in this file, please remove it.", "reference": "Are these imports needed?" }, { "prediction": "I'm not sure this is the best way to test this, but I think it would be better to test that `#fixture input` is actually a `text` input instead of a `color` input.", "reference": "I think you can remove the `(isIE11? it.skip : it)(` above, if you're going to skip the test this way." }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if this is the right fix.", "reference": "IMO we should instead fix the above call to do `long actualChecksumIn = Long.reverseBytes(in.readLong());` to get the actual checksum value? This way the below error message would also be correct?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "I think we also need something similar for `rebuild-index`?" }, { "prediction": "Why is this port 443?", "reference": "I think convention is snake case for import naming?" }, { "prediction": "I don't think this is the right place to do this. The index scan builder should only be added if `hasPk` is true. It should only be added if `tableInfo.isCommonHandle()` is true.", "reference": "i think haspk is false?" }, { "prediction": "This should be `--surefire-dir` instead of `--surefire-dir`.", "reference": "you should add this to the cover command too (but let's have a more general convo about whether it's a flag or config option)" }, { "prediction": "I'm not sure why we need to pass the config here.", "reference": "instead of passing in pointer to empty struct, we should make it optional and support passing nil and use default cfg if it is nil." }, { "prediction": "I'm not sure this is the right fix. The `to_csv()` method is supposed to return a `str` object, not a `unicode` object. The `repr()` method is supposed to return a `unicode` object, not a `str` object.", "reference": "A fair bit faster, although still not great, hence also adding a hashkey." }, { "prediction": "I'm not sure if this is the best place to put this. It's a bit of a hack, but it's a good place to put it.", "reference": "If we're going to leave this in here, how about we at least pull it into partial?" }, { "prediction": "I'm not sure about this change, but I'm not sure it's worth it.", "reference": "This `context` is used correctly, there is nothing left TO DO." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do.", "reference": "If `docs` is an empty array there will be an error" }, { "prediction": "I think this should be `http://` instead of `quic:`.", "reference": "Is it really necessary to have the user specify this, or can the reverse proxy infer QUIC from the upstream's Alt-Svc headers?" }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if this is the right fix. I'm not sure if this is the right fix.", "reference": "just remove the entire variable." }, { "prediction": "I think this should be `@options[:modulepath] = modulepath.split(File::PATH_SEPARATOR).map do |moduledir| File.expand_path(moduledir) File.expand_path(moduledir) end", "reference": "Maybe we should put that in the option description?" }, { "prediction": "I don't think we need to change the signature of this method.", "reference": "Why do we need to make this optional? Isn't the idea of the builder that if you don't need this value you just don't call the `keyFilePath ` method?" }, { "prediction": "I think we can remove `fromProperties()` from `MetricsConfig`.", "reference": "Shall we do the same for ORC and Avro?" }, { "prediction": "I don't think this is needed.", "reference": "Should be a space between line" }, { "prediction": "I don't think this method is used anywhere.", "reference": "if not behind interface then equally we can use SecureRandom.GetBytes directly, otherwise let us push it behind ISecureRandom so we can test with this class wherever used" }, { "prediction": "I'm not sure this is correct. The card is a card, but the card itself is a card.", "reference": "Probably will undo this change for now, as I'm just targeting Weekly Iteration in this PR." }, { "prediction": "Why is this removed?", "reference": "Unused parameter warning? How comes we did not catch that before? In any case please open another PR for this." }, { "prediction": "I'm not sure if this is a good idea. If it is a bad idea, it should be better to have it as a parameter to tpfp_imagenet. I'm not sure if it is a good idea to have it as a parameter to tpfp_imagenet. I'm not sure if it is a good idea to have it as a parameter to tpfp_imagenet. I'm not sure if it is a good idea to have it as a parameter to tpfp_imagenet. I'm not sure if it is a good idea to have it as a parameter to tpfp_imagenet. If it is a bad idea to have it as a parameter to tpfp_imagenet, I'd say it is better to have it as a parameter to tpfp_imagenet.", "reference": "I recommend move all openimage related logic to a new function" }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a `external_cgroup` field that indicates whether or not the cgroup is created.", "reference": "We shouldn't have a bool for this. If there is a path passed, then we use it. Resource may or may not be empty." }, { "prediction": "I'm not sure if `raw textilize` should be necessary here. I think it should be `textilize(section_teacher.teacher.bio)` instead of `raw textilize(section_teacher.teacher.bio)`", "reference": "I like how you used the count on the translate call to handle this." }, { "prediction": "I think this should be `if ($handler->hasDismax()) {` instead of `if ($handler->hasDismax()) {`", "reference": "Do we need to do this from the outside, or is there a spot in the handler code where we can do this automatically? (I haven't studied it closely yet... just wondering if you've already thought it through or if it's worth taking a closer look)." }, { "prediction": "I'm not sure if this is the right place to put this test.", "reference": "[Checkstyle] INFO: Using the '._' form of import should be avoided - java.util._." }, { "prediction": "I don't think this is needed.", "reference": "So, why everything is in memory but the permission backend?" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to use `List.copyOf(allowedExtensions)` instead of `allowedExtensions!= null? List.copyOf(allowedExtensions) : null`", "reference": "Are you sure it should be null and not an empty List?" }, { "prediction": "This should be set to `[Required]`.", "reference": "Unfortunately I think the assumption of \"empty\" means the default dependency section is not correct. For a project.json file the default dependencies section is a shared section between all the different target frameworks and our TargetGroup being empty may map to many different target frameworks so they aren't really equated." }, { "prediction": "Is this change intentional?", "reference": "This test was verifying the wrong thing." }, { "prediction": "I think this should be `'brave'` instead of `'brave'`", "reference": "pls pr a name change fro muon here too separately." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "nit: we can use `defer opts.spinner.Stop(\"Error!\")` after l.180 to make it slightly neater" }, { "prediction": "I think it's better to use `VM_DELAY_READONLY` instead of `VM_DELAY_WRITEONLY`", "reference": "This is declared in the wrong block" }, { "prediction": "I think it is better to use beehive.Send() instead of beehive.Send().", "reference": "In fact it would be useful for debug, i prefer combine them into one debug level log." }, { "prediction": "I'm not sure if this is a good name. I'm not sure if it's a good name, but if it's a good name, I'm fine with it.", "reference": "We would need to localize them eventually too, just FYI" }, { "prediction": "Why is this change needed?", "reference": "It looks like the proto code needs to change the function name from set_name to set_type to be consistent." }, { "prediction": "I don't think this file is needed.", "reference": "I think we can avoid using this pattern for this use case." }, { "prediction": "This should be `#ifndef __ANDROID__` instead of `#ifndef __ANDROID__`", "reference": "Could you please change this to `#ifndef __linux__`? That's when we use our own implementation instead of `posix_spawnp`." }, { "prediction": "I don't think this is the right place to do this. The `Capabilities` class has a `hasCapabilities()` method that returns true if the capability is not supported, and false otherwise if the capability is not supported. I'm not sure if this is the right place to do this.", "reference": "Nit: put the `&&` on the previous line so that a reader knows that there's more to the statement at a casual glance." }, { "prediction": "I'm not sure if this is the right place for this function. I'm not sure if it's worth it.", "reference": "Technically the \"right\" variables to use would be the ones in `libgit/autogit_node_wrappers.go\", which define how the tlf types map to subdirs for autogit specifically. (They would have to be exported.) But this is fine too I guess, just a little dirtier." }, { "prediction": "I'm not sure if this is the right name for this method. Maybe `notification_for_approver_removed_proposal` or `notification_for_reviewed_proposal`?", "reference": "Should there be a template or something associated with this email? Right now it's identical to `notification_for_approver`" }, { "prediction": "Why do we need this variable?", "reference": "i hope there is some extension in phpstan for this" }, { "prediction": "I think this should be `if (sep == 0) return 0;`", "reference": "We don't store empty dictionary entries anymore: they bring no benefits, only trouble." }, { "prediction": "I'm not sure this is the right place for this function. It looks like it's only ever used in non-Object-API, and it's only used in non-Object-API, so I'm not sure if it's the right place for this function.", "reference": "Optional: This function is C++ specific and could be declared as `static`." }, { "prediction": "`tagKey` and `tagValue` should be the same as `tagKey`, `tagValue` should be the same as `tagKey`, `tagValue` should be the same as `tagKey`, `tagValue` should be the same as `tagKey`, `tagValue` should be the same as `tagKey`, `tagValue` should be the same as `tagKey`, `tagValue` should be the same as `tagKey`, `tagValue` should be the same as `tagKey`, `tagValue` should be the same as `tagKey`, `tagValue` should be the same as `tagKey`, `tagValue` should be the same as `tagKey`, `tagValue` should be the same as `tagKey`, `tagValue`", "reference": "we can't remove functions as that would introduce backward compatibility issues in our java client. So we should also have a function with the original arguments: ` public Roles getRoles(String domainName, Boolean members) { return getRoles(domainName, members, null, null); } ` For the Go client we don't have a wrapper so no option but to update your client code as necessary, but for java we have the wrapper thus we always maintain backward compatibility" }, { "prediction": "I think this should be `@private` instead of `@private`.", "reference": "I'd recommend keeping this in `warn_deprecation` and not adding an override of `warn`." }, { "prediction": "Can we move this to the top of the file?", "reference": "I think we should use a `blitz` bin instead" }, { "prediction": "I think this should be `if dataset._virtual_vdims is not None:`", "reference": "Why not make the ``derived_vdims`` flag (or similar, ``validate_vdims`` maybe?) an explicit argument to ``validate``?" }, { "prediction": "I think this should be `return \"\", status.Errorf(codes.Internal, \"Failed to create snapshot for Pure FA volume: %v\", err.Error())`", "reference": "was it not possible to do this at the filter or porx driver layer? We typically try to avoid driver-specific things in the SDK layer" }, { "prediction": "I don't think we need this.", "reference": "please update the year. it can be setup in intellij template." }, { "prediction": "I think this test should be moved to the `preventTokenLogging` test class.", "reference": "what's the use-case for this?" }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's the right place to put this, so I'm not sure it's the right place to put it.", "reference": "nit: `as_index must be an boolean` -> `as_index must be a boolean`" }, { "prediction": "I don't think we need to pass the $currentVersion and $newVersion to the update method.", "reference": "What is the goal of that method? And what are `$currentVersion` and `$newVersion`? Are they Thelia or Module version? :)" }, { "prediction": "I don't think this is needed.", "reference": "Is there an advantage to this vs setting `this.version` in the constructor? Cleaner this way, at the top?" }, { "prediction": "Please use `StringUtils.isBlank(url)`", "reference": "Fix for URISyntaxException." }, { "prediction": "I think this should be `if routeUpd.Dst == nil {`", "reference": "Would be good to UT this case" }, { "prediction": "I think this should be `off`, not `off`.", "reference": "Why we need to add this?" }, { "prediction": "Line is too long. [87/80]", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have `ApiCalls` and `CurrentApiCalls` in the `JetStreamStats` struct.", "reference": "This is ok to change since I believe that these were added just in main and not in public release." }, { "prediction": "I'm not sure if we need to pass the pubsubServiceAccount to the `WithCloudAuditLogsSourceServiceName` function.", "reference": "Not needed in this PR, just want to make sure people think about this (maybe make an issue)? This is a lot of strings in a row. It will be hard/impossible for someone reading the code to see that everything is in the correct position. I recommend creating a struct instead of passing seven strings in a row. A similar problem exists on most of the `MakeFoo(...)` style methods in this change." }, { "prediction": "I think this should be `if (_run!= null && _run.ToolNotifications!= null)`", "reference": "_jaw drops_ I would have sworn I wrote those lines. Good catch." }, { "prediction": "Do we need to clear `axe._memoizedFns`?", "reference": "This needs to be tested." }, { "prediction": "I think this test should be `expect(building.building_address).to be_a(BuildingAddress)`", "reference": "I believe you're missing the comparison after 'be'" }, { "prediction": "Is this TODO still needed?", "reference": "move 103~105 to in front of 97?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Lots of unnecessary imports left in this file." }, { "prediction": "I'm not sure this is the right fix.", "reference": "Does this actually produce different code?" }, { "prediction": "I don't think this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "This should account for whitespace. Simply putting `.trim()` on the attribute value should do." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to use `routetable.TargetTypeNoEncap` instead of `routetable.TargetTypeBlackhole`.", "reference": "I don't think we need these. Simpler just to put `routetable.TargetType...` inline below." }, { "prediction": "I don't think this is the right place to check this.", "reference": "Nested if statement. You can merge both statements nested together to create one" }, { "prediction": "This method should be renamed to `isJavaVersionAbove9()`.", "reference": "Nitpick: add a space after the comma. Also, we should consider that the format of the version could change in the future so we could get something that is not a parsable integer." }, { "prediction": "I'm not sure this is the right thing to do here. The `result` parameter is a `std::string` so it should be `std::move(result)`.", "reference": "For your reference in future, I sugguest to use the `ASSERT_*` family." }, { "prediction": "This should be `#include \"fmt/format.h\"` instead of `#include \"fmt/format.h\"`.", "reference": "no need to import `fmt/format.h` here since the `KimInit` class is derived from `Pointers`. Any class derived from `Pointers` can assumed that `lmptype.h`, `mpi.h`, `cstddef`, `cstdio`, `string`, `utils.h` and `fmt/format.h` are already included through `pointers.h`." }, { "prediction": "I'm not sure if this is the right place to put this import. I'm not sure if this is the right place to put this import.", "reference": "Can we have prefix of `OPENEBS_IO` e.g.: `OPENEBS_IO_INSTANCE_NAME`" }, { "prediction": "I think this should be `errors.New(\"GetRootNode is not supported by folderBranchOps\")`", "reference": "Might as well fix these bare returns by making them `return errors.New(...` directly." }, { "prediction": "I think we should use `org.hyperledger.besu.datatypes.Hash.EMPTY` instead of `org.hyperledger.besu.datatypes.Hash.EMPTY`", "reference": "we can use import here" }, { "prediction": "Why do we need to remove this?", "reference": "thx for removing these" }, { "prediction": "I don't think this is the right place to catch the exception, but I don't think this is the right place to catch it.", "reference": "I snuck this one in as well as checkstyle crashing (on files from resources) caused an unfinished xml to be written, and it wasn't obvious where that XML was" }, { "prediction": "I'm not sure if this is the right place for this test. I'm not sure if this is the right place for this test.", "reference": "How is this different than \"good case\"?" }, { "prediction": "Why do we need to pass `services` as an empty array?", "reference": "the last parameter name should be `serviceName` as is in the implementation" }, { "prediction": "This test is not related to this PR, but I think it would be nice to have a separate test for this.", "reference": "@ftomassetti - okay, this is a little meh." }, { "prediction": "I think this should be `errUnsupported` instead of `errNotImplemented`.", "reference": "Note, changed initial capitalisation of this for consistency. Can do it the other way around too if that'd be better. :wink:" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "hey, aren't we supposed to be passing in two parameters here?" }, { "prediction": "I think this should be `bitcore.Unit` instead of `bitcore.Unit = require('./lib/unit')`", "reference": "please keep alphabetical ordering :)" }, { "prediction": "Please revert this change.", "reference": "Selenium must compile against Java 6. Revert this line." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "what is that `\"\"`, the adapterType? can you add `\"\" /* adapterType */`... in other places as well... might be cleaner if it's a pointer or some varargs at the end but don't have any strong preference.." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix. I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "This check is a little odd, and will still mess up with empty strings `''` because empty string is falsy. Can we change this to `|| _this.getValue(path) == null`?" }, { "prediction": "`isFocusable` -> `isFocusableInFocusOrder` -> `isFocusableInFocusOrder` -> `isFocusableInFocusOrder` -> `isFocusableInFocusOrder` -> `isFocusableInFocusOrder` -> `isFocusableInFocusOrder` -> `isFocusableInFocusOrder` -> `isFocusableInFocusOrder` -> `isFocusableInFocusOrder` -> `isFocusableInFocusOrder` -> `isFocusableInFocusOrder`", "reference": "Just a minor suggestion: If you `parseInt` when you access the attribute then you shouldn't have to do it twice in the ternary." }, { "prediction": "I'm not sure if this is the right place to set `host-key-check`?", "reference": "This change in particular is strange. I'm not sure why it would now be necessary. The previous default would've been true, and the default behavior without a new net-ssh version should be unchanged." }, { "prediction": "I think this should be `@Nullable`", "reference": "Why is that? Should be redundant as the default value exists." }, { "prediction": "I'm not sure if this should be `bool;true` or `bool;false` depending on whether or not we're simulating dataplane or not.", "reference": "Are all fields beginning with \"Debug\" automatically `;local`? (I guess so, but just checking.)" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "While I think it makes sense to update the mapping programmatically, I don't see much value in exposing it as part of the table API. We want to keep the Table API small, so if we can handle this by using a separate API that consumes and produces JSON, then that is preferred. Also, we may have more than one mapping in the future, so keeping this decoupled also helps out for those use cases. For now, let's build a utility class to perform these updates. We can always add this to the public API later if we choose to." }, { "prediction": "I'm not sure this is the right way to wait on all connections, but I'm not sure if this is the right way to do it.", "reference": "We would want ssmp to wake up every 3 seconds if there are no other requests to it and do some cleanup tasks. So, it is not clear why do you want to set this to 0." }, { "prediction": "I think this should be `_runtimeType` instead of `_runtimeType`.", "reference": "Is this really necessary? I would expect these types to be included with the loop below." }, { "prediction": "I think this should be `if (BitConverter.IsLittleEndian) {` instead of `if (BitConverter.IsLittleEndian) {`", "reference": "You could do span and it's magic of typecast to int for better efficiency" }, { "prediction": "I don't think vendor prefixes are needed here.", "reference": "Looks like you've covered `-webkit-transform`, but what about `-ms-transform`?" }, { "prediction": "I don't think this is the right place to do this.", "reference": "Is there something missing from the message here?" }, { "prediction": "I don't think you need to add this to the `__all__` list.", "reference": "Hmm, what does this syntax mean?" }, { "prediction": "I'm not sure if this is the right place to put this API. I'm not sure if this is the right place to put it.", "reference": "should this be callerTypeTask?" }, { "prediction": "I think this should be `@plan.administerable_by?(@user.id)` instead of `@plan.administerable_by?(@user.id)`", "reference": "Currently update is set as @plan.editable_by?(@user.id) Which one is the correct behavior? I can see a case for only owners/co-owners to be able to set visibility, test status, and other plan details" }, { "prediction": "I'm not sure if this is the best search limit. I'm not sure if this is the best search limit.", "reference": "Maybe make it configurable? Or store the actual level index in DB, making this binary search obsolete?" }, { "prediction": "I think this method should be renamed to `getTableBasePath` since it's not used anywhere else.", "reference": "Nit: this file doesn't need to change. Can you revert this to avoid git conflicts?" }, { "prediction": "I'm not sure if this is the right place to put this, but it seems like we should be able to remove the `handleMenuSelected` function entirely.", "reference": "There's no reason for this to be a callback now technically but as per our tech decision, we want all handlers to use `useCallback` now" }, { "prediction": "I think this should be \"LO\" or \"Logic\".", "reference": "This isn't strictly part of this PR, but could you move `multiSigString` from `crypto/multisig.go` into this list of `HashID` values? Now that we have other things being hashed into addresses (specifically, these new logic addresses), it's important that the hash input for multisig addrs is domain-separated from logic addresses." }, { "prediction": "I don't think this is needed, but I think it would be better to have a `BaseTestCase` subclass of `BaseTestCase` and override `stop_pool()` in `BaseTestCase.__init__`.", "reference": "nit: you could have named it just \"TestCase\" (if django's TestCase was imported differently)" }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, so I'm not sure what the best way to do this is.", "reference": "the bridge here isn't defined as an accessor / reader to try mask it better. So you need to directly call the iVar `@bridge` here." }, { "prediction": "Is this change intentional?", "reference": "All the callers of `ExtractSomeIfAny`, always pass `true` to `synthetic_value`. Can we get rid of the extra argument?" }, { "prediction": "I think this should be `args.config` instead of `args.config`.", "reference": "Better to use the absolute path." }, { "prediction": "Why do we need to change this?", "reference": "this is 16 hours, is that enough?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if it's worth it.", "reference": "removing boilerplate. You could also add a `StartSpan` with varargs to inline string attributes." }, { "prediction": "I'm not sure why this change is needed.", "reference": "Can you replace these single letter variables with full names?" }, { "prediction": "I'm not sure if this is the right place to put this action. I'm not sure if this is the right place to put it.", "reference": "At first I wasn't sure, but now I think I'm sold on making PrepareRequest an action over adding a state object to the context." }, { "prediction": "I don't think this is correct. The `VuFind` generator is already defined in the `Site_Config` array.", "reference": "Would it be too greedy to preg_replace `VuFind (\\d+\\.?)+` with `'VuFind '. $this->to` anywhere in the string? This would update something like 'Finna (VuFind 7.1.0)' as well. Just a thought, please disregard if you'd like to keep it as is." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. If it is the right place to do this, I'm not sure if this is the right place to do this.", "reference": "BTW for brevity, you can remove `getZkStateReader().` here and elsewhere since ZkController has a convenience method for the cluster state." }, { "prediction": "I'm not sure this is the right place to put this code. It seems like it should be moved to the `ManifestGroup` class.", "reference": "If there are no manifests, then entries should be `CloseableIterable.empty()`, not the manifest iterable. That doesn't need to be closeable." }, { "prediction": "I don't think this test is needed.", "reference": "this class should be named `ArrayInitializationVerbosenessTest` to work" }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to have a validation function that checks if `val` is a Hash, and if so, we can raise an error if `val` is not a Hash.", "reference": "Do we want to allow users to disable `console` as well? The schema currently says that it only permits a hash for `console`." }, { "prediction": "Why is this skipped?", "reference": "It would be very helpful to describe succinctly either inline or by linking to an issue going into depth why each test is not working. If we merge like this your knowledge of what is going on is lost and other people in the code need to do a ton of reading before understanding when/how/if we should unskip." }, { "prediction": "I'm not sure this is the right fix. I'm not sure if `previousError` is the right value for `currentRangeData` or `currentError`.", "reference": "As this is a `useEffect` this could be a cause for concern! Note that `useEffect` re-runs when a dependency changes **not** when a dependency is truthy (the previous code does look a bit like it's expecting that)" }, { "prediction": "I'm not sure this is the right place to do this. The `lbann::finalize` should be called before the `lbann::initialize` call.", "reference": "Should we be doing this with `make_unique` or something?" }, { "prediction": "Line is too long. [82/80]", "reference": "we don't want to set default values for this. Since it is the actual email, we want to make sure we are always passing in the `user` and `proposal`. we have a default value of `nil` for modifier because sometimes will update a proposal via `rails console` in which case there will be no recorded modifier." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Yes this import was in the wrong place, but should ideally be in the first list of imports (among `go/build`, `go/token`, etc.). You may move it there, or just revert this change as it's actually unrelated." }, { "prediction": "I'm not sure why this change is needed.", "reference": "It's unnecessary to duplicate the `name`." }, { "prediction": "I don't think this is the right fix.", "reference": "this was a mistake when adding phpstan strict plugin" }, { "prediction": "Nit: `oldDom.parentNode == parentDom`", "reference": "Nit: I think it should be `to handle` here." }, { "prediction": "I'm not sure if this is the right place to put this check, but I'm not sure if this is the right place to put this check.", "reference": "Please don't make unrelated changes or let your tools make unrelated changes." }, { "prediction": "I'm not sure this is the right thing to do here, but I'm not sure it's the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "`numAccounts` is a global variable (from `gochecknoglobals`)" }, { "prediction": "I think this should be `if (!empty($this->plugins[$id])) { unset($this->plugins[$id]); }` instead of `if (!empty($this->plugins)) { unset($this->plugins[$id]); }`", "reference": "Is the ID correctly normalized at this point?" }, { "prediction": "I don't think this is needed.", "reference": "if 0 is a special constant meaning \"no limit\" let's make it a constant and name it correctly :)" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Curious about the reason behind this change" }, { "prediction": "I don't think we need this change. The `cborStore` is a wrapper around the `OnlineStore` and `OfflineStore`. The `cborStore` is a wrapper around the `cborStore`, so we don't need to pass the `cborStore` to the `Put` call.", "reference": "wait, i thought the cborstore was for state tree?" }, { "prediction": "I think this should be `if pkg.get('KEY', None) is not None:`", "reference": "This logic is now duplicated here and in `_delete_temporary_files`... Maybe do it all at once - find temp files, delete them, and fix the logical keys?" }, { "prediction": "I don't think this is the right place to do this. The response type should be the same as the response type.", "reference": "How about name it with NullResponseTypeProcessor" }, { "prediction": "I'm not sure this is the right place to put this check. It looks like it's checking whether `monotone_constraints` is non-empty.", "reference": "Maybe `Log::Fatal` here? `[LightGBM] [Fatal] Check failed: feat_is_unconstrained at...` (and kernel death in case of Jupyter Notebook) seems to be not so informative and user-friendly." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Not sure I like the name ``_apply``. Even though ``_process`` is supposed to process elements already, how about ``_process_element`` which processes elements, *excluding* Overlays/NdOverlays." }, { "prediction": "I think this should be `node_role` instead of `node`.", "reference": "Let's use this constant when ASG is created as well (currently hardcoded)." }, { "prediction": "I'm not sure this is correct. I think it should be `objects.group_by(eventname)`.", "reference": "Oh is `bucket` actually higher cardinality than `eventname`?" }, { "prediction": "I think this should be `QWebEngineProfile` instead of `QWebEngine`", "reference": "You can't rely on QtWebEngine being available - but why do you need to import this here at all?" }, { "prediction": "I don't think this is needed.", "reference": "How did you determine these - and how can we be confident that nothing is missing?" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to have a list of videos or videos in a list of videos.", "reference": "What is this page going to do that is different than the products index we already have?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "Couldn't you just write this as an if/else or a guard clause like on line 87? Just seems a bit weird doing this conditional assignment for essentially an if/else." }, { "prediction": "I'm not sure if we want to use `s3_options` here, but it seems like we should be able to just use `config.allow_failure` instead of `allow_failure`.", "reference": "Is this intended to be here? Seems it belongs to a different PR." }, { "prediction": "Why is this change necessary?", "reference": "These changes, while harmless, were no longer needed with newer versions of System.Console thanks to @ianhays" }, { "prediction": "Can we use ` botocore.exceptions.NoRegionError` instead of ` botocore.exceptions.NoRegionError`?", "reference": "Umm... this isn't relevant to this PR" }, { "prediction": "I don't think this is the right place to put this.", "reference": "While All make some sense here it doesn't make a lot of sense in the SkipOnFramework context. I wonder if we really need to expose anything more here. You can just blindly use 0." }, { "prediction": "I don't think you need this license.", "reference": "Actually, this is not correct. Package `cmd/bee` doe snot have any notion of commands or even libraries used for them. It is as simple as possible, just calling the function from `cmd/bee/cmd` which actually implements commands." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "This change is causing tests to fail because users sits at `/app/users`, not `/app/admin/users`" }, { "prediction": "This should be `Supported: \"lax\", \"strict\"` instead of `Supported: \"strict\", \"same_site\"`.", "reference": "Could you provide more information on what exactly each of those three options do?" }, { "prediction": "I'm not sure if this is the right place to put the `?TraceFilePath` property.", "reference": "Why this line break?" }, { "prediction": "I'm not sure if this is the right place to put this v1 import. I'm not sure if this is the right place to put this v1 import.", "reference": "We're importing this twice with different aliases." }, { "prediction": "I think this should be `<0.8.0`", "reference": "We should avoid adding a pandera dependency to Dagster itself." }, { "prediction": "I don't think this is the right place to do this, but I don't think this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Can be replaced with `org.jkiss.utils.ArrayUtils#add`." }, { "prediction": "I'm not sure this is the right place to do this. The `electionContexts` collection is not thread-safe, so I'm not sure if this is the right place to do it.", "reference": "While we're here, this line (and a few others) should be `customThreadPool.submit(() -> IOUtils.closeQuietly(overseer);` I have no idea why we're creating a collection and a stream for a single object." }, { "prediction": "I'm not sure this is the right way to check for managed identity and resourceID.", "reference": "Should these restrictions also be reflected in the API docs?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "What about the request headers if someone uses `request_header`? :thinking:" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if `--domain-filter` is the right thing to do here.", "reference": "Verify that external-dns allows setting this parameter multiple times (that it's not \"last one wins\")." }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be better to have a `hostname` field in `docker.py` and use that instead of `hostname` in the `docker.py` and `docker.py` files.", "reference": "Maybe 2 host/ip values could be used in the example?" }, { "prediction": "I'm not sure if this is the right place to instantiate the tracer.", "reference": "We're only testing `RateLimiter.Allowed(Span)`, so I think we can use a mock `ITraceContext` instead of a real `Tracer` or `TraceContext`." }, { "prediction": "Why not just pass `trainer` as an argument to `build_model_from_prototext`?", "reference": "IMO, this is the wrong way to associate a model with a trainer... Why the string when you actually have a trainer object?" }, { "prediction": "The `block_a.type()` is a `constexpr` type, so you can't use `block_a.type()` here.", "reference": "Wondering if we can directly put types here & for other similar ledger_processor items like rai::block_type::state" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if it's worth it.", "reference": "As `DeleteFiles` is not only used for prune this function deserves its own file. Maybe something like `delete_files.go` or `parallel.go`?" }, { "prediction": "I don't think it's a problem, but it should be `:attribute \u5df2\u7d93\u5b58\u5728\u3002` instead of `:attribute \u5df2\u7d93\u5b58\u5728\u3002`", "reference": "It should be simplified character. `` -> ``" }, { "prediction": "I think this should be `bool VisitAccounts => true;` instead of `bool VisitAccounts => false;`", "reference": "I am pretty sure it breaks the visitor pattern, visitor should have no knowledge about the structure of what it is visiting or control over visiting mechanism" }, { "prediction": "`LinkedHashMap` is a better name than `TreeMap`.", "reference": "'A' instead of 'An' here" }, { "prediction": "I think this should be `time.Second * time.Minute`.", "reference": "Can you flip it back (here and in other places)? It is more natural to represent \"10 seconds\" as `10 * time.Second`." }, { "prediction": "why do we need to add `output='array'` here?", "reference": "Why was this necessary? You should just use the `dask_classifier` defined below this. With this change, you'd only be doing the local predict on arrays each time, but we want to test on all of DataFrame, Array, and sparse matrix." }, { "prediction": "I'm not sure how long this is going to take, but I'm not sure how long it is going to take. I'm not sure how long it is going to take, but I'm not sure how long it is going to take.", "reference": "To me, this is sort of weird to have a completely separate page for this. Can we extract the different stuff (github, videos, downloads) presentation from the top of `app/views/purchases/show.html.erb` and reuse it on this page. I worry that we'll change things with fulfillment or copy and have to change it in multiple places." }, { "prediction": "Please remove this empty line.", "reference": "Please revert the lines above. Not touching unrelated code keeps the git history clean." }, { "prediction": "I don't think this file is needed.", "reference": "`short_version` and `version_info`" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "This is supposed to be `status`. Why did you change this?" }, { "prediction": "I don't think you need to update this file.", "reference": "I will change all of these at some point next week." }, { "prediction": "I don't think this is the right way to do this, but I think it would be better to throw a `NotSupportedException` if TargetAssemblies is null.", "reference": "I made this change because, while trying to debug, in Visual Studio, the `IntegrationSignatureTests`, this property getter was hit and interfered with my ability to complete the debugging." }, { "prediction": "I'm not sure this is the correct status.", "reference": "nit: `\"Unexpected error while calculating: unable to convert %T to %T: %v\"`" }, { "prediction": "I'm not sure if we should add `@JsonCreator` annotation here.", "reference": "I'd actually recommend not putting this in the `SampleConfig`, it's intended more for properties that are inherent of the discovery format. Add a method `getSampleAppName(String apiTypeName)` to `SampleNamer` and override it in the language specific `SampleNamer`s if needed. Then assign it in the transformer." }, { "prediction": "I think this should be `sort-array-to-keyed-object-map` instead of `convert-array-to-keyed-object-map`", "reference": "Do we need to export these new functions? I thought the plan going forward was to keep util imports separated to make circular imports less likely and possibly do better chunk splitting. Since only new code references these files, we can scope the import to the specific files." }, { "prediction": "Missing a space between the `require` and the `.rb` file.", "reference": "Rails will autorequire `acts_as_editable` once it encounters the constant `ActsAsEditable`. Thus if we move `ActiveRecord::Base.send :include, ActsAsEditable` from _acts_as_editable.rb_ to this file, the require line will not be needed anymore. Instead of requiring the file ourselves, we will let Rails do it for us. This fix will also remove the need to explicitly require `acts_as_editable` in _mock_active_record_base.rb_." }, { "prediction": "I don't think we should add this to the `GrpcStreamingDetailView` as well.", "reference": "I think we should name this `grpcMethodName` or similar. That is what this refers to, right? The fact that it is upper camel is an implementation." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "What if.. appears, but not as the first character, eg \"errors/../../../../../../../../../../../\"?" }, { "prediction": "Line is too long. [81/80]", "reference": "Thanks, this should make things a bit easier for people who pick up the codebase but aren't a `curation center`" }, { "prediction": "I don't think we should deprecate this.", "reference": "why not removing it?" }, { "prediction": "I don't think we should change this flag.", "reference": "same nit here: maybe word as - \"disables validation of the temporal cluster's server certificate\"" }, { "prediction": "nit: `show tables` -> `show tables`", "reference": "Nit: other statements use all caps for SQL reserved words. Should this be `SHOW TABLES`?" }, { "prediction": "I'm not sure if this is the right thing to do here.", "reference": "Do we need this? isLuaIdentifier() is used not only in extract_next_token() but also in extract_prev_toke(). I wonder whether the change for isLuaIdentifier() has an impact on extract_prev_toke() or not. If you are not sure, keep isLuaIdentifier() as is. If you are sure, could you write your conviction to the commit log." }, { "prediction": "I'm not sure this is the right fix. The default MTU on Azure is 1500, but the underlying network stack will fragment packets at 1400 bytes.", "reference": "This line should actually be: `if c.KubernetesProvider == config.ProviderAKS && c.Wireguard.EncryptHostTraffic {` because we only need to tweak the MTU like this on AKS." }, { "prediction": "This should be `service` or `service`.", "reference": "Do we need to change this flag as well?" }, { "prediction": "I think this should be `exports.source ='+ JSON.stringify(source) + ';';`", "reference": "Including the source twice here makes the filesize jump to 432kb. Is there any way to minimize repeating it?" }, { "prediction": "I'm not sure this is the right thing to do here. The `switchTo()` method is supposed to switch to the window, not the handle.", "reference": "This should only be sent if the driver is speaking to a W3C conformant remote, so we need an if-condition check like we have in the Python bindings." }, { "prediction": "I'm not sure this is critical. It's critical that the order of plan vars is not changed, as Puppet will deserialize the variables in the order they appear. Variables may contain local references to variables that appear earlier in a plan. If the order of vars is not changed, Puppet will be unable to deserialize the data and raise an error.", "reference": "Only one line of code? What a simple issue!" }, { "prediction": "I'm not sure about this change, but I think it's better to keep the default incoming rate limiter.", "reference": "Conceptual question: why do history and matching need throttler at all? Shouldn't throttling to be handled on FE only?" }, { "prediction": "I don't think this is the right place for this function. It's only used in the internal network policy controller, not in the internal network policy controller.", "reference": "Would this be possible: `addCNP` has already processed the CNP to an internalNP, just hasn't added this internalNP to the `internalNetworkPolicyStore`. In this case, `reprocessCNP` will skip processing this CNP and `addCNP` will just add the \"old\" internalNP to `internalNetworkPolicyStore`." }, { "prediction": "Move this to an NCR specific template?", "reference": "Minor: you can access `current_user` in here directly - don't need to pass it in. Unless you prefer passing it explicitly?" }, { "prediction": "Use && instead of.to_h.
Line is too long. [84/80]", "reference": "What is the purpose of `&` on this line?" }, { "prediction": "I'm not sure if we want to make this a regular expression, but I'm not sure if it's worth the effort to make it a regular expression.", "reference": "See above, the `isValidWebDataStreamID` implementation from before is actually correct. What we need here instead is a new `isValidMeasurementID` function." }, { "prediction": "I think this should be `c.Debugf(\"Error reading remote leafnode's INFO: %s\", err)`", "reference": "Should be an error... it is important for the admin of the server attempting to create the leafnode connection to see the error asap." }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to check if `obj.selectionContainer.getSelectedItemsCount(2)` is not None, and if it is, then ignore the selected state. That way, we don't have to check if `obj.selectionContainer.getSelectedItemsCount(2)` is None, and we don't have to check if `obj.selectionContainer.getSelectedItemsCount(2)` is not None, and we don't have to check if `obj.selectionContainer.getSelectedItemsCount(2)` is None.", "reference": "Could you split these conditions up over multiple lines please." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "I think we can just change this to `Split` instead of `SplitN`. I don't think we need to limit the number of parts in the tag." }, { "prediction": "Why are we using `range` instead of `range` here?", "reference": "So this is actually a mistake that I introduced without realizing it, and have known would need to be fixed when we get here. The format of the ports directive is \"host:container\". We only want the host port to change, not the internal container ports. The ports variable probably needs to be a map which maps external -> internal ports." }, { "prediction": "I don't think this is the right fix. The `shardInfo` is nil when `s.state = contextStateStopping` and `s.closeCallback(s)` is called when `s.state = contextStateStopped`.", "reference": "An alternate approach would be to always initialize shardInfo with a dummy (non-nil) value, which could protect against other uses before it's initialized (I couldn't find any though). But I can change it to do it that way instead." }, { "prediction": "I'm not sure this is the right type for this. It's a struct, not a struct.", "reference": "Maybe we can just put the entire `DirEntry` in here? I can imagine it might be useful for debugging to get the block ID/refnonce, encrypted size, key gen, data version, etc. What do you think?" }, { "prediction": "Shouldn't this be `_NET_WM_STATE_MAXIMIZED`?", "reference": "For the commit message: The paragraphs seem to be out of order? The `Would not work because` refers to the stuff before, but there is a `This may seem pointless, but` in-between." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's the right place to put it.", "reference": "Why did you remove these packages from the prelude, will your new functions not work without this change?" }, { "prediction": "I'm not sure this is the right place to put this. It seems like the `kvKeys` parameter should be passed to the `multiGet` function.", "reference": "We'd better reserve enough space before using kvKeys to avoid extra malloc." }, { "prediction": "I think we should rename this function to `GetNodeHostnameFromLabels` since it's not used anywhere else.", "reference": "would it make sense to return empty or error if label doesn't exists?" }, { "prediction": "I'm not sure if this is a good idea, but I think it's better to use `numAttempts` instead of `maxAttempts`.", "reference": "Don't penalize everyone with 250ms delay b/c some machines have problems." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to use `String()` or `String()`.", "reference": "Probably want a space after the second %s?" }, { "prediction": "I'm not sure if this is the right error to return here. I think we should return `archiver.ErrHistoryNotExist` instead of `archiver.ErrHistoryNotExist`.", "reference": "This seems like an internal error still?" }, { "prediction": "Line is too long. [157/80]", "reference": "Line is too long. [94/80]" }, { "prediction": "I'm not sure this is the right type for this interface. I think it should be `ClusterIdentityProvider` or `ClusterIdentity` since it's only used by the Antrea Controller.", "reference": "out of curiosity, why creating another struct to wrap it?" }, { "prediction": "I'm not sure if this is the right place to format strings.", "reference": "discipline vs. Discipline? Not sure of which is correct. Also not sure if there is already an existing string const." }, { "prediction": "I think this should be `setAssignedProtoFile(overrideConfig.getAssignedProtoFile())` instead of `setAssignedProtoFile(overrideConfig.getAssignedProtoFile())`", "reference": "I believe this will break common resources, as they are defined in a common file, but must generate classes in service-specific namespace, so using protoFile to determine package of the generated class would not work, because common_resources namespace does not match service namespace." }, { "prediction": "I'm not sure if this should be set to `\"\"` or `\"\"`?", "reference": "How about `SPARK_DEFAULT_SERIES_NAME`?" }, { "prediction": "I don't think it's a good idea to name this `commit.status-checks.num-retries`?", "reference": "The other properties are in `commit.status-check`, not `commit.status-checks`. Could you remove the extra `s`?" }, { "prediction": "I'm not sure if this is the right place to skip the unified topology.", "reference": "Side note: I'd love to see more of these fields exposed on configuration." }, { "prediction": "Line is too long. [82/80]", "reference": "In the case of accounts generated by API clients, what name gets put for the `inviter_name` or `invited_by` record?" }, { "prediction": "I'm not sure if we need to implement getStartBlock here.", "reference": "I think this class is only relevant for updating the QbftConfigOptions based on the transitions config, so probably not." }, { "prediction": "I think this should be `TracerTimeout` instead of `ExecutionError`.", "reference": "what is the number thrown by Geth?" }, { "prediction": "I think this should be `?` instead of `?`.", "reference": "This would still crash on malformed database connection string like \"test\"" }, { "prediction": "I'm not sure if this is the right name for this function. It's a function that returns a `PluginNameFromHostServiceContext` and a `WithPluginName` function that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHostServiceContext` that returns a `PluginNameFromHost", "reference": "it is not an interface, maybe we can move to another package?" }, { "prediction": "I'm not sure why we need to pass `tableMeta` and `selection` here.", "reference": "Same here. Can we use `this.instance.getSettings()` to get `tableMeta`?" }, { "prediction": "I'm not sure if this is the right place for this function. It seems like it should be called `setCpu` or `setCpu` instead of `isCpuSet`?", "reference": "Not sure whether this validation is useful." }, { "prediction": "I'm not sure about this, but I think it would be better to use `utils.set_clipboard(s)` instead of `utils.set_clipboard(s)`.", "reference": "Various things to note here: - Why would `question` ever be falsey (or `None`) here, i.e. why the `if question`? - Why would `question` ever not have that attribute? You set it in `Question.__init__`, so that check does nothing at all (and generally, `hasattr()` should be avoided if possible). - Why do you want to yank `None` (what does that do?) rather than e.g. show an error if there's nothing to yank?" }, { "prediction": "I'm not sure if this is a debug print or debug print, but if it's a debug print, it should be a debug print.", "reference": "If this is needed for testing, you should use `pytest --log-cli-level=INFO` instead." }, { "prediction": "I think we should change the API version to `v1.json`", "reference": "We should drop ipify in all places i guess" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's a good idea to change the default value of `FilterTimeoutSmallLambdas` to `FilterTimeoutPeriod0SmallLambdas` or `FilterTimeoutPeriod0` to be consistent with the rest of the API.", "reference": "Add explanations around these variables - what do they mean, how they should be configured, etc." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "One thing tho - I would really appreciate any advice on where to move this to, so that it's called on initialisation of the website." }, { "prediction": "This should be `@ConfigItem(position = 21, keyName = \"displayGatheredResources\", name = \"Show raw resources gathered\", description = \"Displays how much of each resource you have gathered.\", titleSection = \"resources\" )", "reference": "To much tabs here (1 tab)" }, { "prediction": "nit: `LIMIT?` should be `LIMIT?`", "reference": "This is not maintaining retention time for logs as we are deleting only 1000 entries and we might end up with huge number of rows spanning over multiple months over a period of time if the cluster generates more rows as we are restricting ourselves to delete only 24k rows/day. Like I pointed out earlier a better would be to probably run this clean up every hour with some batch_size in a loop while there are records to be deleted(i.e older than 12 weeks) and committing each batch." }, { "prediction": "Why not use `s.now.Add(1000 * time.Second)`?", "reference": "I don't like this helper func :-). Yeah, definitely don't like." }, { "prediction": "I'm not sure if this is the right place to remove the `.match()` call.", "reference": "Same here. This should remain unchanged. Please, add it back." }, { "prediction": "I think this should be `options || {};`.", "reference": "@kvwalker should this method have `ignoreUndefined` supported as an `option`?" }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "we dont use a `sugaredlogger` anywhere else in clutch, just curious why were using it here?" }, { "prediction": "I'm not sure why this was removed.", "reference": "Not evident from looking at this diff but the queue is already being cleared four lines below." }, { "prediction": "I don't think we need to check for a singleton group here.", "reference": "Why is this a 'transaction' and not in the block header?" }, { "prediction": "I don't think this is needed.", "reference": "This doesn't fit the abstraction level. Should we have a property bag for extra stuff?" }, { "prediction": "I think this should be `files += [\"src/core/**/*.cc\", \"src/core/**/*.h\", \"ci/__init__.py\", \"ci/gendoc.py\"]`", "reference": "Looks like it is pretty easy to miss it when adding new files under `ci`. Hopefully, this doesn't happen too often." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "do we really need the `Ready` call if startup fails midway?" }, { "prediction": "Why not just use `int32_t partitions = 6;`?", "reference": "You can avoid changing the code if there are parameter defaults. right?" }, { "prediction": "I think this should be `textContent.replace('A', 'AB')`", "reference": "I wonder why the newline disappeared here? I guess we'll merge and see how SauceLabs fares across the supported browsers." }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "I know this is legal, but I prefer we put brackets on our calls" }, { "prediction": "I don't think we need to change this file.", "reference": "AWS Identity and Access Management (IAM)" }, { "prediction": "I think this should be `InvalidElementStateException` instead of `InvalidElementStateException`.", "reference": "We keep who wrote the code anonymous." }, { "prediction": "I don't think we need to check for `undefined` here.", "reference": "Two things to make the code more error-proof and simplify it: 1. To be safe, this should be: `! isUndefined( decimal ) &&! isUndefined( decimal.value )` 2. The other clause that you changed below can be combined with that since `decimal` isn't used anywhere else, and so there's no point to re-check whether it's not undefined. In other words, this should become: `! isUndefined( decimal ) &&! isUndefined( decimal.value ) && 1000 > number`, and then you can remove the `decimal = decimal.value` assignment and replace it with line 146 (assignment of `readableNumber`)." }, { "prediction": "I'm not sure this is the right thing to do here. I think it would be better to have a `Dispatcher` interface that returns the transports that used by this outbound, so they can be collected for lifecycle management, typically by a Dispatcher.", "reference": "Wouldn't composite outbounds compose the transport, such that it would still be represented as a single transport?" }, { "prediction": "Why is this needed?", "reference": "nit: there is no need for a new line here, usually we tend to put an object creation and its deferred deletion next to each other. It helps not forgetting about the cleanup." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `RequestPostInitializeListener` that extends `AbstractRequestPostInitializeListener` and overrides `AbstractRequestPostInitializeListener` with the new `RequestPostInitializeListener`.", "reference": "Feel free to use the full notation with my email address: `Maxime Steinhausser ` :smile:" }, { "prediction": "Why is this removed?", "reference": "This was unused across the codebase" }, { "prediction": "I'm not sure if this is the right place to log this error.", "reference": "Should we put in which account we were trying to look up?" }, { "prediction": "This should be `ResourceTypeClass` instead of `IAM_POLICY` and `GCS_POLICY`.", "reference": "either SUPPORTED_TYPECLASS or supported_typeclass. Camelcase only for class names." }, { "prediction": "I'm not sure if this should be a pinned column.", "reference": "This is not going to work. You need to add a migration to the database." }, { "prediction": "I'm not sure this is the right thing to do. It's not clear what it does, but it's not clear what it does.", "reference": "Should these methods be renamed in this PR?" }, { "prediction": "I'm not sure this is the right place to log this. I think it should be `LOGGER.Log.MetricInstrumentIgnored(metricStreamName, instrument.Meter.Name, \"Metric name is invalid.\", \"The name must comply with the OpenTelemetry specification.\");`", "reference": "we need to include the `metricStreamName` which is invalid, so users know whats causing the issue." }, { "prediction": "I don't think this is the right place to do this.", "reference": "Please run Platform tests `DiaSessionTests`." }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if this is the right place to put this in.", "reference": "This is debug-build-only: we want a release-build notice. SYSLOG takes the name w/o the MSG and no _STRING. Args are via events.mc specifiers." }, { "prediction": "I don't think we need to check for `options.directConnection` here.", "reference": "is it possible to have both forms here? I was hoping we wouldn't be introducing more cases where we had to check the upper and lowercase version of URI options." }, { "prediction": "I'm not sure if this is the right name for this test.", "reference": "Does the name suffix hardcode something? Not clear how changing the name fixes this." }, { "prediction": "I'm not sure if this is a good name for this MBean. I think it should be something like `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows` or `isQueueProcessorActiveOrUndispatchedFlows`", "reference": "Is undispatched same as queued? getQueuedFlows?" }, { "prediction": "I don't think we should change this.", "reference": "See above, same for all similar cases below." }, { "prediction": "I'm not sure this is the right place to put this...", "reference": "Why is this done twice?" }, { "prediction": "I'm not sure if this is the right way to do it, but I don't think this is the right way to do it. I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "This sync can ensure that the condition of the child node is consistent with the parent node, but I still don't understand when the child will be overwritten, and this behavior is not what we expected?" }, { "prediction": "I think this should be `DEBUG_TEST_FAILURE=false`", "reference": "This was renamed to avoid any confusion with the more general case of debugging via `plz debug`" }, { "prediction": "I don't think we need Math.min() here.", "reference": "String valStr = (String)val; valStr.substring(0, Math.min(valStr.length(), prefixLength)) Make it clean." }, { "prediction": "I think we should have a test for this.", "reference": "Sorry, this still makes no sense.. the value of any union or enum is simply a name integer constant, it has nothing to do with the `BASE_TYPE_` enum. This value should be `0`. In particular: `Every union has the NONE field, which always has value 0`." }, { "prediction": "I think this method should be renamed to `getAzkabanURL()`.", "reference": "Looks like getAzkabanURL() is added after concrete Alerter (Emailer)::getAzkabanURL(), so that Override annotation is needed." }, { "prediction": "I think this should be `mask = np.array(mask, dtype=bool)` instead of `mask = np.array(mask, dtype=bool)`", "reference": "The above 3 lines can be written as: `mask = segms[i].astype(bool)`" }, { "prediction": "I don't think we need this anymore.", "reference": "File is not `gofmt`-ed with `-s` (from `gofmt`)" }, { "prediction": "I think this should be `boost::format` instead of `\"Node started with peering port %d.\" % network.port`", "reference": "Thought it's good to have this logged down so that we can check the used value in the logs." }, { "prediction": "I'm not sure if we want to make this optional, or if we want to make it optional in the future, we should make it optional in the `aws_machine_status_spec.go` file.", "reference": "I don't think you can call this optional unless it's a pointer - remove this?" }, { "prediction": "Please use `Toast.makeText(getActivity(), R.string.txtNoData, Toast.LENGTH_LONG).show();`", "reference": "@naofum please use `isEmpty`method instead" }, { "prediction": "I'm not sure if this is the right thing to do here, but it seems to me that `maybe_handle` and `nullable_handle` are the same thing, so I'm not sure if this is the right thing to do.", "reference": "i think this is unrelated and needs to be reverted. need to discuss at sync." }, { "prediction": "nit: can you use `org.apache.tuweni.bytes.Bytes` instead of `org.apache.tuweni.bytes.Bytes`?", "reference": "Are we eventually moving those type interfaces from plugin project to datatype project? If not, then we'd have a dependency from core onto plugins, which seems a little counter-intuitive to me." }, { "prediction": "I think this should be `await this.model(model).syncIndexes()`.", "reference": "Love how we can finally use async/await in the codebase." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Very minor: this line could be moved to a more narrow scope, inside `if (!representative.decode_account (representative_text))` Other than that, LGTM" }, { "prediction": "I don't think we need this anymore.", "reference": "when is this consumed? I'm probably missing it but I can't find it right now" }, { "prediction": "I think this should be `if (grpExpr && grpExpr.isRollup())` instead of `grpExpr->generateCacheKey(cwa)`", "reference": "I think we also need to add the rollupGroupExprList() to the cache key. If we rebuild the list above from a ValueIdSet on line 418 above, it is probably going to be in the same order, regardless whether it was ROLLUP(a,b) or ROLLUP(b,a)." }, { "prediction": "Please remove unused imports.", "reference": "can use `getParamTypeName` instead" }, { "prediction": "I think this should be `$this->request->query->get('property')` instead of `$this->request->query->get('newValue')`", "reference": "Why send the parameters? They're accessible directly from `$this->request` so there's no need to inject them in the method" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Tiny nit: I would prefer `not selected_file` or `len(selected_file) == 0`, as if choose_file starts returning, for example, tuples instead of lists, this won't break." }, { "prediction": "I don't think this is the right error message. It should be: \"Failed to join etcd cluster due to duplicate node names, please use unique node name for the server\"", "reference": "How will this code behave with hostnames that contain hyphens?" }, { "prediction": "I'm not sure we should have form like C07481 but we'll accept anything for now, having no proper parser.", "reference": "I think this is redundant since \"NullForEmpty\" already calls \"Trim()\"." }, { "prediction": "I'm not sure this is the right ID for the group of backups. I think it should be `GroupName` or `GroupCloudBackupID`.", "reference": "Change this to IDs too?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "private static final, and it should be located in raidsoverlay, as it's not needed in the plugin. also the name could be a bit better, DC_SCOUT_RAIDS or similiar." }, { "prediction": "I'm not sure about this change, but I think it's better to use `%127s` instead of `%127s` for consistency.", "reference": "attr_value is 128 bytes?" }, { "prediction": "I think it would be better to check if `self.method` is defined before calling `has_variable_pattern`.", "reference": "if it's unpredictable - why uppercase it at all?" }, { "prediction": "I think this should be `fmt.Println(\"beforeinstallkubeedge\")` instead of `fmt.Println(\"beforeinstallkubeedge\")`", "reference": "Please remove all these debug prints. It doesn't look good." }, { "prediction": "I'm not sure this is the right place for this function. It's not used anywhere in the code.", "reference": "Consumers of this interface should not be required to provide `sampleHeight`. This should be an expected consensus parameter." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "I don't believe this is the right fix. If startTime comes after closeTime, then it means some other event triggered invocation of this code path like workflow timeout. In this case we should still try to fire the cron on previous value so we should just return start the delta between startTime and closeTime immediately." }, { "prediction": "I'm not sure if we should add this to the `CloudBackupGenericRequest` struct, since it's only used in one place.", "reference": "Not sure if we need tag here, it is an implementation detail in portworx that isn't exposed in openstorage" }, { "prediction": "I think this should be `@param bool $extended Whether to return a keyed array with the following keys: heading: the actual subject heading chunks, type: heading type, source: source vocabulary`", "reference": "I wonder if it would be cleaner to refactor all of this similar to the SolrMarc driver, so we have a property with Summon field names associated with types, and we iterate through it in a loop... that way we don't have to repeat the loop code four times with different variable names." }, { "prediction": "I think we should use `SolrClientCache.getSolrClientCache()` instead of `new SolrClientCache().getCoreContainer().getSolrClientCache()`.", "reference": "Need the `solrClientCache.close();` further down in the method be removed since a shared cache is now used?" }, { "prediction": "I'm not sure if we should add this to the `ClusterMetadataRow` struct. I'm not sure if we should add it to the `ClusterMetadataRow` struct.", "reference": "according to the PR (schema changes?) these 2 field should be removed?" }, { "prediction": "Why are we removing this?", "reference": "Panic here if `exp.Target.StressChaos.CintainerName` is nil." }, { "prediction": "I'm not sure if this is the right way to do it, but I think it would be better to have a `Comparator` interface that returns a `DocIdSetIterator` instead of a `DocIdSetIterator`.", "reference": "This allows for some hacks like returning an iterator that matches more docs than the scorer. I liked the previous approach that returned an iterator better." }, { "prediction": "I think this should be `LOG.debug(\"Opening [{}] for read\", file);`", "reference": "Aren't there already logs for this from the underlying file system implementation?" }, { "prediction": "Why did you change this?", "reference": "It would be good to have a test in here that demonstrates the new munge functionality; I can help set that up if you're not sure how." }, { "prediction": "I think it would be better to have a default value of `None` and have it default to `0`.", "reference": "`retrials` isn't the word you intend. I think you mean `retries` and to that end, can the var name just be `max_retries`?" }, { "prediction": "This should be `attributeProductMetaTitle` instead of `attributeProductMetaTitle`", "reference": "Value in product should contain 255 characters or less." }, { "prediction": "why did you change this?", "reference": "line is 133 characters (from `lll`)" }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like we should be able to just pass in `custom_options_file` to `file_options` without having to pass in `personal_options` to `file_options`.", "reference": "since we're calling the file.rspec-local, I think we should rename local_options to project_options and use local_options for.rspec-local - WDYT?" }, { "prediction": "I'm not sure if this is the right approach, but I'm not sure if this is the right way to do this.", "reference": "Will we want to refactor this when we drop rsolr 1.x support?" }, { "prediction": "I'm not sure if `nodeIP` should be passed in as an argument to `getNodeNamedCrt`. I think it should be passed in as an argument to `getNodeNamedCrt` and not as an argument to `getNodeNamedCrt`.", "reference": "should this really be multiple IPs?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "Hmm, is that partial used in multiple places? Maybe we can just move that file in here." }, { "prediction": "I don't think this file is generated by mockgen. Can you remove it?", "reference": "Should be 2014-2016" }, { "prediction": "I think this should be `value.StartsWith(quote) && value.EndsWith(quote)` instead of `value.StartsWith(quote) && value.EndsWith(quote)`", "reference": "Looks like my fault for sure in trying to handle international inputs regardless of locale. I think the correct fix is actually to get rid of TrySplitColumns and use ParseDsvFields instead. It is what gets used in the end, and it already has logic for dealing with quoted fields." }, { "prediction": "I'm not sure this is the right place to close cursors[0].", "reference": "similarly here, are the these cursors not being closed when the client is closed?" }, { "prediction": "I'm not sure if this is the right place to put this, but it seems to me that the `Policy` type should be a `map[string]interface{}` instead of a `map[string]interface{}`?", "reference": "Or maybe `func(args...string) Policy` to make it dynamic in case of any future policy that may require more than one args." }, { "prediction": "I'm not sure if this is the right place to call this function. It seems like it would be better to call `MakeFBOsForExistingJournals()` in `serviceLoggedIn()` instead of `MakeFBOsForExistingJournals()`", "reference": "Should this happen even if the above failed?" }, { "prediction": "I don't think we need to change the copyright year.", "reference": "Please dont change this." }, { "prediction": "`confirmed: %1$b` should be `confirmed: %1$b`", "reference": "There is a strange $b that looks wrong." }, { "prediction": "I'm not sure this is correct. The `containerContainsText` variable is only used in the case of `role==controlTypes.ROLE_LIST` and `role==controlTypes.STATE_READONLY` and `childControlCount` is equal to `childControlCount` in the case of `role==controlTypes.ROLE_LIST` and `childControlCount` is equal to `childControlCount` in the case of `role==controlTypes.ROLE_TABLE` and `tableID=attrs.get(\"table-rowcount\")` in the case of `role==controlTypes.ROLE_LINK` and `tableID=attrs.get(\"table-rowcount\")` in the case of `role==controlTypes.ROLE_TABLE` and `tableID=attrs.get(\"table-rowcount\")` in the case of `role==controlTypes.ROLE_TABLE` and `tableID=attrs.get(\"table-rowcount\")` in the case of `role==controlTypes.ROLE_LINK` and `tableID=attrs.get(\"table-rowcount\")` in the case of `role==controlTypes.ROLE_LIST` and `tableID=attrs.get(\"table", "reference": "Is it still important to have `speakEntry` here? It is checked before this value `containerContainsText` is used in the \"General\" section." }, { "prediction": "I'm not sure if this is the right thing to do, but I think it would be better to export the environment variable rather than the environment variable.", "reference": "It is `$JAVA_HOME/bin`, not `$JAVA_HOME`, which should be added." }, { "prediction": "I don't think this is needed. `assert.h` is already included in `stdlib.h`.", "reference": "Should move this to within the `#else` block as it's only used there." }, { "prediction": "I think this should be done in the `getProductListCompomentContext()` instead of in the `tester` class.", "reference": "is this a common rule to wait one extra second after ajax? I'm thinking about moving this extra wait into waitForAjax method." }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to use `$properties['site']` and `$properties['logger']` instead of `$properties['site']` and `$properties['logger']`", "reference": "Maybe you can correct the typo \"if\" too :)" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "I'd prefer a name less chat-specific, since later on we could have other app types that want the same behavior. Maybe `IdentifyAndAllowTrackBreaks`?" }, { "prediction": "I'm not sure if this is the right error message. I'm not sure if this is the right error message.", "reference": "I think I was involved in writing that caster, but I never fully understood the `import_mpi4py` thing. Why is importing mpi4py still necessary at that point? I would think if the user is passing a communicator from python code, they must already have imported mpi4py themselves, or does that not propagate through into the wrapping layer?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This seems like a more interesting change. Maybe we should re-name the PR" }, { "prediction": "I don't think we need to add this to the `IConnectionLifetimeFeature` as well.", "reference": "Nit: implement the methods for these interfaces explicitly in this file for consistency. It can be passthrough." }, { "prediction": "I think this should be `.getCallName(\"\")` instead of `.getCallName(\"\")`", "reference": "Not directly related to your PR, but I think here we should create a Type enum (MAP, ARRAY, PRIMITIVE) instead of having 3 flags." }, { "prediction": "I think this should be `NABoolean` instead of `NABoolean`", "reference": "Do you want this to be a stack variable? The work method might return at any time (example: when the parent queue fills up) and then get called again, which would cause this variable to become false again. I'm wondering if this variable should be a member instead?" }, { "prediction": "I think this should be `reinterpret_cast(&spaceId), sizeof(spaceId)`.", "reference": "You could reserve a const space to save the extra computation." }, { "prediction": "I don't think we need the `..//./Path.cs` test here.", "reference": "Did you consider adding rooted paths like `C:\\ProgramData` and paths with flipped separators?" }, { "prediction": "I think this should be `defer udpConn.Close()` instead of `defer dnsConn.Close()`", "reference": "does this line cause a panic if it is above the if condition?" }, { "prediction": "I'm not sure if this is a good place to put this enum. I'm not sure if it's a good place to put it.", "reference": "Maybe `LibraryDetailsPanelType` would be clearer." }, { "prediction": "I'm not sure why this was removed.", "reference": "minor nit - add \"persist-filesystem\" and \"persist-directory\" into commit message, as its something people may search on (maybe applies to a few other commit messages)" }, { "prediction": "I'm not sure why this is needed, but it looks like it's only used in `CheckStageMaskQueueCompatibility` and not in `CheckStageMaskQueueCompatibility`.", "reference": "I verified offline with @jeremyg-lunarg this should be removed." }, { "prediction": "I think this should be `fmt.Printf(\"incldued_wf name:\", i.Workflow.Name, \" timeout:\", i.Workflow.DefaultTimeout)`", "reference": "This should be removed? If not, typo in incldued_wf" }, { "prediction": "I think this should be `buttonStyles || variant({ key: 'buttons' })`", "reference": "Sorry for the delay on this! It looks like Circle CI isn't running tests on some of the PRs, but this doesn't look like it would work I might be missing something, but are the tests all passing locally?" }, { "prediction": "I think this should be `\"try_policy\"` instead of `\"try_policy\"`", "reference": "Do you think the godoc should mention that all delimiters will be suffixed with `/`?" }, { "prediction": "Please use `isCurrentSessionPrivate()` instead of `isCurrentSessionPrivate()`", "reference": "what if I want to load my own, a different, data URI in Private Browsing mode? I do this often on desktop (e.g., `data:text/html,×`). admittedly, I wouldn't expect this to be done by a non-developer, but this will certainly cause a minor bug." }, { "prediction": "I think this should be a `AtomicInteger` instead of `AtomicInteger`.", "reference": "I remember the sequence number 0 is kept for the data files for iceberg v1, so in theory the sequence number from delete files should start from 1. So setting it to 0 as the default value sounds correct." }, { "prediction": "I think this should be `cast(replace(iv.version, '.', '') as unsigned integer)`", "reference": "For all these MYSQL queries unsigned is required. I have tested again and without unsigned these queries are failing." }, { "prediction": "I think this should be `const MAX_HISTORY = 200`", "reference": "Are there tests for this? What happens when you get to limit?" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to do this in a separate PR, so that we don't have to do this in a separate PR.", "reference": "Whole thing could be collapsed to `data['config']['transport'] ||= 'local' if target.name == 'localhost'`." }, { "prediction": "I think this should be `bindServiceAndGetSignKeyId(data);`", "reference": "maybe throw in `&& mServiceConnection.isBound()`, there are cases where the connection might die" }, { "prediction": "I think this should be `true` instead of `false`.", "reference": "Can we add Istanbul with this first EIP please? (or as a separate issue)" }, { "prediction": "I don't think this is the right place to do this.", "reference": "I don't understand this change" }, { "prediction": "I don't think this is a valid public key.", "reference": "Let's allow translators for this string to be translated: `self.show_warning(_('Invalid Public key'))`" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this. I'm not sure it's the right place to do this.", "reference": "This needs to work with `role=form` too." }, { "prediction": "I think this should be `localConnection == Blockly.OUTPUT_VALUE` instead of `localConnection.type == Blockly.OUTPUT_VALUE`.", "reference": "This should be before the if on line 1028, which should turn into an else if" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to have a `ACNPRuleAppliedToSpec` struct. I'm not sure if it's a good idea to have a `RuleAppliedToSpec` struct, but if it's a good idea to have a `RuleAppliedToSpec` struct, then I think it's better to have a `RuleAppliedToSpec` struct that encapsulates the `RuleAppliedToSpec` struct.", "reference": "Not really introduced by this PR, but I don't recall why these have to be pointers, while `PodSelector` / `NSSelector` do not. Do you know the reason?" }, { "prediction": "I'm not sure this is correct. The minRTT is a very large value, and the minRTT can be arbitrarily large. I'm not sure if this is correct.", "reference": "Is there a reason why we are ignoring the ackDelay if it would result in a value smaller than the min? Why not `max(sample - ackDelay, minRTT)`?" }, { "prediction": "I don't think we need to change anything here.", "reference": "Here's an example of how the files in the `NotYetGenerated` directory drifted out of sync from the generated files. When we made the equality comparers internal, we neglected to fix this one." }, { "prediction": "I'm not sure if this is the right place to put this method, but I think it would be better to put this method in `GuidancePolicy` rather than in `ApplicationPolicy`.", "reference": "nice. we should do this elsewhere too. We have a lot of repeated stuff in the policies" }, { "prediction": "I'm not sure if this is the right place to put this test.", "reference": "Small formatting thing, but can you remove the space before the semicolon?" }, { "prediction": "I'm not sure this is the right fix. The `int` and `long` variables should be declared as `static const int InnerLoopCount = 100;` and `static const long InnerLoopCount = 100;` and `static const long InnerLoopCount = 100;` and `static const long InnerLoopCount = 100;` and `static const int InnerLoopCount = 100;` and `static const long InnerLoopCount = 100;` and `static const long InnerLoopCount = 100;` and `static const long InnerLoopCount = 100;` and `static const int InnerLoopCount = 100;` and `static const long InnerLoopCount = 100;` and `static const long InnerLoopCount = 100;`", "reference": "Not new, but nit: _writeLeng*th*." }, { "prediction": "I'm not sure if this is the right test. I'm not sure if this is the right test.", "reference": "Our habit is to go ahead and put a description line (or more) in front of every function, not just non-test or exported functions." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Remove this file from the PR" }, { "prediction": "I'm not sure this is the right place to put this. The variable name should always be the same as the workspace name.", "reference": "I think that for cloud variables, the default value in the prompt should be the variable name without the cloud prefix; this is slightly different from the scratch 2.0 behavior, but I think would ultimately lead to less confusion. Proposing code changes below:" }, { "prediction": "I'm not sure if this is the right place to do this. The libinput_device_config_tap_get_finger_count() function is supposed to return the number of supported finger count, so it's probably better to call libinput_device_config_tap_get_finger_count(libinput_dev) before calling libinput_device_config_tap_init() to avoid calling libinput_device_config_tap_get_finger_count() twice.", "reference": "I think I would rather fish this interface through than use it as the basis for heuristics." }, { "prediction": "I think this should be `float QValueCutoff = Properties.Settings.Default.DetectionsQValueCutoff;`", "reference": "Probably not worth making this line-ending change, since it is the only change to this file." }, { "prediction": "I think it's better to use DR_HOST_NOT_TARGET instead of \"OPSZ_CACHE_LINE!= 64\"", "reference": "Is this the correct place for this assert? Does this routine rely on it being 64, or was this only for testing?" }, { "prediction": "I don't think pb is needed anymore.", "reference": "No pb please" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to have a separate migration for users and changesets.", "reference": "We need to add indexes here on both `subscriber_id` and `changeset_id` or things will quickly collapse as we build up subscribers ;-) What I would suggest is a unique index on `[:subscriber_id, :changeset_id]` which will also make duplicate entries impossible, and an ordinary index on `[:changeset_id]` for finding the subscribers to a changeset." }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if this is the right place to put it, but I'm not sure if this is the right place to put it.", "reference": "use the context versions of everything, e.g. `PostMessageContext` and thread it through the functions. will save you a bunch of refactoring trouble later on." }, { "prediction": "I'm not sure about this change, but I think it's better to leave it as is.", "reference": "\"not to be used elsewhere other than\"" }, { "prediction": "I think this should be done in `appenders.py` instead of in `appenders.py`.", "reference": "Thanks for the contribution, @coolderli! I also think the newPosDeleteWriter need the properties setting..." }, { "prediction": "I don't think we need an index here, we can just do `user_id, team_id, plan_type`.", "reference": "These additions seem unrelated to this change?" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a separate table property for this, e.g. `hive.engine.hive.enabled` and `iceberg.engine.hive.enabled` and then have `hive.engine.hive.enabled` and `iceberg.engine.hive.enabled` set to `true` when `hive.engine.hive.enabled` is set to `false` when `hive.engine.hive.enabled` is set to `true` when `hive.engine.hive.enabled` is set to `false` when `hive.engine.hive.enabled` is set to `true` when `hive.engine.hive.enabled` is set to `false` when `hive.engine.hive.enabled` is set to `true` when `hive.engine.hive.enabled` is set to `false` when `hive.engine.hive.enabled` is set to `true` when `hive.engine.hive.enabled` is set to `false` when `hive.engine.hive.enabled` is set to `true` when `hive.engine.hive.enabled` is set to `false`", "reference": "Could we move this to a class for Hadoop configuration properties, like `org.apache.iceberg.hadoop.ConfigProperties`?" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it's better to move the `if!manageFlag` check into the `if!manageFlag` block.", "reference": "The related statements should also be deleted." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to put this in a `else` block in the `if policies` section of the `elb_connection.py` so that the `elb_connection.py` doesn't have to do the `elb_connection.py` check.", "reference": "Shouldn't this line be removed?" }, { "prediction": "I don't think this is used anywhere.", "reference": "Just move this into `const.py`. It already has similar stuff. Also, make it uppercase since it's a const." }, { "prediction": "I think this should be `PasscodeMode.Check;` instead of `PasscodeMode.Check;`", "reference": "Issue is that `currentMode = newMode;` is called at the end of the method. Passcode screen will come up, but since the activity thinks current mode is biometric check we don't check passcode when submitted." }, { "prediction": "I think this should be 0.1 instead of 0.2", "reference": "Need change it back?" }, { "prediction": "I'm not sure if this is the right place to put this in, but I'm not sure if it's a good place to put it in.", "reference": "Didn't we delete this file a while back because it isn't used but people think that it's a security vulnerability that it's checked in?" }, { "prediction": "I don't think this is needed.", "reference": "nit: Looks like this can be removed now" }, { "prediction": "I'm not sure why this was removed.", "reference": "Can probably remove the lines above it too (L60-62), since ProvisionDefaultCA() makes sure the map isn't nil." }, { "prediction": "I think this should be `static int handler_registered = 0;` instead of `static int handler_registered = 0;`", "reference": "Do you think it's worth erroring out? It's likely that this is a configuration error that the user might want to know about?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I think the functional test should not change here, this is probably a test in itself :)" }, { "prediction": "I'm not sure this is the right place for this. I'm not sure it's the right place for this.", "reference": "Why this to be a public function?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if `timing` is the right thing to do here, but if it's the right thing to do, I'm fine with it.", "reference": "I think we can remove the timing for export env vars" }, { "prediction": "I don't think we should remove `Run()` and `GetServiceByIP()` from `Provider` interface.", "reference": "wrong import grouping" }, { "prediction": "I don't think this is the right place to use System.arraycopy", "reference": "There is a doubled semicolon ;)" }, { "prediction": "I don't think this is needed.", "reference": "I'm wondering why this isn't . Seems like one would have to copy the md5.h file into the source tree somewhere for this to compile cleanly. Maybe you meant to use angle brackets instead of quotes?" }, { "prediction": "I think this should be `visibility_of_all_elements_located` or `visibility_of_any_elements_located`.", "reference": "shouldn't **call** return a boolean?" }, { "prediction": "I think this should be `if (IsClient()) { CastToClient()->SendSpellBarEnable(spell_id); }` instead of `if (IsClient()) { CastToNPC()->AI_Event_SpellCastFinished(false, static_cast(casting_spell_slot)); }`", "reference": "We don't need to cast to client here. (well, from spell gem not AA etc) We should also make sure the charm is a casted spell before calling SendSpellBarEnable." }, { "prediction": "I think this should be `invocation_created_at`.", "reference": "This is not an `id`. This should either be `invocation_time` or `invocated_at` to be consistent with what we are using elsewhere, and also to better rerflect the column's DateTime type. Also, within the context of this table, there is no idea of what `invocation` is. I know that `scanner` may not be future-proof, but we need to find something more descriptive. Perhaps one possibility is to call this `audit_time`." }, { "prediction": "This function is used to calculate the fee for a transaction that doesn't have a receiver. It is used to calculate the fee for a transaction that doesn't have a receiver.", "reference": "should the 'Receiver' be the clawback address in case of clawback transaction?" }, { "prediction": "I think this should be `/latest/volumes/` instead of `/latest/volumes/`", "reference": "@ashishranjan738 -- Where are these consts used? in which pkg?" }, { "prediction": "I think this should be `Python-API.rst` instead of `Python-API.rst`.", "reference": "The only change I would suggest is moving these lines back below the `templates_path` variable to keep the diffs smaller." }, { "prediction": "This should be `changes.Info = nil`, right?", "reference": "Having it above kept the block info in the cached changes, which could end up confusing things quite a bit." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if `task` and `task_options` are the right thing to do here.", "reference": "If the execute_task returns an `ExecutionResult`, the passing of a block would be unnecessary. Instead, the `ExecutionResult` could be presented to the user in some standardized way (iterating over the result of each node, etc.)." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Not sure why we make a new channel here. If we don't use this channel, how about creating it inside the `Connect`?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "There are two question here: 1. If you only modify lastLogId, but the `iter` is not modified, I really don't know whether we can succeed. 2. We will check the if the term has changed in `replicateLogs` (if rollback really happen, the term must have been updated), so I really doubt whether the problem should be fixed in this way. Or you could describe it in more details." }, { "prediction": "This is a breaking change. It's a breaking change.", "reference": "Hello @jDolba, I have reviewed your PR and I found one problem. `$step->getFormType()` can return `FormTypeInterface`. You cannot use interface as key for an array. Can you find some better way to fix this? Thank you." }, { "prediction": "I don't think we need this variable, it's already defined in `pkg/config/agent.yml`, so we can just use `pkg/config/agent.yml` instead of `pkg/config/agent.yml` and `pkg/config/agent.yml`", "reference": "i was confused by keyword \"inventory\" here. my understanding is this starts the osconfig-agent which covers inventory lookup and package-management(correct me if i am wrong)." }, { "prediction": "I'm not sure this is a good idea. It's not a good idea to have a timeout for all caps, but it's a good idea to have a timeout for all caps. I'm not sure if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps.", "reference": "These are really meant to be the keys in the capabilities, not the keys of values within the capabilities" }, { "prediction": "I think this should be `import { sinon } from'sinon';`", "reference": "This breaks tests on IE because this will import an `esm` bundle. For that reason `sinon` is available as a global in our test suite and never imported. The global is aliased to the proper `es5` file." }, { "prediction": "I don't think this constant is needed.", "reference": "Maybe move all the Loss Recovery constants to a separate file." }, { "prediction": "I think this should be `diskType` instead of `diskType`.", "reference": "this field is added so that we can find disk name by device name from attachments" }, { "prediction": "Please remove unused imports.", "reference": "Unnecessary new line" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "First determine if the namespace already exists, so it's clearer that it's handling namespaces that aren't included in the `c.config.Namespaces`" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have the original file and the iphone file as well.", "reference": "What changed in the styles that means we don't need this?" }, { "prediction": "I don't think we need to escape the framework name here. It's already escaped by NewtonsoftEscapeJProperty.", "reference": "This pattern should be applied to the other instance where NewtonsoftEscapeJProperty is used and you can remove the NewtonsoftEscapeJProperty method." }, { "prediction": "I'm not sure if this should be a warning. It should be a warning.", "reference": "Something to mention in the next changelog/release notes. It will be good to get histogram working consistently with everything else." }, { "prediction": "I think this should be `{{.Volume.runNamespace}}` instead of `{{.Volume.runNamespace}}`", "reference": "What does this contain? Is it PVC namespace or is it openebs?" }, { "prediction": "I don't think this is a breaking change. It's a breaking change and should be reverted.", "reference": "Design note: Using local concrete data types on a feature abstraction makes it hard to generalize / replace. This is tolerable so long as this remains a kestrel exclusive feature, but we'd need a different design if this were ever moved to HttpAbstractions." }, { "prediction": "Why not just use R_AS_INT(data_idx)?", "reference": "this will break R package, you should update the R files accordingly. BTW, the call state should be in the last argument." }, { "prediction": "I don't think this is the right place to do this. The `$context` variable should be set in the `MediaProviderInterface` constructor, not in the `getMedia` method.", "reference": "Shouldn't we throw an exception if the context is null instead?" }, { "prediction": "I don't think this is the correct version for ddev.", "reference": "These should both be const, not var right?" }, { "prediction": "I think this should be called `build_match_cost`", "reference": "Rename the directory, match_costers -> match_costs" }, { "prediction": "I think this should be `self.assertEquals(int(headers['Total-Records'], 1), 2)`", "reference": "I don't think this should go in the model tests, since it is done in the resource. `PaginatedDeleteTest` seems more appropriate" }, { "prediction": "Using WebDriver after calling quit()?", "reference": "It would be better to just change RWD to throw IllegalStateException if you attempt to execute a command after quit (unless it's a second call to quit())" }, { "prediction": "I'm not sure if this should be a TODO, but I think it'd be better to have a `prometheus.Controller().Stop()` in the `InstallNewPipeline` method, rather than in the `NewExportPipeline` method.", "reference": "Could we move this to an example test to allow the compiler to help us ensure it stays up-to-date in the future?" }, { "prediction": "Why was this removed?", "reference": "Maybe we could update these to use $future and then check on stderr? that way when we deprecate stdout we can not have to delete tests." }, { "prediction": "Why is this cast necessary?", "reference": "Remove this since it always has to be set afterwards." }, { "prediction": "I'm not sure about this change, but I'm not sure if it's a good idea to change the size of the file.", "reference": "These two tests were causing us to use too many goroutines with `-race` using the default block change size, I think due to prefetching." }, { "prediction": "I'm not sure if this is the right way to do it, but I think it would be better to add a `now` param to the `fetch` method, so that we don't have to pass ` requestContext` as an argument to the `fetch` method.", "reference": "Is that `try..except` block really needed? I mean, when it could fail?" }, { "prediction": "I don't think this is the right place to put this file. I'm not sure if this is the right place to put this file.", "reference": "If you only want to run a specific group of tests you can always use `.only` like `it.only()` or `describe.only()`. It may not speed up the globbing process as much as this change here :)" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure what the best value here is, but I'm not sure what the best value for this is.", "reference": "nit: I'd probably rename this to `BATCH_SIZE_RANGES`, to use a slightly more descriptive name." }, { "prediction": "This should be `90` instead of `90`.", "reference": "aren't these the wrong way around?" }, { "prediction": "Why do we need this?", "reference": "Lets call this getConfigSetService and maybe rename the field now (or later)" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Could / should we make these constants and give them a type?" }, { "prediction": "Can we use the same annotation for aws, azure, gcp, azure-sdk, aws-openshift, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-openshift-sdk, aws-", "reference": "lets stick with lowercase for consistency." }, { "prediction": "I don't think this change is needed.", "reference": "ordering of imports went wrong" }, { "prediction": "I think this should be `String.valueOf(MetadataTableType.ALL_DATA_FILES)`", "reference": "I think these can all be.name() to get the value we are looking for" }, { "prediction": "This should be ` knownMetricsTypes)" }, { "prediction": "Why do we need this cast?", "reference": "This adds a case-insensitive flag to the type in the RangeSpec, but I don't think RangeSpecs are written to handle case-insensitive comparisons. Take a look at the methods that deal with comparisons when building RangeSpecs, in file Range.cpp. So, I think you would have to do one of two things: a) disable the RangeSpec transformation for case-insensitive comparison operators (the easy way) or b) change the RangeSpec methods to handle case-insensitive comparisons." }, { "prediction": "I think this method can be moved to `MethodResolutionLogic` and `MethodResolutionLogic` can be moved to `MethodResolutionLogic`.", "reference": "I would throw an exception if the type is not solved" }, { "prediction": "Why are these skipped?", "reference": "if remove `dt.skipLoad` - then this tests will run. You probably mean opposite?" }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if it's a good idea to put this method in the Beaker module or if it's a good idea to put it in the Beaker module.", "reference": "I feel like we do this in a lot of places should we move that out into its own PR?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it's better to use `async function itemBlurhashing(target, blurhashstr) {` instead of `async function itemBlurhashing(target, blurhashstr) {`", "reference": "Already asked you in Matrix, but I'll do it here again so it can be discussed publicly. Why?" }, { "prediction": "I think this should be `\"Unnecessary \"%s\" after \"return\"` and not `\"Unnecessary \"%s\" after \"return\"`.", "reference": "I think here should be a comma before remove, in all the cases" }, { "prediction": "I think you can just do `self.bbox_roi_extractor = context.bbox_roi_extractor[stages]` instead of `self.bbox_head = context.bbox_head[stages]`", "reference": "Single quote is used by default in this project." }, { "prediction": "Why is this removed?", "reference": "S1023: redundant `return` statement (from `gosimple`)" }, { "prediction": "I'm not sure if this is the right place to put this. It seems like it should be in `webhook.go` instead of `webhook.Run`.", "reference": "`ctx` is unused in Close" }, { "prediction": "This class should be renamed to `ProductFeedHeurekaCategoryNotFoundException`.", "reference": "I'm confused. This exception is thrown when `HeurekaCategory` is not found in database. But this exception extends Http exception. Why? What has database search common with http? If the only reason is that it is the same in the whole project, then fine. But then we have even bigger problem - we don't know how to use exceptions." }, { "prediction": "I think this should be `tood_r101_fpn_mstrain_2x_coco.py` instead of `tood_r101_fpn_mstrain_2x_coco.py`", "reference": "Is it necessary to add the suffix `on_head`, because it belongs to` bbox_head`?" }, { "prediction": "This should be `AS_IF([ test x$with_modern_grub = xyes], [ AC_DEFINE([WITH_MODERN_GRUB], 1, [Define if we have a GRUB version newer than 2.02])])`", "reference": "Hmm, I wonder if this should just be e.g. `--with-grub-2.02` instead. (Not sure Autoconf supports periods in these switches.) Today's modern GRUB is tomorrow's ancient GRUB. :) Or maybe we should be specific about the feature this is enabling, which might be safer given that each distro carries so many patches. E.g. `--without-grub-efi-16-suffixes`?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Add a GetSerialPortOutput method to Instance that way you don't need to access the client, also it makes the call cleaner as you don't have the odd i.Client and path.Base(i.Project), path.Base(i.Zone)" }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better if we kept the `/` prefix for the `/rubyist-booster-shot` route.", "reference": "Line is too long. [104/80]" }, { "prediction": "I'm not sure if this is the right test to test.", "reference": "Since CD updates (assignment & power state) are now done in this controller..." }, { "prediction": "`opts && opts.conflictStack`", "reference": "Hmm I'd rather not support this option going forward - it seems like a one-off just to work around this particular issue. Would it be fine to just remove the `deepStackTrace` option? The rest of the PR looks great - I love the idea of switching to sets." }, { "prediction": "I don't think we need this, but I think we should be able to get rid of the `parsed_email` variable entirely.", "reference": "on the one hand I like how little this is doing. On the other hand, `inbound_mail_parser` is doing most of the work here so maybe it's not as helpful as I originally thought" }, { "prediction": "Is this the correct history depth? If so, it should be `history_depth(10).asynchronously(eprosima::fastrtps::rtps::RTPSWriterPublishMode::ASYNCHRONOUS_WRITER).init();`", "reference": "This line is too long" }, { "prediction": "I think this should be `Fatalf(err.Error())`.", "reference": "This isn't a fatal error, we don't want to crash just because we can't set configs, we have sane defaults set" }, { "prediction": "I think this should be `buffer[len(cidr) - 1]` instead of `buffer[len(cidr) - 1]`", "reference": "I wondered why `buffer` was passed into `LookupPath`. What is happening here? Is `buffer[:0]` equivalent to `[]V4TrieEntry{}`, and hence `buffer` isn't needed any more?" }, { "prediction": "Align the elements of a hash literal if they span more than one line.
Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "I don't really like the name of this file, especially the encoding of an implementation detail (the fact that it's a table) in the name. Can we just use `_message_body.html.erb` instead maybe?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Feel better not to expose our internal implementation in API/CRD, so no need to mention agent here. Consider: EnableLogging indicates whether or not to generate logs when rules are matched. Default to false." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "use `NebulaKeyUtilsV3::dataVersionValue()` to replace the literal value?" }, { "prediction": "I think this should be `log.url.debug(\"URL contains characters which are not present in the \\ + \"current locale\")`.", "reference": "No need for the `\\` here, inside parentheses whitespace is ignored by Python." }, { "prediction": "I don't think we need the `expect` here.", "reference": "This doesn't seem like the right expected result... it should be the same as the `clientCert` var defined above." }, { "prediction": "I'm not sure why this was removed.", "reference": "need to rename this now." }, { "prediction": "Why do we need to ignore these fields?", "reference": "NIT: This shouldn't be a TODO. It is just a note isn't it?" }, { "prediction": "This should be `message.info('Edited element vanished')`.", "reference": "I changed this to an error, that seems more appropriate than a warning here." }, { "prediction": "IsEvmTransfer() really needed here?", "reference": "This change could mute unit test failure, but it is better to update unit tests" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this. I'm not sure it's the right place to do this.", "reference": "All other places that access `notificationIdsInUse` are in methods with descriptive names. We should do the same here. Maybe `markNotificationIdAsFree()`?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "keep as `ErrNotFound`, it is the same convention as in other packages" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it, but I'm not sure if this is the right place to put it.", "reference": "Same here, we need to call `callback` in else branch" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to do it in the `certDetails.append(...)` method, rather than in the `certDetails.append(...)` method.", "reference": "At this point we already check that the record is valid and so it could never be nulll" }, { "prediction": "I'm not sure if this is the right place to put this. I think it should be `@title = t \"user.account.title\"` or `@title = t \"user.account.title_old\"` or `@title = t \"user.account.title_old\"`", "reference": "Would it not be more sensible just to move setting of the title to later in the method rather than duplicating it here?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "why not do it in `reclaimExpiredSessions`? and `pushSessionToCache` can delete" }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to put it in the `models/retinanet_regnetx-1.6GF_fpn_mstrain_640-800_3x_coco.py` directory.", "reference": "out_channels/num_outs/type are unnecessary" }, { "prediction": "nit: `Object.values(dict)` is not supported on JSC for non-static fields, it would be interesting to review this in the future. `verify_object_fields(Object.values(dict).length)` -> `verify_object_fields(Object.keys(dict).length)`", "reference": "You can create an issue for it and put it on the backlog so we don't forget it." }, { "prediction": "I don't think we need to do this. If we don't care about validNetworkMode, then we should just ignore the container.", "reference": "So now we are checking twice, both here and in `weaveCIDRsFromConfig`. Not great. I suggest changing the `ok` return of `weaveCIDRsFromConfig` to a messsage (or error?) instead, which we can then log." }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to remove the `clear_contents()` call from the `create_package` function.", "reference": "An alternative to setting format to the default in Package.__init__ would be to set it in create_package. I think we can assume all packages are created by create_package, but not necessarily by build_package." }, { "prediction": "why not just use `common.Hash`?", "reference": "Let's add fee recipient as well." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "No need for those with `super-init-not-called`, as pylint already only turns things off for this function and it's needed for the entire function." }, { "prediction": "I don't think this should be part of this capability.", "reference": "I think there's another spot for this in DefaultCapabilityMatcher" }, { "prediction": "Style/IfUnlessModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.", "reference": "this name seems pretty vague -- thoughts on a more descriptive method name?" }, { "prediction": "I don't think we should remove copyrights from this file.", "reference": "what changed in this line?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "Instead of doing this let's add another function similar to `hasZeroData` for selecting the `reportArgs` since this is all sourced from selected values. Then `hasZeroData` can use this internally, as well as the component itself. Since this function would be internal just for the purpose of avoiding duplication, we don't need to expose it on the component the same way though." }, { "prediction": "Why did you remove this?", "reference": "This line was useful for auto-completion, I think it should be re-added with specifying the var name (`$exception`) and simplifying the FQCN." }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "This looks like you're not collecting everything from the error channel." }, { "prediction": "Line is too long. [81/80]", "reference": "This currently violates the Law of Demeter. Using `checkout.plan_name` is the quick resolution." }, { "prediction": "This change is not needed anymore.", "reference": "is there any scenario when `$temporaryFilename` can be null?" }, { "prediction": "I think this should be `@SuppressWarnings(\"ReferenceEquality\")` instead of `@SuppressWarnings(\"unchecked\")`", "reference": "this is for the `boolean isRoot = root == rowType` check, which seems to be on purpose, but maybe you could double check whether using ref. equality here is still wanted? Same for `SparkTypeToType`" }, { "prediction": "I'm not sure if this is the right place to update the position of the icon.", "reference": "No need to damage after `roots_drag_icon_update_position`, this is already done in `roots_drag_icon_update_position`" }, { "prediction": "device type (CPU or CUDA) -> device type (CPU or CUDA)", "reference": "Have you tested exporting to ONNX with `device=cuda`?" }, { "prediction": "I'm not sure if this is the right place to put this in.", "reference": "Do we also need to validate `envName` flag then? `appName` and `envName` are used in `initLogsSvc` which are called by `svc logs` from within `Execute()`" }, { "prediction": "I don't think this is the right way to do this. The APP_URL host should be the APP_URL host, not the APP_URL subdomain.", "reference": "@LukeTowers I think I would prefer that we don't force it, on the basis that: a) some people would be opting to configure their web server to protect against this kind of attack and would disable this feature in October CMS to get a small performance increase. b) it might be a bit misleading to say that `app.trustedHosts` set to `false` disables the feature entirely, just to have it be overridden here regardless." }, { "prediction": "I don't think this is the right place for this function.", "reference": "i like that you are trying to correct the naming, but its making the PR longer :( i guess in future we can do such changes in separate PRs" }, { "prediction": "I think this should be `// Chrome 86: This is This is This is ARIA Label everything`", "reference": "Are we marking what the browser's accessibility tree says or what screen readers with those browsers say?" }, { "prediction": "I'm not sure if this is the right place to put this in.", "reference": "This method should behave as intended, to block until it reads an EOF from the other side." }, { "prediction": "I'm not sure this is the right error message.", "reference": "I prefer starts with `Failed to xxx`, how about `Failed to perform health check on xxx`?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "All these calls make me think we should refactor how traces are started and allow \"source tags\" that we initialize a trace with. I'd like to do this in a follow up." }, { "prediction": "This file is autogenerated via the builtin command.", "reference": "This file shouldn't be in this PR" }, { "prediction": "I think this should be `SKIPPED-nonEmptyAssignmentToListElementChangeType` instead of `SKIPPED-nonEmptyAssignmentToListElementChangeType`.", "reference": "This now causes `LessSpecificReturnStatement - src/somefile.php:9:32 - The type 'non-empty-list<5|string>' is more general than the declared return type 'non-empty-list' for takesList`, which seems correct to me. The type `non-empty-list<5|string>` contains the type `non-empty-list`. Thoughts?" }, { "prediction": "Why did you remove the trace?", "reference": "Are you going to change that back?" }, { "prediction": "I think this should be `use += llvm_link_static` instead of `use += llvm_link_static`", "reference": "we have a standard format for putting these together elsewhere, it does the filter check first and errors out and then sets based on the value. i think this should be adjusted to do that. there's no logical change, just an approach change." }, { "prediction": "I don't think we need to add delay here. It's not a delay, it's a number of steps.", "reference": "Note this should be `delay` instead of `scale` here. I'll fix this in my branch." }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "`on` likely still needs a bind, similar to `this.resetProgress = this.resetProgress.bind(this)` correct?" }, { "prediction": "Can you use `get_dist_info` instead of `get_dist_info`?", "reference": "Considering the trade-off between training speed and accuracy, multi-scale training is temporarily kept. More elegant implementation will be adopted in the future." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Can you move this up along with the other builtin libraries?" }, { "prediction": "I'm not sure this is the right label for this checkbox. It should be \"Allow usage statistics gathering\" or \"Allow usage statistics gathering\".", "reference": "I actually think it makes sense to reposition this checkbox after the notifyForPendingUpdateCheckBox. The current order of check boxes is a bit arbitrary now." }, { "prediction": "This should probably be `changed` or `changed` depending on whether or not the flag is set.", "reference": "Why do we have both `before` and `after`? Naively I would expect this to work as follows: `plz query changed` with no arguments compares the current working directory state to the last commit (i.e. HEAD, i.e. a noop when directly on a git commit). `plz query changed --since [reflike]` compare the current working directory state to the given reflike. So for CI I would expect to run something like `plz query changed --since @{upstream} (or origin/master I guess)`. And on merge I'd either run everything or just `plz query changed --since HEAD^` (given our workflow) - I don't think I'd ever want to do anything else. Either way I think before and after are slightly confusing terms here." }, { "prediction": "I'm not sure if this is the right place to put this logic. I think it would be better to have a `is_binary` flag that indicates whether the destination IP address is binary or not.", "reference": "Is there a reason why we can't use `~dst`? It feels like that could be good enough.I would like to avoid extending the filter syntax unless there's an urgent need. :)" }, { "prediction": "I think this should be `DateTimeOffset.FromUnixTimeSeconds((long) Timestamp).LocalDateTime`.", "reference": "Why local and not UTC?" }, { "prediction": "I don't think this is the right place to do this.", "reference": "2012 is a retryable error. Will avoiding rgenerating it here cause a difference in behavior in createServer()?" }, { "prediction": "I think this should be `iotex-address/address.Address`", "reference": "move to line 14 below" }, { "prediction": "I think this should be `crossIntersectsTriangle` instead of `crossIntersectsTriangle`", "reference": "the method name should match teh docs" }, { "prediction": "I'm not sure if this is the right test.", "reference": "Won't this happen automatically when we flip the default version in the config?" }, { "prediction": "This change is unrelated to this PR, but should be reverted.", "reference": "This would also change back to /var/www/html/docroot if we go that way." }, { "prediction": "I think this should be `hasImplicitChromiumRoleMatches(node, virtualNode)` instead of `hasImplicitChromiumRoleMatches(node, virtualNode)`", "reference": "This still needs to use the new option. We'll need tests for it too." }, { "prediction": "I don't think this file is covered by the GNU General Public License.", "reference": "We are no longer including file name in the source files." }, { "prediction": "Style/RedundantSelf: Redundant self detected.", "reference": "no need for this. Devise provides us with `current_user` and `user_signed_in?` helpers." }, { "prediction": "I think this should be `CapabilityUtils.isCompatible(NAME, capability.getVersion())`", "reference": "Would `Object.equals(capability.getName(), NAME)` would be safer, as you wouldn't have to do null checks?" }, { "prediction": "Is this necessary? I don't think it's necessary to reset the `example_group.run` call.", "reference": "Hmm, I wonder if we should revert #1862 instead? BTW, what failure do you get w/o this line?" }, { "prediction": "I think this should be `errors.Wrapf(err, \"invalid 'apiURL' %s in slack config\", out.APIURL)`", "reference": "since there are several places where we do 1) get secret key ref and 2) validate URL, maybe it's worth having a common method? it could also trim spaces as done here (but not at the other places currently)." }, { "prediction": "I'm not sure why this change is needed.", "reference": "TestNormalize... I would also split them" }, { "prediction": "why do we need to change this?", "reference": "All changes to this file are going to conflict with #7599. Please revert these as well. They will be addressed during the Python 3 transition." }, { "prediction": "I think we can remove this.", "reference": "Just thought, using spinlock (busy wait with compare and swap) that generates 2 random numbers inside rlock. We know that collisions are rare and we don't need that \"large\" write lock really but lock namely for \"rand\". Or least use a separate Lock (Mutex), namely for \"rand\" (wrap it into method). Mutex will use some sort of spinlock as well but it may use some linked list to make it more fair." }, { "prediction": "I don't think this is needed.", "reference": "Can we grab it directly from `__pkginfo__` as that is the source of truth for the version?" }, { "prediction": "I think this import should be `org.openqa.selenium.grid.distributor.Distributor;`", "reference": "We can revert this to reduce the diff of the PR." }, { "prediction": "I don't think this is the right place for this. The `cloud.google.com/go/` package is only available in `bazel/bazel-build-file-view.sh`, so it should be `cloud.google.com/go/cloud.google.com/go/apiv$1;`", "reference": "This looks weird. `isCloud` should define if it is a cloud or no. Here it does it partially, and it can be overriden by protoPkg value (which also an argument to this function). Please make sure that isCloud completely defines the cloud thing. (i.e. it an be as straightforward as moving `protoPkg.contains(\"cloud\")` from here to the place where `assembleGoImportPath` is called." }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix.", "reference": "Declaring fileflags to be of type LobTgtFileFlags would eliminate the need for all this casting. And would be safer. (Not a show-stopper though.)" }, { "prediction": "I think this should be `%s to docker image %s times`", "reference": "This change prevents a user understanding how their server is configured. Best to leave at `info` level." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Typically we would add something to the build system environment to differentiate this; also is there an alternative that can be used with older OpenSSL? Other folks who are committers will need to decide if it is worth supporting an older and likely quite vulnerable (to hacks) OpenSSL library." }, { "prediction": "I think this should be `readActiveBlockProducersByHeightTests` instead of `readActiveBlockProducersByHeightTests`.", "reference": "`readActiveBlockProducersByHeightTests` is a global variable (from `gochecknoglobals`)" }, { "prediction": "I don't think this is the right place to put this variable.", "reference": "Falls back on `Constants.ID` if there's no custom field set." }, { "prediction": "I don't think this is the right place to do this.", "reference": "I believe this is what we want to rearrange: this in.skip() should not be happening here, in the open method, but in the setOffset() method itself. Because we want to be able to change that offset after the initial open. The setOffset() method will need to throw an IOException, if it's called while the InputStream is still null; or if the skip() call itself results in an IOException()" }, { "prediction": "I think this should be `return p.isVarargs() && p.getParent().getResultType().getChild(0) instanceof ASTPrimitiveType;` instead of `return p.isVarargs() && p.getParent().getResultType().getChild(0) instanceof ASTPrimitiveType;`", "reference": "In case the method is `void`, there won't be any children and `getChild(0)` throws. We'll need to check with `isVoid()` for that case. I'll update this when I merge." }, { "prediction": "I'm not sure if this is the right place to put this in.", "reference": "If the yarpc.Interceptors wrapper will be added to any user interceptor, why not do it transitively. Can save one step for users. Same apply to filter." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it. I'm not sure if this is the right place to do it.", "reference": "Is there anything we should do in the event we're unable to renaming the directory?" }, { "prediction": "I don't think this is a good idea. The ingress handler should be listening on port 8080.", "reference": "How is this env var populated? Can this be retrieved from cluster metadata?" }, { "prediction": "I think this should be `failed to tag managed Internet Gateway`.", "reference": "Should probably skip the success event here, since it could be a noop." }, { "prediction": "I think this should be `imageBlurhashes: item.ImageBlurHashes` instead of `imageBlurhashes: item.ImageBlurHashes`", "reference": "I added this here because people cards (which depends on cardBuilder) had this added in blurhash. Not sure when this is used though cc @JustAMan" }, { "prediction": "I'm not sure why this was removed.", "reference": "Let's keep this line in the docstring, to let end users know they shouldn't be using this directly." }, { "prediction": "I think this check should be moved to `AbstractAction`", "reference": "can do the same for other validateXXX()" }, { "prediction": "Why is this change needed?", "reference": "Why is this necessary?" }, { "prediction": "I'm not sure if this import is needed.", "reference": "Please move this import upper to other similar imports" }, { "prediction": "I don't think we need to worry about this.", "reference": "Include the key word \"translated\". Otherwise the reader will find this confusing." }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if it's the best way to do it.", "reference": "why. is this called per request? if so this also adds a lock internally. can we not add this at the moment until analyzed as this assumption isnt carried to the several other impls. the only other consumer of this is the http api and that isnt hit often enough for specializations." }, { "prediction": "`option.actualNode.selected` should be `option.actualNode.selected`, not `option.actualNode.selected`", "reference": "I believe this means dependent checks can no longer operate on virtual nodes, which is something we've been pushing for lately. We may need to find a different way to solve this issue, as I don't think we want to cause a regression while fixing a bug." }, { "prediction": "I don't think we need this anymore.", "reference": "ditto about use of `abspath`" }, { "prediction": "This is a bit of a nitpick, but I think it would be nice to have a helper method for this. It's not a big deal, but it's a bit of a nitpick, and it's a bit of a nitpick, and it's a bit of a nitpick, and it's a bit of a nitpick, but it's a bit of a nitpick, and it's a bit of a nitpick, and it's a bit of a nitpick, but it's a bit of a nitpick, and it's a bit of a nitpick, so it's a bit of a nitpick, but it's a bit of a nitpick, and it's a bit of a nitpick, so it's a bit of a nitpick, but it's a bit of a nitpick, and it's a bit of a nitpick, so it's a bit of a nitpick, but it's a bit of a nitpick, so it's a bit of a nitpick.", "reference": "this reduces the runtime by 50 times" }, { "prediction": "This test class should be renamed to `RemoteDistributorTest`.", "reference": "Probably best not to have an empty test...." }, { "prediction": "I'm not sure this is the right place to use `newInstance()`", "reference": "direct `newInstance` call is also deprecated now" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "We have a bit of a convention where imports are split into three blocks: first Go standard library, then imports from outside the repo, then imports from inside the repo." }, { "prediction": "I think we should keep this private and protected.", "reference": "Why was this change needed?" }, { "prediction": "I think this should be `\\0\\0\\0\\0`", "reference": "can you use this opportunity to remove `.readlines()` useless list creation? (`addresses = [l for l in fd if l.find(\"netmask\") >= 0]`)" }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Why does this check differ from `plan_ssh.rb`?" }, { "prediction": "I don't think we should remove this.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I'm not sure why this was removed.", "reference": "It was @lodejard who initially suggested this pattern. I think that it had something to do about prioritizing future writes even if there was a pending write operation ready to handle the newly requested write. I'm not sure I fully understood the explanation for having up to 3 pending write requests, because only having one queued write at a time still makes sense to me. I'll talk to him about it." }, { "prediction": "I think this should be `debug_dump_online_weight` instead of `debug_dump_online_weight`", "reference": "We have cli --online_weight_clear in cli.cpp" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "So the request.Headers is a map of []string. Are you sure that the HTTP library doesn't already do this split for us?" }, { "prediction": "I think this should be `Execution stopped, crashed executor/container`", "reference": "How is this message used? Can we remove the \"crashed executor/container\" part which is an implementation detail?" }, { "prediction": "I think this should be `/session/:sessionId/chromium/heap_snapshot` instead of `/session/:sessionId/chromium/heap_snapshot`", "reference": "Instead of building in routing for a browser-specific command, could you refactor the HttpCommandExecutor to allow arbitrary commands to be registered?" }, { "prediction": "I don't think this is necessary. The `purchase-return-link` should be a link to the `purchase` page, not a link to the `back` page. The `back` link should be a link to the `back` page, not a link to the `purchase` page.", "reference": "Space after `=`." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "if just need to do something after createInvocation just override and call super first is enough?" }, { "prediction": "Line is too long. [82/80]", "reference": "By the way, I fixed `announce` method (missing `super` call to announce JDK version)" }, { "prediction": "I'm not sure this is the right thing to do. I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "I'm not sure about that... This line can produce ClassCastException if Comparator do not check this." }, { "prediction": "I'm not sure this is the right fix.", "reference": "There wasn't any special reason for this to return a pointer, right?" }, { "prediction": "I'm not sure if we should be using `ConcurrentHashMap` here.", "reference": "Why the need for a `ConcurrentHashMap`?" }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to use `naturalSortCompare` instead of `sortBy`.", "reference": "New code should use strict equality `===`" }, { "prediction": "I'm not sure if this is the best way to test this, but I'm not sure what the best way to test this is. I'm not sure what the best way to test this is, so I'm not sure what the best way to test this is.", "reference": "`expect(resources['Notify[local pid]']['events'][0]['desired_value']).to match(/(\\d+)/)` seems clearer." }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "Removed now-unneeded param." }, { "prediction": "I'm not sure if this is the best way to do it, but I think it's better to keep it as it was before.", "reference": "(NON-blocking, this can be tracked in follow up issue) @anorth @mishmosh is the toplevel getting too crowded? Should we have a `network` grandparent command, or maybe a `stats` command?" }, { "prediction": "I don't think we need the service name here.", "reference": "The `_x` function needs to be imported at the top of the file (in addition to `__`)" }, { "prediction": "I'm not sure this is the right place to call `OkDialog`?", "reference": "This is functionally equivalent to the code it replaces." }, { "prediction": "I think this should be `json:\",omitempty(\"default\", \"vlan\", \"ENIType\")`", "reference": "can you change the field name here to \"InterfaceAssociationProtocol\"? same for the Config struct in agent/ecscni/types.go. i think it's better to keep the field name consistent between agent and acs payload" }, { "prediction": "I think this should be `Widgets data store: widget tests.`", "reference": "See above, same for the other cases." }, { "prediction": "I'm not sure if this is the right thing to do. I think it would be better to have a method `getOrAdd(String name)` that returns a `SettableGauge` if `name` is not provided.", "reference": "Shouldn't line 313 be public \\ SettableGauge\\ **settable**Gauge(String name) {? It would also be good to call it a few times and with differnet types (Long, Integer, String) in the test as well." }, { "prediction": "I'm not sure if this is the right fix.", "reference": "I would prefer to just fix the occurences of this new check rather than disable them" }, { "prediction": "I think we can remove the `src` part of the URL, as it's not used anywhere else.", "reference": "The tests should be fixed in #4841, so this is no longer needed" }, { "prediction": "Please remove the `strict_types=1`.", "reference": "I think it should been in `SharedKernel` module." }, { "prediction": "Can you add description here?", "reference": "Can we add some description for this field?" }, { "prediction": "I think this should be `DurationType.class` instead of `TimeType.class`.", "reference": "Should its name be Time or Duration? I can see them both." }, { "prediction": "I'm not sure this is the right name. `asGRPCOptions` returns an array of `[]otlpconfig.GRPCOption`, so I think it should be `convertedGRPCOptions` instead of `convertedOptions`.", "reference": "Is this used anywhere?" }, { "prediction": "I think this test should be `require.False(t, res.Empty())`", "reference": "I believe that you can use `assert` instead of `require` here and in the following lines" }, { "prediction": "I'm not sure this is the right place to use `PaymentChannel{}`", "reference": "In `storagemarket.go` you used `nil` for an unwanted out parameter. Do something consistent (nil seems fine if supported)." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it. I'm not sure if it's the right place to put it, but I'm not sure if it's the right place to put it.", "reference": "is this a new pattern we use in bee? interesting" }, { "prediction": "Is there a way we can guarantee that the error code is the same as `BucketAlreadyOwnedByYou`? I'm not sure if it's possible to guarantee that the error code is the same as `BucketAlreadyExists`.", "reference": "If you think this PR works, i'll clean this up before resubmitting." }, { "prediction": "I think this should be `io.servicecomb.io` instead of `io.servicecomb.io`", "reference": "are you sure you can read version by this artifactid?" }, { "prediction": "Remove unused import.", "reference": "We can get rid of this import then." }, { "prediction": "I'm not sure this is the right place to put this switch statement, but I think it's better to move it to the top of the file.", "reference": "Should we do our own vtable?" }, { "prediction": "This was a leftover from a previous pull request.", "reference": "This is the actual fix." }, { "prediction": "I think this should be 60 * time.Second.", "reference": "If sync has really a negative impact, this is just moving the issue from 10sec to 60sec. Wonder if you should not expose the (auto)sync params so users can decide." }, { "prediction": "I'm not sure this is the right thing to do here. I think it would be better to have a flag to indicate whether or not to use exact match for the field names. I think it would be better to have a flag to indicate whether or not to use exact match for the field names.", "reference": "should be called => will be called" }, { "prediction": "why not just `lastBlockTime = lastBlockTime.Add(lastBlockCommitTime.Sub(lastBlockTime) / c.blockInterval * c.blockInterval)`", "reference": "not sure whether we should do this. It may cause problem that delegates upgrade their nodes at different time, that they will have different \"last block time\", some use \"commit time\", some use \"block time\". Potential solution: Only use block time after berling, and then delete it in the next version after berling. Open to discussion." }, { "prediction": "I think we should wrap the exception in a try-catch.", "reference": "So one question I have is why is the error coming back from `buildReplicaPositions` not an `Assign.AssignmentException`? Is it because it is wrapped in a `SolrException` from the remote node?" }, { "prediction": "I'm not sure if this is the best way to test this, but I think it would be better to test that the `dt` and `datatable` are the same (i.e. `dt.rbind([])` and `datatable.rbind([])`).", "reference": "`dt` won't work for some reason?" }, { "prediction": "I think this should be `os.getenv(\"KOALAS_USAGE_LOGGER\", \"\")!= \"\"`", "reference": "Is this because \"KOALAS_USAGE_LOGGER\" can be `None`??" }, { "prediction": "I think this should be configurable by default.", "reference": "I like it but maybe the better name will be EthGasPriceConstants or EthGasPriceEstimatorConstants? but Constants not Config" }, { "prediction": "Why is this needed?", "reference": "I would inline the constructor as well" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I'm not confident about this..." }, { "prediction": "I'm not sure this is the right place for this variable.", "reference": "There is also `v1alpha1.CertificateRequestKind` I think?" }, { "prediction": "I'm not sure if this is the right name for this job. I'm not sure if `sender_gcpbroker` is the right name for this job.", "reference": "Can we rename it to make it less confusing? Instead of \"sender-gcpbroker\", maybe name it to \"retryable-sender\"" }, { "prediction": "I don't think this is the right place for this exception.", "reference": "So looking at the definition of the `literal()` function in this class, it seems it's possible for it to return null. I guess it's not a concern as we would get NPE on the above call at line 136 when trying to call `.to` if `literal()` returned `null` before even getting to this part that calls `literal().value()`, but something I thought I'd bring up. Perhaps something we might follow up on in another issue or possibly I just missed the workflow that makes `literal()`'s result non-null by the time this `bindLiteralOperration` is called." }, { "prediction": "I think this test should be `assertTrue(abs(nrmse.getMetric()[\"value\"]-target)\\ +< OPFMetricsTest.DELTA)`", "reference": "Why did you break the line? It looks like it is under 80 characters without the break and it is inside parens so no need for backslash anyway" }, { "prediction": "I think this should be `try: from datatable import DataTable`", "reference": "@guolinke Don't you mind to rename this variable to `DATATABLE_INSTALLED`, for the consistency with other variables (for example, there are `PANDAS_INSTALLED` but not `PD_INSTALLED`). Also, `DT` is a little bit confusing: sometimes `dt` is used for `datetime`." }, { "prediction": "I think this should be `seconds` instead of `seconds`.", "reference": "We're fine with double quotes here. Just for future reference." }, { "prediction": "I'm not sure this is the right error name.", "reference": "can we keep this around? We should make sure we can distinguish between properly wrapped errors and \"unwrapped\" errors" }, { "prediction": "I'm not sure this is the right place to initialize topology_at_rasterizer.", "reference": "`RecordPipelineShaderStage()` might change `topology_at_rasterizer `, according to shader code, so we should check `pInputAssemblyState `first." }, { "prediction": "Can we move this to `build-system/plugins/webpack-plugin.js`?", "reference": "Should we just inline the assets here? I can't think of an advantage to having them in a separate file." }, { "prediction": "I'm not sure if this is the right fix.", "reference": "detectStaleEndpoints to be more specific?" }, { "prediction": "why FIXME enable when done in C++ too?", "reference": "Please create a new issue for addressing this (if there isn't one already), so it doesn't get lost." }, { "prediction": "I don't think we need the chan interface here.", "reference": "Nothing was ever coming out of this channel because its already being consumed. Create a new channel here and feed it in HandleNewHead method." }, { "prediction": "Can you add a link to the AWS SDK for Java v2 as well?", "reference": "AWS Identity and Access Management (IAM)" }, { "prediction": "This should be `LOG.info(\"fine will log to \" + logFile);`", "reference": "This is deliberately at this level." }, { "prediction": "I think this should be `output.Error(output.ConvertError, \"failed to decode data\", err)`", "reference": "payload entered on command line is in hex-encoded format should use same processing as in ioctl/cmd/action/actiontransfer.go" }, { "prediction": "Why not use `$this->pricingGroupFacade->create($pricingGroupData, $domainId, self::PRICING_GROUP_ORDINARY_DOMAIN_2);`?", "reference": "should this be kept in the `else` branch?" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Why not put this below \"strings\"?" }, { "prediction": "I think this should be `_dispatchPipes.Count` instead of `_dispatchPipes.Count`.", "reference": "Make it `internal` if it's just for testing." }, { "prediction": "I'm not sure if this is the right thing to do, but if it is the right thing to do, I'm fine with it. If it's the right thing to do, I'm fine with it, but if it's the right thing to do, I'm fine with it. If it's the right thing to do, I'm fine with it, but if it's the right thing to do, I'm fine with it.", "reference": "What is triggering this message in this file?" }, { "prediction": "I'm not sure about this change, but I think it's better to leave the `float('inf')` as-is.", "reference": "Are you sure this should be removed?" }, { "prediction": "I don't think this is the right place for this constructor.", "reference": "What's that good for? The field is initialized in the constructor." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This shouldn't be necessary (same below). Do you have a traceback for me?" }, { "prediction": "I'm not sure if this should be in `opencontainers/runc/libcontainer/logs.go` or `opencontainers/runc/libcontainer/cgroups.go`.", "reference": "No newline needed here." }, { "prediction": "I think this should be `go/logger.go` instead of `go/logger.go`.", "reference": "Why a separate block?" }, { "prediction": "Shouldn't this be `LOG(GLOBAL, LOG_ANNOTATIONS, 2, \"reg=%d, %s, last reg=%d\\n\", reg, get_register_name(reg), DR_REG_LAST_ENUM);`", "reference": "Probably better to ask @AssadHashmi or another AArch64 expert for a review rather than me -- @AssadHashmi if you could confirm that these status registers are 64-bit despite having only a few fields?" }, { "prediction": "I think this should be `segwit=True` instead of `segwit=False`", "reference": "`purpose` and `coin_type` and `account` would mimic the BIP-0044 wording, but it's up to you." }, { "prediction": "This change is not needed.", "reference": "Is this the critical change? It does seem wrong to use Select() instead of Checked = true. Not sure why that would pass sometimes and not others, though." }, { "prediction": "I'm not sure if this is a good default, but I think it's better to have a default of `NumCPUs` and a default of `NumCoresPerSocket`.", "reference": "Seems a little low, but is this an installer default?" }, { "prediction": "I don't think we need to reset the logger.", "reference": "Maybe we could provide our own `configure` function that includes `logger._logger = None` because I don't see a use case in kinto for using `reset_logger` besides configuring the logger." }, { "prediction": "This is a breaking change. It should be reverted.", "reference": "This will cause the same breakage that was caused when we added Proof to Block. Be sure to let people (infra?) know ahead of time" }, { "prediction": "I'm not sure this is the right fix.", "reference": "Fixed the test; @strib want to validate that this is okay? Seems to be consistent new GC behavior." }, { "prediction": "Why is this change necessary?", "reference": "Afaict, nothing cares" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "I must be missing something, but why does not having a node cache imply not neededing to re-embed the block changes, in particular? Isn't it just the fact that we don't do any writes?" }, { "prediction": "Why is this needed?", "reference": "Are these changes from `class` to `struct` breaking if called from an older version of `Datadog.Trace.ClrProfiler.Managed`?" }, { "prediction": "I don't think this is needed.", "reference": "These are just aliases now" }, { "prediction": "I'm not sure if this is safe, but I think it would be better to use `html_safe` instead of `html_safe`.", "reference": "Does this mean we can remove `raw` from `_head_contents` partial?" }, { "prediction": "I think this should be `if (this.splashWindow &&!this.splashWindow.isDestroyed) {`", "reference": "`isDestroyed` is a function, not a property. This condition will always return false." }, { "prediction": "I'm not sure if this is the correct API version for 1.29 or 1.30?", "reference": "Why are we adding these versions?" }, { "prediction": "I don't think this should be here.", "reference": "fyi, you can do this by doing `.info(\"string %s %s\", formatparam, formatparam2)` instead of doing a string format with `\"str\" % (params)` the idea is that it'll only do the string interpolation if logging is enabled for this level, which theoretically is an optimisation, but in this case probably isn't important" }, { "prediction": "I don't think this is necessary.", "reference": "Would this work, as a one liner? `setTimeout(window.location.reload, 5000);`" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Can you move `crypto/tls` into the block at the top with all the other stdlib imports?" }, { "prediction": "I'm not sure if we should change this to anomalyScore?", "reference": "What is the motivation for this change?" }, { "prediction": "I'm not sure this is the right way to do this. I think it would be better if the service returned a `nil slice` and the retry logic returned a `nil slice` and the retry logic returned a `nil slice` and the retry logic returned a `nil slice` and the retry logic returned a `nil slice` and the retry logic returned a `nil slice` and the retry logic returned a `nil slice` and the retry logic returned a `nil slice` and the retry logic returned a `nil slice` and the retry logic returned a `nil slice` and the retry logic returned a `nil slice` and the retry logic returned a `nil slice` and the retry logic returned a `nil` and the retry logic returned a `nil` and the retry logic returned a `nil` and the retry logic returned a `nil` and the retry logic returned a `nil` and the retry logic returned a `nil`", "reference": "OK, so the concrete implementation will loop? But then it's important that this method waits for a while before it returns no messages. To be specific, a GCP implementation that set `ReturnImmediately` to true or false would both satisfy this requirement, but the first would cause busy-waiting." }, { "prediction": "I'm not sure this is the right place to put this check.", "reference": "The data structure of `MatchClauseContext` may need to be redesigned." }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure it's the right place to put this.", "reference": "You say on the issue that something has to be receiving while the messages are being published. But here it's possible that the publish goroutine starts, and maybe even completes, before Receive is ever called." }, { "prediction": "Metrics/LineLength: Line is too long. [83/80]", "reference": "how do we know that the step in question is an approval type step?" }, { "prediction": "I don't think this import is needed.", "reference": "JMX offers normal APIs for this. I don't think you want the glassfish one." }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm just not sure if this is the right thing to do.", "reference": "Is this still Java 8 compatible? @danieldietrich do we need a separate, modularized Java 9 release also?" }, { "prediction": "I think this should be `HSA_EXT_SAMPLER_ADDRESSING_MODE_CLAMP_TO_EDGE`", "reference": "Should update the user input address and filter modes and pass those in fillSamplerDescriptor?" }, { "prediction": "Style/SymbolArray: Use %i or %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols.
Layout/SymbolArray: Use %I for an array of symbols", "reference": "This object should be in `lib/music/show.rb` and you should also wrap this object in the `Faker::Music::Show`." }, { "prediction": "I think this should be `task.supports_noop` instead of `!task.supports_noop`.", "reference": "I think logic will have to move to bolt since the vague discussions around bolt run plan --noop is that it would just skip any tasks that don't support_noop rather than error. This is fine until we actually elaborate that though." }, { "prediction": "I don't think this is needed.", "reference": "File is not `goimports`-ed" }, { "prediction": "I'm not sure why this test is failing.", "reference": "why should unknown raise a 403?" }, { "prediction": "I'm not sure this is the right thing to do here. If `c._nextState` is null, then `c._nextState = assign({}, c.state);` will be `undefined`.", "reference": "The true clause of your condition, can't this just be c._nextState since `assign({}, c._nextState)` is equal to returning c._nextState, or am I misunderstanding something here?" }, { "prediction": "I'm not sure this is the correct value for this option. It's only used in the `admin_sdk_client.py` file.", "reference": "nit: align the leftmost quotes" }, { "prediction": "I'm not sure this is the correct port for the antrea-agent. I'm not sure if this is the correct port for the cluster membership protocol.", "reference": "Probably \"server port\" -> \"TCP port\"" }, { "prediction": "I think this constructor should be renamed to `Lucene80Codec` since it's only used in one place.", "reference": "can you use FilterCodec instead?" }, { "prediction": "I think this should be \"Letter\" or \"Landscape\" or \"Landscape\" depending on the setting type.", "reference": "I know there's only two values but I find it a bit confusing that it's true/false. Could you change it to a string enum with values \"portrait\" and \"landscape\"? Then when calling printToPdf you can just do `landscape: Setting.value('export.pdfPageOrientation') === 'landscape'`" }, { "prediction": "I'm not sure if this is the right place to put this migration. I'm not sure if this is the right place to put this migration.", "reference": "I think this migration should fail for MDBX if it uses old table names" }, { "prediction": "Line is too long. [82/80]", "reference": "Should this be negated? `!@options[:hosts_file].nil?` Otherwise it'll enter the `if` statement and `nil` will be passed to `HostsFileParser.parse_hosts_file`, which I'm assuming is bad." }, { "prediction": "Why not just pass `configBuilder.ApplyOnReload` to the `LoadConfiguration` method?", "reference": "I'm doubting if adding a bool here is a good idea. Maybe it should be an option object? Otherwise it's hard to extend. But an option object is a bit strange in a fluent API? What do you think @snakefoot?" }, { "prediction": "I'm not sure if we should make this public.", "reference": "This is used in o.a.l.sandbox.search.PhraseWildcardQuery." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "view should be loaded on start for both statedb and factory" }, { "prediction": "Why is this being removed?", "reference": "Why rename? Just curious..." }, { "prediction": "I think this should be `setVisibility(View.GONE)`", "reference": "Is this needed? I think it calls the super function that already does that." }, { "prediction": "I think this should be `if self.reg_class_agnostic` instead of `if self.reg_class_agnostic`", "reference": "This might slow down the inference time, are we sure we need to do that?" }, { "prediction": "Can you remove this blank line?", "reference": "This would read better if you add \"Skip code/lines\" or (exclude/hide code if you follow my earlier suggestion\")" }, { "prediction": "Please revert these changes.", "reference": "Looks like glassfish went a bit nuts doing a refactor" }, { "prediction": "I think this should be `Task.WhenAll(tasks)` instead of `Task.WhenAll(tasks)`", "reference": "nit: allocate the list using the number of processors." }, { "prediction": "I don't think this is the right place to put this.", "reference": "Was this change triggered by baseline?" }, { "prediction": "Line is too long. [87/80]", "reference": "This code was doing nothing as far as I can tell and was making the SQL find nothing with the new version of Rails. Remove it unless someone can explain why it is there." }, { "prediction": "Why do we need to do this?", "reference": "Setting browser based login as the default for `RestAPIExplorer`." }, { "prediction": "Why not use `SplitInfo::Size(max_cat_threshold)`?", "reference": "maybe we can do this in Init function?" }, { "prediction": "I don't think we need this check anymore.", "reference": "How about if request ID not set, service should generate a random uuid?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "minor: this is an opportunity for you to split these long lines into multiple lines :)" }, { "prediction": "I'm not sure if this is the right place to catch this exception, but I'm not sure if this is the right place to catch it, so I'm not sure if it's the right place to catch it.", "reference": "It would be nice to have exception dumped somewhere (debug logs, info logs)." }, { "prediction": "I don't think we need As anymore, we can just use `MessageAs(m *Message, i interface{})`", "reference": "So I don't think this is right, as discussed on #657." }, { "prediction": "I think this should be `GROUP_USERS` instead of `GROUP_MEMBERS`", "reference": "should the group_id = \"{0}\" be group_id = %s You'd still keep the {} for the group_members_{} for the tablename but make the filter clause parameterized." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "Path can contain variable pattern in the middle. Also, `$` is not enough to tell if this is JMeter variable. We have correct variable detecting somewhere in our code." }, { "prediction": "I think this should be `public staticMethodOptions() { return ['static','method']; }`", "reference": "@bennothommo can you revert this section? It shouldn't be required." }, { "prediction": "Line is too long. [83/80]", "reference": "Minor: maybe move the above to a `#fiscal_year` method?" }, { "prediction": "I'm not sure this is the right place to test this.", "reference": "You should use the current directory instead - it's a temporary directory that will get removed when the test is done." }, { "prediction": "Is this a race condition?", "reference": "I think we don't need synchronization here." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I don't think this should be changed since on the reactive side we don't support anonymous users." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix or if it's the right fix.", "reference": "Maybe this `if` should be on line 118?" }, { "prediction": "Why is this change necessary?", "reference": "Cool. (I thought I had fixed this already in #812.)" }, { "prediction": "I'm not sure if this is the right place to put interpreters in this file, but I'm not sure if this is the right place to put interpreters in this file, or if it's the right place to put interpreters in this file, or if it's the right place to put interpreters in this file.", "reference": "I intend to do this as soon as I have tests passing." }, { "prediction": "I don't think this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "Please remove the `test_*` from the filename - otherwise pytest will try to collect tests from it." }, { "prediction": "I'm not sure if this is the right fix. The problem is that `explicit_find_gpus` will return a list of GPUs that are not available on FreeBSD, which is not what we want. I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "Did you file a bug to follow up on this?" }, { "prediction": "I think it would be better to use SparkSession.active().sparkContext().getConf().getBoolean(\"read.parquet.vectorization.enabled\", true) instead of SparkSession.active().sparkContext().getConf().getBoolean(\"read.parquet.vectorization.enabled\", true);", "reference": "Looks like these 4 lines didn't actually change. Can you revert the whitespace changes here?" }, { "prediction": "Is this needed?", "reference": "This can't be merged with any usage of `require 'pathname'` in lib, it's not always available and we don't want false positives for people (where they don't realise they needed to requite it). Its also unnecessary, no other formatter uses it to look up failure locations. See the exception presenter etc for how we format lines." }, { "prediction": "I think this should be `assertThat()` instead of `.statusCode(OK.getStatusCode())`.", "reference": "It would be nice to fix the indentation above." }, { "prediction": "I think this should be `openssl_x509_parse_to_file` instead of `openssl_x509_read_to_file`.", "reference": "`short_names` is still optional, so `=` that indicates it has to stay there." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "missing calling of this method" }, { "prediction": "Can we move this import to `aws-sdk-go/internal/pkg/archer.go`?", "reference": "We could get rid of this dependency being forced on clients by changing the `StackConfiguration` interface abstraction to deal with strings instead of `cloudformation.Parameters` and `cloudformation.Tags`, and internally to the `cloudformation` package translate the input strings into the `service/cloudformation` package specific values hiding that from consumers. I don't think that should be taken on as part of this PR, but I think we should consider doing it at some point." }, { "prediction": "I don't think this is necessary. The `action` and `duration` should be added to the `chaos-mesh:experiment` file.", "reference": "`StressChaos` does not contains a field.spec.action" }, { "prediction": "I think this should be `function b(string $str): string`", "reference": "Non-int literal strings are no longer coercible to int, I think this is an improvement. Without this change it now reports `InvalidArgument`." }, { "prediction": "I'm not sure if this is needed.", "reference": "I this used anyplace?" }, { "prediction": "why did you change this to 8?", "reference": "Why was this change required?" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `MissingAuthorization` property that indicates whether the user is an admin role or not. This way, if the user is not an admin role, they won't be able to access the `MissingAuthorization` property.", "reference": "I like that we have this attribute here. However, I think the way we use it right now might be confusing in the future. For example, when only camunda admin is checked, this exception will be instantiated with a message and `missingAdminRole` is `false`. I think that is counter-intuitive. I would expect this exception to have `missingAdminRole` set to `true`. With this explicit information, the exception message could now be generated inside this exception class with the text block that is currently used in the authorization manager. We could maybe generally reuse that text block then also for the case where a user is no admin and also has none of the required permissions. I haven't tried it myself but I think it would be great if we could streamline those things a bit more if we're working on it now. Let me know what you think." }, { "prediction": "nit: `_psbb` should be `_psbb.slice()`", "reference": "Not sure why we're creating a new `ByteBuffer` here, ideally this refers to the existing one?" }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to move it to `datastore/constants.js` and use `generateDateRangeArgs` instead of `store/constants.js`.", "reference": "Same here re: `STORE_NAME` to `MODULES_SEARCH_CONSOLE`." }, { "prediction": "I'm not sure this is the right way to test this.", "reference": "I could've sworn I got a `403` myself when I got that response locally. Is `200` what the API would send back for a `permission: false` tag?" }, { "prediction": "Why not just use `KeystoreManager`?", "reference": "This attribute was intentionally private. - lets force usage of factory `NewIdentityManager()` - lets ramake to `NewIdentityManager(keydir string)` -> `NewIdentityManager(keystore keystoreManager)`" }, { "prediction": "I'm not sure if this is a good default, but I'm not sure if it's a good default, or if it's a good default.", "reference": "Is this too frequent?" }, { "prediction": "Why do we need this file extension?", "reference": "will this not make it possible to use a zip file, e.g. on other importers who do not have to support it?" }, { "prediction": "I don't think this is needed.socks_client is only used in tests.", "reference": "Needs to be mentioned in `__all__` below." }, { "prediction": "I'm not sure if this is a good idea. It's a bit of a hack, but it's a good idea.", "reference": "What if the app's signal handler, executed at pre-syscall for epoll_pwait, executes its own epoll_pwait? For that matter: what happens natively if that happens? I would not expect the kernel to keep a stack -- does that clobber the kernel's stored pre-syscall mask?" }, { "prediction": "It is important that the returned list is sorted in ascending order. It is important that the returned list is sorted in ascending order.", "reference": "Nit: missing a space. I think we should phrase the new content a little differently. \"It is important\" isn't very clear. I think it should be \"offsets will be returned in sorted order.\"" }, { "prediction": "I'm not sure if this should be in `io/ioutil` or `io/outil`.", "reference": "Can you remove this blank line and put the added import in sorted order (likely your editor will do this)" }, { "prediction": "I'm not sure this is the right error code. It seems to me that pthread_create() is supposed to create the updater thread, and pthread_create() is supposed to create the updater thread itself. I'm not sure if this is the right error code, but it seems to me that pthread_create() is supposed to create the updater thread itself, not the updater thread itself.", "reference": "Even if `pthread_create()` for `ocsp_updater_thread()` fails, `h2o` can continue to serve. But I'm a little worried whether `h2o` should continue to serve in this case. How about you?" }, { "prediction": "Can we move this to `register.js`?", "reference": "I like introduction of these constants for account/container creation, but the `ACCOUNT_CHOOSE` one isn't needed I think. This should instead be an \"empty\" value (either `''` or `0`), to indicate more clearly that this field is not filled. It should be the same for choosing a container." }, { "prediction": "I think this should be `sortStrings` instead of `sortStrings` since it's a function.", "reference": "I noticed that passing in `[]` for the locales argument instead of 'undefined' seems to have the same effect. I think that's preferred over passing in `undefined` as a value, and unfortunately passing in `null` seems to throw an error." }, { "prediction": "I'm not sure this is the right fix. The `if len(fields) > 0 && len(strings.TrimSpace(fields[0])) > 0 {` should be `if len(fields) > 1 && len(strings.Contains(DbCfg.Host, \":\") &&!strings.HasSuffix(DbCfg.Host, \"]\")) {`", "reference": "1. `0` is redundant. 2. We should save result of `strings.LastIndex(DbCfg.Host, \":\")` to a variable and reuse." }, { "prediction": "I don't think we should add this to `pkg/http/server/options.go` as it's not used anywhere else in this file.", "reference": "Do you envision \"new\" servers not supporting header, or is it more a way to test mix of old and new? If so, we could make it a \"private\" (non exported) option." }, { "prediction": "I'm not sure if this is the right error to wrap.", "reference": "For future reference. Try not to do refactoring in the same PR which solves some bug or implements some feature. Not to clutter reading. Do it in separate PR." }, { "prediction": "This should be \"unit\" instead of \"unit\".", "reference": "I'm not sure about changing the flag name. unit is more accurate, but for I think for most people asset is also a fine name to use." }, { "prediction": "I think this should be `syscall.NewLazyDLL(\"user32.dll\").NewProc(\"ShowWindow\")`", "reference": "Which windows gets activated? A random other window?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "Just to make sure, this is totally lossless? If I put a v2 there, then it gets upgraded to v3, but my function expects v2, then this is fine and nothing is lost?" }, { "prediction": "I think this should be `write.watermark.field.name` and `write.watermark.field.name.default`", "reference": "In the past, we have 3 Flink streaming jobs (1 for each AWS region) writing to the same table. We need to write to 3 different watermark table properties (1 for each region). Watermark consumer then use the min value to determine the overall table watermark. A provider pattern similar to `WRITE_LOCATION_PROVIDER_IMPL` can work. A default impl could be a single property name. not sure if there is a simpler way to achieve this." }, { "prediction": "I'm not sure if this is a good idea. I think it should be a map of resolved readers from uid to usernames.", "reference": "Can you change this to `ResolvedUsersMap` and build a new map with both readers/writers? That way, we get the nice side effect of not exposing the internal map of the handle, and simplifying the callers a bit." }, { "prediction": "I'm not sure if `cryptdConnectionString` can be null here, but I think it's better to check `os.platform() === 'win32'` instead of hardcoding `os.platform() === 'win32'` here.", "reference": "I typically try to avoid nested ternary expressions. Can we rewrite this as if statements? Worst case, can we break it out into its own function?" }, { "prediction": "I don't think we need to check `sni is None` here.", "reference": "Do we still support handshakes without SNI present?" }, { "prediction": "Metrics/LineLength: Line is too long. [82/80]", "reference": "Maybe it's because I work too much on a centralized logging system but it could be great to add a \"category\" like \"attribute\", \"substitution\", \"include directive\", \"macro\", \"extension\"..." }, { "prediction": "I think this should be `\"it have no sense in python\"`", "reference": "it have no sense in python -> it makes no sense in python" }, { "prediction": "I'm not sure if this is the right place to put this interface.", "reference": "maybe just do a separate implementation of the pool for openvpn case? It's a bit confusing having two methods here." }, { "prediction": "I'm not sure if `topology` should be `true` or `false` depending on whether `topology` is `true` or `false`.", "reference": "how is it possible to have a `topology` that is falsey when we had to call `topology.connect` in order to get here?" }, { "prediction": "I'm not sure if this is the right place to stub this method.", "reference": "Do we need this expectation? If we don't call this method on `PlanFinder` there's no way for the `10` to be returned. Seems somewhat redundant. What do you think?" }, { "prediction": "Why is this removed?", "reference": "We need to do the same for edgecore" }, { "prediction": "I'm not sure this is the right place to test this. It looks like you're calling `StartTestExecutionWithTests` twice. Can you move the call to `StartTestExecutionWithTests` and call `StartTestRun` twice?", "reference": "This fix has nothing to do with the product change. Just a fix I am making for the test issue." }, { "prediction": "I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it. If it is the right way to do it, then I'm not sure if this is the right way to do it. If it is the right way to do it, then I'm not sure if this is the right way to do it. If it is the right way to do it, then I'm not sure if this is the right way to do it. If it is the right way to do it, then I'm not sure if this is the right way to do it. If it is the right way to do it, then I'm fine with it.", "reference": "Don't know what should be the default. Lets keep BatchingProcessor for now. And revisit the area after beta." }, { "prediction": "I think this should be `require 'rspec/support/reentrant_mutex'` instead of `require 'rspec/support/reentrant_mutex'`", "reference": "Ah that's how it's happening, it's probably using the `require_relative` in the optimised one and that counts as a different require to the bare one." }, { "prediction": "I don't think this is the right place to do this.", "reference": "What happens if there is no NIB/XIB with that name?" }, { "prediction": "I think this should be `cfg config.Config` instead of `cfg config.Config`.", "reference": "this is not necessary?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "typo: `asmsecrets \"github...`" }, { "prediction": "I think this should be `wp_json_decode( $value, true );` instead of `wp_json_encode( $allowed );`", "reference": "I think that the JSON encoding should be handled by the control itself, not the sanitization function. This should only confirm that the input is correct, not reformat it" }, { "prediction": "I think we should factor out transport here.", "reference": "Should we put a TODO here to route the http.Transport through here?" }, { "prediction": "I'm not sure if this is the right thing to do here. I think it should be `Get-VMSwitch -ComputerName $(hostname) -Name %s | Set-VMSwitch -AllowManagementOS $false \", networkName`", "reference": "Sorry, could you explain more about the issue? Doesn't ComputerName already default to local computer? > -ComputerName Specifies one or more Hyper-V hosts on which the virtual switch is to be configured. NetBIOS names, IP addresses, and fully qualified domain names are allowable. The default is the local computer. Use localhost or a dot (.) to specify the local computer explicitly." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "`allowError` is a big vague. Does this mean the test case is asserting that an error should occur? If it means \"maybe an error can occur, and that's okay\" -- what's an example of this?" }, { "prediction": "I think this should be `alias.IOAddress(address.Address)`", "reference": "return statements should not be cuddled if block has more than two lines (from `wsl`)" }, { "prediction": "I think we can remove the `sun.reflect.generics.reflectiveObjects.NotImplementedException`", "reference": "Why does VirtualMachineMetrics have to implement Metric?" }, { "prediction": "I'm not sure this is the right fix. I'm not sure why we need to remove the rawAddr1 from the vote.", "reference": "line is 121 characters" }, { "prediction": "I'm not sure this is the right way to test this.", "reference": "How's that linked esbench looking with slice?" }, { "prediction": "I'm not sure if this is a good idea. It seems to me that the `fn` argument is only used in `_ftp_exists` and `files` are only used in `_ftp_exists` and `_ftp_exists` and `_ftp_exists` are only used in `_ftp_exists` and `_ftp_exists` and `_ftp_exists` are only used in `_ftp_exists` and `_ftp_exists` and `_ftp_exists` are only used in `_ftp_exists` and `_ftp_exists` and `_ftp_exists` are only used in `_ftp_exists` and `_ftp_exists` and `_ftp_exists` and `_ftp_exists` are only used in `_ftp_exists` and `_ftp_exists` and `_ftp_exists` and `_ftp_exists` are only used in `_ftp_exists` and `_ftp_exists` and `_ftp_exists` are only used in `_ftp_exists` and `_ftp_exists` and `_ftp_exists` are only used in `_ftp_exists` and `_ftp", "reference": "The split and join was probably done to ensure that this still works on Windows because os.path.dirname works differently depending on the os you're running under :(. It would probably be a little better to do `dirname, _, fn = path.rpartition('/')` if you want something cleaner than the split/join." }, { "prediction": "I think this should be `-1` instead of ` -10`.", "reference": "This is not the right approach. The `Distributor` maintains a model of the current state of the Grid. That model already contains the information about every active session. We don't need to modify `SessionMap` to expose it further." }, { "prediction": "I think this should be `time.Time{}` instead of `time.Time{}`.", "reference": "Can you make this a member var as all the other deadlines? Then you can drop the param to resetTimer() and simplify some of the code below iiuc." }, { "prediction": "This change is unrelated to this PR, but I think it would be better to revert the change to `std::unique_ptr` to `std::unique_ptr` and use `te.canonicalize(*mol)` instead of `std::unique_ptr`.", "reference": "I don't understand the reason for the changes from unique_ptr to ROMOL_SPTR that you made in this file. The pointers aren't being shared or used elsewhere so I don't think there's any reason to make them shared. Did I miss something?" }, { "prediction": "I'm not sure if we should change this to `public static final String[] PLUGINS = new String[] { \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"plugin\", \"", "reference": "why change the variable name at all?" }, { "prediction": "I don't think this is the right way to do this. The `actualNode` should be the actual node of the shadow node, not the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node of the shadow node", "reference": "Since I'm still trying to keep these straight in my head, can you elaborate on what problem this solves?" }, { "prediction": "I think this should be `mAccount!= null &&!mAccount.getReportSpamRecipient().isEmpty()`", "reference": "Prefer TextUtils.isEmpty() which handles getReportSpamRecipient() being null" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "Couldn't you just write this as an if/else or a guard clause like on line 87? Just seems a bit weird doing this conditional assignment for essentially an if/else." }, { "prediction": "I'm not sure this is the right way to do this. The `d.GetValueList()` method returns a `Dictionary`, which is not what we want. I'm not sure if this is the right way to do this.", "reference": "Do we actually use Include anywhere yet or is this just for completion?" }, { "prediction": "This should be `setting_value` instead of `setting_value`", "reference": "It still bugs me this was misspelled in the standard and now the wrong spelling is the commonly used one :wink:" }, { "prediction": "I'm not sure if this is the right place to put this function.", "reference": "seems we missed de-uglifying this one" }, { "prediction": "I'm not sure if this is the right thing to do, but I think it would be better to have a `NewWorkflowType` struct with a default value of `1` and a `NewWorkflowRetry` and a `NewWorkflowCron` struct with a default value of `1` and a default of `1` and a default of `1` and a default of `1` and a default of `1`.", "reference": "i guess these types & cron / retry specific belong to a dedicated util / struct" }, { "prediction": "`keys.then(keys => keys.join(''))` is the same as `keys.join('')`", "reference": "Also update line 2205 below" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `default: \"vertical\", type: String` so that the user doesn't have to specify the direction.", "reference": "`direction` is referenced nowhere. Do I miss something?" }, { "prediction": "I don't think we need this anymore.", "reference": "The two places this was used have been removed so we can fully remove this dependency." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "This is a duplicate generation of the same file as below." }, { "prediction": "I don't think gpu_ids is a valid GPU ID.", "reference": "We may deprecate `gpus` if `gpu_ids` is specified." }, { "prediction": "I think we should remove the `finest` call here.", "reference": "Right now this is experimental and deeply flaky. We left this at `info` to make debugging user reports a lot easier." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "unnecessary spaces here are doubling the size of this otherwise extremely useful addition" }, { "prediction": "I'm not sure if this is the right place to do this, but it seems like it would be better to move the `FileExistsPolicy.OverwriteIfNewer` into the `CopyDirectoryRecursively` method.", "reference": "I think we should use `FileExistsPolicy.Overwrite` instead. Files _should_ always be newer, but in the unlikely case they wouldn't be, I'm afraid some files would be overwritten and other not, leading to inconsistencies that will be hard to figure out." }, { "prediction": "This should be `std::cout << \"test3_5\" << std::endl;`", "reference": "this should probably be removed" }, { "prediction": "I'm not sure this is the right place to put this indent.", "reference": "Nit: I would actually prefer that pretty JSON is the default, with a flag for compressed JSON. Can we acheive that easily?" }, { "prediction": "I'm not sure this is a good idea. SecurityGroupOverrides is an optional map from security group role to a set of additional ingress rules to add to the security group rules created for that role.", "reference": "Will need to think about this one. `additionalIngressRules` feels a bit opaque in terms of eventual outcome." }, { "prediction": "I think we should keep this as `public`", "reference": "Can we avoid making this public with the other updates?" }, { "prediction": "This should be `CHECK_GT(datum_num, datum_vector->num())`", "reference": "Why did you change this equal instead of less or equal?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "missing final for the blockHash field" }, { "prediction": "Line is too long. [87/80]", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I don't think we need to convert to FP32 here.", "reference": "`x_float` instead of `float_x`." }, { "prediction": "I think this should be `eslint-disable-next-line import/named, import/namespace`.", "reference": "Is this for `No Babel config...` from ESLint? If so, it will be fixed in my ES6 PR." }, { "prediction": "I think this should be `t.Fatalf(\"Expected state %+v to equal %+v\", state, s)` instead of `t.Fatalf(\"expected state %+v to equal %+v\", state, s)`", "reference": "Not important, but the code used to keep checking other cases even after one of them failed, and now it's not. Fine either way for me, just noticing." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "I think I saw this line in last PR, you can update your base branch and rebase to avoid this. And it would be awesome if you can rebase instead of merge each time you push PR to the `moby` branch, that will make the commits history clearer." }, { "prediction": "I think this should be `if (get_thread_id() == tid) {`", "reference": "If this can change the PC of this thread, it requires handling: we can't blindly execute the syscall and lose control of the thread when the flags include CONTEXT_CONTROL. (Note that most docs imply that setting your own context this way is not supported or has undefined or unpredictable results: any idea how often that's the case, or does it generally work?) We need to handle in a similar fashion to NtContinue or setting another thread's context to ensure we retain control." }, { "prediction": "I'm not sure if this is the right place to put this in. I think it would be better to put it in the `open-food-api` package.", "reference": "@huzaifaiftikhar Changed the endpoint as suggested by Stephane in the latest commit." }, { "prediction": "I'm not sure if this is a good idea, but I'm not sure if it's a good idea to add a `Number Number` field to the `Value` struct. If it's a good idea to add a `Number` field to the `Value` struct, then I think it would be better to add a `Number` field to the `Value` struct.", "reference": "There's no core.Number yet. ;)" }, { "prediction": "I'm not sure this is the right help text for this command.", "reference": "...,...will be posted." }, { "prediction": "I think this should be \"header\" instead of \"block\".", "reference": "Can you update this function to be `ShowHeader`? There is only one use of it at the moment in `tools/fast/series/get_head_block_height.go`." }, { "prediction": "I don't think this is the right place to set this environment variable.", "reference": "@akarve, this disables `tqdm` by default, is it intended? Also name `QUILT_USE_TQDM` might be too specific, IMHO `QUILT_INTERACTIVE` or `QUILT_PROGRESS_BARS` or something might be better." }, { "prediction": "Why did you change this to `time.Duration(waitTimeoutMillis) * time.Millisecond`?", "reference": "unrelated but just changing for consistency with code below it" }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be cleaner to just do `skip = opts!==FORCE_RENDER && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === false;`", "reference": "This will call `componentWillUpdate()` for mounts because the else clause is removed. It should only be called for updates." }, { "prediction": "I think this should be `permissions_inheritable_tree` instead of `permissions_inheritable_tree`.", "reference": "We should add write inheritance too." }, { "prediction": "I'm not sure if this is the right place for this, but I think it would be better to use `os.environ.get('KINESIS_ERROR_PROBABILITY', '').strip() or 0.0` instead of `os.environ.get('KINESIS_ERROR_PROBABILITY', '').strip() or 0.0`", "reference": "Please rename this to `LAMBDA_JAVA_OPTS`, and add a short description to the README." }, { "prediction": "nit: remove empty line", "reference": "Should be in the same import group." }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to just check `pkt.tls_session.tls_version or 0x0303 > 0x0200` instead of checking `pkt.type == 23` here.", "reference": "Operator precedence is very confusing here. Care to add parentheses? ` ((version or 0x0303) >= 0x0200)` Same below." }, { "prediction": "I don't think we need this anymore.", "reference": "javaparser-core has no dependencies and it should stay that way. So no log4j. And even then there would have been a preference for slf4j." }, { "prediction": "Can we add a TODO to re-identify the DTA flavor in the future?", "reference": "Why not just retest all? it's not expensive (I think)." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "ecr and ecr0 aren't deterministically named here. This change will just cause confusion in the git history. Could you either: a) fix this and make it deterministic b) regenerate the mock until it doesn't flip definitions for ecr and ecr0" }, { "prediction": "Can you use `sudo gdebi-core` instead of `sudo gdebi r-#{r_version}-$(lsb_release -cs).xz`?", "reference": "This looks like bash... does this work in ruby? Or is the idea to inject the entire script into the subsequent commands?" }, { "prediction": "I'm not sure this is the right place to check for `null`?", "reference": "I don't understand why this change is in this PR?" }, { "prediction": "I don't think we should add this to the `app/config.yml` file.", "reference": "It's a little hard to tell from the diff, but as a result of this PR, the only non-deprecated helpers are: - `has_facet_values?` (probably not long for this world) - `render_facet_partials` (perhaps part of a future component) - `render_facet_limit` (possibly obsolete once components get traction) - `facet_field_in_params` (a little tricky to deprecate at the moment) - `facet_field_presenter`" }, { "prediction": "I don't think this is the right place to put this.", "reference": "The right-hand part shouldn't use `__proto__`. Should be just `PersonObject.__proto__ = Realm.Object`." }, { "prediction": "I think this should be `request.MinTaskID >= request.MaxTaskID`.", "reference": "the == case might be legit, or not? If there is no task written since last read, but we trigger a new read, would the min == max? Or should the upper layer handle that case?" }, { "prediction": "I'm not sure if this is correct. The pool_alloc_size() function is supposed to return the size of the allocated memory, not the actual size of the allocated memory. The pool_alloc_size() function should return the size of the allocated memory, not the actual size of the allocated memory. The pool_alloc_size() function should return the size of the allocated memory, not the size of the allocated memory. The pool_alloc_size() function should return the size of the allocated memory, not the size of the allocated memory.", "reference": "Good catch! But is it guaranteed that `old_size < new_size` here? If not, wouldn't we want to take `min(old_size, new_size)` as the copy length?" }, { "prediction": "I'm not sure why this is needed, but it seems like it should be disabled at the end of the method.", "reference": "This is the only one that worries me a bit. It would be good if Brendan signed off on it." }, { "prediction": "I think this should be `@ApiMethod(\"hasLongrunningReturnValue\")`", "reference": "`LongRunningOperationDetailView` already has `isEmptyOperation`." }, { "prediction": "I don't think this is needed, the `Basic` header is already added to the request.", "reference": "This will always add the authorization header to the request object. Is this the right scope for these two lines? If username/password are not defined, it will encode 'Basic :'" }, { "prediction": "Line is too long. [87/80]", "reference": "Don't think a scope adds much value for us here. Also, for future reference, you don't need to use the `self.all` it is implied. Could just be: `scope :updated_at_desc, -> { order(updated_at: :desc) }` No need to change this one now though, it works." }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "I believe `Base.` is unnecessary in this case, as the class already extends `Base`." }, { "prediction": "I'm not sure about this change, but I'm not sure if it's a good idea to change the `width` and `height` properties of the `options` object. I'm also not sure if `fillWidth` and `fillHeight` are the same, but I'm not sure if they're the same.", "reference": "Couldn't this result in images being scaled too small when the width is less than the height assuming the width is still what is being passed here?" }, { "prediction": "I don't think this is needed. The `plugins.getConfig(\"api\").offline_mode` will be set to `true` by default.", "reference": "Here also, let's not cache value on top of file, but use `plugins.getConfig(\"api\").offline_mode` directly where it is needed" }, { "prediction": "I don't think this is the right place to do this. The `$this->getILS()->getConfig()->Catalog->shibboleth_library_cards` should be set to `true` by default.", "reference": "You can combine the two checks into a single `!empty()` check." }, { "prediction": "I don't think this is the right error message. It should be: `max_payload (%v) cannot be higher than max_pending (%v)\", o.MaxPayload, o.MaxPending)", "reference": "Should we add a warning for anything over say 8M? Just suggesting that is not recommended?" }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "Looks like there are no callers left of this function." }, { "prediction": "I'm not sure if attachStdin is the right name for this function. I think it should be `attachStdin` instead of `attachStdout`.", "reference": "Should there still be a ` bool` trailing `showOutput`?" }, { "prediction": "I don't think this is needed.", "reference": "Did we can change to v1" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to move this to the `diff` function, so that we don't have to pass the `_ancestorComponent` to the `diffChildren` function.", "reference": "Can you please double check that this won't break anything?" }, { "prediction": "I'm not sure why we need to pass null here.", "reference": "optionals, shouldn't need to be stated explicitly" }, { "prediction": "I'm not sure this is the right place for this const. I'm not sure it's the right place for it.", "reference": "That seems quite low - why not just 0x5130ffff?" }, { "prediction": "Why do we need to return `str` here?", "reference": "Why is this needed?" }, { "prediction": "I think this should be `Bolt::Config.user_path + '.first_runs_free'`", "reference": "`Bolt::Config.user_path` returns `nil` if there's no homedir, so this will still error in that case." }, { "prediction": "I'm not sure if this is the right place to put the proposal payload tag.", "reference": "nit: use %s for strings and %v for objects." }, { "prediction": "I'm not sure why this was removed.", "reference": "Same as before, the properties already exists in parent" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it. If it is the right place to put it, I'm not sure.", "reference": "This fix is not quite correct. The `%s` should be replaced with `version` and the `%d` on line 39 should be replaced with `datetime.datetime.now().year`." }, { "prediction": "I think this should be `strcmp(type, \"gone\")!= 0`", "reference": "Maybe we should only set active = false if `strcmp(type, \"pause\") == 0`?" }, { "prediction": "Is this method used anywhere? If so, can we remove it?", "reference": "Same here. and all others." }, { "prediction": "I don't think we need this, it's already in the `keybase/kbfs/libkbfs` package.", "reference": "Intentionally committed? I'm not against it, we already have a way to get goroutines without killing the process: `/keybase/.kbfs_profiles/goroutine`." }, { "prediction": "Why is this change necessary?", "reference": "I think this blank line may be removed" }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to have the `toggle` parameter default to `True` if `title` is `None` and `toggle` is `True` if `title` is `None`.", "reference": "I think this should be a keyword-only argument, i.e. do `def add(self, url, title, *, toggle=False):` and adjust the caller to do `toggle=toggle`." }, { "prediction": "This should be `UINT32` instead of `UINT32`", "reference": "@aimanrosli23 Judging from the commit description, I do not know why this file got changed so much. Could you help to double confirm if you do not revert the changes brought by commits: SHA-1: 643623147a1feaddd734ddd84604e1d8e9dcebee * MdeModulePkg/SdMmcPciHcDxe: Send SEND_STATUS at lower frequency SHA-1: 49accdedf956f175041040e677163b7cbb746283 * MdeModulePkg/SdMmcPciHcDxe: Hook SwitchClockFreq after SD clock start" }, { "prediction": "Style/ClassVars: Use %i or %I for an array of symbols.", "reference": "How about YAML.load_file()" }, { "prediction": "I'm not sure if this should be a `Meter` since it's a `Meter` and not a `Meter`.", "reference": "Maybe make this `volatile` or atomic as this can be set/read from different threads? Also, separately you may want to check if some of the methods here need to be `synchronized`." }, { "prediction": "I'm not sure if this is the right thing to do.", "reference": "Check the return value of the drmgr ones." }, { "prediction": "I don't think we need to add the `data-cfasync` attribute to the `FormWidgetBase` as well.", "reference": "This should be `'cache'`" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "The name \"old\" might cause confusion here. After installation, the \"old\" repo is at an archived path, and the new migrated repo is at the old path. Maybe something like \"target\" or \"canonical\"?" }, { "prediction": "I think this should be `command.readPreference = options.readPreference;` instead of `command.readPreference = options.readPreference;`", "reference": "I think this is somewhat definitive proof that this error exists in `core` rather than `native`. We are correctly resolving the `readPreference` in the previous line, but you are able to identify that eventually the command generated in `core` is not decorated with the passed `readPreference`. Did you try to solve this there already?" }, { "prediction": "I'm not sure this is the right fix. I think it should be `(to - s.BlockNumber) / 2`, not `(to + s.BlockNumber) / 2`.", "reference": "During genesis sync it can unwind 5M blocks?" }, { "prediction": "I'm not sure this is the right test.", "reference": "was it caused by the removal of removeTaskQueueManager() from this test?" }, { "prediction": "Line is too long. [87/80]", "reference": "Wouldn't it just be easier to force search_session to return `with_indifferent_access`? Since you've done the hard work already, I don't think there's a problem doing it this way, but.." }, { "prediction": "I'm not sure if this is the right place to put this check. If the result is simulated to miss its deadline, then it should be removed.", "reference": "So, such tasks that could possibly not meet the deadline will never have a chance to run? I think this is not nice behavior, especially for those projects who has sometimes some very small tasks after the big one." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this, but if it is the right place to do this, I'm not sure.", "reference": "You should add the check above this line instead. If string is empty, don't even call the function." }, { "prediction": "I don't think we should log the exception here.", "reference": "If clientCert attribute doesn't exist for some reason I set it to false." }, { "prediction": "Travis builds don't have a `verify` flag, so we don't need to add it to the `app_host_flags` array.", "reference": "Do we need `app_host_flags` variable? We can directly concat with `flags`. `sh.cmd curl_cmd(unless Travis::Build.config&.ssl&.verify? flags +'-k' : flags, location, static_file_location), cmd_opts` right?" }, { "prediction": "I'm not sure if this is correct. The `listWalkDir` is empty, so the `onWalkComplete` is never called.", "reference": "Walk should actually be completed (`onWalkCompleted`) after the event is stopped. This also makes it possible for monster to walk by smaller paths." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but if it is the right thing to do, then I'm not sure if this is the right thing to do.", "reference": "typo in `weather` (should be `whether`)" }, { "prediction": "I think this should be `--use-staging-install-media` instead of `--use-staging-install-media`.", "reference": "Thoughts on having the URI as the param, instead of a boolean? The default value would be the normal prod image, and then your test would override with the staging image." }, { "prediction": "I'm not sure this is the right thing to do here. It looks like the `num_scan` parameter is unused, so it should be removed.", "reference": "I'm surprised this is needed, but we should probably assert num_scan == 1 at least, otherwise I expect the file is pretty broken." }, { "prediction": "Why not just use `int32_t partitions = 6;`?", "reference": "Could we set a default value for `partitions` and `{0, network::NetworkUtils::getAvailablePort()}`?" }, { "prediction": "I don't think this is needed. The `RequestBodyTimeout` class is only used in the `KestrelCore` namespace.", "reference": "Needs xml docs. The API names alone don't provide enough explanation about what these mean and how to set them. Also, we should provide some validation of inputs, such as MaxTime must be > MinTime, MinimumRate must be >= 0, etc. Consider making the properties readonly and adding a constructor that does these validations." }, { "prediction": "I'm not sure if this is the right place to put this file. It seems like it should be in `tests/data/testdata.go`.", "reference": "Would it make sense to create an empty file here, perhaps in a tmp dir, instead of checking empty files into Git?" }, { "prediction": "I think this should be `_o` instead of `_o`.", "reference": "This change is due to `clang_format` and is not related to this PR." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "Why did you not add the signals to the call of block_all_signals_except() and instead baked them into the function? Ok, if you had a good reason for it, otherwise I would add it to the except list of the function call, since that's what it was meant for." }, { "prediction": "I think you can remove the `@NonNull` annotation.", "reference": "Could this be done by mocking objects instead? I feel like this is changing too much of the actual logic just for the tests." }, { "prediction": "I don't think we need to add this field to the `ManifestFile` class.", "reference": "why not just use `ManifestContent` instead of `Integer`?" }, { "prediction": "I think this should be `if (_logger.IsTrace) _logger.Trace($\"Skipped adding transaction {tx.ToString(\" \")}, wrong transaction type {tx.Type}.\");`", "reference": "can we do that in TxValidator?" }, { "prediction": "I'm not sure this is the right thing to do here. The service name should be the service name, not the service service name.", "reference": "We definitely want some detailed and thoughtful docs being added to this type." }, { "prediction": "I think this TODO can be removed.", "reference": "We would like this code to run, even when `config.XDPEnabled` is false, so that Felix can clean up its own XDP state after a restart." }, { "prediction": "I think this should be `return error(s);` instead of `return error(s);`", "reference": "If the status is `ERR_SPACE_NOT_FOUND` why return `SUCCEEDED`?" }, { "prediction": "Reverse the order of planes in layer sequence. True for ResNet, True for Houglass. Default: False", "reference": "It is is more appropriate to use `downsample_first`. If `downsample_first=True`, the downsample block is the first block and it is used for ResNet. If `downsample_first=False`, the downsample block is the last block, which is used by Hourglass network." }, { "prediction": "I'm not sure if this is the right place to do this. It seems to me that the `service = getDefaultService()` is never used.", "reference": "Would you mind removing the default parameter above? (I doubt I'll ever use defaults again since you still have to protect against callers explicitly passing `null` or `undefined`)" }, { "prediction": "\"Instead of using quit(), consider using the sys.exit().\",", "reference": "I don't know if there are strict conventions about this, but I think the name of the warning should be the diagnosis, not the suggested course of action. In this case, that would mean changing the name of the warning to `interactive-exit` or something like that." }, { "prediction": "I don't think we need the `pki.CommonNameForCertificate` here.", "reference": "If `crt.Spec.CommonName` is not set, and `cert.Subject.CommonName` *is* set, we are not correctly handling it here." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This isn't a test, so it shouldn't be named `test_init`. You could name it `cmdhistory_init` or so." }, { "prediction": "I don't think this property is necessary.", "reference": "why is this pulling from `self.spark_version` config section rather than the `spark` config section (`py-packages` appears to pull from a config section called `spark`)" }, { "prediction": "I'm not sure if this is the right place to test this.", "reference": "nit: Think it can be one line.." }, { "prediction": "Please use `import java.util.Arrays;`", "reference": "please inline imports" }, { "prediction": "I'm not sure why we're not joining cgroups if we're in a rootless container.", "reference": "This check is still correct in some cases, but I guess erroring out is acceptable if someone explicitly asked for an impossible cgroup configuration (now that we could in principle nest things). I would like to see a test for this though." }, { "prediction": "I think this should be `aggregates changed to operate on just a single columnm.`", "reference": "Should we update integral to operate on a single column as well?" }, { "prediction": "Is this safe to call `cuda_get_deep_copy_stream()` on a `size_t`?", "reference": "Doesn't belong to this PR" }, { "prediction": "I think this should be `ecs.ContainerInstanceARN` instead of `ecs.ContainerInstanceARN`", "reference": "Just for my own understanding, does aws ecs API take this token as a new input attribute? Which version of the aws sdk? I did not find it in the official aws sdk doc." }, { "prediction": "I think this should be `SF_APP_FEATURE_CODE_USER_AUTH` or `SF_APP_FEATURE_CODE_USER_AUTH2`", "reference": "Could we shorten this constant to maybe `FEATURE_USER_AUTH`?" }, { "prediction": "I'm not sure if we want this to be configurable. I'm not sure if it's a good idea to have it configurable.", "reference": "Any particular reason for 8? I feel like we could probably handle more..." }, { "prediction": "Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument.", "reference": "Try to use factory association declaration for default values, so it could minimal the line length. You may write in fetch_job factory like association :repository, factory: :repository." }, { "prediction": "I think this should be `cancelled` instead of `cancelled`.", "reference": "Should the \"cancelled\" class be added regardless of the proposal's state?" }, { "prediction": "I'm not sure why this was removed.", "reference": "nit: random whitespace change, let's try to keep these out of commits unless there are other useful changes." }, { "prediction": "I think this should be `models = model.split(' ');` instead of `models = model.split(' ');`", "reference": "Seems kinda dangerous - what if models length is different from paths length?" }, { "prediction": "I'm not sure if prune.Mode{} is the right default here. It seems to me that `prune.Mode{}` is the default for `Prune` and `PruneCfg` and `PruneCfg` and `PruneCfg` are the same. I'm not sure if `PruneCfg` is the right default for `PruneCfg` and `PruneCfg` is the right default for `PruneCfg` and `PruneCfg` and `PruneCfg` is the default for `PruneCfg` and `PruneCfg` and `PruneCfg` and `PruneCfg` are the same for `PruneCfg` and `PruneCfg` and `PruneCfg` and `PruneCfg`", "reference": "set real one plz (get it from DB)." }, { "prediction": "I'm not sure this is correct. The `uafu_irq_set` is a pointer to a `fpga_port_uafu_irq_set`, and the `uafu_irq_buf` is a pointer to a `fpga_port_uafu_irq_set`. The `uafu_irq_set` is a pointer to a `fpga_port_uafu_irq_set`, and the `uafu_irq_buf` is a pointer to a `fpga_port_uafu_irq_set`. The `uafu_irq_set` is a pointer to a `fpga_port_uafu_irq_set`, and the `uafu_irq_set` is a pointer to a `fpga_port_uafu_irq_set`. The `uafu_irq_set` is a pointer to a `fpga_port_uafu_irq_set`, and the `uafu_irq_buf` is a pointer to a `fpga_port_uafu_irq_set`.", "reference": "Should this be initialized to zeroes?" }, { "prediction": "I'm not sure if this is the right fix. The `searcher.numDocs` calls `count = fcontext.base.size() == 0` and `count = fcontext.searcher.numDocs(q, fcontext.base);` will always be `0` if `q` is `null`.", "reference": "The query is already built at this point, so I don't think this particular change actually helps wrt SOLR-10732? (and the `base.size()==0` case is already trivially optimized in `SolrIndexSearcher.numDocs(Query, DocSet)`)" }, { "prediction": "I'm not sure if this is the right place to put this annotation.", "reference": "re-add the type in the annotation here" }, { "prediction": "I think this should be `cmd.Stdout` instead of `cmd.Stderr`.", "reference": "Could we simpify it as `cmd.Stderr = &bytes.Buffer{}`?" }, { "prediction": "I'm not sure if we should rename this function to `shouldRotateX509` or `shouldRotateXls` since it's only used in one place.", "reference": "there's enough \"nots\" in here that while it's correct by my review, I'd like to see a small unit test (just passing in an expired and non-expired cert)" }, { "prediction": "I don't think this import is needed.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I'm not sure if this is the best tolerance for this function.", "reference": "The config option should probably have a more specific name. Also it's not for all gridded data but specifically for Images (and its subclasses)." }, { "prediction": "I'm not sure this is the right place to click on a preference.", "reference": "Be careful. This is not a preference but an option in a dialog." }, { "prediction": "I don't think this is the right place for this function.", "reference": "this will modify the incoming object, which may not be desirable in some cases. i think we should stick with the local var, override it with deployment.ClusterName if deployment.ClusterName not empty" }, { "prediction": "Why was this removed?", "reference": "Is this not required?" }, { "prediction": "I'm not sure if this is the right place to init the `inputShapes_` object. I'm not sure if this is the right place to init it.", "reference": "You're using scare quotes on these terms instead of defining them." }, { "prediction": "I don't think this is the correct version for ddev.", "reference": "These should both be const, not var right?" }, { "prediction": "Why not use `File` instead of `OutputStream`?", "reference": "Can you catch a more specific exception here? Thanks :-)" }, { "prediction": "I think this should be `ctrl.Result{Requeue: true}, nil`", "reference": "This is a bug during handling the recover logic in `common chaos` controller, I fixed in this request when I found it." }, { "prediction": "score_thr=0.3", "reference": "During testing, we adopt the score threshold specified in the config file. Here the threshold is only used for visualization, and the variable name `score_thr` can be misleading. Renaming it to `show_score_thr` would be better." }, { "prediction": "I think this should be `role=\"navigation\"` instead of `site-nav`", "reference": "can you make this `nav-primary` please? i'd like to roll with this since the `
    ` class is `nav`, and primary is the name of the navigation menu" }, { "prediction": "I don't think we need the `displayname` variable anymore.", "reference": "@georgehrke Just out of curiosity. Couldn't you combine at least the combine the regex for '-' and '' with groups?" }, { "prediction": "I don't think this is the right fix.", "reference": "I think this is objectively better than looking up the object by name. As a follow-up, I'm going to see whether we do this name-based lookup somewhere else and switch to your method." }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix, but I'm not sure if it's the right fix.", "reference": "Why are you dividing by scale in the LTR case but not the RTL case?" }, { "prediction": "I think this should be `POST` instead of `GET`.", "reference": "Update after command rename" }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to have it in the `SettingsLegacy` component.", "reference": "I added this change to fix a bug with the legacy settings wrapper which was preventing it from working properly with the other modules" }, { "prediction": "I'm not sure if we should rename this to `FLOW_VERSION_2_0` or `FLOW_VERSION_2_2_0`?", "reference": "isn't AZKABAN_FLOW_VERSION_2_0 more explicit?" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "Please don't leave an empty default" }, { "prediction": "I don't think this is needed.", "reference": "This isn't directly related, but the `import React from'react';` below should be removed. We never import this directly and any modules from it we need are imported through `@wordpress/element`. This was probably added automatically at some point, but we also provide this automatically via `ProvidePlugin`." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do here, but I'm not sure if it's the right thing to do.", "reference": "You can also use `echo: false` instead. Either is fine; I'm just pointing it out." }, { "prediction": "Why is this needed?", "reference": "what's the reason for this moved line?" }, { "prediction": "I don't think we need to do this. `overlayText && showTitle` will always be true if `overlayText` is true. `overlayText && showTitle` will always be false if `overlayText` is true.", "reference": "I don't really follow what is happening here, but it looks like this _could_ conflict with the logic on the lines above... should this be an `else if`?" }, { "prediction": "I don't think this is correct. `s => s.IsHidden == false` will always be true.", "reference": "`s => s.IsHidden == false` What's the purpose of adding this?" }, { "prediction": "I think this should be `clef-signer-address`", "reference": "I would name this `clef-ethereum-address`. We already have a bunch of addresses in Bee, and people might wrongly think that this is yet another address" }, { "prediction": "Why do we need to skip this test?", "reference": "you can just remove this" }, { "prediction": "I think this should be `cstor-storage-pool-claim` instead of `storagePoolClaim`.", "reference": "I think we should avoid creating a dummy CR in the case of SPC. Please see if we can avoid this since we will not be patching anything in this CR." }, { "prediction": "I'm not sure if this is the right place to put this conditional, but I think it would be better to put this conditional in the `app/views/shared/_locked_features.html.erb` file.", "reference": "Honestly not sure myself, but do you think it makes sense to move this conditional into the partial?" }, { "prediction": "I think this should be `prefix=qutebrowser-prefix`", "reference": "As discussed in IRC (just so it doesn't get lost): This probably should be `-basedir-`, not `-prefix-`" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "basepath can be absoluta path and this needs to be supported" }, { "prediction": "This change is unrelated to the rest of the PR.", "reference": "Didn't get to the commit message" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "What about raising `ActionView::MissingTemplate` instead? That's what HighVoltage does." }, { "prediction": "I think this should be `\"receivable\"` instead of `\"receivable\"`", "reference": "Is it kept for compatibility?" }, { "prediction": "I think we can remove the `AccountSignerAddress` function from `StateView` and just use `view.MinerControlAddresses(ctx, m.minerAddr)`.", "reference": "I would find it pretty reasonable to add a MinerSigner method on the state view that puts these together." }, { "prediction": "I don't think we need to fix this.", "reference": "It's stored in `PodDBAdapter.VERSION`. I usually use the expected release version code for that change. As this will be released in AntennaPod 2.2.0, the code would be `2020000`." }, { "prediction": "I'm not sure if this is the right error message.", "reference": "What about method name itself? Do we run this for SQL too?" }, { "prediction": "I think we should change this to `https://mobilesdk.cs1.my.salesforce.com`", "reference": "`instanceUrl` should be `cs1.salesforce.com`. `communityUrl` would be `mobilesdk.cs1.my.salesforce.com`." }, { "prediction": "I don't think you need the `if (...)` here.", "reference": "Let's use `if(name!= nullptr)` to remove ambiguity" }, { "prediction": "I think this should be `getNotImplementedString(\"SurfaceNamer.getMetadataName\")`", "reference": "I wonder if it would make sense to have a separate namer for metadata? Metadata files tend to be expressed in a different language from the repo language, and have mutually exclusive concepts. So, `PackageMetadataNamer`." }, { "prediction": "I think this should be `this.extraDataValidatorsAndVoteMustBeEmpty =!extraDataValidatorsAndVoteMustBeEmpty;`", "reference": "This rule is quite specific to qbft and so I don't think it should be part of the common rules. Would rather the common bft code didn't know anything about contract based voting/validator governance." }, { "prediction": "I think this should be `@Restricted(NoExternalUse.class)` instead of `@Restricted(NoExternalUse.class)`", "reference": "This makes our life harder than it needs to be. A Set is unordered by definition. Please remove this method from Set and add it to SortedSet, but with no default implementation. We need to duplicate it then to LinkedHashSet but that's ok, it is the best we can do. Could you please add it also to SortedMap and LinkedHashMap? We are then able to close the original issue." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure if this is the right place to put it. I'm not sure if this is the right place to put it.", "reference": "we can replace `for` with `params.update(response_headers)`" }, { "prediction": "Why is this no longer needed?", "reference": "Any chance this is available in.NET Core 2.0 now?" }, { "prediction": "I don't think we need this anymore.", "reference": "I wonder if it's necessary to let app pass in the context. What app level context should be sent? If no, is it enough for p2p agent to compose a context with network info there?" }, { "prediction": "I think this should be `execution_context.hpp` instead of `sgd_execution_context.hpp`.", "reference": "Why do we need both includes here?" }, { "prediction": "This change is not needed.", "reference": "SmartStoreInspectorTest expected results in a certain order" }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "I think that you need something like `m_using_random_node.emplace(m_io_thread_pool->get_local_thread_id());`" }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "I don't think we need to maintain a separate set. The problem here is that the \"assignment\" that is killed for this variable is not really an assignment. If we just don't `assign` the variable with the non-existent value, it will not be reported. I pushed a fix." }, { "prediction": "I think it would be better to have a method `targetSplitSize(long targetSplitSize)` that returns the size of the target split for this scan.", "reference": "Let me know if this is too pervasive. It is currently a private method in `BaseTableScan`. It seems both `SparkBatchQueryScan` and `SparkMergeScan` need to know the scan-specific split size when planning tasks. Therefore, I made it open. Another approach is to move all the `planTasks` logic to scan implementations, but for the combine tasks by partition feature, it requires grouping scan tasks by partition first, instead of returning them in an iterator fashion. I'm not sure if this is OK. `SparkMergeScan` also seems to re-implemented its own plan tasks logic." }, { "prediction": "I think this should be `tm` instead of `tm[1:maxTrace+1]`.", "reference": "Not sure what is this change doing?" }, { "prediction": "I think this should be `mins=int(mins) if mins is not None else timedelta(days=90)`", "reference": "this is funky. either don't take` minutes` as keyword arg or take both `minutes` and `days` and pass all of them on to `timedelta`. i'm guessing you're aiming for backwards compatibility, but i don't think it's worth it given how confusing this is. atlernatively, make `mins=60*24*30` the default. and that brings me to another issue, `mins=None` is not a very useful default." }, { "prediction": "I don't think this is the right place to put this check. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`.", "reference": "Please use a tab for indentation instead of spaces." }, { "prediction": "I'm not sure why this change is needed.", "reference": "I can't believe we didn't see this typo before :))" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "If the logger isn't used, it probably doesn't need to be added." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "These files should in `/javascript/brython`" }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "minor, you can squash these into one `if`" }, { "prediction": "I think we should use `String()` instead of `String()`.", "reference": "Used regexes to do most of this, hence different methods of string creation of UUIDs. I plan to follow up with an additional change to remove direct references to google/pborman UUID so `uuid.New()` and `uuid.NewRandom()` will instead use our `primitives.UUID`." }, { "prediction": "I don't think we should be setting `Disposing = true` here.", "reference": "Add a TODO here to revisit if this was problematic." }, { "prediction": "should be set to `True` when using `IoULoss`, `GIoULoss`, or `DIoULoss` in the bbox head. train_cfg (dict): Config dict for anchor generator bbox_coder (dict): If true, the regression loss would be applied on decoded bounding boxes. reg_decoded_bbox (dict): If true, the regression loss would be applied directly on decoded bounding boxes. Note generally it should be set to `True` when using `IoULoss`, `GIoULoss`, or `DIoULoss` in the bbox head. reg_decoded_bbox (dict): If true, the regression loss would be applied on decoded bounding boxes. reg_decoded_bbox (dict): If true, the regression loss would be applied directly on decoded bounding boxes. Note generally it should be set to `True` when using `IoULoss`, `GIoULoss`, or `DIoULoss` in the bbox head.", "reference": "Note generally it -> It" }, { "prediction": "I think this should be `#if 1`", "reference": "Is this relevant to this PR?" }, { "prediction": "I'm not sure this is the best way to test this, but I think it would be better to check `opts[:run_in_parallel] == false` instead of `opts[:run_in_parallel] == true`.", "reference": "Can we instead ensure that `opts[:run_in_parellel]` will always be a boolean? Otherwise we'll have to account for the case when it's a non-boolean value in multiple places, such as any/every other `if` statement." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Is this just moved out of the other files? It doesn't seem like this was generated like the other files." }, { "prediction": "I don't think this is needed.", "reference": "I started out doing everything `async`, but it was getting in the way of debugging, so I switched back to all synchronous until I got things working. We should probably move everything back to `async` and remove the synchronous versions." }, { "prediction": "I think this should be `BlockExecutorFactory` instead of `MevBlockProducerTransactionsExecutorFactory`.", "reference": "this looks already too complicated..." }, { "prediction": "I'm not sure this is the right place for this test. I'm not sure if this is the right place for this test. I'm not sure if this is the right place for this test.", "reference": "As for the testings, we better to verify the actual effects of the compaction. Of course, you could do it in future." }, { "prediction": "I'm not sure this is the right place to remove views from the table map, but I think it would be better to remove the view from the table map instead.", "reference": "should we add a TODO here?" }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to move the `Root` component to the `GoogleSitekitDashboardDetails` component, so that the `GoogleSitekitDashboardDetails` component doesn't depend on the `Root` component.", "reference": "This can be inlined below as `GoogleSitekitDashboardDetails` is an unnecessary wrapper now." }, { "prediction": "why did you change this?", "reference": "NewVHS -> NewVersionHistories this one looks better" }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to have `@executable_path = binary_path(executable_path)` instead of `@executable_path = binary_path(executable_path)`", "reference": "Is this `@missing_text`?" }, { "prediction": "I don't think you need to escape `/` here. You can use `\\w+` instead of `/`.", "reference": "Minor suggestion, but wouldn't it be cleaner to simply replace PACKAGE_NAME_FORMAT to all the optional path, then check that the path is empty in validate_package_name? We might also want a helper function to pull out the package name and sub-package path." }, { "prediction": "Can we use `i18n('editing')` instead of `i18n('editing')`?", "reference": "we should have a way to insert components into a i18n string. so that we could define a translation string like `'%{filename} is being edited'`, and inject the filename `` at the right place. I imagine there must be a language where the `Editing` text should come after the file name. we can think about that later tho." }, { "prediction": "I'm not sure this is the right fix. The gl_pathv array should be initialized to a NULL pointer.", "reference": "Probably want break instead of continue." }, { "prediction": "Why did you change this?", "reference": "This was on purpose that I would set logging (NoLog=false) and a dummy logger below. The idea is to have better code coverage and test of debug/trace statements. Any reason you have removed this?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "does adding a `Stream.empty()` help here?" }, { "prediction": "I don't think we should have two enabled configurations, one for non_exist_scanner and one for non_exist_bucket_acl. I'm not sure what the best way to do this is.", "reference": "This is not being used anymore, so can be removed." }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to have this in the `PodIPs` struct rather than in the `PodIPs` struct.", "reference": "Is it called some where?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Please remove this extra blank line." }, { "prediction": "I'm not sure this is the right thing to do here. It seems to me that the `@InputFiles` annotation should be removed from the `CheckUnusedDependenciesTask` class and the `@OutputFiles` annotation should be removed from the `CheckUnusedDependenciesTask` class.", "reference": "this is really the key, if you don't set this then gradle doesn't wire up the tasks that produce various files inside these configurations as inputs... I think we were just getting lucky before." }, { "prediction": "I'm not sure if this is the right place to test this, but I think it would be better to have a test that verifies that the tags are present in the snapshot.", "reference": "Sorry if I'm missing something here, but shouldn't this message be about failing to match with an *empty* selector, and/or perhaps even an empty *tag* instead of selector? The message seems a bit disconnected from what we're testing?" }, { "prediction": "I don't think this is needed.", "reference": "nit: please move these inside namespace." }, { "prediction": "I don't think this is a good idea. It's a bit of a hack, but it's a good idea.", "reference": "may users try to abuse it?" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "why is this space removed?" }, { "prediction": "I don't think we need this.", "reference": "Can we remove this other line now then?" }, { "prediction": "This file should be moved to `qutebrowser/misc/cmdhistory.py`", "reference": "There's a comma missing here at the end :wink:" }, { "prediction": "This property is no longer required.", "reference": "Why is this not required any longer?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Indentation seems a bit fucked up here. Run `go fmt`." }, { "prediction": "I think this should be `status.Error(codes.InvalidArgument, \"empty filter\")`", "reference": "any chance in == nil? same below" }, { "prediction": "Why not `h2o_sysfhandle(socket, AF_UNIX, SOCK_STREAM, 0);`?", "reference": "We would change the source code of h2o so that certain syscalls will be invoked through the `h2o_sysfn` macro." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "the name kTimelineCannotBeSignalled is confusing. It's not that a TimelineSemphore cannot be signaled... it's the \"VK_KHR_timeline_semaphore is enabled *variant* of the \"binary cannot be signaled\" message. We should probably have a consistent naming scheme to clarify. kBinaryCannotBeSignalledAltTimeline or hide the complexity in Get*VUID functions as needed somehow (pass in the extension structure?)" }, { "prediction": "`include, and exclude` should be `None`", "reference": "Could you add a type hint? `percentiles: Optional[List[float]] = None`" }, { "prediction": "should this be limited by the current_user's use?", "reference": "Maybe putting ones they've used before first would be good, but this is fine for now." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to use `routetable.TargetTypeNoEncap` instead of `routetable.TargetTypeBlackhole`.", "reference": "I don't think we need these. Simpler just to put `routetable.TargetType...` inline below." }, { "prediction": "I'm not sure if this is the right place for this.", "reference": "Why this instead of the old way?" }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "Just combining the inner if/else blocks like this is what I originally meant (I didn't mean replacing all the invisible checks in the outer if, I realize that would have been a functionality change regarding the rule) This should now be equivalent to `if (RuleB(Pets, LivelikeBreakCharmOnInvis) || IsInvisible(formerpet))` (the second check for the rule being false after the `||` would be implied, anything after the `||` would only be evaluated if the rule was false)" }, { "prediction": "I think this should be `strings.ReplaceAll(key, \"_\", \"\")`", "reference": "We don't want to write this back to the definition do we? Probably just want to create a local variable for it." }, { "prediction": "I think this should be done in the onPlaybackEnded() method instead of in the onPlaybackEnded(MediaType mediaType, boolean stopPlaying) method.", "reference": "Good catch! Could you please move this to `PlaybackService.this.onPlaybackEnded`? I think it's more clean if everything is in one single place." }, { "prediction": "I think this should be `QX11Info::connection()` instead of `QX11Info::connection()`", "reference": "We're trying to avoid X.org specific code. So I'm not a fan of this. Can't this be achieved in display server agnostic way?" }, { "prediction": "I don't think we need this namespace.", "reference": "This class can be removed?" }, { "prediction": "I don't think we need this anymore.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "Why is this exported now?", "reference": "To minimize the possibility of regret, perhaps we name this `ZapLogger`." }, { "prediction": "Align the parameters of a method call if they span more than one line.
    Use the new Ruby 1.9 hash syntax.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "This looks a little weird, but it's a feature of the gem we're using. You can give it a symbol representing the method you want called on current_user." }, { "prediction": "nit: remove empty line", "reference": "`Anomaly` imported here, but not used. Please run the changed files through pylint with nupic pylint config and fix pylint findings related to your changes." }, { "prediction": "I don't think this is the right place to do this. I'm not sure if `axe.utils.querySelectorAll` is the right place to do this.", "reference": "We needed this testutils file after all" }, { "prediction": "This change is not needed anymore.", "reference": "line is 161 characters (from `lll`)" }, { "prediction": "Why do we need this?", "reference": "Please re-format/groupimport this line. You might need a little manual work." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "minor, you can just use `wf` instead of `worker.wf`" }, { "prediction": "I'm not sure if this is the right way to test this, but I think it would be good to have a unit test for this.", "reference": "I would suggest putting this in the resources directory with the same package as of this test class. Then you can utilize the method azkaban.utils.TestUtils#readResource to read it as string." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "could not import github.com/openebs/maya/pkg/upgrade/templates (invalid package name: \"\") (from `typecheck`)" }, { "prediction": "I don't think we should choses to take a dependency on it.", "reference": "a official -> an official" }, { "prediction": "I don't think this is the right place to put this check.", "reference": "I only want the proxy request for this to run for kinesalite." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "White space boya?" }, { "prediction": "I think this should be `cloudformation.StackDescription` instead of `cloudformation.Stack`.", "reference": "Maybe ditch these since `StackSummary` is not used anymore." }, { "prediction": "I think it's better to use `label_bias` instead of `label_bias`.", "reference": "suggest to indicate the value range & meaning in docstring" }, { "prediction": "I don't think we need this change.", "reference": "not sure if it works with prometheus by default, otherwise we will have to add this into prometheus config also" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if it's the right place to do this. If it's the right place to do this, I'm not sure if it's the right place to do it.", "reference": "The rule renderer isn't meant to be stateful so probably best to move this out of here" }, { "prediction": "I'm not sure if this is the right place for this.", "reference": "passing in a `nil` here just so that the tests can pass in an alternative implementation seems weird, but I don't know what the convention is for doing something like this - @briandowns?" }, { "prediction": "I'm not sure if this is the right thing to do here, but it seems like we should be able to use `dot` and `doT` instead of `dot` and `doT` in the same file.", "reference": "IMO `dot` should be preferred. Remember `aXe`?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Not a huge deal but this will block tests, also, don't they stay open by default now?" }, { "prediction": "I'm not sure if this is the right way to go about this, but I think it's better to use `logrus.Level` instead of `logrus.Level`.", "reference": "Could you make it a local constant for now?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "What is this `collection_id` field here?" }, { "prediction": "I think this should be `log_interactive.debug(msg, level=logging.DEBUG)`.", "reference": "Is there a reason why we don't use logging for this?" }, { "prediction": "Please remove the `strict_types=1`.", "reference": "Exceptions should be placed in application layer -> infrastructure is aware of application - not the other way around" }, { "prediction": "I think this should be `message-id` instead of `message-id`", "reference": "IIRC issue mentioned reporting _symbolic message_ - so in this case it would be `line-too-long`." }, { "prediction": "I'm not sure if this is the right place to put this else if statement.", "reference": "Is this intended to be `spells[spell_id].reflectable` here? Edit: Should be `spells[spell_id].feedbackable`, right?" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better if we added a default value to the `max_users` column in `teams.rb`.", "reference": "How should we set this for existing teams?" }, { "prediction": "I'm not sure this is the right test. I'm not sure if this is the right test.", "reference": "It would be nice if we could verify that this is in fact the error we expected. But that's a latent issue, something for the backlog." }, { "prediction": "Why did you remove the `middlewares/state`?", "reference": "I hate then some internal process specific middleware leaks into connection manager :( todo later." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Reflects where these files were moved for `pkg_resources`." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "This should be computed('i18n.locale'...." }, { "prediction": "I'm not sure this is the right way to do this.", "reference": "Can you explain to me what goes wrong here? Can the test be adjusted to set up working routing instead?" }, { "prediction": "Remove unused import.", "reference": "We can get rid of this import then." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Not sure how useful is unlock event." }, { "prediction": "I think this should be `encodeDoc` instead of `encodeDoc` since it's the same type as `encodeDoc` in memdocstore.", "reference": "Consider make the second argument a `encoderOptions` which includes the `lowercaseFields` just like opening a collection." }, { "prediction": "Can you explain why this change is needed?", "reference": "What is the value of renaming this to `ctx`? We generally prefer the longer names because they are easier to read and to type." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Hm. This could be a case of left-sided driving, having u-turn lanes on the right side. Good catch, but looks good to me." }, { "prediction": "Nitpick: I'm not sure if this is the right place for this property. It looks like it's only used in the `Result` class, but it's not used in the `Result` class.", "reference": "There was a [JsonPropertyName(\"success\")] here it did serialize fine for me, so I am not sure what was the matter? Also maybe uppercase?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "we can just use read env here, pretty sure" }, { "prediction": "I think this should be `this.hot.selection.transformation.addLocalHook('afterTransformStart', (...args) => this.onAfterLocalTransformStart(...args));`", "reference": "Could you replace local hook with global hook `afterModifyTransformStart`?" }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a `clear()` method in `Archive` that does the same thing, and then calls `archive.clear()` in the `__init__` of the `FileArchive` class.", "reference": "You seem to be basing your PRs off an commit, which keeps reintroducing these changes, which makes it harder to review your PRs." }, { "prediction": "I'm not sure this is the right assertion.", "reference": "Maybe it would simpler to ignore opt_port if type!== 'number'?" }, { "prediction": "IEnumerable> is not supported.", "reference": "As far as I can tell, `IDictionary` implements `IEnumerable>` so we are just making it more generic. From the issue, I understood that we want to maintain sequence/order. I believe `IEnumerable<>` won't fix the issue." }, { "prediction": "I think this should be `%s to docker image %s times`", "reference": "This change prevents a user understanding how their server is configured. Best to leave at `info` level." }, { "prediction": "I'm not sure if this is a good place to store ephemeralDenyList. I'm not sure if it's a good place to store ephemeralDenyList, but if it's a good place to store ephemeralDenyList, I think it's a good place to store ephemeralDenyList.", "reference": "I will add the following to the list: - api.SpecScale - api.SpecSticky" }, { "prediction": "I think this TODO should be removed.", "reference": "As defaultSendPort is being removed, and I don't like TODOs on examples, please remove the whole line" }, { "prediction": "I'm not sure why this was removed.", "reference": "since we are now no longer expecting an input of float to return an empty string, i have removed this test case." }, { "prediction": "I think this should be `c.Register(nil)` instead of `c.Register(nil)`.", "reference": "It would be cleaner if you were to pack the name&desc in a `MetricName` and pass it to `MakeCounter`" }, { "prediction": "I don't think this is needed.", "reference": "Do you know why do we need this?" }, { "prediction": "I think this needs to be moved to `MvvmCross.iOS.Views` instead of `MvvmCross.Platform.Ios.Presenters.Attributes`", "reference": "I guess this using is what causes the build to fail" }, { "prediction": "I'm not sure if this is the right place to call pony_unregister_thread() or if it is the right place to call pony_unregister_thread()?", "reference": "I like the explicit unregister approach." }, { "prediction": "I'm not sure if this is the best metric name for this metric.", "reference": "We should able to use 0x30 as summary, and make 0x80 reserved for future." }, { "prediction": "I don't think this is the right place to do this. The `ShouldSkipClientSpan` method should only be called if `tracer.ActiveScope == null` and `tracer.ActiveScope == tracer.ActiveScope`.", "reference": "This allows strategic exclusion of http spans." }, { "prediction": "I think this should be `@var string[]|null` instead of `@var string[]|null`", "reference": "why not just `string[]` instead of nullable" }, { "prediction": "@schroederc I'm not sure this is the right thing to do here. The `-compiler` and `-tags` are the same, so I'm not sure what the right thing to do here is.", "reference": "How does this work? Why isn't each tag after the first picked up as a new arg/flag?" }, { "prediction": "This should be `Datadog-AzureAppServices-Resource-ID`", "reference": "This key is actually yet to be determined. Meeting with the backend team and Garner to discuss." }, { "prediction": "I'm not sure why this assert is needed.", "reference": "Why remove the crash protection? We're just going to get a bug filed on it." }, { "prediction": "I'm not sure if this is the right header name.", "reference": "Maybe be consistent and name it `FRAME_OPTIONS`." }, { "prediction": "Why is this no longer needed?", "reference": "This check/exception is a guard for the next few lines of code. It shouldn't be necessary now. In fact, I don't think you need the if (parentConnection.type == Blockly.INPUT_VALUE) branch at all." }, { "prediction": "I think this should be `assertFalse(res)` instead of `assertTrue(res)`", "reference": "Could probably move these constants too?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "Maybe 'failed' instead of'missing'. Also do we really need to write ticket numbers here?" }, { "prediction": "I don't think we need this anymore.", "reference": "Test used to use old bouncycastle dependency which isn't needed anymore from Hadoop. Switched to use builtin Java split." }, { "prediction": "I think this should be `decode` instead of `decode`.", "reference": "nit: I think this would be more readable as \"Some language names contain Unicode characters\"." }, { "prediction": "This file is not covered by the GNU General Public License.", "reference": "Thanks for adding the header, but I don't think 2017 is a very accurate guess here. Could you do a quick search with git blame and change this accordingly?" }, { "prediction": "I'm not sure this is the right place to put this file.", "reference": "Oh interesting - does web-test-runner not resolve package.json files?" }, { "prediction": "This should be `P\u00e4iv\u00e4`.", "reference": "Is there a way to derive this value from the locale itself? I feel hardcoding the prefix in the props isn't the right approach, but I'm not sure what the locale file contains exactly." }, { "prediction": "I think this should be `component.componentWillReceiveProps(props, context)` instead of `component.componentWillReceiveProps(props, context)`", "reference": "I'd much rather see these warnings in our devtools (`debug/index.js`). Strings contribute quite a bit to our file size and moving them there would prevent bloating core." }, { "prediction": "I think this should be `smartStore.SOUP_ATTRS_TABLE` instead of `smartStore.SOUP_NAME_COL` and `smartStore.PATH_COL`", "reference": "Use `String.format(Locale.US,...) to avoid the `Lint` warning." }, { "prediction": "I'm not sure if this is a good idea to have a `PodReference` or `ServiceReference`. I'm not sure if it's a good idea to have a `PodReference` or `ServiceReference`.", "reference": "nit: ServiceReference represents a reference to a v1.Service." }, { "prediction": "I think this should be an array of `string`s.", "reference": "since it changes to the array, how about change the name to `DeviceNames`" }, { "prediction": "Is this top level property really needed?", "reference": "Can we avoid this. upgrade engine code should take care of this." }, { "prediction": "I don't think we should default this to 90 days.", "reference": "should also be alphabetized or at least grouped and alphabetized within group" }, { "prediction": "I think this should be `enable=unused-variable` instead of `enable=unused-variable`.", "reference": "No need for this, as pylint already only turns things off for this function and it's needed for the entire function." }, { "prediction": "I'm not sure if this should be a string or a map. I'm not sure if it should be a string or a map, but if it's a map, it should be a string or a map.", "reference": "nit: can we remove \"can't\" from the error message?" }, { "prediction": "Why do we need to update the status of cVR?", "reference": "instead of modifying 'Status' which impacts the state diagram, how about using some annotations on CVR? This can probably help for our upgrade as well. Is this possible? cc: @AmitKumarDas" }, { "prediction": "I'm not sure if this is the right place for this, but it seems like it should be `kubernetes-el7-x86_64` or `kubernetes-el7-amd64`.", "reference": "Rename this as KubernetesGPGURL - >KubernetesUbuntuGPGURL, Modify it where ever it is used." }, { "prediction": "I'm not sure if this is the best place to put this. It's not a big deal, but it's a good place to put it.", "reference": "I'm not totally sure I like the idea of putting a default fee here, but I guess so long as we make sure to track the default fee of bitcoin core, we're good. We should really also take a look at the byte size of the transaction, and use that to determine what the fee should be. But that could also be a different PR." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "oh yeah, `tail`, `update`, `prepend`, `append`, `subSequence`, `trim` just became effectively constant (without memory leak) :)" }, { "prediction": "I'm not sure this is the right way to do this. The `$resource` variable is already declared in the `Gateway::resource()` method, so it's not necessary to cast it to an array.", "reference": "Can you add back a deprecated `destroyLinks` method for backward compatibility? It can simply proxy `destroyResourceLinks`, and we can remove it in the next major release." }, { "prediction": "I'm not sure if this should be a global option, or if it should be a global option.", "reference": "A reminder that we should discuss whether to rename this to \"sockets\" or \"listeners\"." }, { "prediction": "Why is this needed?", "reference": "Why do you need to include this using declaration?" }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if this is the right fix.", "reference": "@halter73 where is this file generated from?" }, { "prediction": "I don't think this is needed.", "reference": "What do these `#if TRUE` accomplish?" }, { "prediction": "I think this should be `if (Sdk.SuppressInstrumentation)` instead of `if (Sdk.SuppressInstrumentation)`", "reference": "Probably a good optimization to have this, but I don't think it's strictly required. For \"legacy\" Activity flows we pass them through an ActivitySource for sampling. So the logic below should also catch these?" }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like it should be in the `mailer` directory.", "reference": "@jessieay Intentionally moving away from passing a param?" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "I think you could condense this code considerably by getting rid of the initialization and foreach loop and simply saying: `$firstname = trim(implode(' ', $nameArr));` What do you think?" }, { "prediction": "I don't think we need this anymore.", "reference": "hmm, we actually should _add_ `'use strict'` everywhere" }, { "prediction": "I think it's better to use `info` instead of `warn`.", "reference": "it's not just fetching override properties here, right?" }, { "prediction": "I'm not sure if this is the right place to put this message. I'm not sure if this is the right place to put it.", "reference": "Is it worth logging the error?" }, { "prediction": "I don't think this is a good idea. It's not a good idea to have a `NS` object, but rather a `dict` object.", "reference": "What's the point of this class?" }, { "prediction": "I don't think this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if it's the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "I'm being picky here, but I think I would prefer `toggle` to be kept here and just change the condition to `contentType!=='movies' && contentType!=='mixed'` or `!['movies','mixed'].includes(contentType)`." }, { "prediction": "This should be `libkbfs/kbfs.go` instead of `libkbfs/kbfs.go`.", "reference": "Please put this down with the other \"github.com\" imports." }, { "prediction": "I'm not sure if this is the right place for push_front_preference. I'm not sure if it's the right place for push_front_preference, but if it's the right place for push_front_preference, then maybe it should be the right place for push_front_preference.", "reference": "Minor but probably want `push_front_preference` to have a trailing `_a` to be consistent with the other parameter" }, { "prediction": "I think this should be `caseSensitive` instead of `spec.partitionType().isLowercase()`", "reference": "Nit: the formatting is a bit off. I would expect this to be 2 indentations from `this.expr =...` but this is 8 spaces, not 4. Also, most places leave the `);` on the last line of the method arguments." }, { "prediction": "Why is this needed? I don't see it being used anywhere else.", "reference": "Ack, @chrisdunelm snuck this class extension past me. This is not a pattern I want to have used..." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I think it would be better to add a `url_for_flush` method to `kinto.views.flush` and `kinto.views.ignore` to `views.flush` and `kinto.views.ignore` to `views.ignore` and `views.ignore` to `views.ignore`.", "reference": "nitpick: I wonder if we should name it `flush` only (?)" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `sonm_tasks_current` metric, and have a `sonm_deals_current` metric, which would be used by `sonm_tasks_current` and `sonm_deals_current`.", "reference": "Why gauges, not counters?" }, { "prediction": "Why is this changed?", "reference": "Just making a note here that this may break pre GWs between pre 2.2.0 and 2.2.0 servers. Not sure, will have to experiment/dig a bit more." }, { "prediction": "I think this should be `\"Pod Failure\"` instead of `\"Unknown\"`", "reference": "Shall we rename this status to CONTAINER_FAILED? ^^ cc: @sshardool" }, { "prediction": "I think it's better to use `FetchTipSets(context.Context, types.TipSetKey, peer.ID, func(types.TipSet) (bool, error)) ([]types.TipSet, error)` instead of `FetchTipSets(context.Context, types.TipSetKey, peer.ID, func(types.TipSet) (bool, error))`", "reference": "Thinking out loud here: I believe the only reason we need `peer.ID` as a parameter to this method is because we are not persisting blocks from pubsub (instead we are refetching them). If nodes persist the blocks they received over pubsub then I think we can guarantee peers we share a connection with (i.e. that are in the peer tracker) will always have the blocks we are fetching (else how would have we gotten the pubsub message). I imagine the concept of an `initialPeer` can go away once #2962 lands since the peers in the tracker will have the block. Although I don't think that covers the case of fetching blocks our peers have deemed semantically invalid and thus not stored..." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I know it has no effect but my eyes can't help. Is that line not too long?" }, { "prediction": "I think we should remove the `ChainCIDRBlock` from the `rules` array.", "reference": "Does that mean we disable service loop prevention for packet generated by local host?" }, { "prediction": "I think this should be `raise RuntimeError(\"cygwin is not installed on #{host}\")`", "reference": "It seems a little odd to have both `host.is_cygwin?` *and* `host.cygwin_installed?` defined (with a possibility of having `is_cygwin?` be `true`, but `cygwin_installed?` returning `false`). Do the docs clearly explain the difference?" }, { "prediction": "I'm not sure if this is the right fix. The manifest writer should preserve the sequence numbers, but the manifest writer should not append the manifests.", "reference": "Does this mean manifests will be written with the v2 schema (i.e. with sequence numbers) even though `TableMetadata` is v1 and the manifest list is written with v1? And this should work because we do a projection on read and sequence number is optional?" }, { "prediction": "This should be renamed to `REWRITTEN_FILE_SCAN_TASK_SET_ID`", "reference": "Should we be sharing this property key with the read? Maybe it should be belong to the file-scan-task object itself?" }, { "prediction": "I'm not sure if `command` and `tools []BuildInput` are the right names for this field. I'm not sure if `command` and `tools []BuildInput` are the right names for this field.", "reference": "Nice! Good idea to move these out of the main struct." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Thanks for paying attention to other places this might happen. This one is particularly important; I probably never should have gotten in the habit of CheckErr(), since it does a log.Panic() explicitly, which looks like something else until you look closely. It's supposed to be used places where \"can't happen\" but Things Can Happen." }, { "prediction": "I don't think we need this enum anymore.", "reference": "Converting this to an enum makes it obvious that I combined things that don't really belong together. It would probably be better to create two enums `StoreType` and `TransportType` (in more appropriate locations). That also makes it necessary to have (at least) two `ServerSettings` classes. `IncomingServerSettings` and `OutgoingServerSettings`. Also, the naming is inconsistent. Maybe it would be better to make the string that is used for import/export explicit, e.g. WEBDAV(\"WebDAV\")." }, { "prediction": "I think this should be `axe.commons.utils.tokenList`, not `axe.utils.tokenList`.", "reference": "It's out of scope for this PR, but I don't find this utility's name to be particularly intuitive. It speaks to nothing of what it does. Does it create a token list? Process one? Get one? `tokenListToArray` would be nice." }, { "prediction": "I don't think this is necessary. The `label` attribute is only used when the `has-label` attribute is present.", "reference": "The message for this check used the existence of a label to determine the output, which doesn't work with the current schema. So I updated it since the data only needed to know a label was present and not what it was." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "nit: \"The current project does not have requested application\"" }, { "prediction": "I don't think this is the right place for this constant.", "reference": "Extend Unit test for this class" }, { "prediction": "I think this should be \"DD_APPSEC_CUSTOM_IPHEADER\"", "reference": "This is this a copy / paste error from above." }, { "prediction": "I don't think you need this class.", "reference": "this package has to be renamed to `typeinference`" }, { "prediction": "Do we need to assert that `deviceId` and `providerType` are not null?", "reference": "This cancels the above null-check I guess." }, { "prediction": "I don't think we need to change the name of this property.", "reference": "change to timerIntervalInMillis" }, { "prediction": "This should be `None` or `None` depending on whether or not the user is an admin or not.", "reference": "`any rules` should be `any roles`" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it's better to do it in `loadMoreData` and not in `loadData`.", "reference": "Why does the method need to be renamed? I would just keep the old name and update the other uses (which are only tests). That way, we can reduce code duplication." }, { "prediction": "I don't think this is needed.", "reference": "I'm not sure if this is going to work - I think it's fine to keep them hardcoded here, as the statusbar can still show `:`, `/` and `?` even if the key is rebound." }, { "prediction": "I don't think we should remove this dependency.", "reference": "@tmetzke shouldn't we replace this library with the `2.12.1` instead of removing it?" }, { "prediction": "I'm not sure if this is a good idea, but I think it's a good idea to have this in a separate PR.", "reference": "uint64 seems excessive here. Should we reduce to a uint32 @whyrusleeping?" }, { "prediction": "Why is this removed?", "reference": "Hmm, I thought this was getting used. These are used elsewhere as a cached value (in `svc deploy` it's `o.targetApp`) but I guess since storage doesn't actually need to validate that the app exists, just that there are local services, we never used it." }, { "prediction": "I think this should be `SplitHostPort(r.RemoteAddr)`.", "reference": "To keep it simple, how would you feel about just using r.RemoteAddr? Since every request comes through here I want it to be as lean as possible. Frankly I'm OK with the port showing up in the log; maybe it'd even be useful to someone." }, { "prediction": "I don't think we need to do this. If the bonus extension is not foundation-bonus, then we don't need to grant the bonus.", "reference": "grant bonus depends on both `admin{}` stored in statedb, and `P2Start/End` in local struct, which is kind of weird at Kamchatka height, we add the bonus Start/End epoch into `admin{}`, so it solely depends on `admin{}` stored in statedb" }, { "prediction": "I'm not sure about this change, but I think it's better to use `f` instead of `f`.", "reference": "Use single quote to wrap the str." }, { "prediction": "I'm not sure if we should change the error message here.", "reference": "Is the plan to rename this later?" }, { "prediction": "I don't think this is the right fix. The `Email` value should always be an array of `ChoiceAuth::strategy`s, so it should always be an array of `ChoiceAuth::strategy`s.", "reference": "Is there a reason why we need a special case for Email at this point? Is the idea that other methods can turn into Email even if it's not configured as a top-level option?" }, { "prediction": "I think this should be `if len(dir) == 0 { panic(\"dir unexpectedly empty\") }` instead of `if len(dir) == 0 { panic(\"dir unexpectedly empty\") }`", "reference": "This wording is a bit ambiguos, I first thought it meant the directory has no entries in it. maybe \"dir\" -> \"dir string\"?" }, { "prediction": "I don't think this is necessary. The variable `m_was_initialized` and `m_was_finalized` can be removed.", "reference": "Why do we need both `HPX::m_hpx_initialized` and `HPX:: m_was_initialized`?" }, { "prediction": "why is this change needed? `info.RPCName` and `info.RPCAddress` are both strings.", "reference": "also check RPCName?" }, { "prediction": "Please revert this change.", "reference": "Remove unused import" }, { "prediction": "I don't think we need to pass `false` here.", "reference": "I assume there will never be a scenario where justValidate is expected to be true on a restart" }, { "prediction": "I don't think this is the right place to do this. The analysis cache should only be listening for analysis results.", "reference": "Report listeners are synchronized, even 'though the cache is thread-safe... I've not profiled it, but it may be a cause of contingency. Any better way around this? Also, do listeners **really** need to be synchronized? Can't we just make them thread-safe?" }, { "prediction": "I don't think we want to default to `''` here.", "reference": "I don't think this is correct. When `compiler` is not given in `.travis.yml`, the announcement will be `--version`, which results in \"`command not found`\" (though not critical), and the cache slug will lack this information (also not critical)." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Why do this rather than `args = []` in the function signature?" }, { "prediction": "I'm not sure if this is a good idea to freeze the feature list. I'm not sure if it's a good idea to freeze the feature list, or if it's a good idea to freeze it.", "reference": "I think we probably *should* do validation of whether there is a suitable implementation if local-validation is true. I'm not sure how useful that actually is though" }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "@StrikerRUS here may need to concat two data by col." }, { "prediction": "I'm not sure if this is the right place to put the `\"` at the end of the string.", "reference": "Why the space?" }, { "prediction": "I'm not sure if this is the right way to do it.", "reference": "please resolve the extra indentation" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "More proof that this check is needed always." }, { "prediction": "I'm not sure if this is safe to do. The `m_al_comms` variable is only used in `lbann_comm::~lbann_comm()` and `lbann_comm::~lbann_comm()` and `lbann_comm::~lbann_comm()` can be removed from `allreduces::Finalize()`.", "reference": "`m_al_comms` now contains smart pointers." }, { "prediction": "I don't think this is the right place to do this. The `ModelAsString` check should be moved into the `if (type is EnumType && (type as EnumType).ModelAsString)` block above.", "reference": "Did you do a test run with the compare script? I'm nervous about what happens on all the generators..." }, { "prediction": "I think this should be `return c.nc.RemoteAddr()`", "reference": "For a client, we store host, as string c.host. That is what we use for monitoring and statsz. Not sure if its useful here or not. Looks like probably not." }, { "prediction": "Why did you change this?", "reference": "This change is suspicious. Why did the number of partitions increase?" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to keep the `client_slug` constant in the policy file, so we don't have to worry about duplicated code.", "reference": "I'm still new to this area, so please forgive what may be a stupid question: When would this be false? And do we have a test for that situation?" }, { "prediction": "I think this should be `Settings.Default.TransitionListInsertPeptides =!isPeptide ||!isPeptide && gridViewTransitionList.ColumnCount == 6`", "reference": "Should there be any changes to this file at all?" }, { "prediction": "I'm not sure if this should be a `AutomationPolicy` or just a `AutomationPolicy`.", "reference": "The only field being used is the KeyType; Instead, we can probably just make a `keyType` variable here." }, { "prediction": "I don't think you need to do this. You can just pass in `options.credentials` instead of `options.baseUri`.", "reference": "This should be done by code-gen change happening in the hydra repo. I am tweaking it just to get CI into a 'passing' state" }, { "prediction": "`[options.features] Feature flags to enable for this hook render` -> `[options.features] Feature flags to enable for this hook render`", "reference": "Cleaned up when I originally added support for passing `screenContext` here (and later `viewContext`) but that was removed." }, { "prediction": "I think this should be `name[0]!= '\\0' && name[0] == '_' && name[1] == 'Z'`", "reference": "This looks like a bunch of whitespace fixing that's unrelated. Can you revert?" }, { "prediction": "Why is this removed?", "reference": "should be removed instead" }, { "prediction": "Why do we need to set this to `true`?", "reference": "should use randomization?" }, { "prediction": "I don't think we should return an error here.", "reference": "returning nil because we want to mayactl to exit with 0 status code." }, { "prediction": "I don't think we need to change the content type here.", "reference": "Is this change relevant to the PR? (and I believe we should use `text/plain` considering the fact that it can be displayed using web browsers...)" }, { "prediction": "I don't think we need these flags anymore.", "reference": "`[Flags]` is now auto-generated by an argument to the `EnumHint`. (The attributes happen to come out in this order. I don't think it's worth controlling the order.) #Resolved" }, { "prediction": "I think this should be `Log.Info(\"using resource updates where applicable\")`", "reference": "I think same here - in general we don't need to use Setters / Getters since configParams isn't a public API." }, { "prediction": "Why not use `logic.AssembleString(programbytes)`?", "reference": "Why using `fmt.Sprintf` where `fmt.Sprint` would do the work (notice no `f` in function name)?" }, { "prediction": "I don't think this is the right place to do this, but I think it would be better to just do `attrs['current']=attrs[\"IAccessible2::attribute_current\"]` instead of `attrs['current']`", "reference": "Extraneous blank line." }, { "prediction": "I think this should be `errMsigWrongAuthAddr` instead of `errMsigWrongKey`.", "reference": "nit: syntax : neither -> nor" }, { "prediction": "I'm not sure this is the right fix.", "reference": "Is it safe to assume that these two keys are always present? `this[string]` will throw a `KeyNotFoundException` if they are not." }, { "prediction": "Is it possible to skip the execution if the flowDefinitionId is 0?", "reference": "Is the `flowDefinitionId` sufficient to uniquely identify the flow or does it need to be the tuple ``?" }, { "prediction": "I think this should be `DateTime::createFromInterface` instead of `DateTime::createFrom`", "reference": "Shouldn't it be in the reverse order? `DateTime::createFromInterface()` returns `self` and accepts `DateTimeInterface`." }, { "prediction": "I'm not sure this is the right place to remove this.", "reference": "this check is now redundant. The rest of the function downwards basically does the same thing but with safer checks." }, { "prediction": "I think we can remove the comma here too.", "reference": "Please could you remove the useless space." }, { "prediction": "I'm not sure this is the right place to put this check. I'm not sure if this is the right place to put this check, but I'm not sure if this is the right place to put this check.", "reference": "What's the point of this block (and isn't it effectively dead code)?" }, { "prediction": "I think this should be `ENV[\"DISCOURSE_SSO_SECRET\"]`", "reference": "Put a comma after the last parameter of a multiline method call." }, { "prediction": "I think this should be part of the source hash version strategy, not the source hash version strategy.", "reference": "Newline at end of file plz" }, { "prediction": "I think this should be `sigs.k8s.io/cluster-api/api/v1alpha3`", "reference": "Can this be refactored to avoid including the aws sdk in the types that we expose? I know it's not being exposed directly through the types we expose, but I do worry that it might make it easier to accidentally do that in the future and not realize it as easily." }, { "prediction": "I'm not sure if this is the right way to do it, but I think it would be better to use `$item->getIndexQueueUid()` instead of `$item->getIndexQueueUid()`.", "reference": "Hi thomas, i would propose to indicate in the name, that only the indextime is updated, otherwise somebody might think the whole items is getting updated. I would propose something like \"updateIndexTimeByItem(Item $item)\"" }, { "prediction": "I don't think this is the right place to put this check.", "reference": "This is not the right exception class. There is an InvalidSelectorException class that covers bad locators." }, { "prediction": "I don't think this is needed.", "reference": "I assume this came from format?" }, { "prediction": "I think this should be `@private` instead of `protected $clearSearchIndex`.", "reference": "I'd suggest a default value of `false` just to make sure existing tasks are ok when they get deserialized after an update to a version containing this code." }, { "prediction": "I think this should be `debug` instead of `dumpConfig().Sdump(keys)`.", "reference": "Do we really need this? Seems like it would pollute the logs pretty badly." }, { "prediction": "I don't think we need this.", "reference": "`Vector.Count` should Jit to const when intrinsic; not sure when `Vector.IsHardwareAccelerated == false` ; however we know `readonly static int` does Jit to const." }, { "prediction": "I don't think this is needed.", "reference": "Can we use a skipIf decorator instead?" }, { "prediction": "Line is too long. [82/80]", "reference": "Missing version tags" }, { "prediction": "Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument.", "reference": "I think this should also filter out `validate_resolve_reference` hooks." }, { "prediction": "I'm not sure why this is needed, but it looks like the `Metrics` and `Trace` namespaces are being moved to `OpenTelemetry.Exporter.OpenTelemetryProtocol.Implementation` and `OpenTelemetry.Exporter.OpenTelemetryProtocol.Implementation`.", "reference": "unrelated, but required fix as metrics branch got broken with the latest main->metrics merge and conflict resolution." }, { "prediction": "I don't think you need to change this file.", "reference": "Feel free to remove this line" }, { "prediction": "I'm not sure this is the best way to link to a single user. I'm not sure if it's the best way to link to a single user, but if it's the best way to link to a single user, I think it's better to use `I18n.t(\"shared.subscriptions.single_user\")` instead of `I18n.t(\"shared.subscriptions.single_user\")`", "reference": "~~Should this match the key updated above?~~ :+1:" }, { "prediction": "I think this should be `defer func() { _ = f.Close() }()`", "reference": "`gofmt` allows a more compact form `defer func() { _ = f.Close() }()` or just add `// nolint:errcheck` before `defer`." }, { "prediction": "why not `collateral = big.Int`?", "reference": "collateral is in FIL" }, { "prediction": "I don't think we need to store here.", "reference": "We should not create channel of node which are not connected." }, { "prediction": "I don't think this is the right thing to do. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "I think the docstring should say something like \"Alias for the `source` option\" or something similar." }, { "prediction": "I think we should rename this to `recycling_instructions_fr` or `recycling_instructions_to_recycle_fr`", "reference": "Please use properties without suffix `_fr` so they can work across different languages as @teolemon mentioned" }, { "prediction": "I'm not sure if this should be called `destroy_request()` or `destroy()`.", "reference": "Declaration here is `static` but the definition at the bottom is non-static?" }, { "prediction": "I don't think we need this. It's not a message integrity check, it's a message integrity check. It's not a message integrity check.", "reference": "Hi @myml, thanks for the contribution! `blob` and `blob/driver` are both in the same module, so you shouldn't need to split this change up into multiple Pull Requests. Also, I'd like to see it working, including the implementation for `s3blob` and `gcsblob` (these should be easy, just pass-through to the provider) and `fileblob` (might be trickier...), and a test in `drivertest/drivertest.go`." }, { "prediction": "Why is IPv6 added here? Shouldn't it be IPv4 only?", "reference": "Was it a bug?" }, { "prediction": "I'm not sure this is the right fix. I'm not sure if `attr_value['string'] == value` is the right thing to do here.", "reference": "# `attr_value['string'] is not None` probably not required as `attr_value['string'] == value` check is already being done" }, { "prediction": "`_now_focused._last_hovered_link` should be renamed to `_last_hovered_link`.", "reference": "You're accessing private variables here - `last_hovered_link` should be public in `TabData`. As for `tabbed_browser._now_focused`, I think you can use `tabbed_browser.widget.currentWidget()` instead." }, { "prediction": "I think this should be `@invitation = Invitation.find(id: params[:invitation_id])`", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I don't think this is needed.", "reference": "We should file a bug for this - we don't need the extensions class if there are no operations on the client" }, { "prediction": "I'm not sure if this is the right place to do this. I think we should move this to the `NewMounter` function.", "reference": "Is it possible to import from k8s instead of copy in? :)" }, { "prediction": "Why not `float $start_time`?", "reference": "`@param float` can be dropped here." }, { "prediction": "I think we should rename this to `handleDagRequest` to make it clear that it's a DAGRequest.", "reference": "maybe we can leave this change un-reverted." }, { "prediction": "Why is this change needed?", "reference": "I wouldn't make MethodDeclarator an AccessNode, nor an Annotatable. It's the MethodDeclaration that can be annotated, and has info about the modifiers, and is already an AccessNode" }, { "prediction": "I'm not sure if this is the right place to put this getter. I'm not sure if this is the right place to put this getter, but I'm not sure if it's the right place to put this getter.", "reference": "delete this class" }, { "prediction": "I think we can remove the `/^[1-9][0-9]+|0$/.test(s)` part.", "reference": "Replacing `+` (1 or more) with `*` (0 or more) would've also done the trick." }, { "prediction": "I'm not sure this is the right fix. The `TDTWriter::~TDTWriter()` should throw if the writer is still open.", "reference": "I've been meaning to fix this for a while. Thanks." }, { "prediction": "should the dispose order be C, B, A or A, B C?", "reference": "This is adding multiple processor pipelines. I guess you wanted to add multiple processors to the same, single pipeline?" }, { "prediction": "I think this should be `str(x[0]) in \"0123456789\"`", "reference": "If you need str(x[0]) here, you'll probably need str(x) the line after that I suppose. Also, shouldn't we use `raw()` here instead of `str()`?" }, { "prediction": "I think this should be 3600000, not 3600000.", "reference": "3.6 seconds? what does it stand for?" }, { "prediction": "Metrics/CyclomaticComplexity: Cyclomatic complexity for method parameters is too high. [7/6]
    Metrics/PerceivedComplexity: Perceived complexity for method parameters is too high. [8/7]
    Metrics/PerceivedComplexity: Perceived complexity for method parameters is too high. [8/7]
    Metrics/PerceivedComplexity: Perceived complexity for method parameters is too high. [8/7]
    Metrics/PerceivedComplexity: Perceived complexity for method parameters is too high. [8/7]
    Metrics/PerceivedComplexity: Perceived complexity for method parameters is too high. [8/7]
    Metrics/PerceivedComplexity: Perceived complexity for method parameters is too high. [8/7]
    Metrics/PerceivedComplexity: Perceived complexity for method parameters is too high. [8/7]
    Metrics/PerceivedComplexity: Perceived complexity for method parameters is too high. [8/7]
    Metrics/PerceivedComplexity: Perceived complexity for method parameters is too high. [8/7]
    Metrics/Perce", "reference": "If the command fails, is stdout nil or \"\"?" }, { "prediction": "I don't think this change is needed.", "reference": "Why is api-version now removed in the generated code?" }, { "prediction": "Can we use `optimizer` instead of `OPTIMIZERS`?", "reference": "We may register all built-in optimizers of PyTorch here to simplify the builder." }, { "prediction": "I'm not sure this is the right fix.", "reference": "No need for this new variable." }, { "prediction": "I'm not sure this is the right way to do this. If `c._nextState` is null, then `c._nextState` will be undefined.", "reference": "doesn't this enqueue a double render or is that safeguarded somehow" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "But now you may get DATA RACE reports because c.acc is sometimes changed. I wonder if we should not rework that whole sending subs through route." }, { "prediction": "I don't think you need the #ifdef here.", "reference": "Use `ADIADIOS2_HAVE_HDF5`, not `ADIOS_HAVE_PHDF5`" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure what the best way to test this is. I'm not sure what the best way to test this is, but I'm not sure what the best way to test this is.", "reference": "Would be nice to put this in a separate context named `\"with a string and a non-string\"` (since that's what it is -- it's definitely not a non-string and a string!)." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to keep the entry number as it was before.", "reference": "Should MAX_PERTABLE_ENTRY here be 10?" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to have a trailing `\\r\\n` at the end of the string.", "reference": "Should move these out of frame into a static class? Similar to reason phrases?" }, { "prediction": "I'm not sure if `UseLane` is the right type here.", "reference": "That means we still create `UseLane` instructions but threat them like `Suppressed`? Can we maybe change this in the pre-processing so that we will just emit `Suppress` instructions in these cases?" }, { "prediction": "I don't think we need this anymore.", "reference": "no need to move here, iotex-proto is outside of iotex-core and considered same as iotex-address, go-pkgs" }, { "prediction": "I'm not sure this is the right place to test this.", "reference": "Looks like a clang-format style violation: should turn Travis red." }, { "prediction": "I'm not sure if we should add these colors to the docstrings. I'm not sure what the best way to do this is.", "reference": "I think we need some YARD docs here, particularly to list all the color symbols that are valid. Otherwise users will have to look at the source to discover that." }, { "prediction": "Why not just `return siteInfo[ propName ];`?", "reference": "Not sure if this needs a doc block or not since it's completely internal, but for cleaning this up. (@felixarntz docs?)" }, { "prediction": "I'm not sure why this is needed, but it looks like it's only used in one of the benchmarks, not the other.", "reference": "The change here is to address what exactly?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "Is this really an Option? IIUC, you compute it automatically for the URLOpener case, why would we require a user to fill it in when using the constructor? I.e., can't we drop this and use `adal.MSIAvailable` instead? If that call is expensive, cache it on `bucket`, not `Options`." }, { "prediction": "Why is this change necessary?", "reference": "Was this done automatically or by hand?" }, { "prediction": "I'm not sure this is the best way to do this. I think it would be better to have a method `remove_child_group(current_group, target, desired_group)` that does the same thing as `remove_target(current_group, target, desired_group)` and does the same for `current_group.add_target(target)` and `current_group.remove_target(target, desired_group)`", "reference": "This looks like it will only work for the first child, since after that we've overridden `desired_group`. Should we have a separate variable for this?" }, { "prediction": "This should be `VUID-NONE` instead of `UNASSIGNED-cache-file-error`.", "reference": "Should this be a constant somewhere?" }, { "prediction": "I don't think we need to add `OpenTelemetry.Instrumentation.Http` here.", "reference": "nit: sort alphabetically." }, { "prediction": "I don't think this is needed.", "reference": "Now, It's redundant, I suppose." }, { "prediction": "I think this should be `go.uber.org/yarpc/peer/peerlist/v2`", "reference": "nit: The format recognized by tooling is `// Deprecated: [..]` so you likely want this to be, // Deprecated: Use \"go.uber.org/yarpc/peer/peerlist/v2\".Implementation instead." }, { "prediction": "I think this should be `Warnf(\"No telemetry entry for: %s\", bootstrapID)`", "reference": "nit: 1. when formatting input strings, make sure to place them in quotes so we could identify white space issues. i.e. '%s' 2. If there is untyped, non-nil error, you want to log the error string as well." }, { "prediction": "I don't think we need to do this. The native methods should be in `Datadog.Trace.ClrProfiler.Native.dll` and the native methods should be in `Datadog.Trace.ClrProfiler.Native.so`.", "reference": "I believe this can be fixed with the original code if you just omit the \".dll\" file extension so it reads `[DllImport(\"Datadog.Trace.ClrProfiler.Native\")]`. On Windows it would look for `Datadog.Trace.ClrProfiler.Native.dll` and Linux/Mac it would look for `Datadog.Trace.ClrProfiler.Native.so`." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "couldn't we just read the boolean as a string (I would assume that this return \"true\" or \"false\"), migrate if to its new value and keep using the same pref key?" }, { "prediction": "I think this should be `static int jx_input = 0;`", "reference": "If these variables are only used in main function, move these to the beginning of that function. If there is a foreseeable reason to have them as global statics just let me know." }, { "prediction": "I don't think we should be changing this to throw `ArgumentNullException(nameof(m_serviceProvider));`", "reference": "This one was wrong." }, { "prediction": "I don't think we need to do this. `changes []NodeChange` is a list of all the nodes that had their underlying data changed, even if it wasn't an user-visible change (e.g., if a directory block for the TLF root was updated, the directory block for the TLF root was updated but that wouldn't be visible to a user). `allAffectedNodeIDs []NodeID` is a list of all the nodes that had their underlying data changed, even if it wasn't an user-visible change (e.g., if a directory block for the TLF root was updated, the directory block for the TLF root was updated but that wouldn't be visible to a user). `allAffectedNodeIDs []NodeID` is a list of all the nodes that had their underlying data changed, even if it wasn't an user-visible change (e.g., if a directory block for the TLF root was updated, the directory block for the TLF root was updated but that wouldn't be visible to a user).", "reference": "What happens if nodes throughout a hierarchy are modified (as they would be)? It looks like we're going to `Reset` once for each `NodeID` affected." }, { "prediction": "I'm not sure why this change is needed.", "reference": "> Note that allocation of vmheap fails upon initializing dynamoRIO 64 on WoW64 processes. Thus, we need to pass -reachable_heap to avoid having to make this allocation. This should be solved by changing the default `vmheap_size` to be much smaller than 8GB for x64 DR inside WOW64." }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if it's worth it.", "reference": "Is it really worth expanding our public API for this? After all, isn't calling this the same as calling `notification.fully_formatted(...).lines`? If so, I'd rather not widen our API (and thus, increase our maintenance burden) when it's so simple to get all the lines already." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Is it necessary to keep this class around just to define this constant? Or can we place it somewhere else?" }, { "prediction": "Can we use `policy.Namespace` instead of `policy.Namespace`?", "reference": "Question - do we cache NetworkPolicy itself? If so, here we can point to NetworkPolicy?" }, { "prediction": "Why is this removed?", "reference": "For my view, `Register` means the process of **insert node resource to etcd through api-server**, which is called by upstream rather than here, how about changing the func name to `OnConnected`?" }, { "prediction": "I don't think we should be setting this to `true` if `telemetryInitialized` is `false`.", "reference": "I would prefer an active verb for this property, e.g. `initializeTelemetry`. The reason is that this property refers to something the engine does once on startup. Other properties that use passive voice (e.g. `authorizationEnabled`) refer to a state of the engine during its lifetime." }, { "prediction": "I don't think this is needed.", "reference": "please use new line to maintain reasonable line width" }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "I would skip this check or add an internal server error response." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to do it in the `update()` method, so that we don't have to do it in the `update()` method.", "reference": "missing `{` here (and then `}` after `notary_password = config.notary_password`); it's only going to do the first one" }, { "prediction": "Why did this change?", "reference": "This is odd because it's actually in our generated SiteSettingsPath, not in the SiteLocalSettingsPath (wp-config-ddev.php). Are these two files swapped somehow? I'd expect SiteSettingsPath to be wp-config.php and SiteLocalSettingsPath to be wp-config-ddev.php. BTW, I'm *way* ok with renaming that to SiteDdevSettingsPath." }, { "prediction": "Should this be `kythe.io/kythe/proto/extraction_config_go_proto`?", "reference": "It seems like this must necessarily be a stopgap. Can you please add a TODO(#xyz) to point to the appropriate issue?" }, { "prediction": "why do we need to check for `config.DisableKubeProxy`?", "reference": "Is the return signature necessary since we never actually return if there is a problem (I'm referring to the call to `logrus.Fatalf`). Let's pick a pattern and stick with it." }, { "prediction": "I think this should be `{ 'capIsNew': true }` instead of `{ 'capIsNew': false }`", "reference": "@btecu why is this override needed here? I'm not seeing a `new` being used here." }, { "prediction": "I'm not sure this is the right place to put this error message.", "reference": "Should it not be more something like: `MaxAccountConnectionsExceeded` here?" }, { "prediction": "I'm not sure this is the right way to test this, but I think it would be better to test that the service account is empty.", "reference": "minor: use a non-default CE service account for testing (since default is handled in a specific way in the code)" }, { "prediction": "Why do we need this?", "reference": "This is how I ran the 512MiB test. It's probably too much data for a fixture, and makes for longer functional tests (although still less than a minute on my laptop)." }, { "prediction": "Use && instead of &&.
    Line is too long. [81/80]", "reference": "So we weren't able to hide the fact that the file wasn't pre-generated and had to introduce this \"option\" to detect that?" }, { "prediction": "I'm not sure we should expose the maps as public variables to document the mappings.", "reference": "Agree that exporting these maps is the best tradeoff, just registering my ongoing discontent with the lack of `const` collections." }, { "prediction": "I think this should be `self._tab.run_js_async(\"\"\"{\", sel.baseNode, sel.extentOffset, );`", "reference": "This could probably use `const` as well?" }, { "prediction": "I'm not sure if `tmp` should be renamed to `orig` or `tmp` to make it clear that it's a `tmp` file.", "reference": "it doesn't look like these need to be exported?" }, { "prediction": "I think this should be `fmt/ioutil.go`", "reference": "I think you should remove \"fmt\" here. And change `fmt.Errorf` to `errors.Errorf`." }, { "prediction": "I'm not sure if we should add this column to the product table. I think we should add it to the `products` table in the future.", "reference": "Here's the `resources` attribute @jferris. I'm not against renaming `Product` to `Resource`, and this one... something else." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "If the context is unused, this is equivalent to `var wg errgroup.Group`." }, { "prediction": "I'm not sure if this is a good place to put FRAGSIZE, FRAGSIZEISMINIMUM, and FRAGALIGNRATIO. I'm not sure if it's a good place to put FRAGALIGNRATIO, FRAGSIZEISMINIMUM, and FRAGSIZEISMINIMUM.", "reference": "very minor: I'd prefer these two added rows are switched so that fragsizeIsMinimum directly follows fragsize" }, { "prediction": "I'm not sure if this is the right way to check for loopback IPs, but I'm not sure if this is the right way to check for loopback IPs. I'm not sure if this is the right way to check for loopback IPs.", "reference": "Given that 115 returns `True`, why would this be `False` here?" }, { "prediction": "I don't think this test is related to this PR, but I think it would be better to move this test to the `oauth2LoginWithOneClientConfiguredAndFormLoginThenRedirectDefaultLoginPage()` method.", "reference": "Please move this test method just below `oauth2LoginWithOneClientConfiguredThenRedirectForAuthorization()`" }, { "prediction": "I don't think you need to set the default value here.", "reference": "Why this new configuration?" }, { "prediction": "I think we can just do `new DataByteArray(buffer.get(new byte[buffer.remaining()]).array())`", "reference": "I don't think that we need to check `hasArray` here. I think the reason why this didn't previously check `hasArray` is that the array passed to `DataByteArray` must start at offset 0 and be valid through the array length, so a copy was needed in almost every case. It may be simpler to change this to use `ByteBuffers.toByteArray` and pass the result to create `DataByteArray`." }, { "prediction": "I'm not sure if we should add `SpanContext` and `SpanReference` to the `Add` method.", "reference": "`spanReference` -> `baggage`" }, { "prediction": "I don't think this is the right place to put this. It should be `${env.APP_ROOT}/static/logo-sm.png` or `${env.APP_ROOT}/static/logo-svg.png`", "reference": "Why the `/-/verdaccio/`?" }, { "prediction": "Why was this change necessary?", "reference": "Has been waiting for a million years" }, { "prediction": "I'm not sure if this should be a Date object. It's not a number, it's a string, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it's a number, it'", "reference": "Minor grammar detail: the 'than' is unnecessary" }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to do `return item_top_two[0]` instead of `return item_top_two[0]`", "reference": "I think you can just simply fix this line to `self[:2].to_pandas()`" }, { "prediction": "I don't think we need to escape the `\\` here.", "reference": "if we are returning the `ws` here when passing in `se:cdp` we can just return it straight or do we have to make a request to get the `ws` address?" }, { "prediction": "Can you move this to `assets/js/googlesitekit/datastore/site.js`?", "reference": "I could add a resolver for this (like above) but it seems more sensible to just change the one reference!" }, { "prediction": "I don't think this is the right place to put this. The parent timestamp is only {} seconds newer than parent timestamp {}. Minimum {} seconds\", timestamp, parentTimestamp, minimumSecondsSinceParent, actualTimeSinceParent, actualTimeSinceParent, parentTimestamp, minimumSecondsSinceParent, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, minimumSecondsSinceParent, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, minimumSecondsSinceParent, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, minimumSecondsSinceParent, parentTimestamp, parentTimestamp, minimumSecondsSinceParent, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, minimumSecondsSinceParent, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parentTimestamp, parent", "reference": "not sure \"actual\" adds value - secondsSinceParent is probably closer." }, { "prediction": "Line is too long. [82/80]", "reference": "Line is too long. [94/80]" }, { "prediction": "I think this should be `errors` instead of `min_items_error`.", "reference": "The error should be `At least :number items are required`" }, { "prediction": "I don't think we need this anymore.", "reference": "singleCaseSwitch: should rewrite switch statement to if statement (from `gocritic`)" }, { "prediction": "I'm not sure this is the right name for this interface.", "reference": "Could combine this with `encryptionKeyGetter` to have a single `keyGetter` interface. I'm not sure which way is better." }, { "prediction": "Can we remove this line?", "reference": "Is there any security issue here? If we integrate with Hive security (and I don't know if we have or not) is there some notion of re-authentication at connection time?" }, { "prediction": "I don't think this is the right thing to do here.", "reference": "Does this mean we do not support writeConcern on `createCollection`?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "I guess `sid` was for `sessionID`, but now it looks strange: `sid.ID`." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "We'll need `infrav1.SecurityGroupBastion` as well" }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if this is the right place to put it, but I'm not sure if this is the right place to put it.", "reference": "This `fileName` should probably be `remote` and be relative to the Fs root as per normal rclone usage." }, { "prediction": "I think this should be \"with re-indexing\" instead of \"with re-indexing\".", "reference": "That way we are back to having just one index on k_0 So we can really compare the execution times with and without re-indexing" }, { "prediction": "I'm not sure if this is the right regular expression.", "reference": "Expression that uses a negation pattern to exclude all characters that aren't in the expression." }, { "prediction": "I think this should be `Rpc-Echo-Service-Header` instead of `Rpc-Respond-Service-Header`.", "reference": "Similar to my suggestion for HTTP, let's remove this and use `ServiceHeader` instead." }, { "prediction": "I'm not sure if this is the right place to put this, but it seems like it should be `if serviceDirOnHost[0:1] == \".\" && commandSet == targetGlobalCommandPath {`", "reference": "The serviceDirOnHost[0:1] was completely wrong. It wasn't just Windows, glad you got this fixed!" }, { "prediction": "I think this should be 15 seconds.", "reference": "Would membership take 10+ seconds to detect the failed node?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this, so I'm not sure if this is the right place to do it.", "reference": "hmm, in this case perhaps the whole try-except could be removed altogether? because if the file does not exist, it's already returning `None`. In any other case it should actually probably fail with the exception, no?" }, { "prediction": "I'm not sure if this is the right place to put this function. It seems like it should be in `cmd.go` instead of `cmd.go`.", "reference": "This function does not need to be public" }, { "prediction": "nit: `! accounts.length &&! hasExistingTag`", "reference": "Any chance we can get a CSS class for this? I know it's just in one place but feels like a dangerous precedent to set." }, { "prediction": "I don't think this is the right place to check for `nextMethodName`?", "reference": "> && this.Extensions.ContainsKey(\"nextMethodName\") [](start = 96, length = 48) From line 124, looks like we don't need `&& this.Extensions.ContainsKey(\"nextMethodName\")` condition or we don't need line 124 #Closed" }, { "prediction": "Why is this removed?", "reference": "Moving this code from compat to core shaves 47 bytes out of compat and only adds 6 bytes to core so I thought it was worth it." }, { "prediction": "Why is this needed?", "reference": "Please use \".NET Core 3\" - i'm trying hard to use one form, and this is the one MS advices" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Unrelated to this change, but this is a fix for when TestDoStartCgroupInitHappyPath has a failure after the test goroutine has already exited." }, { "prediction": "I'm not sure why this is needed.", "reference": "Hmm, I'd really expect this to work, and yet it doesn't. I'll investigate later, though it might get Monday until I get the time." }, { "prediction": "I'm not sure this is the right fix. The `std::int64_t` should be `std::size_t`. The `size_t` should be `std::size_t`.", "reference": "Does this changes affect process building dynamic libraries anyhow?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Could you limit what is imported here?" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to do this in `lambda_executors.is_java_lambda(runtime)`.", "reference": "just to clarify - on line 1074 we update `zip_file_content` for non-local lambdas, but never store it, which means lambda never picks it up" }, { "prediction": "I'm not sure if this is a good idea to use `icmpCode` as an argument to `packetWithPorts` or `icmpType` as an argument to `packetWithPorts`.", "reference": "Golang naming convention is to use camel case `icmpPktWithTypeCode` Often the linter will complain" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "We can do away with assigning the response here too." }, { "prediction": "I think this should be `newViewportHeight + extraHeight + 'px'`", "reference": "Bumping the newViewportHeight" }, { "prediction": "I don't think this is the right thing to do. It's not the right thing to do, but it's the right thing to do. I'm not sure if it's the right thing to do.", "reference": "Is this change correct? Looks like a typo and not sure this should be changed?" }, { "prediction": "I'm not sure if this is the right place for this function. It seems like it should be in `astroid.py` instead of `astroid.py`.", "reference": "I checked the tests coverage and strangely it look like those three lines are not covered (?!). Do you have the same result on your side?" }, { "prediction": "I think this should be `System.Diagnostics.CodeAnalysis.CodeAnalysisException`, not `System.Diagnostics.UnsupportedOperationException`.", "reference": "nit: please try to avoid changing end of the file (it adds a noise to the code review, but does not provide too much value)" }, { "prediction": "I don't think we need to do this.", "reference": "I don't see the \"only\" part reflected in the code but maybe I'm missing it. Also, the indentation is misleading: the `.SelectMany` calls are perfectly aligned but are *not* operating on the same \"level\". I'd expect the second `SelectMany` to be on the same height as the inner `Where`, just break `pathObj => pathObj.Where` and lines won't be that long." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if `plugin_hooks` is the right thing to do here, or if it's the right thing to do.", "reference": "It seems like most of these will never be nil, are they optional just in case?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "`.addColumn(\"c1\", IntegerType.INT, true)` means `PkHandle=true`, maybe should add `.setPkHandle(true)` in line 31" }, { "prediction": "I don't think this is the right place for this.", "reference": "how about `Cannot encode row key with non-integer type` directly?" }, { "prediction": "I think this should be `fetchUnfinishedFlows` instead of `fetchActiveFlowByExecId`", "reference": "The method names `fetchUnfinishedExecutions` and `fetchUnfinishedFlows` are too similar to each other. Would it be better to use the name `fetchUnfinishedFlowsMetadata` since you are only fetching metadata info about the flow?" }, { "prediction": "I think this should be `sudo pkg install -y libevent msgpack libssh` or `sudo pkg install -y libevent msgpack libssh`", "reference": "Note that `sudo` is not available by default on BSDs; there are a few places in the codebase here where that's explicitly worked around by using `su`." }, { "prediction": "I'm not sure this is the right answer. It's the answer to life, universe, everything.", "reference": "ultra nit: missing Oxford comma :P" }, { "prediction": "I think this should be `Analyzed` or `Optimized`?", "reference": "This is not supported in Spark 3.0.0-rc2 yet. I'd skip this for now." }, { "prediction": "I'm not sure if this is the right place to put this interface.", "reference": "BLOCKING: Why does `Query` return an `*exec.FunctionSignature`?" }, { "prediction": "I'm not sure if this is the right place to put this method.", "reference": "please move this down to immediately above the assignment to `c.dirtyBcache`" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Don't need the `, err` part since you've already handled it." }, { "prediction": "I think this is a test case that needs to be fixed.", "reference": "Please add two additional SECTIONs that show that this also works if the dative bond is in the reactant (reaction SMARTS `[O:1]->[H+]>>[O:1].[H+]`) or in the agents (reaction SMARTS `[O:1][H]>N->[Cu]>[O:1].[H]`)" }, { "prediction": "I don't think we need to regenerate the certs.", "reference": "What happens if the certificate rotation fails and we are prematurely removing this file?" }, { "prediction": "I think this should be `s.once.IsRunning()`", "reference": "does this change belong here?" }, { "prediction": "I think this should be `WFWD` instead of `CWD`.", "reference": "This returns an error" }, { "prediction": "I'm not sure if this should be added to libcalico-go. I'm not sure if it's a good idea to add it to libcalico-go.", "reference": "If we think we might someday write a native nftables backend, do you think it would make sense to just use generic dataplane configuration? e.g, `dataplane = iptables | ebpf | nftables`, but for now selecting `nftables` uses iptables in nft compat mode?" }, { "prediction": "I think we can just use `require.NoError(headTipSetAndState.TipSet)` instead of `require.NoError(headTipSetAndState.TipSet)`", "reference": "Looks like that helper function is general enough that it should reside in testhelpers" }, { "prediction": "I don't think this is the right place to put this code.", "reference": "This isn't incorrect IMO, but I think it would be better to fix this in drupal7PostStartAction and also in drupal6PostStartAction. It seems to me like those were both somehow neglected on this. Use drupal8PostStartAction as example. Congrats on your first golang PR! Please make sure to test it manually." }, { "prediction": "I think this should be `/ERROR/` instead of `/Using available host/`", "reference": "I'd like to ensure that the error message at least has some reference to the flag that is not allowed. Something like `/ERROR(.+)--hosts/` would work." }, { "prediction": "I'm not sure about this change, but I'm not sure if it's worth it. If it's worth it, I'm not sure if it's worth it.", "reference": "Should we say \"specifying two public subnets\"?" }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "Issue number? When? Why?" }, { "prediction": "I think this import should be `from._sapi4 import speech` (or `from._sapi4 import speech`)", "reference": "You should not rely on `PitchCommand` being imported into speech. Please import it from `speech.commands`." }, { "prediction": "I think this should be `CatalogProperties.WAREHOUSE_LOCATION` instead of `temp.toUri().toString()`", "reference": "Is this a constant used in the Nessie project itself? If so, perhaps you might consider a follow up for adding `NessieCatalogProperties` class at some point, to help make them more clear to users looking to adopt Nessie coming from the Iceberg repo itself" }, { "prediction": "Do we need to include `ReadLevel` and `MaxReadLevel`?", "reference": "maybe we should rename: MinTaskID -> MinTaskIDExclusive, MaxTaskID -> MaxTaskIDInclusive," }, { "prediction": "I think this should be `ecs-nvidia-nvidia`", "reference": "You may need to make this configurable if we expect people to be able to use the normal Nvidia runtime on other Linux distributions like Ubuntu or Debian." }, { "prediction": "I'm not sure if this is the right permissions for the leaf nodes. I'm not sure if this is the right permissions for the leaf nodes. I'm not sure if this is the right permissions for the leaf nodes, but if it is the right permissions for the leaf nodes, I'm not sure if this is the right permissions for the leaf nodes. I'm not sure if this is the right permissions for the leaf nodes.", "reference": "Originally the DenyExport was a subscribe permission because it meant that if on this LN connection, if we deny export of \"foo\" it means that it would reject a subscription (hence subscribe permission) on \"foo\" from the other side. Now you are changing to simply not allowing this server to publish on \"foo\". I am not saying this is wrong, but we completely flip the meaning." }, { "prediction": "This should be `opmask_with_dsts()` instead of `opmask_with_dsts()`.", "reference": "> k1 src0 src2 -> dst s/src2/src1/ nit: k1 is actually src0 according to instr_get_src(instr, 0) which makes this a little confusing" }, { "prediction": "Why change to (%o), change to (%o), change to (%o)\", kc.kmdDataDir, dataDirStat.Mode()&0077?", "reference": "I believe that you meant to have the following on the second one, right? `dataDirStat.Mode()^0077`" }, { "prediction": "Why is this `uint64`?", "reference": "The reason a `ByteCount` is used here, is that the H2 mapping in gQUIC requires this layer violation, which is why `CloseRemote` is not part of the public API. This layer violation will be resolved in IETF QUIC" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to do this in a separate function, e.g. `IsBeneficialSpell(spell_id)` and `IsInvisSpell(spell_id, SE_Beneficial)`", "reference": "I dig the helper function!" }, { "prediction": "I'm not sure this is the right place to put this package.", "reference": "Please add the Copyright header." }, { "prediction": "This should be `target.py`, right?", "reference": "Is this the best way to import `FileSystemTarget`?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "Wait -- os_local_state_t.tid is thread_id_t though, so we need to read a pointer-sized value via READ_TLS_SLOT_IMM, rather than changing these locals to ints. Maybe have a READ_TLS_TIDSZ_SLOT_IMM or sthg." }, { "prediction": "I don't think this is correct. The `!clrstack -i` should be removed.", "reference": "Don't use! in the messages because it isn't used on xplat. There is a SOSPrefix define that can be used (blank on xplat and! on Windows). Do we really need 3 newlines?" }, { "prediction": "I think this should be `DagsterInvariantViolationError( 'DAGSTER_HOME must be absolute path', )`", "reference": "print out what we got here in the error" }, { "prediction": "I'm not sure if this is the right place to store select query.", "reference": "Does this need to be global?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure if this is the right place to do this, so I'm not sure if it's the right place to do this.", "reference": "Yep, could be simplified. Now looks like other *Map.values() impls" }, { "prediction": "I think this should be `/print last api response/`", "reference": "This method will be for debug?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "// Key returns the private key for a specified name that was encrypted with the // provided password. If the private key does not exists it creates a new one // with a name and the password, and returns with `created` set to true." }, { "prediction": "I'm not sure this is the right name for this entity. It's not a diagram object, it's just a representation of a class.", "reference": "Adding the type hints revealed that it was necessary to distinguish between a ``PackageEntity`` and a ``ClassEntity``, because the ``ClassEntity`` has additional attributes that were dynamically added in the previous code, which confused ``mypy``." }, { "prediction": "I think this should be `add_prefix_suffix` instead of `add_suffix`.", "reference": "These two functions should be available now." }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to have the source file be the same size and modTime as the source file.", "reference": "`fi` is what the result of Stat is called elsewhere in this file not `finfo`" }, { "prediction": "I'm not sure this is the right way to test this, but I'm not sure it's worth it.", "reference": "I'm confused; are we just dropping these methods without deprecation?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "can we use PC's time to version in Distributed Systems?" }, { "prediction": "I don't think this is necessary. The `user_full_name` field is used to determine whether the user is logged in or not.", "reference": "is this \"unless\" actually needed?" }, { "prediction": "I'm not sure if this is the right place to put this check, but it seems like it would be better to move this check into the `newStem()` method, so that we don't have to create a new instance every time we add a new stem.", "reference": "We don't accept empty words for lookup anymore, again" }, { "prediction": "nit: we can use `npm run` instead of `npm run`", "reference": "We'll have to account for CI installations being faster than local ones. Do y'all think we should leave it at < 30 green / < 50 orange | >= 50 red or lower our thresholds?" }, { "prediction": "I think this should be `W3C_MINIMIZE_WINDOW`, not `W3C_MAXIMIZE_WINDOW`.", "reference": "No need for this to be `W3C_` since there is no JWP equivalent" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this, but I think it would be better to move this to `spec/core/backport_random.rb`.", "reference": "As far as I can tell, there's nothing that creates an instance of `Random` or that calls `rand` or `seed`. Am I missing it? If not, let's remove the `Random` class since we don't really need it and we can move the definitions of `shuffle` into `RSpec::Core::Ordering`. One less type :)." }, { "prediction": "I'm not sure if this is the right place for this function. I'm not sure if this is the right place for this function.", "reference": "Is this ever actually used?" }, { "prediction": "I think we need a new default processor here. We don't need a new default processor here.", "reference": "this section of the codebase should be noted as a candidate for caching, and as a place where multiple tipsets is making things extra tricky" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "Do we need to save the existing value of the stolen reg somehow?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if it's the right thing to do here.", "reference": "maxResults should come from FLAGS once #244 is submitted." }, { "prediction": "I'm not sure if this is needed.", "reference": "is this wanted?" }, { "prediction": "I think this should be `pytest.importorskip('linode')` instead of `pytest.importorskip('linode')`", "reference": "What exception is actually happening here? AFAIK `pytest.importorskip` with just return `None` if there's nothing to import. Which means that this check'd always return `True`. `pytest.importorskip` is specifically designed to trigger skipping the current test anyway so I don't know why you would wrap it like this." }, { "prediction": "Content-Type should be `application/x-www-form-urlencoded`", "reference": "Does it send requests with urlencoded bodies anywhere? I thought it sends only json. Maybe content-type should be `application/json` by default?" }, { "prediction": "This should be `--ignore_chromium`.", "reference": "I'm not sure about adding more flags here when we're trying to simplify things, I thought we were going to check for patches changes to decide if we needed to update or not?" }, { "prediction": "why did you change this?", "reference": "`testExecutionPb` is a global variable (from `gochecknoglobals`)" }, { "prediction": "This method is no longer used.", "reference": "~Method is public and removing it would be a BC Break, you can deprecate it if you want.~" }, { "prediction": "I think this should be `%v` instead of `%v`", "reference": "this got me a little confused when reading `build.log`. The err is printed with a log.Error later on but that ends up after the stack trace." }, { "prediction": "I think this should be `--namespace-paths`.", "reference": "Can we make these more explicitly for Rust only? It seems like JS and Go use flags with their name in them." }, { "prediction": "I think this should be `u.Errorf(\"open bucket %q: invalid query parameter %q\", u, param)`", "reference": "Should unsupported query parameters just be ignored? I think that's more common than error out." }, { "prediction": "I don't think this is correct. The namespace of a Task can also be changed by specifying the property ``task_namespace``. This solution has the advantage that the namespace of a Task can also be changed by specifying the property ``task_namespace``. This solution has the advantage that the namespace of a Task can also be changed by specifying the property ``task_namespace``.", "reference": "Actually can we avoid mentioning `Register._UNSET_NAMESPACE`. I thought of it as an implementation detail of the simpler concept of \"being unset\". Perhaps the docs become more natural if we remove the \"If called without arguments or with...\" part and just say \"you have to call this function without arguments at the end of any file it has been used. That is to ensure blah blah\". Something like that. Just a suggestion." }, { "prediction": "I'm not sure if this is the right place to catch the exception, but I think it would be better to print the exception message in the `debugWarning` function.", "reference": "I assume it raises COMError? If so perhaps best to just catch that specifically, so as to not hide other more critical errors." }, { "prediction": "Should this be `github.com/hacdias/caddy-minify`?", "reference": "Since minify can generate errors, it should at least go after the errors middleware. And you definitely don't want to be minifying after the gzip writer has closed." }, { "prediction": "I don't think we need a `TracerProvider` struct here.", "reference": "nit: we could remove the `config` field as it is a duplicate of the `provider.config` field." }, { "prediction": "nit: `forseti-server-allow-grpc-internal` -> `forseti-server-allow-grpc-internal`", "reference": "Nit: from the Internet." }, { "prediction": "I don't think this is needed.", "reference": "this is internal package, move to bottom and run'make fmt'" }, { "prediction": "I don't think we should be exposing this as a public property.", "reference": "Why is this better than ApplicationStopping?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "Maybe worth expanding that these 2 are supported by cert-manager but other values exist" }, { "prediction": "This should be `$options['src'] = $provider->generatePublicUrl($media, $format);`", "reference": "Why was this merged? It should have raised some questions IMO @core23 @OskarStark. It's already in 3 releases now, so we can't revert it can we? How can we fix this? Please have a look at #1065" }, { "prediction": "I think this should be `--rpc-http-authentication-credentials-file` instead of `--rpc-http-authentication-public-key-file`.", "reference": "What if `node.jsonRpcConfiguration().getAuthenticationPublicKeyFile()` is empty string, would that cause a problem here?" }, { "prediction": "I'm not sure if we should add a default value for `RenewBefore` or `RenewAfter`. I think we should add a default value for `renewBefore` and `renewAfter` to `CertificateRenewBefore` and `CertificateRenewAfter`.", "reference": "The `omitempty` struct tag does not do anything for non-pointer structs. I think we may need to consider making both of these fields pointers, so that they are excluded from output when not set, and also to make it easier to compare to the zero value. That said, I'm happy to merge this now and open an issue to verify the behaviour is as we want ahead of cutting v0.6.0." }, { "prediction": "I think this should be `t.equals(to)` instead of `t.equals(to.getNext())`", "reference": "I think this is should absolutely be `==`, as the interface cannot control the implementation of equals (and it's part of the contract of the enclosing function). Can we add this interface to the exceptions of the rule?" }, { "prediction": "Why are we using `types.UID` instead of `namespaceUID`?", "reference": "It looks like the UID is the only other thing that we use from `namespace`, so I suggest to copy that out and lose `namespace`, so we don't have to worry about setting it to nil." }, { "prediction": "I think this should be `aws/codebuild/amazonlinux2-x86_64-standard:3.0`", "reference": "Can we define this constant in the`deploy` pkg instead? this would allow us to keep it private" }, { "prediction": "I think this should be `mydir/toto` instead of `mydir/toto`.", "reference": "I don't like this fixture name, should be a noun like `initialized_linter`? But it's outside of the scope of this MR." }, { "prediction": "I don't think we need to pass the settingsService into the JsonPrinter constructor.", "reference": "Could we keep this as a static reference (JsonPrinter.jsonAsDatasetDto(releasedVersion); and perhaps change the constructor line to just be a static set method and use that here instead? (I suspect it was the warning that'static methods should be accessed in a static manner' from my IDE that caused me to make this change in the first place...) (I can make a PR to your branch if you want.)" }, { "prediction": "I'm not sure this is the right way to do this, but I don't think it is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "Keys.COMMAND seems to be an alias to Keys.META. That isn't mentioned?" }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a `Fractions` field for the fractions, and then have the `Fractions` field be a `SetFractions` method.", "reference": "This should go in `ConfigLocal` (and then re-generate the mocks)." }, { "prediction": "`release_msid` and `release_mbid` can be `None` if `release_msid` is `None`.", "reference": "Nitty but entry.get for the same thing" }, { "prediction": "This is not a golang entry point, right?", "reference": "Might not hurt to mention the function never returns (since this all ends in `execve`) so `main` never actually runs." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure.", "reference": "nit: add new line after this block" }, { "prediction": "This should be `width: 3.25rem;`", "reference": "I believe there is some javascript that also uses this 60px number for calculations. I think I'd rather keep the number in px instead of rem to make that correspondence easier to see. If 3.25rem!= 60px, can you also change the other place where `60` is used to in the JS?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "retrying is an installed 3rd party library just like jinja and sendgrid; perhaps try grouping all of them together?" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix.", "reference": "you could always use List.listIterator with previous() and hasPrevious() to traverse all kinds of j.u.List backwards. No need for special cases for ArrayList and Vector." }, { "prediction": "I think it's better to use a try-with-resources block here.", "reference": "remove the bitmap of index 1 from the list not the 0th one. because when we keep on undoing, it would be better if we end up with the original image rather than some randomly edited image. I am not sure whether only just removing bitmap from the list would clear memory. I think you should call bitmap.recycle before removing that bitmap from the list." }, { "prediction": "I don't think you need to change the year.", "reference": "this is a existing file so let's keep 2019" }, { "prediction": "I think this should be `Optional` instead of `Optional.empty()`.", "reference": "can you change this instead to just `type.toString()` and then you wouldn't have to expose the getBitMask in the enum. (Alternatively you could have used `type.hashCode()` but that doesn't feel as nice)" }, { "prediction": "This should be `new TrieStore(DbProvider.StateDb, LimboLogs.Instance).AsReadOnly(DbProvider.StateDb);`", "reference": "AsReadOnly() would be better here" }, { "prediction": "I'm not sure if this is a good change, but I think it would be better if the dictionary were updated to contain the indices that were inserted, updated or deleted before the change happened.", "reference": "I suggest that we use `query_based_sync` instead of `partial_sync`." }, { "prediction": "I think this should be `\"BlockBlob\"` instead of `\"x-ms-blob-type\"`", "reference": "How does the user use this? By converting the type using `As` function and add the header? Maybe add an example on how." }, { "prediction": "I think it would be better to have a `ApiMethodParamTransformer` and a `LongRunningTransformer` and have the `initCodeTransformer` take a `InitCodeTransformer` as a parameter.", "reference": "I'm trying to understand the effects of this change. Is setting this to something other than the old default (that is, `initCodeTransformer = new InitCodeTransformer()`) generally necessary, or are we doing this only to support Python?" }, { "prediction": "I'm not sure this is the right thing to do. The docstore API doesn't take zero-value key.", "reference": "\"Constructor\" isn't a standard term in Go or this project, although we use it informally amongst ourselves. And I think it will confuse people coming from languages like Java. So can we leave this as it was?" }, { "prediction": "I think this is a good change, but I'm not sure if it's a good idea to change this test.", "reference": "Why do we have to change the test dir?" }, { "prediction": "I think this should be `el.querySelector('summary')` instead of `el.querySelector('summary')`", "reference": "This should test the flattened tree instead. details > summary works across shadow tree boundaries." }, { "prediction": "I think this should be `MvxBindingLog.cs` instead of `MvxAndroidLog.cs`", "reference": "Not sure I am a big fan of these duplicated Log classes." }, { "prediction": "I'm not sure if this is a good name for this const. It's not clear to me what this is.", "reference": "It's long-winded, but the convention is to give constants a common prefix which, see `reasonDomainVerified`." }, { "prediction": "I don't think this constant is needed anymore.", "reference": "Using lanes later down, this threshold could be reduced for similar effects. Otherwise we look a bit to far." }, { "prediction": "Should this be `char *tarball[MAX_PATH_LENGTH];`?", "reference": "Let's get more verbose about names. struct `wq_conda_environment`: if it can really only be used for conda. struct `wq_software_environment`: if it has potential use outside of conda." }, { "prediction": "I'm not sure if this is the right place for this test.", "reference": "Should we set this back to `false` inside each `t.Run`? so that we can have more than one testcase that can have paginated responses" }, { "prediction": "I think it would be better to use `Iterables.filter(allManifests, manifest -> manifest.content() == ManifestContent.DELETES)` instead of `Iterables.filter(allManifests, manifest -> manifest.content() == ManifestContent.DATA)`", "reference": "What about using `dataManifests == null || deleteManifests == null`?" }, { "prediction": "I'm not sure if this is the right place for GlobalHitsThresholdChecker. I'm not sure if it's the right place for GlobalHitsThresholdChecker, but if it's the right place for GlobalHitsThresholdChecker, then I think it's better to create a new one for GlobalHitsThresholdChecker.", "reference": "The `HitsThresholdChecker` should be created once and shared within the collectors? We also don't need to use the `GlobalHitsThresholdChecker` if the executor is null or if there is a single slice." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "move this to below `antrea.io` import section" }, { "prediction": "I'm not sure this is the right place to put this method. It's only used on Activity instances that were created via older means that predate . I'm not sure if this is the right place to put this method.", "reference": "Seems likely to confuse people. What if we moved it into ActivitySourceAdapter and made it private?" }, { "prediction": "I think this should be `errors.New(\"Cannot send transactions with value and calldata\")`", "reference": "gas price don't need to be a multiple cuz we support allll gas prices now" }, { "prediction": "I don't think this should be called on the client process exit.", "reference": "We are exposing implementation details in the interface. What if there is no processes involved in an implementation of `ITestRequestSender`?" }, { "prediction": "I'm not sure if this is the right way to do this.", "reference": "It would be awesome not to handle the broad exception here. Instead, raise a custom exception, something like `ModelNotSetException`, from the `require_model()`, and then handle it here with a nicer message to tell the user to set the model first." }, { "prediction": "I think this should be `manage_themes_customize` instead of `customize_theme`.", "reference": "This already exists under the `theme` lang key, please remove this." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's a good place to put it.", "reference": "Let's add a simple inline HOC around the default export below to provide the value as a prop (no need to introduce a reusable function for this yet)." }, { "prediction": "Use the new Ruby 1.9 hash syntax.
    Use the new Ruby 1.9 hash syntax.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer double-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer double-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer double-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don", "reference": "I believe that you end up printing out the result of the assignment here instead of the netmask." }, { "prediction": "Can we use `tarball-blahblah-file.name` instead of `tarball-blahblah-file.tar.gz`?", "reference": "We have to update the filename here." }, { "prediction": "I don't think this is the right thing to do. The option should be `--cpp-field-style STYLE` and `--cpp-field-upper STYLE` to match the existing `--cpp-field-lower STYLE` option.", "reference": "The `--cpp-field-case` looks like `--cpp-field-style` instead of `-case`. - 'unchanged' - leave unchanged (default); - 'upper_camel' -upper camel case; - 'lower_camel' - lower camel case." }, { "prediction": "I'm not sure if this is the right thing to do here.", "reference": "I haven't thought about this a lot yet, but if we were to try this change, we'd still need to keep the code to delete it from the `.origin` file for backcompat." }, { "prediction": "I don't think this is needed.", "reference": "In my opinion I think it is possible to add `private final` here" }, { "prediction": "I'm not sure if this is the right place for this change.", "reference": "Feel like \"exit\" doesn't convey that the packet will be dropped. \"drop-and-exit\" or \"error-exit\" maybe?" }, { "prediction": "\"A Main actor must have a create constructor which takes a single Env \" \"parameter\" -> \"A Main actor must have a create constructor which takes a single Env \" \"parameter\"", "reference": "How do you feel about \"The Main actor\" instead of \"A Main actor\", while we're already here changing the message?" }, { "prediction": "I don't think we should add this permission to `zk-read` as well.", "reference": "I cannot see that this new permission is used anywhere? And if the new zk handler is covered by `zk-read`, should not also existing `ZookeeperInfoHandler` handler implement PermissionNameProvider and declare the same permission, for consistency?" }, { "prediction": "I think this should be `list` instead of `np.ndarray`?", "reference": "Is this reasonable?" }, { "prediction": "Can you add a TODO to remove the Shear and Rotate transforms?", "reference": "We may move this TODO to Line15." }, { "prediction": "Why do we need to check available stock here?", "reference": "You have to verify the return type. If it's a reponse, return it. Otherwise do nothing." }, { "prediction": "I think this should be called `run_stride_unroll` instead of `run_stride_unroll`.", "reference": "No. Keep the header include and do `extern template...` to skip the instantiation from that compile unit. (I pushed a fix directly to your branch)" }, { "prediction": "I think this should be `max({}())` and `min({}())` instead of `max({}())` and `min({}())`", "reference": "these tests are currently somewhat nonsensical. This code expands to `a, b = {}.keys` when it really should be expanding to `a, b = {}.keys()` -- though fixing this causes the test to fail so I suspect something worse is going on here that I don't quite understand?" }, { "prediction": "I think we should keep the old test as it was before.", "reference": "Why did this need to change?" }, { "prediction": "I don't think this is used anywhere.", "reference": "/go/pkg/mod/golang.org/x/xerrors@v0.0.0-20190410155217-1f06c39b4373/adaptor_go1_13.go:16:21: Frame not declared by package errors (from `typecheck`)" }, { "prediction": "I'm not sure if this is a good place to put it. I'm not sure if it's a good place to put it, but if it's a good place to put it, I think it's a good place to put it.", "reference": "Probably doesn't go here because I think it's specific to the HTTP API layer. This class is too internal to declare such a name." }, { "prediction": "I think it would be better to use `assertThat(get(\"/health\").isSuccessful())` instead of `assertThat(get(\"/health\").isSuccessful()).isTrue();`", "reference": "in preparation of directly writing the /health endpoint one day.. we should have content checks." }, { "prediction": "I think this should be `%d` instead of `%q`.", "reference": "question (non-blocking): Is there a benefit from using `%q` instead of `%s`?" }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "I would suggest to keep two empty lines between functions in cpp files" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "This change causes the test to fail on both rocm-1.9.x and rocm-head." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a `RuleViolation` class, and have the `RuleViolationFixer` implement `RuleViolationFixer`, and have the `AutoFixableRuleViolation` class implement `RuleViolation` and `AutoFixableRuleViolation` and have the `RuleViolationFixer` implement `RuleViolation` and `AutoFixableRuleViolation` implement `RuleViolationFixer`, and have the `RuleViolation` implement `RuleViolation` and `AutoFixableRuleViolation` implement `RuleViolation` and `AutoFixableRuleViolation` and have the `RuleViolation` implement `RuleViolation` and `AutoFixableRuleViolation` implement `RuleViolationFixer`, and have the `RuleViolation` implement `RuleViolation` and `AutoFixableRuleViolation` implement `RuleViolation` and `AutoFixableRuleViolation` implement `RuleViolation` and `AutoFixableRuleViolation` implement `RuleViolation` and `RuleViolation` and `Rule` respectively.", "reference": "I'd consider moving all fix related stuff to a distinct package to avoid contaminating the base package" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "Use `os.path.join` for path concatenation." }, { "prediction": "I don't think we need to add YolactProtonet here.", "reference": "Use upper case: YOLACTHead, YOLACTProtonet, YOLACTSegmHead" }, { "prediction": "This change is unrelated to this PR, but I'm not sure if it's worth it.", "reference": "The driver tests should be updated to use the concrete type instead of the driver directly; right now your test coverage of the concrete type is 0%." }, { "prediction": "I'm not sure this is the right place to catch this exception.", "reference": "I would prefer the message to be more actionable. Like 'There should be no space between & and the variable name' or something similar." }, { "prediction": "I don't think this TODO is needed.", "reference": "The image attribute is not supposed to be the text of the node. I'd rather keep it separate (the previous `@Text` attribute was fine). A practical reason for that is in the future, other languages may have a way to get the text of their node, in which case that wouldn't be fetched with `getImage`, for compatibility, but probably with a `getText` method, or `getSourceCode` like in #1728. Also we *may* deprecate or otherwise put `getImage` out of use as soon as 7.0, given its contract is super loose." }, { "prediction": "I'm not sure if this is the right place to put this, but it seems like it should be `@exclusion_patterns = [] << Regexp.union( *[\"/lib\\d*/ruby/\", \"org/jruby/\", \"bin/\", \"/gems/\", \"lib/rspec/(core|expectations|matchers|mocks)\"].map {|s| Regexp.new(s.gsub(\"/\", File::SEPARATOR))})`", "reference": "The `[] +` seems weird to me. Why is it there?" }, { "prediction": "Line is too long. [87/80]", "reference": "Not sure if this constant is defined at the right place style-wise. Maybe move it up to before 'belongs_to' like DISCOUNT_TYPES in coupon.rb?" }, { "prediction": "I'm not sure if this is the right place to put this function, but I'm not sure if this is the right place to put it.", "reference": "What about a line with just spaces/tabs? Or a line with a couple spaces followed by a `#`?" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "if funder_is is not blank (L375) there is not need to check if org_id is not blank (L379) since you will never enter in the if (L374)." }, { "prediction": "I'm not sure this is the right place to do this.", "reference": "Don't need this-> here." }, { "prediction": "I'm not sure if this is needed.", "reference": "I'm a little concerned about relying on a private module, as they could change the implementation at some point, I'd like to have some test to validate this is working as intended." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure if this is the right place to put it. I'm not sure if this is the right place to put it.", "reference": "There might other values that we don't support here (eg. `[]`). So it might be safer to check for the supported types instead (string or number)." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to do this in the `if (expr->name() == \"near\") {` block.", "reference": "FYI, It won't have any benefit to move from trivial types." }, { "prediction": "I'm not sure if this is the right name for this capability. It seems like it should be named something like `secrets-environment-variables.sssm` or something like that.", "reference": "i missed these discussions- but ` \"secrets-ssm-environment-variables\"` is what was agreed upon with cp?" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "whats the difference between this package and `github.com/golang/protobuf`? or did vscode just decided this was the package it wanted to used?" }, { "prediction": "I think this should be `this.getParent().getScene().getWindow()` instead of `this.getParent().getScene().getWindow()`.", "reference": "Just asking: What does this line do? Does it add the stylesheet from the parent to the dialog?" }, { "prediction": "I don't think we need this, it's already in the `scikit-learn` package.", "reference": "Including the scikit-learn dependency here would pull in scikit-learn for everyone who depends on Dagster. If you put it in the setup.py under docs_snippets, we'd avoid that problem (although I think it's already there)." }, { "prediction": "I'm not sure why this check was removed.", "reference": "Why remove this?" }, { "prediction": "I think this regression is not related to this PR, but it's a regression test.", "reference": "Why remove this? It seems like we should keep this around as a regression test, unless we can guarantee this will never be called without a model set (does your new code guarantee that?)" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "Because this defaults to `{}` if `global._googlesitekitUserData?.permissions` is `false`-y, the checks below around `state.capabilities` always result in the `!! capabilities === true` path. This shouldn't have a default value of `{}` if there's the possibility that `global._googlesitekitUserData?.permissions` can be `undefined`/`false`/`null` legitimately." }, { "prediction": "I think this should be `log.ram_handler.change_log_capacity(capacity)` instead of `log.ram_handler.change_log_capacity(capacity)`", "reference": "Please add a space after the comma here (generally, with arguments there's always a space after commas)." }, { "prediction": "I don't think we should change the sentence here.", "reference": "From the context, should it say \"Flags defined in this class must be used with caution...\"?" }, { "prediction": "I think this should be `/javascript/grid-ui/src/tests/**/*.test.tsx`", "reference": "We don't need this file, we can use the one that is in the grid-ui directory" }, { "prediction": "This should be `%s`", "reference": "\"Exported key for account\"?" }, { "prediction": "I think this should be CRLF + \"\\r\\n\" instead of \"\\n\".", "reference": "Normally we use Environment.NewLine unless you really want it to always be \\r\\n" }, { "prediction": "why remove this?", "reference": "why did you remove `verifyHeaders`?" }, { "prediction": "Line is too long. [87/80]", "reference": "Thanks for cleaning up these deprecated calls" }, { "prediction": "I think this should be `Invalid username.`", "reference": "@akarve this breaks error catching logic on the front end, I'll fix this. That's why I prefer to use some machine-friendly error codes that won't change frequently." }, { "prediction": "I'm not sure this is the right place for this function, but it seems like it should be moved to `ResourceTypeService` and `ResourceTypeEndpoints` to `ResourceTypeConfigmap` and `ResourceTypeSecret` to `ResourceTypeService` and `ResourceTypeEndpoints` respectively.", "reference": "We support process remoteQuery for Service. Why are we removing it?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "This is specifically for testing?" }, { "prediction": "I think we should remove the `getStatistics(true)` method from the `AbstractAdmin` class.", "reference": "I think this is related to the social stats and probably does not need to be removed." }, { "prediction": "I think this should be `require-description-complete-sentence`.", "reference": "Yep, jsdoc again.. It seems that when the plugin description is wrapped within `eslint-disable/enable` expression it's not generated at all. After adding the `@class AutoColumnSize` tag right after the `@plugin` tag the plugin appears in the docs. Please review the other plugins." }, { "prediction": "I'm not sure if we should wrap the error here. I think we should wrap the error in the nextWithContext.", "reference": "This usage of the result doesn't look quite right. I would not expect the first page of values to be empty if there were multiple pages of results. This also obscures the error case when no values are returned (handled in the next `if` block) by returning a more generic error from the Azure SDK from `result.NextWithContext()`." }, { "prediction": "I think this should be `if exe, err := exp.GetAddressDetails(hashStr); err == nil {`", "reference": "unknown field AddressDetails in struct literal (from `typecheck`)" }, { "prediction": "I'm not sure if this is the right way to do this. I think we should be able to just pass `region` into the `NewSessionWithOptions` method.", "reference": "Just noticed, are we specifically missing the addition of `SharedConfigState: session.SharedConfigEnable`?" }, { "prediction": "I don't think this is the right fix. The `ScanIndex` value should be `-1` if `NumPoints` is greater than `ScanIndex`. The `ScanIndex` value should be `-1` if `NumPoints` is greater than `ScanIndex`. If `ScanIndex` is less than `NumPoints`, then `ScanIndex` should be `-1`.", "reference": "Not sure what this is. Bad merge?" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix.", "reference": "I think this may be a RW lock." }, { "prediction": "I think this should be `plugin_helper.go`", "reference": "Perhaps we should tuck this away into a dedicated subdir and name it `config` or something similar? Or maybe it would be happy living in `common`?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it. If it is the right place to do it, then I'm not sure if this is the right place to do it.", "reference": "Doing a select query inside of a loop like this is not ideal. We should fetch recipes once and then loop through it in memory to perform this check" }, { "prediction": "I think this should be `self.index.to_numpy(copy=True)` instead of `self.index.to_numpy(copy=True)`", "reference": "too long here. (104 > 100)" }, { "prediction": "I don't think we should be catching KeyNotFoundException here.", "reference": "Use TryGetValue instead of catching exception" }, { "prediction": "I'm not sure this is the best way to test the content of an admin page. I'm not sure what the best way to test this is.", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "Should this be `static_cast(change->num_sent_submessages)`?", "reference": "I think this method should be either: - a static method of `RTPSWriter` to avoid a StatelessWriter redefinition of the function. - a setter in the `CacheChange_t` struct." }, { "prediction": "Should we call `ResetAndAbort` here instead of `Abort`?", "reference": "You add a stream back reference for trailers, and all of the sudden we have tight coupling!" }, { "prediction": "I think this needs to be `using Datadog.Trace.ClrProfiler.Emit;`", "reference": "I don't think we use `AspNetAmbientContext` anymore since. We can probably delete this file." }, { "prediction": "I'm not sure if this is the right way to do this.", "reference": "Please avoid committing build artifacts, as they produce unnecessary conflicts and noise." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to put this logic in `wrap_method_with_call_and_maybe_retry`.", "reference": "this is vendored code so i would hesitate to make random changes to it" }, { "prediction": "I don't think we need to add the `referral_code` field to the ReferralInfoDTO.", "reference": "We are using a different style for JSON tags. `ethAddress` - camalCase `referral_code` - snake_case" }, { "prediction": "I think this should be `HttpContextIntegration.DefaultHttpContextTypeName` instead of `HttpContextIntegration.HttpContextTypeName`", "reference": "Should this be `\"Microsoft.AspNetCore.Http.DefaultHttpContext\"`?" }, { "prediction": "I'm not sure this is the right place to put this assert.", "reference": "removed asserts from `Vector` as it's stable enough and it may hinder inlining, even if turned off :/" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "Do we want to raise on the function or on the decorator?" }, { "prediction": "I'm not sure about this change, but I'm not sure if it makes sense to change the `release_msid` to `release_msid` or `release_msid` to `release_msid` or `release_msid`?", "reference": "How complex is to to replace `album_*` with `release_*` everywhere in the `Listen` class and places that use it?" }, { "prediction": "Why is this change necessary?", "reference": "You haven't changed any of the callers of `.Add` to check the return value, so we're now ignoring duplicates. Please fix that." }, { "prediction": "I think this should be `dom.isHiddenWithCSS(el, descendentVisibilityValue)` instead of `dom.isHiddenWithCSS(el, descendentVisibilityValue)`", "reference": "@straker should this not push to `vnode._cache.isHiddenWithCSS`?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "\"an interface\" in conceptual sense vs \"interfaces\" or \"set of interfaces\", referring to the Go interfaces - database/sql uses the latter, should we?" }, { "prediction": "`httpGone` and `httpBadReq` can be combined into a single boolean.", "reference": "This now checks nearly all errors that can occur. How about explicitly listing cases where we want it to retry? I think there are not many cases where we want that, as the many added conditions in the last years show :)" }, { "prediction": "`doSync` should be a `func (brq *blockRetrievalQueue) (prefetchStatus, error)`.", "reference": "Can you make this accept an action instead?" }, { "prediction": "Line is too long. [87/80]", "reference": "Tab inconsistency here (3 spaces instead of 2 spaces)" }, { "prediction": "why did you change this?", "reference": "these change means we are changing epoch to 1 hour?" }, { "prediction": "This should be `PANEL_DESCRIPTION_HEIGHT`, not `PANEL_DESCRIPTION_WIDTH`.", "reference": "Why this is defined in the middle of imports?" }, { "prediction": "I don't think this is needed. You can use `import matplotlib.pyplot as plt` or `import numpy as np`.", "reference": "Could you move this to the original position?" }, { "prediction": "I think this should be `repo.Owner()` instead of `owner.Owner()`.", "reference": "Is there a test that'd have caught this?" }, { "prediction": "Why did you change this?", "reference": "ListWorkflowExecutionsRequest <- this can be nil?" }, { "prediction": "Line is too long. [81/80]", "reference": "Do we need to continue to support the old link, or is it dead dead dead?" }, { "prediction": "I don't think we need to trim whitespace here.", "reference": "Do we need `ConcurrentDictionary`? `Dictionary` can be safely read from multiple threads. See `GlobalTags`." }, { "prediction": "This should be `seelog.Infof(\"Server OSFamily string: %s\", osFamilyStr)`", "reference": "this seems like more of a Debugf statement" }, { "prediction": "I'm not sure if this is the right place for this function.", "reference": "We're capturing cb_state non-const, but the function is const so, safe enough, but after going to reader/writer locks we're all going to have to key a careful eye on anything in this pattern." }, { "prediction": "I think this should be `if req.Config.Endpoint!= nil {`", "reference": "Probably want to wrap the endpoint discovery work that follows in this `if` statement instead of returning early. This will make it easier to add additional request code generation logic in the future. e.g. if we add any code generation after the endpoint discovery block this check will cause it to be skipped." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "This test was giving a false positive because my change caused it to throw a different error that contained `createElement` when it should've been throwing this error. Caught this by looking at the code coverage and noticing that the line under the condition I changed was no longer covered lol." }, { "prediction": "Is this function used anywhere? I don't see it being used anywhere.", "reference": "I think this is added to wrong file. You wanted to add to cmd/agent/, right?" }, { "prediction": "I think this should be `private final String elementText = element.getText();` instead of `private String elementText = null;`", "reference": "Each `ExpectedCondition` implements `java.util.Function` These are expected to be stateless. This condition will leak previous `elementText` on the second usage, which doesn't seem ideal." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "Could we consider a more explicit name, like `devicePciAddress`?" }, { "prediction": "I don't think this is the right place to do this.", "reference": "Why change this from a foreach? I can't see it gaining anything here and code styles shouldn't change just for the sake of it." }, { "prediction": "Why not just use `simplexml_load_string($response->getRawResponse())`?", "reference": "Is this supposed to be part of this PR?" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to use `getComputedStyle` instead of `getComputedStyle`.", "reference": "DRY, worth extracting this method to axe.utils" }, { "prediction": "I don't think this should be part of this capability.", "reference": "I think there's another spot for this in DefaultCapabilityMatcher" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "`QtOSError` inherits `OSError`, so I don't think it's needed to list them both here." }, { "prediction": "I'm not sure why this was removed.", "reference": "Instead of patching vendor, let's update the version of sdk-go to a more recent one that doesn't have this line." }, { "prediction": "This should be `config.Parse.BuildFileName = []string{\"BUILD\"}` instead of `config.Parse.BuildFileName = []string{\"BUILD\"}`", "reference": "Don't think this should be here. The default is set somewhere else." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, so I'm not sure if this is the right place to put this.", "reference": "Not really important in this PR, but does BlazeMeter describe \"progress\" values anywhere? It might be nice to have a set of constants like `PROGRESS_DOWNLOADING_IMAGE`, `PROGRESS_BOOTING`, `PROGRESS_RUNNING_TEST`, etc in our BZA client." }, { "prediction": "I think this should be `SortOrderId` instead of `sortOrderId`.", "reference": "nit: `

    ` after the line" }, { "prediction": "This should be `glob(\"libArm64/*.exe\")`", "reference": "Should we include the files with otf extension here, too? If not, I wonder why we do allow them in the source but we don't include them as per the setup" }, { "prediction": "why remove this?", "reference": "i think it's OK to leave this?" }, { "prediction": "Why is this removed?", "reference": "Does this need to be public? The only reference to `FlinkTypeVisitor` that I see in this PR is here, so I'm not sure why this is needed." }, { "prediction": "I'm not sure this is the right way to do this, but I'm not sure it's the right way to do this. If it's the right way to do this, I'd suggest to use `\\n` instead of `\\n`.", "reference": "No line at end of file warning" }, { "prediction": "I think this should be `CompositeBlockTracerFactory` instead of `BlockTracerFactory`.", "reference": "This looks unused, shouldn't it point to inner processor in any way?" }, { "prediction": "Why is this no longer needed?", "reference": "There may be a few isolated cases where the FirstN node is added during preCodeGen. Please see GenPreCode.cpp RelRoot::preCodeGen(). The example given there about Order by where sort is added in optimizer, or a FirstN where the N value is to be specified with a param seem to be cases where we would add the FirstN later. Will current change cause such views to marked as updateable? This is minor and could be resolved later, if any change is necessary." }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to have this method return the name of the method.", "reference": "I think you should compose the %sClient part using the Name class, and then do the remaining composition with plain concatenation. Side question: why does the return type name look like it is a client type name?" }, { "prediction": "I think this should be `padding: 0`.", "reference": "All stories in this file also need the default padding." }, { "prediction": "Why is this `static` and not `private static`?", "reference": "Curious - what would be the actual value?" }, { "prediction": "I'm not sure if we should use `datasets[0].CLASSES` here.", "reference": "Is it necessary to record the palette in the checkpoint? Any reason?" }, { "prediction": "I'm not sure if this is the right place to import this. I'm not sure if this is the right place to import it, but I'm not sure if it's the right place to import it.", "reference": "Not sure how to best do this without creating a new connection to the server everytime. Do this in another thread?" }, { "prediction": "Metrics/LineLength: Line is too long. [124/120]", "reference": "should we have a similar test for gsa18f procurements?" }, { "prediction": "I'm not sure why this is needed.", "reference": "change `v.recipient` to address.Address, so can use `AccountState(v,recipient)`" }, { "prediction": "I think this should be `approval_notice` instead of `approval_notice`", "reference": "Open to doing away with this altogether and maybe injecting this logic somehow into `requires_approval_notice?` in LinearDispatcher." }, { "prediction": "I think it would be better to have a default value of `false` and set `TracerTimeoutEnabled` to `true` and `TracerTimeoutEnabled` to `true` and `TracerTimeout` to `false` and `TracerTimeoutEnabled` to `true` and `TracerTimeout` to `false` and `TracerTimeoutEnabled` to `true` and `TracerTimeout` to `false` and `TracerTimeoutEnabled` to `true` and `TracerTimeout` to `false` respectively.", "reference": "remove this and always enable tracer, just set the default timeout to something higher (20 seconds)" }, { "prediction": "I don't think this should be part of the DTO. It should be part of the `ScriptDTO` and not part of the `ImageDTO`.", "reference": "Can we give this field a more descriptive name? When I use a variable named `icon` I normally expect an `Image` object." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a single `Args` struct that contains all of the args, including the labels, excluding the ones from the list of targets.", "reference": "can't these just use the global `include` and `exclude` flags?" }, { "prediction": "I think this should be `return deltas.cuda()` instead of `return deltas.new_tensor(stds).unsqueeze(0)`", "reference": "Is this still necessary?" }, { "prediction": "I don't think this is the right thing to do. I'm not sure if it's the right thing to do.", "reference": "Interesting! Happen to catch an exception message or anything I can look into?" }, { "prediction": "nit: `It will be executed with traditional node.js argument position when the promise is resolved.` -> `It will be executed with traditional node.js argument position when the promise is resolved.`", "reference": "did this get moved to mpromise? I don't recall if it's in that lib or not." }, { "prediction": "Why Ports []int is needed?", "reference": "json objects should be `camelCase`" }, { "prediction": "This should be `uint64` instead of `uint64`", "reference": "QuarterGiBSectorSize? SectorSize265MiB? Spelling out 256 seems overly verbose." }, { "prediction": "I'm not sure why this is needed.", "reference": "Maybe with this change we can remove `using OpenTelemetry.Logs`." }, { "prediction": "I think this should be `r.FormValue(\"ViewerRoleAsDefault\") == \"on\"`", "reference": "Fix this name too." }, { "prediction": "I think this should be `int(record_get_field_value(self.record, \"001\"))`", "reference": "why this is an issue?" }, { "prediction": "I think this should be `$was_static` instead of `$allow_self` and `$was_static`", "reference": "The condition should be inverse?" }, { "prediction": "Should we rename this constant to `FLOW_VERSION_2_0`?", "reference": "this seems to be a property key name, so should it be a inside configurationkey.java?" }, { "prediction": "I don't think we need `bin.ZFS` here.", "reference": "G204: Subprocess launching should be audited (from `gosec`)" }, { "prediction": "I think this should be `_visible_in_registry = True`.", "reference": "Please add docs here. And also warn users that this mode should be avoided whenever possible, because any blocking IO will make the keep-alive-thread not run." }, { "prediction": "I don't think this is the right place for this function. It's only used in this PR, and it's not used outside of this PR.", "reference": "We shouldn't require dimension values to be a string. They just need to be scalar values (probably we could check whether it's either a string or a number). Something more important to cover in the validation here though is to ensure that a map of `dimensionName => dimensionValue` is passed. The keys here actually need to be strings. For example someone shouldn't be able to pass an array of values." }, { "prediction": "I think this should be a pointer, not a pointer.", "reference": "let's do a pointer cast of nil, similar to the `MapRouter` above" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "action should use a prefix of `hfg` rather than `neve` as we plan to bootstrap this as a standalone library. Moreover, previously filter/actions used in this library was using the same pattern." }, { "prediction": "I don't think we need to do this here. We'll need to set `AllowRenegotiation` to `true` if `SslApplicationProtocol.Http2` is set to `false`.", "reference": "I'm halfway tempted to disable this for all https connections. Do you know of any clients that actually renegotiate for any reason?" }, { "prediction": "I think this should be `visibility_of_all_elements_located` or `visibility_of_any_elements_located`.", "reference": "shouldn't **call** return a boolean?" }, { "prediction": "Can you remove this blank line?", "reference": "I don't think you need the blank import here. This one uses awsdynamodb directly." }, { "prediction": "I think this should be `Predicate t -> t.isPresent()`", "reference": "I think this should be initialized to `null` instead of a predicate. There is no need to run an extra predicate (with an extra method dispatch for each row in a data file. That's a tight loop so we should do more work here to avoid it. Instead of using `isDeleted.or`, this should test whether `isDeleted` is `null` and either initialize `isDeleted` or call `isDeleted.or`." }, { "prediction": "I'm not sure if this is the right place to put this in. I think it would be better to put it in the `config_handler` module.", "reference": "What is this and the next entry in config_handler used for?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but if it is the right thing to do, I'm fine with it.", "reference": "will your editor integrate `gofmt`, `goimports`, etc...?" }, { "prediction": "I don't think this is the right place to do this, but I think it would be better to move the `State state = ProductFragment.mState;` outside of the `else` block.", "reference": "looks like the code is not properly formatted. for example here are some missing spaces in **if** command. please take care and reformat the code using default android formatting." }, { "prediction": "I'm not sure if `dest` should be `dest` or `argparse.SUPPRESS`.", "reference": "Please add some valid examples to help message like `\"4:10\"`, `\"4:\"`, `\":10\"`" }, { "prediction": "`symbol.to_s` is the preferred way to do this. `symbol.to_s` is the preferred way to do this.", "reference": "Is it only Symbols we're worried about converting? Is it not safe to just call `to_s` anyway?" }, { "prediction": "Why was this removed?", "reference": "Note for those who come across this later: It was moved to `testhelpers.mining.go` so that `testhelpers.NewDaemon` and the `mining/worker_test.go` can share it." }, { "prediction": "I'm not sure this is the right place to do this, but it seems like the `in_progress` argument should be passed to `flatten` rather than `select`.", "reference": "What about `sort_by(&:in_progress?)`? Maybe with a `.reverse` thrown in?" }, { "prediction": "Why is this removed?", "reference": "Flag is removed because it is only gRPC now." }, { "prediction": "This is similar to an ``init scenario`` skeleton. Please refer to the ``init scenario`` command in order to customise the default generated ``molecule`` folder.", "reference": "Might be better to rephrase to: Please refer to the ``init scenario`` command in order to generate a custom ``molecule`` scenario. Since you aren't customizing the default scenario since it already exists, right?" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to put it in a `else` block, so that we don't have to repeat the code twice.", "reference": "Shall we merge these `if` for `path lib` and then do the `attrname` one. I'm trying to count `if`-calls and its getting late but I think we can reduce the number checks needed to get into L648 from 3 to 2 if you understand what I mean" }, { "prediction": "I don't think we need to import recovery here.", "reference": "why depend on recovery???" }, { "prediction": "I think this change should be reverted.", "reference": "the done channel only aims to be closed, so `chan struct{}` is better then `chan interface{}`" }, { "prediction": "I think this should be `error creating contract binding`", "reference": "Do you mean to have gas_oracle changes in this PR?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it, but I'm not sure if it's the right place to put it.", "reference": "Is this effectively requiring browsers support javascript?" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to move this logic to the `FingerprintAuthDialogFragment` class, so that it's only called when the Activity is re-created, rather than when the Activity is re-created.", "reference": "Lowercase `boolean` - use the primitive type." }, { "prediction": "I don't think we need the `await` here.", "reference": "This isn't the correct logic. if allowOverride == true and!blobExists then upload. Just don't do the exist check if allowOverride is set to true." }, { "prediction": "I'm not sure this is the right fix. The `xsurface->fullscreen` and `xsurface->maximized_vert` are the same.", "reference": "Can you replace these by `else if` please?" }, { "prediction": "`switchDateRange` is a bit confusing. What about `switchDateRange( fromRange, toRange )`?", "reference": "Would be nice if the field had a unique class name that could be used to target it, instead of `fromRange` But doesn't seem to be a common thing in the code base." }, { "prediction": "`String#includes` is not supported in IE.", "reference": "Does this code fit on one line under 80 characters? It would be more consistent with our existing style." }, { "prediction": "I don't think this is needed.", "reference": "Not a requirement here. But i see a change in naming convention. We can rename the function to `CstorSparsePoolArtifactsFor070`." }, { "prediction": "I don't think this is needed.", "reference": "Why do you configure the UART like this? It's already configured by default." }, { "prediction": "I don't think this is needed.", "reference": "Wow. Good catch. \"This `#include` was brought to you by the department of redundancy department.\" ;)" }, { "prediction": "Why is this moved?", "reference": "Well it's actually calling `AuthorizeOrder` and this seems like a DebugLevel message to me, maybe it should be dropped entirely." }, { "prediction": "I'm not sure this is the right fix. The `bytes == 0` check should be moved into the `cuda_resize_scratch_space` function.", "reference": "Should this be using the `CUDA_SAFE_CALL` macro here?" }, { "prediction": "I think this should be `Red` instead of `Yellow`.", "reference": "What cases do you see as being valid for not having any tests to run? If a test project doesn't have any tests to run we should avoid running it at the project level." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. If it is the right place to do this, I'm not sure if this is the right place to do this.", "reference": "and is it possible that mset.mirror.msgs be nil? because if so, then you would get a panic also because of that." }, { "prediction": "This should be `state->opaque` instead of `next->opaque`.", "reference": "`next->opaque` should not be cleared." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "already what? I know what, but seems like smth. is missing in this sentence" }, { "prediction": "I think we can remove the `focus()` method entirely.", "reference": "Can you put spaces after the `{`and before the `}`" }, { "prediction": "I think this should be `__version__` instead of `__version__`.", "reference": "We said we would put `[ ]` around the version. `[forseti-security] [v2.3.0]`" }, { "prediction": "I'm not sure this is the right fix. If `len(cnb) > 0 && n >= int64(len(cnb[0]))` then `cnb[0][:0]` will be `n >= int64(len(cnb[0]))`", "reference": "Seems len(cnb[0]) will be the length after the write since of the *v thing we saw no?" }, { "prediction": "I'm not sure if this should be an `object` or `object`?", "reference": "can we make use of storagepoolclaim type rather than the generic interface{} type?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "this should happen before the `go k.manage()`, otherwise the node will always try the bootnodes first" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "Is this actually a lint related change?" }, { "prediction": "I think we should add a `cache_key` to the `SchemaOrg` autoloader so that we don't have to duplicate the `schema_org` autoloader in the `SchemaOrg` autoloader.", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I think this should be `if not isinstance(obj, string_types):` instead of `if not isinstance(obj, string_types):`", "reference": "what does this do that str_param does not?" }, { "prediction": "I think this should be `azure.UserAgentPrefix()` instead of `azure.UserAgentPrefix()`", "reference": "For GCP we included the API name (see below) so you can distinguish between uses other than `blob` once they exist, WDYT?" }, { "prediction": "I think this should be `from dagster.utils import mkdir_p` instead of `from dagster.utils import mkdir_p`.", "reference": "what would you think about doing this include on-demand within S3ObjectStore methods and then failing in a loud way?" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to move the guard into the `if (stopped)` block.", "reference": "May be better make `stopped` atomic, then it can be just `for (auto i (node.store.latest_begin (transaction_a, next_frontier_account)), n (node.store.latest_end ()); i!= n && &&!stopped && elections_count < max_elections; ++i)`" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "In `src/storage/InternalStorageServiceHandler.h ` file, the client in `client->future_chainAddEdges ` should be InterStorageServiceAsyncClient?" }, { "prediction": "This import should be grouped with `pkg/monitoring/v1`", "reference": "`go.sum` needs to be updated for this. Please run `go mod tidy`" }, { "prediction": "Should we rename this to `SecretBackendSSMParameterStore` or `SecretBackendSecretsManagerSSMParameterStore`?", "reference": "Not sure if this was discussed previously, but is there a specific use case in mind for having this as an API field rather than a configuration option on the controller manager? Is there a specific use case in mind where one would want to choose different backends for individual Clusters/Machines vs having it a global configuration for an instance of the infrastructure provider?" }, { "prediction": "Why is this removed?", "reference": "Same thing with the OtlpExporter" }, { "prediction": "I'm not sure why this was removed.", "reference": "Should not be removed." }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like we should be able to remove the `-puppet` prefix from the `dsl/install_utils/pe_defaults.rb` file.", "reference": "Not a blocker for anything, but should this be moved to beaker-pe? Is that ticketed anywhere?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "this shouldn't be beforeClickOn, but rather beforeSubmit? and added to WebDriverEventListener. Since submit does not synthesize the 'click' events, this isn't accurate." }, { "prediction": "This is the only place where `self.approving_official` is set, but `self.system_approver_emails` is set.", "reference": "this ternary operator is hiding an `if/else` within an `if/else` - any chance we could move the logic ELSEwhere? (see what I did there --?? :100: )" }, { "prediction": "I don't think we should deprecate this.", "reference": "Is this really internal? Or will the API be different in PMD 7.0.0? Well, the interface doesn't offer much functionality anyway..." }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be better to have a `interface_expects_gridded_data` flag that indicates whether or not the interface expects gridded data.", "reference": "Does it have to be arrays? Isn't it ragged 'data' (i.e multiple elements of different lengths)?" }, { "prediction": "I think this should be set to `true` by default.", "reference": "Per my understanding, this flag only impacts \"NoCleanup\" disk. If so, we may name it more clear. The reason of this ask is because I plan to add some other flag to force cleanup for other non-NoCleanup disks." }, { "prediction": "Why is this public?", "reference": "In my changes for `RequiresDistributionAndOrdering`, this class went away and is replaced by an inner class. I think that pattern worked well. Maybe we could do that before this one to reduce the number of changes here." }, { "prediction": "Why are these removed?", "reference": "Shouldn't this be called `hp` instead of `life`?" }, { "prediction": "I don't think this is the right way to set the allowedOrigins.", "reference": "Because the default value of allowedOrigins is * (all origins), so it isn't necessary to set again at all." }, { "prediction": "I'm not sure why this was removed.", "reference": "Undo this modification" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "Please check my thoughts here... I changed the test to not `ToString()` attribute values. This was important to test things when `net.peer.port` was both an int or a string, but I was unsure if Zipkin supported non-string attributes." }, { "prediction": "I'm not sure if this is the right place to put this code, but it seems like it should be in the `Base64NoMetadata()` method.", "reference": "Looks like you made changes on `CameraResultType` class, but didn't commit them. And you also have to do the changes on the types in @capacitor/core" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if this is a good idea or not.", "reference": "Can you explain the history of the bug a bit, and why this fixes it?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "What do you think about `mentor_mail_to` or `mentor_mail_to_link` in order to match Rails' `mail_to` method, which is what this calls? I'm not sure about this suggestion..." }, { "prediction": "I don't think this is the right fix.", "reference": "Looks like this will make the check in every loop. Consider extracting the null check." }, { "prediction": "I'm not sure if this is the right way to test this.", "reference": "Maybe `it \"can safely be reset when there are not yet any shared example groups\"`? That's the edge case that wasn't working, right?" }, { "prediction": "I'm not sure if this is the right place for this factory. I'm not sure if it's the right place for this factory.", "reference": "naming: please use `asmfactory`" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "FYI you could use a raw string for this which removes the need for escaping the inner quotes." }, { "prediction": "`` should be `<`, not ``.", "reference": "2 blank lines here (between functions)" }, { "prediction": "I think it would be better to pass `spec` as an argument to `BaseRewriteFiles` instead of `tableName` and `ops` as an argument to `BaseRewriteFiles` and then pass `spec` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as an argument to `BaseRewriteFiles` and `BaseRewriteFiles` as", "reference": "Nit: we try to avoid whitespace changes because they can easily cause unnecessary commit conflicts." }, { "prediction": "I'm not sure if this is the best way to do this. If the reference is preceded by a \"::\" character, it should be treated as a class reference.", "reference": "As mentioned below, I'm not sure why this is only allowing refs that are tagged with `*` at the start!" }, { "prediction": "`equals` and `hashCode` can be combined with `org.infinispan.repository.background.BackgroundRepository#equals(BackgroundRepository)` and `org.infinispan.repository.background.BackgroundRepository#hashCode(BackgroundRepository)`", "reference": "Don't forget the {} symbols, and please use EqualsBuilder and HashcodeBuilder as possible" }, { "prediction": "I'm not sure this is the best way to test this. I'm not sure what the best way to test this is, but I'm not sure what the best way to test this is.", "reference": "Allocate buffer once outside loop." }, { "prediction": "I'm not sure if this is the right place to put this test.", "reference": "It would be better to check that system.nodes[1]->network.port is somewhere in the target without specifying its exact position. But it is a very minor point and I have no string opinion on it just thought I'd mention it because our tests in general have too implementation detail." }, { "prediction": "I don't think it's strange to have these \"startsWith\" conditionals here. They both come from Access.java.", "reference": "Should this be in a bundle?" }, { "prediction": "I don't think we need this assert anymore.", "reference": "When Activity is lost (more precisely, ExecutionContext is lost) in the HttpModule we restore the root (HttpIn) Activity. That makes this assert invalid. I tried to fix the HttpModule so that it restores the Activity that was last running, but it is impossible to retrieve do to the way ExecutionContext works. It isn't an issue to remove the assert, but it is unnerving. Any instrumentation running in IIS reliant on Activity.Current could run into trouble." }, { "prediction": "I think we can remove the `return i` from the `if!i.net.RegisterHandlers(handlers)` block.", "reference": "what was the point in moving handlers registration into a separate method?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "At this point we probably want to ensure there's a store command set." }, { "prediction": "I'm not sure if `step` is a valid string, but I think it would be better to use `isHardened` instead of `isNaN`.", "reference": "This code is way too complicated for what it does. I don't want to be a PITA, but what can you consider rewriting it in a simpler way? I'm talking about the whole `_getDerivationIndexes` function" }, { "prediction": "I think this should be `0x` instead of `0x`", "reference": "Don't throw base exception, specify more precise type" }, { "prediction": "This docstring should be updated to reflect the new behavior.", "reference": "Recursive -> Recursively converted -> convert" }, { "prediction": "I think this should be `if ((has_no_struct_fields || opts.generate_object_based_api) && (num_fields < 127) {`", "reference": "why is this object API only? I think the reason why we didn't do this before was because this code was shared with Java which doesn't have value structs." }, { "prediction": "I'm not sure about this change, but I think it's a good idea to change the dockerVersion to something like \"DockerVersion: \" + version.DockerVersion.ToString() or something like that.", "reference": "just to confirm, so backend will deal with both old format and new format?" }, { "prediction": "Why is this change needed?", "reference": "huh, look at that, I wasn't aware you could constrain a type by Enum" }, { "prediction": "`configFile` should be a `const std::string &`.", "reference": "Even though the debug parameter is effectively ignored, should this default to `false` instead of `true`?" }, { "prediction": "I don't think this file is used.", "reference": "What is the purpose of this interface? Unlike ParamDocView, it doesn't seem to be used anywhere to enable polymorphism" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "We added a library to generate a UUID for the request_id directive \"github.com/nu7hatch/gouuid\" can we uses the same one for what you want rather than add another dependency? Or if the google one is better can we remove the nu7hatch library?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "Shouldn't this be `i * Interval`? You're multiplying nanos with a Duration, I'm not sure what's the result :)" }, { "prediction": "I'm not sure this is the right fix. The `guard_pages` variable is only used in `set_protection` and `guard_unlocked` is only used in `set_protection`. I'm not sure if this is the right fix, but it seems to me that `guard_unlocked` is only used in `set_protection` and `guard_unlocked` is only used in `set_protection` and `guard_unlocked` is only used in `set_protection` and `guard_unlocked` is only used in `set_protection` and `guard_unlocked` is only used in `set_protection` and `guard_unlocked` is only used in `set_protection` and `guard_unlocked` is only used in `set_protection` and `guard_unlocked` is only used in `set_protection` and `guard_unlocked` is only used in `set_protection` and `guard_unlocked` is only used in `set_protection` and `guard_unlocked` is only used in `set_protection` and `guard_unlocked`", "reference": "I guess it's not no-access to match Windows where guard pages are readable." }, { "prediction": "Metrics/LineLength: Line is too long. [83/80]", "reference": "Not a blocker, but would probably be useful to have a `scope :non_pending_approvers` on the `Proposal` model." }, { "prediction": "I'm not sure if this should be a tuple, or if it should be a tuple.", "reference": "Add trailing comma" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to have a `SIGKILL` signal here, but if it's a good idea to have a `SIGQUIT` signal, I'm not sure if it's a good idea to have a `SIGKILL` signal.", "reference": "I see someone say SIGKILL can not be caught by process. The original code here about `SIGKILL` is useless?" }, { "prediction": "This should be `dark` or `light` depending on whether we're on mobile or desktop.", "reference": "As it is a mobile only theme, please make sure the option appears only on mobile" }, { "prediction": "I think this should be `parse_param_list(params)` instead of `parse_param_list(params)`", "reference": "Would like a docstring and type annotations here" }, { "prediction": "Style/MutableConstant: Freeze mutable objects assigned to constants.", "reference": "This is an API change. Why was it made?" }, { "prediction": "Why is this needed?", "reference": "Please move using inside namespace." }, { "prediction": "I'm not sure if poSEnabled is the right default value for this parameter.", "reference": "shall we create some enum flags for setasmain shouldprocess and pos?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if it's the right way to do it, but I'm not sure if it's the right way to do it.", "reference": "Should this `PUPPET_AGENT_STARTUP_MODE` have a corresponding yardoc change?" }, { "prediction": "I'm not sure why this was removed.", "reference": "Why not simply remove the `pytest` import now that it's not needed anymore? :wink:" }, { "prediction": "I don't think this test class is needed.", "reference": "Yeah, not filled in yet." }, { "prediction": "I'm not sure if this is the best way to do this. The `active` label should be in the `check_box` and not the `active_at` label. The `active_at` label should be in the `check_box` and not the `active_at` label.", "reference": "don't use style. Use a class instead. reducing `col-xs-12` down to 8 or 6 or whatever should do the trick" }, { "prediction": "I don't think we need to reload the table if it doesn't exist.", "reference": "should we also do `reloadCache` when database is null?" }, { "prediction": "I think this should be `const ROMol &QueryMol` instead of `const ROMol &QueryMol`.", "reference": "Why not just return QueryMol directly? Why require the copy?" }, { "prediction": "I think this should be `os.path.join(os.path.dirname(__file__), '../../', fname)`", "reference": "Could you add a docstring?" }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "looks like you added newlines after blocks in a few files - I generally like newlines before/after multi-line blocks _except_ when the end the block is directly nested inside another block (eg: two `end`s next to each other) what do you think?" }, { "prediction": "I don't think this change is needed.", "reference": "@jlerbsc's fix in #2918 in action - thanks! :smiling_face_with_three_hearts:" }, { "prediction": "I'm not sure if it's better to use `self.win_id` and `self.count` here.", "reference": "nitpick: Please lower-case `Zero_count` (as it's a literal argument name) and `Argument` here." }, { "prediction": "I don't think this is correct. `hasIssuerNoLock` will return false if `a.Name` is not equal to `issuer`.", "reference": "change the name of the function to match its functionality? account IsIssuing?" }, { "prediction": "I don't think this is necessary. If `groupby` returns a `DataFrame`, then `Series` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`, and `DataFrame` will be a `DataFrame`.", "reference": "for later: add docstring (can just copy paste Pandas')" }, { "prediction": "I'm not sure if this should be archer mocks, or if it should be internal mocks.", "reference": "nit: @sonofachamp pointed out to me that the idiomatic way is \"archermocks\" (lowercase for package names)" }, { "prediction": "I'm not sure if this is the right error name.", "reference": "Ugh I'm stupid, can you change this to `yarpc.InternalErrorf`?" }, { "prediction": "I think we should rename this to `table.name() + \".all_data_files\"`", "reference": "We instantiate some metadata tables in tests so I kept the old constructor too. Won't harm if someone is using it directly too." }, { "prediction": "I think this should be `error('Can not use both `limit` and `perDocumentLimit` at the same time. Model `' + mod.model.modelName + '`.' );`", "reference": "I think the better place to put this might be `lib/options/PopulateOptions.js`. That should make it easier - checking options in `populate()` can get confusing." }, { "prediction": "Why not just pass the `params` as an argument to `PingProvider`? That way you don't have to pass the `params` as an argument to `PingProvider`.", "reference": "Lets have simple function arguments here, because now struct `traversal.Params` started to have 2 purposes: 1. used as contract in DTO between consumer-provider 2. as function parameters for internal code calls" }, { "prediction": "This test class should be renamed to `RemoteDistributorTest`.", "reference": "Probably best not to have an empty test...." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be good to have a link to the upcase app.", "reference": "`image_tag` in the `testimonials` files?" }, { "prediction": "I think this should be `status=?,update_time=?,start_time=?,end_time=?,enc_type=?,flow_data=? \" + \"WHERE exec_id=?\";`", "reference": "I believe flow.toObject() method is throwing NPE if SLA option list (i.e. this.executionOptions.getSlaOptions()) is null or one of the value in the list (i.e. this.executionOptions.getSlaOptions()) is null. If that is the case we could fix root cause of NPE in the ExecutableFlow.toObject() method. The corresponding code to populate SLA options can be modified as follows. final List> slaOptions = Optional.ofNullable(this.executionOptions.getSlaOptions()).orElse(Collections.emptyList()).stream().filter(Objects::nonNull).map(slaOption -> slaOption.toObject()).collect(Collectors.toList());" }, { "prediction": "I don't think this is the right place to put favicon.ico?", "reference": "So I haven't tested this - but since the icon location is just directly dumped into the img _src_ attribute, won't this cause issues with Ghost blogs in a subdirectory? If I'm misunderstanding what the purpose of the default is then let me know" }, { "prediction": "I'm not sure this is the right place to catch the exception.", "reference": "Why swallow the exception here rather than propagate it?" }, { "prediction": "I'm not sure this is the right thing to do here, but I think it would be better to have `column_names` and `column_index` and `column_index_names` in the `_InternalFrame` class, and have the `_InternalFrame` class handle the `index_map` and `index_names` separately.", "reference": "How about `column_index_names`? `column_names` sounds ambiguous." }, { "prediction": "Can we rename this to `write.metadata.metrics.column`?", "reference": "+1 on this. Do we want to have it as `WRITE_METRICS_MODE_COLUMN_CONF_PREFIX` to be consistent with defaults? Is there a possibility we will have `READ_METRICS_MODE_COLUMN_CONF_PREFIX`? Not sure." }, { "prediction": "I think this is a bug fix. I'm not sure why this test is failing.", "reference": "Shall we use different inputs for `PySpark < 2.4` where `transpose` won't work with different data types." }, { "prediction": "I'm not sure if we should import `string_types` here.", "reference": "we should sort the headers like in spark: public packages, then pyspark, then internal" }, { "prediction": "I'm not sure why we need to set `clientTLSConfig` to `nil` here.", "reference": "looks like we should drop this var from the transport options struct" }, { "prediction": "Why was this removed?", "reference": "Ah, yeah, this is the test for the validation that I mentioned in a remark above about relaxing the validation." }, { "prediction": "`allowed_border (int, optional)` -> `Allowed border to allow the valid anchor. Defaults to 0`", "reference": "For tensors, it is better to illustrate the shape." }, { "prediction": "I think we should use `request.url().match( 'google-site-kit/v1/data/' )` instead of `match`.", "reference": "This was removed in a recent PR for the admin bar, but should have been kept. It's been restored in the other admin bar PR but I've added it here to for completeness." }, { "prediction": "I don't think this is the right place to test this.", "reference": "nit: probably swap the if condition and `if/else` and check `NETCOREAPP2_1` which looks more natural." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "for the tag, should it be `requestor_rtt` since the other is `responder_rtt`?" }, { "prediction": "I think this should be `MutateVector(j int, n byte)`", "reference": "The one sad part of this is that is will generate a lot of overhead if you loop through a vector, since it obtains the vector every time. But with the current API there is no alternative I guess, and it is better to have the option than not." }, { "prediction": "I'm not sure if this is the right place to put IPFS imports.", "reference": "nit: there should be a newline between `types` and `go-ipfs-files`." }, { "prediction": "I'm not sure this is the right place to put this variable.", "reference": "would be nice to have this as a parameter (Options), re: technical debt discussions" }, { "prediction": "I don't think this is needed.", "reference": "complete ignorance here but is it ok to import this from `com.sun`? can it break under non-oracle JREs?" }, { "prediction": "I think this should be done in `startSpanInternal` instead of in `startSpan` itself.", "reference": "Is this some way of saying that the span is going to be sampled? I'm basing this question on the condition I saw for the `OnEnd` to be called - `mustExport := s.spanContext.IsSampled() && )`. Shouldn't the condition be `s.spanContext.IsSampled()` to match the condition for calling the `OnEnd`?" }, { "prediction": "I think this should be `%v` instead of `%v`", "reference": "just calling UpdateSnapshotInfo() should be fine" }, { "prediction": "I don't think we want to rate limit log messages by default when in debug mode.", "reference": "Was `DefaultLogMessageRateLimit` not configurable anywhere?" }, { "prediction": "I'm not sure this is the right test.", "reference": "Please use the `assert` instead. Same below." }, { "prediction": "This should be `%name suche as Europe or Overseas`.", "reference": "Owww, I think I found a typo. `suche`" }, { "prediction": "Why are these no longer needed?", "reference": "This can happen because we could get `PhantomNodes` that are not admissible as source/target right?" }, { "prediction": "I think this should be `clientSessionState!= nil`.", "reference": "Should we add a note here to file a bug if this ever happens?" }, { "prediction": "I think this should be `errors.New(\"benchmarks quantity overflows int64\")`", "reference": "overflow is still possible, isn't it?" }, { "prediction": "I think this should be `infer_base_class_for_anonymous_controllers = true`", "reference": "This seems more like a personal preference, so maybe this should be in your `~/.rspec`?" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "To avoid a circular import between pcapdnet and automaton" }, { "prediction": "I think this should be `self._current_tab()` instead of `self._current_widget()`", "reference": "Please remove this blank line." }, { "prediction": "Why do we need to call InitWorkloadIdentityStatus() here?", "reference": "it feels that the WorkloadIdentityCondition should be added to this Status... And if you have workload identity enabled, but not working, then you can mark that condition failed, and also Mark the ready false... not entirely sure though" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do it, but if it is the right place to do it, then I'm not sure if this is the right place to do it.", "reference": "I think these got refactored to `LvlFindInChain` to better conform with the coding guidelines. I think MarkL left these in for backwards compatibility." }, { "prediction": "I think this should be `@wraps(f)` instead of `@wraps(f, *args)`.", "reference": "It's fine for this PR, but in the future try to minimize unrelated changes." }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better if we moved this to the `/etc/ansible/roles` directory.", "reference": "The library -> modules and filters -> filter path changes are breaking changes or?" }, { "prediction": "I'm not sure if we should import ` botocore.config` in this file.", "reference": "Can we encapsulate this check (`os.environ.get(\"TEST_TARGET\") == \"AWS_CLOUD\"`) into a small config/util function? (and also use it in `integration/conftest.py`) (I'd generally try to avoid accessing `os.environ` directly across the codebase. I'm aware that we're already doing this in a few places, but maybe we can start pulling things out - this will also help us create more systematic config/environment abstractions as we go...)" }, { "prediction": "`stack` is a `Array.reverse()`, so we don't need `reverse()` here.", "reference": "An `if` statement would be better here. Functions, concat and reverse are all very expensive." }, { "prediction": "Why not just use `common.HexToAddress`?", "reference": "`Log here: connect to default factory for goerli network

    `" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "nits, should add `break` to avoid redundant iterations." }, { "prediction": "I'm not sure if this is the right place to test this, but I'm not sure if this is the right place to test this.", "reference": "I think we want an exception here, there should never be a transfer to a nonexisting account." }, { "prediction": "I think this should be `LOG.info(\"Created container {0}\", id);`", "reference": "This code is new and not tested well. While we may drop the log level before we ship 4.0, right now this is extremely helpful to users." }, { "prediction": "Why did you change this?", "reference": "Can we make these asserts more strict/precise? I remember this test helped to spot the issue of inconsistent results on different platforms due to using `sort` instead of `stable_sort`." }, { "prediction": "I'm not sure what this method is used for. It seems to only be used in `select_interpreter` and not in `select_interpreter`.", "reference": "I thought about adjusting for case here as well? For example `.rb,rb,.RB,.rb` would all map to ruby interpreter specified? Is that too much \"magic\"? Is there a sane workflow that someone would choose to map `.rb` to one interpreter and `.RB` to another?" }, { "prediction": "I'm not sure this is correct. The `g_return_val_if_fail` should be replaced with `g_return_val_if_fail (self->loadstate == OSTREE_SYSROOT_LOAD_STATE_LOADED, NULL);`", "reference": "In this and the one below, should we assert `self!= NULL` first?" }, { "prediction": "I'm not sure this is the right fix. The `getResponse()` should return a `Response` object, not a `Response` object.", "reference": "Why this is needed?" }, { "prediction": "I'm not sure this is the right name for this method. I think it should be `get_user_meta` or `get_user_meta_from_package`", "reference": "we already have.meta() so I don't think we want get_meta() for PackageEntry" }, { "prediction": "I think it's better to use `getStoreType()` and `getStartTs()` here.", "reference": "question: can we always get the startts from dagrequest?" }, { "prediction": "I don't think this is the right way to do this. The `accountId` should be the account's id, not the property's id.", "reference": "Nit-picking, but this can be simplified to reference `properties[ 0 ]` since that is already retrieved 2 lines above." }, { "prediction": "I think this should be `@unresolved_targets[t_name] = target`", "reference": "This technically works because we call `get_targets` before we remove the target, so it's bound to have been resolved. But I'm not sure I would like to rely on that assumption. Should we also remove it from `@unresolved_targets` to be safe?" }, { "prediction": "I'm not sure if this is the right place to put this code. I'm not sure if this is the right place to put this code.", "reference": "So what happens if I try to get code on a EOA?" }, { "prediction": "I'm not sure why this was removed. It looks like `inferred` is an instance of `nodes.Tuple`, and `inferred` is an instance of `nodes.NamedTuple`.", "reference": "Can't we return an empty list and then just compare the lengths? Thereby removing this `if`." }, { "prediction": "I think this should be `this.passesRestrictions = this.passesRestrictions.bind(this)` instead of `this.passesRestrictions = this.passesRestrictions.bind(this)`", "reference": "Mb change it to 'doesPassRestrictions()'? Doesn't sound enough like a boolean-returning method to me." }, { "prediction": "I'm not sure this is the right place to put this interface. I'm not sure if it's a good idea to put this interface in the swarm package.", "reference": "TODO: in fact At when used with noncurrent time should not return a next index. only latest should.." }, { "prediction": "I'm not sure if `Array.isArray(tmp)` is the right thing to do here.", "reference": "There are scenario's where we skip an update with a placeholder, in this case tmp returns null with render, this is not an array so we `[null]` it" }, { "prediction": "I'm not sure this is the right place to remove the `@Unapply` annotation.", "reference": "@danieldietrich, this wasn't tested so I presumed it wasn't working before either :p" }, { "prediction": "I don't think we need this anymore.", "reference": "Please leave two empty lines after the `use` statement" }, { "prediction": "Can we move this import to `k8s.io/kubernetes/pkg/kubelet/cm`?", "reference": "Please move this import in the 3rd group which is for external dependencies" }, { "prediction": "`isinstance(node.get(RESERVED['file']), str)`", "reference": "So what exactly is this fixing? The unit test is passing with or without this change." }, { "prediction": "I think this should be `if (!fs::FileUtils::makeDir(newPath))` instead of `if (!fs::FileUtils::makeDir(newPath))`", "reference": "auto targetFile = fs::FileUtils::joinPath(newPath, folly::stringPrintf(\"%019ld.wal\", it->first));" }, { "prediction": "I think this method should be renamed to `snapshotIdsBetween(Table table, Snapshot fromSnapshotId, Snapshot toSnapshotId)`", "reference": "I don't see any place that checks whether the from snapshot is an ancestor of the to snapshot. That seems like a requirement for this to work correctly to me." }, { "prediction": "I don't think this is correct. `helpText` is a string, not an empty string.", "reference": "Other calls to getHelpText() are wrapped in an `isset()` check. Would it make sense to be consistent, and either restore that here or remove it elsewhere?" }, { "prediction": "I think we should be able to remove the `||=` here.", "reference": "Why the change? If `output_stream` is set to something non-nil, it seems odd (and potentially wrong) to overwrite it...." }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Thinking this should have an underscore." }, { "prediction": "I'm not sure this is the right place for this test.", "reference": "To accommodate the change to the method being private." }, { "prediction": "I'm not sure if this should be camel-cased, or if it should be camel-cased.", "reference": "Shouldn't we traverse all definitions and apply this rule over all model definitions in the doc" }, { "prediction": "I don't think this is needed.", "reference": "Please rename this class that it ends with the suffix \"Test\" - otherwise the tests won't be executed." }, { "prediction": "I don't think we need this.", "reference": "As a JS file, this should also receive our standard file header." }, { "prediction": "Is this used anywhere?", "reference": "I take it memQuotaRatio is an \"out\" parameter at line 1810? Also, why use MIN_QUOTA in both the cases of memQuota being too low and too high? Contrast this code with RelRoot::codeGen where we set MIN_QUOTA only in the too low case." }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "It looks like for newpullsubscription, we have two functions. One for pullsubscription with default, one for pullsubscription without default. If you remove setdefault here, then there is no differences between these two functions." }, { "prediction": "I'm not sure if this is correct, but I think it would be better to use `Decimals` instead of `Decimals` since `Decimals` describes the number of digits to display after the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal point of the decimal", "reference": "not dramatic, but why 32bits if we allow a range that is smaller than 8?" }, { "prediction": "I don't think this is a promise. It's not a promise, it's a promise.", "reference": "- Use type from `service_discovery/dto/price.go` - Rename `Price` -> `Money`" }, { "prediction": "nit: `
    ` should be indented with `<%s>`",
          "reference": "one space missing at the beginning"
        },
        {
          "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's the right thing to do here, but I'm not sure if it's the right thing to do here. I'm not sure if it's the right thing to do here.",
          "reference": "I worry that having `Platform` as `string` instead of `*string` would result in it getting overriden with `\"\"` if the environment manifest config doesn't specify `platform`. If it gets overridden as `\"\"`, that could be a problem for users that are not using `linux/amd64` right? If this indeed is a potential impact, could we double check in `ApplyEnv`'s unit test? Same with the `Platform` in `TaskConfig`. Sorry for not seeing this in my previous review!!!"
        },
        {
          "prediction": "I think this should be `integration/api/external` instead of `integration/api/external`",
          "reference": "I like the new directory `/api`, what is the thinking behind `/external`?"
        },
        {
          "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.",
          "reference": "staticcheck flags this: replace with `for k :=..`"
        },
        {
          "prediction": "I'm not sure if this is a good idea, but I think it's better to use `sock1.send()` instead of `sock1.send()`.",
          "reference": "There's already a sleep right above"
        },
        {
          "prediction": "Why not use `is_string($this_class_name)`?",
          "reference": "This feels hacky, is there a better way?"
        },
        {
          "prediction": "I don't think we should import `OrderedDict` here.",
          "reference": "Can we move this logic into the `boto.compat` module? Then it's just `from boto.compat import OrderedDict` instead. Also, this is introducing a new dependency. What about users on 2.6.x that don't have the OrderedDict module installed? We may need to fall back to an ordinary `dict` so that existing code in the wild does not break."
        },
        {
          "prediction": "I think this should be `JsonSerializerSettings SerializationSettings`.",
          "reference": "\"Gets the JSON serialization settings.\" would be better?"
        },
        {
          "prediction": "I'm not sure if this should be `/file/{addr}` or `/file/{addr}`?",
          "reference": "The endpoint should be in plural `/files`."
        },
        {
          "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this.",
          "reference": "??? Why do we need to have a different API in Python? Oh, wait, I see what you did. It's to fake the namespaces. Given that I don't think the namespaces are necessary, and that less of these should be exposed anyway, I think these should go."
        },
        {
          "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do this.",
          "reference": "I think this line is gofmt issue? @daixiang0"
        },
        {
          "prediction": "I'm not sure if this is the right place to test this. I'm not sure if this is the right place to test this, but I'm not sure if it's the right place to test this.",
          "reference": "probably better to assert the values directly; technically you could pass this test with an implementation that always returned \"\" for the subrepo for example."
        },
        {
          "prediction": "Why did you change this?",
          "reference": "line is 161 characters (from `lll`)"
        },
        {
          "prediction": "I don't think this is the right place to put this.",
          "reference": "Are these changes needed?"
        },
        {
          "prediction": "I think we can remove the `watchService` parameter from the `Keys` class.",
          "reference": "It seems like reducing the sensitivity would make the test failure less likely to occur, but not fix the issue?"
        },
        {
          "prediction": "I think this should be `use Thelia\\Model\\Tools\\I18nTimestampableTrait;` instead of `use Thelia\\Model\\Base\\CategoryDocumentI18n as BaseCategoryDocumentI18n;`",
          "reference": "missing use statement for importing the full namespace"
        },
        {
          "prediction": "I'm not sure this is the right error type for this error.",
          "reference": "Generally error messages in Go shouldn't start with capital letter. I see this rule is broken in many places here. Why?"
        },
        {
          "prediction": "Is this change intentional? I don't think it's related to this PR.",
          "reference": "These test checks if selection coordinates don't return negative values in that edge cases. Please revert the changes and set `autoWrapCol` and `autoWrapRow` to `false` to the Handsontable instance. This change applies to the entire Core_selection.spec.js file."
        },
        {
          "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.",
          "reference": "I would prefer flag SkipGasPricingValidation"
        },
        {
          "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to move this check to `blocks.find_by_qualified_root` (or similar) so that we don't have to check for `root_a!= blocks.end()` at all.",
          "reference": "could be `const &`?"
        },
        {
          "prediction": "I don't think we should hide progress after finishing.",
          "reference": "The docs should also be updated with the new option."
        },
        {
          "prediction": "I don't think we should publish the notification to the AWS S3 bucket.",
          "reference": "Name is _way_ to generic for this patch to be accepted I think. Can you rename it to maybe `send_sns_notification` or something else you find suitable?"
        },
        {
          "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if it's the right thing to do here.",
          "reference": "Out of the scope."
        },
        {
          "prediction": "I'm not sure this is the right place to put this.",
          "reference": "I think we need an if block to check that if this API is really missing. We wouldn't want to override the browser's implementation."
        },
        {
          "prediction": "I think this should be `if (name && typeof name!=='string') {`",
          "reference": "I was wondering, things like EDITOR_TYPE, VALIDATOR_TYPE, RENDERER_TYPE are not obligatory. Therefore if the custom editor will be registered with this method, `name` will be set to `undefined`. Should we handle this scenario?"
        },
        {
          "prediction": "I don't think this is needed anymore.",
          "reference": "This line should not be removed, as it is not the description of the package, but a copyright header."
        },
        {
          "prediction": "I'm not sure this is the right place for this. I think it should be `tag` instead of `tag`.",
          "reference": "Wouldn't it be more space efficient to make this a `byte` enum or bitfield?"
        },
        {
          "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, or if it's the right place to put it.",
          "reference": "Flake8 doesn't like the assignment, but non-use of `e` here. I think we can just remove the try/except here for `cursor.execute(sql)`."
        },
        {
          "prediction": "I don't think this is a marker interface.",
          "reference": "Maybe add short example list:.... type body declarations, such as AnnotationMembers, Methods, Fields"
        },
        {
          "prediction": "I'm not sure this is a good idea. It's not a good idea to have a timeout for all caps, but it's a good idea to have a timeout for all caps. I'm not sure if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps.",
          "reference": "These are really meant to be the keys in the capabilities, not the keys of values within the capabilities"
        },
        {
          "prediction": "I think this should be `toString()` instead of `toString()`",
          "reference": "It is debatable whether we have to default this. I did this to avoid breaking custom implementations."
        },
        {
          "prediction": "I'm not sure this is the right fix. I'm not sure if `attr_value['string'] == value` is the right thing to do here.",
          "reference": "# `attr_value['string'] is not None` probably not required as `attr_value['string'] == value` check is already being done"
        },
        {
          "prediction": "I think this should be `internal/pkg/aws/addon.go`",
          "reference": "we shouldn't need the \"addon\" rename"
        },
        {
          "prediction": "Layout/ExtraSpacing: Unnecessary spacing detected.
    Layout/SpaceBeforeFirstArg: Put one space between the method name and the first argument.", "reference": "These are covered by routing constraints." }, { "prediction": "I'm not sure this is the right place for this change.", "reference": "Could we use just a normal string here?" }, { "prediction": "I'm not sure if this is the right place to put this import. I'm not sure if this is the right place to put this import.", "reference": "`isFunction(Symbol)` triggers a `ReferenceError` if Symbol is undefined. Using `typeof Symbol === 'function'` is OK however." }, { "prediction": "I'm not sure if this is the right place to unlock the lock.", "reference": "Is there an else clause (with a lock.unlock ()) missing here as well? If we think we do not need an else clause then lets add an else clause containing assert zero." }, { "prediction": "I'm not sure if this should be a [int] or a [int]byte.", "reference": "do we foresee `32` ever changing? (as well as its use in error checking in `clerk.go`) if \"no\" this is fine, if \"yes\" it's probably still fine" }, { "prediction": "Please revert this change.", "reference": "you don't need to create a enum for this, java allows you to switch on a string ;) (since java 7?)" }, { "prediction": "I don't think this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "This should be `modelPromises.roles = this.get('store').query('role',...` and the promise body should just `return roles;`. This is because the `model()` hook will pause for the returned promises to be resolved before continuing so when returning `RSVP.hash` you end up with a hash containing the values returned from the promises so the controller and everything else relying on the `model` object doesn't need to worry about things being async." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to do this.", "reference": "This is basically a repeat of `main-is-top-level.js`. I suggest having these 3 checks point to the same evaluate file. You can change what element they test through the rule selector as well as the check.json options property. So you would have `main-is-top-level.json`, `banner-is-top-level.json` and `contentinfo-is-top-level.json` each point to `landmark-is-top-level.js`, and pass in a different `options` object which tells it what element you're trying to test." }, { "prediction": "I'm not sure this is the right place to set core. It seems to me that if the core is null, the clear() method is called, and the clear() method is called again.", "reference": "Why do we need this check? setCore already handles nulls." }, { "prediction": "I'm not sure this is the right fix. I'm not sure if `__iter__` and `__len__` are the right thing to do here.", "reference": "good catch, thanks. This is going to make the user experience much better." }, { "prediction": "I don't think we need to import `Component` here.", "reference": "TODO: remove this unused import" }, { "prediction": "I'm not sure this is correct. The token is invalid, but the JWTSVID format is invalid.", "reference": "Hmm leaking the library name out in the Workload API doesn't seem great. Do we want to catch these errors and return a canned \"could not parse token\" or something instead?" }, { "prediction": "Indent the right brace the same as the first position after the preceding left parenthesis.", "reference": "I think `-f gradlew` is better for code unity" }, { "prediction": "Can we use the same config for source reader fetch and sink reader fetch?", "reference": "Is there precedent for this config key? What other keys are similar? The others in this file start with `table.exec.iceberg`. Is there a reason for not continuing with that convention?" }, { "prediction": "This file should be reverted.", "reference": "Can we avoid no-change changes being committed - they make it harder to distinguish actual changes from code editor changes" }, { "prediction": "I don't think we need to update the name of the AWS IAM server certificate.", "reference": "AWS Identity and Access Management (IAM)" }, { "prediction": "I'm not sure if this is the right thing to do here.", "reference": "You dont use this dependency anymore" }, { "prediction": "I don't think this is needed.", "reference": "Here is the test that checks that the sqlcipher in use was compiled with the right flags" }, { "prediction": "I don't think this is the right place to put this check. It should be moved to `LoginServerManager.getLoginServersFromRuntimeConfig`", "reference": "Turns out that if the hosts are not in an `array`, an `Exception` is not thrown anymore :-( It simply returns `null`. So, we need to attempt to parse a `string` outside the `catch` block for it to work." }, { "prediction": "I think this class should be renamed to `TestRestTemplateBuilder`", "reference": "this test only covers the happy path. what about no acceptable rest template found?" }, { "prediction": "I think this should be `LOG.debug`.", "reference": "Since this is in a test, I imagine that the choice of `info` level was deliberate." }, { "prediction": "I think this should be `langserver` instead of `core`", "reference": "this should probably be named somewhere if you want to reuse it." }, { "prediction": "I think this should be `AWS_BOUND_SA_SIGNING_KEY_PATH` instead of `AWS_BOUND_SA_SIGNING_KEY`.", "reference": "needs a rename to not include AWS" }, { "prediction": "This file should be deleted.", "reference": "Isn't sigma have `double` type?" }, { "prediction": "This should be `seed = nano::deterministic_key (seed, 0);`", "reference": "May be better use nano::keypair that generates ramdom value?" }, { "prediction": "I don't think we need to check `ignoreUndefined: false` here.", "reference": "I think the more complete solution will save off a `ignoreUndefined` in the base class for the bulk operation (with a default of `false`), and use that for calculations. Was there a reason you didn't want to support the option from the operation level?" }, { "prediction": "I don't think we need to catch the refresh token revokedException here.", "reference": "The catch (Exception e) block that follows does an updateSync, which will get a SmartStore instance (while logging out is taking place) - and then terrible things will happen - a database gets created for the outgoing user that won't be openable by the returning user causing the app to crash at logout. This is a somewhat superficial fix - SmartStore should not return an instance for an outgoing user." }, { "prediction": "I think we should use `gomock.NewController(t)` instead of `gomock.NewController(t)`", "reference": "huh does this work without a `Return`?" }, { "prediction": "This is a bit of a nitpick, but I'm not sure why we'd want to do this. It seems like we'd want to only set the exception if it's pending, but I don't think we want to do that.", "reference": "Don't think we want this line, right? (Plus \"failing\" is spelled wrong)." }, { "prediction": "This should be `R.id.share_item` instead of `R.id.remove_item`.", "reference": "I think it would be more clear to have local-feed-hiding all in one place (bottom of this method?). Further up the method, there already is some code that hides the website icon, for example." }, { "prediction": "why did you remove this?", "reference": "Why remove this one? It doesn't work yet, but we'll add it sooner or later." }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to have a `DocstoreRevision` struct that has a `I` and a `U` and a `F` and a `M` struct that has a `I` and a `U` and a `F` and a `M` struct that has a `U` and a `F` and a `M` struct that has a `U` and a `F` and a `M` struct that has a `U` and a `F` and a `M` struct that has a `U` and a `F` and a `M` struct that has a `U` and a `F` and a `M` struct that has a `U` and a `F` and a `M` struct that has a `U` and a `F` and a `M` struct that has a `U` and a `M` struct that has a `U` and a `F` and a `M` struct that has a `U` and a `F` and a `M` struct that has a `U` and a `F` and a `M`", "reference": "Why did you remove the struct tags?" }, { "prediction": "I think this should be `report_element = etree.Element(\"BlazeMeterReport\", link=link, name=text)`", "reference": "Let's be neutral with tag names. Let's just have \"ReportURL\"" }, { "prediction": "Can we use `time.UtcNow()` instead of `time.Unix(1585674086, 1234)`?", "reference": "Use an explicit time to ensure conversion is not copy-paste and wrong." }, { "prediction": "I'm not sure this is the right place to do this. The `strstr()` function is supposed to return a string, not a string. The `c_str()` function is supposed to return a string, not a string. The `c_str()` function is supposed to return a string, not a string. The `c_str()` function is supposed to return a string, not a string. The `c_str()` function is supposed to return a string, not a string. The `c_str()` function is supposed to return a string, not a string. The `c_str()` function is supposed to return a string, not a string. The `c_str()` function is supposed to return a string, not a string. The `c_str()` function is supposed to return a string, not a string. The `c_str()` function is supposed to return a string, not a string.", "reference": "The logic now is to look for ``. This `` output is also not consistent with the other two functions you mentioned. Do the other two RPCs not report an error?" }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "Use nested module/class definitions instead of compact style." }, { "prediction": "I think this should be `t.Log(\"Init KBFSOps: %s\", kbfsOpsInit())`", "reference": "Do you think we need to keep this in, or is it just leftover personal debugging? Seems like it wouldn't be too useful most of the time, but I don't care too much if you want to keep it." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's the right place to put it.", "reference": "showNPCs is not needed" }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if it's a good place to put it.", "reference": "Docstring for public function pls" }, { "prediction": "I'm not sure if this is the right place to test this. I'm not sure if this is the right place to test this.", "reference": "This should use `t.Errorf` instead. You want the second part of the test to run even when the first part fails." }, { "prediction": "I'm not sure this is the right fix. The `ratio` argument should be passed to `h2o_quic_close_all_connections` and `h2o_quic_num_connections` should be passed to `h2o_quic_close_all_connections` and `h2o_quic_num_connections` should be passed to `h2o_quic_close_all_connections` and `h2o_quic_num_connections` should be passed to `h2o_quic_close_all_connections` and `h2o_quic_num_connections` should be passed to `h2o_quic_close_all_connections` and `h2o_quic_num_connections` should be passed to `h2o_quic_close_all_connections` and `h2o_quic_num_connections` should be passed to `h2o_quic_close_all_connections` and `h2o_quic_close_num_connections` and `h2o_quic_num_connections` should be passed to `h2o", "reference": "Should this if block better be changed to `#if H2O_USE_LIBUV \\n #else... #endif`? The reason I wonder is because that's the way the QUIC context is being initilaized at the beginning of this function. Though I would not expect practical difference between the two approaches, because ATM the only case where we create QUIC connections is when the protocol selector is set to non-zero, and because when it is set to non-zero `h2o_quiy_close_all_connections` becomes a no-op." }, { "prediction": "I think this should be `if (Object.is(hookState._value[0], nextValue))`", "reference": "`Object.is` is an ES6 feature of JS so I don't think we can use it here (or we have to change our browser support matrix or specify that an Object.is polyfill is pre-req of `preact/hooks`). Should we just do an `===` check in `preact/hooks` and provide a `Object.is` polyfill and version of `useReducer` in `preact/compat`?" }, { "prediction": "I don't think we need to check `typeof options.roles ==='string'` here.", "reference": "This was a bug I picked up by using the TS interface as a guide, this seems like it was / is the intention, also is a bug in master (needs port)" }, { "prediction": "I think it would be better to have a more descriptive name, e.g. `WithCollection` or `WithCollection`?", "reference": "It would be helpful to explicit here what this really means and assumes." }, { "prediction": "I'm not sure if this is the right place to store this map, but I think it would be better to store it in a struct.", "reference": "`ExpectedBalances` is a global variable (from `gochecknoglobals`)" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "This is another place where I'd feel more comfortable with declaring the class private. We can always make it public in the future if someone makes a case for that, but I prefer to err on the side of privateness for things like this that 99% of RSpec users won't have a reason to use." }, { "prediction": "I don't think this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "Feels like this should be left as is and add a new createClientWithIssuers or something like that. Avoid all the \"\"" }, { "prediction": "I think this should be `authCallback.onErrorResponse(error);` instead of `authCallback.receivedErrorResponse(error);`", "reference": "Minor unrelated bug in the IDP flow where the error wasn't getting displayed as a `Toast`." }, { "prediction": "I think this should be `var mongoErrorContextSymbol = require('../../lib/core').mongoErrorContextSymbol;`", "reference": "I thought we got rid of this thing?" }, { "prediction": "I think we should remove the `?string` here as well.", "reference": "Please convert int params as well." }, { "prediction": "This is a change in behavior, but I don't think it's worth it.", "reference": "Fixed bug in implementation. Now I can run the validator from the VS Tools menu, double-click on an output line, and navigate to the site of the issue." }, { "prediction": "I'm not sure if this should be exposed as a public property.", "reference": "Can we rename this field to `HttpServerErrorCodes` or `HttpServerErrorStatuses`? It will contain a list of status _codes_, not a list of _errors_. (Personally I prefer \"codes\" over \"statuses\", but we can't change `DD_HTTP_SERVER_ERROR_CODES`.)" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "would you please use: flb_utils_bool(...) here?, that function wraps the on/off/true/false stuff." }, { "prediction": "I don't think we need to pass null here.", "reference": "`invocationInfoTokensToRedact: null` (I really like the convention of using a named parameter whenever the value doesn't communicate the meaning, such as for literal values.)" }, { "prediction": "I think this should be `async_test`", "reference": "maybe renamed to `async_simple_test` if we consider supporting aug test later on?" }, { "prediction": "I think we should be able to remove the `@attributes = apply_default_attributes process(attrs)` line.", "reference": "So where is default_attributes now? Is it used anywhere else still? If not, can it be removed along with any tests of it?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "We could move this to the base class and remove all these changes. What do you think?" }, { "prediction": "I'm not sure if this is the right way to test this, but it seems like we should be testing the content of the flash object instead of the content of the flash object.", "reference": "While we're doing some translation work, could you extract this button text and the other static text from the view?" }, { "prediction": "I don't think we need to do this. If we are going to replace the tokens in the header, then we can just do `headersValue = replaceTokens(headersValue, contextInfo, false);`", "reference": "Nit: Please fix indentation (note: Azkaban uses 2 spaces and not tabs)." }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "This change is necessary because the schema version is ignored unless a schema is specified. I think that has always been the intent." }, { "prediction": "I think this should be `DR_WINDOWS_VERSION_10_1803: info->version = DR_WINDOWS_VERSION_10_1709; break;`", "reference": "The api/docs/release.dox changelog message is missing: maybe you planned to add it once NtAllocateVirtualMemoryEx and NtMapViewOfSectionEx support is in? I would say, add it here in the same diff that raises max_supported_os_version." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "Just do: `return node.hasAttribute('aria-hidden')`" }, { "prediction": "Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument.", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I'm not sure if this should be `Process.Current` or `Process.CurrentMachineName`. I think it should be `Process.Current`.", "reference": "Do we need `_processDataPoisoned`? Can the name or the id of the current process ever change? Or the machine name?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "Did it not work out to wait until after containerd and kubelet are started?" }, { "prediction": "I'm not sure this is a good idea, but I'm not sure if it's a good idea to parse the attributes, or if it's a good idea to parse them all at once.", "reference": "variable names suggestions from me: - damageboost, ITEM_PARSE_DAMAGEBOOST, \"damage boost +x%\" - healingboost, ITEM_PARSE_HEALINGBOOST, \"healing power +y%\" - managainboost, ITEM_PARSE_MANAGAINBOOST, \"mana restoration +z%\" alternatively the other names can stay, because \"increase\" convention isn't that bad, just change mana values to: - \"increasemanarestored\", ITEM_PARSE_INCREASEMANARESTORED, \"mana restoration +z%\"" }, { "prediction": "I don't think we should add a new column to this table. It's not a good idea to add a new column to this table.", "reference": "Why can't this be determined by 'PARTIAL_SUCCESS' in the `status` field?" }, { "prediction": "I don't think this is correct. `$media->getContext()?? ''` will return `null` if `$media->getContext()` is empty.", "reference": "Does it make sense to generate a Exception here? Maybe yes, because it wouldn't make sense to generate a path without the id of the media right?" }, { "prediction": "I don't think we need to create a new instance here.", "reference": "This should be made private." }, { "prediction": "I think this should be `a.baseSVIDKey` instead of `a.baseSVIDKey`.", "reference": "perhaps this is better modeled as a pkg-level var?" }, { "prediction": "I don't think this is needed.", "reference": "I don't think there is a maximum scale, neither for Hive nor for Trafodion. The only condition right now is that the scale can't exceed the precision. Example of a valid scale: DECIMAL(18,18). The maximum of 6 digits applies only to TIMESTAMP columns, where we don't support resolution below microseconds." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "`ctx` is unused in UpdateProjectStaticUser" }, { "prediction": "I don't think we need this method, since it's only used in one place.", "reference": "Why is this not the default, and why only for JS?" }, { "prediction": "Align the parameters of a method call if they span more than one line.", "reference": "A repository has many badges so we should also add type column in scope." }, { "prediction": "I don't think we need to use `Locations.ToArray()` here.", "reference": "Now a hash set, so can't index into it." }, { "prediction": "I'm not sure if we should be using `!ENV['PSModulePath']` here.", "reference": "@jpogran Does this seem like a reasonable way to know if we're in powershell vs. CMD or *sh?" }, { "prediction": "Please use `String#startsWith(String, StringComparison)`", "reference": "1.toLowerCase(Locale.US)? 2.where is accept bug fix?" }, { "prediction": "I think we should be able to get rid of the `KeyError` here, since the `_instance.execute()` method will raise a `KeyError` if the `_instance.execute()` method raises a non-KeyError.", "reference": "We should still be providing something to the user in the case of a `KeyError` instead of a stack trace!?" }, { "prediction": "I'm not sure if this is the right place to put this in.", "reference": "check Lukasz's fix with NonceReserving - is that not better?" }, { "prediction": "I think this should be `this.sourceBlock_.setPrimaryAndTertiary(colour, this.sourceBlock_.getColourSecondary(), this.sourceBlock_.getColourTertiary() );`", "reference": "Would you explain why here please? E.g. from the PR description > the renderer expects to be able to use the secondary color as the fill for a shadow." }, { "prediction": "Why do we need a lock here?", "reference": "Lock needs to go to `RecoverFromDb` instead. Here it may cause deadlocks. My convention was that un-exported functions do not lock, only exported ones (with name starting with a capital letter)" }, { "prediction": "I think this should be `String[]` instead of `String[]`", "reference": "German keyboard would also be used in Austria and Switzerland, so this should have included `.at` and `.ch`." }, { "prediction": "I'm not sure why this was removed.", "reference": "since this makes the indexer thing really only used for a single table, now, you can put in a TODO for me to cleanup and simplify this" }, { "prediction": "I'm not sure if this is a good idea to have a volume name and aMOUNT path. I'm not sure if it's a good idea to have a volume name and aMOUNT path, but if it's a good idea to have a volume name and aMOUNT path, then I think it's a good idea to have a volume name and aMOUNT path. I'm not sure if this is a good idea to have a volume name and aMOUNT path, but if it's a good idea to have a volume name and aMOUNT path, then I think it's a good idea to have a volume name and aMOUNT path.", "reference": "Should we have this path passed from the Azkaban properties? If this is the standard path for nscd even outside LinkedIn, then we can keep it." }, { "prediction": "I don't think we should rely on the stream name.", "reference": "Could be a non-public field. `allowNoSubject`" }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "Don't think this is quite right - think the build one also needs an `IsOriginalTarget` (c.f. code in `src/build`)" }, { "prediction": "This should be `@param array $entities` and `@param array $targetEntityConfig`", "reference": "what about adding typehints instead? I don't think we need to add docblocks for every private methods." }, { "prediction": "I don't think we need to add \"-b\", \"4K\", \"-s\", \"-o\", \"compression=on\", \"-V\", cStorVolumeReplica.Spec.Capacity, fullVolName, fullVolNam openebsTargetIP := \"io.openebs:targetip=\" + cStorVolumeReplica.Spec.TargetIP createVolAttr = append(createVolAttr, \"create\", \"-b\", \"4K\", \"-s\", \"-o\", \"compression=on\", \"-V\", cStorVolumeReplica.Spec.Capacity, fullVolName, fullVolNam, fullVolName, openebsTargetIP, \"-o\", openebsVolname)", "reference": "Is it fine to pass the \"-o compression=on\" in the middle instead of at the end?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if it's the best way to do it, but if it's the best way to do it, I think it's better to do it in a separate PR.", "reference": "Probably make them all keyword arguments." }, { "prediction": "I think this is the only place where we need to do this. I'm not sure if we need to do this in this PR, but I'm not sure if we need to do this in this PR, or if we need to do it in this PR.", "reference": "Why not just check the backdrop setting here as well for the time being? We can combine the code later but at least then it would be configurable if people like the backgrounds." }, { "prediction": "I think this should be `Debug` instead of `Debug.`", "reference": "why are we turning this one into a Warning?" }, { "prediction": "I'm not sure this is the best way to do this, but I think it would be better to use `String#valueOf(long)` instead of `String#valueOf(long)`", "reference": "Wouldn't it be better to use double quotes for the opening parenthesis?" }, { "prediction": "This cast is unnecessary. You can use `to_ulong` directly.", "reference": "Remove the cast" }, { "prediction": "I don't think you need to change the copyright year.", "reference": "What criteria do we use to bump the copyright years? An update to the module?" }, { "prediction": "I think this should be `results[key] = gt_semantic_seg`", "reference": "should we rm line 269?" }, { "prediction": "I'm not sure this is the right place to queue this function, but I think it would be better to move this to the `_onNvdaStartupComplete` callback, so that we don't have to worry about race conditions.", "reference": "Perhaps the code at `source/core.py:564: postNvdaStartup.notify()` should be queued instead? If we are saying the loop must have started before NVDA's startup is complete, then the `postNvdaStartup` action is incorrect." }, { "prediction": "Layout/SpaceInsideBlockBraces: Space inside { missing.
    Layout/SpaceInsideBlockBraces: Space inside } missing.", "reference": "Needed this for testing locally with mail view but not used for any tests. Might be nice to have some seed scripts at some point." }, { "prediction": "I'm not sure this is the right place to put this code. I'm not sure if this is the right place to put this code.", "reference": "wait, if we only do this for successful status codes won't we miss a whole slew of responses? We should be checking this for all codes right?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "Adding in the service yaml `library.yaml` here." }, { "prediction": "I'm not sure this is the right thing to do here. The `*r` is a pointer to a `http.RemoteUserCtxKey`, and `r.Context()` is a pointer to a `http.Context`, and `r.Context()` is a pointer to a `http.RemoteUserCtxKey`, and `r.Context()` is a pointer to a `http.Context`, and `r.Context()` is a pointer to a `http.Context`, and `r.Context()` is a pointer to a `http.Context`, and `r.Context()` is a pointer to a `http.Context`, and `r.Context()` is a pointer to a `http.Context`, and `r.Context()` is a pointer to a `http.Context`, and `r.Context()` is a pointer to a `http.Context`, and `r.Context()` is a pointer to a `http.Context`, and `r.Context()` is a pointer to a `http.Context`, and `r.Context()` is a pointer to a `http.Context`, and `r.Context()` is a pointer to a `http.Context`.", "reference": "Why is this dereference needed?" }, { "prediction": "I don't think it's a good idea to have a `repoNode` with a `readonlyNode` and a `repoNode` with a `RemoveDir` method. I'm not sure if it's a good idea to have a `repoNode` with a `readonlyNode` and a `repoNode` with a `RemoveDir` method. I'm not sure if it's a good idea to have a `repoNode` with a `readonlyNode` and a `repoNode` with a `RemoveDir` method, but if it's a good idea to have a `repoNode` with a `readonlyNode` and a `repoNode` with a `repoNode` with a `RemoveDir` method, I think it's a good idea to have a `repoNode` with a `readonlyNode` and a `repoNode` with a `repoNode` with a `RemoveDir` method.", "reference": "Might want to add that this only happens if you have write permissions to the folder." }, { "prediction": "I think this should be `AfterRetryHandler` instead of `EnforceShouldRetryCheck`.", "reference": "Adding a small blurb about why someone would want to enable this flag would help clarify what it is for. Such as something about when providing a custom retry handler and how`ShouldRetry` will be handled with and without the flag enabled." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "assume the user will be able to register for a custom service name in future?" }, { "prediction": "I think this is the only place where the `Skyline.Controls.Graphs` namespace is used.", "reference": "The extra two empty lines seem unnecessary. Please review your diffs more carefully." }, { "prediction": "I don't think we need to change anything here.", "reference": "What the reason to embed the Oracle?" }, { "prediction": "This route should be `pages/new-topics` since it's a plural of topics.", "reference": "Shouldn't this happen automatically with High Voltage?" }, { "prediction": "Why is this change needed?", "reference": "This is changed because we need `projectId` to be printed as `$projectId` in PHP." }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "This title change seems more accurate to me however not sure if this will confuse users." }, { "prediction": "I think this should be `^(?:.*:)*wikipedia$`", "reference": "Here (and on line 158 as well), would it be more efficient to use the String end_with() method? Not tested" }, { "prediction": "I'm not sure if this is the right place for this function.", "reference": "Why are you creating a new (second) `RAMHandler` here? Is this just an oversight from deleting the previous code?" }, { "prediction": "Shouldn't this be `resp.set_code(cpp2::ErrorCode::SUCCEEDED);`?", "reference": "Move the line 27 to line 31 is better?" }, { "prediction": "I think this should be `if rmd.IsRekeySet()` instead of `if rmd.IsRekeyNotNeeded()`", "reference": "In slack I mentioned we should only do this if the update is from some other device, to make sure our own updates don't cause issues. Maybe the revision check above is good enough to prevent this, but I just want to make sure you thought about it." }, { "prediction": "I'm not sure why this was removed.", "reference": "I would instead explain that random is the default, but you can switch back to defined, or another ordering scheme." }, { "prediction": "I don't think this is correct. `height` is always `0` and `overflow` is `1`.", "reference": "Is there a reason you left this at 0?" }, { "prediction": "I don't think this is the right place to put this check. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`. If the key is `null`, then the `RememberMeServices` should be `AbstractRememberMeServices`.", "reference": "The value of `key` will never be `null` at this point, because `getKey()` will generate a value if it is `null`." }, { "prediction": "I don't think this is the right place to put this check.", "reference": "NIT: You should first check if AdoNetExcludedTypes.Count is greater than 0 before calling Contains (fast-path)" }, { "prediction": "nit: remove empty line", "reference": "should rearrange so as to follow import ordering." }, { "prediction": "Why did we change the state from `RUNNING` to `ZOMBIE`?", "reference": "what is the use case for create workflow with completed state?" }, { "prediction": "This test class should be renamed to `RemoteDistributorTest`.", "reference": "Probably best not to have an empty test...." }, { "prediction": "I'm not sure this is the right place to push the region.", "reference": "Missing the license" }, { "prediction": "I think we can remove the `if p.config.EnableCleanupReplicationTask()` block.", "reference": "Looks like this was previously guarded by `EnableCleanupReplicationTask` flag. Now looks like this is always needed. Just want to confirm the intention is if `GlobalNamespace` is enabled then we want run cleanupReplicationTasks in all cases?" }, { "prediction": "Why is this removed?", "reference": "Potentially it'll be good to remove all of them excluding \"tbb/tbb.h\" But let's do it next time" }, { "prediction": "I don't think this is a good idea. I think it would be better to have a `density` argument that defaults to `False` if `density` is `True`.", "reference": "I would just mention which tolerance - namely as reported by ``sys.float_info``" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": ":+1: Ideally this'll become something you could pass in to the config" }, { "prediction": "I think this should be `.then(self = shared_from_this(), eb, it = std::move(iter), currTerm, currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, currTerm, it = std::move(iter), currTerm, it = std::move(iter), currTerm, currTerm, it = std::move(iter), currTerm", "reference": "Should using `thenValue` to replace `then`?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "This follows the convention of each callback starting with the `IsIntegrationEnabled` check." }, { "prediction": "I'm not sure if this is a good idea. It seems to be a good idea to have a `SumMetricAggregatorLong` with a `startTimeExclusive` and a `sumMetricLong` with a `isDeltaValue` and a `isMonotonicValue` property. I'm not sure if this is a good idea or not.", "reference": "this is not required to be part of this PR right? (With UpDownCounter being absent in.NET, we can make this hardcoded for now, i think)" }, { "prediction": "I don't think we need this interface.", "reference": "Add the PipeFactory here" }, { "prediction": "Why is this no longer needed?", "reference": "please add `var _ impltypes.ChaosImpl = (*Delegate)(nil)`" }, { "prediction": "I'm not sure this is the right way to do this. I think it would be better to have a method `cleanExpiredManifests()` that does the clean.", "reference": "nit: is this added deliberately?" }, { "prediction": "I'm not sure if this is the right place to put this stub.", "reference": "Given the number of tests which need this (I think I counted seven) should we maybe just install this one globally? Is there even a place to do that? Something in `test_helper` maybe?" }, { "prediction": "nit: `typeof maybePromise.then === 'function'`", "reference": "we don't use this anymore, so we can delete it." }, { "prediction": "I don't think this is the right message. It should be something like: \"algoh telemetry configured from file:\", telemetryConfig.FilePath or something like that.", "reference": "nit: change to \"Telemetry configuration loaded from '%s'\"" }, { "prediction": "Why did you change this?", "reference": "Why did this value change?" }, { "prediction": "I don't think we need this anymore.", "reference": "maybe `duckpubsubv1alpha1`?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "The id is not mandatory for web extensions. Could you update this to support a web extension without an id?" }, { "prediction": "Why are we removing this?", "reference": "I actually prefer them to be defined here. Client who calls `lib` should define the args, not `lib` itself." }, { "prediction": "I'm not sure if this is the right place to close epoll console.", "reference": "I think this should've been done with the `defer`-named-return trick. I'll submit a PR for it." }, { "prediction": "I don't think you need to make this shared. You can just use `websocket_server = std::make_shared (*this, nano::tcp_endpoint (boost::asio::ip::address_v6::any (), config.websocket_config.port));`", "reference": "The bind address should be configurable." }, { "prediction": "I don't think this method is used anywhere.", "reference": "Maybe the empty `delete()` should be implemented as default in the interface." }, { "prediction": "I think this should be `\"src/caffe/test/test_data/sample_data.h5\"` instead of `\"src/caffe/test/test_data/sample_data.h5\"`.", "reference": "How to ensure CMAKE_SOURCE_DIR is set correctly?" }, { "prediction": "I'm not sure if this is correct. The balance should be zero if the account doesn't exist. If the account doesn't exist, the balance should be zero.", "reference": "safer to make a copy of incoming *big.Int" }, { "prediction": "I think this should be `time.Minute` instead of `time.Second`.", "reference": "how did we choose this value? does this hold good for Windows too?" }, { "prediction": "I think this should be `errors.New(\"Checkpoint/restore not supported\")`", "reference": "To follow the other build tags, maybe we can call it `criu`?" }, { "prediction": "I'm not sure if this is a good default, but I'm not sure what the default is for.", "reference": "Should we load this from the config file too?" }, { "prediction": "I think this should be validated in webhook instead of throwing error at runtime.", "reference": "Can you file an issue for this?" }, { "prediction": "`!!this[kIsMaster]` is not needed.", "reference": "@nbbeeken what were the cases where `!!this[kIsMaster]` was yielding an incorrect value? we should try to cover them in the tests" }, { "prediction": "I don't think we need to do this. It's not possible to overwrite transport data. It's only possible to overwrite transport data in the future.", "reference": "This whole function feels messy. I don't have a better idea at the moment though." }, { "prediction": "I don't think you need to cast `long` to `ConnectionType` here.", "reference": "should use Number instead of Long" }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to move this to `InfluxDBTest` and have the tests pass.", "reference": "Can you rename this and the file `InfluxDBProvider` and `influxdb_provider.go` respectively?" }, { "prediction": "I'm not sure this is the right place to do this. `vchildren && vchildren.length` is always `false`, so we don't need to check for `!==0` here.", "reference": "This is the real culprit, as now vlen will always be a Number (and known to the compiler as such). You could probably go one step further and avoid the ToBoolean on `vchildren` as well by writing something like `vlen = (vchildren!== undefined)? vchildren.length : 0` if that matches the contract." }, { "prediction": "I think we can remove the `@BindView(R.id.txtNoDataString)`", "reference": "missing space before `TextView`" }, { "prediction": "Why not just return `ATTR_READ_ERROR` here?", "reference": "so this attribute is used as u8 in code, but saves as int32? Why?" }, { "prediction": "I think we should rename this to `adaptiveScalarEncoder` for consistency with other encoders.", "reference": "can RDSE be added to the list? It has its capnp files." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "These functions only ever read from the API and should always be reading from a cache, so I have made that explicit by expecting a Reader here and supplying a `cache.Cache` as the client." }, { "prediction": "(style) code indent should use tabs where possible", "reference": "No, we can't skip any of the mangling after the suspend point: this should follow the other mangling and undo its push." }, { "prediction": "Why do we need this?", "reference": "this is generated code.. these changes will need to be made in the code generator to have them stick." }, { "prediction": "I'm not sure this is the right way to test this. I'm not sure if this is the right way to test this.", "reference": "Should we abstract this into a reusable utility so it doesn't have to get repeated in every test file needing Shadow DOM support?" }, { "prediction": "Can you move this to `tests/unified-spec-runner.js`?", "reference": "Maybe we rename this to `command_monitoring.test.js` to match the directory name change? Or would you rather do that as part of the greater test cleanup? I'm fine either way." }, { "prediction": "I'm not sure this is the right thing to do here. `$options` is an array of options, not a string. I'm not sure if this is the right thing to do.", "reference": "Why is this change necessary? `handleSingle()` will cast it to a string, no?" }, { "prediction": "I think this should be `table.name()` instead of `table.name()`", "reference": "This newly added method should be well defined, should it return `TableIdentifier` or just `String`?" }, { "prediction": "I think this message should be more like `Object has active relationships with multimedia %relations%`.", "reference": "have a relation with a product" }, { "prediction": "I'm not sure this is the right way to check for a local pod.", "reference": "I guess that there is still a window here, because the GC could happen between the `PodExist` and `Delete` calls. Would it be better instead to check `err` and allow it if it says \"pod has already been deleted\"?" }, { "prediction": "I think we can remove the try/except here, since we don't need the transaction anymore.", "reference": "SQLAlchemy's session management does magic to make sure that if the rollback fails you still get the original exception that caused the rollback. Also it looks nicer." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "This switch statement can be removed. Just return q.items[act.Nonce]!= nil" }, { "prediction": "n.equals(n.getParent().getChild(1)) {", "reference": "I think `==` for nodes is more readable than equals. An equals calls looks like it could be recursing, because intuitively two nodes are equal if their subtree are the equal. But everywhere you replaced, we don't want to test whether the subtrees are structurally equal, we want to know whether they're the same. Only `==` captures this intent, using equals obscures this. Not to mention that equals may NPE and is in that sense less ergonomic. I think we should enhance the rule with a list of types for which `==` is correct. Edit: in the meantime i think we could suppress those new violations..." }, { "prediction": "I'm not sure if this is the right usage for this option. I'm not sure if it's the right usage for this option.", "reference": "What's the scenario for passing multiple filters?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this.", "reference": "move to after check log.empty()" }, { "prediction": "I'm not sure this import is needed.", "reference": "This line needs to be removed" }, { "prediction": "I think this should be `cloud.cloud.build.event.statusChanged`", "reference": "Can we delete such const like `CloudBuildSourceEvent` and `CloudBuildSourceBuildId` since all those are contained under schemas/v1?" }, { "prediction": "I think this should be `pkg/apis/hive/pkg/apis/hive/package.go` instead of `pkg/apis/hive/package.go`", "reference": "This is unused." }, { "prediction": "I think this should be `TraceContextFormatCompositePropagator` instead of `CompositePropagator`.", "reference": "Any reason not to put `using System.Collections.Generic` (guess there shouldn't be naming conflicts)?" }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to put this in the TwitterPlayerCardsController as a method on the TwitterPlayerCardsController.", "reference": "Could the name of this controller just be shortened to `TwitterCardsController`? Is the `Player` there adding information?" }, { "prediction": "I think this should be `uh.Unhealthy && u.MaxFails!= 0`.", "reference": "Backends with hostnames that depend on the request are always up?" }, { "prediction": "I think this should be `from jsonpatch import JsonPatchException`", "reference": "I'd rather catch those to `utils.py` and raise a simple ValueError from them. From the resource point of view, these are details of implementation" }, { "prediction": "I'm not sure if we want to remove this, or if it's just for testing purposes?", "reference": "make this 1.0? I don't think all that many people do `language: julia` without any `julia:` specifiers, but may as well keep that possible?" }, { "prediction": "I don't think we need this line.", "reference": "nit: `AZURE_KEYVAULT_AUTH_VIA_CLI` is defined by us, so it might be helpful to differentiate it from azure's env names. Maybe starts with `GOCDK`." }, { "prediction": "Why do we need to pass `sessionStorage`?", "reference": "Depend on interfaces not on structures" }, { "prediction": "I don't think this is the right place to do this.", "reference": "This fix looks good. My concern, don't forget to fix metad too!" }, { "prediction": "I think this should be `!(earliest.BID() == NullBranchID && latest.BID() == LocalSquashBranchID)`", "reference": "Just noticed this nil context. Perhaps plumb through ctx too, or change to `Debug`?" }, { "prediction": "Content-Type should be `application/x-www-form-urlencoded`", "reference": "Does it send requests with urlencoded bodies anywhere? I thought it sends only json. Maybe content-type should be `application/json` by default?" }, { "prediction": "I'm not sure if this is a good idea. The default server port is 11811, but the default server port is 11811.", "reference": "Again use of `constexpr` is recomended." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to put it in `graph_redim.py` instead of in `graph_redim.py`.", "reference": "Minor point but I would call this ``redim_graph`` instead." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "As I was trying to figure out how the error messages are written out, since they are returned from `getOrCreate` and `reconcile`, it looks like we are using plain `klog` to write them out instead of using the logger from the scope above" }, { "prediction": "Why are we returning an error here?", "reference": "Now it's double logging, is not it? Because `service.ipForward.Enable()` logs extra `warning`" }, { "prediction": "Use the new Ruby 1.9 hash syntax.
    Use the new Ruby 1.9 hash syntax.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Whatever the decision is about the request type to use, this should only match what is needed and not the other one." }, { "prediction": "I think this should be `localConnection.type == Blockly.OUTPUT_VALUE` instead of `localConnection.type == Blockly.OUTPUT_VALUE`.", "reference": "...and in turn, this should probably be var updatePreviews = true; if (!(localConnection && localConnection.type == Blockly.OUTPUT_VALUE) && (Blockly.localConnection_ && Blockly.highlightedConnection_)) { since the first clause is a no-op. If you want to leave it this way for clarity, that's fine too." }, { "prediction": "I'm not sure about this TODO, but I think it's a good idea to keep the naming consistent with the rest of the code.", "reference": "Please remove this TODO, since they will not apply anymore after you are done. :) Can you please remove this everywhere else in this PR?" }, { "prediction": "I'm not sure why this test is failing.", "reference": "This seems like an incomplete schema definition. will that have any effect on the tests?" }, { "prediction": "I'm not sure this is the right place to put this check.", "reference": "The testing cases are failing because `SetHeader` does not only handle cases where input are from files. It also reads categorical feature indices from the config parameters (see the part outside the `if (filename!= nullptr) {... }`). Skipping `SetHeader` directly here will cause errors when we load data from numpy or pandas arrays (where `filename == nullptr`) and use categorical features. So I think we should move the the check `filename!= nullptr && CheckCanLoadFromBin(filename) == \"\"` into `SetHeader`. That is, we change `if (filename!= nullptr) {... }` into `if (filename!= nullptr && CheckCanLoadFromBin(filename) == \"\") {... }`" }, { "prediction": "I'm not sure why this change is needed.", "reference": "I think we should change the variable name of `err` in `if err, ok := err.(*exec.ExitError); ok `, this re-assignment of `err` still affects the next `else` branch" }, { "prediction": "I don't think this is needed.", "reference": "`Status` has identical semantics with `StatusOr`." }, { "prediction": "I think this should be `/mutate/addlabels` instead of `/mutate/addlabels`.", "reference": "why is this named in a different style from other paths?" }, { "prediction": "I'm not sure if this is the right place to change the log message.", "reference": "Swapped these to ensure that we aren't passing a nil cluster in to util.IsPaused" }, { "prediction": "I think this should be `platformPkgManagerTuple`, not `pkgManagerTuple`.", "reference": "I don't see pkgManager used anywhere, is there a reason we need this?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "A bit late, but I don't think this is necessary, as all callers will send absolute paths. And if you ever get a relative path, resolving it with `toAbsolutePath()` leads to it being relative to whatever CWD the app is started with, while the typical resolving of relative `instanceDir` is to resolve it relative to CoreContainer#coreRootDirectory." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "There's an awful lot of test failures here because `localFieldPathType.schema` may not contain a `getters` array." }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Mysql allows for `||` concatenation (e.g. `firstname||' '||surname`) if you enable it: `set sql_mode=PIPES_AS_CONCAT;`. I think this check is safer though" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "NOTE: this is the default ENS registry address. If the ENS suite is deployed from the current builds to any chain, it will always be found at this address." }, { "prediction": "I'm not sure if this is the right route to put here. I think it should be `routes.draw_vanity` or something like that.", "reference": "I'm curious why you are using `draw` in this route file?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "Those variables are only been used once, I think we don't need to create them at all, just pass values to the `GetRawDiff` directly." }, { "prediction": "I don't think this is needed.", "reference": "I like the idea of replacing all the `#if NET461` with `#if NETFRAMEWORK`... is that worth doing now? Means fewer changes if we go to 4.7.2 at some point" }, { "prediction": "Should this be `oidc.ScopeOfflineAccess` or `oidc.ScopeOpenID`?", "reference": "to fix the docs build failure, make this const var named without the suffix `Name`" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This bugfix also included, in case a subjectAlternativeName was present in the cert, then URIs (e.g SVID SPIFFE auth) would not have been attempted." }, { "prediction": "I'm not sure if this is the right place to put this interface. I'm not sure if it's the right place to put this interface, but I'm not sure if it's the right place to put it.", "reference": "Same here. Feels like the wrong location." }, { "prediction": "I'm not sure if this is a good idea, but I think it's better to use `_path_suggestion` instead of `download_path_suggestion`.", "reference": "Please make `_path_suggestion` public (i.e. remove the `_`) in `downloads.py`." }, { "prediction": "I'm not sure about this, but I don't think it's a good idea to add a `TLSSNIChallengePort` to the `flag` file.", "reference": "Woah, these flag names gotta get shorter. (Edit: I'll try to suggest some if needed, will think on it.)" }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to put this in a `app/config.rb` file.", "reference": "Is this the code that's supposed to use the Rails app's only when in Rails4? What's the point of the first `if app.respond_to?(:secrets)`, both the `if` and the `elsif` have the same body, is only the second one needed? If `app.config` has a `secret_key_base`, then use it, the end. Is there a need for first checking if `app.respond_to?(:secrets)`?" }, { "prediction": "I'm not sure if it's better to use `isObjC()` instead of `m_is_objc_enum = false;`", "reference": "Does this not apply to C enums on Linux?" }, { "prediction": "I'm not sure if this is the right place to put this check, but I'm not sure if it's worth it. I'm not sure if this is the right place to put this check, but I'm not sure if it's worth it.", "reference": "Should this check if the error is `RetryableWriteError` before adding the label?" }, { "prediction": "I'm not sure if `rollup-plugin-commonjs` will resolve `.default` if `get-form-data` is undefined.", "reference": "Oh wow, that's one complicated require :)" }, { "prediction": "Can you add a link to the `request_context.go` file in `aws-go-sdk`?", "reference": "do you mean how to \"use\"" }, { "prediction": "I'm not sure why this is needed.", "reference": "We can't really test this anymore since ref and props.ref are at the backing node level now" }, { "prediction": "I think this should be `final`", "reference": "Did you intend to set this in the constructor?" }, { "prediction": "I think this should be `input.ImageID = s.defaultAMILookup(\"ubuntu\", \"18.04\", machine.Machine.Spec.Versions.Kubelet)`", "reference": "This looks fine as a first approach, and can we put a TODO here about ubuntu 18.04 being hardcoded?" }, { "prediction": "I don't think this is needed anymore.", "reference": "This isn't strictly needed since lmdb / leveldb data that is unencoded does not require OpenCV IO. I think `DataLayer` should only require lmdb / leveldb. If one tries to use encoded data without OpenCV the `DataTransformer` guards will report the dependency failure." }, { "prediction": "I think this should be `\"unable to apply hiveapi cluster role binding\"`", "reference": "Should we take out this change? This was only in there to try to brute force the start of the apiserver yesterday." }, { "prediction": "Align the parameters of a method call if they span more than one line.", "reference": "I worry that this association name is a bit confusing. Yoz was asking me about the concept of completion yesterday, which is why I think of it. It wasn't clear to him exactly what it was. what about calling this a `step_completer`? we know that a proposal has many steps, so I think that might be clearer. in the future, we also might want the rename the `approver` relation because a step is not always an approval these days." }, { "prediction": "I don't think this is needed anymore.", "reference": "Just add a to-do saying we need to add api-version in the check some time in the future when we enable the single-swagger spec mode for validation." }, { "prediction": "I think this should be `setDefaultDatasource('thelia','mysql');`", "reference": "@lunika Please see this. It allows us to do `Propel::getConnection()` easily, as we have only one database." }, { "prediction": "I don't think we need `as AspNetTags` here.", "reference": "Not related to this particular cast but I wonder if we shouldn't have a cast helper that would log if null to gain visibility." }, { "prediction": "nit: `nextPageToken,incompleteSearch,files(${DRIVE_FILE_FIELDS})` -> `kind,nextPageToken,incompleteSearch,files(${DRIVE_FILE_FIELDS})`", "reference": "why do we need to explicitly declare these fields?" }, { "prediction": "I'm not sure this is the right place for this.", "reference": "Note that there are multiple OAI servers -- that's why `$serverClass` is a variable here. You'll want to fetch `$serverClass` from the service manager rather than a hard-coded value, and also set up a module.config.php for the authority record version, `VuFind\\OAI\\Server\\Auth`. Should be easy enough since it can share the same factory." }, { "prediction": "Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument.", "reference": "This is no longer needed and should be removed." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "could use named return params here to avoid declaring the opts, and using naked returns instead." }, { "prediction": "I think this should be ``", "reference": "this is an unrelated fix. I noticed when an instagram carousel post is mixed with images and videos, the videos don't come with thumbnails, so I am adding a fallback thumbnail for this case." }, { "prediction": "Why not just use `statRoot`?", "reference": "\"... after protocol version 1\"?" }, { "prediction": "I don't think this is needed.", "reference": "Is there a unit test that covers this regexp? I am afraid that changing it might break things =/" }, { "prediction": "Is this change intentional?", "reference": "This change is okay IMO because an `@` variable in Ruby is not a reference -- `@` variables are instance variables. Also, it's never used by the Ruby transformers." }, { "prediction": "I'm not sure this is the right way to do this. The `%name%` should be replaced with `%name%`.", "reference": "Why this change was needed? Because in `po` files it's with curly braces?" }, { "prediction": "I'm not sure if this is the right place to put the asserts.", "reference": "Wait -- where did this change come from? This seems unrelated to trace building and seems like it could affect basic execution, unlike the rest of this PR which is all under the off-by-default trace option. Please separate this into its own PR and probably ask @AssadHashmi to review." }, { "prediction": "I don't think this is needed.", "reference": "seems to be redundant (mention `docusaurus` )" }, { "prediction": "I think this should be `@return CherryPick cherrypick();`", "reference": "Can we combine this with the Rollback API? We could still support the `rollback` method here, but combine `Rollback` and `CherryPick` into something like `ManageSnapshots`. Then we could reuse logic for enforcing checks of the current snapshot. What do you think?" }, { "prediction": "Is this used?", "reference": "Maybe just `env_prefix`, I don't think this is referring to the WQ manager." }, { "prediction": "I'm not sure this is the right place to remove R. I'm not sure if it's a good idea to remove it, but I'm not sure if it's a good idea to remove it.", "reference": "Unrelated line change :)" }, { "prediction": "I don't think we need this.", "reference": "I raised an eyebrow at making `net` depend on `k8s.io`, but it seems we're already doing that." }, { "prediction": "I don't think this is needed.", "reference": "I think ticket meant, not applying replacement in this method, but rather applying encodeSomeHtml to each and every localization string" }, { "prediction": "I don't think this is the right place for this check.", "reference": "ticket for the 4.0 epic?" }, { "prediction": "I think this should be `cfg.model.neck.rfp_backbone.pretrained = None`", "reference": "`cfg.model.get('neck')` will return None if neck does not exist, thus we can omit the default value." }, { "prediction": "I'm not sure if this is the right place to put this method, but I think it's better to move it to `facet_paginator`.", "reference": "Trailing whitespace detected." }, { "prediction": "I think this should be `json:\"cxxflags\"` instead of `json:\"cxxflags\"`", "reference": "I don't see why a `cxxflags` key is necessary? C flags are important in the target file because they define things like the float ABI. But these flags are also used for C++. I can't think of a reason why you would want to configure C++ flags in a target file." }, { "prediction": "I'm not sure this is the right place to put the `scratch` in here.", "reference": "Update year range in Copyright notice, and elsewhere too." }, { "prediction": "I'm not sure if we need to change the name of the struct here.", "reference": "Can we update this PR to not be a breaking change? i.e. if a user specifies `accessKeyID`, it is still used. But if a user specifies `accessKeyIDSecretRef`, it takes precedence?" }, { "prediction": "I don't think this is the right place to put this, but I think it would be better to put this in a `before_action` that checks if `params[:read_tou]` is `0`.", "reference": "You don't actually need both tests here as \"truthiness\" means that `\"0\"` is false and hence the first test will be true..." }, { "prediction": "I'm not sure if this is the right way to test this, but it looks like we're testing the content of `I18n.t(` and `I18n.t(` should be `I18n.t(` and `I18n.t(` should be `I18n.t(` and `I18n.t(` should be `I18n.t(` and `I18n.t(` should be `I18n.t(`", "reference": "Everything else in here is using `I18n`. Should we do that here to be consistent?" }, { "prediction": "I think this should be `0.0.0.0/0:udp:53,udp:67,tcp:179,0.0.0.0/0:tcp:2379,0.0.0.0/0:tcp:6443,0.0.0.0/0:tcp:6666,0.0.0.0/0:tcp:6667;die-on-fail`", "reference": "What do you think about changing the ordering to be `::`? I think it matches the most with what we previously had so that it doesn't change too much for our users." }, { "prediction": "I think this should be `< 0 || static_cast(rootedAtAtom) < mol.getNumAtoms()`", "reference": "I'm fairly sure this precondition is always true due to the mod (%)" }, { "prediction": "nit: maybe `\"seen twice: \" + info.info.name`?", "reference": "I love seeing diffs like this one, adding a `String` message to an otherwise cryptic `assert`! It makes me realize you must have had a hellacious debugging session!" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do. If the config file does not have a version, it is assumed to be zero. If the config file does not have a version, it is assumed to be zero. If the config file does not have a version, it is assumed to be zero. If the config file does not have a version, it is assumed to be zero. If the config file does not have a version, it is assumed to be zero. If the config file does not have a version, it is assumed to be zero. If the config file does not have a version, it is assumed to be zero, but it does not have a version, it is assumed to be zero. If the config file does not have a version, it is assumed to be zero, but it does not have a version, it is assumed to be zero.", "reference": "1. No logger exists to produce a message 2. Can't assume the latest version because missed version means 0." }, { "prediction": "Why not just use `sha256`?", "reference": "I saw a wrong reuse of the cache between a partial analysis of a single file and a full run where errors due to lack of context on the first partial run was reported on the full run. Shouldn't we use a hash that is composer.lock + psalm.xml + command line to be safe?" }, { "prediction": "I don't think we need to import `ks.DatetimeIndex` anymore.", "reference": "Could you also update it in `at_time`?" }, { "prediction": "I don't think we need this.", "reference": "Because schema is non-final we can't just switch this to a lambda" }, { "prediction": "Nit: \"While resolving function '{0}' follwing exception occured: {1}\" -> \"While resolving function '{0}' follwing exception occured:\"", "reference": "proposal: **always** add the exception to the end of the message. So no need to to pass exception twice (implicit and explicit). Need a lot of changes." }, { "prediction": "I think this should be `event.getInvocationType()` instead of `event.getLifeTimeInQueue().update(event.getInQueueNanoTime());`", "reference": "why? event.getInvocationType is not you want?" }, { "prediction": "I'm not sure if we should use `git_hash` here.", "reference": "nit: how about `GitSHA`?" }, { "prediction": "This should be `makeflow.failed.%d`", "reference": "If you move the other functions, this should also be moved to `makeflow_gc.h`." }, { "prediction": "I'm not sure if this is the right way to do it, but I'm not sure if it's the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "This whole block bugs me. Expire_time to me suggest that an absolute time of when something happens and duration is an interval of time. While the code looks correct, it feels awkward to read." }, { "prediction": "I don't think this is the right place to set `_dom` to `null`.", "reference": "Can we add `_dom` as an argument to createVNode here? I think it might be shorter (could totally be wrong!)" }, { "prediction": "This should be `mangle_exception(dcontext, ilist, popf);`", "reference": "I think that the iret handling is not yet good." }, { "prediction": "nit: I'm not sure if this is the right place to put this, but I think it's better to put it after `TabBar` so that it's clear that it's only used in one place.", "reference": "Huh, that's kinda weird. I get it, but it's unexpected to me..." }, { "prediction": "Why is this removed?", "reference": "why is this removed? it is important when you upload from stream of unknown size" }, { "prediction": "Align the parameters of a method call if they span more than one line.", "reference": "Out of curiosity, why is this needed? Does it enforce what class can be assigned?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "non-blocking: Now that we have a handful of statements which deal with creating a listener, it may make sense to introduce a `createListener` method or something similar" }, { "prediction": "I'm not sure if this should be nullable.", "reference": "factory should be stateless if possible, looks like much complexity added" }, { "prediction": "I think this should be `self.output()` rather than `self.table.project_id`.", "reference": "Could you please add short description for the default value as well?" }, { "prediction": "I think this should be `if err := bc.sf.CommitStateChanges(blk.Height(), blk.Transfers, blk.Votes, blk.Executions);`", "reference": "Leave a TODO message to say we will fix the log level in the future, once committing the block and the state become a transaction" }, { "prediction": "I don't think we need these?", "reference": "this can be integer" }, { "prediction": "I think this should be `font:` instead of `font:`", "reference": "nitpick: Please remove the blank line here" }, { "prediction": "This should be `foreign_key :changeset_id`", "reference": "What is this for? The only methods I can see by that name in the rails doc are generating a foreign key name from a model class name but you seem to be giving a key name as argument?" }, { "prediction": "I don't think pki authentication plugin should be null.", "reference": "Is this second check necessary? we know that just after the plugin was created its metricRegistry is null, it's set only after `initializeMetrics` has been called." }, { "prediction": "I'm not sure if this is the right place to put this check, but I think it would be better to put it in the `if (it->second.fromLua &&!player->getGroup()->access)` block.", "reference": "shouldn't this be `return TALKACTION_BREAK;` as the player does not meet the required group access?" }, { "prediction": "I think this test can be simplified to: `verify(clique.noNewBlockCreated(minerNode1));`", "reference": "does this still work if minerNode1 has already proposed a block before 2 & 3 are stopped?" }, { "prediction": "I think this should be `if v.LoggingE2EFieldName!= \"\" {`", "reference": "I am wondering if we can either make this a feature or have a way to turn it off in production. My concern is that we might be adding more of these kind of code in the future." }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure it is the best way to do it.", "reference": "We can just use `.stack()` here? Then I guess we can reuse when supporting multi-index columns." }, { "prediction": "I don't think this is the right place to do this. It should be in Datadog.Trace.ClrProfiler.cs instead of Datadog.Trace.ClrProfiler.cs. It should be in Datadog.Trace.ClrProfiler.cs.", "reference": "What are the possibilities here? Since we plan on supporting.net standard 2.0 from day 1, we might as well tackle that now." }, { "prediction": "I'm not sure if we should be using `SpanContext` or `SpanReference` here.", "reference": "should the parameters be called reference or context?" }, { "prediction": "`byteslice(index, 1)` is the same as `in_buffer.byteslice(index, 1)`", "reference": "Do we need to also change `length` here (and below) to `bytesize`? Perhaps we ought to make a copy of `in_buffer` encoded as binary and then the existing algorithm should work." }, { "prediction": "`url.toDisplayString()` returns a string, so you should use `html.escape` here.", "reference": "This should be `toDisplayString()` to not contain e.g. passwords." }, { "prediction": "Style/MutableConstant: Freeze mutable objects assigned to constants.
    Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Can we just say that having a non-nil `autocomplete_path` implies that autocomplete is enabled?" }, { "prediction": "I'm not sure if this is the right place to put gogo imports. I'm not sure if this is the right place to put gogo imports.", "reference": "Note that the package github.com/golang/protobuf/proto is deprecated. We're instructed to use the \"google.golang.org/protobuf/proto\" package instead. I didn't want to change it now to avoid intrusive changes whose consequences are, currently, unknown." }, { "prediction": "I'm not sure if we should keep these endpoints for now, or if we should keep them for now?", "reference": "Are these gone routes? Do we need to 301 them?" }, { "prediction": "I don't think this import is needed.", "reference": "move them to internal group of imports" }, { "prediction": "I think this should be `glog.Errorf(\"Please handle cStorPool '%s' event on '%s'\", string(operation), string(cStorPoolGot.ObjectMeta.Name))`", "reference": "can we rewrite this as: `ignored event '%s' for cstor pool '%s'`" }, { "prediction": "I'm not sure if this belongs_to is the right name for this column. I think it should be `approving_official_user`.", "reference": "not all client data types have an approving official (eg: 18F does not). do we still want to include the relation here?" }, { "prediction": "`T extends WebElement` should be `T extends WebElement`.", "reference": "This change should also probably go into the corresponding method of the abstract By class?" }, { "prediction": "Why was this removed? I don't see any usages of `Utils.combineBaseUrl` in `Utils.getWebProtocol`", "reference": "why this remove?" }, { "prediction": "I'm not sure this is the right type for Reader.", "reference": "As the test failures indicate, making this change is going to mean changing everything which currently implements this interface." }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if it's the right thing to do, but if it's the right thing to do, I'd like to see a link to the `upcase.com` instead of `upcase.com`", "reference": "Do we want to redirect this to the forum or something in case people have it linked/bookmarked?" }, { "prediction": "I don't think this is a good idea, but I'm not sure if this is a good idea.", "reference": "@peterzimon came up with this 'NM' piece as a placeholder for New Member initials, without this the screen looks broken. It changes to normal initials calculation once email or name is entered. Lmk if you'd like to put something different here ;)" }, { "prediction": "I don't think we need subscriptions here.", "reference": "@kevinansfield Would be cool if you can take a if this is the best way to add `subscriptions` info on member model. This uses the transform + separate model definition way which seemed to be the right way from other references in Admin" }, { "prediction": "I don't think we should log this at debug level.", "reference": "This is the common way of dealing with optional dependencies" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "nit: we can replace all `kr` in this file with like `src`." }, { "prediction": "I think this should be `readPreference.mode || readPreference.preference`", "reference": "same concern here as above" }, { "prediction": "I think this should be `criteria.options.fetch(:read)` instead of `criteria.options[:read]`", "reference": "Thank you for this, I gather this repairs failures that I've seen in another PR." }, { "prediction": "I'm not sure this is the best way to do this, but I think it would be better to use `distinct()` on `ManifestFileBean` instead of `toDF(\"file_path\").distinct()`", "reference": "This place probably makes sense to me. We can consider exposing an argument to make the dedup step optional (I am not sure it is a good idea but I want to think this through together). The dedup step we are adding is going to trigger a shuffle. Technically, we are fine in the existing expire snapshots action as it does the dedup in `except`. The question is what kind of performance impact deduplicating here will have. We only have duplicates if multiple manifests reference the same files. In `rewrite_manifests` procedure, we rewrite all manifests, meaning we produce a snapshot with new manifests where entries are old data files. Also, there are updates and deletes that may rewrite manifests. I think deduplicating here makes sense to me in all cases. Thoughts, @rdblue @flyrain @RussellSpitzer @karuppayya?" }, { "prediction": "I think this should be `if err := c.configManager.DeleteNodeConf(nodeID); err!= nil {`", "reference": "can we move the code before deleteNodeFromDB? this way even if the node crashes after remove config we can still re-run decommission again?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "Seems the default value of `melt`'s `var_name` at namespace.py should be changed as well." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if we want to automate the creation of the `cloudtrail` service, or if we want to automate the creation of the `cloudtrail` service. I'm not sure if we want to automate the creation of the `cloudtrail` service, or if we want to automate the creation of the `cloudtrail` service. I'm not sure if we want to automate the creation of the `cloudtrail` service, but if we want to automate the creation of the `cloudtrail` service, I think we should be able to automate the creation of the `cloudtrail` service, so that we can automate the creation of the `cloudtrail` service. If we want to automate the creation of the `cloudtrail` service, I think we should be able to automate the creation of the `cloudtrail` service. If we want to automate the creation of the `cloudtrail` service, I think we should be able to automate the creation of the `cloudtrail` service.", "reference": "I think botocore's serializer should already create the correct headers. However, they are currently not used in `_botocore_parser_integration_test`(line #217). Maybe we could remove the headers here and just use a fallback in the `_botocore_parser_integration_test` (i.e. use the given headers if they are set, otherwise use the headers generated by botocore's serializer)?" }, { "prediction": "I'm not sure if this is the right place for this, but I think it would be better if we named this message `messages.delete_medicationUsed` or `messages.delete_singular` and then named it `messages.delete_medication_used` or `messages.delete_singular`", "reference": "This code is passing a non localized string when it should be passing in a localized string or it should use the name of the item being deleted." }, { "prediction": "I'm not sure if `opts.id` is the right value for `this.id` or `opts.name`?", "reference": "in case you want to rename one of the plugins when instantiating, from options?" }, { "prediction": "This should be `cmd_for_func_mapping`, not `cmd_for_func_mapping`.", "reference": "This default variable should be moved into a config variable, created by `package_context`, and read from `config\\package_layout.json`." }, { "prediction": "nit: `void 0 + 1` -> `void 0 + 1`", "reference": "Can I ask you to add a new line after `const` assignment? I believe that this increases the code readability by encapsulating assignment and logic (expecting) blocks." }, { "prediction": "I don't think this is needed. The host init check is only needed if `KOKKOS_IMPL_TURN_OFF_CUDA_HOST_INIT_CHECK` is true.", "reference": "So the intention is you configure with `-CMAKE_CXX_FLAGS=\"-D KOKKOS_IMPL_TURN_OFF_CUDA_HOST_INIT_CHECK\"`?" }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if it's the right fix. If it's the right fix, it should be fixed in a separate PR.", "reference": "This was a bug." }, { "prediction": "Why not just use `$attributes['class'] === ''` here?", "reference": "Is OK that we don't have some placeholder?" }, { "prediction": "why is this changed?", "reference": "Sectorbuilder behaves differently depending on whether it's given 1 or more threads. It won't seal if only given 1." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Sort of believe We should put MetricManager in constructor parameter given this case." }, { "prediction": "Why not use `int fieldId` instead of `int sourceId` and `int fieldId`?", "reference": "Do we need to check `fieldId` is larger than 1000?" }, { "prediction": "Why is this part of the check_acked_status() call?", "reference": "I think this should be called after the if below (the one for disable positive acks)" }, { "prediction": "I'm not sure about this change. It seems to be a breaking change.", "reference": "I'd like to avoid changing this method since it is public and using a URI will probably change behavior for users passing strings (String -> URI -> Path instead of String -> Path)." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Should these restore the stashed env after the test runs?" }, { "prediction": "I think this should be `d is not None` instead of `d is not None`.", "reference": "We're calculating the full list of kwargs here (even if the first element of the list would return True) so we could improve performance by using a generator line 408 in ``for default_node in all_defaults:``." }, { "prediction": "ndeltas is an extention to accountDelta that is being used by the commitRound function for counting the number of pending changes we've made per account. The ndeltas is used execlusively for consistency checking - making sure that all the pending changes were written and that there are no outstanding writes missing.", "reference": "Can ndelta differ depending on when the deltas are compacted? That is, when intermediate updates are dropped?" }, { "prediction": "I'm not sure this is the right thing to do here. I think it should be `\"xpath\"` instead of `\"xpath\"` or something like that.", "reference": "Our checkstyle config likes it better when the `

    ` is before the first word of the next paragraph, and not on a blank line" }, { "prediction": "I think this should be `return err` instead of `return nil`.", "reference": "This looks to be the only place where we return early before the close below, so if the \"double close\" is bothering people, closing manually here (and removing the `defer`) could be an option" }, { "prediction": "I think this should be `node-qunit-phantomjs` instead of `node-qunit-phantomjs`.", "reference": "This task can probably be deleted since we don't need gulp to run Jest." }, { "prediction": "I'm not sure this is the right error type to use, but it seems like it should be `SocketError` instead of `SocketPoller`", "reference": "Doesn't this need to include `Errno::ECONNRESET` to fix the issue?" }, { "prediction": "Line is too long. [82/80]", "reference": "never heard of a qirector... what's their role again? (also should be 'for a movie')" }, { "prediction": "I'm not sure this is the right place to do this. If `onlyVertexProps_` is true, then `td` should be a std::vector instead of a std::vector", "reference": "Implement the \"collect all props for one vertex\" logic inside QueryVertexPropsProcessor" }, { "prediction": "I don't think this is the right place to do this. The `stream.eof()` call should be done before the `stream >> number_l; *this = number_l;` line above. The `stream >> number_l` should be done before the `stream >> number_l;` line above.", "reference": "This is to prevent parsing things like \"1.1\" as \"1\" until we implement it properly." }, { "prediction": "nit: remove empty line", "reference": "Can we change `_getCheckpointParentDir` to be a public function explicitly? It seems like something that clients of experiment runner may wish to use." }, { "prediction": "I think this should be \"Use UI Automation to access the Windows Console (restart NVDA for changes to take effect)\"", "reference": "Why is a restart necessary?" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to do this in the `addGPUResource` function, rather than in the `addGPUResource` function. I think it would be better to do it in the `addGPUResource` function.", "reference": "Should setting the task runtime also go under the above if condition?" }, { "prediction": "I'm not sure if this is a good default, but I'm not sure if it's a good default. I'm not sure if it's a good default, or if it's a good default.", "reference": "SPIRE uses the leadingLowerCase convention for unexported constants" }, { "prediction": "I don't think we need Newtonsoft.Json here.", "reference": "The newest JSchema code generator orders `System` usings first." }, { "prediction": "I don't think this is the right place to do this. The `HiveIcebergSerDe` class should have a `caseInsensitiveSelect` method.", "reference": "I understand that we want to have a possibility to configure the IcebergInputFormat to be case sensitive or case insensitive since it can be used by other MR jobs as well. Do we want to allow the users of Hive to shot themselves on the foot and enable case sensitivity? My first guess would be that we should not use the configuration here, just go with `false`, but if you have some specific use-case in your mind I can be easily convinced" }, { "prediction": "I don't think this is the right place to set the poolAddEventHandled flag. If the pool hasn't been added yet, then the poolAddEventHandled flag will be set to false.", "reference": "Will the above call to cStorPoolAddEventHandler() get executed in the same thread as this line?" }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to check for `IsAAllocaInst()` before lowering the function.", "reference": "I don't think alloca instructions are always at the start of the entry block. I think it would be safer to check the entire entry block for alloca instructions, just in case some are not the first instruction. (Technically they can be anywhere in the function but we check in other places that this isn't possible)." }, { "prediction": "I think this should be `IPv4` instead of `IPv6`.", "reference": "Why isn't this 4789 (which I think is the Felix default)?" }, { "prediction": "I think this should be \"Import failure\" or \"Failure Import operations\".", "reference": "Can this be `Import operations failure`? In addition, is this the right time to change the variable names? e.g. `ReasonImportOperationsFailure`, `ReasonImportFailure`, `ReasonImportSuccessful`, `ReasonCreateResourceFailure`, `ReasonImportResourceSuccessful` Naming convention that i have assumed here is as follows: `Reason`" }, { "prediction": "I think this should be rb_intern(\"@rbuf\") instead of rb_intern(\"@rbuf_ivar_id\")", "reference": "I suspect this isn't needed because I think `rb_intern` gets marked already." }, { "prediction": "I think this should be `log.debug(\"In dev mode. Copying required files in case we're using a WebDriver-backed Selenium\");`", "reference": "This change is incorrect: the current log level is correct." }, { "prediction": "I think this should be `final`", "reference": "Can you add a space before the equal sign? There are a couple other places where spaces are missing in this PR." }, { "prediction": "I don't think we should deprecate handleAjaxUpdateRequest() in executorManager.", "reference": "Please follow the todo naming convention." }, { "prediction": "I don't think we need this.", "reference": "These are no longer used and changes should instead be made directly to the files in `deploy/chart/crds` /assign @JoshVanL /unassign" }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to just do `xy = torch.sigmoid(pred_map[..., :2]).view(-1)` instead of doing `xywh = torch.cat((xy, pred_map[..., 2:4]), axis=-1)`.", "reference": "Is this really necessary to work around this way? The old version works fine with me when converting to ONNX." }, { "prediction": "I'm not sure this is the right fix.", "reference": "Same as above: don't start error strings with a capital letter, and don't fix unneeded things in an unrelated commit ;)" }, { "prediction": "Line is too long. [81/80]", "reference": "Is this a testing debug statement?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "you'll need to wrap the _whole thing_ within this async call (or refactor it so everything below is in a new temporary function). The code below this section depends on a value for `object` after the parsing occurs, but what you're doing here is kicking off a race condition where `object` is null, but _might_ parse quickly enough to assign it the parsed parts. Instead, you need to do everything that depends on the parsed object in the callback of `parse`." }, { "prediction": "I'm not sure why this change is needed.", "reference": "This is now going to be protecting `stopped` when it doesn't need to. If you are going to do this then can you make `stopped` non-atomic and protect it in `stop`. It's cheap to make a `unique_lock` fyi, it's just a pointer to a mutex and a `bool`. The `lk.lock ()` in the loop is superfluous so probably shouldn't have been there to begin with." }, { "prediction": "I don't think this is needed.", "reference": "Lets not give packages names if we dont have to. If a package requires a rename, we should change the actual name while/if we can." }, { "prediction": "I don't think we need the OPSZ_6b parameter here.", "reference": "Not sure I see where this is coming from. This is a bug fix? Should be mentioned in the commit message? Same below." }, { "prediction": "I'm not sure why this was removed, but it seems to me that the cleanup should be done in `generateTopologyTests` instead of in `generateTopologyTests`.", "reference": "I reverted this change in the last commit, I think we should revert it here. I know this leads to confusing test output for skipped tests, but I would prefer to tackle that in a separate PR specifically focused on that problem. In fact, I think the issue might really be with the leak checker, and not how this test runner is defined. Please make a ticket for this (if it doesn't already exist) and revert this change" }, { "prediction": "`normed_bbox` -> `normalized_bbox`", "reference": "Can this part be done in `dataset.get_ann_info`? Just like CocoDataset converts xywh to xyxy in `_parse_ann_info`" }, { "prediction": "I'm not sure if this is the best way to test this, but I think it would be better to have two providers, one for trace and one for tracer.", "reference": "Should we change the name of this test struct to be `testTracerProvider` as well?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "\"google.golang.org/grpc\" should be together with \"go.uber.org/zap\" all \"\"github.com/iotexproject/iotex-core/*\" stay together" }, { "prediction": "I think this should be `self._inject_userscripts()` instead of `self._inject_early_js()`", "reference": "No need for a separate variable here - just call `utils.read_file` directly below." }, { "prediction": "I don't think we need a timeout here.", "reference": "Thanks for the fixing, small question, Here the message just be written to the channel, will it be blocked?" }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "maybe we will have something like `Bodies []byte(\"bodies\")` instead of them being a number? with numbers we are making it harder to insert stages mid-process." }, { "prediction": "I'm not sure why we need to keep the `*PodReference` and `*ExternalEntityReference` here.", "reference": "out of curiosity, why making this change? If no real reason, could you restore to avoid unnecessary changes of several generated files?" }, { "prediction": "I don't think this is the right place to publish a state event.", "reference": "Could we public events if `manager.serStatus()`?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "could be misread as ``, maybe something redundant but very clear like \"before the closing `` tag\"?" }, { "prediction": "I'm not sure if this is the right place to put async/await in this file, but I'm not sure if this is the right place to put them.", "reference": "This test is specifically checking behavior on sync I/O (note there are tests with Write in the name, and other tests with WriteAsync). Enable sync I/O here." }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure what the best way to do this is.", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "Can we add this to the `CstorVolumeClaimPublish` struct?", "reference": "nit: Should we have something like `volumeName@snapShotname` and this will be filled only if it is a clone creation" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it. I'm not sure if this is the right place to do it.", "reference": "This seems like an improved pattern :)" }, { "prediction": "I think this should be `from apache.hadoop.common import Version as HiveVersion`.", "reference": "I think it would be better to have a separate configuration option for specifying which HDFS interaction layer to use instead of using the existing hadoop version option. I think there are still cases where things might have to rely on Hadoop version for other things, and overwriting that information with \"snakebite\" would make that difficult. The existing hadoop version option could still be used to distinguish the different HDFS CLI flavours." }, { "prediction": "Metrics/CyclomaticComplexity: Cyclomatic complexity for filter_content is too high. [7/6]
    Metrics/PerceivedComplexity: Perceived complexity for filter_content is too high. [7/7]
    Metrics/PerceivedComplexity: Perceived complexity for filter_content is too high. [8/7]", "reference": "Why are we filtering content twice? It seems like just filtering it in PAL should work." }, { "prediction": "I'm not sure if we should keep these statuses in alphabetical order. I think it's better to keep them in alphabetical order.", "reference": "These should probably move to `constants.js`" }, { "prediction": "I don't think this import is needed.", "reference": "Again, you don't want to depend on glassfish." }, { "prediction": "Use 2 (not 0) spaces for indentation.", "reference": "it should be `Faker::Space.launch_vehicle`, otherwise it will crash" }, { "prediction": "Nitpick: I'm not sure if this is the right place to do this, but I think it would be better to do this in the `DeleteOldDateArchive` method, rather than in the `DeleteOldDateArchive` method.", "reference": "Isn't it quite expensive to check whether the file exists on every write?" }, { "prediction": "I don't think this is the right place to put this code. The `XhrClient` constructor should only be called if `webdriver.http.CorsClient.isAvailable()` is true.", "reference": "Please hide this behind a flag and add a setter function to the builder." }, { "prediction": "I don't think we should be exposing this as a public API method.", "reference": "old api should be deprecated if we don't intend on using it anymore. Again this should happen through swagger api and then removed from next release. We should also release not this as a breaking change. (same with all the other cloudsnap api renames." }, { "prediction": "I think this should be `warn` instead of `info`.", "reference": "so strange...... canTcpListen is to detect, if this transport can init when customers deployed vertx and servlet rest transport, we must detect which one will be used only both of them refused to init is a problem. we have already print that......" }, { "prediction": "Please use `String#format(String, Object...)`", "reference": "Did you mean for this to be `FORM`, instead of `FROM`?" }, { "prediction": "I'm not sure if we should add this validation to the `aws_machine_spec.go` file. I'm not sure if we should add it to the `aws_machine_spec.go` file, but I'm not sure if we should add it to the `aws_machine_spec.go` file.", "reference": "What are your thoughts on the long term solution for the naming of this variable? Do you think we should revert the logic when we are ready to make the next set of breaking API changes?" }, { "prediction": "This is a bit of a nitpick, but I think it would be nice to have a `if verbose` block in the `begin` of the `describe` block, so that we don't have to duplicate puts statements in the `end` of the `describe` block.", "reference": "There's a syntax error on this line." }, { "prediction": "I think this should be `goto out` instead of `goto out`", "reference": "You lose the value of `result` when you `goto out`" }, { "prediction": "I think this should be `this.ratio_ == undefined? 0 : this.ratio_`", "reference": "Just a style thing, why not `this.ratio_ || 0`?" }, { "prediction": "I don't think this is the right place to do this. The CIDR is constructed from the CalicoNet, and the CIDR is constructed from the CalicoNet itself.", "reference": "I think the stdlib's `net.IP` has a `Mask()` method, does that do what we need?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Why does substitute need to be public? Are we allowing/encouraging variable usage when using Daisy as a library?" }, { "prediction": "I think this should be `return isinstance(js_elem, dict)` instead of `isinstance(js_elem, dict)`", "reference": "We should probably use ctrl-enter if `tab` is given, just like in `follow_selected`?" }, { "prediction": "I'm not sure if this is the right place to create a TChannelDispatcher. I'm not sure if it's the right place to create a TChannelDispatcher, but if it's the right place to create a TChannelDispatcher, I think it should be the right place to create a TChannelDispatcher.", "reference": "This file looks like anti pattern `ServiceLocator` and lucky it's not used anywhere. Can I remove it? (in separate PR)." }, { "prediction": "Please use `StringUtils.bytesToHumanReadable(dsv, original);`", "reference": "we can just have this method call the next, passing in the file metadatas (deduplication of logic)" }, { "prediction": "I think this should be `if focused_tab is not None`", "reference": "What happens here if you send the `wheelEvent` directly to the `tabbed_browser` and let it take care of propagating it to its children (i.e. the focused tab)? If that works, I guess that'd be cleaner." }, { "prediction": "I think this should be `_log_callback` instead of `_log_callback`.", "reference": "it seems python 2 don't support `end=''`. @StrikerRUS @henry0312 any better solution? or we drop the support of python 2?" }, { "prediction": "I think this should be `vkCreateImageView() image handle is VK_NULL_HANDLE. Image is either not created or it is destroyed at this point.`", "reference": "This test already exists in the object_tracker layer." }, { "prediction": "I think it would be better to use `BooleanUtils.isBoolean(GoQuorumOptions.goQuorumCompatibilityMode)` instead of `BooleanUtils.isBoolean(GoQuorumOptions.goQuorumCompatibilityMode)`", "reference": "Same here, can we presume if `privacyParameters` is set we need goQuorum handling? Or is there a goQuorum sub option in `privacyParametes`?" }, { "prediction": "I think this should be `base.currentSnapshot()!= null && base.currentSnapshot().deleteManifests()`", "reference": "The addition of delete files in `newManifests` far above the addition of data files threw me a bit. Is it intentional to ensure the delete files are at the front of the list?" }, { "prediction": "Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the same line as the last argument when opening brace is on the same line as the first argument when opening brace is on the same line as the last argument when opening brace is on the same line as the first argument when opening brace is on the same line as the first argument when opening brace is on the same line as the last argument when opening brace is on the same line as the first argument when opening brace is on the same line as the first argument when opening brace is on the same line as the first argument.", "reference": "Interesting. The call to `Array(groups)` below this would seem to indicate this doesn't _have_ to be an array. I think the problem is actually that passing a hash to `Array()` actually converts the hash to an array of key/value pairs rather than wrapping it in an array. So maybe `Array(groups)` should be `groups = [groups] unless groups.is_a?(Array)`." }, { "prediction": "I'm not sure if this is a good name. I'm not sure if it's a good name or if it's a good name.", "reference": "This is not a particularly good default but we need it to keep the old behavior." }, { "prediction": "Why was this removed?", "reference": "We have other tests to assert all properties of a condition are valid. It's enough to assert the condition is not nil here." }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like it should be in the `apis/ops/v1alpha1.go` file.", "reference": "shouldn't the import be renamed `crdv1alpha1` by convention? It seems that you took care of renaming everywhere else..." }, { "prediction": "I think this should be `pauseContainerTarballPath = \"/images/amazon-ecs-pause.tar\"` instead of `pauseContainerTarballPath = \"/images/amazon-ecs-pause.tar\"`", "reference": "nit: Can Linux-specific paths be moved to a conditionally-compiled file for Linux?" }, { "prediction": "I think this should be `-1` instead of ` -10`.", "reference": "This is not the right approach. The `Distributor` maintains a model of the current state of the Grid. That model already contains the information about every active session. We don't need to modify `SessionMap` to expose it further." }, { "prediction": "I think this should be `errors.New(\"Lists for non-fetches unsupported for now\")` instead of `errors.New(\"Lists for non-fetches unsupported for now\")`", "reference": "Git doc seems to suggest `for-push` is a optimization. Do we have a plan/ticket for treating them differently?" }, { "prediction": "I'm not sure about this change, but I think it's better to keep the list sorted.", "reference": "This not necessary since you moved the layers to `contrib/`." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "I think this also needs to be removed from `resources/bolt_bash_completion.sh`, `rakelib/pwsh.rake`, `lib/bolt_spec/plans.rb`, and `lib/bolt/config/options.rb`." }, { "prediction": "Line is too long. [85/80]", "reference": "I fixed this today with a direct push to master. My build was failing otherwise." }, { "prediction": "I don't think we need this anymore.", "reference": "not sure why this is in a \"rule\" child package from the interface..." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if it's a good idea to add a `icon` property to the `Item` class.", "reference": "Not needed, please remove." }, { "prediction": "Why not use `h2o_url_compare_hosts(loc_parsed.host, match->host, match->host_is_unix_path)`?", "reference": "Shouldn't the logic be: * the result is a mismatch if either is a unix path but the other is not * if both are unix paths, then perform case-sensitive comparison * if both are not unix paths, then perform case-insensitive comparison" }, { "prediction": "Why are we removing this line?", "reference": "This is just rearranging it alphabetically" }, { "prediction": "I think this should be `too manylocals`.", "reference": "I think this disables it for the rest of the file - you should be able to use it inside of the function instead." }, { "prediction": "I think this should be `int` instead of `string`", "reference": "this could receive the MediaInterface directly or an identifier, it is correct to type it with int|string? or just use mixed?" }, { "prediction": "I think this should be `return comparators[i].leafValue(docID);` instead of `return valuesArray;`", "reference": "Why not return `Object[]`?" }, { "prediction": "I think this should be `AtomicInteger` instead of `Long`.", "reference": "Looks like we are trying to match the new ordering of fields in `ManifestFile`. Earlier, we co-located `...FilesCount` with `...RowsCount` to match the ordering of methods in `ManifestFile` and args in constructors. Is this change intentional?" }, { "prediction": "I'm not sure this is the right place for this.", "reference": "You're already setting drop loot to false just above." }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do. If it's the right thing to do, I'd prefer if it's the right thing to do. If it's the right thing to do, I'd prefer if it's the right thing to do, but if it's the right thing to do, I'd prefer if it's the right thing to do. If it's the right thing to do, I'd prefer if it's the right thing to do, but if it's the right thing to do, I'd prefer if it's the right thing to do. If it's the right thing to do, I'd prefer if it's the right thing to do, but if it's the right thing to do, I'd prefer if it's the right thing to do. If it's the right thing to do, I'd prefer if it's the right thing to do. If it's the right thing to do, I'd prefer if it's the right thing to do.", "reference": "`once` is very generic and doesn't specify it's purpose - `closeOnce`?" }, { "prediction": "Why do we need to keep this private?", "reference": "Why did this need to change from `private`? Oh for the test below. And this is only a test class too." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Should test the `has?` method here" }, { "prediction": "I think you can remove the `$link->click()` call.", "reference": "I think you want to be asserting/clicking $saveLink, not $link." }, { "prediction": "I'm not sure if this should be `None` or `Optional[str]`.", "reference": "We don't have `target_name` on `@sensor` - why introduce it for `@asset_sensor`? If we do want to introduce it everywhere, can we just call it `job_name` to avoid introducing a new term?" }, { "prediction": "I don't think this is needed.", "reference": "Missing copyright header (+other new files)." }, { "prediction": "I'm not sure if we should change this to `TIMESTAMP_WITH_TIME_ZONE` or `TIMESTAMP_WITH_TIME_ZONE`?", "reference": "Could we do the flag check here as well to check whether or not we have enabled the \"Handle without timezone\" flag here as well? We may be using this not on the read path (like in the migrate/snapshot code) and it would be good to catch it here as well and make sure users know what is happening." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it. I'm not sure if this is the right place to put it.", "reference": "why is the file named `pipeline_definition_definition_sensor`?" }, { "prediction": "I think this should be `if conf.get('SQLALCHEMY_TIMESCALE_URI', None):`", "reference": "None not needed, can just be `return`. not important for this release" }, { "prediction": "I think it's better to use `size` instead of `80`.", "reference": "I think it's missing closing `

    ` tags in line 108 and 109 unless they don't matter..." }, { "prediction": "I'm not sure if this should be set to `true` or `false` depending on whether or not it is set to `true` or `false` depending on whether `enableFetchScriptEngineFromProcessApplication` is set to `true` or `false` depending on whether `enableFetchScriptEngineFromProcessApplication` is set to `true` or `false` depending on whether `enableFetchScriptEngineFromProcessApplication` is set to `false` or `false` depending on whether `enableFetchScriptEngineFromProcessApplication` is set to `true` or `false` depending on whether `enableFetchScriptEngineFromProcessApplication` is set to `false` or `false` depending on whether `enableFetchScriptEngineFromProcessApplication` is set to `true` or `false` depending on whether `enableFetchScriptEngineFromProcessApplication` is set to `false` or `false` depending on whether `enableFetchScriptEngineFromProcessApplication` is set to `true` or `false` depending on whether `enableFetchScriptEngineFromProcessApplication` is set to `false` or `false` depending on whether `enableFetchScriptEngineFromProcessApplication` is set to `true` or `false` depending on", "reference": "So it seems that loading a script file from the classpath needs to be enabled explicitly now since this is `false` by default. Is it possible to enable this via the YAML config file in a Camunda Platform Run distribution?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it. I'm not sure if this is the right place to put it.", "reference": "can we delete any code in the provider implementation? i imagine the entire thing is unused now?" }, { "prediction": "This function is now deprecated and will be removed in the next release.", "reference": "I suggest we remove all these unused functions. I don't expect any external projects to be importing packages from `cert-manager/test/...`" }, { "prediction": "I think this lock should be guarded with `std::lock_guard(m_AggregatedMetadataMutex);`", "reference": "Looks like the template argument doesn't resolve by default so you need `std::lock_guard lck`" }, { "prediction": "why remove this?", "reference": "Are we removing this public method? Could it be useful to someone? Maybe we could implement it once in Node using the metamodel" }, { "prediction": "I'm not sure if this is the right place for this method. It seems like it should be called `includes_exercises?` instead of `includes_exercises?`.", "reference": "I think this method is unused now?" }, { "prediction": "I don't think this is needed.", "reference": "I know we discussed this before and decided to reuse the AntreaPolicy gate. But do you think realization status will introduce much overhead or not?" }, { "prediction": "I'm not sure if this is the right place to put these constants. I'm not sure if this is the right place to put these constants.", "reference": "please add a blank line at the end of this file. Applicable to similar cases below" }, { "prediction": "I don't think we need to do this. The `remoteHost` field should only be set if it's null.", "reference": "This is not really needed, the line added in `GridNodeConfiguration.java` is what really fixes the `remoteHost` regression." }, { "prediction": "I don't think we should be throwing this exception here.", "reference": "filterCache can be null" }, { "prediction": "I don't think this is needed.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "Why not just return SET_PARAM_CMD_FAIL_RSP?", "reference": "If strstr returns NULL, the check on 378 won't fire, because param_name will be at least SET_PARAM_CMD_LEN." }, { "prediction": "I'm not sure about this change, but it seems to be a bug in the sum_singlesubgroup function.", "reference": "Does this change affect the performance of other algorithms, except KMeans?" }, { "prediction": "I'm not sure why this test is failing.", "reference": "What do these changes have to do with the request ID?" }, { "prediction": "I'm not sure this is the right place to use `Device` and `Host`", "reference": "I'm kind of surprised this doesn't require `typename`?" }, { "prediction": "Why is this import needed?", "reference": "nit: move this one down." }, { "prediction": "I'm not sure this is the right term for the boxplot definition. I'm not sure it's a boxplot definition, but I'm not sure it's a boxplot definition.", "reference": "maybe'standard Tukey boxplot definition' if it is standard? Otherwise sounds like it is just *a* definition for boxplots..." }, { "prediction": "I think this should be `v1.0.0-master` instead of `v1.0.0-master`.", "reference": "I feel we should not fix this." }, { "prediction": "Why are these headers removed?", "reference": "I think these are not necessary" }, { "prediction": "\"If Cross-TU analysis is enabled and fails, try to re analyze the \"same translation unit without \" \"Cross-TU enabled.\")", "reference": "Please update the user guide too." }, { "prediction": "I think we should use `$locationMap[$location->id] = [$name, $code];` instead of `$locationMap[$location->id] = [$name, $code];`", "reference": "If you use `compact('name', 'code')` here, you'll get an associative array, which might make the rest of the code more readable (instead of using hard-coded 0/1 indexes)." }, { "prediction": "Why did you change this copyright year?", "reference": "Should it be 2011-14 instead ;-)" }, { "prediction": "I'm not sure if this is the right place to set it, but I think it would be better to set it to a `int` instead of a `int`.", "reference": "I want to write some type of test for this but there are not Getter methods to assert this value. I tried to extract the value via the stats that are exposed without luck." }, { "prediction": "I think it would be better to add `@abstractmethod def iter_gsuite_group_settings(self, gsuite_id): \"\"\"Iterate Gsuite group settings from GCP API. \"\"\"", "reference": "This needs to take the group id, not the gsuite id." }, { "prediction": "I think this change should be reverted.", "reference": "These should use the constants defined in JsonTests.cs" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Kind of unrelated to this PR, but let's update this to `getDataErrorComponent('search-console', error.message, false, false, false, error )` so that everything is passed as expected." }, { "prediction": "`results (dict): Result dict from :obj:`dataset`.", "reference": ":obj:\\`dataset\\` cannot be correctly rendered" }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return [String]` or `@return", "reference": "I think `email` is something we get from devise, and I think the goal of putting it in the generator was not to tie others to that particular implementation?" }, { "prediction": "I think we can remove the `--max-export-batch-size` parameter from the `processQueue` call.", "reference": "If the span producers pushing to the queue do so faster than the this can drain, it will cause this to hang. I'm guessing we can update the `enqueue` method to check if the `stopCh` is closed and not send any more spans while this flushes what has already been pushed." }, { "prediction": "`iterable` is not supported in phpstan, so we need to use `new ArrayCollection()` here.", "reference": "Not sure about that, an array is iterable right? But if I pass array, that clear method wont work" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "make sure the config changes stuck. are there any invalid config values? maybe write tests around empty `trust_domain`, negative/missing `ttl`, invalid `key_size`, etc..." }, { "prediction": "`window.__mochaResult__` is not a global var.", "reference": "Why are you changing this?" }, { "prediction": "I'm not sure if this should be a valid date format, but if it's a valid date, it should probably be a valid date format.", "reference": "@phirefly Can we look at a list of RWAs, or ask someone to double-check that this format is correct? Otherwise :shipit:" }, { "prediction": "I think this should be \"none\" instead of \"none\".", "reference": "Still request a local sort for bin-packing based on the defined table sort order." }, { "prediction": "I'm not sure about this option name. It's used in other places, so I'm not sure if it's a good idea to name it `users` or `user_ids`.", "reference": "As with the other PR, user name is better." }, { "prediction": "I think this should be `s.chequebook.AvailableBalance(ctx)` instead of `s.chequebook.AvailableBalance(ctx)`", "reference": "a peer's accounting lock is held during `Pay`. we should avoid adding additional blockchain calls here if possible." }, { "prediction": "I don't think this is the right error message.", "reference": "Maybe wording could be improved. Is this \"not enabled\" or it is \"not available\". Not sure about that." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "I looked at the new `conditionalBranchesEvaluated` function and it looks like the part added is a duplicate of the line above?" }, { "prediction": "I don't think we need this anymore.", "reference": "can you put this flag in `blockRefInfo` instead? It would be a shame to add one more file per block, especially since we've run into inode limits. I guess `blockRefInfo` should maybe then be renamed to `blockInfo` or something. But we're stuck with the filename." }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "Shouldn't we keep other parameters if only IP is empty? Or maybe return an error if it's a mandatory argument?" }, { "prediction": "I think this is a bugfix. It should be fixed in a separate PR.", "reference": "Was this just wrong before? The names indicated types but type wasn't specified. I guess the tests passed as comparison worked with ``type=None``?" }, { "prediction": "I think it would be better to use `schema.findColumnName(icebergCol.fieldId())` instead of `schema.findColumnName(icebergCol.fieldId())`", "reference": "icebergCol.name() is the unqualified column name" }, { "prediction": "I don't think you need to add any new arguments to the constructor.", "reference": "It's generally a bad idea to use mutable types like lists as default values for parameters. Lots of strange, difficult to debug side effects can occur. I see that there was already one example of this prior to this commit which probably explains why it seemed innocuous to add more but I'm going to rework this before committing to master." }, { "prediction": "I think this should be `eslint-config-prettier`", "reference": "We run prettier as an eslint plugin, so this harmful" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Check if the TypeDescriptor and MemberDescriptor includes are necessary" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "delete the empty line here." }, { "prediction": "I don't think this is the right place to test this. I think it should be `expect(subscription.scheduled_for_deactivation_on).to be_nil`", "reference": "Line is too long. [89/80]" }, { "prediction": "Why is this needed?", "reference": "You don't need to expose this method to do what you want. There are already public addNewGetMapping, addNewPostMapping, and addNewDeleteMapping methods." }, { "prediction": "I think this test is failing because the content-length header isn't being written.", "reference": "This test passes in `dev`. Why wouldn't this work?" }, { "prediction": "I think this should be `# snippet-start:[python.example_code.device-farm.Scenario_BrowserTesting]`", "reference": "ARN -> Amazon Resource Number (ARN)" }, { "prediction": "Why is this being removed? I don't see it being used anywhere.", "reference": "Why not use the overload that takes an instance?" }, { "prediction": "I'm not sure about this change, but I think it's ok to remove wallet config from `iotex-core` package, since it's not used anywhere else.", "reference": "`Blockchian` is a misspelling of `Blockchain` (from `misspell`)" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do.", "reference": "`agent/gpu/nvidia_gpu_manager_unix.go:47: struct field lock has json tag but is not exported`" }, { "prediction": "I think this should be `arn:aws:sqs:eu-west-1:000000000000:testq`", "reference": "nit: better rename to `TEST_QUEUE_ARN` or `TEST_EVENT_SOURCE_ARN`" }, { "prediction": "I'm not sure this is the right thing to do here. If additional scrape configs are not configured, the user can't manage configuration themselves. I'm not sure if this is the right thing to do here.", "reference": "Would this mean that podMonitorSelectors suffer from the same issue if they are the only configuration set?" }, { "prediction": "I'm not sure if this should be a debug message. I think it should be a debug message.", "reference": "`ctx` is unused in GetEnvironment" }, { "prediction": "I think this should be `DialogResult.OK` instead of `DialogResult.OK`", "reference": "We usually use OkDialog()" }, { "prediction": "I think this should be `--unrestricted-privacy-enabled` instead of `--unrestricted-privacy-enabled`.", "reference": "could we please change that to something that indicates that this feature is not \"production\" ready!" }, { "prediction": "Can you add a `# noqa` here?", "reference": "swim -> swin. Other configs and file names also should be modified." }, { "prediction": "I think this should be `key='projects'` instead of `key='projects'`.", "reference": "nit: arg description for \"key\"?" }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if this is the right place to put this function.", "reference": "If we don't have a `dir` yet, we wouldn't need to do a sync right? If so, perhaps we can just `getStoredDir()` like `Attr()`?" }, { "prediction": "I'm not sure if this is correct. If the machine is X86, then it should be X86_64, otherwise it should be X86. I'm not sure if this is correct.", "reference": "I still don't seem to fully understand this. Why are we testing the host if DR_HOST_NOT_TARGET is not set?" }, { "prediction": "I'm not sure if this is the right place for this test.", "reference": "in the current implementation, both schemes are supported (you can call either `/bzz` or `/v1/bzz`). i would suggest to keep it this way" }, { "prediction": "I don't think `reason` is necessary here. The `assembly_id` is already part of the `Error` object.", "reference": "hmm, I think we can just do `new Error(assembly.error)` and that should set `error.message` correctly too. I don't know why it was done this way with a separate `.message` assignment before :sweat_smile: Should we do `error.assembly = assembly` so the template editor can access it that way, rather than parsing `error.details`?" }, { "prediction": "I'm not sure if this is the right way to do this.", "reference": "This should never be empty. The access field always needs a value of at least `c:0` or `r:0`" }, { "prediction": "I'm not sure if this is the right place to put this code. I'm not sure if this is the right place to put this code, but it seems like it should be moved to `parser.ParseFile`.", "reference": "Another question is, do we want to call `os.Getenv()` every time we parse a file? That seems a lot." }, { "prediction": "I'm not sure this is the right place to put this. It's not the right place to put it.", "reference": "minor: please rename all occurrences of `A` to `T`. please also rename `v` to `value`." }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if this is the right place to put it.", "reference": "Do we want it to be so dynamic? My first idea was to base it on SyncConfig.BeamSync." }, { "prediction": "I think this should be `Optional` instead of `Optional.empty()`.", "reference": "can you change this instead to just `type.toString()` and then you wouldn't have to expose the getBitMask in the enum. (Alternatively you could have used `type.hashCode()` but that doesn't feel as nice)" }, { "prediction": "I think this should be `assert isinstance(ax3, matplotlib.axes.Axes)` instead of `isinstance(ax3, matplotlib.axes.Axes)`", "reference": "I'm confused by these tests. Shouldn't the template string `@importance_type@` have been replaced with the actual value of `importance_type`?" }, { "prediction": "I think this should be `Keeper` instead of `Keeper`, since `Keeper` is a pointer.", "reference": "Let's keep using NewKeeper so that it got covered by tests." }, { "prediction": "I don't think we need this anymore.", "reference": "I only see new imports. Is there any functional change in this file?" }, { "prediction": "I think this should be `return hash.ZeroHash256, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil`", "reference": "ineffectual assignment to `err` (from `ineffassign`)" }, { "prediction": "I'm not sure if this is the right place to do this. It seems to me that the `service = getDefaultService()` is never used.", "reference": "Would you mind removing the default parameter above? (I doubt I'll ever use defaults again since you still have to protect against callers explicitly passing `null` or `undefined`)" }, { "prediction": "I think this should be `WrapLogs` instead of `LogToPythonStderr`", "reference": "Make sure the old logging functions still work, but add deprecation warnings (unfortunately Python suppresses deprecation warnings by default, so I'm not sure if anyone'll notice)." }, { "prediction": "I'm not sure this is the right way to test this. I think it should be `managementService.enableTelemetry(false);` instead of `enableTelemetry(true);`", "reference": "Not directly related to the topic of this ticket: I think this API design is a bit confusing. To disable delemetry, I would write `managementService.enableTelemetry(false)` which is not intuitive to read. Maybe `toggleTelemetry` instead of `enableTelemetry` is more clear." }, { "prediction": "I don't think we need `CaptureAnnotatedCodeLocationCollections` here.", "reference": "Again I suggest returning `AnnotatedCodeLocation[][]`." }, { "prediction": "I think this log should be in the `describeVpcInternetGateways` function.", "reference": "We should probably require an increased verbosity to output for anything below the cluster itself to avoid spamming the logs. It would also be good to give additional context as to what we are attempting to reconcile since the controller has multiple workers." }, { "prediction": "I don't think we should add this to the `OptionsNetwork` struct.", "reference": "Not needed anymore" }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do it, but it seems to be the right place to do it.", "reference": "Am I right in thinking this completely avoids the situation where `enable_calltarget_state_by_ref` is `true`, but the managed integrations don't expect a by ref argument? For example, if there's an exception here, that seems like a fatal problem, as we would have a mismatch for jit rewriting? We should disable instrumentation entirely in that case shouldn't we? i.e. if this (or the existing `EnableByRefInstrumentation`) calls fail, should we bail out of this method entirely as we can't safely instrument?" }, { "prediction": "I think this should be `UnknownResourceTypes` instead of `UnknownResourceTypes`", "reference": "nit: spaces seem off" }, { "prediction": "Why not pass the `ExtractorCallbacks*` as an argument to `BaseParser`?", "reference": "shouldn't the em parameter be called ec?" }, { "prediction": "I'm not sure this is the right fix. The issuer should be the issuer of the operator, and the subject should be the subject of the operator, not the signing key.", "reference": "Please change this to use o.DidSign(o) as implements this logic without performing any of these checks that duplicate something that JWT can do correctly. If the JWT deserialized properly, and DidSign returns true, the JWT was signed by one of the listed operator keys." }, { "prediction": "I'm not sure if this is the right place to put this sort. I'm not sure if this is the right place to put this sort, but I'm not sure if it's the right place to put it.", "reference": "Talking about style, IMO extracting either `getComponent()` or `getPubDate()` to variables would make this line easier to read." }, { "prediction": "I don't think you need the `Task` package here.", "reference": "package header missing" }, { "prediction": "I'm not sure this is the right way to do this. The `oldCatchError` function is only called when `oldVNode` is not `null`. I'm not sure if this is the right way to do this.", "reference": "Just a thought (doesn't change the output or anything) - do you think we'll ever want to access the other properties of `oldVNode` from within `_childDidSuspend`? If so we could pass `oldVNode` here and then check these properties in the _childDidSuspend implementation. I don't have strong feelings either way, just occurred to me." }, { "prediction": "I don't think this is the right place to put this repository.", "reference": "We should be configuring the base paths somewhere.." }, { "prediction": "I'm not sure if this is the right thing to do, but I think it would be better to test that `min_sizes` and `max_sizes` are mutually exclusive.", "reference": "May also need to test the normal functionality with min/max_sizes" }, { "prediction": "I'm not sure if this is the best place to put this.", "reference": "We can remove this one. It's just a random one I got for free for testing." }, { "prediction": "I don't think we need this.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I think this should be `data-acquirer-id=\"Remote\"`", "reference": "(maybe this should be MyDevice or just removed entirely?)" }, { "prediction": "I think this is a bit of a nitpick, but I'm not sure if this is necessary because the task handler will not send an event whose `Task` is nil. I'm not sure if this is necessary because the task handler will not send an event whose `Task` is nil. If it is necessary because the task handler will not send an event whose `Task` is nil.", "reference": "Can you do a nil check here, as the task isn't always nil here?" }, { "prediction": "I don't think this is needed.", "reference": "`lodash` shouldn't be grouped under WordPress dependencies" }, { "prediction": "Can you please add a license header to this file?", "reference": "Does order matter? Should we sort by enode key to make duplication checking easier?" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "Can you explain this too? This seems to go beyond linting." }, { "prediction": "I'm not sure why this test was removed.", "reference": "I just moved this into the render.js UT file since this test doesn't actually use an components" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "We do have to capture and check the err here right? I don't think we need to capture the location of the file though for this context." }, { "prediction": "I'm not sure why this is needed.", "reference": "an unused import" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if it's the right thing to do here.", "reference": "If this value doesn't exist (do an `, ok :=...` check), we should initialize and store it" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "Would use parenthesis to explicitly state the associations of operands ```js const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || (-(2 ** 53) - 1)" }, { "prediction": "I think this should be `self._ser.hComPort` instead of `self._ser.port_handle`.", "reference": "This handle is now private to pyserial, but if there is no public function to retrieve it I guess this is the best we can do." }, { "prediction": "I'm not sure if this is the right fix.", "reference": "This function is what **the compositor** calls when it wants to fullscreen a client, not what the client calls." }, { "prediction": "why not existed?", "reference": "s/not existed Pod/non-existing Pod" }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's the right place to put it. I'm not sure it's the right place to put it.", "reference": "Why did we not leave this as just `svcDescriber`?" }, { "prediction": "I'm not sure if this import is needed.", "reference": "nit: I think we've been (in)consistent in leaving a blank line here." }, { "prediction": "I think this should be a `Guid` instead of a `Integer`.", "reference": "Maybe we can change it to a more generic name like source_id." }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if it's the right fix, but it seems to be the right fix.", "reference": "What's the theory on why this could fix the hang? It seems like the call to `GetRootNodeForTest` will always need to call into the crypto object before returning an error, and so it should block on that `c` receive, after which the test immediately drains `errCh`. So I don't quite see how buffering would help..." }, { "prediction": "I don't think this is correct. `reg += 16` is the same as `reg += (reg_id_t) ^ reg_id_t`.", "reference": "Maybe add an assert in arch_init or somewhere?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I wonder what does this `// nolint` ignore? And what are the standards that you choose which error to fix and which to ignore?" }, { "prediction": "I'm not sure if this is the right fix. If the collection doesn't exist, we'll get an error.", "reference": "what about the line below, forceUpdateCollection?" }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure if this is the best way to do it.", "reference": "Doesn't this go in the opposite direction of #1051 / #1062 by putting platform-specific logic back into this module?" }, { "prediction": "I'm not sure if we should be using state management here. I'm not sure if we should be using state management here.", "reference": "I think this is the only line in JS legacy code that should be updated based on the renaming. `global.googlesitekit.setup.isAuthenticated = response.authenticated;` would be sufficient to keep the old name for the legacy JS data (which will be phased out in the long term) while supporting the new name in the API route. All updates to the JS components above wouldn't be necessary." }, { "prediction": "I don't think this is the right place to do this, but I'm not sure it's worth it.", "reference": "Technically, this would allow `pingWaitTime` to be `false`. I don't know if it matters here." }, { "prediction": "I'm not sure this is the right place to test this. I'm not sure if it's the right place to test this.", "reference": "I only want the proxy request for this to run for kinesalite. So this just returns true if the KINESIS_PROVIDER is kinesis-mock" }, { "prediction": "I don't think you need to change this file.", "reference": "Please add your name to the list of copyright holders." }, { "prediction": "why not just return `maxRetryTimes`?", "reference": "Maybe maxRetryTimes should be bigger than 2. Return Max(maxRestryTime, 2)?" }, { "prediction": "I don't think we need to pass `signedUserName` as a second argument to `cloneLink`.", "reference": "Call `userName` is good enough, `signedUserName` is narrowing the actual usage of this method." }, { "prediction": "I don't think this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "How would you feel about a static method to express intent?" }, { "prediction": "Why is this deprecated? Shouldn't it always be false?", "reference": "Do we know for sure that no other code changed its value? (Maybe some weird testing use case or something) Why not just use the actual value instead of risk lying?" }, { "prediction": "I think this should be `part.sql` instead of `partInstall.go`.", "reference": "the partInstall.go isn't an auto-generated file, and the part.sql doesn't exists either." }, { "prediction": "I don't think we need GetAll anymore.", "reference": "`k` is unused in PutHash" }, { "prediction": "I think this should be `copyStream` instead of `copyStream`", "reference": "Use IOUtils instead" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "It's not related to the line of code, but I don't know how to write it in a more proper place. Looks like `e2e/myst-provider/db/myst.db` should be in `.gitignore` file and should not be commited." }, { "prediction": "I think this should be `goog:chromeOptions` instead of `goog:chromeOptions`.", "reference": "nice touch since Google likes to change things every now and then." }, { "prediction": "I think it would be better to pass `initArgs` to the constructor of `CircuitBreakerManager` instead of `PluginInfo`.", "reference": "Make `CircuitBreakerManager` implement `PluginInfoInitialized`" }, { "prediction": "I think this should be `QMetaType.UInt` instead of `QMetaType.UInt.value`.", "reference": "This is extra awkward, QVariant.convert() takes a QMetaType which takes the value of a QMetaType.Type." }, { "prediction": "This is a bit of a nitpick, but I'm not sure if we need to do anything special here.", "reference": "Nit: finished -> finish, \"done passing it\" -> \"passed it\"." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Maybe mention that it will be saved to the filesystem otherwise?" }, { "prediction": "I don't think this is the right place for this, but I'm not sure it's the right place for this.", "reference": "Probably cleaner and more general to do this: string,Format(\"Column {0}\", i+1) That way if the local language has a convention like \"3 column, this is\" it still works." }, { "prediction": "I'm not sure this is the right place for this, but I think it would be better to move this to the `verifyActions` function, so that we don't have to duplicate the logic in the `verifyActions` function. The `coinbaseCount` and `correctAction` are only used in the `verifyActions` function, and the `coinbaseCount` and `correctNonceMap` are only used in the `verifyActions` function, and the `coinbaseCount` and `correctNonceMap` are only used in the `verifyActions` function, and the `coinbaseCount` and `correctNonceMap` are only used in the `verifyActions` function, and the `coinbaseCount` and `correctNonceMap` are only used in the `verifyActions` function, and the `coinbaseCount` and `correctNonceMap` are only used in the `verifyActions` function.", "reference": "This can be uniformed too" }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "It looks to me that this does not have to be exported." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have `createDummyApiConfig()` return `new AutoValue_ApiConfig(ImmutableMap. builder().build(), null, false);` instead of `createDummyApiConfig()`.", "reference": "It looks like this is only used in order to extract the snippet file names from GapicProviderFactory. I wonder if it would be better expose the snippet file names directly, without exposing a test-only function in non-test code." }, { "prediction": "This method is no longer used, please remove it.", "reference": "Another question: this is being removed, but I don't see a corresponding removal if it being called? Was it never used (or am I just missing it)? (is it related to what was in the onclick that got removed, i.e. was that supposed to call this and not something in the backing bean?)" }, { "prediction": "I think this should be `errors.New(\"CertificateRequest does not have an Approved condition: %+v\", cr.Status.Conditions)` instead of `errors.New(\"CertificateRequest does not have an Approved condition: %+v\", cr.Status.Conditions)`", "reference": "Suggestion: `.. does not have an Approved condition set to true`" }, { "prediction": "I think this should be `self.client.delete_files_before_test` instead of `self.client.delete_files_before_test`", "reference": "I would say that client class should have default of False and Cloud prov should enable deleting." }, { "prediction": "I don't think we should change this file.", "reference": "Did this remove the BOM or something?" }, { "prediction": "I think this should be `@Nullable` instead of `@Nullable`.", "reference": "This makes the BlockHeaderValidator mutable, and IMHO should not be done. Note we have a builder that has the exact same method, so instead of mutating a produced BlockHeaderValidator we should hook into wherever the builder is being created." }, { "prediction": "I think this should be `async=False`.", "reference": "May be add information about parameters to the doc string while at it?" }, { "prediction": "Is this change intentional?", "reference": "Naming of this sounds a bit awkward. Perhaps priv_legacy_getTransactionCount or priv_legacyGetTransactionCount?" }, { "prediction": "I'm not sure about this change, but it looks like the `obj.handle` and `obj_bindings` are still being used?", "reference": "This one should probably be added to the list in #24. It's possibly indicative of an issue, but there isn't a VUID for it." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Why this indentation change? Seems the original indentation would be fine, and leaves more room." }, { "prediction": "`update` is not a parameter of `MultiDimensionalMapping`, it is a parameter of `MultiDimensionalMapping`.", "reference": "Would be nice to know what the `update` argument does in the docstring." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "I think we can just use `io.BytesIO` here." }, { "prediction": "I'm not sure about this change, but I think it's a good idea to add a `User-Agent` header to the `AWSSDK_USER_AGENT` header in the `AWSSDK_USER_AGENT` package.", "reference": "This ensures that the User-Agent header matches during replay." }, { "prediction": "I'm not sure this is the correct value for the new URN. I'm not sure if it's the correct value for the new URN.", "reference": "What units are used for this default?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it. I'm not sure if this is the right place to put it.", "reference": "I am wondering if it makes sense to make this a flag to `flatc` rather than a preprocessor flag, since this is generated code, it would make more sense to simply omit this code completely if the flag is not specified" }, { "prediction": "I'm not sure this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Doesn't this change the behavior (edit: oh, I see, never mind)." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if `trusty` is the right thing to do here, but if it's the right thing to do, I'm fine with it.", "reference": "I think you need a `do` at the end of this line." }, { "prediction": "I'm not sure if this is the right place to put the `params_for_search` method.", "reference": "Not passing in a `:params` key here." }, { "prediction": "I think this should be `RunningClusterPowerState` instead of `RunningClusterPowerState`.", "reference": "Feels like this should be an option and not the default. Leaving them running would give you immediate response to claims, which might be what some people would want. Hibernation is AWS only right now and probably other clouds will just disregard the setting but arguably validation should be rejecting attempts to create / update powerstate on gcp/azure/etc. I'd pitch we put this onto the pool spec and make you opt in." }, { "prediction": "I don't think this is needed.", "reference": "I think I saw somewhere that it has been fixed and that you can use #NETCOREAPP3_0_OR_GREATER but I may be wrong." }, { "prediction": "I'm not sure if this is the right way to go about this, but I'm not sure if this is the right way to do it.", "reference": "what's the second part for?" }, { "prediction": "Why did you remove this?", "reference": "It's not clear to me what the \"super\" test above is for. As far as I can see, the test runs a spellcheck for \"super\" but then uses \"fob\" as the index into suggestions, which will never find an entry." }, { "prediction": "I don't think we need this anymore.", "reference": "revert this file change" }, { "prediction": "I'm not sure why this change is needed.", "reference": "I think this is the most elegant way to allow us to still fail on `I`." }, { "prediction": "I think this should be `$metadata['fieldType']` instead of `array('text','string')`", "reference": "Wouldn't it be better to use a sql `IN ( :exact_value )`?" }, { "prediction": "I don't think this is the right place to put this in. It's a bit of a hack, but it's a good place to put this in.", "reference": "So far this is not working as expected... working to further investigate WinRM protocol and the gems behavior." }, { "prediction": "I think this should be `self.scenario.first_http_request()`.", "reference": "So now there're two ways to get requests: `ScenarioExecutor.get_requests()` and `Scenario.get_requests()`. To avoid confusion we should probably make `Scenario.get_requests()` method private, or hide it in some other way." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "This existed already, but seeing as you are changing the variable to have an explicit type it could be made a const reference to remove a copy." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be nice to have a `Faker::LastWords` class that has a `name` method that returns the name of the last word of the given phrase.", "reference": "I don't think this code is being tested; this method can be removed without the test failing" }, { "prediction": "I think this should be `AsyncTask.onPostExecute` instead of `AsyncTask.onPostExecute`.", "reference": "@codepoet2017390 You have already initialized this ArrayList in the onPreExecute method then why do it here too?" }, { "prediction": "I'm not sure if this is the right way to test this, but I think it would be better to test that the user doesn't have permission to create a procurement.", "reference": "This covers the `RESTRICT_ACCESS=true` x non-gsa pair, but we probably want to test the three other permutations: (`RA=true`, gsa), (`RA=false`, non-gsa), (`RA=false`, gsa)" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Please don't do this - if you want to disable code permanently delete the code, if you need to disable it to test don't commit. Such sections are very poorly highlighted during review and can cause unspotted issues slipping through the process..." }, { "prediction": "I'm not sure if this is a good name. I'm not sure if it's a good idea to name it `DumpFlows` or `DumpFilter`.", "reference": "I'm starting too feel we have too much abstraction and too many interfaces here. But this method is definitely the most confusing IMO. For one, it's called \"Get*\" but it does not return anything... I don't have a good understanding of what's going on anymore, so it's hard for me to suggest an alternative, but it's pretty clear to me that this interface needs to be rethought. An interface where all the parameters are themselves arbitrary objects (`interface{}`), whose actual type depends on the specific interface implementation, is not a helpful abstraction" }, { "prediction": "I think this should be `org.openqa.selenium.devtools.target.SessionId` instead of `org.openqa.selenium.json.JsonInput`.", "reference": "It fills me with endless sadness that we can't use Selenium's own `SessionId` here." }, { "prediction": "I'm not sure if this is the right way to check for the latest version, or if it is the right way to check for the latest version.", "reference": "Interesting. So you've found that it's faster to request only the \"Stat\" without the data so long as this is the typical path?" }, { "prediction": "I'm not sure if this is a valid test case or not.", "reference": "Is this a future fix? I thought the local identifier scope and the package issue were the same one." }, { "prediction": "I don't think we need the `STATE_MODAL` here.", "reference": "Not super important, but this line could be split up." }, { "prediction": "I'm not sure this is the right fix. I think we need to do something like: `h2o_filecache_destroy(ctx->filecache); ctx->filecache = NULL;`", "reference": "Maybe we should better call the dispose function without checking the value of `item.data` (since the dispose function is setup before `data` is set up)." }, { "prediction": "This should be `set_mode(Caffe::GPU);`", "reference": "Why set to GPU, is it CPU?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "This should be `computed('i18n.locale'....`" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "can we not expose the channel directly? or at least expose it as a read only channel?" }, { "prediction": "This should be `AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])`", "reference": "Can we add a `--with-bashcompdir` here to override this? I'd like to be able to do unprivileged builds." }, { "prediction": "I think this should be `cstor-volume-grpc` instead of `cstor-volume-grpc`", "reference": "We will be removing this maya/volume package completely. Do not use this." }, { "prediction": "I'm not sure this is the right fix. The host_bad_alloc() should be called in the `bad_alloc()` function.", "reference": "Why you think that `model_ptr` will be `nullptr` when memory allocation is failed? I think `new daal_knn::Model(column_count)` would throw `std::bad_alloc` if `operator new` is not overloaded. Is it overloaded by DAAL in the way it simply returns `nullptr` in case of bad allocation?" }, { "prediction": "I'm not sure this is the right description for this command.", "reference": "Where does this 0.001 come from? Is this from the network collateral cost function, which happens to be hardcoded right now? I think it's going to rot very quickly: it depends on sector size and (probably) block height." }, { "prediction": "I don't think this file should be deleted.", "reference": "Please update the license header in each source file. For more information see: #2697" }, { "prediction": "nit: `retries` should be a `number`", "reference": "!numbers -> numbers" }, { "prediction": "I don't think we need to change anything here.", "reference": "so we don't have universal rules afterwards? In that case I'd remove this entirely (and maybe some places where it's used get cleaner) since we shouldn't ever add a universal rule. Not only because it's way simpler in TS, I'm also just super skeptical about \"universal\". In case of this rule, even control characters may have their place in Swaggers, e.g. in `examples` sections where you can have raw response bodies where control characters are perfectly valid." }, { "prediction": "I don't think we want this to be `false` if the process is already detached.", "reference": "You're welcome to surface this option through the API, but I'm not going to make this the default behavior." }, { "prediction": "I'm not sure if `buildStatic` is a good idea here. I think it would be better to have `BuildStatic` set to `false` by default, and have `BuildStatic` be set to `true` by default.", "reference": "Just a thought that any further extensions of `buildBinaryFor` signature could be done as `buildBinaryFor(..., opts... BuildOptions)` for better readability." }, { "prediction": "I'm not sure if this is the right place to remove this.", "reference": "I'll fix the InMemoryExporter right after this PR lands" }, { "prediction": "I'm not sure why this is necessary.", "reference": "Good call, none of these are technically invalid" }, { "prediction": "I don't think this is the right place to put this.", "reference": "this one should be updated too" }, { "prediction": "I don't think we need to add the `instanceId` to the invocation context.", "reference": "maybe need to add microserviceId too." }, { "prediction": "I'm not sure what this test is testing.", "reference": "I'm curious, do you create this commit at the very end by rebasing and taking the value you had after moving everything?" }, { "prediction": "I think this should be `return [8, 9].indexOf(row) > -1? null : row;` instead of `return [8, 9].indexOf(row) > -1? null : row;`", "reference": "It's no longer possible to use `modifyRow` to trim rows and that's ok to use TrimRows instead. But I think we should move this test to TrimRows plugin tests as `trimRows` setting is not a part of the `core`." }, { "prediction": "I think this should be `return node->data.scalar + 1;` instead of `return NULL;`", "reference": "The function seems to either return \"default\" or return the extension stripping the preceding dot. Does the fact mean that we can no longer register `.default` as an extension?" }, { "prediction": "This is not sha-256 anymore.", "reference": "this may require a statefile version update" }, { "prediction": "This class is obsolete and will be removed in the next major. Use SplFileObject::fgetcsv() instead.", "reference": "I like when `@deprecated` contains how to resolve it - eg. \"use `SplFileObject::fgetcsv()` instead\". The information in upgrade notes is usefull only during upgrade." }, { "prediction": "I'm not sure if this is a good idea. I'm not a big fan of the `reflect` package, but I'm not sure if it's a good idea.", "reference": "Nice to see that your local environment is up-to-date now for these changes." }, { "prediction": "I think we should move this to the `updateSidebar` function.", "reference": "Instead of setting it to null, i think lets set it to {}" }, { "prediction": "I think we should keep the TPRGroup and TPRVersion as separate PRs.", "reference": "We should bump this before releasing and remove all legacy fields that are safe to do so. Since we cannot have multiple versions anyway there's little value in walking around with the \"alpha\" stamp." }, { "prediction": "I think this should be `if test \"x$san_enabled\"!= \"xno\"`", "reference": "I might suggest a different name for the `DEEPBIND` config.h macro. Perhaps `FLUX_DEEPBIND` to give a hint in the code that we're using a locally provided define." }, { "prediction": "Why is this needed?", "reference": "Code generated by protoc-gen-go. **DO NOT EDIT.**. The correct way to fix `deprecated` in this file may be updating the protoc / protobuf / grpc and regenerate this file." }, { "prediction": "Why is this deprecated?", "reference": "We should make sure that we cover the testcases in a new unit test class." }, { "prediction": "I think this should be `C.get_max_user_bytes_per_staged_sector`", "reference": "Is this only used in test code? Is there future utility in it for production code? If not, it would be nice if this could be moved into a test package. I'm not sure how hard that would be. CC @laser" }, { "prediction": "I'm not sure this is the right thing to do here. I think it should be `if config.WebhookLabel!= \"\" || config.APIServiceLabel!= \"\"`", "reference": "Super curious how you noticed this, as SPIRE itself currently only configures once...?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "This `startsWith` seems a bit brittle because in the code base we'll occasionally spell it \"DataFile\"." }, { "prediction": "I think this should be `MAX_DB_RETRY_COUNT_IN_SECONDS`?", "reference": "if it keeps reconnecting for too long, how should we get alerted?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "it's better to use single name style in one name." }, { "prediction": "I think we should remove this TODO.", "reference": "As defaultSendPort is being removed, and I don't like TODOs on examples, please remove the whole line" }, { "prediction": "I'm not sure if this is the right fix. The `updatedProjectConfig` is a `ProjectConfig` and the `updatedProjectConfig` is a `Config` struct.", "reference": "Should we return `nil` when `err == errChangeSetEmpty` instead of calling l.103 `WaitUntilStackUpdateCompleteWithContext`?" }, { "prediction": "I'm not sure if this should be final.", "reference": "Hmmm I thought spotless would wrap this line, but it doesn't seem to complain about it" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have the `DnsNames` and `FederatesWith` fields in the `Selector` struct, and then have the `DnsNames` and `FederatesWith` fields in the `Selector` struct. That way, we don't have to duplicate the `DnsNames` and `FederatesWith` fields in the `Selector` struct, and we don't have to duplicate the `DnsNames` and `FederatesWith` fields in the `Selector` struct.", "reference": "I think this will require updating the api version. we are planning to do this anyways, so perhaps we can lump this in so we don't have to update too many times?" }, { "prediction": "I'm not sure this is the right fix, but I think it would be better to move the `for (int z = minLevel; z < maxY; ++z) {` to the `for (int z = minLevel; z < maxY; ++z) {` loop.", "reference": "revert this for parity" }, { "prediction": "I'm not sure if this is needed. It's defined in `valgrind/src/valgrind/helgrind.c`, but not defined in `src/valgrind/src/valgrind/helgrind.h`.", "reference": "INCR_BATCH and DECR_BATCH could be exposed as tuneable command line options but that might be too low level to expose. I think keeping private for now where \"in the know\" folks could use to try and tune makes sense. These values were choosen mostly \"at random\" and have worked out for us thus far." }, { "prediction": "Why not just use tagWriterTable[WRITER_COUNT] instead of tagWriterTable[WRITER_COUNT].", "reference": "Currently this isn't very clean because we have to re-use some of the predefined parser types - the demo uses WRITER_U_CTAGS but there should be some support for custom writer type." }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "I think this was left it accidentally :)" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if it's the right thing to do, but if it's the right thing to do, then I'd say it's the right thing to do. I'm not sure if it's the right thing to do.", "reference": "Can you finish re-ordering this list to match the one that was deleted?" }, { "prediction": "I'm not sure if this is the right place to set the container name. I'm not sure if this is the right place to set the container name, or if it's the right place to set it.", "reference": "Do we need to check if `exp.Target.StressChaos` is `nil`?" }, { "prediction": "I don't think we need to change the order of the Sourcedescription.", "reference": "AWS Identity and Access Management (IAM)" }, { "prediction": "I'm not sure if this is needed anymore.", "reference": "not calling this is going to impact current functionality which depends on PVC.. let us still call this and set the values to default as 'none' (or empty) by handling the error from 'get' operation" }, { "prediction": "I'm not sure this is the right error code. I'm not sure if this is the right error code. If it is the right error code, I'm not sure if it is the right error code.", "reference": "`!=` is no the same as `<`" }, { "prediction": "I don't think we should add this to the `transformer.py` file.", "reference": "No need to create a dir for transformer. Simply move transformer.py into mmdet/models/utils/" }, { "prediction": "I think this should be `Intent.ACTION_CREATE_SHORTCUT` instead of `Intent.ACTION_CREATE_SHORTCUT`", "reference": "Can't you just add `SelectSubscriptionActivity` directly to the manifest instead of opening `MainActivity` that then starts it?" }, { "prediction": "I'm not sure if this should be a flag, but I think it's better to have it as a flag rather than a flag.", "reference": "Maybe say \"the spec's %check section\" so it's clearer what we mean." }, { "prediction": "I think this should be `this.isSorted() && this.isSorted()`", "reference": "I think after change this check `rowInMapper === null` is always false, so it's useless." }, { "prediction": "I think this should be `nxp.MuxIpLpi2c.Mux(0) // LPI2C select PLL3_SW_60M` instead of `nxp.MuxIpLpi2c.Mux(1) // LPI2C select OSC`", "reference": "ClockIpLpi2c4.Enable() is required. The same change is required for enablePeripheralClocks()." }, { "prediction": "I think this should be `ContainerImageSha` instead of `ContainerImageSha`.", "reference": "nit: this should be `SHA` since it is an acronym for `Secure Hash Algorithm`, no?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this.", "reference": "Not sure if Intl can be defined but not `Intl.DateTimeFormat`. Both seem to have the same percentage on CanIUse." }, { "prediction": "I'm not sure if this is the right way to pass the pvc.Name to the Provisioner.", "reference": "PTAL, looks like the order of PVC & PV is reversed for different storage-engine types, for Jiva/CStor the args sent to sendEventOrIgnore are `PV, PVCName`." }, { "prediction": "I don't think we need to make this public.", "reference": "Remove the trailing white space" }, { "prediction": "I think this should be `mmcv_version >= digit_version(mmcv_minimum_version)`", "reference": "No need to modify this." }, { "prediction": "I'm not sure if this is a good change, but I'm not sure if it's a good change.", "reference": "would be nice at some point to clean this signature up... not relevant for this PR" }, { "prediction": "I think this should be `'text'` instead of `'text'`.", "reference": "Here, is it `null` because it is `null` in `$fieldConfiguration`, or because it has been set to `null` above in the `array_replace`? If it doesn't exists at all in `$fieldConfiguration`, I think you should add `type => 'text'` above in the `array_replace`." }, { "prediction": "`endsWith` is not used in this method.", "reference": "I was thinking about this for #2928 too, which also uses `endsWith`... Presumably `SomeOtherObject` would match `endsWith(\"Object\")`, meaning that something more sophisticated like splitting it then iterating right to left would be needed in order to do this robustly?" }, { "prediction": "I think this should be `BatchExportProcessorOptions` instead of `BatchExportProcessorOptions`.", "reference": "I think this name is a bit confusing because if you asked someone what type of exporter they were using they would probably say Zipkin or Jaeger, etc. How about `ProcessorType` with `Simple` and `Batch` definitions?" }, { "prediction": "I'm not sure if this is the right key.", "reference": "`req` is unused in RecreatePipedKey" }, { "prediction": "Please note that Adsense will not show ads on your website unless you\u2019ve already placed the code.", "reference": "The \"Adsense\" term needs to be capitalized - I just noticed this was wrong through ACs and IB, so not a problem of the PR itself really. I'll quickly fix it." }, { "prediction": "Why do we need this function?", "reference": "do which methods need to be registered? is it basically just the ones that are directly referenced in ParDo calls? (The Beam GoDoc doesn't say anything about it. :/ )" }, { "prediction": "I think we can remove the `setFileCitationEndNote` and `setFileCitationRIS` from the `CitationXML` and the `setFileCitationBibtex` methods.", "reference": "@bmckinney does this mean that the bibtex citation will be available via API?" }, { "prediction": "I'm not sure about this change, but I think it's a good idea to keep the `cliquet[postgresql]>=2.14,<3'` and `cliquet[monitoring]>=2.15,<3'` in the same order as `FXA_REQUIREMENTS` and `MONITORING_REQUIREMENTS` in the same order.", "reference": "We should probably tag the cliquet-fxa version as well." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "IIRC we need to use memset, because an empty brace is not C99 comformant, and because we cannot use `{0}` because how the struct is organized is not defined in POSIX (the initializer cannot be `{0}` if the first property of the struct is a struct)." }, { "prediction": "I'm not sure this is the right place for this field.", "reference": "Will we be adding this to `AppliedTo` as well? If not, any reason why not?" }, { "prediction": "I'm not sure if this should be `@rtype: Boolean` or `@rtype: Boolean`?", "reference": "Just a note that this feels weird being on the base NVDAObject rather than IAccessible, but right now, I understand that's how it has to be because we fire MSAA caret events on the focus object regardless of whether it's IAccessible. I think we should consider restricting these caret events to focus objects that are IAccessible subclasses in future, but that change is probably too risky for this PR. CC @MichaelDCurran for his thoughts." }, { "prediction": "I think this should be `payment_detail_data` instead of `payment_detail`", "reference": "This change and other similar ones should not be part of this commit. This commit is about adding a ImageUploadType not fixing controllers and stuff." }, { "prediction": "I'm not sure this is the right thing to do here. I think we need to move this to a separate PR, but I don't think it's a good idea.", "reference": "I am a bit confused about PING here. Ping is implied and it overlaps with \"$SYS.REQ.ACCOUNT.%s.%s\" where the last token is what is requested (CONNZ) and the one before is the requested account id." }, { "prediction": "I'm not sure if this is the right place for this function. I'm not sure if it's a good place for this function, but if it's a good place for this function, I'd like to see it in a separate PR.", "reference": "nit: use the OptSubFolder constants. Also in the client you are using \"maxdepth\" but in the server the constant for \"depth\" is being used." }, { "prediction": "Can we make this change to `config.storage/data`?", "reference": "I also moved this to `/verdaccio/storage` since it's written in runtime, and the approach here is to make the configuration by default read-only." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "nit: s/has cancel method/has a cancel method" }, { "prediction": "Line is too long. [89/80]", "reference": "Useless assignment to variable - `second_quiz`. Use `_` or `_second_quiz` as a variable name to indicate that it won't be used." }, { "prediction": "I'm not sure if this is the right suffix for pre-compressed files.", "reference": "Is this still needed since there's the `GzipPrecompressed` type?" }, { "prediction": "I think this should be `_NumCatgoriesNotSpecified` instead of `_UnknownOutput`.", "reference": "this is spelled wrong and also not used so remove it" }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix.", "reference": "It might be right here that's the issue ^" }, { "prediction": "I think this should be `@Deprecated` instead of `@Deprecated`", "reference": "@danieldietrich let's leave existing extension. Here we just mark `keyComparator()` with `@Deprecated` annotation" }, { "prediction": "I'm not sure why this is needed.", "reference": "This breaks CI. I am not sure why you need to include io.h in this file especially on linux." }, { "prediction": "I'm not sure if this is the right fix, but I think it would be better to use `slice.call(parentDom.childNodes)` instead of `slice.call(parentDom.childNodes)`", "reference": "this seems equivalent" }, { "prediction": "Why are these 5*1024*1024?", "reference": "change size to 50MB criticial, 10MB warn... change count to 50k critical, 5k warn..." }, { "prediction": "I'm not sure if this is the right place to do this. The master Pivot facet should be the primary Pivot facet, not the primary Pivot facet.", "reference": "This has nothing to do with master/slave replication. Is this something we want to change too? If so, I guess this is an aggregation?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "Maybe it makes sense to mention that those zombies are not forever, but only up to the moment when the parent process exits? Is that correct according to your observations, @benoittgt? Please disregard this note if zombies remain after." }, { "prediction": "I don't think we need to mock anything here.", "reference": "moto mock setup needs to happen before boto usage." }, { "prediction": "I'm not sure if this is the right error message. I'm not sure if this is the right error message.", "reference": "`hasattr(cb, 'first_metric_only') and cb.first_metric_only` -> `getattr(cb, 'first_metric_only', False)`" }, { "prediction": "I'm not sure if this is the right name for this function. It's not clear to me what `streamHandler` is.", "reference": "no newline for function" }, { "prediction": "I think this should be `float` instead of `double`.", "reference": "This makes me feel icky. We could also go the route of making `wlr_output.scale` a double instead of a float, but that would be a more widely reaching change." }, { "prediction": "I'm not sure if this is the right fix.", "reference": "Again, would be awesome if you could remove the tabs in these 3-4 lines as well." }, { "prediction": "I'm not sure if this is the right place to put this code. I'm not sure if this is the right place to put this code.", "reference": "You're moving multiple times from `step.name`; you're not allowed to do that. Instead you have to copy the `step.name` string and (if you want to) move once at the very last." }, { "prediction": "I don't think we should change the locale here.", "reference": "What about `may not end`? @jancborchardt" }, { "prediction": "I'm not sure this is the right message. I think it should be `You can't approve this deployment because you (%s) are not in the approver list: %v`.", "reference": "If you think about it, the status should be PermissionDenied?" }, { "prediction": "I'm not sure this is a good idea. I think it's better to use `percent_value` instead of `percent_value` for `listen_count` and `no_match_rate` for `listen_count` and `no_match_rate` for `no_match` and `no_match` for `no_match` and `no_match_rate` for `listen_count` and `listen_count` for `listen_count` and `listen_count` for `no_match` and `no_match` for `no_match` and `no_match` for `no_match` and `no_match` for `no_match` and `no_match` for `no_match` and `no_match`.", "reference": "Calculation looks good but don't know what format etc grafana expects this to be in." }, { "prediction": "I'm not sure this is the right test. I'm not sure if this is the right test.", "reference": "nit: We could use the `to_str(..)` util here. (let's not bother changing for this PR.. )" }, { "prediction": "Why is this needed?", "reference": "Can you rename alias to `executiongenpb`. The rule is package+\"pb\" for `temporal-proto` and package+\"genpb\" for server protos." }, { "prediction": "I'm not sure if this is the right place to do this. I think it should be `make([]*subscription, len(qr))`", "reference": "Any noticeable performance hit? Any other way to avoid the allocation and copy even of the array?" }, { "prediction": "I think this should be `i2c.Bus.EVENTS_RXDREADY == 0`", "reference": "What if you remove this line entirely from here?" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to put this logic in a `if self.add_extra_convs == 'on_input'` block.", "reference": "`on_lateral` can also be implemented" }, { "prediction": "Please use `StringUtils.isBlankOrEmpty(podcast.author)`", "reference": "Please add a space between `if` and `(`." }, { "prediction": "I think this should be `STATUS_NO_POOLS_AVAILABLE` or `STATUS_NO_POOLS_AVAILABLE`", "reference": "This statuses might have been better off with some custom status type. However, good for now." }, { "prediction": "I'm not sure this is the right fix. If v6IPNet is nil then v4IPNet = ipNet - is that correct?", "reference": "Thanks for catching the bug. Here your change lets `v4IPNet` and `v6IPNet` take the first IPv4/IPv6 address in `addrList`. Maybe choose the last one also works and makes code simpler? What's your idea? @tnqn" }, { "prediction": "I think this should be `resource_id` instead of `record_id`.", "reference": "nitpick: you can name this variable just `details`" }, { "prediction": "I don't think you need this. You can just use `def->method = METHOD_REGEX;` here.", "reference": "The character class in the regex should probably be \"[a-zA-Z0-9_]\"." }, { "prediction": "I think we should keep the old settings as well.", "reference": "Please also increment `Settings.VERSION` and update `AccountSettings`." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have this in the `build.go` file, and then have the `versionString()` function return `\"Weave of \" + builddate + \".0.0\"`", "reference": "I think this should just say \"build \". And when builddate wasn't set, e.g. somebody built weave with 'go build' or some other way, this should return \"unknown\"." }, { "prediction": "`Rewriting manifests(staging location=%s) of %s\", stagingLocation, table.name(), table.name());`", "reference": "Can we move this into a separate var and call it `desc` like below?" }, { "prediction": "Please revert these changes.", "reference": "why RpcSchema need this annotations?" }, { "prediction": "I think this should be `if s.sys!= nil && s.sys.replies!= nil {`", "reference": "Not sure it makes sense to send the reply if we did not delete from the map, but I guess it does not hurt.." }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "Most of these variables can be moved after `return` or to the body of `if` statement." }, { "prediction": "I think it's better to say \"No token provided\" instead of \"No token provided\"", "reference": "nit: Is this actually just a http \"unauthorised\" response? Or is that too vague? If this is the right way to go... is \"token\" the right word\" Or do we want to say something else?" }, { "prediction": "Line is too long. [82/80]", "reference": "We check for `$future` in PuppetDB::Config, so this won't change behavior if you don't have `future` set." }, { "prediction": "I think this should be `if not isinstance(by[0], Series):`", "reference": "I think you should remove `if isinstance(by, str):`,. We also should fix the error message `raise ValueError('Not a valid index: TODO')` to match with pandas'" }, { "prediction": "I think this should be `GrpcHandler.Request` instead of `GrpcHandler.Request`", "reference": "Curious - do we want this to be `OTel.GrpcHandler.Request`? For example, if someone is debugging a crash dump, they would get some hint that it was added by OpenTelemetry." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "nit: unnecessary `

    `" }, { "prediction": "I don't think you need the #ifdef here.", "reference": "Should just be `#ifdef ADIOS2_HAVE_HDF5`" }, { "prediction": "I think this should be `random_id_part = short_uid()` instead of `len(random_id_part) + len(resource_id_part)`", "reference": "FYI: I deployed a stack with multiple lengths for the stack name and resource id to cloudformation, to see how it truncates the parts for the final FunctionName" }, { "prediction": "I think we should remove this line.", "reference": "Did we not use this field @_@" }, { "prediction": "nit: `androidKeystorePath = getNPMConfig(['android_keystore_path']) || ''` and `androidKeyAlias = getNPMConfig(['android_key_alias']) || ''`", "reference": "shouldn't this be `android_keystore_name`?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "Double check the issuers package too :)" }, { "prediction": "I think this should be `_visit_consumer` instead of `_check_consumer`.", "reference": "This is out of date right? Now that `_is_first_level_self_reference` uses it as well? Perhaps we should make the docstring more general and not refer to method names that could change." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This test alone takes around 10-12 minutes to run. It has 20 subtests each of which takes around one minute. We should see if we there are redundant subtests that we can remove, or look for a way to optimize them." }, { "prediction": "I'm not sure if this is the right fix, but I think it would be better to do `Object.keys(newProps).sort()` instead of `Object.keys(oldProps).sort()`", "reference": "Good call, we need to keep that check :+1:" }, { "prediction": "I don't think we need to pass `buffer` to `ParseRequestLine`.", "reference": "Should the interface have 2 `ParseHeaders` methods?" }, { "prediction": "I don't think this is a good name. I think it's better to be consistent with `iceberg.metadata.refresh.max.retries`", "reference": "Nit: Does this make more sense as `iceberg.hive.metadata...`? The rest of the configs seem to start with `iceberg.hive`." }, { "prediction": "I'm not sure this is the right place for this validation. It seems like it should be in `ValidateACMEIssuerDNS01SecretKeySelector` instead of in `ValidateACMEIssuerDNS01SecretKeySecretRef`.", "reference": "Is `baseURL` not required?" }, { "prediction": "I'm not sure if this is right.", "reference": "Just delete it, `embedding_rpn_head` is not a `Detector` which should have `show_result`." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Where do we _get_ tag values? edit: I mean, where are these `GetFoo()` methods called from? It just seems weird to me that we are getting tag values from spans. I thought we only ever _set_ tags on spans." }, { "prediction": "I think this should be a debug message.", "reference": "This seems like log spam. Maybe expose the encoding as a method and log at the point of interest?" }, { "prediction": "I'm not sure this is the right type for the protocol, but I'm not sure if it's the right type for the protocol.", "reference": "I looked up that one, and it seems correct: Authentification is French, Authentication seems to be correct" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if it's the best way to do it, but I'm not sure if it's the best way to do it.", "reference": "Can we print a more human-friendly warning here, saying that plotting won't work or something along those lines?" }, { "prediction": "I don't think this is needed.", "reference": "@mhils didn't we try to get rid of these (now empty) wrapper classes?" }, { "prediction": "I think this should be `github.com/projectcalico/libcalico-go/lib/set`", "reference": "I would avoid importing `felix/ipsets` package because this package is the windows equivalent and should be at the same level of `felix/ipsets`. We could add linux specific dependencies into `felix/ipsets` later and it will break Windows build." }, { "prediction": "I think this should be `registerTable(TableIdentifier identifier, String metadataFileLocation);`", "reference": "Maybe, `import` would be a better name." }, { "prediction": "I don't think we need this parameter anymore.", "reference": "Wouldn't we want `PARAMETER_MAX_RESULTS` in here as well? (I might be miunderstanding how this is used)" }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if this is the right place to put this in.", "reference": "We can re-use the config in our tests." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "Wouldn't we have the same issue with the internal libevent? IIRC, the integration is pretty close to an exact duplicate. Or does the libevent m4 code already take that into account when setting this variable? PMIx _requires_ libevent, so it isn't like pmix_libevent_support can be anything other than 1. I'm okay with leaving this question for separate resolution - just wondering why we don't have the same issue here." }, { "prediction": "I don't think we need to check for iOS here.", "reference": "The actual User-Agent string uses \"CriOS\" not \"CRiOS\"" }, { "prediction": "I'm not sure if this is the right place to put this interface?", "reference": "Unused code deletion. Is that a desired thing? No implementation of this actually used this indexer, so removing it seemed reasonable (and was suggested by the compiler). Maybe this had an indexer so plugins could use it? This change is definitely pushing the limits of what is appropriate in a \"cleanup\" as it is changing public API surface area." }, { "prediction": "I'm not sure if this is the right place to dump Puppet logs, but it seems like we should be able to dump Puppet logs on the same machine as the user running Puppet.", "reference": "We'd lose the data here from the original teardown_exception and only get the dump_exception - I fear that that could make the actual error difficult to track if it cascades." }, { "prediction": "I'm not sure if this is the right way to do this. If `multiple` is set to `true`, then `dom.multiple = newVNode.props.multiple ||'select';` will never be set to `true`.", "reference": "At this point in `diff()` we should know if we're dealing with a `component` or a native `html` element. We can reuse that information in this if-statement here :+1:" }, { "prediction": "I don't think this is the right fix. If the bonus p2 starts at the same time as the bonus p2 ends at the same time as the bonus p2 starts at the same time as the bonus p2 ends at the same time as the bonus p2 starts at the same time as the bonus p2 ends at the same time as the bonus p2 starts at the same time as the bonus p2 ends at the same time as the bonus p2 starts at the same time as the bonus p2 ends at the same time as the bonus p2 starts at the same time as the bonus p2 ends at the same time as the bonus p2 starts at the same time as the bonus p2 ends at the same time as the bonus p2 starts at the same time as the bonus p2 ends at the same time as the bonus p2 starts at the same time as the bonus p2 ends at the same time as the bonus p2 starts at the same time as the bonus p2 ends at the same time as the bonus p2 starts at the same time.", "reference": "somewhere in reward protocol, we need to do if epoch is Fairbank { a.foundationBonusP2StartEpoch = genesis.xxx a.foundationBonusP2EndEpoch = genesis.yyy p.state(sm, adminKey, &a) } that is to write the 2 new values at Fairbank height then this logic can follow" }, { "prediction": "`__table__` is a `__init__` method, so you don't need to call it here.", "reference": "Dropping and recreating would delete all t he previous records, are they any important?" }, { "prediction": "I think this should be `exists` instead of `Exists`.", "reference": "While it is technically OK to use `m.GetPaths()` here, and it's a mock code so it doesn't really matter, I'd still like to have `m.Path(\"devices\")` used here, because since commit 714c91e9f73a1512808476eb532b4aa36bbb7530 we're not supposed to use GetPaths() for anything other than state save/restore." }, { "prediction": "I think this should be `if systemConfig.HidepidDisable {`", "reference": "Let's be consistent everywhere: either \"Disable\"/\"Enable\" or \"Disabled\"/\"Enabled\". I'm voting for the latter.:)" }, { "prediction": "I think this should be `GoQuorum compatibility mode` instead of `GoQuorum mode`", "reference": "this works and is the smallest possible change but we could definitely fail earlier" }, { "prediction": "I think this should be `//go:build!arm64//go:build!arm64`", "reference": "Should not have snuck in here right? This is a golang 1.17 feature, wii definitely want to update these" }, { "prediction": "I think this should be `this.prevFolderId_ = this.props.prevFolderId_;`", "reference": "Could you explain the logic with prevFolderId?" }, { "prediction": "I think this should be called `TimestampNowFromClock`", "reference": "Please add license header" }, { "prediction": "Why do you need the &lbann::finalize?", "reference": "It bothers me that the user calls `initialize` without also calling `finalize`. It seems to me that we're essentially making `lbann_comm` a singleton object. Going further down this path, we would put `initialize` inside `lbann_comm`'s constructor and `finalize` in the destructor. This has it's own weirdness - the user must make sure it's lifespan matches the beginning and end of the program. We may also run into the case where someone might want multiple instances of `lbann_comm`, but this is not too important." }, { "prediction": "I'm not sure why this is needed.", "reference": "We should probably make a unique_ptr typedef in ROMol.h and start using that liberally." }, { "prediction": "I'm not sure if this is the right default for the `fillHandle` property. I'm not sure if it's the right default for the `autoInsertRow` setting.", "reference": "Can you add missing asterisk?" }, { "prediction": "I think this method should be renamed to `toUpperCamelAndDigits` and `toLowerCamelAndDigits` to be consistent with the other methods in this class.", "reference": "late to the party, but I bet it meant to be `capitalizeLettersAfterNumbers` :)" }, { "prediction": "I'm not sure if this is the right place to put this. It's a boolean, not a boolean.", "reference": "The Activity is recreated on configuration changes and the value of the field is lost. So, e.g. pressing'send' once will display the error message. If you rotate the device and press'send' again, the message will show another time. Use `onSaveInstanceState()` and `onRetainInstanceState()` to save and restore the value of the field." }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "Looks like a \"find and replace\" unintended change here" }, { "prediction": "Why do we need to strip unlearned columns?", "reference": "haven't we got rid off `randomSP` recently? (I think `not learn` implied that)" }, { "prediction": "I think this should be `ExperimentPhase` instead of `Phase`", "reference": "Why we need use `in.GetStatus()` function here? Can we use `in.Status.xxxx` directly?" }, { "prediction": "This lack of error is by intention to force cache invalidation as though it has renewed. This lack of error is by intention to force cache invalidation as though it has renewed.", "reference": "@cretz Just a thought: what if another renewal process updates the certificate between the beginning of this for loop (above on line 67) and actually calling RenewCert? Even though we have a read lock on the certCache, something else could have renewed it by now, and finished, which would cause this certificate to be renewed twice. Could you double-check my thinking here and see if that's a plausible 'race' condition? I wonder if the lock needs to be put over this whole function. (It's still early here; I could be wrong...)" }, { "prediction": "I'm not sure if this is the right thing to do. The `PDEBUG_SYSTEM_OBJECTS` is a pointer to the `ILLDBServices` object, and the `PDEBUG_CLIENT` is a pointer to the `ILLDBClient` object. The `ILLDBServices` object is a pointer to the `PDEBUG_CLIENT` object. The `PDEBUG_CLIENT` object is a pointer to the `ILLDBClient` object. The `PDEBUG_CLIENT` object is a pointer to the `ILLDBClient` object. The `PDEBUG_CLIENT` object is a pointer to the `ILLDBClient` object. The `ILLDBServices` object is a pointer to the `PDEBUG_SERVICES` object. The `PDEBUG_SERVICES` object is a pointer to the `ILLDBServices` object. The `PDEBUG_SERVICES` object is a pointer to the `ILLDBServices` object. The `PDEBUG_CLIENT` object is a pointer to the `ILLDBClient` object. The `ILLDBServices` object is a pointer to the `ILLDBServices` object. The `PDEBUG_CLIENT` object is a pointer to the `ILLDBClient`", "reference": "We don't need this for the PInvoke?" }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "nits, I think add a log (using s.logger) to show why does this return with no error is better." }, { "prediction": "I think this should be `errors.New(codes.PermissionDenied, \"Requested piped doesn't belong to the project you logged in\")`", "reference": "Btw, It would be nice if we have some tests for those validation functions." }, { "prediction": "Why is this needed?", "reference": "Should this be called something that indicates its function, rather than its content? validationMessagePrefix, or similar?" }, { "prediction": "I don't think you need to change the year here.", "reference": "Please remove this line" }, { "prediction": "I think this should be \"Don't run the client\" instead of \"Don't run the client\".", "reference": "You could change the name of the command line switch too. Short options are typically one character after hyphen. wxWidgets' command line parser seems to handle `-nd` without confusing it with `-n` or `-d` but I'm not sure if that's by design or by accident. I'd remove the short option. `--no-daemon` is with hyphen but the rest of Manager and client uses underscore. Please change that." }, { "prediction": "I'm not sure if this should be a server-side path.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I'm not sure why this was removed.", "reference": "Why are we mentioning toybox in this message? AND it still says \"tdnf error\". What's the actual error? Should it be resolved instead of flagged?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "You can remove these if they've been resolved in NODE-3405 and this isn't depending on it" }, { "prediction": "I think this should be `

    `.", "reference": "don't need the class here if its empty" }, { "prediction": "I don't think this is the right place to put this. It's just an example.", "reference": "This should be computed('i18n.locale'...." }, { "prediction": "I think this should be `raise BigQueryExecutionError(job_id, status['status']['errorResult'])`", "reference": "Please add return and return type description to docstring of this method." }, { "prediction": "Line is too long. [83/80]", "reference": "What does 1 << 32 do? In irb typing this yields 4294967296. I didn't find the append operator in Numeric or Integer." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to put this in the `Convenience` class.", "reference": "We generally use metadata for this sort of thing, indeed there is a `metadata[:execution_result]`." }, { "prediction": "I think this should be `plot_methods = dict(single='patch')` and not `plot_methods = dict(single='patch')`", "reference": "This was very confusing until I realized this might refer to the *bokeh* use of the word'streaming'." }, { "prediction": "Can we use `map[string][]api.ContainerStateChange` instead of `map[string][]api.ContainerStateChange`?", "reference": "Can you rename this as `tasksToContainerStates`? If you do that, you can rename the lock as well" }, { "prediction": "I think this change is not needed.", "reference": "Fixing `lint` warnings that have existed for a while." }, { "prediction": "nit: I'd prefer `fill(n, s)` instead of `fill(n, s)`", "reference": "An iterator **of {\\@code n} sequential elements,** where each element ~are~ **is the** given {\\@code element}." }, { "prediction": "I don't think this is needed. The `IntegrationIds.AdoNet` prefix is used by the `MySqlClientData` and `MySqlServerData` classes.", "reference": "If all of the `SqlCommandIntegrationName` values are the same, can we just remove it from `IAdoNetClientData` entirely and put the constant there?" }, { "prediction": "nit: remove empty line", "reference": "Maybe regroup this import with the other cert-manager packages." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "There are spaces missing ;) Just have a look at the code style of the `if` statement above" }, { "prediction": "I don't think this is the right place to do this. The `orderMessageCandidates` function should only be called if `block.BlockMessageLimit == 0` and `candidateMsgs` is empty. If `block.BlockMessageLimit == 0`, then the `orderMessageCandidates` function should only be called if `len(candidateMsgs) > block.BlockMessageLimit`. If `block.BlockMessageLimit == 0`, then the `orderMessageCandidates` function should only be called if `len(candidateMsgs) > block.BlockMessageLimit`. Otherwise, the `orderMessageCandidates` function should only be called if `block.BlockMessageLimit == 0` and `candidateMsgs` is empty.", "reference": "We should pass the size limit as a parameter to Drain so that we don't take messages out of the pool and then drop them. It's ok to merge as is, I will file an issue." }, { "prediction": "I'm not sure this is the right place to put this macro.", "reference": "Patch lists are used in many places so this is going to break other updates. This should just be a local change in emit_special_ibl_xfer() to pass the second-to-last instruction instead of the last instruction." }, { "prediction": "Why did you change this?", "reference": "@argakiig previous work was above live threshold, causing the high difficulty to bleed into other blocks when genesis open was processed in tests." }, { "prediction": "Line is too long. [86/80]", "reference": "Metrics/LineLength: Line is too long. [89/80]" }, { "prediction": "Is there a reason why we don't want to disable this?", "reference": "Please also extend the config tests now to include the new field." }, { "prediction": "This should be set to `false` by default.", "reference": "I think it's wise to keep the behavior backwards-compatible (so `false` as default)" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if it's the best way to do it, but I'm not sure if it's the best way to do it.", "reference": "We don't need this line, do we?" }, { "prediction": "I don't think we need this.", "reference": "I don't know if we've actually had this problem on Upcase. I'd lean towards having a blank file unless (like on robots) we see multiple errors per week from this crawler." }, { "prediction": "I'm not sure if this is the best way to do it, but I'm not sure if it's the best way to do it. I'm not sure if it's the best way to do it, so I'm not sure if it's the best way to do it.", "reference": "I'm not good at picking colors, if anyone else has a preference." }, { "prediction": "I think this should be `static`", "reference": "Note that even if you cancel the timer, the refreshFolders function might still be running since it's async. Could that be a problem for the test units? One big issue I had with tests is they sometimes would work and sometimes fail randomly, and that's because there are still code running in the background. One example was the ItemChange class, which saves data asynchronously. So I've implemented a waitForAllSaved(), which can be used for test units, to make sure nothing is running once the test ends. So just wondering if we might end up with this issue here." }, { "prediction": "nit: can we move this test to a separate file?", "reference": "can we make this something more descriptive? like... types should compile? I'm still not sure exactly what this is testing... this says \"Exported types\" - but what does tsd actually look at?" }, { "prediction": "This method is no longer used, please remove it.", "reference": "this method is need for full screen video button to appear in players" }, { "prediction": "I think this should be `uint64`", "reference": "Why is this a pointer?" }, { "prediction": "I'm not sure this is the right place to put this check. I'm not sure if this is the right place to put this check.", "reference": "nit: Space after comma" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if `XLongField` is a good idea.", "reference": "A similar field is already define in `scapy/layers/bluetooth.py`. Can you merge both definitions?" }, { "prediction": "I'm not sure why this is needed, but it seems to me that `cpp_includes` is a copy of `parser_.opts.cpp_includes`, and `parser_.opts.cpp_includes` is a copy of `parser_.opts`, so I'm not sure why this is needed.", "reference": "`std::strtok` isn't necessary. The `std::string::find_first_of` is better C++ alternative to `std::strtok`. For example, see `CheckedError Parser::ParseEnumFromString` method." }, { "prediction": "Why did you remove the `@var int` annotation?", "reference": "This property is already declared in a parent with the same visibility/type/value. This one is redundant." }, { "prediction": "I think this should be `pass` instead of `flush`.", "reference": "This is required, otherwise multiprocessing will (for some reason) crash" }, { "prediction": "This import should be grouped with the go-algorand/data/basics package.", "reference": "Please put in a separate line-separated block" }, { "prediction": "I'm not sure this is the right place to print the error.", "reference": "Should error be eaten? If so, not clear why" }, { "prediction": "I don't think this is necessary.", "reference": "This attribute is not defined if the condition is not met. Instead, you could define another RouteFactory (e.g. `BucketRouteFactory` with a class attribute like `allow_empty_list`)" }, { "prediction": "Can we use `metav1.Time` instead of `timestamp`?", "reference": "Can we use the existing `InstalledTimestamp` function?" }, { "prediction": "I don't think we need to scroll to the nutrition fragmento.", "reference": "weird naming: `is` but `fields` (plural or singular?). If the method checks if the fragment has an invalid value, then \"hasInvalidValue\" or \"containsInvalidValue\" is fine no?" }, { "prediction": "I think this should be `/users//`", "reference": "Does this mean that `listenbrainz.org/user/iliekcomputers` will start getting 404s?" }, { "prediction": "Layout/SpaceInsideHashLiteralBraces: Space inside { missing.
    Layout/SpaceInsideHashLiteralBraces: Space inside } missing.", "reference": "Line is too long. [82/80]" }, { "prediction": "This should be `async_select_unrequired=True`.", "reference": "That's a strange name =)" }, { "prediction": "I'm not sure this is the right context for this test. I think it should be `Purchase Request:White House Service Center: Purchase Request` and not `Purchase Request:White House Service Center: Purchase Request`", "reference": "Thoughts on this? I'm not crazy about the brittleness of this but haven't found a good way to test more generically that a specific (custom) template has been rendered." }, { "prediction": "I don't think we need this.", "reference": "Have we reached binding-level agreement on the `subscribe` terminology? My only concern is that it doesn't seem descriptive enough and may be confused with subscribing for notifications." }, { "prediction": "I think we should check for `SpanContext.IsValid()` before adding the link to the recording span.", "reference": "would it not be safer to move this condition to the `addLink` method?" }, { "prediction": "I don't think this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "I think this might read better: > some apps need the response headers before starting to stream content with http2, so it's important to explicitly flush the headers to the client before streaming the data." }, { "prediction": "I think this should be `PartitionSpec` instead of `StructLike`", "reference": "What does this return if there is no partition? I think that we should consider adding a struct type that describes this tuple. That way, we can use an empty struct for unpartitioned and a non-empty struct for tasks that are combined by partition. We could also support more combinations, like combining across day partitions by not across bucket partitions or similar." }, { "prediction": "I'm not sure this is the right error type to use here.", "reference": "Also, it might be worth returning this for the above lookup on `kbfsRepoDir` as well, which could happen if someone tries to delete a repo in a TLF that has never had any repos at all." }, { "prediction": "This should be `.localhost, localhost,.localdomain`.", "reference": "Can this be `Hidden: true` as we already have a bunch of flags that are printed on `--help` and this seems like an average person should not care about it." }, { "prediction": "I don't think this is the right way to do this. I think it would be better if we set `debug` to `true` and `strict_variables` to `false` by default.", "reference": "Wouldn't this set $strictVariables = true when Config::get returns false?" }, { "prediction": "I don't think this is needed.", "reference": "was this meant to be checked in?" }, { "prediction": "I think it's better to use `DEFAULT_RTT_MEASUREMENT_INTERVAL_MS` instead of `DEFAULT_RTT_MEASUREMENT_INTERVAL`", "reference": "check spaces after const name..." }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if this is the right place to put this function.", "reference": "If the GPU setting is enabled, resourceFields.NvidiaGPUManager will be nil, right?" }, { "prediction": "I'm not sure this is the best way to handle this. I'm not sure what the best way to handle this is. I'm not sure what the best way to handle this is, but I'm not sure what the best way to handle this is.", "reference": "We should probably verify that it's readable too" }, { "prediction": "I think this should be `string value = xmlReader.ReadElementContentAsString();` instead of `string value = xmlReader.ReadElementContentAsString();`", "reference": "See, here's an example where you removed the variable but kept the call, which makes sense." }, { "prediction": "I'm not sure if this is the right place to put the title here.", "reference": "Please use `request.getTitle()` instead of `feed.getHumanReadableIdentifier()`: In this case, `feed` does not have a human readable title yet" }, { "prediction": "I think this should be a warning.", "reference": "I think the wording on the left is better" }, { "prediction": "I think this should be `i.interceptors = append(i.interceptors, interceptor)`", "reference": "Please update the method described to point out that it maintains a chain of interceptors and they will be called in the same order passed in the options." }, { "prediction": "I don't think this is the right place to do this. It should be `if (args.Name.StartsWith(\"Datadog.Trace, Version=\") && args.Name!= AssemblyName)`", "reference": "Is this case purely hypothetical or did it solve an issue that occurred in your testing? I'm trying to understand this change a little better" }, { "prediction": "I think this should be `int(p.shard.GetShardID())`", "reference": "Use instead `convert.Int32ToString` that was added in #762 for this purpose." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "If key is present, tree.put(k,v) needs to return a new instance for Maps and the same instance for Sets. Therefore we currently perform an additional 'contains' check for Sets. A future optimization may add an additional flag `replace` to the backing HAMT.put() / RedBlackTree.insert() methods. Sets set it to replace=false, Maps set it to replace=true. But for now this solution is working for us." }, { "prediction": "I don't think we need the `ellipsis` class here.", "reference": "This is a regression test for code I found while working on this." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I'm wondering if we need to delete jsonStr and jsonAttr after the json_extract_path_text call to avoid unnecessary heap pressure. Though if json_extract_path_text itself does new's on the same heap, we'd get heap fragmentation. Another approach would be to allocate these on the stack instead, avoiding both concerns: char jsonStr[len1+1]; char jsonAttr[len2+1];..." }, { "prediction": "I think this should be `int(request.args.get('from', 0))`", "reference": "Does it come as `str`?" }, { "prediction": "I think it's better to use `String.valueOf(allergens.size())` instead of `String.valueOf(allergens.size())`", "reference": "This should actually read as the following `for (int i = 0; i < allergens.size(); i++)`" }, { "prediction": "I'm not sure if this is the right place to put this code.", "reference": "This is so useful and safety, I want to propose making AppendBool, AppendInt, etc. all private functions, and forcing us to use AppendValue(j, values.New(false)), etc." }, { "prediction": "I'm not sure if `useImperativeHandle` is the right thing to do here. It seems that `useImperativeHandle` is only used by `ImperativeHandle` and `ImperativeHandle#create` is only used by `ImperativeHandle` and `ImperativeHandle#create` is only used by `ImperativeHandle` and `ImperativeHandle#create` is only used by `ImperativeHandle` and `ImperativeHandle#create` is only used by `ImperativeHandle` and `ImperativeHandle#create` is only used by `ImperativeHandle` and `ImperativeHandle#create` is only used by `ImperativeHandle` and `ImperativeHandle#create` is only used by `ImperativeHandle` and `ImperativeHandle#create` is only used by `ImperativeHandle` and `ImperativeHandle#create` is only used by `ImperativeHandle` and `ImperativeHandle#create` is only used by `ImperativeHandle` and `ImperativeHandle#create` is only used by `ImperativeHandle` and `ImperativeHandle", "reference": "Really, really small nit I believe there's 3x tabs in here? And should it be just 2x?" }, { "prediction": "I don't think we should be setting this to true for resuming uploads across different sessions.", "reference": "Perhaps note that rclone can't do this yet?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "You probably don't need to set an empty config here." }, { "prediction": "I don't think this is needed.", "reference": "I think you are missing `cftime.DatetimeAllLeap` here. That said, all of these are subclasses of `cftime.datetime`, so I think you could get away with just using `cftime.datetime` here, rather than enumerating all of the different subclasses (since `cftime_types` is only used for instance checks)." }, { "prediction": "I think we should rename this to `BlockDeviceClaimCPK` since it's not used anywhere else.", "reference": "don't we need to set this label on pool pods? I don't see them being set" }, { "prediction": "I'm not sure why this change is needed.", "reference": "can remove, it isn't reachable." }, { "prediction": "Line is too long. [82/80]", "reference": "`expect(cancellation).to be_can_downgrade_instead` would be preferred :rainbow: :rainbow:" }, { "prediction": "I don't think we need this check anymore. The `_socket.IsClosed` check should be moved to the `if (_socket.IsClosed) {` block above.", "reference": "Gross. The OS should timeout writes for completely unresponsive clients to begin with. Long term, the better solution is to enforce a minimum minimum data rate for responses. This might require a way to cancel LibuvAwaitables, but it definitely not OK to immediately kill the socket and any ongoing writes just because the request processing loop completed. You could consider doing that after some kind of timeout, but at that point you might as well just enforce a minimum rate." }, { "prediction": "Why not just pass `thread_pool` as an argument to `fetch_datum`?", "reference": "If this is not used, we should just delete the line." }, { "prediction": "I think this was a leftover from the original code.", "reference": "Are there other callers to this function. How will they be impacted." }, { "prediction": "I think this should be `from.plugin import Plugin`", "reference": "Let's be consistent. The majority of boto code does not use relative imports. Let's just stick to the existing standard of \"from boto.package.subpackage import Thing\"." }, { "prediction": "I'm not sure this is the right thing to do here. I think it would be better to have a `Identity` class, and have the `identityString` be a `Optional` so that the user doesn't have to specify the `p2p` value.", "reference": "Suggestion: specify `arity` for this option." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a default value of `show_legend` instead of `False`. This way you can have a default value of `False` if you don't want to show legend for the entire plot.", "reference": "This is a parameter available for the matplotlib backend IIRC. In which case, it is good to see this support added to the Bokeh backend." }, { "prediction": "I think this should be `traceId.trim()`", "reference": "trim has performance impact and this is the lowest level library... seems the trim if occurs should happen in the UI or Query controller instead.." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Probably also needed for the `http.client.FOUND` below?" }, { "prediction": "I think this should be `--es6-js-export` to be consistent with the rest of the CLI.", "reference": "Can you also add this to Compiler.md?" }, { "prediction": "nit: `retries` should be a `number`", "reference": "!numbers -> numbers" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This description doesn't seem quite right for the longrunning case - `longrunning` isn't an orgname." }, { "prediction": "I think it would be better to return `Iterator` instead of `DocIdSetIterator`.", "reference": "maybe give it a more descriptive name, e.g. `competitiveFilter`" }, { "prediction": "I don't think we should have a master list here.", "reference": "This occurrence of \"master\" is unrelated to master/slave replication. Maybe simply remove the word \"master\" or replace it with \"reference\" but \"primary\" doesn't really make sense." }, { "prediction": "I think this should be `proofs.go` instead of `proofs.go`", "reference": "BLOCKING: This is a problem. We shouldn't be introducing new dependencies on proofs into actors. The miner has some dependencies that should be removed (#2555). This could be accomplished either by moving `proofs.Mode` to `types.ProofsMode` or by forgoing a new type altogether and replacing it with a boolean. The later would have the additional advantage of reducing the number of types we have to export through ABI. I get why `proofs.Mode` has value as a type over a boolean, but I'm not sure it's worth it here." }, { "prediction": "I don't think we need to check for nil here.", "reference": "We probably want to log the fact that a `MessageId` was not present in the response. In addition the `RequestID` from `request.Request` should be included in the message so that the user is aware of the issue." }, { "prediction": "I'm not sure this is the right place for this test.", "reference": "It feels a bit strange to re-assign that here, as that line itself has no context on why it's reassigned. I'd prefer if we could pass `{ propertyID: webPropertyId }` below instead (that's how we do that elsewhere too). This also applies to other similar re-assignments below - let's rather pass the values within the objects as applicable, since then there is more clear context on why this \"rename\" / \"reassignment\" is necessary (because of an object expecting specific properties)." }, { "prediction": "I don't think we need to expose `models.js` here.", "reference": "remove this in the new pr aswell when moving compare to plugins as discussed." }, { "prediction": "I think this should be `Status::Error(\"VarHolder nullptr.\");` instead of `Status::Error(\"VarHolder nullptr.\");`", "reference": "check varHolder is nullptr is redundant, ExecutionContext ensure" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "Make these frozen constants?" }, { "prediction": "I'm not sure this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Please use something like html.escape() to ensure that the text is totally safe to include within html. < is not enough." }, { "prediction": "Why did you change this?", "reference": "why is a buffered channel larger than 1 needed here? the separate goroutines can just try to write to the channel with a select-default block, and then it is not needed. i find the current implementation a bit convoluted, maybe we could simplify it a bit? not sure why it is needed for example to communicate an empty result. these patterns can be simplified using waitgroups" }, { "prediction": "Line is too long. [87/80]", "reference": "There seem to be more changes in here than I'd expect (mostly `limit: 255` additions)." }, { "prediction": "I'm not sure this is the max length for the trace state key. I'm not sure if it's the max length for the trace state key or if it's the max length for the trace state key.", "reference": "I'm not sure, but I think it's `Tenant`" }, { "prediction": "I don't think we should be changing the signature of this method. It should only be called when `allowOptionalMappings` is `true`.", "reference": "Not sure if it's an issue, but this is a breaking change in a public API. Maybe we should add as an overload without optional parameter instead and delegate the existing call to this one?" }, { "prediction": "I'm not sure if this is the best choice, but I think it would be better to have the chooser return the `peer.Chooser` instead of the `peer.Chooser` returned by `chooser.Start`.", "reference": "as opposed to exposing the chooser function and increasing our API exposure for the purpose of tests, can we move the HTTP transport config test into this package?" }, { "prediction": "Is it possible to set dpms state for drm_connector_set_mode()?", "reference": "This is using the legacy DRM interface. DPMS levels have been removed from the atomic interface IIRC. Should we handle DPMS levels at all?" }, { "prediction": "I'm not sure this is the right fix. I think it should be `watches = append(watches, watch)`", "reference": "I think this was correct before. The nonce passed in here is the nonce at a block (which is the next nonce not yet used, e.g. 0 if the account was never used, 1 if only the tx with nonce 0 has been sent). So if the in-block nonce is 12, then a transaction with nonce 12 cannot have been included yet." }, { "prediction": "I'm not sure if this is the right place to put this ternary operator. I'm not sure if it's the right place to put this ternary operator, but if it's the right place to put this ternary operator, I'm fine with it.", "reference": "Please name the file ShareExtension.js, as you import it under this name (also could you convert it to TypeScript please?)" }, { "prediction": "I don't think we need this.", "reference": "Not sure if we need it, but if we set it, be sure to add `,omitempty`." }, { "prediction": "I'm not sure if this is a good idea. I don't think this is a good idea.", "reference": "It's the whole `PublicHeader` that will change soon, and we should state that here, not in the member functions. If Jana's proposal for a new header is accepted, we might also want to rename the fields here. For example, there won't be a dedicated version flag anymore, so a more appropriate name might be `ContainsVersion` instead of `VersionFlag`." }, { "prediction": "`back.indexOf(element, from)` should be `back.indexOf(element, from)`", "reference": "I think `element` can stay of type `Character` because `Character` is a final class. The we do not need the cast in the line below." }, { "prediction": "I think it would be better to have this method return `true` if `this instanceof ASTAnnotationTypeDeclaration` and `this instanceof ASTAnyTypeDeclaration` if `this instanceof ASTAnyTypeDeclaration` and `this instanceof ASTAnnotationTypeDeclaration`", "reference": "Not sure, if we should do it the other way round. If you ask be in the middle of the night, whether Interface should return true as \"isInterface\" and what Annotation would return. I'd tell you, Annotations should return false.... I want to say, on first glance, I'd say, it's easier to have \"isInterface\" and \"isAnnotation\" rather than \"isInterface\", \"isAnnotation\" and \"isRegularInterface\"... But I see, we also have \"isRegularClass\".... We still have the possibility to change the semantics of those APIs in PMD 7 *Update:* Or in other words: What is less surprising? That isInterface returns true for annotations or that it returns false?" }, { "prediction": "I'm not sure why this was removed, but it seems to me that `terminate_after` is always `None` if `action =='search'` and `query` is `None` if `action =='search'` and `query` is `None` if `action =='search'` and `user_size` is `None` if `action =='search'` and `user_source` is `None` if `action =='search'` and `user_size` is `None` if `action =='search'` and `user_source` is `None` if `action =='search'`, `terminate_after` is `None` if `action =='search'`, `terminate_after` is `None` if `action =='search'`, `terminate_after` is `None` if `action =='search'`, `terminate_after` is `None` if `action =='search'`, `terminate_after` is `None` if `action =='search'`, `terminate_after` is `None` if `action =='search'`, `terminate_after` is `None` if `action =='search'", "reference": "This will potentially skip package results. Do we really want that?" }, { "prediction": "I'm not sure why this is needed.", "reference": "Please remove `HIP_UNSUPPORTED`" }, { "prediction": "Why do we need to change this?", "reference": "if this is a \"Status\" type then the variable name \"Stats\" (which implies \"statistics\") seems wrong (or at least confusing to me)" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a local var for the leakedInsecureKey.", "reference": "maybe will be better to put it into the default worker's config rather than hardcoding the address?" }, { "prediction": "I think this should be `expect(() => collection.find({}, options)).to.throw('raw should be of type boolean, but is of type string.'`", "reference": "It seems like this is not meant to test the option failure, but rather that `raw` can be set. This may be a superfluous test now, and we might want to delete it." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "This is already done by `view_set_fullscreen`" }, { "prediction": "I think this should be `peer.PeerSnapshot`.", "reference": "mmm I followed the convention of this collection. It has Add, Remove, RemoveAll, so All sounds reasonable. Else It would likely be AddPeer, RemovePeer, RemovePeers and Peers." }, { "prediction": "This method should be renamed to `getFlagByUuid`", "reference": "_nitpick_ I'm thinking about whether this method should be in the previous commit or not. I know it's not yet used there, but in theory, neither do UUID itself." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do this.", "reference": "\"break\" is right? You skip the line 768." }, { "prediction": "Use 2 spaces for indentation in a hash, relative to the first position after the preceding left parenthesis.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Can this use the route helper instead?" }, { "prediction": "I'm not sure this is the right place to put this handler.", "reference": "Why is this field exported and others aren't?" }, { "prediction": "I think this should be `/test/functional/byo_promises_tests.js` instead of `/test/functional/dns_txt_records_tests.js`", "reference": "should we rename this like `mongodb_srv_tests.js`?" }, { "prediction": "nit: `googlesitekit.pageTitle.length`", "reference": "This should still have a value when there is no page title, e.g. just `__( 'Search Traffic Summary', 'google-site-kit' )`." }, { "prediction": "I don't think this is a good idea. If you are going to add a new command to the collection, then you should add a new command to the collection.", "reference": "Oops.. meant to link to SplitOp here. I'll clean up in my next commit" }, { "prediction": "I don't think you need to subscribe to the Schedulers here.", "reference": "Remove these unnecessary imports that you've added." }, { "prediction": "I don't think we need to change the order of these enum values.", "reference": "That space shouldn't be here :wink: This lead to an exception whenever a page with an error was loaded, e.g. an inexistent host - I just fixed that :smile:" }, { "prediction": "I'm not sure why this change is needed.", "reference": "It seems this is not the way to fix issue #505." }, { "prediction": "I'm not sure if pos_weight is the right thing to do here. If it is the right thing to do, then pos_weight should be passed to weight_reduce_loss.", "reference": "Please take a look at the docstring of `F.binary_cross_entropy_with_logits`. `weight` should be a tensor that matches the input tensor shape. It is Not the class-aware weight. `pos_weight` should be a vector with a length equal to the number of classes." }, { "prediction": "I'm not sure if we want to run these tests on gcloud, but I think we should be able to run them on gcloud with `machineImageImportWithNetworkTags` or something like that.", "reference": "Same here, merge with an existing test." }, { "prediction": "I don't think this is correct. The `EFI_DRIVER_BINDING_PROTOCOL` is already defined in `EFI_DRIVER_BINDING_PROTOCOL.h`, so it should be defined in `EFI_DRIVER_BINDING_PROTOCOL.cpp`.", "reference": "@aimanrosli23 Could you help to confirm if you do not revert the change in below commit: SHA-1: 643623147a1feaddd734ddd84604e1d8e9dcebee * MdeModulePkg/SdMmcPciHcDxe: Send SEND_STATUS at lower frequency" }, { "prediction": "I don't think this is the right place for this method.", "reference": "Can we do this without a breaking API change? What about adding a different name to convert directly to a Schema?" }, { "prediction": "I don't think this is needed.", "reference": "Why do we need to pull bluebird in here?" }, { "prediction": "I'm not sure this is the right place to do this, but it seems like the `finally` block should be inside of the try-with-resources block, and the `FileIOUtils.deleteDirectorySilently(tempDir)` block should be outside of the try-with-resources block.", "reference": "If *two* threads successfully download the same project into two different temp dirs, and one of them successfully renames one to its final destination, the `if`on line 102 will be false _in the other thread_, and it would leave its temp dir behind." }, { "prediction": "I'm not sure if this should be a `h2o_linklist_t` or `h2o_socketpool_target_t`.", "reference": "I would appreciate it if you could rename `link` to `all_link` so that the roles of the two links (the other is `target_link`) become clearer." }, { "prediction": "I'm not sure if this is the right test to test, but I think it's better to test that `expectedToBecomeIndex` is `expectedToBecomeIndex` instead of `expectedToBecomeIndex`.", "reference": "Is there a reason not to use `smi.create_expectedIndex` here (and in other places)? The `smi.create_expectedIndex` function will also check to make sure that you don't accidentally skip or duplicate any indexes. With the goal of avoiding errors in the test. It does mean that you have to be diligent with how the expected indexes are created, which can be annoying too. My logic was that it is better to be annoyed by constraints during development time than to find out some time later that the test didn't do what I thought." }, { "prediction": "Why do we need to pass both `@checkout.user_email` and `@checkout.stripe_customer_id`?", "reference": "Put a comma after the last parameter of a multiline method call." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "I don't know if we even need this parameter." }, { "prediction": "I'm not sure what this test is testing. It looks like it's only testing `arguments-renamed` and not `arguments-renamed`. I'm not sure what this test is testing.", "reference": "What is the new result of this file if we keep it the same than before? It's just to picture easily what changed in this MR :) (thinking is hard)" }, { "prediction": "I'm not sure if this is the correct way to test this, but I'm not sure if this is the right way to test this.", "reference": "This needs to be synchronous for the timeout to work." }, { "prediction": "I don't think we should remove the `starts_immediately?` part.", "reference": "Can you break this onto multiple lines?" }, { "prediction": "I don't think this is the right place to put this, but I don't think this is the right place to put it. I'm not sure if this is the right place to put it.", "reference": "OK, it looks like all children have bit 4 set, but it doesn't really matter at this split point: just informative, nothing reads it." }, { "prediction": "I'm not sure if we should add this to the `aws/dns-zone.go` file, but I'm not sure if we should add it to the `aws/dns-zone.go` file, or if we should add it to the `aws/dns-zone.go` file.", "reference": "Sorry for the very basic question but why do we still have a DNSZone CRD in light of the DNSEndpoint, I don't fully understand the differences." }, { "prediction": "I'm not sure if this is the right place to put this test. I'm not sure if this is the right place to put this test.", "reference": "Looks like loop with overhead. You can: - create SID - test private function `sessionIsUnique()`" }, { "prediction": "I think this should be `prefQueueSortOrder` instead of `prefQueueSortOrder`.", "reference": "In my opinion, it would be better to have two separate settings. One that stores if sorting is enabled and one that stores the order. That allows to toggle automatic sort without having to re-select the order." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "/me can't wait to rename this repo :)" }, { "prediction": "I think this should be `${__dirname}/../collection` and `${__dirname}/../db`.", "reference": "nit: maybe call these `loadCollection()/loadDb()`" }, { "prediction": "I'm not sure this is the right place for this method. I think it should be called `on_external_failure` or `on_failed_external_tasks`.", "reference": "Did you consider just do `return Task is an external data dependency and data does not exist (yet?).'`? Less `None`'s and `ifs`." }, { "prediction": "This partial is not used anymore.", "reference": "Some day, we really need to make these toolbars pluggable.." }, { "prediction": "I think this should be `self._show_source_pygment()` instead of `self._show_source_pygment()`", "reference": "This should be `pygment=False` like in `browsertab.py`" }, { "prediction": "I'm not sure this is the right place for this, but I think it would be better to move this logic to `createServer` and have it set `msubs` to `opts.MaxSubs` when `createServer` is called. That way, we don't have to duplicate code in `createServer` and `createClient` in `createServer`.", "reference": "Should this be moved down (or up) to under the client lock instead of server lock?" }, { "prediction": "I'm not sure why this was removed.", "reference": "Why are we removing this?" }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "What do you think about using `self.id`?" }, { "prediction": "I don't think we need to retry here.", "reference": "Please log once here at Error level \"Failed to connect to Typha, will retry...\"" }, { "prediction": "Why do we need to change this?", "reference": "Can you revert this change? The `VERSION` value will be updated after maintainer determines the version at release." }, { "prediction": "I'm not sure if this is the correct way to do it.", "reference": "It could be better if we use the up case letter to specify the constant string name. Such as QUALIFIED_SERVICE_NAME_KEY can let the user know it's a constant string." }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to put this in the `with_suite_hooks` block so that we don't have to duplicate the logic in the `with_suite_hooks` block.", "reference": "This should be `@configuration.failure_exit_code`, we don't want to hard code 1." }, { "prediction": "I think this should be `@package Blockly.FieldVariable` instead of `@override`.", "reference": "Changed per review in Blockly." }, { "prediction": "I'm not sure this is the right place to set the mac rewrite mark.", "reference": "Hi @wenyingd. so what's the original dst MAC of the reply packet from kube-proxy?" }, { "prediction": "I don't think this should be a comma-separated list of class names. It should be a comma-separated list of qualified class names.", "reference": "Note: I wasn't sure what the right wording would be for this, so I used existing language from elsewhere in the codebase." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "Docstring for `platform`." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "This should be called before any `os.Exit` otherwise it could still mess up things." }, { "prediction": "This is a bit_flag, not a bit_flag.", "reference": "shouldn't this be `short`?" }, { "prediction": "I'm not sure if this is the right thing to do here. The `--as-type` and `--capacity` values are the same, so I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "Can you please paste the output of `volume list` command which will show capacity of a openebs volume." }, { "prediction": "I don't think this is the right way to do this. If `name` is null, then `register(name, null)` will throw an exception. If `name` is null, then `register(name, null)` will throw an exception.", "reference": "I'd make this a `throw new NullPointerException(\"metric == null\");` instead" }, { "prediction": "Why is this needed?", "reference": "Include should be order lexicographically." }, { "prediction": "I don't think this is the right place to set the minPasscodeLength.", "reference": "We need to pass in the Activity context here, so that LoginActivity is used, and so that LoginActivity can get onActivityResult from the PasscodeActivity. Without this, the application context is used, and we don't get a callback when the passcode is done." }, { "prediction": "Align the elements of a hash literal if they span more than one line.
    Space inside } missing.", "reference": "Can you move these to the top please, for consistency with other models - normally we put scopes immediately after the associations at the top of the model. As to names I agree with @gravitystorm that these names may be confusing but I'm not sure the ones I suggested are perfect either so I'm not really sure what's best. The goal of my names was just to separate point which could be ordered (as `ordered`) from those which can't (as `unordered`) but I realise that may not be very clear from the names." }, { "prediction": "I don't think this is the right place to do this, but I think it would be better to move this logic to `MediaBrowserServiceCompat.onItemRemoved`.", "reference": "Looks like the episode should also not be deleted when repeating" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "I feel like goimports would move this import line by the other non-std packages... can you double-check that? Run goimports or set up your editor to run it on save. :+1:" }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like it should be in `spec/features/selenium/spec_helper.rb` rather than in `spec/features/selenium/spec_helper.rb`.", "reference": "`options['binary'] = WebDriver::Chrome.path` if set?" }, { "prediction": "I'm not sure if this is the right place to put SQLITE3 files, but I'm not sure if SQLITE3 is the right place to put SQLITE3 files.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I'm not sure if this is a good idea. It seems like it would be better to have a default value for the experiment switch. I'm not sure what the best way to do this is.", "reference": "Nit: Supported -> Enabled." }, { "prediction": "I'm not sure this is the right place to set this value.", "reference": "Yay! I was too lazy to fix this." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to change the import order.", "reference": "other declaration of errors (from `typecheck`)" }, { "prediction": "I'm not sure if this is the right regexp to use here.", "reference": "nit: error starts with capital letter" }, { "prediction": "I'm not sure if this is the right place to do this. The flag name should be the real name of the flag, not the flag itself.", "reference": "the original code ignores \\Draft and \\Recent, whereas your change will not. what this matters, i'm not sure." }, { "prediction": "Why do we need to set the block server here?", "reference": "Why was this necessary?" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea.", "reference": "Can you also do this for Cover?" }, { "prediction": "I'm not sure this is the right place for this error.", "reference": "So I tried adding this VU a long time ago, thought it would be this simple of a check, but turns out there were other validation in the way for getting here in `ValidateImageAspectMask` I assume that is what is failing CI here, realized it would require some more refactoring" }, { "prediction": "I'm not sure if this is the right place for this function. It seems like it should be called `coalesce_sum_column` or `coalesce_sum_column_value`?", "reference": "This method is not needed for postgresql, by default sum function omits null values so we can remove this file" }, { "prediction": "This should be `AM_SUBST([HAVE_LIBSYSTEMD], 1, [Define if we have libsystemd])`", "reference": "Can you provide a `--with-systemdsystemgeneratordir` option here? So that I can do unprivileged installs without completely turning off systemd. I can add it as a follow-up PR too." }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to do it in a `if self._isClassificationModel()` function, and then call `self._classificationCompute()` in the `_anomalyCompute()` function.", "reference": "`classification` is misspelled" }, { "prediction": "Why is this change necessary?", "reference": "Can you change this to `sampleInitCode`?" }, { "prediction": "I don't think this is the right place for this, but I think it should be `startTs: \" + startTs.getVersion()` instead of `startTs: \" + startTs.getVersion()`", "reference": "I added a startTs information in `TiDagRequest` output. Not really sure if it is useful? @zhexuany" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if `rect.width` and `rect.height` are the best way to do this.", "reference": "This prevents margin/border/padding CSS from affecting the width/height (otherwise in Chrome a width and height of 1 would result in a rect size of 5x5)." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "prefer to just add this to the `verify_authorized` exception list above since we're already making exceptions." }, { "prediction": "I'm not sure this is the right place to reset the used traits, but it seems to me that we don't need to reset the used_traits array here.", "reference": "was there a reason to not loop over parent classes here?" }, { "prediction": "I don't think this is a good idea. It's not a good idea to have a `ember-simple-auth` component. It's a good idea to have a `ember-simple-auth` component that has a `authenticated-route-mixin` and a `ember-simple-auth` component that has a `authenticated-route-mixin` and a `ember-simple-auth` component that has a `authenticated-route-mixin` and a `ember-simple-auth` component that has a `authenticated-route-mixin` and a `ember-simple-auth` component that has a `authenticated-route-mixin` and a `ember-simple-auth` component that has a `authenticated-route-mixin` and a `ember-simple-auth` component that has a `authenticated-route-mixin` and a `ember-simple-auth` component that has a `authenticated-route-mixin` and a `ember-simple-auth` component that has a `authenticated-route-mixin` and a `ember-simple-auth` component that has a `authenticated-route-mixin` and a `ember-simple-auth`", "reference": "@billybonks Why move `import Ember from 'ember';` to the top?" }, { "prediction": "I'm not sure if this belongs_to :approve or :rejected. I'm not sure if this belongs_to :approve or :rejected. I'm not sure if this belongs_to :approve or :rejected.", "reference": "Everything's so simple (a `ThreeStateWorkflow`) until it isn't :smirk:" }, { "prediction": "I'm not sure why this is necessary.", "reference": "I don't quite understand where the NaNs come from..." }, { "prediction": "Why did you change this? I don't see any changes in this file.", "reference": "File is not `goimports`-ed" }, { "prediction": "I think this should be `//_please:please_python`", "reference": "I wonder if we should look at moving the Python stuff to a plugin and doing this there rather than adding to core plz at this point?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if it's the right thing to do here.", "reference": "This is the actual bug fix. I prob should have broken this out into two PRs." }, { "prediction": "I think this should be \"Reduction in refunds\" or \"Reduction in transactions\".", "reference": "I am not sure if we need this, we already have DifficultyBombDelays" }, { "prediction": "I'm not sure this is the right place to call `linkedSource.Dispose()`?", "reference": "move to finally - I can see at least one return that would omit it, also any exception and so on" }, { "prediction": "why do we need to check `electionCommittee` and `stakingV2` here?", "reference": "remove `genesisConfig.GravityChainStartHeight == 0`" }, { "prediction": "I don't think this is the right place to put this. It should be in `vendor/symfony/var-dumper/Resources/functions/dump.php`.", "reference": "this might kill whole application if `var-dumper` will not be installed. What about two separate file_exists conditions (monorepo/project)?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Hrm. Maybe this isn't the correct spot to run this? Because it errors if the app type doesn't support settings. But we want to check that before running it." }, { "prediction": "I think this should be `pretty_list(rtlst, header, sortBy=0):`", "reference": "Why are you changing this name?" }, { "prediction": "can we remove all the checks bellow? `if __file__.startswith(\"/opt/code/localstack/\") and os.environ.get(\"USER\") == \"localstack\":`", "reference": "as we discussed, maybe it would be better to - [ ] set OVERRIDE_IN_DOCKER=1 in the Dockerfile - [ ] replace the if statement with `os.path.exists(\"/run/.containerenv\")` as @dfangl suggested" }, { "prediction": "`is_ancestor_name` should be `astroid.node_classes.NodeNG` instead of `astroid.node_classes.NodeNG`.", "reference": "I like this style of doing things better than having super big conditional without explanation. Even though I know this won't be re-used it's nice to have a function if only for clarity." }, { "prediction": "I think this should be `@group_level > 0`", "reference": "Our preference here is to either have inline statements e.g. `@group_level -= 1 if @group_level > 0` but stylistically here I think `return @group_level if @group_level == 0` might be nicer. As it stands however our rubocop is picking this up as a fail :(" }, { "prediction": "I don't think this test is failing for Spark3.", "reference": "Spark3 Is supported in OSS Iceberg, Do you mean this particular function is not supported in Spark3? If so I think we should have a more clear reason why" }, { "prediction": "I think this should be `get_notebook_data_from_notebook_path` instead of `get_notebook_data`", "reference": "something about the arbitrary file access part here makes me nervous. Can we keep the `if not path.endswith(\".ipynb\")` check from before here as well? Just imagining a weird attack scenario where somebody somehow uses this to get access to confidental files or something" }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to move this logic into the `SearchBuilder` class, so that we don't have to create a new `SearchBuilder` instance every time we call `new`.", "reference": "I wonder if we should push this and the search_params_logic into the blacklight config." }, { "prediction": "I think this should be `cfg.Genesis.KamchatkaBlockHeight`", "reference": "don't need this line, since it is not tested here?" }, { "prediction": "I'm not sure if this should be `1.0` or `1.0.1`, but if it's `1.0`, then I think it should be `1.0.1` or `1.0.1` or `1.0.1` or `1.0.1` or `1.0.1`", "reference": "I wonder if adding this new param in the middle of the param list might screw up some existing code that is depending on the old parameter order. Might be better to add it to the end of the parameter list?" }, { "prediction": "This should be `String.format(\"%s/(build|src/generated.*)/.*\", project.getProjectDir().getAbsolutePath())`", "reference": "I wonder if this absolute path is gonna affect the build-cache relocatability of these compile tasks??" }, { "prediction": "I don't think we need to do this. In the case of a transaction, we don't need to do this. In the case of a transaction, we don't need to do this. In the case of a transaction, we need to do this. In the case of a transaction, we don't need to do this. In the case of a transaction, we don't need to do this. In the case of a transaction, we don't need to do this. In the case of a transaction, we don't need to do this. In the case of a transaction, we don't need to do this. In the case of a transaction, we need to do this. In the case of a transaction, we don't need to do this. In the case of a transaction, we need to do this. In the case of a transaction, we need to do this. In the case of a transaction, we need to do this. In the case of a transaction, we don't need to do this. In the case of a transaction, we need to do this. In the case of a transaction, we don't need to do this. In the case of a transaction,", "reference": "possible bug if `fullResponse` is false" }, { "prediction": "I don't think we should import `ascii_lowercase` in this file.", "reference": "nitpick: Please only `import string` here and use `string.ascii_lowercase` - I really like to see what module stuff is coming from without looking at the imports." }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this, so I'm not sure it's the right place to do this.", "reference": "nitpick: the only reason we have a catch for every one of these promises is because the test isn't properly chaining promises (returning them within each `then`). We could reduce the `catch` with `console.dir` to a single instance if that was done" }, { "prediction": "I'm not sure why this is needed.", "reference": "why do this?" }, { "prediction": "I think this should be `Class Cms\\Classes\\MediaLibrary\\System\\Classes\\MediaLibrary::class`", "reference": "For consistency, would it not be best to also replace the first class name? `traceLog('Class '. static::class.'has been deprecated, use '. SystemMediaLibrary::class.'instead.')`" }, { "prediction": "I think this should be `omitempty` instead of `omitempty`.", "reference": "this should be `EnabledAdminAPI` and the json string should then be `enableAdminAPI`" }, { "prediction": "I think this should be `from listenbrainz.utils import safely_import_config`", "reference": "Noticed some missing imports in manage.py so thought I'd add them" }, { "prediction": "I think we can remove the DyingAndDoneExport flag from the conntrack table too.", "reference": "as a future improvement, maybe we should just change `ForAllFlowRecordsDo` so that `updateOrSendFlowRecord` uses a flow record pointer instead of a copy of stored flow record. This whole code is executed with the lock any way." }, { "prediction": "Please use `\\u2122` instead of `\\u2123`", "reference": "I am not sure what GitHub wants to tell me with this icon here :)" }, { "prediction": "I'm not sure about this change, but I'm not sure if it's worth it.", "reference": "can we also check for smaller zoom levels returning valid error codes?" }, { "prediction": "I'm not sure if this is the right place to put this string.", "reference": "1) These names are not great, doesn't help explain what they do. 2) Instead of methods like this that hard code some number of = and *, why not a method that takes the string, defaults to a char to surround with, and a width? 3) Do we really even need headers like this in the output? Maybe we ditch them." }, { "prediction": "I think this should be `[11, 0, 11, 0]]`", "reference": "The autocomplete editor shouldn't change its own behavior, I assume that `autoWrapCol` and `autoWrapRow` options should be set to `false` in handsontable editor." }, { "prediction": "I'm not sure if this is the best way to test this. I'm not sure if this is the best way to test this.", "reference": "out of curiosity, with IPv6 introduced, why there's no change to the expected output of openflow in the test?" }, { "prediction": "I'm not sure this is correct. The flags are read/write/read/write/unread/unwrite/unread/unread/unwrite/unread/unwrite/unread/unread/unwrite/unread/unwrite/unread/unread/unwrite/unread/unwrite/unread/unread/unwrite/unread/unwrite/unread/unwrite/unread/unread/unwrite/unread/unwrite/unread/unread/unwrite/unread/unwrite/unread/unread/unwrite/unread/unwrite/unread/unwrite/unread/unwrite/unread/unwrite/unread/unwrite/unread/unwrite/unread/unwrite/unread/unwrite/unread/unwrite/", "reference": "nit: grammar: instruction" }, { "prediction": "I think this import should be `org.openqa.selenium.grid.distributor.Distributor;`", "reference": "We can revert this to reduce the diff of the PR." }, { "prediction": "I think this should be `ReconcileHiveConfig{Client: mgr.GetClient(), scheme: mgr.GetScheme(), restConfig: mgr.GetConfig(), mgr: mgr, }`", "reference": "i think this missed the reconciler to callsite change" }, { "prediction": "I think it would be better to add a method to `SurfaceNamer` that implements `ClientConfigImportModule` instead of implementing `getClientConfigImportModule`.", "reference": "Please reuse `getClientConfigPath`." }, { "prediction": "I think this should be `../../tools/spec-runner/matcher.js`", "reference": "Should we use the shared chai-addon.js file here? Actually we should consolidate any `chai.use` calls, I see 20 instances, quick win?" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix, but it seems to be the right fix.", "reference": "Maybe move _agreedCapabilities and _availableCapabilities from List to SortedSet? We could order them by code and then by version already." }, { "prediction": "I think this is the only place where we should update the starting sequence. I'm not sure if this is the right place to update the starting sequence, or if it is the right place to update the starting sequence, or if it is the right place to update the starting sequence.", "reference": "I see the `+1` issue, but we used to check if `o.lss!= nil` and we don't anymore, so we are sure that it won't be nil here, right?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if it's the best way to do it, but I'm not sure if it's the best way to do it.", "reference": "why is the `send` needed?" }, { "prediction": "I think this should be `if isinstance(bboxes, torch.Tensor)`", "reference": "Is this necessary? If so, we need to update the docstring." }, { "prediction": "Style/IfUnlessModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.", "reference": "Checking for actionable here instead of grabbing the first pending approval. I tested this with proposal ID 265 on staging." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to have a `CallbackChecker` that calls `_assert_result` and `_assert_result` if `_assert_result` fails.", "reference": "I made this change because I wasn't getting printouts of the'result' value when the assert was inlined for some reason. I think it's related to creating new CallbackCheckers maybe?" }, { "prediction": "I don't think we need this interface.", "reference": "nit: the correct name is \"request line\", so let's use the right one here :)" }, { "prediction": "I don't think this is necessary.", "reference": "This should now use `[]`, so it crashes if the var is missing" }, { "prediction": "I don't think this should be possible, since the map is pre-allocated.", "reference": "you could use `bpf_map_update_elem` with `BPF_EXIST`" }, { "prediction": "This change is unrelated to this PR, but should be reverted.", "reference": "thanks for noticing this! But I think we should not have it in this PR." }, { "prediction": "I think this should be `this.lockUntilDate = function(time) { if (_.isDate(time)) { time = time.getTime() / 1000; } return this.lockUntilDate(time); };`", "reference": "A few things: - This may not serialize because I think the property for the sequence number on an input is `.sequenceNumber`. - There should be tests to cover these statements - Indentation is incorrect (should be two spaces, as similar to the statements above)" }, { "prediction": "I think this should be `data_format not in cls.supported_data_formats`", "reference": "If this is a base method that could be used by others, should you hardcode 'GCS uploader' here?" }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if this is the right place to put this method.", "reference": "just a little thing: let's introduce a `final int bound = length - back.length();` that saves us calculating the bound each time checking the loop condition." }, { "prediction": "I think this should be `/settlements/{peer}/pay`", "reference": "I think that this should be a POST method, as it changes the state. Get requests should not change the state. With different method, I would suggest to have the handler under `\"/settlements/{peer}\"` path." }, { "prediction": "I think this should be `common.HexToAddress(\"0x420000000000000000000000000000000000000F\")`", "reference": "This is the default value?" }, { "prediction": "I don't think this is needed.", "reference": "The spaces are actually legitimate here: in python, you: - first import standard library modules (hint: time is one) - then import 3rd party library modules - then import the modules from you project (here kinto). Between each block you need an empty line." }, { "prediction": "I'm not sure if this change is correct. The `marked_source` is a copy of the package-info, not a copy of the package-info.", "reference": "Haha, whoa, I'm not sure how I let that one go by. :)" }, { "prediction": "I think this TODO should be added to MimeTypeDetectionByFileExtension.java", "reference": "FWIW: We have FileUtil.generateOriginalExtension for tabular files but it uses a hardcoded list rather than the properties file." }, { "prediction": "I don't think we need the `KubernetesProvider() == config.ProviderAKS` check here.", "reference": "I would consider extracting this logic in to a helper function to make it a bit more readable, but that's just my opinion." }, { "prediction": "I'm not sure if this should be `bool;true` or `bool;false` depending on whether or not we're simulating dataplane or not.", "reference": "Are all fields beginning with \"Debug\" automatically `;local`? (I guess so, but just checking.)" }, { "prediction": "Please use `mmcv.runner.EvalHook` instead of `mmcv.runner.DistEvalHook`.", "reference": "We should let this module inherits from the EvalHook supported in MMCV, and only override the `__init__` function by adding the warnings. The other functions can use those in MMCV." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do.", "reference": "Let's use prepared statements here instead" }, { "prediction": "I don't think you need to do this. You can just do `import Button from '../assets/js/components/button';`", "reference": "Just leaving this in one place but thanks so much for re-organising all these imports." }, { "prediction": "This should be `#ifdef X86` instead of `#ifdef X86`.", "reference": "Ditto, here and below" }, { "prediction": "`typeof vnode.type!=='function'` should be `typeof vnode.props[key]!='function'`", "reference": "Let's move the check outside the `for`-loop so that we don't have to do it for every prop. If we change it to check for `vnode.type ==='string'` we can automatically skip checking text nodes which don't have props" }, { "prediction": "I don't think this is a good idea. I think it would be better to have a `finalize_cols` function that takes a `ColumnPlot` object as an argument and calls `table_plot.finalize_cols()` on it.", "reference": "Seems like the docstring here should simply be \"Deprecated; use `hooks` instead.\"." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "It would be nice to have an `attr` in `styles.xml` for this, so we don't need the same `if` statement in multiple places" }, { "prediction": "Do we need an index on `user_id` and `workshop_id`?", "reference": "How about `null: false` on these two lines? Also `t.timestamps null: false`?" }, { "prediction": "I don't think this is the right error message. It should be something like: \"Failed to acquire locks from metastore because 'HIVE_LOCKS' doesn't exist. Please reconfigure and start the metastore.\", e.g. \"Failed to acquire locks from metastore because 'HIVE_LOCKS' doesn't exist. Please reconfigure and start the metastore.\", e.g. \"Failed to acquire locks from metastore because 'HIVE_LOCKS' doesn't exist. Please reconfigure and start the metastore.\", e.g. \"Failed to acquire locks from metastore because 'HIVE_LOCKS' doesn't exist. Please reconfigure and start the metastore.\", e.g. \"Failed to acquire locks from metastore because 'HIVE_LOCKS' doesn't exist. Please reconfigure and start the metastore.\", e.g. \"Failed to acquire locks from metastore because 'HIVE_LOCKS' doesn't exist. Please reconfigure and start the metastore.\", e.g. \"Failed to acquire locks from metastore because 'HIVE_LOCKS' doesn't exist. Please reconfigure and start the metastore.\", e.g.", "reference": "This recommendation isn't very helpful because it isn't clear what \"the metastore\" is. How about this instead: \"To fix this, use an alternative metastore\"." }, { "prediction": "I don't think this method should be public.", "reference": "The `SymbolTable` deals only with symbols, I think we can just call this `isUsed` here." }, { "prediction": "I don't think this is the right place to put this code. The `XhrClient` constructor should only be called if `webdriver.http.CorsClient.isAvailable()` is true.", "reference": "Please hide this behind a flag and add a setter function to the builder." }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "Just a side-node, no need to change it here: The term \"recent\" might be confusing at a later point in time." }, { "prediction": "I'm not sure this is the right fix. The `keys` variable is only used when `type === 'object'` and `val1.keys()` is `undefined`. If `val1.keys()` is `undefined`, then `keys` will be `undefined`. If `val1.keys()` is `undefined`, then `keys` will be `undefined`. If `val1.keys()` is `undefined`, then `keys` will be `undefined`. If `val1.keys()` is `undefined`, then `keys` will be `undefined`. If `val1.keys()` is `undefined`, then `keys` will be `undefined`. If `val1.keys()` is `undefined`, then `keys` will be `undefined`. If `val1.keys()` is `undefined`, then `keys` will be `undefined`. If `val1.keys()` is `undefined`, then `keys` will be `undefined`. If `val1.keys()` is `undefined`, then `keys` will be `undefined`. If `val1.keys()` is `undefined`, then `keys` will be `undefined`. If `val1.keys()` is `undefined`, then `keys` will be `", "reference": "When can it be undefined? Wouldn't that be a bug?" }, { "prediction": "I don't think this import is needed.", "reference": "JMX offers normal APIs for this. I don't think you want the glassfish one." }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "Could you remove `,' at the end?" }, { "prediction": "I'm not sure this is the right assertion.", "reference": "Maybe it would simpler to ignore opt_port if type!== 'number'?" }, { "prediction": "Is there a reason to change EffectiveAddr to SpendingKey?", "reference": "do you want to rename the codec tag here too?" }, { "prediction": "I think it would be better to use the constants defined in the `DriverCommand` interface instead of hardcoding them.", "reference": "These command names are specific to Chromium-based browsers. Please move to `ChromiumDriverCommand`" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Hm.. should we auto-patch? I am less sure on this yet as `percentile_approx` seems a Spark function and auto-patching it in Koalas seems a bit counterintuitive." }, { "prediction": "I think we should move this to `Zalas\\Injector\\PHPUnit\\TestCase\\ServiceContainerTestCase`", "reference": "I found domain use in `AllFeedsTest::getAllFeedExportCreationData` and class AllFeedsTest is descendant of `FunctionalTestCase`. I think so we can rewrite this too.." }, { "prediction": "I'm not sure we need to maintain the old flink job's id in iceberg state backend to find the max-committed-checkpoint-id when traversing iceberg table's snapshots. I think we need to maintain the old flink job's id in iceberg state backend to find the max-committed-checkpoint-id when traversing iceberg table's snapshots.", "reference": "I am wondering if it is better to consolidate all committer checkpoint states into a single structure, e.g. Pojo class or Avro record which are Flink supported state types for schema evolution." }, { "prediction": "I'm not sure this is the right place to put this in, but I think it would be better to put it in the `QDebug` class.", "reference": "I assume this is a performance optimization to only check this once when creating the signal filter? While you're at it, maybe make `BLACKLIST` a set instead?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Please use async/await and try/catch" }, { "prediction": "Why is this needed?", "reference": "Like I said, this code looks incorrect. Why is it still looking up the attribute? Why is it getting the type from `nested->type.struct_def` instead of `field.nested_flatbuffer`? Are you running `generate_code.sh`, because I think `nested->type.struct_def` would be null?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Actually, I'm not sure why lines 1663-1668 are here. Looks like Push descriptors aren't used in the test at all. @ziga-lunarg?" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to use `lowerUnderscoreToLowerCamel` instead of `wrapIfKeywordOrBuiltIn`.", "reference": "Don't we still want to check it it's a keyword?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/LineEndConcatenation: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/LineEndConcatenation: Prefer double-quoted strings when you don't need string interpolation or special symbols.
    Style/LineEndConcatenation: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/LineEndConcatenation: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/LineEndConcatenation: Prefer single-quoted strings when you don't", "reference": "this can just me `link_text` :tomato:" }, { "prediction": "I think this should be `self.assert_eq(pser.argsort().sort_index(), kser.argsort().sort_index())`", "reference": "What if the Series contains null values?" }, { "prediction": "I think we can remove the `AnalysisTarget` field from the `Location` class.", "reference": "Every place you see a change like this, it's because `PhysicalLocation` is now its own object, not an array of `PhysicalLocationComponent` objects. The `Uri` is the key into the `FileInfo` dictionary." }, { "prediction": "I don't think we need this anymore.", "reference": "Like in atss_head" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to use `pool.expFeePerByte` instead of `pool.feeThresholdMultiplier`.", "reference": "nit : I think it would be better to have the multiplier being calculated along with `pool.numPendingWholeBlocks`, so that we could always multiply the feePerByte with that multiplier. Not only that it would be faster, but it would also have constant time. btw - Correct me if I'm wrong, but with this change, you're practically rolling back your previous change while making it `pool.expFeeFactor` adjustable, right?" }, { "prediction": "I don't think we should add this filter to the `before_filter` as it's not used anywhere in the application.", "reference": "Is there a reason we _wouldn't_ want to do this? A bit of a security hole :grimacing:" }, { "prediction": "nit: can we rename this to `loadAsProjectSpec`?", "reference": "Please add a copyright notice to all new files. Is there a tool to check and auto update copyright notices?" }, { "prediction": "This should be `E-mail` as well.", "reference": "A new translation dump should be made after this change (removing the \"Email\" message)" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "CI is failing saying `expected [TypeError: null is not an object (evaluating 'implicitNodes(role).map')] to equal null`." }, { "prediction": "I don't think we need to pass `thing` to `render`.", "reference": "@JoviDeCroock I replaced the refs here with simple assignments." }, { "prediction": "Why do we need to make this protected?", "reference": "nit: Could we use VisibleForTesting annotation here?" }, { "prediction": "`should sort 'by_unanswered'`", "reference": "Can we create some post records to assert sort_by" }, { "prediction": "I think this should be `stream.Reset()` instead of `stream.Reset()`.", "reference": "is this necessary?" }, { "prediction": "I think this should be `List>` instead of `List>`", "reference": "What is the purpose of this? It seems like it is used to indicate whether there is a filter on a span. But what filter? Could there eventually be multiple filters per span? Just not understanding." }, { "prediction": "I'm not sure this is a good idea. I think it would be better to have the `Injecting` and `Paused` fields in the `ChaosCondition` struct, but I'm not sure what the best way to go about this is.", "reference": "using a certain type instead of using string directly." }, { "prediction": "I'm not sure why this test was failing.", "reference": "fix trailing," }, { "prediction": "Line is too long. [87/80]", "reference": "I've fixed it for this change but for future reference there's no point doing string substitution for a single value like that - it will just slow things down. Just use `:mlat => trace.latitude` etc instead." }, { "prediction": "Why did you remove this?", "reference": "The form no logger needs validation?" }, { "prediction": "I don't think we need to check for null here, since `metricsToExport.Metrics` is a `List`, and `metricsToExport.Metrics` is a `List`, so we don't need to check for null here.", "reference": "there'd be more changes in the area, when we implement \"clean-up\" of aggregators if no new updates. (i think we currently send metricitem to exporters with zero as value)" }, { "prediction": "I don't think this is the right assertion.", "reference": "Usually we only keep the assertions that are relevant to the specification (ie. the test title). For example, the test on the values of id and details is not properly relevant for the spec _collections are isolated by bucket_. I suggest that you only keep the assertions regarding `details` in dedicated tests similar to `test_unknown_collection_raises_404` from `test_views_records.py`, but for each of bucket, group, collection and record in the other `test_views_` files." }, { "prediction": "Why is this change needed?", "reference": "The test sources are ok though, you don't need to remove those changes" }, { "prediction": "I think this should be `width` instead of `maxWidth`.", "reference": "`maxWidth: width * 2,` Potentially, this will be the same as `getImageUrl`: 80px or 500px. I can't verify this - need for normal LiveTV tuner." }, { "prediction": "I don't think this change is needed. If you want to filter by version, you can use `version.getVersion().toLowerCase()`.", "reference": "Not really related to this issue but should we use fuzzy search here as well (like for apps)?" }, { "prediction": "I don't think we need this.", "reference": "isn't the usual capitalization for subcommands force-qr? (don't care too much about it)" }, { "prediction": "I think this should be `SeverityLevel.WARNING` instead of `SeverityLevel.SUGGESTION`", "reference": "Do you know how many repos have hit this?" }, { "prediction": "I don't think we should include this in the usage dashboard. I think we should include it in the usage dashboard too.", "reference": "I'll be interested to see if our gettext rake tasks will pick up on this text to translate" }, { "prediction": "I'm not sure this is the right place for this. I'm not sure if this is the right place for this. If it is the right place for this, it should be in `instant_spell.h`.", "reference": "I think you need to change line 928 value from 6 to 7 too, since now table will have 7 values" }, { "prediction": "I'm not sure this is the right way to test this. I'm not sure what the motivation for this test is.", "reference": "Does `f0[::-1, :]` mean all the rows taken in a reverse order?" }, { "prediction": "I'm not sure if this is the right test to test.", "reference": "Looks like there are strange characters here." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "It is better to have a check to ensure the format is valid." }, { "prediction": "I think this should be `private readonly bool NextAlreadyDefined;`", "reference": "How about `nextAlreadyDefined` variable name in method signature?" }, { "prediction": "Why did you change this?", "reference": "In older SDK versions the data converter was called 3 times but now it is 2. This is because logic was changed deep in the interceptor chains on when values are serialized and encoded and such. Previously we invoked the data converter on results _even if there was an error_ (and most of the time they were nil). Now we don't do such a thing, resulting in fewer calls." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "formatting... can this import go next to the other sources ones?" }, { "prediction": "I think this should be `-force` instead of `-force`.", "reference": "I don't understand why anyone would pass 0? If you don't want to attach to an existing process you just wouldn't pass -attach. I would remove that sentence and make 0 an invalid argument." }, { "prediction": "Why is this deleted? It seems to me that `s_current_reduce_size` is not used anymore.", "reference": "This change is responsible for #2775" }, { "prediction": "I think this should be `s => s.Increment(MetricsNames.ExceptionsCount, It.IsAny(), It.IsAny(), new[] { \"exception_type:CustomException1\" }), Times.Never);`", "reference": "Should we add this to the other \"never\" verification in lines 71-73 above, too?" }, { "prediction": "I think this should be `list(self.dao.iter_cai_assets( ContentTypes.resource, 'google.cloud.bigquery.Dataset', '//cloudresourcemanager.googleapis.com/projects/{}'.format( project_number), self.session))`", "reference": "Fixed this since it no longer needed to be switched from a generator to a list, this was missed when I cleaned up the dataset code in an earlier PR." }, { "prediction": "I think this should be `LOG.debug` instead of `LOG.finest`.", "reference": "This is an informational message that allows someone to read the console output and understand how the grid node is configured. Please leave." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use OR instead of AND.
    Style/NumericPredicate: Use", "reference": "Can we convert this to an arel as below ContributorFact.joins(:project).where(projects: { id: project_id}).where('name_id =? or name_id in (?)', name_id, AnalysisAlias.select(:preferred_name_id).joins(:project).where(commit_name_id: name_id) )" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have it in the `devices` package instead of in the `devices` package.", "reference": "Does this cause issues if you have lots of load on the machine? Having a global variable for this seems like a bad idea IMO." }, { "prediction": "I'm not sure if this should be an IOException or an IllegalArgumentException.", "reference": "We probably don't need to print the msg with e.getMessage(). It will be printed by the logger since we are passing the exception as a parameter." }, { "prediction": "I'm not sure why this was removed.", "reference": "Can we get a test with multiple directories as per the initial example?" }, { "prediction": "This is a bug fix. The status bar should be in the upper left corner of the screen, not in the upper right corner of the screen.", "reference": "I assume this is because you were seeing cases where left was a negative number? When?" }, { "prediction": "I don't think this include is needed.", "reference": "this is undoing recent changes for increased consistency of include file statements. please restore to the original." }, { "prediction": "I'm not sure if this is a good idea, but I think it's better to keep the `PreferBuiltInConcurrentKeySet` list sorted.", "reference": "If these are applied in order, should `LambdaMethoReference` come after `OptionalOrElseMethodInvocation`" }, { "prediction": "I don't think this change is needed. The `IList` parameter is only used in the `WriteFiles` method.", "reference": "Why this rename?" }, { "prediction": "I think this should be `sys.version_info < (3, 3)`.", "reference": "Why do we do this check here? `sys.version_info` cannot be less than 3.3 as pylint does not support older versions. I think we should avoid popping `__main__` altogether." }, { "prediction": "This should be `server_cmd.extend(['--verbose', 'debug'])`.", "reference": "This can be removed too." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "I'm a little worried about the new extra calls to `MakeMdId`, since in most local-server KBFS profiles, hashing is the biggest CPU user, and not re-using the value calculated by the client will result in even more hashing. That said, I understand why you did it this way, and I don't have a concrete suggestion on how to make it better. Just something to keep in mind; plus it might be worth comparing the test speed before and after this change to make sure it didn't slow things down too much." }, { "prediction": "I don't think we need to import `i18n` and `lodash` here.", "reference": "`lodash` shouldn't be grouped under WordPress dependencies" }, { "prediction": "I don't think this file is needed.", "reference": "Just curious, but how did you work out that Aleksey Sadovoy, Peter Vgner and Joseph Lee contributed to this file? Did you look at the repository history?" }, { "prediction": "I don't think we need this walk because we call `ReadStop` on the dispatch pipe.", "reference": "You could call OnStopRude() directly here to do the same thing." }, { "prediction": "I don't think this is the right place to do this, but I don't think it's the right place to do it. I'm not sure if it's the right place to do it.", "reference": "This TODO and this `sort` depend on how the UI looks like. So I think we should fix the UI before continuing on updating this web API. For example, in case the UI flow is as below, this API will receive a Piped ID and then return just ones belonging to that Piped. - User picks where they want to deploy first (select one Piped and one cloud provider) - Then API will be called to show the list of suggested apps for that Piped and cloud provider - User picks app they want to create" }, { "prediction": "I'm not sure this is the right help text for this command.", "reference": "This command rolls back the volume data to the specified snapshot. Once the roll back to snapshot is successful, all the data changes made after the snapshot was taken will be post. This command should be used cautiously and only when there is an issue with the current state of the data." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "should this be a separate/new functional test?" }, { "prediction": "I'm not sure what the best way to test this is. I'm not sure what the best way to test this is, but I'm not sure what the best way to test this is.", "reference": "Can these also assert at least the length of arrays returned and ideally contents?" }, { "prediction": "I'm not sure this is the right way to do this, but I think it should be `if not getattr(task, 'param_visibilities', None):`", "reference": "`hasattr(task, 'param_visibilities')` is more concise with the same effect, but either one works." }, { "prediction": "\"Attributes given to a function call have are being passed in a different order \" + \"to the function's definition\"", "reference": "I would hedge this a little, maybe `Positional arguments appear to be out of order`. After all, it's just a guess." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "you can directly call show() method from **SnackBarHandler.show(coordinatorLayout, getString(no_account_signed_in)).show();** no need to create an extra object and then call the show method." }, { "prediction": "I think this should be `if (!hostsString.empty())`", "reference": "concatHosts may be a better func name to explain this?" }, { "prediction": "I'm not sure if this is the best way to test this. I'm not sure if this is the best way to test this.", "reference": "A function that returns empty string." }, { "prediction": "I'm not sure if this is the right place to set pkg.Filename. I'm not sure if this is the right place to set pkg.Filename, but if it's the right place to set pkg.Filename, I'm not sure if it's the right place to set pkg.Filename. I'm not sure if this is the right place to set pkg.Filename, but if it's the right place to set pkg.Filename, I'm not sure if it's the right place to set pkg.Filename, or if it's the right place to set pkg.Filename, but if it's the right place to set pkg.Filename, I'm not sure if it's the right place to set pkg.Filename.", "reference": "If it's not the root package, or if it is the root package but we don't add the psudo :pleasings rule there, print an error." }, { "prediction": "I'm not sure if this should be in `pkg/apis/core/v1` or `k8s.io/apimachinery/pkg/apis/meta/v1`", "reference": "can delete this line" }, { "prediction": "I don't think you should exit(9).", "reference": "Will it still be an issue if all the models use the same data set?" }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "How does this controller_name method work? Does this method grab the context of the url request? Wouldn't this always result in 'widget'?" }, { "prediction": "I don't think this is needed. The `FS_CHUNK_SIZE_DEBUG_MOD()` function is already defined in `flb_input_chunk_get_name()`.", "reference": "Let's get rid of these for the final version and if you get rid of the macro I left last time I'd be more than grateful." }, { "prediction": "I think this should be `Integer.MAX_VALUE - 2, \"_deleted\", Types.BooleanType.get(), \"Delete mark denotes whether row is deleted or not\"", "reference": "Instead of `DELETE_MARK`, how about `IS_DELETED`? I don't think that \"mark\" is clear enough to describe what this is. Similarly, I think the docs should be \"Whether the row has been deleted\". There's no need to include \"delete mark\" because that's identifying something that is not defined (this column is _deleted and \"mark\" is not introduced), and \"or not\" is unnecessary because it is implied by \"whether\"." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to do this in a separate function, e.g. `get_dependent_headers_from_buildaction(buildaction, archive)`.", "reference": "Does it make sense to have this very thin wrapper that only calls `create_dependencies`? And maybe having `create_dependencies` return a set would be better than convert here?" }, { "prediction": "I'm not sure this is the right fix. The `escape` parameter should be passed to `h2o_iovec_build_destination()` instead of `h2o_iovec_build_destination()`. The `escape` parameter should be passed to `h2o_iovec_build_destination()` and `h2o_iovec_build_destination()` should be passed to `h2o_iovec_build_destination()` and `h2o_iovec_build_destination()` should be passed to `h2o_iovec_build_destination()` and `h2o_iovec_build_destination()` should be passed to `h2o_iovec_build_destination()` and `h2o_iovec_build_destination()` should be passed to `h2o_iovec_build_destination()` and `h2o_iovec_build_destination()` should be passed to `h2o_iovec_build_destination()` and `h2o_iovec_build_destination()` should be passed", "reference": "How about renaming `escape` to `use_path_normalized` or something to better indicate that it is a selection between `path` and `path_normalized`?" }, { "prediction": "I think it would be better to use `Optional.empty()` instead of `Optional.empty()`.", "reference": "Interface members are always `static final` right?" }, { "prediction": "I don't think this is needed.", "reference": "It seems to me that this could be in the runtime_nintendoswitch.go file, or is there a reason to keep it separate?" }, { "prediction": "Why is this removed?", "reference": "I was actually looking at this code over the weekend and wondering whether we were trying to link here. I assume it's been cargo culted from something else in the compiler." }, { "prediction": "I don't think we need the `aria-required` attribute here.", "reference": "nice extraction of the form for being used at new/edit. We should have more of these" }, { "prediction": "I'm not sure this is the right form for the torsion-angle potential form. The torsion-angle potential form is the same as the torsion-angle potential form, but I'm not sure if this is the right form for the torsion-angle potential form. The torsion-angle potential form is the same as the torsion-angle potential form, but I'm not sure if this is the right form for the torsion-angle potential form.", "reference": "Are the coefficients the actual bug fix?" }, { "prediction": "I think this should be `if e.pgcode in [psycopg2.errorcodes.DUPLICATE_TABLE, psycopg2.errorcodes.UNIQUE_VIOLATION]:`", "reference": "Why are the error code options in a list and not a tuple?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "Need alignment with the preceding line." }, { "prediction": "Why are we removing this method?", "reference": "Changing from a static method to a constant is inessential to Type Transactions and has a long reach, adding many unneeded files and diff lines." }, { "prediction": "`empty()` should be `empty()` instead of `empty()`", "reference": "There is one caveat: javaslang.collection.Iterator is Iterable. With Iterator it does not work. Let's revert this line. Does this happen elsewhere, too? I will double-check the code..." }, { "prediction": "I'm not sure if this is the right way to do it, but I think it would be better to have a `format_satoshis` method that takes a bool and returns a formatted string.", "reference": "Why change the default value of `is_diff`?" }, { "prediction": "I think this should be `<3` since `tenacity` is the only version of `python-dateutil`.", "reference": "I think tacking on `,<7` would be a wise precaution in case of future incompatible changes in tenacity." }, { "prediction": "I think this should be `array` instead of `int`", "reference": "I don't think is necessary to remove the return type" }, { "prediction": "I don't think this is the right place to do this, but I'm not sure if it's the right place to do this.", "reference": "Also added this check, since client secret is not used except in the IP bypass scenario." }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be better to do it in the store itself, rather than in the store itself.", "reference": "That's unrelated, but shouldn't there also be a call to `setInternalWebPropertyID`, making it empty, for this case? Otherwise, when selecting to create a new property, any previous internal web property ID will still be in state, potentially causing problems." }, { "prediction": "I'm not sure why this was removed.", "reference": "I wonder if we should trigger a PHP error and ensure it ends up in the log?" }, { "prediction": "Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the same line as the last argument when opening brace is on the same line as the first argument when opening brace is on the same line as the last argument when opening brace is on the same line as the first argument when opening brace is on the same line as the last argument when opening brace is on the same line as the first argument when opening brace is on the same line as the last argument when opening brace is on the same line as the first argument when opening brace is on the same line as the first argument.", "reference": "The `move_topic` action be a `post` request since it changes the state of the object." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to do this in the prepareAndRunTest() function, so that we don't have to do this in the prepareAndRunTest() function.", "reference": "Should we just return a non-nil metadata from `Test`?" }, { "prediction": "I'm not sure if this is the right place for this method, but it seems like it should be moved to the `MailPreview` class rather than the `MailPreview` class itself.", "reference": "Noticing this is really just the same as cart_notification_email. Would be nice to be able to view custom templates. I may update this with some set up that will make viewing specific custom emails easily." }, { "prediction": "I don't like wildcard imports.", "reference": "please don't use wildcard imports" }, { "prediction": "nit: `sourceDataReference` should be a `const`.", "reference": "Should we even fix this test? IMO it should be refactored to check that values are recalculated after `setSourceDataAtCell` and `setSourceDataAtRowProp` calls. This will be the correct way to alter the data since now and we're not testing this use case." }, { "prediction": "I'm not sure why this was removed.", "reference": "I'm not sure if this is standard practice, but I would prefer to leave this initialization here, if only to show that such a variable exists in this file (instead of inferring it from the globals). It can also cause weird issues if, for example, `init` isn't run before other methods." }, { "prediction": "Shouldn't this be `NegativeInteger`?", "reference": "This isn't how you throw an exception in C++. I'd suggest you take a look elsewhere in the RDKit C++ codebase and see how ValueError exceptions are thrown. Hint: there's a function called `throw_value_error()` that you may find useful." }, { "prediction": "Why not use `tx_begin_read()` instead of `tx_begin_write()`?", "reference": "Was changing this to a write transaction required?" }, { "prediction": "I'm not sure if this should be individually abi encodable.", "reference": "nit: I think \"They\"?" }, { "prediction": "Should this be `internal`?", "reference": "is it a result of some multiplication or some other meaningful number? would be nice to display as a power of something or the mult" }, { "prediction": "Style/MutableConstant: Freeze mutable objects assigned to constants.
    Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "I think this class is a good example of where Payload could significantly improve things. I'm okay with this class as it stands. If you merge this in, I'd like to have a go at refactoring it after introducing Payload." }, { "prediction": "I don't think this is needed.", "reference": "Just a small tip: I think you don't need to include pytest here. You can run tests using: - `pytest tests/path/to/my/test` under the virtualenv to run a single test. - `pytest tests/` under the virtualenv to run all the tests. - `make tests` to run all the tests for all python versions, like travis do. Hope this helps! :)" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure what the best way to do this is. I'm just not sure what the best way to do this is. I'm just not sure what the best way to do this is. I'm just not sure what the best way to do this is.", "reference": "Might be worth sorting the replacement items so this is deterministic." }, { "prediction": "I think this should be `CLUSTER_SCOPED_TARGET_NAMESPACE`.", "reference": "Should we set the default `TargetNamespace ` to `chaos-testing`? I noticed that the installation script defaults to chaos-testing." }, { "prediction": "I think this is a bug fix. The `Task.Yield()` is called in the `Task.Yield()` method, so the `Task.Yield()` is never called.", "reference": "Why was this `Task.Yield` removed? It was added in purpose." }, { "prediction": "I think it would be better to pass `methodModel` and `methodConfigProto` to `getRequiredFields`.", "reference": "You'll also want to do this below, for the `optionalFieldConfigs`. See `GapicMethodConfig.java:180`." }, { "prediction": "I'm not sure this is the right place to do this. The `rctx()->session()` is a `ectx()->rctx()->session()`, so the `rctx()->space()` should be the same as `schemaManager()->toEdgeType(space, *clause->edge());`", "reference": "We'd better use \"spaceId\" as variable name here. Because i can't figure out the really type for \"space\" at the first glimpse due to \"auto\" used." }, { "prediction": "This should be `\"libsqreen.1.1.2.2\"` instead of `\"libsqreen.1.1.2.2\"`", "reference": "I assume we have a package reference somewhere that pulls down the nuget package?" }, { "prediction": "I think this is the only place where we need to do this.", "reference": "But why introduce publish on `accConnsEventSubjNew` subject if we never subscribe on that subject. What is the plan then? Replace subscription on \"old\" with \"new\" at one point? Not sure about all that.." }, { "prediction": "I'm not sure this is the right fix.", "reference": "can we use `nullptr` for consistency?" }, { "prediction": "Why is this needed?", "reference": "strange, for templating\\EngineBundle it was `\\Symfony\\Bundle\\FrameworkBundle\\`" }, { "prediction": "I don't think this condition is necessary. The `is_merge_or_booted` variable is set to `FALSE` if `is_merge_or_booted` is true.", "reference": "But if we're on the merge deployment, and the next one is the booted deployment, we'll still be inserting between the merge and booted deployment, right? It seems like we would need e.g. `met_merge` and `met_booted` vars to keep track." }, { "prediction": "I don't think this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "Can you put the output of this into data, and list which roles are invalid? Same thing with abstract role. I know that's not strictly part of this PR, but it'd make the messaging about this a bunch better." }, { "prediction": "nit: rename to `ibftTwo` or `ibftTwo`", "reference": "rename ibftTwo arg to bft" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, so I'm not sure if this is the right place to put this.", "reference": "Should we go ahead and push `agent_is_crawler?` into the `skip_session_tracking?` method?" }, { "prediction": "I don't think we should raise an error here. I think we should raise an error if the user doesn't have the mmcv installed.", "reference": "How about we raise a warning here and simply change to use self.data_infos = self.load_annotations(self.ann_file)" }, { "prediction": "I don't think this file should be changed.", "reference": "Please remove this line to comply with the standard for copyright headers." }, { "prediction": "nit: I'd prefer to have a helper method for this instead of hard-coding `validators.Count / 2` to `twoThirds`.", "reference": "seems incorrect - for 5 validators it will tell that 3 is enough to seal and you need 4 2/3 * 5 is 3.3" }, { "prediction": "I'm not sure if this is the right place to put this import, but I'm not sure if it's a good place to put this import.", "reference": "Nit: please remove unnecessary whitespace changes." }, { "prediction": "I'm not sure this is the right place to do this. The `name` field is used for the `RequestBody` field. I think it should be used for the `name` field.", "reference": "Is this captured in a test?" }, { "prediction": "I think we should make this `private`.", "reference": "This is used in o.a.l.sandbox.search.LargeNumHitsTopDocsCollector." }, { "prediction": "I think this should be `optimizer_config = dict(max_norm=None, norm_type=2))`", "reference": "We may also do the same for `schedule_2x.py` and `schedule_20e.py`." }, { "prediction": "Line is too long. [89/80]", "reference": "Should foreign key here be something like `diary_entry_id`? Or above, in `diary_entry.rb`, it should be `diary_entry_id`?" }, { "prediction": "I think we can remove the `initiatedChildExecutionsInSession` field from the `state.go` file.", "reference": "session is a new term. Should we call more like currentCommandBatch or something else?" }, { "prediction": "Why is this change necessary?", "reference": "Will go fmt before squash." }, { "prediction": "I'm not sure if this should be PrivilegedCapable or not. I'm not sure if it should be PrivilegedCapable or not.", "reference": "Setting this to `true` means that it will always get merged in. The way merging is done here is that if a value is its zero value (`false` for `bool`), the value is considered unchanged. In order for this to work, you'll need to change this to be a `*bool` type instead." }, { "prediction": "Why is this removed?", "reference": "It was decided that blockSignerAddress is not only redundant (use the miner owner public key instead which is already stored), but does not belong in config." }, { "prediction": "I think this should be `jsonschema==3.*`", "reference": "are we not asking for trouble here by not pinning this? or does 3.* imply all of the draft versions we'd try to validate?" }, { "prediction": "I'm not sure if this is needed anymore.", "reference": "No, we want to compare `tm_py` and `tm_cpp` in this test." }, { "prediction": "I'm not sure if this is the right limit. I'm not sure if it's the right limit, but I'm not sure if it's the right limit.", "reference": "Let me know if we'd rather have this as an env variable." }, { "prediction": "I'm not sure why we need to pass the service account name as a parameter to the NewVaultServiceAccountRole function. I'm not sure why we need to pass the service account name as a parameter to the NewVaultServiceAccountRole function.", "reference": "question: what is happening here?" }, { "prediction": "I think this should be `emptyWithNull()` instead of `emptyWithNull()`", "reference": "\\[Checkstyle\\] ERROR: 'protected' modifier out of order with the JLS suggestions\\." }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to move this to `mongodb-extjson.js`.", "reference": "Can we use EJSON from bson here? and in doing so avoid bringing in the deprecated `mongodb-extjson` lib `const { EJSON } = require('bson')`" }, { "prediction": "I think this should be `tick_format = param.String(default=\"%.2f\", doc=\"\"\" - Formatting string for the GridPlot ticklabels.\"\"\")`", "reference": "So this parameter is now deprecated?" }, { "prediction": "I'm not sure this is the right place to put this. The rseq_shared_fragment_flushtime_update() should be called before the rseq_is_registered_for_current_thread() call.", "reference": "Actually, it looks like HAVE_RSEQ is only used to determine whether the rseq.h header is around, which then only determines whether the regression test is built: it does not affect whether the core handles an application using rseq. The core rseq mangling code and all the code in rseq_linux.c is always enabled. I believe the idea is that we want DR built on one machine to work on as many others as possible, rather than requiring a custom build for every variant of kernel feature or whatnot. What is the top-level problem being solved here? If it requires disabling or enabling the core handling rseq, probably a separate option should be put in place and maybe HAVE_RSEQ renamed to make it clearer what its consequences are." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "I don't see a corresponding call to freeSelectorSet... am I missing something?" }, { "prediction": "Line is too long. [82/80]", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I'm not sure if this should be publicly visible, or if it should be publicly visible.", "reference": "Is this part of spec?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Hmm, do we need to do this for Windows too? It won't have this private loader TLS issue but it will run DR code in a separate thread before DR init is fully done which I think violates some assumptions. For Windows we would move this wait from win32/os.c to win32/callback.s intercept_new_thread where it checks whether it's a client thread right before calling dynamo_thread_init. If you do not want to deal with Windows you could bail on my suggestion and leave the issue open (or maybe file a new issue) for Windows, or if you want to put the suggested core/win32/ change in place and your new test passes on Appveyor we could then claim to have fully solved this related issue too for all platforms." }, { "prediction": "I think this function should be renamed to `kinesis_get_lambda_name_from_arn`.", "reference": "We can remove this function and use `lambda_function_name(..)` in this file instead." }, { "prediction": "I don't think we need to pass applicationVersion to NewSender.", "reference": "nitpick: `ApplicationVersion` could be `AppVersion`. It's smaller but gives the same understanding for purposes of the field." }, { "prediction": "I don't think this is the right place to put this check.", "reference": "nit: maybe prefer `resp = &workflowservice.PollWorkflowTaskQueueResponse{}` over adding another function exit points especially for non-error cases?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if `Clients.with_name(client_name)` is the right way to do this.", "reference": "Do we specifically need to keep the read preference as a symbol for use elsewhere? If not, I think it would be cleaner to just modify the options before caching them in the `client_options` method so that we don't do this check every time. If we do need it a a symbol elsewhere, I'd suggest either putting `return @client if @client` at the top of the method (and changing the assignment below from `||=` to `=`) or moving this within the parenthetical block in the last assignment so that we don't repeat this work." }, { "prediction": "I don't think this is needed.", "reference": "Since this is for video only, should it be called `preferredVideoMimeType`? If we add it for pictures later, it will likely need to be a different option." }, { "prediction": "I'm not sure this is the right place to use it.", "reference": "That doesn't make sense. LayoutEntry doesn't match the generator concept." }, { "prediction": "Should this be `appA` instead of `appA/Svc`?", "reference": "I think the customer visible strings should be \"Service\" instead of \"Svc\" to make it obvious to them" }, { "prediction": "I think this should be set to `false` by default.", "reference": "Explain why this property is necessary?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. If it is the right place to do this, I'm not sure if this is the right place to do it.", "reference": "It should accept executions as the input" }, { "prediction": "I think this should be `assert batch_size == 1,'show or out during test only support batch size of 1'`", "reference": "Is this limitation necessary?" }, { "prediction": "I'm not sure if this is a good idea to have a struct with the same name as `IssuerConfig`. I'm not sure if it's a good idea to have a struct with the same name as `IssuerConfig`, but if it's a good idea to have a struct with the same name as `IssuerConfig`, I think it would be better to have a struct with the same name as `IssuerConfig` and then have a struct with the same name as `IssuerConfig`, and then have a struct with the same name as `IssuerConfig` and the struct with the same name as `IssuerConfig`.", "reference": ":question: Should there be validation to ensure that only one of these attributes is used?" }, { "prediction": "I don't think we need this anymore.", "reference": "I would recommend using Psr\\Container\\ContainerInterface here instead of Interop\\Container\\ContainerInterface; both currently work, but the Interop version is deprecated and will eventually be removed, so using the Psr version will save us time in the future." }, { "prediction": "This change is unrelated to this PR, but should be reverted.", "reference": "This would also change back to /var/www/html/docroot if we go that way." }, { "prediction": "Why is this private?", "reference": "Does this need to be public? Can't one of the helper functions below pass the data? If it really needs to be public, could it be write-protected?" }, { "prediction": "why is this removed?", "reference": "Thanks. Now that you've improved this we should just init and expose the StorageAPI on the node, like the other.s" }, { "prediction": "I think this should be called `nextKey` instead of `nextRid+1.`", "reference": "it will be better if you can provide some examples" }, { "prediction": "I don't think we should expose this in the long running view.", "reference": "\"return type\" and \"response type\" have never really been contrasted before, and it's unclear what their meaning is here. Could you clarify?" }, { "prediction": "This is a cross-subpackage import!", "reference": "Import order has been violated here." }, { "prediction": "I'm not sure why Dragons: delete is needed here.", "reference": "Are you suggesting deleting the concept of message querying from plumbing (sounds like more trouble than its worth) or suggesting deleting the snapshot based implementation?" }, { "prediction": "I'm not sure if we should use `\"l\"` here. I'm not sure if we should use `\"l\"` here.", "reference": "I recommend using StringSliceVarP to resolve the label flag, like `-l key1=value1,key2=value2`. What do you think?" }, { "prediction": "I think this should be `array[]` instead of `array[]`", "reference": "@Samuell1 Will assigning the same icons array to all the tabs result in, for example, a primary tab called \"Colours\" and secondary tab called \"Colours\" having the same icon?" }, { "prediction": "I'm not sure this is the right place for this function. It's only used in one place, and it's not used anywhere else.", "reference": "A docstring for this function please." }, { "prediction": "I'm not sure why this is needed.", "reference": "heads up @JunTaoLuo" }, { "prediction": "I'm not sure this is the right way to do this. `GetMethod()` returns `null` if `DeclaringType` is `null` and `GetMethod()` returns `MoveNext` if `DeclaringType` is `null` and `GetMethod()` returns `MoveNext` if `DeclaringType` is `null` and `GetMethod()` returns `MoveNext` if `DeclaringType` is `null` and `GetMethod()` returns `MoveNext` if `MoveNext` returns `MoveNext` otherwise `GetMethod()` returns `MoveNext` if `MoveNext` returns `MoveNext` otherwise `GetMethod()` returns `MoveNext` if `MoveNext` returns `MoveNext` otherwise `GetMethod()` returns `MoveNext` if `MoveNext` returns `MoveNext` otherwise `GetMethod()` returns `MoveNext` if `MoveNext` returns `MoveNext` otherwise `GetMethod()` returns `MoveNext` if `MoveNext` returns `MoveNext` otherwise `GetMethod()` returns `MoveNext` if `MoveNext` returns `MoveNext` otherwise `GetMethod()` returns `MoveNext` otherwise `", "reference": ".GetMethod() cannot return null now, correct?" }, { "prediction": "I think this should be `volume_up` instead of `volume_down`", "reference": "Same thing here, I think the proper fix is elsewhere." }, { "prediction": "I'm not sure this is the right place to do this. If the error code is not EAGAIN, then we should set diagsArea to NULL.", "reference": "errno is a global variable that might be set by any system library call. It is dangerous to rely on it except right after the system call where it is set. But in this code, it looks like the library call is buried inside ExpLOBInterfaceSelectCursor. It would be safer if the latter function saved errno after whatever system library call it calls, and returns that as an \"out\" parameter, which this code could then check." }, { "prediction": "I don't think this is necessary. `self._keys()` is a list of keys, and `self._keys()` is a string.", "reference": "`hasattr` is kinda terrible; just append extra info in the subclass." }, { "prediction": "I don't think this is the right place to set this flag. It should be set to `False` if `%l` is not supported.", "reference": "Fair warning, the way that exception block is written won't work in python3 Python 3.2.3 (default, Jun 8 2012, 05:36:09) [GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux2 Type \"help\", \"copyright\", \"credits\" or \"license\" for more information. > > > try: > > >... raise ValueError(\"foo\") > > >... except ValueError,e: > > > File \"\", line 3 > > > except ValueError, e: > > > ^ > > > SyntaxError: invalid syntax" }, { "prediction": "Align the elements of a hash literal if they span more than one line.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "This only updates the metadata and not the actual thing you are trying to solve for the docker hypervisor." }, { "prediction": "I don't think we need this file.", "reference": "should this package be internal? don't we want to use it e.g. in go-contrib?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "Just curious, why did you make this change?" }, { "prediction": "I think this should be `isinstance(prefix, dict)` instead of `isinstance(prefix, dict)`", "reference": "Can you handle error cases such as `pd.get_dummies(pdf, prefix={\"A\": \"foo\"})`?" }, { "prediction": "I'm not sure if this is the right place to set the network mode?", "reference": "Where is this environment variable being set?" }, { "prediction": "`f'module must be a child of nn.Module, but got {}'.format(module_class)`", "reference": "`module_class ` is already a class and `type(module_class)` always returns ``" }, { "prediction": "I think this should be `configurePositionDelete` instead of `configureEqualityDelete`.", "reference": "Nit: The lambda can be replaced with a method reference: `SparkOrcWriter::new` I think." }, { "prediction": "I think this should be `is_int(obj, int_like=False)` instead of `is_int(obj, int_like=False)`", "reference": "It would be nice to have a docstring that says what range of integer-like objects will be accepted, as well as what the int_like argument is meant for." }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "How do we manage updates to this view down the road?" }, { "prediction": "I think this import should be `org.openqa.selenium.grid.distributor.Distributor;`", "reference": "We can revert this to reduce the diff of the PR." }, { "prediction": "I think this test should fail if the index options is NONE.", "reference": "I think we should refactor or drop this test, as it is not testing the points format now, but IndexingChain/FieldsInfos' logic. Maybe we could rename the test `testMergeMissing` and configure the first segment to not have the `id` field at all." }, { "prediction": "This formatter is no longer used.", "reference": "not sure I follow why all this goes away?" }, { "prediction": "I think this should be `paste-primary` instead of `paste-primary`.", "reference": "Is this `{clipboard}` or `{primary}`, as the deprecation message for `:paste-primary` says?" }, { "prediction": "I don't think this should be configurable.", "reference": "Human unreadable. IMHO user should input MYST value: 0.0006 @chompomonim, opinions?" }, { "prediction": "I think we can remove the `role in (controlTypes.ROLE_TABLEROW,controlTypes.ROLE_TABLECOLUMN,controlTypes.ROLE_TABLECELL)` check.", "reference": "May be you could elaborate on why you removed this? I see some of this logic has been moved to ia2Web, but couldn't there be cases outside ia2Web (i.e. UIA) in which case ROLE_TABLEROW and ROLE_TABLECOLUMN are mapped to objects, in which case these objects will be of presentation type content erroneously?" }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if this is the right fix or if it's the right fix.", "reference": "This is not consistent. Either rename the first to `tradePlayerItem` (which is ugly) or the second to `partnerTradeItem` (:+1:)" }, { "prediction": "This should be `/xeipuuv/gojsonschema`", "reference": "is there a reason we don't want to gx this dependency?" }, { "prediction": "Please remove this function. It's not used anywhere else.", "reference": "I'd suggest to add \"ATI \" and \"Intel(R) \" to this list" }, { "prediction": "I don't think this is the right way to do it. The `$plugin['code']` is a string, so it should be a string.", "reference": "This is using a different lang key, we should switch it to using the new key and remove the old key if it is no longer used." }, { "prediction": "I'm not sure why this is needed.", "reference": "shouldn't this work? nodesRegex = regexp.MustCompile(api.SpecNodes + \"=(('[0-9A-Za-z,_-]+')|([0-9A-Za-z_-]+)),?\")" }, { "prediction": "Since we're validating an account in the controller, I think we should move this logic to the Account::Encrypter::before_create method.", "reference": "You mentioned this change was prompted because the `before_create` action was actually a defect. This will be done only for a new record; why is `before_validation`, which will be called repeatedly as accounts get updated and saved, correct whereas `before_create` is not? It looks like one would want to assign and activation code, etc., only once." }, { "prediction": "I don't think this is the right place for this warning. It should be in the `Settings.GlobalSamplingRate` or in the `AppDomain.CurrentDomain.ProcessExit` or `AppDomain.CurrentDomain.UnhandledException` callbacks.", "reference": "What's the rationale for a default setting to not use a GlobalSamplingRate of 1? I don't know much about the sampling rate stuff" }, { "prediction": "I don't think we want to default to just `/cygdrive/c/Program Files (x86)`?", "reference": "Don't we know if it's 64 by this point? Do we have to test for the directory on every call, or can't we just split the value based on the platform?" }, { "prediction": "I don't think this is needed.", "reference": "It's not async" }, { "prediction": "I'm not sure if this is the right thing to do here, but it seems like it should be done in the `if (exporterOptions!= null) {` block.", "reference": "Maybe we could add some use of `exporterOptions` in this example, otherwise the proper code would replace this variable name with an underscore?" }, { "prediction": "I don't think this is needed.", "reference": "Maybe would be better to rename it to \"onEveryKey\" or \"fireOnEveryKey\"." }, { "prediction": "I think we should move this logic to the `FileDownloadHelper` class, since it's only used in the `DownloadHelper` class.", "reference": "if we're switching to calling FileDownloadHelper, we can just call that directly from the xhtml (see line 357 for example) and then remove this method completely. This is because the other thing it does is check PrivateURLUser, but the FileDownloadHelper method already does that. (and while we're at it, we can remove the method from FileUtil as this is the only place that method is called)" }, { "prediction": "I think we should throw an exception here instead of throwing an exception if `methodConfig` is null.", "reference": "is `fullName` still required as a parameter?" }, { "prediction": "I think this should be `LOG.debug(\"Bound legacy RC support\");`", "reference": "This informational message is important to users. Please leave." }, { "prediction": "I don't think we need this anymore.", "reference": "Why do we want to remove this one? Are we planning to substitute it?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "We may create an issue to track this so we don't forget?" }, { "prediction": "Style/GuardClause: Use a guard clause instead of wrapping the code inside a conditional expression.
    Layout/EmptyLines: Extra blank line detected.
    Layout/EmptyLines: Extra blank line detected.
    Layout/EmptyLines: Extra blank line detected.
    Layout/EmptyLines: Extra empty line detected.
    Layout/EmptyLines: Extra blank line detected.
    Layout/EmptyLines: Extra empty line detected.
    Layout/EmptyLines: Extra empty line detected.
    Layout/EmptyLines: Extra empty line detected.
    Layout/EmptyLines: Extra empty line detected.
    Layout/EmptyLines: Extra empty line detected.
    Layout/EmptyLines: Extra empty line detected.
    Layout/EmptyLines: Extra empty line detected.
    Layout/LineLength: Line is too long.", "reference": "This file has the executable bit set." }, { "prediction": "I think this should be `db.logger.Info(\"setting db capacity to {}\", db.capacity)`", "reference": "Improve the formatting of the message `.Infof(\"setting db capacity to: %v\", db.capacity)` There is a space before `:` and this way it is easier to see the formatting." }, { "prediction": "I think this should be `unique_lock lock(RTPSDomain::m_mutex);`", "reference": "This lock cannot be released here, as it is protecting m_RTPSParticipants and the participant reference." }, { "prediction": "I don't think you need to pass `this` to `prepareDiscriminatorCriteria`.", "reference": "we'll need this in `_findAndModify` too" }, { "prediction": "`String.format(DBOpenHelper.DEFAULT_DB_NAME, DBOpenHelper.DEFAULT_DB_NAME)` is the same as `bundle.getString(DB_NAME, DBOpenHelper.DEFAULT_DB_NAME)`", "reference": "This is the fix for the crash. The function to create the intent to launch this activity requires `dbName`, so it has to be set to `null`. In such cases, the value for `dbName` will be set to `null` and cause issues throughout this activity. This adds a default value if the explicitly assigned value in `null`." }, { "prediction": "I'm not sure this is the right place for this event. It's only used in `event_textChange`, not in `event_textStart`, `event_textEnd`, `event_textStart`, `event_textEnd`, and `event_textStart`, `event_textChange`, `event_textEnd`, `event_textStart`, `event_textChange`, `event_textEnd`, `event_textStart`, `event_textChange`, `event_textStart`, `event_textEnd`, `event_textChange`, `event_textStart`, `event_textEnd`, `event_textChange`, `event_textStart`, `event_textEnd`, `event_textChange`, `event_textStart`, `event_textEnd`, `event_textStart`, `event_textEnd`, `event_textStart`, `event_textEnd`, `event_textStart`, `event_textEnd`, `event_textStart`, `event_textEnd`, `event_textStart`, `event_textEnd`, `event_textStart`, `event_textEnd`, `event_textStart`, `event_textEnd`, `event_textChange", "reference": "Shouldn't we also trigger vision update here, so that if someone has caret highlighting enabled the correct character is highlighted?" }, { "prediction": "I think this should be `context.getProductConfig().getPackageName() + \";\" + context.getNamer().getLocalPackageName() + \";;`", "reference": "Woah, how does this change, which includes semicolons, result in the baseline change? Are the semicolon chars just part of the internal representation of the import type?" }, { "prediction": "I think this was a bug in the latest version of nvda.pyw.", "reference": "Can't you just use runnvda.bat here?" }, { "prediction": "Why is this removed?", "reference": "these definitions of UNUSED aren't the same as the one you imported, so callers should be fixed (if any)" }, { "prediction": "I think this should be `IPamPluginType` instead of `ECSIPAMPluginName`", "reference": "is type a free string too?" }, { "prediction": "`model` -> `model_func`", "reference": "here input could be a normal function or an instance of torch.nn.Module." }, { "prediction": "@domenkozar @matthewbauer @grahamc is the right place to put this?", "reference": "Example output: \"19.03.git.a7f4a860d0c\" At some point `nixpkgsVersion` was renamed to `version` since someone may use an old channel we fallback to `nixpkgsVersion` for backwards compatibility." }, { "prediction": "I don't think we need this anymore.", "reference": "Class import is therefore redundant I guess :)" }, { "prediction": "I'm not sure if this should be a warning or an error.", "reference": "If parsing fails, don't act as no IP specified. Error out." }, { "prediction": "Please remove the space after the comma.", "reference": "... here the semicolon wanted to run away from the enum ;)" }, { "prediction": "Why do we need to change the name of the config?", "reference": "Note that this is in the context of SolrCloud, so \"secondary\" doesn't apply and should be instead follower" }, { "prediction": "Line is too long. [87/80]", "reference": "This one is a query parameter and probably really should be ID and in fact I'm mystified as to how this is working because the controller code definitely wants a number for that parameter so the test framework must be converting it back to an ID as best I can tell." }, { "prediction": "I think this should be `(NodeMap *) getPartFunc()->getNodeMap()->assignScanInfos(hiveSearchKey_);` instead of `(NodeMap *) getPartFunc()->getNodeMap()->assignScanInfos(hiveSearchKey_);`", "reference": "Need to ensure this is set to TRU for LOB datatype access too not just for hive." }, { "prediction": "`numeric_only` should be passed to `_reduce_for_stat_function`.", "reference": "You're using the Sphinx docstring style here (maybe because it's the default in PyCharm?). Instead, you should use the NumPy style (that you've also used in other places) to be more consistent with the rest of the project." }, { "prediction": "I'm not sure this is the correct way to do this. I'm not sure if StartLocalhost will throw an exception or if StartLocalhost doesn't throw, but I'm not sure if StartLocalhost will throw an exception or if StartLocalhost doesn't throw, then I'm not sure if StartLocalhost will throw an exception or if StartLocalhost doesn't throw, then I'm not sure if StartLocalhost will throw an exception or if StartLocalhost doesn't throw, then I'm not sure if StartLocalhost will throw an exception or if StartLocalhost doesn't throw, then I'm not sure if StartLocalhost will throw an exception or if StartLocalhost doesn't throw, then I'm not sure if StartLocalhost will throw an exception or if StartLocalhost doesn't throw, then I'm not sure if StartLocalhost will throw an exception or if StartLocalhost doesn't throw, then I'm not sure if StartLocalhost will throw an exception or if StartLocalhost doesn't throw, then I'm not sure if StartLocalhost will throw an exception or if StartLocalhost doesn't throw, then I'", "reference": "Don't really need this since the rest of the method will no-op but it's also safe to return early." }, { "prediction": "I don't think this needs to be in the `FAstrtps::qos` namespace.", "reference": "Don't use relative paths. src directory is already on the include search path" }, { "prediction": "I don't think we need this file.", "reference": "this file can be removed" }, { "prediction": "I don't think this is the right way to do this. The `name` parameter is required by the `MultipartFile` and not by the `@RequestAttribute` annotation.", "reference": "Do we have test cases that name is null?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "in a separate PR, I'll check for a table that is empty/all-null and skip this function call completely." }, { "prediction": "I don't think we need to catch `ConfigurationException` here.", "reference": "We really, really want to catch _everything_ here. It is safe to leave `azkabanEventReporter` set to null." }, { "prediction": "I think this should be `!oldDom.lastChild` instead of `parentDom.lastChild`.", "reference": "Can't we add the check here?" }, { "prediction": "I'm not sure if this is the right place to put the body. I'm not sure if this is the right place to put the body, but if it is the right place to put the body, I think it would be better to put the body in a `try-except` block.", "reference": "body is being used here for the first time without every being populated. This will error. To run tests do `./go clean test_py` and that will run the Firefox tests" }, { "prediction": "I think this should be `secrets`, not `targets`.", "reference": "Tell me if you have a better field name for this." }, { "prediction": "I think we should keep the `Samples.AspNetCoreMvc30` and `Samples.AspNetCoreMvc31` as separate projects.", "reference": "FYI, I have a branch I started to improve this. Nuke can read the target frameworks from the project files, so we don't have to do this mess. Ran into some other issues so it didn't take priority" }, { "prediction": "I'm not sure why this is needed.", "reference": "This is just `mol->atomNeightors()`, is it?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it, but it seems to me that the `infer_result` and `infer_input` can be replaced by `infer_result` and `infer_input`", "reference": "This alias is just for a single occurrence. Maybe it ins't necessary?" }, { "prediction": "I think this should be `return false;` instead of `return true;`", "reference": "You can delete this `NONE` case." }, { "prediction": "I think this test should be changed to `TEST_F(VkLayerTest, RenderPassCreateAttachmentMismatchingLayoutsColor)`", "reference": "@cnorthrop -- here is a test with a name change. Is this going to affect your internal CI?" }, { "prediction": "I think this should be `sendCommandForDownloadChromeHeadLess` instead of `sendCommandForDownloadChromeHeadLess`", "reference": "Nit: `Headless` is one word, not two, and so doesn't need camelcasing in this way." }, { "prediction": "I'm not sure if this should be a `int` or a `int`?", "reference": "I think this will cause a warning, can you set the default to zero (`0`)?" }, { "prediction": "nit: rename to `identity_id`", "reference": "confusing naming. Identity from \"id\" package :/ why we need alias here? (and in other imports)" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure it's the best way to do it, but I think it's the best way to do it.", "reference": "It'd be nice to fix up existing configs with the change - that'd mean adding the option to `RENAMED_OPTIONS` in `config.py` and adding something like `_get_value_transformer({'true': '', 'false': '*'})` to `CHANGED_OPTIONS`. I think I never tried adding an option to both, but it should work." }, { "prediction": "`Object.keys` is not guaranteed to return a prototype, so you can't use `Object.getPrototypeOf(prim)` here.", "reference": "Perhaps use the new `.keys()` method here instead?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "We don't need this option because plan-preview is comparing between 2 commits, not using the live state." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would make more sense to have a `options_for_step` method that takes in a `@options`[:current_test_info][:step][:name] or something like that. That way, we can have a single `options_for_step` method that takes in a `@options` object, and then we can have a single `options_for_step` method that takes in a `@options` object, and then we can have a single `options_for_step` method that takes in a `@options` object, and then we can have a single `options_for_step` method that takes in a `@options` object, and then we can have a single `options_for_step` method that takes in a `@options` object, and then we can have a single `options_for_step` method that takes in a `@options` object, and then we can have a single `options_for_step` method that takes in a `@options` object, and then we can have a single `options_for_step` method that takes in a `", "reference": "I'm not sure about putting this in the options. I would see it living in an object and then being queried on through a class - a more object oriented, ruby solution." }, { "prediction": "I'm not sure if we should change the name of this function to something like `Status() (*DRICardMetrics, error)` or `Status() (*DRICardMetrics, error)` or `Status() (*DRICardMetrics, error)`", "reference": "So `Status` returns metrics?" }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.", "reference": "Can we make a generic method say, `set_infographic_view` and in that method we can check the 4 values (outside_committers, portfolio_projects, outside_projects, affiliated_committers) and check against params[:action] and params[:view] and then trigger the respective method dynamically as it takes the standard argument(s) for all the four methods. What do you think?" }, { "prediction": "I think this should be `return o == null? null : new Date((Date) o);`", "reference": "Why would this be called to copy a non-Date object?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This alignment issue had not appear because no multiple `Boolmsg`s had been serialized at once." }, { "prediction": "I don't think we should default to ` NotSet`?", "reference": "Why are we not implementing a BooleanDefaultFalse struct and replacing all of these config vars that default to false with that? Are \"default false\" config vars not affected by this bug?" }, { "prediction": "I think this should be `access_level = params[:role][:access_level].to_i`", "reference": "Replaced this method with a ruby idiomatic setter." }, { "prediction": "I don't think this change is needed.", "reference": "wrong place hehe" }, { "prediction": "I'm not sure if this is the right place to put this in, but I'm not sure if this is the right place to put this in, or if it's the right place to put it in, or if it's the right place to put it in, or if it's the right place to put it in, or if it's the right place to put it in, or if it's the right place to put it in, or if it's the right place to put it in, or if it's the right place to put it in, or if it's the right place to put it in, or if it's the right place to put it in, or if it's the right place to put it in, it's the right place to put it in, or if it's the right place to put it in, it's the right place to put it in.", "reference": "Can this be `test -e /var/run/mysqld/mysqld.sock` instead of `ls`? Using `ls` for noninteractive stuff is a recipe for sadness, IMHO. /cc @tianon" }, { "prediction": "Rails/InverseOf: Specify an :inverse_of option.", "reference": "Are these `dependent: destroy` attributes intended to implement cascading deletes? I had assumed they were added because of the `paranoia` gem, but since that is no longer part of this PR, are they here as a best practice?" }, { "prediction": "I don't think this is the right place to do this. The `if (stream->tunnel!= NULL)` should be removed.", "reference": "This approach would work only if there's a guarantee that the stream does not get freed before `establish_tunnel` is called, even though it _may_ enter CLOSE_WAIT state (at which point `stream->tunnel` is set to NULL). I do not think that assumption holds. Hence the alternate approach." }, { "prediction": "I think this should be `\\ntype:string,path` instead of `\\ntype:string,path`.", "reference": "Did you mean to remove the periods here while newly adding to other locations?" }, { "prediction": "Why is this change necessary?", "reference": "the check can now be `if newLen < 0`" }, { "prediction": "Why are these removed?", "reference": "If we're going to clean up this package, can we also remove those two `_` imports that appear to serve no purpose? (FWIW, they're also in the manager package too...)" }, { "prediction": "I'm not sure if this is safe to do. I'm not sure if it's safe to do this.", "reference": "Won't this leak like a sieve? The caller can't delete this as one is a unique_ptr and one is not." }, { "prediction": "I think this should be `if (data.attachments[filename]) { delete data.attachments[filename]; }`", "reference": "form => from" }, { "prediction": "I think we should keep this property in the `Rule` class since it's only used in the `Rule` class.", "reference": "Ok, we can't switch it now, because the properties are a field of the interface Rule - which makes it public API. Maybe we should remove it here in the (Java) API in 7.0.0? The only API left would be, when using a rule and setting the properties in the ruleset xml. There the type doesn't matter - since the String is then automatically converted into a Pattern." }, { "prediction": "I think this should be `google.example.myproto.v1`", "reference": "Pass in null here, instead of a value? Maaaaybe we should add an overload for `GapicProductConfig.create` that matches the original signature and passes through null? I don't feel strongly about that though, so happy to leave asis if you prefer." }, { "prediction": "I'm not sure this is the right place to do this. It seems like `word.subSequence(word.offset + word.length, word.length)` is the same as `word.subSequence(word.offset + word.length, word.length)`.", "reference": "Include all compounds parts from the very beginning for the case check to work later" }, { "prediction": "I think this should be `nodeConfig.RuntimeSocket` instead of `nodeConfig.Containerd.Address`", "reference": "if the user specifies a url scheme on the cli this is going to cause problems, no?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "How about that `scaleFactor`?" }, { "prediction": "I'm not sure if this should be `getNumericType()` or `getNumericType()`?", "reference": "`assert(is_int($result));` would be preferable I think, even if we know it can't ever be false" }, { "prediction": "Why do we need to change this method?", "reference": "I'm unfortunately unable to review whether you've changed everything that used to use cartIds" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Please don't touch unrelated files to keep the git history clean" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have the variation method return a `I18n.t` string, rather than a `I18n.t` string.", "reference": "Per our style guide, I don't think we indent `private` keyword. Would you mind fixing that?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if it's the right way to do it, but if it's the right way to do it, I'm fine with it.", "reference": "Will this change the input `heatmap`? Is this behavior expected or not?" }, { "prediction": "I'm not sure about this change, but I'm not sure if it's worth it.", "reference": "If I'm reading this right, this changes the parameter name so it'd constitute a breaking change :cold_sweat: Are we missing a test that should have been failing up until now?" }, { "prediction": "I don't think we should remove this file.", "reference": "Need copyright/license info." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Is this `info log` necessary? If it is not useful, can you consider deleting it?" }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if this is the right fix.", "reference": "Unrelated change, but seems to be the correct purpose of the test." }, { "prediction": "I think this should be `this.id` instead of `this.id`", "reference": "Should it be `'uppy-input-`?" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix or if it is the right fix.", "reference": "what's the reasoning to keep these always true or dead-code blocks?" }, { "prediction": "I think this should be `if (this).next().length === 1`", "reference": "It would be a good practice to do `.off('click', '.tab-buttons > div').on('click', '.tab-buttons > div', function() {`" }, { "prediction": "@jakexks/code reviewer: should this be automatically enabled or disabled based on discovering the gateway api or a flag?", "reference": "I suggest that we rely on `--controllers='*,gateway-shim'` for now, and we can then move from `--controllers='*,gateway-shim'` to automatically enabling the Gateway API support on startup using the discovery API in 1.6 or 1.7, what do you think? Note that the logic I wrote in e5436df521015057e77de3fe02c174ea8a863b93 should also use this `GatewaySolverEnabled` flag I think." }, { "prediction": "I'm not sure this is the right place to instantiate the algorithm factory. I'm not sure if this is the right place to instantiate the algorithm factory.", "reference": "I moved the instantiation of the signature algorithm here, to execute it before the native libraries are configured. Otherwise the wrong signature algorithm could be configured in a future release when more than one is supported in Besu." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "Why remove this?" }, { "prediction": "I don't think this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "`this.ieService_` should be initialized to null in the constructor." }, { "prediction": "Why is this needed?", "reference": "Why not `ebpf::BPF bpf;`? Assuming that the instance is not huge, I do not think there is a good reason to use a pointer when it can be retained as a value." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "nit: move to last block" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "nit: I'm under the impression that `log` is the convention for golang, and that the `er` suffix is usually reserved for interfaces" }, { "prediction": "I think this should be `IsolationLevel` instead of `IsolationLevel`.", "reference": "Why is IsolationLevel fully qualified? System.Data is already in scope? What do I miss?" }, { "prediction": "Why is this interface removed?", "reference": "do we still need SanityCheck()? seems they all return nil now" }, { "prediction": "I'm not sure why this is needed.", "reference": "What I am missing in this PR, and I think we discussed that on the weekly meeting, is that all the code snippets that advise using `loadData` should be changed to one of the two new methods. Otherwise we send confusing mixed signals by promoting `loadData` everywhere in the guides. `loadData` is not deprecated, but is legacy." }, { "prediction": "I'm not sure if this is the best way to do this. I don't think we need to do this.", "reference": "Line is too long. [100/80]" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure what the best way to do this is.", "reference": "I suggest \"no parent snapshot found, will read all data\\n\"." }, { "prediction": "I think this should be `var config = XmlLoggingConfiguration.CreateFromXmlString(@\" impl->renderbuffer_from_image(image);` instead of `return r->impl->renderbuffer_from_image(image);`", "reference": "This leaks EGL/GL implementation details into the generic renderer interface." }, { "prediction": "I'm not sure if this should be a hash or a dictionary. I think it should be a string, not a hash.", "reference": "Maybe add *key* i.e. `\"The \\\\`deploy.on\\\\` key should be a hash (dictionary).`" }, { "prediction": "This change is unrelated to the rest of the PR.", "reference": "its be good also change $code na $id, actual name is misleading and that was probably actual error generator" }, { "prediction": "I think this should be `lb_recent_listens` and `lb_recent_sorted`", "reference": "I changed the name of the key, to make deployment easier." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if this is a good idea or not.", "reference": "isn't this going to be true by default? if yes, then let's have the env var named `ECS_DISABLE_SPOT_INSTANCE_DRAINING` and have default as false." }, { "prediction": "I think this should be `from __future__ import unicode_literals`", "reference": "Do you think we might need this anywhere else in HoloViews?" }, { "prediction": "I don't think this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "@MrTimscampi don't we want to remove this term entirely? Might as well do it now if that's the case." }, { "prediction": "Line is too long. [89/80]", "reference": "I have followed the convention of `cp`" }, { "prediction": "I think this should be `'=>'int', 'name='=>'string'`.", "reference": "The docs say it's `false|null`" }, { "prediction": "I'm not sure this is the right value for the `Threshold` field. I think it should be `threshold` and not `error_ratio` and `status_ratio`.", "reference": "Thinking on it more, I actually really like your idea to rename `type` to `factor`." }, { "prediction": "I'm not sure this is the right place to catch the exception. I'm not sure if this is the right place to catch the exception, but it seems to be the right place to catch the exception.", "reference": "This error message is redundant. All of this information is included in the stack trace. In general it's a good idea to avoid using method names in error messages. Chances are the method will be renamed at some point, but the string won't be updated accordingly. Then you'll end up with a very confusing error message. I suggest changing the message to: \"Failed to unblock network loads. Missing INTERNET permission?\"" }, { "prediction": "This file should be deleted.", "reference": "Feel free to add your own name while at it." }, { "prediction": "I'm not sure this is the right thing to do, but I'm not sure it's worth it.", "reference": "`signer` is a global variable (from `gochecknoglobals`)" }, { "prediction": "`opts[:localize]!= false` is a bit confusing. Why not just `serializer && serializer.localized? && opts[:localize]!= false`?", "reference": "shouldn't this be `&& opts[:localize]` (i.e. both nil and false skip localization?)" }, { "prediction": "I don't think we need to import pickle here.", "reference": "This can also be removed." }, { "prediction": "I don't think this is necessary. The `ns` parameter is used by `flux_kvs_txn_symlink` and `flux_kvs_txn_unlink` is used by `flux_kvs_txn_unlink` and `flux_kvs_txn_unlink` is used by `flux_kvs_txn_symlink` and `flux_kvs_txn_unlink` is used by `flux_kvs_txn_unlink` and `flux_kvs_txn_unlink` is used by `flux_kvs_txn_symlink` and `flux_kvs_txn_unlink` is used by `flux_kvs_txn_unlink` and `flux_kvs_txn_unlink` is used by `flux_kvs_txn_unlink` and `flux_kvs_txn_unlink` is used by `flux_kvs_txn_unlink` and `flux_kvs_txn_unlink` is used by `flux_kvs_txn_unlink` and `flux_kvs_txn_unlink` is used by `flux_kvs_txn_", "reference": "Not critical but \"common\" is not that helpful in the commit title. Maybe go with \"libkvs/txn:\" for this one?" }, { "prediction": "I think this should be `when_searching` instead of `when_searching`.", "reference": "It's been a while, but I just noticed this was wrong: It migrated `True` to `when-searching` (so people with `scrolling.bar = True` suddenly didn't have scrollbars anymore) and `False` to never. Instead, it should migrate `True` to `always` (no behavior change) and `False` to `when-searching` (so people notice the new feature). I fixed this in cc0f5fc6d400e12833ba729049e31d16cf836d53." }, { "prediction": "I think this should be `fs_path = fs_path.encode(\"utf-8\")`.", "reference": ".decode(sys.getfilesystemencoding()) will be better. Although I think rrdtool should accept bytes.." }, { "prediction": "I don't think we need this interface.", "reference": "An interface call per header might be more expensive than we want to pay. Do we really need this to be abstracted? I think a parser abstraction makes sense, but it seems to me like a separate abstraction for handling headers (one by one) might be an overkill." }, { "prediction": "I think we can remove the `TargetsForLevel` check here as well.", "reference": "Resharper annotations, always +1" }, { "prediction": "I think this should be `AccountCreateCmdFlags().BoolVar(&CryptoSm2, \"sm2\", false, config.TranslateInLang(flagSm2Usage, config.UILanguage))` instead of `AccountCreateAddCmdFlags().BoolVar(&CryptoSm2, \"sm2\", false, config.TranslateInLang(flagSm2Usage, config.UILanguage))`", "reference": "same here, CryptoSm2 won't be changed once command is compiled" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Loading the login page after the certificate has been loaded. Views can only be loaded from UI thread." }, { "prediction": "I think this should be `Warnf` instead of `Warn`.", "reference": "Technically it doesn't belong here; let me remove it." }, { "prediction": "I think this should be `b2d48a8a8715dd31de2af75b0aa04c0c0091fa3c/stepfunctions-local-patch`", "reference": "remember to update the hash once the upstream PR is merged" }, { "prediction": "I think we can remove the `getInstance()` method from the `PushNotificationDecryptor` class and use `PushNotificationDecryptor.getInstance()` directly in the `onMessageReceived(RemoteMessage)` method.", "reference": "Sends the incoming message to the decryptor, which will then forward it to the interface once processing is complete." }, { "prediction": "I don't think this is the right place to remove this.", "reference": "FYI This will go the other way, with nil being the correct value for \"no params\"" }, { "prediction": "I think this should be `if (thatItem.LibraryKey!= null) {`", "reference": "Is this necessary? Are there duplicates in your LibKeyIndex?" }, { "prediction": "I'm not sure this is the right place for this helper.", "reference": "Why will the gomock files be regenerated? It seems to be irrelevant" }, { "prediction": "I'm not sure if this is a good idea. It seems like the `cancelledCh` is only used by the `pipedCommand` and not the `cancelledCh` itself. I'm not sure if it's a good idea to have a `cancelledCh` in the `pipedCommand` and `cancelledCh` in the `pipedConfig` and `plannerRegistry`, but I'm not sure if it's a good idea to have a `cancelledCh` in the `pipedConfig` and `plannerRegistry` in the `pipedConfig` and `plannerRegistry` in the `pipedConfig` and `plannerRegistry` in the `pipedConfig` and `plannerRegistry` in the `pipedConfig` and `plannerRegistry` in the `pipedConfig` and `plannerRegistry` in the `pipedConfig` and `plannerRegistry` in the `pipedConfig` and `plannerRegistry` in the `pipedConfig` and `plannerRegistry` in the `pipedConfig` and `plannerRegistry` in the `pipedConfig`.", "reference": "I'm very curious about why using buffered-channel. Is there something wrong to use an unbuffered channel with zero capacity?" }, { "prediction": "I think we should move this import to the top of the file, since it's not used anywhere else in this file.", "reference": "It seems like you accidentally pulled some unrelated changes to util_test into this." }, { "prediction": "I'm not sure why this is needed.", "reference": "do not toucm NDM please - there will be lots of conflicts" }, { "prediction": "I'm not sure this is the right fix. The `val` parameter is a `Date` object, not a `IndexableField`. I'm not sure if this is the right fix.", "reference": "This looks legitimate - Would cause a classCastException. But have we ever seen it in the wild?" }, { "prediction": "I'm not sure if this should be `setup-show=True` or `setup-show=False`.", "reference": "This looks out of scope for this particular PR." }, { "prediction": "Why not just use `time.Second`?", "reference": "Don't need () if only one." }, { "prediction": "I don't think this is necessary. The mailHost and mailPort are already defined in the AbstractMailer class.", "reference": "Why not have mailPort as int since your are already parsing while calling t.connect?" }, { "prediction": "I'm not sure this is the right fix, but I think it should be `<5`.", "reference": "In the future, do not remove these trailing commas as they have the purpose of making append-diffs easier to read. :)" }, { "prediction": "I think this should be `$raw = reset($raw);` instead of `$raw = reset($raw);`", "reference": "Was this added by accident? It doesn't seem related to Syndetics, and I don't think it should be necessary in core VuFind (but maybe it's related to one of your local customizations)." }, { "prediction": "I'm not sure if this should be a map, but I think it should be a map of spiffeid.TrustDomain, not a struct of spiffeid.TrustDomain.", "reference": "i know the ergonomics are a little nicer with map[string]bool, but I prefer map[string]struct{} for sets for a few reasons: 1 - optimized storage (not very relevant here) 2 - don't have to think about the conditions where the key exists in the map or if the value could somehow be false" }, { "prediction": "I'm not sure this is the right place for this const.", "reference": "This is very unclear what Server means. We need a better name, maybe ServerExtension?" }, { "prediction": "I'm not sure why this was removed.", "reference": "I wonder if we should trigger a PHP error and ensure it ends up in the log?" }, { "prediction": "I don't think we need to do this. `html.replace(/&/g, '&')` is already a string, so we don't need to decode it again.", "reference": "Hmmm not sure about this. Is it fine @ar2rsawseen?" }, { "prediction": "I think this should be `Runnable` instead of `Runnable`.", "reference": "Why do you prefer `go` over `run`?" }, { "prediction": "I think this is the only place where `CreateMessage` is called.", "reference": "Unintentional, please remove" }, { "prediction": "I think this should be `where(deactivated_on: nil)`", "reference": "What was the reason behind moving this?" }, { "prediction": "Use the new Ruby 1.9 hash syntax.", "reference": "Did you mean to put that `join` after the `map` rather than inside it? Also should it be `safe_join` or is interpolating it into an `_html` resource going to have much the same effect>" }, { "prediction": "I don't think we need this.", "reference": "`Indicates if this Realm has been closed.`?" }, { "prediction": "why remove this?", "reference": "how is this change adding corr to Series? Do all the methods that are added to Frame automatically get added to Series?" }, { "prediction": "I'm not sure if this is the right place to do this, but it seems like it should be moved into `TipSetStateRoot` and `TipSetStateRoot` instead of `GetTipSetAndState`?", "reference": "Just a heads up for anyone else reviewing this, this logic and all the repetitions of it should be greatly simplified by subsequent work relating to issue #2552." }, { "prediction": "I don't think we need to make this change.", "reference": "@billwert I have kept the `1000` InvocationsPerIteration, but do note this is very small for the small types." }, { "prediction": "I think this should be `The command line part of the statusbar. Attributes:`", "reference": "Unrelated whitespace change." }, { "prediction": "I'm not sure if `transaction_p` should be a `unique_ptr` here.", "reference": "Slight formatting issue here. There should be a space after the asterisk." }, { "prediction": "I think this should be `var parent = axe.utils.getNodeFromTree(el);` instead of `var parent = axe.utils.getNodeFromTree(el);`", "reference": "Slight preference for declaring variables inline rather than at the top of the function. That way you can use const for both of these." }, { "prediction": "Why do we need to make this `final`?", "reference": "this is a duplicate file of the one in demo-schema. please remove this file." }, { "prediction": "I think this should be `utils.Eth1L1CrossDomainMessengerAddressFlag` instead of `utils.Eth1L1FeeWalletAddressFlag`", "reference": "Nit: unified names between geth and contracts" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "Necessary? Could you just use DefaultBuildState here?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "linked hashmap retains order" }, { "prediction": "I'm not sure about this change, but I'm not sure if it's a good idea to change the interface name.", "reference": "And the old names for these variables made more sense imo." }, { "prediction": "I don't understand why this change is needed.", "reference": "Are you sure this change is correct?" }, { "prediction": "I'm not sure about this change, but I'm not sure if it's safe to remove it.", "reference": "The previously linked bug does not apply anymore? If so, this is LGTM!" }, { "prediction": "I'm not sure why this change is needed.", "reference": "Why are we renaming all of the tests?" }, { "prediction": "I think this should be `:` instead of `::`", "reference": "Instead of having this logic, would it make sense to require *users* to encompass the specified IPv6 address within `[` and `]`? Why the magic handling here?" }, { "prediction": "I'm not sure this is the right place to catch this exception.", "reference": "Why not also replace this one with calls to `GetProp`?" }, { "prediction": "Why do you want to ignore negative numbers?", "reference": "Still need to remove trailing spaces on this line" }, { "prediction": "I don't think this is used.", "reference": "Please use the `@Experimental` annotation on this" }, { "prediction": "I'm not sure if this should be `return err` or `return nil`?", "reference": "I found ~10 more instances of this typo. we can fix those in subsequent PRs." }, { "prediction": "I don't think metricNamespace is a good name for metricInitArgs.", "reference": "How about making metricNamespace an option, and by default it's the same as `component`? e.g.m Init(component, WithMetricNamespace(\"trigger\"))" }, { "prediction": "I think this should be `methodInfo.requestPageTokenName()` instead of `methodInfo.responsePageTokenName()`", "reference": "Just checking: no need for case manipulation?" }, { "prediction": "This change is unrelated to this PR, but I think it's fine to keep it as is.", "reference": "Same as above, not that descriptive" }, { "prediction": "I'm not sure this is correct.", "reference": "> i#4670 signl-interrupted special ibl xfer frag: Unlink if signal pending nit: This looks like one of many commits with the text before the colon. nit: On the long side: 56 or 60 chars is what some views show Spelling error." }, { "prediction": "I think this should be `pthread_join(tid, NULL);` instead of `pthread_cancel(tid, NULL);`", "reference": "Should we need to invoke pthread_cancel?" }, { "prediction": "I don't think this is the right way to do this, but I think it would be better to use `System.getProperty(ZMSConsts.ZMS_PROP_USER_DOMAIN, ZMSConsts.USER_DOMAIN)` instead of `System.getProperty(ZMSConsts.ZMS_PROP_USER_DOMAIN, ZMSConsts.USER_DOMAIN)`.", "reference": "this is auto generated file so no changes are allowed here" }, { "prediction": "Why not use `node.querySelectorAll('input[type=\"submit\"]:not([disabled]), img[type=\"submit\"]:not([disabled]), button[type=\"submit\"]:not([disabled])`?", "reference": "All buttons are submit buttons, except if they are `type=reset` or `type=button`. I suggest you do an exclude of those, rather than only include `button[type=submit]`." }, { "prediction": "Line is too long. [82/80]", "reference": "can you please make this multi line, this version is hard to read." }, { "prediction": "`typeof xyRatio.x === 'number'`?", "reference": "For consistency, it's best to either always use strict equality (`===`) or loose equality (`==`) in `typeof` checks, and to not mix them." }, { "prediction": "Line is too long. [87/80]", "reference": "Work Orders would never have only one approver, right?" }, { "prediction": "This enum is not used anymore.", "reference": "`code` is written to the message as a `byte`, so I think it's better to declare it in the enum as `byte` as well to avoid a narrowing primitive conversion from `int` to `byte` in runtime." }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it, but I think it's better to use `metrics.0.values.0` instead of `metrics.0.values.0`.", "reference": "This is the only \"extra\" change here." }, { "prediction": "I don't think this is the right default validator for outbound messages. It's the default validator for outbound messages.", "reference": "Please TODO and link to an issue for changing this." }, { "prediction": "I'm not sure if this is a good change, but I think it's better to leave this as-is.", "reference": "Can we make the script output trailing commas?" }, { "prediction": "I'm not sure if this is the right way to do it, but I'm not sure if it's the right way to do it, so I'm not sure if it's the right way to do it.", "reference": "This file should get a file header" }, { "prediction": "Why was this removed?", "reference": "maybe we need process the os error more safely and friendly when open file failed, because this error is very common when cpu has a high pressure, crash directly is danger." }, { "prediction": "I think this should be `crypto.GasPriceDecimalNum` instead of `crypto.GasPriceDecimalNum`.", "reference": "we need to pay attention not to use this flag everywhere." }, { "prediction": "Why is this removed?", "reference": "curious about this change, since it is not mentioned in the commit message and now we have `uint8` all over the place" }, { "prediction": "This change is unrelated to this PR.", "reference": "wait, are we not mising `WithStamp` here?" }, { "prediction": "I'm not sure if this is the right way to do it, but I think it's better to just call `GetStageProgress(api.dbReader, stages.TxPool)`.", "reference": "oh. didn't know we store this stage progress." }, { "prediction": "I'm not sure if this should be `\\u2600-\\u26FF` or `\\u2700-\\u27BF` or `\\uE000-\\uF8FF` or `\\u2700-\\u27BF`", "reference": "Going with definition from here: > Does Unicode have private-use characters? > A: Yes. There are three ranges of private-use characters in the standard. The main range in the BMP is U+E000..U+F8FF, containing 6,400 private-use characters. That range is often referred to as the Private Use Area (PUA). But there are also two large ranges of supplementary private-use characters, consisting of most of the code points on Planes 15 and 16: U+F0000..U+FFFFD and U+100000..U+10FFFD. Together those ranges allocate another 131,068 private-use characters. Altogether, then, there are 137,468 private-use characters in Unicode. It looks like we are only ignoring ones in BMP and not the supplementary private-use characters. Shouldn't we consider the supplementary ones too?" }, { "prediction": "I don't think this change is needed. The `TLiteralInt` constructor is used to construct a `TInt` and the `PositiveInt` constructor is used to construct a `TLiteralInt` and the `TLiteralInt` constructor is used to construct a `TInt` and the `PositiveInt` constructor is used to construct a `TLiteralInt` and the `TLiteralInt` constructor is used to construct a `TInt` and the `PositiveInt` constructor is used to construct a `TLiteralInt` and the `TLiteralInt` constructor is used to construct a `TLiteralInt` and the `TLiteralInt` constructor is used to construct a `TLiteralInt` and the `PositiveInt` constructor is used to construct a `TLiteralInt` and the `TLiteralInt` constructor is used to construct a `TLiteralInt` and the `TLiteralInt` constructor is used to construct a `TLiteralInt` and the `TLiteralInt` constructor is used to construct a `TLiteralInt` and the `TLiteralInt` constructor is used to construct a `TLiteralInt`.", "reference": "This change is un-tested and requires testing" }, { "prediction": "I think this should be `notebook_bokeh` instead of `notebook_bokeh`", "reference": "Should the docstring mention the vscode option?" }, { "prediction": "I think this should be `_gapic.yaml` instead of `_gapic.yaml`.", "reference": "ISTM that since `artman` know the \"real\" value of the GAPIC config name, it should pass that value to toolkit, rather than toolkit guessing the name based on a heuristic. Then again, I don't know what this value actually does for Java codegen..." }, { "prediction": "I think this should be `github.com/docopt/docopt-go`", "reference": "Please back out the import changes in files you haven't touched. I think these happen if you run goimports without having the vendor directory populated" }, { "prediction": "This is a breaking change. The `where T : struct` should be `T` instead of `T`.", "reference": "Should this be `ISocketOutput where T : struct`?" }, { "prediction": "I don't think this is the right thing to do. It should be `Optional.ofNullable(long.valueOf(snapshot.sequenceNumber()));`", "reference": "In which case will this actually return 0? If there is no snapshot, then there is no `Snapshot` object, right?" }, { "prediction": "`CLASSES` should be a tuple of str, not a tuple of str.", "reference": "This part of code is valuable and necessary. Can we move it to another place for a more clear logic and only check it once? For example, move it to line 133 before delving into each module." }, { "prediction": "I don't think we need to change this.", "reference": "Are we at all worried that changing pins will cause release hiccups? I think we've decided that relaxing pins should be safe but adding pins has caused us build issues in the past - so I think we're fine?" }, { "prediction": "I think this should be `swarm.SectionSize * 2 + swarm.EncryptedHashSize`.", "reference": "could you please explain a bit where these numbers come from? for example: why is there no `swarm.EncryptedSectionSize`?" }, { "prediction": "I'm not sure this is the right type for this function. I think it should be `string`.", "reference": "s/object content/blob object/ (for consistency with the `Size` docs)" }, { "prediction": "I'm not sure this is the right place to do this. It's a bit of a hack, but I think it's fine to leave it as is.", "reference": "Rather than deleting this entirely, could we just emit it as a `warn` or `info` log line?" }, { "prediction": "I think this should be `%s_%s_%s`", "reference": "Is there a chance of this being a BC break of somekind? I.e. what if an old instance of Caddy is running in a cluster with a newer one?" }, { "prediction": "I think this should be `return num_rows`", "reference": "Thanks for this... is this the only place where the rollback is needed? Are there others?" }, { "prediction": "Why did this change?", "reference": "Should this also be a pointer? What happens if there are no BLS messages? I guess that's what this test is exercising, and Lotus also uses a non-pointer here." }, { "prediction": "I'm not sure if this is the right place to put perr in the precondition, or if it's the right place to put perr in the precondition. If it's the right place to put perr in the precondition, I think it's better to leave perr in the precondition.", "reference": "This was definitely a subtle bug right here." }, { "prediction": "I'm not sure if this is the right place for this method, but it seems like it should be `@secondary_emails = fetch_email_responses.select { |hsh|!hsh['primary'] && hsh['verified'] }`", "reference": "If this method gets all the emails, it should be named appropriately. **all_emails** or just **emails**." }, { "prediction": "Why did this change?", "reference": "Can we still random, but if we randomly get a port is used before, we randomly pick again?" }, { "prediction": "I'm not sure if this should be passed to the constructor, but I think it would be better to pass `create_no_window=False` to the constructor.", "reference": "I would rather no have this as a `kwarg` as it encourages \"growth\" which lead to an unweildy constructor in other classes. Let's add a method or property to take care of this instead as I think it's usage is going to be quite low." }, { "prediction": "I'm not sure if we should make this a private method, since it's only used in the `protected` methods of the `Gsa18f` class. I'm not sure if we should make this a private method.", "reference": "what if a purchaser is also an approver? or would that not happen?" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Not sure why this change. You forgot to handle the case where the user has dynamic fees disabled and there are no fee estimates available. He should be able to sweep none-the-less (as he is using static fees anyway). The line with `config.fee_per_kb()` below, that you have deleted, handled that." }, { "prediction": "I'm not sure if this belongs in the `Conditi` package. I think it should be in the `AuditLogsSourceStatus` package.", "reference": "sorry, I wasn't familiar with this TopLevelCondition... What it would be in this case? The AuditsLogReady condition?" }, { "prediction": "I'm not sure if this is the right place to allocate `inputCache`. I'm not sure if it's the right place to allocate `inputCache` but if it's the right place to allocate `inputCache`, then I think it's better to just allocate `inputCache` here.", "reference": "Where does the `alloc` field get set?" }, { "prediction": "I think this should be `int64` instead of `int64`.", "reference": "looks expensive to do it on each query" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's the right place to put it.", "reference": "@rhyolight -- but weren't we supposed to be standardizing on using underscores in file names (versus camelcase)?" }, { "prediction": "This is a bit of a nitpick, but `_unloaded.count` and `_unloaded.length` are equivalent.", "reference": "Can this simply call `in_memory.empty?`?" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "The styling/wording here probably needs some thought. It's more of a placeholder." }, { "prediction": "I'm not sure if this is the right place to put this route, but it seems like it should be `password_reset_confirm` instead of `password_resets`.", "reference": "Using a plural route helps in detecting the path automatically for `= form_for @password_reset`." }, { "prediction": "I'm not sure if this is a good thing to do, but I think it's better to use `inspect` instead of `eachAsync`.", "reference": "Is `metadata` required on all tests? I actually just removed the metadata field entirely from a few tests in my PR." }, { "prediction": "I think this should be `\"of\" + from.toPath()` instead of `\"of\" + from.toPath()`", "reference": "seems reasonable to also want to include the 'to' location?" }, { "prediction": "I think this should be `final` instead of `final`.", "reference": "I don't think we need to necessarily check if that returned true or not, we should just remove the shutdown hook. Since nothing would check or do anything with this flag anyways." }, { "prediction": "I think this should be `const err error = c.clientset.OpenebsV1alpha1().CStorVolumePolicies(getNamespace()).Get(policyName, metav1.GetOptions{})`", "reference": "Better to push getting policy details into a func we can reuse later." }, { "prediction": "I'm not sure if this is the right place to put Start/Stop. I'm not sure if this is the right place to put Start/Stop.", "reference": "optional: while there's nothing to do, a good way to catch bugs (where we use an outbound without calling `Start`) might be to have this outbound verify that `Start` is called before `Call` or `Stop`" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Not a blocker by any means, but I think there is value in keeping the local imports in a separate group." }, { "prediction": "I think this test should be moved to `test/test.go`.", "reference": "nit - I would test the error message as well. For panic, you might need to see if the stack contains the error message, instead of equaling." }, { "prediction": "I'm not sure this is the right fix. The `WaitForInstancesStopped` and `WaitForInstancesSignal` fields are only used in the `default` case, so I'm not sure if this is the right fix. I'm not sure if this is the right fix, but I'm not sure if it's the right fix.", "reference": "Didn't we have specific logic for handling slices vs structs?" }, { "prediction": "I'm not sure if this is the right place to inject saylinks. I'm not sure if this is the right place to inject it.", "reference": "`c_str()` is not needed." }, { "prediction": "I'm not sure if this is the right place to handle this.", "reference": "The handler will be installed twice if you don't remove the below one." }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be called `getFixedDifficulty()` and `getEpochLengthActivationBlock()`.", "reference": "How about putting `epochLength` (or something like that) in place of `a` just to make it easier to read" }, { "prediction": "I think we can remove this now.", "reference": "Wouldn't this still fire afterwards if you created one called `pleasings`? or am I missing something?" }, { "prediction": "@keybase:private/jzila,kb_bot/kbp.git?", "reference": "I don't love this syntax; it doesn't match anything we're currently doing and it's not obvious. Why isn't this `/keybase/private/jzila,kb_bot/.kbfs_autogit/public/jzila/kbp.git`?" }, { "prediction": "I'm not sure this is the right thing to do here. It looks like `zipWith` is a `Queue>` and `zipWith` is a `ConcurrentLinkedQueue`. I'm not sure if `zipWith` is the right thing to do here.", "reference": "Does a type-hint work instead of casting? `return ofAll(toList(). zipWith(that, mapper));` (Probably not, just a question.)" }, { "prediction": "Why did you change this?", "reference": "Are these required?" }, { "prediction": "I don't think we need to do this. If the user restarts the client, the max control line will be reset.", "reference": "This is consistent for all clients that we will check yes? Seems like we should just use the singleton, maybe pass it to the parse function or since clients have a server pointer set it at server start and just access that way without locks?" }, { "prediction": "I don't think this is the right place for this, but I'm not sure if it's worth it.", "reference": "Note that this is a bug, that should be fixed on master. `DECIMAL_LITERAL` cannot match any token, because it's declared with a `#`." }, { "prediction": "nats-server imports should be grouped with `nats-server/v2/server/pse`", "reference": "Don't need extra line here." }, { "prediction": "I think this is a bug fix. The `_useNonZeroGasPrice` parameter is set to `false` when `_useNonZeroGasPrice` is set to `true`, but `_useNonZeroGasPrice` is set to `false`.", "reference": "For the first look, this change is strange. Were we passing these tests before?" }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure if this is the best way to do it.", "reference": "On Windows, doesn't `os.Args[0]` include the `.exe`? What if you run the program like `caddy.exe`?" }, { "prediction": "I'm not sure this is the right thing to do here. The `ConsumeConfig` and `ProvideConfig` methods are only used in `OpenvpnConfigNegotiator` and `OpenvpnConfigNegotiator`. I'm not sure if `ConsumeConfig` and `ProvideConfig` are the right thing to do here. If `ProvideConfig` and `ProvideConfig` are the right thing to do, then I'm not sure if `ConsumeConfig` and `ProvideConfig` are the right thing to do here. If `ProvideConfig` and `ProvideConfig` are the right thing to do, then `ConsumeConfig` and `ProvideConfig` are the right thing to do, then `ProvideConfig` and `ProvideConfig` are the right thing to do. If `ProvideConfig` and `ProvideConfig` are the right thing to do, then `ConsumeConfig` and `ProvideConfig` are the right thing to do.", "reference": "I don't see anywhere where `ServiceConfiguration` interface implementation would return any kind of error. Not sure if its needed, but we could ALWAYS return a valid 'pseudo' configuration without possibility of error." }, { "prediction": "I don't think we need to check that we don't care which form of line break is used. I think we should check that we don't care which form of line break is used.", "reference": "Do we actually want to split on `\\r`? I thought that the \"newline sequence\" was only `\\r\\n` on windows." }, { "prediction": "I'm not sure if this is correct. The `ttype->is_list()` and `ttype->is_set()` checks for `ttype->is_list()` and `ttype->is_set()` checks for `ttype->is_list()` and `ttype->is_set()` checks for `ttype->is_list()` and `ttype->is_set()` checks for `ttype->is_list()` and `ttype->is_set()` checks for `ttype->is_list()` and `ttype->is_set()` checks for `ttype->is_list()` and `ttype->is_set()` checks for `ttype->is_list()` and `ttype->is_set()` checks for `ttype->is_list()` and `ttype->is_set()` checks for `ttype->is_list()` and `ttype->is_set()` checks for `ttype->is_list()` and `ttype->is_set()` checks for `ttype->is_list()` and `ttype->", "reference": "Nit: these lines are duplicated from above. They can be refactored by setting etype in a conditional and putting 282 and 283 below that." }, { "prediction": "I think this should be `s.Noticef(\"Server Exiting..\")`", "reference": "I would do an s.Notice(\"Initiating Shutdown...\") then after Shutdown() do the original Server Exiting." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to log the time left to claim a refund in the `if (!deposit.CanClaimRefund(now)) {` block.", "reference": "Not sure with how many seconds on average are we dealing with but maybe it's better to have hh:mm:ss format in logs - you can make it with `TimeSpan.FromSeconds(seconds).ToString()`" }, { "prediction": "I think we should also check if `apm.Platform.AWS` is not nil.", "reference": "Why is this required? The user should be able to omit it and use the defaults." }, { "prediction": "This should be `_(\"Handle mouse control from other &applications\")`.", "reference": "I don't think the naming of this setting conveys what it does. Maybe something like \"Ignore mouse movement triggered by other applications\"" }, { "prediction": "Should this be `CollectorUri.ToString()` instead of `CollectorUri.ToString()`?", "reference": "Didn't went with backwards compatibility since it's still in beta" }, { "prediction": "I'm not sure if this is the correct way to do this. The fragmentMol() function is supposed to return a boolean that is true if the bondsToCut is invalid, and the fragmentMol() function is supposed to return a boolean that is true if the bondsToCut is invalid. I'm not sure if this is the correct way to do this.", "reference": "Perhaps bondsToCut must be None or non empty." }, { "prediction": "I think this should be `chartType` instead of `chartType`.", "reference": "See above, we could avoid adding that (same applies below)." }, { "prediction": "I don't think you need to cast `long` to `ConnectionType` here.", "reference": "should use Number instead of Long" }, { "prediction": "I'm not sure if this is a good thing to do. I'm not sure if it's a good thing to do, but I'm not sure if it's a good thing to do, and if it's a good thing to do, I'd like to hear your thoughts on this.", "reference": "Should the rest of the file be updated to use `expect` or should this test use the same format as the rest of the tests?" }, { "prediction": "I think this should be `DNSZoneUpdated` instead of `DNSZoneUpdated`", "reference": "How would you feel about a different approach where the `DeleteAWSRecordSets` gets passed the zone ID and zone name rather than the `DNSZone`?" }, { "prediction": "I think this should be `prob=0.5`.", "reference": "it seems `random.uniform(0, 1)` similar to `random.randint(2)`, all have 1/2 probabilities." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, so I'm not sure if this is the right place to put it.", "reference": "Added to support EBS volume creation, used like this: blockDeviceMap = [] blockDeviceMap.append( {'DeviceName':'/dev/sdc', 'VirtualName' : 'ephemeral0'}) blockDeviceMap.append( {'DeviceName':'/dev/sdh', 'Ebs': {'VolumeSize' : '100'} })" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a test that tests the Mysterium API.", "reference": "We shouldn't depend that url is `mysterium` - it can be just `testRequestURL`. Also, `URL` has to be upper-case." }, { "prediction": "I think this lock should be done in `PreCallValidateGetPhysicalDeviceImageFormatProperties2`", "reference": "We could delay this look-up now and only do it in the non-skip case. I suspect this is true for (almost) all of the top-level refactored functions." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Typically, to be simple, we could reserve a const length space." }, { "prediction": "Why do we need to import Builder here?", "reference": "Need to add a license and copyright header to each file." }, { "prediction": "I'm not sure if we should use `hidden_field_tag` here, since it's not used anywhere else.", "reference": "If I'm not mistaken, this line is now outside of the `if signed_out?` block, right? Any concerns about that? Seems odd that we wouldn't accept coupons for signed in users, but I want to make sure we understand the ramifications of this change." }, { "prediction": "I think this should be `owner.getDataSource()` instead of `owner.getDataSource()`.", "reference": "Please remove the unused import of DBPDataSource." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I think you should add some extra message here saying it was originally sent as an error, for diagnosability." }, { "prediction": "I'm not sure this is the right test. I'm not sure if it's the right test.", "reference": "I believe that all the changes in this file are not valid for v1.2 of the Avalon toolkit." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "we cannot change the behavior of the processRole - that method is used in lots of places. this call must be done only in the method where templates are being handled." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I think we probably want to follow the same naming convention that we do with `execAgentConfigFileNameTemplate` (using the SHA in the name of the file). This file might be confgurable in the future and when that happens we will be ready. Plus it's pretty much the same code that we already use for the config file." }, { "prediction": "I'm not sure this is the right place to do this. If the user sets manual wall time at some time, then the manager will send the amount of time left to the worker.", "reference": "If following above, this would be: end_time = time(0) + manual_wall_time_option, which is simpler. Also, make the check manual_wall_time_option > 0, otherwise negative times would terminate the worker right away." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "If we aren't using `errors.Is` we don't need the `Unwrap` as we have `Cause` which is what pkg/errors uses." }, { "prediction": "Remove empty line.", "reference": "redundant empty line" }, { "prediction": "I'm not sure if this is a good idea.", "reference": "The config.lua.dist still shows `houseAccountOwner`" }, { "prediction": "Why is this removed?", "reference": "I think we can leave this import and use non FQNs in the code." }, { "prediction": "I'm not sure this is the right thing to do here. `WebDriver.switchTo().window(nameOrHandle)` will always switch to the given window.", "reference": "I'd rather just send the parameter twice than break encapsulation here. There's already precedence with webelement IDs" }, { "prediction": "Why is this removed?", "reference": "We should probably exit early if there are no items in the list." }, { "prediction": "I think this should be `missing-param-doc, missing-type-doc`.", "reference": "As we can't use old names we should warn in whats new for 2.12 that this can happen." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to put this in `bincover/bincover.go`.", "reference": "good job finding this package, I hope it's actively maintained" }, { "prediction": "This is the only change that I've made to this PR.", "reference": "same changes as in hipEnvVar.cpp" }, { "prediction": "This should be `200809L`.", "reference": "NULL check should be before this line" }, { "prediction": "I'm not sure this is the right fix. The `null` check should be removed.", "reference": "Seems like client.getlocalplayer is being called a lot, would it be worth it to do final Player player = client.getlocalplayer?" }, { "prediction": "I'm not sure why this change is needed. It seems that `op_data[0]` and `op_data[1]` are the same thing, and `op_data[2]` and `op_data[3]` are the same thing.", "reference": "this change is not correct. 3-valued boolean logic requires that comparison of null to another value during intermediate operations should make the result null and not false. The place where null becomes false is at the very end of that expression. As an example, with the changed logic, this expression will return incorrect result. select * from t where not (a = 1); if a is null, the where predicate will become true which is incorrect. With the original 3-valued result, the where pred will become false and not return any result." }, { "prediction": "I think this should be `\"Detected-Locale\"` instead of `\"Detected-Locale\"`", "reference": "This can already be done with `{>Detected-Locale}`, why make another way to do it?" }, { "prediction": "I think it would be better to use `if (fmd.isRestricted() == true) {` instead of `break;`", "reference": "These changes just match the logic update in the next method that was done previously - to assure the whole set of files is valid rather than that there is at least one that would be changed." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to use `w.WriteHeader(http.StatusContinue)` instead of `w.(http.Flusher)`.", "reference": "Why setting the status to Continue as at the end it is written OK? Status should be written only once." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Howdy! You'll want to do this same thing (replace `hydrateParamCache` with `proofs/bin/paramcache` and then do the copy) in `smartdeps`, too." }, { "prediction": "I'm not sure if this is the right help text for this command.", "reference": "nit : Remove the extra lines" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have this as a separate field in the Options struct, and then have the client-advertise field set to `false` when the server is not listening.", "reference": "Instead of adding a new option, I wonder if we could decide on a port that would disable listening. For instance, port set to 0 means that we use default port 4222. Setting to -1 means that we let OS pick a random free port. We could say anything negative lower than -1 (say -2) means disabled? You don't have to update the PR for that, just wondering if that would be better or not and let's see what others think." }, { "prediction": "I think this should be `report.check_name.startswith('clang-diagnostic-')`", "reference": "Should we add some default case if non of the above return some analyzer name? Something like `unknown analyzer`?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this, so I'm not sure if this is the right place to do it.", "reference": "Nvm. The original version is best... *hides from the angry rubocop*" }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "we can drop this and use the returned body above, right?" }, { "prediction": "Travis is using `$TRAVIS_BUILD_DIR` instead of `$TRAVIS_BUILD_DIR`.", "reference": "Is echoing enabled on purpose here or it's a remainder of your tests?" }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do it, but I'm not sure if this is the right place to do it.", "reference": "I think this should just be worked into the next message and follow the verbosity of it." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if `urlParams` should be passed to `getServiceAccountSiteURL` or `getAdvancedAccountSiteURL`?", "reference": "This also needs to be reverted." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to have a `TLFJournalPausedFromConflict` or a `TLFJournalPausedFromSignal` flag. If it's a good idea to have a `TLFJournalPausedFromConflict` flag, I think it's a good idea to have a `TLFJournalPausedFromSignal` flag. If it's a good idea to have a `TLFJournalPausedFromConflict` flag, then I think it's a good idea to have a `TLFJournalPausedFromSignal` flag. If it's a good idea to have a `TLFJournalPausedFromConflict` flag, then I think it's a good idea to have a `TLFJournalPausedFromSignal` flag. If it's a good idea to have a `TLFJournalPausedFromConflict` flag, then I think it's a good idea to have a `TLFJournalPausedFromSignal` flag.", "reference": "`FromCommand` seems to fit better, since with my suggestion below, all pauses will raise a signal on `needPause`. Also maybe the format `journalPauseConflict` and `journalPauseCommand` is better, since the journal isn't necessarily paused yet once we raise a pause signal." }, { "prediction": "I'm not sure this is the right way to check for deadlines.", "reference": "This is fix from another PR #120." }, { "prediction": "I don't think we need this.", "reference": "I *think* it makes sense to try the more general dictionary (i.e standard python literals) format first. Might be other implications I haven't figured out yet. Then again, ``MultiInterface`` is pretty new so it probably doesn't matter wrt backwards compatibility." }, { "prediction": "I think this should be `$this->getContainer()->get('sonata.classification.manager.category')`", "reference": "lol that variable name" }, { "prediction": "I'm not sure if this is the right place to put these constants.", "reference": "Upper case is reserved for our versions of top-level chains i.e. the `FORWARD` chain jumps to `cali-FORWARD`." }, { "prediction": "Why not just `wallet->store.representative (node.wallets.tx_begin_read ()));`?", "reference": "json_handler::receive () has already started a read tx that can be used here right?" }, { "prediction": "Can we use `global._googlesitekitBaseData = global._googlesitekitBaseData || {};` instead?", "reference": "We should add the definition to `.storybook/config.js` as well." }, { "prediction": "I don't think it's necessary to check `op_data[1] == -1` here.", "reference": "I don't believe this is correct. Consider the query, \"select a from t1x where not(b = 0 and c = 0)\". When B and C are both null, both equal predicates evaluate to null, and the AND evaluates to null. The NOT then also evaluates to null. The WHERE clause should treat the result of the NOT as false. But with this fix, the result of the AND will be false, making the NOT true. There needs to be three cases here for ITM_AND: If the first operand is false, then the AND is false. If the first operand is true, then the result is the second operand. If the first operand is null, then if the second operand is false, the result is false otherwise the result is null. Similar logic needs to be added to the ITM_OR case." }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to use `Math.max(0, i)` instead of `Math.min(0, i)`", "reference": "`bound/2` is generally the previous bound that we tested, except when `bound` is equal to 1. It won't break in that case since callers are not supposed to call advance on a target that is lte the current doc ID, but this might still make room for bugs?" }, { "prediction": "I don't think we need this.", "reference": "Can we remove `raw`, `fullResult`, and `serializeFunctions`?" }, { "prediction": "I'm not sure if this is the right place to put this YAML tag, but I think it would be better to have it in the `pkg/config/tls.yaml` instead of in the `pkg/config/tls.yaml` file.", "reference": "[Nit] I don't have a proposed suggestion, but security seems too generic of a name here." }, { "prediction": "I don't think we need to do this in `gen` and `ninja` since we're already doing this in `build` and `ninja`?", "reference": "do we need to force a buildConfig here? I know it's in muon, but that might actually be making things harder for people" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this.", "reference": "Shouldn't need this-> here." }, { "prediction": "I don't think we need this file anymore.", "reference": "Why delete this?" }, { "prediction": "I don't think this is the right place to do this. `applyRef` should only be called if `typeof ref=='function'` and `typeof ref=='object'` and `typeof ref=='function'` and `typeof ref=='object'` should always be true.", "reference": "This line is here to be compatible with the current way `refs` work, right?" }, { "prediction": "I don't think we should be using BigDecimal here. We should use `Number` instead of `Number.to_currency(value)`.", "reference": "Hmm, I wonder if we can safely assume all decimals should be displayed as $$...ok for now I suppose." }, { "prediction": "This is a bit of a nitpick, but I think it would be nice to have a test for `current_example` instead of `example 1` and `example 2`.", "reference": "Good spec :). Very clear and easy to see what it's doing." }, { "prediction": "I'm not sure if this is the right place for this method. I think it should be `orgs_by_thirty_day_commit_volume` instead of `orgs_by_thirty_day_commit_volume`", "reference": "Shouldn't we need to sanitize the `params[:filter]` from a defined expected values?" }, { "prediction": "I'm not sure this is consistent with the ECS API, but I'm not sure it's consistent with what we're doing here.", "reference": "Should we bite the bullet and poll for the full 5 minutes that AWS recommends? If we do that, we'll probably want to leave some kind of breadcrumb in the event log to let users know why it's taking so long to launch." }, { "prediction": "I think we can remove the `MoreObjects` class.", "reference": "Guava changed `Objects` -> `MoreObjects`" }, { "prediction": "I don't think this is needed.", "reference": "All these hand generated mocks can be deleted. I think we already moved everything to gomocks." }, { "prediction": "I think this should be `this.get('_id').equals(doc.get('_id'));`", "reference": "what about string/number etc _ids? this will fail." }, { "prediction": "I'm not sure why this change is needed.", "reference": "Looks like the test had a bug prior to this." }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's worth it.", "reference": "Should start with joplin://x-callback-url/. Also maybe create a helper function to check if a url is valid?" }, { "prediction": "why did you change this?", "reference": "PR works great. Just out of curiosity: why all the id changes?" }, { "prediction": "I'm not sure if this is a good change.", "reference": "config map first value is wrong, it aims to define the \"value type\", that value will lead to an undefined behavior." }, { "prediction": "I don't think we need this.", "reference": "This doesn't make sense. The thing being constructed is a blob.Bucket. \"Constructing\" the pointer is trivial." }, { "prediction": "I don't think this is needed.", "reference": "Outch. A configuration/parsing refactor is on the radar but this seems more pressing." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to use `moment.js` instead of `moment.js`.", "reference": "Unfortunately this won't work when the \"All time\" range is chosen because `memberStats.days` will be `\"all-time\"` and not a number. What you could do instead is to use `memberStats.stats` as the dependent key and use `Object.keys(memberStats.stats.total_on_date)[0]` to grab the first date in the range and build the label from there." }, { "prediction": "Metrics/CyclomaticComplexity: Cyclomatic complexity for sign_in_as_user_with_subscription is too high. [7/6]
    Metrics/PerceivedComplexity: Perceived complexity for sign_in_as_user_with_subscription is too high. [8/7]", "reference": "Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I'm not sure why this change is needed.", "reference": "We need this left in as `axe.configure` is for the top-level page `axe` and we still need to configure the axe script inside the iframe as well (so both have to be configured)," }, { "prediction": "What kind of change does this rule cause?", "reference": "is this rule serviceimpacting? I'm thinking it's mostly around the modeling of pageable in the swagger, thoughts?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "same here, replace `ks` and `kc` to something more related to Source." }, { "prediction": "I think this should be `MvvmCross.Platform.Converter` instead of `MvvmCross.Platform.Converters`.", "reference": "We should probably ask here if `dict` contains a key with the appropiate value, and leave a trace in case it doesn't, to make it easier to debug for developers." }, { "prediction": "Align the elements of a hash literal if they span more than one line.
    Space inside } missing.", "reference": "this should only be indented 2 spaces" }, { "prediction": "I think this should be `t.Errorf(\"failed to load env config, %v\", err)`", "reference": "Nit, these Err not nils should be `t.Fatalf` not error. We want to the test to stop if this error occurs." }, { "prediction": "I think it would be better to have a `Boolean downloadOriginalTrackerEnabled` property that indicates whether the original tracker is enabled or not. I think it would be better to have a `Boolean downloadOriginalTrackerEnabled` property that indicates whether the original tracker is enabled or not.", "reference": "shouldn't every `Boolean` in this pr be `boolean`?" }, { "prediction": "I don't think this is needed.", "reference": "This `if` is not necessary" }, { "prediction": "I don't think this is the right place for this action. It's a generic action, not a generic one.", "reference": "Are you using this anywhere? (I couldn't find it.)" }, { "prediction": "I think this should be `s.w.recordStepTime(s.name, startTime, endTime)` instead of `s.w.recordStepTime(s.name, startTime, endTime)`", "reference": "Can be inlined" }, { "prediction": "Line is too long. [89/80]", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I don't think we need this file.", "reference": "Please use `kinto.core.utils.json`" }, { "prediction": "I'm not sure if this is the right error message.", "reference": "Since we're returning the error with the same content, we don't need to log it here; it will get bubbled up and emitted that way." }, { "prediction": "I'm not sure if this is the right way to write this test. I'm not sure if this is the right way to write this test.", "reference": "What happens if someone import `typing` and thus uses `@typing.final` instead?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "Better remove this dependency altogether" }, { "prediction": "I don't think this is needed. The h2o_http2_wbuf_buffer_prototype should be declared in the h2o_http2_wbuf_buffer_prototype.h file.", "reference": "Could you please move the declaration to httpclient.h? I think we have a consistent pattern in declaring global variables in header files." }, { "prediction": "I'm not sure about this change, but I think it's a good idea to change the order of the IDs in the `DataFile` to match the order of the entries in the `ManifestEntry` struct.", "reference": "We will also need to add this to the spec." }, { "prediction": "I think this should be `ledgercore.MakeStateDelta(&hdr, prevTimestamp)` instead of `MakeStateDelta(&hdr, prevTimestamp)`", "reference": "In startEvaluator, we have the paysetHint; we should use it to preinitialize the state delta allocation. The number of transactions and the deltas are typically growing in a linear fashion, so preallocating twice as much in the array initializer would be a good idea." }, { "prediction": "I'm not sure if this is the right place to put this method.", "reference": "we shouldn't add a bunch of static initializers 'everywhere' in the code. Probably just one would be good, during the construction of the 'RemoteWebDriver' class." }, { "prediction": "I'm not sure if this benchmark is worth it.", "reference": "Would it be possible to move the creation of the `new { Prop = (object)_value }` out of the benchmark? In the current version, the benchmark includes the cost of creating and serializing the object, while if possible it should be the cost of serialization only." }, { "prediction": "I don't think this is needed anymore.", "reference": "only dev and local" }, { "prediction": "I think this should be `nullable()`.", "reference": "This should not be nullable, instead it should be `->default(0);`" }, { "prediction": "nit: `selectColumns` should be a `ImmutableList.copyOf`", "reference": "What about `selectedColumns`? I believe it is frequently used throughout the project." }, { "prediction": "This field is not used anymore.", "reference": "I thought we switched the approach from a payload to boost attribute? Besides; it's not clear we need this toggle at all since the user could arrange for this behavior simply by having the new DelimitedBoost filter thing in the chain." }, { "prediction": "I think we should be able to remove the `self[:platform] =~ /cisco-5/` part.", "reference": "the previous code used 'export' when platform is cisco-5, presumably because 'env' cannot be used to load variables? I have no idea if that's the case but this env vs export logic is not here" }, { "prediction": "I'm not sure if this should be an optional, or if it's just a string, it should be an `omitempty` string.", "reference": "I'm wondering if we need to add some type of validation here that the SecretCount!= 0... Or do we think it would be valid to have a SecretCount of 0?" }, { "prediction": "I don't think this is the right fix.", "reference": "This test is being skipped. I unskipped it, and it failed in the same way for both `slaveOk: false` and `secondaryOk: false`. I'm not sure how else to test this broken test." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "I don't believe that we need a pointer to an interface for the `to` side of this since we're just assigning a value to the to field." }, { "prediction": "I think this should be `count=None` instead of `count=None`.", "reference": "No blank line after the docstring." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "nit: move this to the group below." }, { "prediction": "Why not just use `UInt32` instead of `ULng32`?", "reference": "This is fine, but maybe we should change the variable name to \"bufferSize_as_uint\"? Or \"...uint32\"?" }, { "prediction": "Use the new Ruby 1.9 hash syntax.
    Use the new Ruby 1.9 hash syntax.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Use snake_case for variable names." }, { "prediction": "I think this should be marked as `[TestMethod(typeof(SkylineTestA))]`", "reference": "Obviously, don't merge this to master." }, { "prediction": "I think this test should be `expect(reporter).to have_received(:report).with(0)`", "reference": "Nearly there! This should assert on the output, take the result of \"start\" and \"finish\" as an example :)" }, { "prediction": "I think this should be `maxMessages` instead of `maxMessages`.", "reference": "This loop is going to burn CPU if len(s.q) == 0. Maybe a small sleep?" }, { "prediction": "Please revert this change.", "reference": "can you give a reason why session should be contained in RegionManager?" }, { "prediction": "I think this should be `assert.Exactly(t, originalSignerID, \"Original signer should be extracted\")`", "reference": "You are comparing two signerIDs here, error message should be \"Signers should match\"" }, { "prediction": "I'm not sure if we should lock the RWMutex here. I'm not sure if we should lock the RWMutex here.", "reference": "Who's acquiring this lock for writes?" }, { "prediction": "I think this should be `publicKey` instead of `publicKey`.", "reference": "This throws a linter error, don't use object creation for side effects. I feel like it's kinda messed up that the errors are thrown by the constructor and not that the constructor will throw them" }, { "prediction": "I'm not sure this is the right way to test this, but I think it would be better to test the result of `Trail.by_topic.map(&:topic_name)`.", "reference": "Should there be a `trail.topic_name` method so we don't annoy Demeter?" }, { "prediction": "I'm not sure this is the right place for this function. I'm not sure if it's a good idea to change the signature of this function, or if it's a good idea to change the signature of the function. I'm not sure if it's a good idea to change the signature of this function, or if it's a good idea to change the signature of the function.", "reference": "instead of passing \"None\" it would be more readable to create a constant e.g. TEAM_PUBLIC = None and then call build_package(TEAM_PUBLIC,...)" }, { "prediction": "Please move this file to `Psalm/Internal` directory.", "reference": "Would it make sense to include this file via composer files-autoloading instead?" }, { "prediction": "I think this should be `private final String elementText = element.getText();` instead of `private String elementText = null;`", "reference": "Each `ExpectedCondition` implements `java.util.Function` These are expected to be stateless. This condition will leak previous `elementText` on the second usage, which doesn't seem ideal." }, { "prediction": "I'm not sure if this is the right place to put this import. I'm not sure if this is the right place to put this import.", "reference": "Extra newline here. Thanks for moving it under the `testing` import though. This just needs to be grouped with the other imports below it." }, { "prediction": "I don't think this is the right way to do this, but I don't think this is the right way to do it.", "reference": "Should we ignore case when doing the comparison?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "The same `ifdef` should apply to `#include ` line 14" }, { "prediction": "I don't think this is the right place to put this.", "reference": "We're instrumenting a static method, so there's no instance in this case. `diagnosticSource` is the first argument." }, { "prediction": "I don't think this should be set to `false`.", "reference": "I feel like this belongs in `RecipientPresenter` (which should really be `MetadataPresenter`), but I suppose having it next to requestReadReceipt makes sense as well. feel free to leave as is." }, { "prediction": "I don't think we need to change this.", "reference": "Let's go back to 1.4.0 until the release is being prepared." }, { "prediction": "(style) code indent should use tabs where possible (style) please, no space before tabs", "reference": "I would avoid the term \"errno\" as it implies the glibc variable. Use error_code or status or something." }, { "prediction": "I'm not sure if this is the right place to put dependencies.", "reference": "@abhinav @kriskowal what do you think about putting the handler on `d`?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's a good idea to have a list of tags in a `backupOptions` struct, but I'm not sure if it's a good idea to have a list of tags in a `backupOptions` struct, or if it's a good idea to have a list of tags in a `backupOptions` struct. If it's a good idea to have a list of tags in a `backupOptions` struct, I think it's a good idea to have a list of tags in a `backupOptions` struct.", "reference": "Why `restic.TagLists` and no `restic.TagList`? Because I'm using `restic.TagList` here and using `restic.TagLists` is a lot of changes" }, { "prediction": "I think this should be `expected: context.Canceled` instead of `expected: context.Canceled`", "reference": "An hour seems a significant amount of time to wait for within a test, does it need to be that long?" }, { "prediction": "I don't think we need to pass `tlsClientConfig` as an argument to `dial`.", "reference": "Nit: (newish to golang, don't hesitate to tell me I'm wrong here, but...) I'd have written this code, just for readability: keepAlive := false return d.dial(hostName, tlsClientConfig, keepAlive)... or even return d.dial(hostName, tlsClientConfig, false) // keepAlive=false Personally I think Golang should have included named args; I think it's one of the things python got right." }, { "prediction": "I don't think we need this, it's already in the `Configuration` namespace.", "reference": "I don't think it would cause any version conflict, but I'd feel safer if you declared it last, so that the numerical id of the existing integrations don't change" }, { "prediction": "I'm not sure if this is the right place to put this message.", "reference": "Can we provide some more useful actionable info here? `fmt.Sprintf(\"The certificate request could not be completed due to invalid request options: %s\", req.Status.Conditions[InvalidRequestCondition].Message)`" }, { "prediction": "This should be `Port: 14014, // TODO: port 15014 is used for testing`", "reference": "yeah, can change to 8545" }, { "prediction": "I don't think we need this anymore.", "reference": "As far as I can see you're not rollbacking transaction anywhere. This could potentially cause further issues(and very hard to debug ones) with not synchronized transactions between message handling. Is the transaction required in this place anyway? You seem only to be fetching data here. ack method is performing some updates so it makes sense" }, { "prediction": "I don't think we need this anymore.", "reference": "What's the meaning of null URIEndpointObject?" }, { "prediction": "I think this should be `DEFAULT_PORT` instead of `DEFAULT_LOG_LEVEL`.", "reference": "Why did you remove the time? It can be useful if some actions are ran in jobs?" }, { "prediction": "Why did you change this?", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I'm not sure this is the right place to put these imports.", "reference": "What the reason to change imports?" }, { "prediction": "I think this should be `super.failureDetection(e)` instead of `super.failureDetection(e)`", "reference": "Nit: continuation indents are 2 indents / 4 spaces." }, { "prediction": "I don't think this is necessary. The `HTTPSampler.port` is used for the port portion of the URL, not the netloc portion of the URL.", "reference": "You can use `netloc.rsplit(\":\")` for that." }, { "prediction": "This should be `w.Info(\"configuration file for Image Watcher not found\", repoCfg.RepoID)`.", "reference": "nits, I don't get the point of this change" }, { "prediction": "Can you add a license header to the `package.json` file?", "reference": "`warningPrefix` looks the same on both platforms, we could move it up to `log.go`." }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to put it in a `Opentracing` struct, so that we don't have to duplicate the logic in `Opentracing` and `Opentracing` in the `Config` struct.", "reference": "What's the motivation behind switching to plural here? I think we want singular cc @abhinav" }, { "prediction": "I'm not sure if this is the right place for this function.", "reference": "What do you think about renaming this method `FromErrorAndCode(code Code, err error) *Status`? One of the benefits is that it will be consistent with the naming of `func FromError(err error) *Status {` which does something almost similar." }, { "prediction": "I think this should be `DefaultValue = null`.", "reference": "we cannot state that by default the same value is used if we stopped using null - it would suggest that when you change JSON RPC and leave WS port default then they would be same." }, { "prediction": "I'm not sure why we need to pass `nil` to `Start`. I'm not sure why we need to pass `nil` to `Start`. I'm not sure why we need to pass `nil` to `Start`.", "reference": "I'm still not convinced dropping Chrome logs is the right thing to do, but if you insist" }, { "prediction": "I think this should be \"Unable to get the name\" instead of \"Unable to get the name\".", "reference": "It would be helpful to include some reasoning here. With the reflection model, it is often the case that names are not available." }, { "prediction": "I'm not sure if this is the right place to set this.", "reference": "Instead of setting this here, why not have the flag call in the init function set `caddy.LogDestination` directly, and switch on that?" }, { "prediction": "I think this should be `@wordpress/i18n`", "reference": "This belongs under \"WordPress dependencies\"." }, { "prediction": "I don't think we need this #if!NET452", "reference": "Was there an issue on `net452`?" }, { "prediction": "Should this be `if (_platformNotSupportedExceptionMessage.StartsWith(\"SR.\") && (_platformNotSupportedExceptionMessage.StartsWith(\"Default\"))`?", "reference": "Another option is to always write it without quotes. I always have to use SR. And why not?" }, { "prediction": "I don't think this is needed anymore.", "reference": "This should use the `merge` function added in #473 instead of introducing a new dependency" }, { "prediction": "I'm not sure this is the right place to put this check.", "reference": "Shouldn't this say \"a binding with descriptor type VK_DESCRIPTOR_TYPE_MUTABLE_VALVE\"" }, { "prediction": "This should be `static const struct wlr_tablet_tool_v2_grab_interface = {.name = \"wp_tablet_tool-v2_grab\", };`", "reference": "This variable name should probably contain `grab`" }, { "prediction": "This should be `projects/dspace/%s/ALL/ALL`", "reference": "Which initializer should we be using for open_aire? The one in `external_apis` or this one in `initializers`?" }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's the right place to put this.", "reference": "remove todo on line 28?" }, { "prediction": "I think this should be `_backbone_cfg` instead of `_backbone`.", "reference": "clean unnecessary arguments." }, { "prediction": "I'm not sure if this is a terminal flow status or a crashed executor/container.", "reference": "Could the name of the status be confusing to users? It says the execution stopped but is it a temporary stop? Will it continue to run at some point? To me the name does not suggest a final status but a transition one. WDYT @sshardool @jakhani @djaiswal83 @aditya1105" }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's the right place to put this.", "reference": "Since we created a Provisioners directory, can we do the same with the tests, and follow the same structure as the code?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "We don't need that one anymore?" }, { "prediction": "I don't think this is needed.", "reference": "Since we're determining the local node's host info in the `Store()` init, we need to import the `STORE` object here. Is this OK, or should I be determining the host info earlier. (When parsing settings?)" }, { "prediction": "` {@link #getKind()} as a cue`", "reference": "I think, there is no `#getKind()` method anymore, is it? The approach would now be testing with instanceof. Or could we return a more specific type than JavaNode now?" }, { "prediction": "I think this should be ``", "reference": "can we localise these? not sure if we have easy access to a translator instance from `generic-provider-views`" }, { "prediction": "I'm not sure if this is a good idea. It's not a CDC identifier, it's just a string, and it's not really a CDC identifier. It's just a string, and it's not a CDC identifier, it's just a string, and it's not a CDC identifier, it's a CDC identifier.", "reference": "This is the VID from Adafruit. Doesn't Particle have a different VID? (CC @suda)." }, { "prediction": "I'm not sure this is the right place to do this. The `vStringTruncate` calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `vStringTruncate`, which calls `v", "reference": "The function is only used once, and this body is now only 1 call with the same args (e.g. basically an alias for `vStringTruncate`), it could probably be simply removed. But if you wanna keep the naming for clarity, it also sounds reasonable." }, { "prediction": "I'm not sure why this was removed.", "reference": "please change to `could not connect to peer: %s`. it is not relevant to say \"from kademlia\" in a warning" }, { "prediction": "I'm not sure if this is the right place to do this. If the timestamp is greater than zero, then this should be `return timestamp > 0? Value(time::TimeConversion::unixSecondsToDateTime(timestamp)) : Value::kEmpty;`", "reference": "Why need to remove this? Datetime has microseconds in fact." }, { "prediction": "I'm not sure this is the right place to use `testing.T`.", "reference": "What's up with this, isn't it nil? Why not use the real T value from the test function? @elcore @wmark" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "this feels weird" }, { "prediction": "Please add a comma after PREMERGE.", "reference": "I don't think this is the type of network we should be putting in our named networks." }, { "prediction": "Please use `Debug::is_open()` instead of `Debug::is_open()`.", "reference": "debug? I suspect this will be removed before merge?" }, { "prediction": "I think this should be removed.", "reference": "should this be here twice?" }, { "prediction": "I'm not sure why this is needed.", "reference": "`generate_special` - a meaningless name for me. Can we provide more detailed naming?" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "This isn't something you introduced in your changes, but the change makes more obvious to me that this test would be better as a unit test of some kind (probably a controller test). Testing a 404 is an edge case that probably doesn't need to be tested with all components in integration." }, { "prediction": "I think this should be `info` or `warn`.", "reference": "We chose `info` in the test code for obvious reasons. Changing to `finest` makes debugging harder and noisier." }, { "prediction": "I think this should be `REMOTE_HOST` instead of `REMOTE_HOST`", "reference": "any reason you're assigning to the local variable 'id' too?" }, { "prediction": "I'm not sure if this import is needed, but I think it should be `from molecule.validators import prettytable`", "reference": "Need to fix this import :)" }, { "prediction": "I think this should be `types.AccountActor{Code: types.AccountActorCodeCid}`", "reference": "sorry these tests suck so much we are working to kill them" }, { "prediction": "I'm not sure about this change, but I'm not sure if it's worth it. I'm not sure if it's worth it.", "reference": "Why not adjust `currentTime` to be in ms directly?" }, { "prediction": "(style) code indent should use tabs where possible (style) please, no space before tabs", "reference": "> restore, we find the matching spill for that restore which uses the same slot nit: Two separate sentences: separate with `.` or something besides `,`." }, { "prediction": "why is this removed?", "reference": "this flag not used" }, { "prediction": "Why not use `$profile->expirationDate?? null`?", "reference": "I don't think `?? null` works here... that's to ensure PHP doesn't throw an \"undefined\" error about `$profile->expirationDate`, but now the code is assuming that `$profile->expirationDate` will be set. Might be cleaner to do:
     $expiration = isset($profile->expirationDate)? $this->dateConverter->convertToDisplayDate(\"Y-m-d H:i\", $profile->expirationDate) : null; 
    And then assigning the `$expiration` value in the return array..." }, { "prediction": "I don't think this is needed, since we are already using `Vue.config.productionTip = true`", "reference": "An ENV should be used? Are you sure that the Vue examples are built in the production mode?" }, { "prediction": "`status` -> `status_time`?", "reference": "Nit: this should actually always be float since we convert it before we construct the namedtuple." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "The result of `FileUtils::fileType` could be saved, instead of calling twice." }, { "prediction": "I don't think we need to catch the exception here.", "reference": "Can you log the exception?" }, { "prediction": "I don't think this is needed.", "reference": "since this debug message is inside a plugin code, it should use flb_plg_debug(ctx->ins, \"...\"), on this case don't need the component prefix since the API will put it there automatically" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I also took advantage of the changes to change the Timestamps used in this notification from \"java.sql.Timestamp\" to \"com.yahoo.rdl.Timestamp\"." }, { "prediction": "Why did you change this?", "reference": "It would be nice all these tweaks to be configurable from cmd line, with sensible defaults" }, { "prediction": "I'm not sure this is the right fix.", "reference": "Why do we need this `check_same_thead` to be false? I feel a bit uncomfortable about this." }, { "prediction": "I think we should check that `CustomObject.prototype` is not a prototype.", "reference": "We should probably test with constructors which aren't in the schema, and functions which aren't constructors." }, { "prediction": "Is there a reason for this to be `char *` instead of `size_t`?", "reference": "this call doesn't work doesn't? I mean there doesn't seem to be an 2 argument allocate overload. Maybe arg_logical_size should just be defaulted to the arg_alloc_size thing. Or we should just report out physical allocation size instead of logical." }, { "prediction": "This should be `/opt/puppetlabs/bin/puppet`", "reference": "This winds up flipping the desired values. Looks like I gave you a bum steer @kevpl" }, { "prediction": "I'm not sure if this is the right place to put this in.", "reference": "nit: let's call our address ioAddr from now on" }, { "prediction": "I don't think this is the right place to do this.", "reference": "You're killing this \"else\" case here which currently flags an error when maxBoundDescriptorSets == 0." }, { "prediction": "Should this be `gboolean` instead of `gboolean`?", "reference": "Nitpick: I'd append `_cb` to the function name here to mark it as a callback. Otherwise it looks a bit like this will do the entire job of removing null checksum refs from a hash table." }, { "prediction": "I'm not sure about this change, but I think it would be better to just remove the `isView` field from the `tables` map and return `ImmutableList.copyOf(tables)` here.", "reference": "or you can use `filter(x =>!x.isView)`" }, { "prediction": "Why remove this line?", "reference": "Instead of NewBuffer on the line above, do NewReader to avoid having to wrap later." }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix or if it's the right fix.", "reference": "No need for this, as pylint already only turns things off for this function and it's needed for the entire function." }, { "prediction": "I think this is a bug fix.", "reference": "extra brownie points ( overall solution ): we've currently triple-encoding the payset - 1. we encode it to calculate the block size. 2. we encode it to calculate the commit hash ( either via flat, or as Merkle tree ). 3. we encode it as a whole for the purpose of preparing the proposal ( I know that this isn't always the case, but this case happens to be on the critical path ). Caching the encoded data of the *first* block could help us repeating the process." }, { "prediction": "Line is too long. [82/80]", "reference": "This assertion should use the actual expanded string, so that it is clear what the message produced looks like. Right now one has to run the code to determine what the message is." }, { "prediction": "Can you move this import to the top of the file?", "reference": "similar here for imports, these should be consolidated (and also consolidated with the grouping below)" }, { "prediction": "I don't think this is the right way to do this. `self.file_client = mmcv.FileClient(**self.file_client_args)`", "reference": "Maybe there is no need to modify it. Because if you don't use the mask, it won't be initialized." }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if it's worth it.", "reference": "Is there a reason we wouldn't want the trailing `%`? I'm guessing that without the trailing `%` it will just do a strict match vs a partial prefix right?" }, { "prediction": "I think this should be `stdio.h` instead of `stdbool.h`", "reference": "Please update the DMA test app in AFU repo once this gets approved." }, { "prediction": "I'm not sure if this is the right setting value for this test.", "reference": "There should be a migration for that as well to reflect the change on in-production instances" }, { "prediction": "I think this should be `\"\"` instead of `\"\"`", "reference": "Why does it have to be `\"\"` instead of an empty string" }, { "prediction": "I'm not sure if this is the right place to put this, but it seems like it should be `pending || RSpec.configuration.dry_run` instead of `pending or RSpec.configuration.dry_run`", "reference": "This is very strongly opinionated so feel free to disagree with me better, but as conditionals get more complex I like turn them into ifs instead of unlesses. What do you think?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure what the best way to do this is.", "reference": "Will this obey the seed set on Kernel?" }, { "prediction": "I'm not sure if this is safe to do, but I think it's safe to remove the `action: _('add facts')` call.", "reference": "We shouldn't use the `&.` syntax here, since we expect that `executor` will never be `nil`. For the functions that _can_ be called from apply / without an executor, `&.` is still appropriate." }, { "prediction": "I think this should be `@Restricted(NoExternalUse.class)` instead of `@Restricted(NoExternalUse.class)`", "reference": "Why the switch from period to colon?" }, { "prediction": "I think this should be `numImagesToDeletePerCycleEnvVal := strconv.Atoi(os.Getenv(\"ECS_NUM_IMAGES_DELETE_PER_CYCLE\", \"\"))`", "reference": "Can you just fix the warning instead? It's actually important for this to have a default of `\"\"` as the subsequent merges with `DefaultConfig()` and `fileConfig()` need to work. If you make this not `\"\"`, you break the assumptions of `Merge()`." }, { "prediction": "I think this should be `bool BaselineTreeDbCacheIndexAndFilterBlocks` instead of `bool BaselineTreeMetadataDbCacheIndexAndFilterBlocks`.", "reference": "let us not add this" }, { "prediction": "I'm not sure if this is the right thing to do here. I don't think it's the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "Is there a need for group as well? crun sets both." }, { "prediction": "I'm not sure if we should be mocking the instrumentation here.", "reference": "@cijothomas This build-up pattern was really confusing. It looks like internally ActivityProcessor is intended to be chained but there is nothing in the abstract class that enforces it. We never set a \"Next\" or make sure that the chain is called. Probably need to do some more work in this area?" }, { "prediction": "I'm not sure if this is equivalent to calling `pre()` on `save`, `findOneAndUpdate`.", "reference": "`this.getFilter()` won't work on `pre('save')`. Perhaps make this `toySchema.pre(['updateOne', 'findOneAndUpdate'])`?" }, { "prediction": "Can we use a constant here?", "reference": "Break out tests for events into their own tests rather than placing them in other ones. That makes it easier for us to figure out where problems lie and to do a TDD-driven implementation over new APIs." }, { "prediction": "This is no longer needed. The `UvShutdownReq` constructor is used to create a new `UvShutdownReq` instance.", "reference": "I think this is the only place where we use `UvShutdownReq`. Can we remove the type altogether? Or do you prefer to keep it around?" }, { "prediction": "Is this TODO still needed?", "reference": "I think we can get this to work by passing in the root ca cert fixture that upstream ca is using" }, { "prediction": "I'm not sure if this is the best way to do it, but I think it would be better to use `localtime()` instead of `localtime()`.", "reference": "Just occurred to me to ask: is the condor log date in localtime or UTC?" }, { "prediction": "Can you explain why this change is needed?", "reference": "Can you remove the sculliscep varbits from here too?" }, { "prediction": "I think this should be `return true && do_query(\"alter table host add index host_cpid (host_cpid)\");`", "reference": "I understand that it is a common practice in this script to add indexes this way but why don't we check index existence before adding it? I'm not very familiar with MySql but it's can be done easily in MSSQL and I'm pretty sure that there is a way to do the same here." }, { "prediction": "Why do we need to pass `duration` here?", "reference": "we should probably deprecate (and display a warning) the misspelled keyword arg here rather than removing it... and then add the new one. This changes a public API and will break any code that is currently using the misspelled version." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "Should we do something like `h2o__fatal(file, line, \"fatal error: %s, %s\\n\", mess, RSTRING_PTR(...))` here?" }, { "prediction": "I'm not sure if we should skip flaky tests.", "reference": "is this one all platforms?" }, { "prediction": "This change is unrelated to the rest of the PR, but I'm not sure if it's worth it.", "reference": "why capitals grr?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Surely all the above should go into `common`." }, { "prediction": "I think this was a regression that was causing the test to fail. I'm not sure why this test was failing.", "reference": "This is an unrelated change, but was failing CI... probably introduced in master." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "This piece isn't backwards compatible, but it's enough of an edge case that I think it's unlikely to be a problem." }, { "prediction": "I'm not sure this is the right value for this?", "reference": "MB is presumably 1024 * 1024." }, { "prediction": "Can we use `@wordpress/element` instead of `@wordpress/i18n`?", "reference": "Didn't we extract this logic to a `react-features` helper?" }, { "prediction": "Why was this removed?", "reference": "But But, overlapping async writes will get corrupted" }, { "prediction": "remove empty line", "reference": "Not your immediate problem, but having everything depend on a package that has the config for everything else is ick. Can you move the MessagePoolConfig here and reverse the dependency?" }, { "prediction": "Why is this removed?", "reference": "recently, IME_ACTION_GO action can trigger key_down and key_up event successfully, so we don't need to send enter key separately as before, otherwise will trigger it twice and cause to enter empty passcode, which cause test failed." }, { "prediction": "I'm not sure this is the right place to do this. The `checkExprDepth` should be called before `deduceExprType` and not after `deduceExprType`.", "reference": "It seems that you only need to do this `checkExprDepth()` inside `deduceExprType()`. So you don't have to add this check everywhere." }, { "prediction": "This change is not necessary. The `read` method returns the content of the email message, which is not what you expect.", "reference": "why split into two lines?" }, { "prediction": "Why is this public?", "reference": "Does this need to be public or can it be package-private?" }, { "prediction": "I'm not sure if this is the right place for this, but I think it would be better to pass the `fileCardFor` as a prop to the plugin component.", "reference": "Questionable way of looping through editors and calling `canEditFile` to show the edit button. Is there a better way?" }, { "prediction": "`zipWith(that, mapper)` -> `zipWith(that, mapper)`", "reference": "`that is null` doesn't sound very useful to me. Could we rename `that` to `target` or something less context dependent :)?" }, { "prediction": "I'm not sure if this should be printed here. It should be printed in `_status.py` and `_status.py` respectively.", "reference": "Just to be consistent, can we use the print function `print()` instead of the keyword. Same goes for line 437." }, { "prediction": "why not just `wallet[0]`?", "reference": "Having to pass in `price` and `limit` is pretty common. Do we want to have this be another argument, maybe a combined structure that can be used for every action that requires it?" }, { "prediction": "I'm not sure if this is the right place to bind events. I'm not sure if this is the right place to bind events.", "reference": "Could you move it after `stop`?" }, { "prediction": "I don't think this is the right place to put this method. It should be `ensureGetPackageName() + \".\" + method.getName() + \"Body\";`", "reference": "The variable `method` seems not used. Maybe we can remove the parameter `bodyParamName` and generate it by invoking `ParamUtils.generateBodyParameterName(method)`?" }, { "prediction": "Why is this slow?", "reference": "I don't think this should be here?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Either I'm missing something or specs actors should remove this call cc @anorth" }, { "prediction": "I'm not sure this is the right fix. The `CounterWidth` is the number of counters in the report, not the number of metrics in the report. It is the number of metrics in the report, not the number of metrics in the report.", "reference": "Please undo all these changes as they are white-space only." }, { "prediction": "I'm not sure if this is the right way to do it, but I think it's better to use `array_search` instead of `in_array`.", "reference": "You forgot an optimization? `$countries = CountryField::FORMAT_ISO_3166_ALPHA3 === $countryCodeFormat? Countries::getAlpha3Names() : $countriesAlpha2;`" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "Shouldn't this also return the current value specified by the user? At least that's what the docstring says and what the previous version did." }, { "prediction": "I think this should be `time_range` instead of `time_range`", "reference": "> the time range the listen search the time range of the listen search?" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "This snprintf, etc. needs to all be inside the DO_ONCE: all this overhead happening on every single decode is likely a huge performance hit." }, { "prediction": "I don't think we should add this option to the CLI.", "reference": "would call it connect_retries" }, { "prediction": "I think this should be `pdf.tail(10), repr(kdf.tail(10))`", "reference": "Why are we using `repr`?" }, { "prediction": "I think we should be able to get the `ZMSImpl` instance from the `ZMSImplFactory` directly.", "reference": "I use the same zms instance to check authentication in swagger endpoints. Same thing in ZTS." }, { "prediction": "I don't think this is the right place to put this. It's not convenient to set up in a unit test that is self contained. So we don't have to rely on the binary file to change user in the test case.", "reference": "Consider consolidating the common code in a common setup method in tests?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "q: do you need to run the annotation processor over EthProtocolConfiguration prior to writing this file? (i.e.to ensure ImmutableEthProtcolConfiguration exists)? Does Auto-import etc. still work in the IDE?" }, { "prediction": "Why is this needed?", "reference": "What is the motivation for switching from `Schema` to `DiscoveryField` everywhere?" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do it.", "reference": "What happens when ECS Init/whatever's starting the Agent mounts some other directory as Agent's data directory (`-v /tmp:/data`) sets `ECS_HOST_DATA_DIR` to `\"/var/lib/ecs\"` It doesn't seem like a strong enough abstraction to be dependent on Agent configuration options to expect `ECS_HOST_DATA_DIR` to be the same as whatever's being mounted as `/data` on the host. My main concern is the late-binding/asynchronous failures this could lead to if the wrong host mount was specified. Wondering if there are better alternatives here. Can we at the very least inspect the Agent container and check if `ECS_HOST_DATA_DIR` is mounted? If the answer is that we'll revisit the validation here at some latter stage, that's fine too. But, I want us to be aware of potential failures here." }, { "prediction": "I'm not sure if it's better to use `WITH_XCB_ERRORS` or `WITH_XCB_WARNINGS` here.", "reference": "btw that's obviously out of scope of this PR but since i noticed this line here it reminded me a thing: on some systems i've noticed the font didn't had those characters, so it was just a square or empty space and sometimes they're just a bit shifted in position (if font doesn't have them and using from fallback font which have incompatible dimensions of characters) how do you think is it worth creating an issue to discuss/address it or it could just waste time on bikeshedding?" }, { "prediction": "nit: rename to `recoveryutil` or `recoveryutil`", "reference": "alias is not needed" }, { "prediction": "This should be `pids/nebula-graphd.pid` instead of `pids/nebula-graphd.pid`.", "reference": "Do we need to include the path?" }, { "prediction": "I think this should be 64 * 1024 * 1024.", "reference": "During our zoom and working on this, I said that I believe it was set to 64MB, not 32MB, but the diff shows that I was wrong. So we could change it back to 32MB." }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to have it in the `app.go` file.", "reference": "Here I thought you always insisted on ` log \"github.com/Sirupsen/logrus\" ` :) I might do a PR that just globally switches that out wherever we have log." }, { "prediction": "I think this should be `error` instead of `error` since `error` is the type of the error returned by `GetTlfHandle()` and `GetTlfHandle()` returns a `TlfHandle`, not a `TlfHandle`.", "reference": "We maintain that each (logical) key generation has the same set of device keys, so no need to plumb through `keyGen`." }, { "prediction": "I think this should be `>=2.0.0`", "reference": "Please use `from unittest import mock` instead of this package." }, { "prediction": "I'm not sure if this is the right place to put this code, but I think it would be better to move this code to the `DiscriminatorModel` constructor.", "reference": "Should be `if (this.options && this.options.cursor) {`. Options may be undefined. Also, going forward, mongoose will always use curly braces around if blocks." }, { "prediction": "Line is too long. [87/80]", "reference": "This should remain as mailrelay.blackducksoftware.com for staging. Not sure this will be valid, but it shouldn't go through the production mail server." }, { "prediction": "I don't think this is needed. The `Next` property is only used in the `MemoryPoolBlock2` ctor.", "reference": "Maybe we should have a Debug.Assert for when `Slab!= null` to ensure that we are always returning the block (in our tests at least)." }, { "prediction": "I don't think this is the right fix. The `== null` check should be moved to the `if (props.value == null && props.value!== 0) {`.", "reference": "Okay sorry about this I was really confused on how to support uncontrolled in this case, so what we want to do is apply `defaultValue` when `props.value` is falsy but not undefined, right? In the case of us seeing it is controlled (value & onChange present) we apply defaultValue to `props.value` (and delete props.defaultValue) In the case of uncontrolled we shouldn't enter this branch at all and go for full native dom behavior" }, { "prediction": "I don't think we need to import `@wordpress/i18n` and `@wordpress/element`.", "reference": "`lodash` shouldn't be grouped under WordPress dependencies" }, { "prediction": "I'm not sure this is the right label selector.", "reference": "The latest yaml in openebs/master has changed to name=admission-webhook. cc: @prateekpandey14" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "using **an** Amazon Simple... Simple Notification **Service** (singular)" }, { "prediction": "I think this should be `&& expected!= result` instead of `|| expected!= result`.", "reference": "Probably don't intend for this `1 ||` to still be here" }, { "prediction": "I'm not sure why this check was removed.", "reference": "Looks like this is failing to compile on Windows (VS 2015 I think)." }, { "prediction": "I don't think we need to do this.", "reference": "nit: call the arg something simple like `f` to avoid repeating \"beforeQuery\"." }, { "prediction": "I don't think this is needed.", "reference": "do you think this should be `osd/auth` as a pkg to make it more unique and void conflicts with other `auth` packages?" }, { "prediction": "I think this should be `[Output(true)]`.", "reference": "Why are you passing out the Message?" }, { "prediction": "I think we can remove the `mu.Lock()` from the `Load()` call.", "reference": "Yikes, this was a bug :grimacing:" }, { "prediction": "I'm not sure this is the right way to do this.", "reference": "I am not sure which one of these is considered idiomatic go... maybe @azdagron has an opinion here? /me prefers the verb since it's shorter. I guess I don't care _too_ much, but it would be good to get some general agreement so we are all following the same conventions" }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure if this is the best way to do it.", "reference": "Please check this for error and emit appropriate debugging information. I know this was pre-existing code, but we just have to fix things like this as we go." }, { "prediction": "I'm not sure why this change is needed.", "reference": "This seems unrelated, should be a separate PR." }, { "prediction": "I don't think this is needed. The engine_create_dispatcher.h should be included in the engine_create_dispatcher.cpp file.", "reference": "Never use relative includes, prefer full path" }, { "prediction": "I think this should be `(\"... cannot exist without count!\")`", "reference": "This should fit on the line above without going over the 79-char limit, no?" }, { "prediction": "I'm not sure this is the right place to stub `signed_in?`", "reference": "Is this related to the other contents of this pull request?" }, { "prediction": "Should this be an array of strings?", "reference": "Should this be `*string`?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this.", "reference": "In the old code here there was no Source Selector, but CreateDefaultProfile will specify a Source Selector of `\"\"`. Is that equivalent?" }, { "prediction": "Align the elements of a hash literal if they span more than one line.
    Use the new Ruby 1.9 hash syntax.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "We should pick this across for all our deprecation specs" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "Longer term, I think it could be valuable to move this to cluster-api, and then other repos could take advantage of this as well." }, { "prediction": "I'm not sure this is the right fix. I think it should be `Skip(\"FIXME externalClient does conntime balancing\")` or `Skip(\"FIXME externalClient does not conntime balancing\")`", "reference": "Is this a related change?" }, { "prediction": "I think this should be `&instanceDescription.State` instead of `&instanceDescription.State`.", "reference": "Given that this is repeated, can we do it outside here and the Create call, what do you think about moving it outside?" }, { "prediction": "I'm not sure if `propToCol` is the right thing to do here, but I think it would be better to do `change[1] = instance.propToCol(change[0]);` instead of `change[1] = instance.propToCol(change[1]);`", "reference": "Changing `prop`=>`col` by reference? I think you can prepare map `prop`=>`col` in L51." }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if it's worth it.", "reference": "I hate to ask, but can we make this flag shorter so it lines up? :(" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Note to reviewers: latent, dedup import" }, { "prediction": "I'm not sure if this is the right place to put this in.", "reference": "Seems this func is no more needed after your refactoring." }, { "prediction": "I think this should be `^io\\\\.usethesource\\\\.usethesource persistent @ \"`", "reference": "already added (see several rows below)" }, { "prediction": "I think this should be `if ifaceName == \"wireguard.cali\" {`", "reference": "nit: a switch perhaps?" }, { "prediction": "I'm not sure if we should change this to `false` or `true`?", "reference": "Great you caught this. Super critical to not retry these errors." }, { "prediction": "I'm not sure if this is the right thing to do here.", "reference": "Just a little change to make the var effectively final, which is clearer." }, { "prediction": "I think this should be `human.format_address(sc.ip_address[0])`.", "reference": "Using `\"{}\".format(...)` is a bit beside the point..." }, { "prediction": "I think this test is not related to the changes in this PR.", "reference": "I think these should remain as they are." }, { "prediction": "I don't think this is necessary. Beaker doesn't have a `@additional_pkgs` variable.", "reference": "Let's just call this PERF_PACKAGES and have them in the same format as WINDOWS/SLES/DEBIAN_PACKAGES constants - since it is only a single package and, as written, you'd have to update the code to add more package names anyway. Might as well be consistent with the rest of the code." }, { "prediction": "I'm not sure this is the right thing to do here. It seems like the task index should be the task index, not the device index.", "reference": "We don't have a `getPluginIDfromTaskIndex` function? I think it should be implemented in Globals/Plugins.h /.cpp" }, { "prediction": "I don't think this is needed. If `rb.req.getSearcher().enableLazyFieldLoading` is true, then `additionalAdded = addFL(additionalFL, \"score\", additionalAdded);` will never be true.", "reference": "@shalinmangar If lazy field loading isn't enabled, I don't think this actually changes the behavior of `SolrIndexSearcher`, since it was previously ignoring the fields list anyway. What it _should_ do is allow certain distributed queries, like the ones in `DistribJoinFromCollectionTest`, to co-exist with `SolrIndexSearcher#doc()` respecting the `fields` set instead of just discarding it." }, { "prediction": "I'm not sure if this is the correct way to do this, but I'm not sure if this is the right way to do it.", "reference": "Should we be using version 3 now?" }, { "prediction": "This should be `catch (\\RuntimeException $exception)`", "reference": "Would be better to throw a more specific exception, but for now it will do." }, { "prediction": "I'm not sure if we should remove this.", "reference": "We should not replace Wei with a type that is shared across multiple units. We need this as `Wei` for type and unit safety." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "I'm pretty sure this should emit a util.Warning*(), since we're skipping by here and never hitting anything that will give them a warning about what's happened." }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if this is the right place to put it.", "reference": "This function isn't useful? it's just a clone of GetParserWithBuiltins?" }, { "prediction": "I think it would be better to use `getBoolean(\"circuitBreaker/isCpuCircuitBreakerEnabled\", false)` instead of `getBoolean(\"circuitBreaker/isMemoryCircuitBreakerEnabled\", false)`", "reference": "I'm not sure if the boolean flags should always contain `is`, also I generally hate too long names... ;) we already know this is a section for circuit breakers, so the name doesn't have to repeat all of it. How about `cpuBreakerEnabled`, `memoryBreakerEnabled` etc?" }, { "prediction": "I'm not sure if it makes sense to add a rewrite that replaces one set of deletes with another that contains the same deleted rows. I don't think it makes sense to add a rewrite that replaces one set of deletes with another that contains the same deleted rows. I'm not sure if it makes sense to add a rewrite that replaces one set of deletes with another that contains the same deleted rows.", "reference": "Before we start the replacing equality deletes with position deletes, I think we need to refactor the RewriteFiles API to adjust more cases: 1. Rewrite data files and remove all the delete rows. The files to delete will be a set of data files and a set of delete files, and the files to add will be a set of data files. 2. Replace equality deletes with position deletes, the files to delete will be a set of equality delete files (we will need to ensure that all delete files are equality delete files? ), the files to add will be a set of position delete files. 3. Merging small delete files into a bigger delete files. The files to delete will be a set of equality/position delete files, the files to add will be a set of equality/position delete files." }, { "prediction": "Line is too long. [87/80]", "reference": "Layout/TrailingWhitespace: Trailing whitespace detected." }, { "prediction": "I don't think this is the right place to put this.", "reference": "Is it possible that the shortcuts list is empty?" }, { "prediction": "I think this should be `errors.Canceledf` instead of `Fatalf`.", "reference": "This just changes the error message from `unable to save snapshot: [...] context canceled` to `canceled`." }, { "prediction": "I don't think this is the right place to put this check.", "reference": "maybe it's better to remove HttpHeaders.CONTENT_LENGTH after the loop" }, { "prediction": "nit: can we use `isEmpty()` instead of `isEmpty()`?", "reference": "Very cool. We are now collecting the fruits after your length implementation!" }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do. I'm not sure if it's the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "Is this the same copy of the rules file from above? If so, can just use the copy from above, and this can be dropped." }, { "prediction": "I think we can move this to the `EniAttachHandler` class, since it's only used in `startACSSession` and `stopACSSession`?", "reference": "Please break this into multiple lines." }, { "prediction": "I don't think we need to call AddHeaderTagsFromHttpResponse here.", "reference": "Shouldn't this new line replace the few lines above?" }, { "prediction": "I'm not sure if this is the right place to put this in, but I'm not sure if this is the right place to put it in.", "reference": "Perhaps this belongs in universe?" }, { "prediction": "I think this should be `EPSILON` instead of `EPSILON`.", "reference": "there is a `kEpsilon` you can use directly." }, { "prediction": "nit: remove empty line", "reference": "This should be grouped with the below imports, and the two separate groups of imports below should likely also be grouped together" }, { "prediction": "`error_code` and `error_msg` can be changed to `error_code = \"VUID-VkCopyDescriptorSet-dstSet-parameter\";`", "reference": "It looks like this error_code field is used to return a string to the caller, not just a const input string to be consumed as in the rest of this PR? If so, my personal preference would be to leave it as a std::string* instead of a reference; I don't know offhand what the VL coding style dictates." }, { "prediction": "I don't think this is needed.", "reference": "If return by value, then why bother to make it `static`?" }, { "prediction": "I think this should be `paste=True` instead of `paste=False`.", "reference": "You'll need to add docs for the argument, see e.g. the `debug_log_filter` docstring above." }, { "prediction": "nit: remove empty line", "reference": "`sdktrace` or `tracesdk`, pick one." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "can we return null instead?" }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure if it's a good place to put this.", "reference": "You mean XXX and \"we should\" or \"NYI\" or sthg. Maybe put it on the ifdef line." }, { "prediction": "I'm not sure if this should be a `Loggable` since it's a `Loggable` object.", "reference": "minor: can be in-lined in return" }, { "prediction": "Line is too long. [87/80]", "reference": "why the additional \"\\n\"?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do this.", "reference": "This seems to be a big omission. If the first buffer reports an error, stream seems to just discard it." }, { "prediction": "Why are we removing this?", "reference": "Maybe move this one down too?" }, { "prediction": "Why is this readonly?", "reference": "We do this in lots of places I'm starting to notice...typically you'd avoid taking concrete dependencies, but we also avoid package dependencies as well which makes sense (i.e. not using an IoC, etc.). Any reason we don't implement some form of poor-man's DI and/or a simple factory instead of new-ing things up everywhere. This may be a simple example (as I'm guessing this is likely the only place this is ever or ever will be used), but separating them doesn't take any more time/effort either really." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "What if formatPrefix doesn't include a space? Will the resulting error have e.Error() stuck at the end without any space?" }, { "prediction": "I think this should be `@protocol pushsync` instead of `@protocol pushsync`", "reference": "that doesn't say a lot to me. Can you please be more specific on the function of pushsync?" }, { "prediction": "I'm not sure this is the right error message.", "reference": "> subpass uses a depth/stencil attachment in renderPass with a read-only layout for the depth aspect Assume - VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL - VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL count as well seems there is a `NormalizeDepthImageLayout` for this" }, { "prediction": "I'm not sure if this is a good place to put the priority in the dashboard, but I think it would be good to have it in the dashboard itself.", "reference": "This shouldn't be altered, you probably meant to update `AREA_PAGE_DASHBOARD_ALL_TRAFFIC` further below :)" }, { "prediction": "`dict(mount_volumes)` should be `dict(mount_volumes)`, not `dict(mount_volumes)`", "reference": "what does this change do exactly?" }, { "prediction": "I think we should use `context.Context` instead of `backgroundCtx` here.", "reference": "What's the purpose of this `backgroundCtx` field?" }, { "prediction": "I think this should be `const (IncarnationLength = 8 + FirstContractIncarnation + AccountIncarnation)`", "reference": "non contract incarnation" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "I would recommend to leave out `None` because None is already the default." }, { "prediction": "I think this should be `%s` instead of `%s`", "reference": "Should the \"bad hello message\" case above also disconnect?" }, { "prediction": "I think it would be better to have this as a static field in the base class.", "reference": "Shouldn't this be in the child and not in the base plugin? Wouldn't having it here enable all derived plugins at once?" }, { "prediction": "I'm not sure if this should be a string, or if it should be a regex.", "reference": "Should probably say REGEX or PATTERN rather than string." }, { "prediction": "I'm not sure this is the right place to put this extra byte?", "reference": "I felt we don't need to set it that strict, like if somehow pubsub happens to allow extra 20 bytes for metadata, this test won't work. We would suggest to use 11MB instead." }, { "prediction": "I don't think this is the right fix. The `& ClassMetadata::TO_MANY` is a boolean, so it should be `&ClassMetadata::TO_MANY`.", "reference": "In theory `isset($metadata['associationType'])` is `false` if the linked field is not an association field, isn't?" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "@tute the only thing I needed to enable this like as `password` is not in default flow anymore I think." }, { "prediction": "I don't think we need to change the order of `allUsers` and `allAuthenticatedUsers` in this file.", "reference": "nit: to be consistent with `self.members`, please move this up one line, so that it's closer to `allUsers`? You will need to update your test reference." }, { "prediction": "I think this should be `if (options.verbose)` instead of `if (options.verbose)`.", "reference": "we might as well just access `config.gClientVerbose` directly here. If any other options are passed to `gclientSync` or `gclientRunhooks` then the verbose option will be lost the way it's used now" }, { "prediction": "I think this should be `Log settings` instead of `Logging`", "reference": "Change the key to `default_tab` instead and I'll merge this" }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "we still can end up passing a blank org_id to the scope method if for any reason the params is not present..." }, { "prediction": "I don't think this is the right place to put this, but I'm not sure if this is the right place to put this.", "reference": "I think yes, this makes sense to expose this. +1" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "let us put the sample yaml snippet i.e. maya api server deployment that makes use of this env & value" }, { "prediction": "I'm not sure if this is a TODO, but I think it's a good idea to add a TODO to this test.", "reference": "What changed to cause this?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Repeating big interface in many places shows smtg is wrong with design" }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "Inheriting from `AccountsController` to get access to the `redirect_if_disabled` filter." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Simple Storage **Service**" }, { "prediction": "I'm not sure if this is the right place to put this method.", "reference": "Enter at the end of the file! :-D (and at the end of lines ;-) )" }, { "prediction": "Should we rename this to `scheduled_for_cancellation_on` or `scheduled_for_deactivation_on`?", "reference": "Put a comma after the last parameter of a multiline method call." }, { "prediction": "I think this is the right place to do this, but I don't think it's necessary to do this.", "reference": "Don't you want to place this check before you add `succ` to `newSucc`?" }, { "prediction": "Please remove unused imports.", "reference": "Commit 676eeeab10884456a5f70ce708a8aa5116ecbaf7 contains a lot of unrelated code style changes. Please get rid of these." }, { "prediction": "I don't think we need to pass `plot.state` as an argument to `_get_screenshot_as_png`.", "reference": "Well this sucks, I wish you'd mentioned you were using a private API, perhaps we could have made a public one with better guarantees before `0.12.6` was released." }, { "prediction": "why remove this?", "reference": "Consider instead moving this into an _test file so it's public but only usable in tests." }, { "prediction": "I think this should be `fmt.Infof(\"Waiting for state transition to %q\", desired)`", "reference": "Any reason why we want to remove this code? It helps debugging AWS ebs attach issues. Ideally yes a library should have minimal logging, but there is no way we can track long running AWS attach calls." }, { "prediction": "Why did you change the `CreationTime` to `ScheduledCreationTime`?", "reference": "nit: indentation doesn't match (unfortunately i don't know of a way to automatically lint these sql statements with how we're using them currently)" }, { "prediction": "I'm not sure if this is the right place to set this, but I'm not sure if this is the right place to set it, so I'm not sure if this is the right place to set it.", "reference": "Should we remove the other `setup_profiler` call site and just let this be the one call site for it, since, AFAIK, the other one is no longer necessary with this? Also, can we make `setup_profiler` private?" }, { "prediction": "Do we need to keep this hidden?", "reference": "Are there any other templates where this command needs to be added, or were those issues specific to storage requiring us to enable a new command group?" }, { "prediction": "I think this is the only place where the patch and load functions are used. I'm not sure if it's safe to remove them.", "reference": "perhaps file can be removed altogether (trying to avoid an empty package for these build tags)" }, { "prediction": "I'm not sure this is the right fix. The default value of 0 is `0`, which is the default value of `LDR_MODULE_64::get_module_handle_64()` in `ldr_module.c`.", "reference": "NULL change, could you move that out too?" }, { "prediction": "I think this should be `formatKV` instead of `formatList`.", "reference": "A brief explanation about this func is required." }, { "prediction": "I'm not sure if this should be a static method, since it's not used anywhere else.", "reference": "Could you add description for below static function?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "Since this is only counting the failed attempts, can you call it failedAttemptsCount or retryCount instead of attemptsCount?" }, { "prediction": "I think this should be `OOOOOOOOOOOOOos`.", "reference": "I don't think this will work." }, { "prediction": "I don't think we need this interface. It's already in the `IHttpParser` namespace.", "reference": "Since http2 is coming do we want to call this something more specific?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it, so I'm not sure if this is the right place to put it.", "reference": "I don't think we want to revert the accessibility issues the tool caught, do we?" }, { "prediction": "I don't think this check is needed.", "reference": "I prefer naming this rateLimitedRemoteHost This can be local host but reads remote Host Is Non Local." }, { "prediction": "I don't think this is the right fix.", "reference": "Hmm I think I might've messed up this condition here... Need to look more at it" }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to do `if not package_stats is None:` instead of `if not package_stats is None:`", "reference": "This also makes the exception to be raised on non-dict falsy values which I think was expected." }, { "prediction": "I'm not sure if this is the right thing to do, but I think it would be better to have a `_auto_indexable_1d` attribute that defaults to `False` and `True` depending on whether or not the element is indexingable.", "reference": "Is this correct? The auto indexing behavior caused problems fixed in a recently merged PR..." }, { "prediction": "I don't think we need to change this.", "reference": "Hmm, didn't we just find out that 1.6 *does NOT* work? We should bump the minimum as well." }, { "prediction": "I don't think this is needed.", "reference": "Will calling `abort()` cause problems for our test suite?" }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "for my own edificaton, what's this?" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "make it harmless to commit ws == nil" }, { "prediction": "I don't think this is necessary. The `exeReplacement` and `out_location` are already defined in the regexp.", "reference": "Hmmmm, I'm not sure I like these becoming a replacement any build rule has access to. It seems like if it were used in an actual build rule it would only be doing bad things. Can we just use `filepath.Abs` on the returned path in run_step.go?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "That's actually not as bad as I thought it was going to be." }, { "prediction": "I don't think this method is used in datasets listcurationstatus API, it is only used in datasets listcurationstatus API.", "reference": "Hmm, I'm surprised if we don't already have a \"find all unpublished datasets\" method but I don't really know. Maybe @scolapasta knows." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "The checks in this file are disabled by default since they are meant for Python 3 porting, and this one does not have to do with Python 3 porting at all." }, { "prediction": "I don't think we need this property.", "reference": "I would change \"should be sent\" to \"must be received\"." }, { "prediction": "I don't think we need this anymore.", "reference": "Please put it in following way : `// DeleteStoragePool receives StoragePoolClaim delete event and calls the required handlers to delete other pool related resources.`" }, { "prediction": "I think this should be `cse.uploads.fileSizeThreshold`", "reference": "It's better to use servicecomb now." }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be better to have a default value for `defaultRenewBeforeExpiryDuration` and then have the controller call `NewController` with a default value of `defaultRenewBeforeExpiryDuration`.", "reference": "Make the flag derived default available in the readiness controller" }, { "prediction": "I think this should be `syncset pause` instead of `syncset pause`.", "reference": "Confirmed this test fails when the fix is reverted" }, { "prediction": "I think this should be `errors.New(\"file logging is disabled, can't retrieve logs\")`.", "reference": "This method is still possible insecure as it may archive not only logs files. I suggest to filter file names to ensure that they start with `.mysterium-log*`." }, { "prediction": "Why do you overwrite the initialization of `conv_offset`?", "reference": "DCN should not be able to use `init_cfg`." }, { "prediction": "I think this should be `string.Format(nameof(spanContext), \"must be {0}\", spanContext.Name)`", "reference": "It is a bit weird to see a message like \"something must be valid\"." }, { "prediction": "I think this should be `LOG.info(\"Logging configured.\");`", "reference": "Again. This is part of the start up of the server, and the diagnostics are helpful." }, { "prediction": "Travis::Build::Script::R doesn't have `--no-manual` flag, so you can't just use `should include_sexp [:cmd, /.*R CMD check.* --no-manual.*/, ],`", "reference": "I think you need a `,` at the end of the line?" }, { "prediction": "Please don't use wildcard imports.", "reference": "Please avoid wildcard imports." }, { "prediction": "I don't think this is the right place to put this, but I'm not sure if it's a good place to put it.", "reference": "Did we consider making the timeout an argument to the build task? Would amke it easer to configure in the future: change a build property vs. rebuilding the DLL." }, { "prediction": "I don't think this is the right error message. It should be something like: \"invalid NodeIPAddr in Node config: %v\"", "reference": "dumb question: the commit message talks about dual-stack support but it seems that in a dual-stack cluster, Egress will only support the IPv4 address family?" }, { "prediction": "I'm not sure this is the right place to set the `tls_host_name` attribute. I'm not sure if this is the right place to set the `tls_host_name` attribute, or if it's the right place to set the `tls_host_name` attribute.", "reference": "Do you want to cherry-pick these separately and get them merged already or keep it in here? Both is fine with me!" }, { "prediction": "I think we should keep `1_000_` and `1_200_` for consistency.", "reference": "Hmm what are these magical constant numbers? And why does this change mean they should increase?" }, { "prediction": "I don't think we need this anymore.", "reference": "This change shouldn't be included with this push. Shouldn't push version changes with a pull-request." }, { "prediction": "I think this should be done in `handle` instead of in `callHandler`.", "reference": "nit: let's move this right under where we create the `responseWriter`, before `h.callHandler`" }, { "prediction": "I'm not sure this is correct. The `mdb_store` is a pointer to the `mdb_val` object, and `mdb_val` is a pointer to the `mdb_val` object.", "reference": "The way it was implemented, needed to pass the template values. Please check whether we want this." }, { "prediction": "I'm not sure this is a good idea. I think it's a good idea to have a `PropagationDelay` in the command line.", "reference": "Just FYI we need this to align with `builtin.EpochDurationSeconds` from specs-actors or the state machine computations will be off. We'll need to turn this into a config option and follow the same monkey patching paths as the min miner size, seal proof types etc. The EpochDurationSeconds is currently a `const` so can't do it yet tho." }, { "prediction": "I don't think this is needed.", "reference": "Is this import needed?" }, { "prediction": "I'm not sure if this is the best place to put this. I'm not sure if it's a good place to put it, but I'm not sure if it's a good place to put it.", "reference": "Dashboard stories also need to have the default padding." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a default value for `use-starting-sequence-number`.", "reference": "Is there a reason why we wouldn't use this as the default?" }, { "prediction": "Why is tag lock needed here?", "reference": "if there is an tag of the same name?" }, { "prediction": "I'm not sure why this was removed.", "reference": "I'd add `// +build go1.10` to prevent from accidentally compiling with older Go." }, { "prediction": "I don't think this is needed.", "reference": "Not sure how this import relates to the PR but seems like a good idea anyway..." }, { "prediction": "I'm not sure this is the right place to put this include.", "reference": "Hmm this is strange, why should the SettingsStruct import something from `WebServer`? If that's really needed, then we must move stuff as it makes no sense to have some code related to viewing things included in a settings struct. It should be the other way around." }, { "prediction": "Why is this needed?", "reference": "nit: Space between these lines." }, { "prediction": "I think this should be `translator` instead of `Translator`.", "reference": "Why aggregator should have this translator? It's Selenium specifics for now..." }, { "prediction": "This is not necessary for skipping functionality.", "reference": "I don't understand why this function is needed? Can't you just pass the information when the `DocComparator` is created in the SortField?" }, { "prediction": "I think we should raise the `MailChimpError` instead of `MailChimpError` here.", "reference": "This rescue is repeated exactly in `app/jobs/mailchimp_removal_job.rb`. Could we extract a method and pull it up into `MailChimpJob` for reuse?" }, { "prediction": "I don't think we need to do this.", "reference": "It's not directly related to this PR, but it would be nice to flow the original error as we're going to print that if the promise is rejected and it'll be more informative than the vague `Network request failed`. Also, I'm not a js dev, so maybe I'm wrong, but throwing a TypeError feels a bit odd." }, { "prediction": "This should be `WLR_LOG(WLR_INFO, \"Using Xwayland binary to '%s' due to WLR_XWAYLAND\", xwayland_path);`", "reference": "Can we print a debug message when this is used? Since it's a debugging variable, I wouldn't want users to have issues because of a left-over env." }, { "prediction": "I don't think this is needed.", "reference": "Should we have an avatar, truncate, etc examples, too?" }, { "prediction": "I think this should be `shape = unsupported_property('shape', deprecated=True)`", "reference": "could you add this to `docs/source/reference/indexing.rst`?" }, { "prediction": "I don't think this is needed.", "reference": "Why the change from rdkit.six to six?" }, { "prediction": "I'm not sure this is the right place to do this, but it seems like it should be done in `fetchRemoteData` rather than here.", "reference": "Looking good, let's just move this inside the `if` to avoid doing the extra work if we don't need it." }, { "prediction": "I think this should be `(/Batch cannot be re-executed/).to.match(/This batch has already been executed, create new batch to execute/);`", "reference": "I think we should change this to an instanceOf check for MongoBatchReExecutionError" }, { "prediction": "I'm not sure this is the right thing to do here, but I'm not sure if this is the right thing to do.", "reference": "Required by the libcalico-go changes" }, { "prediction": "I think this should be `error` instead of `fmt.Sprintf`.", "reference": "Explain why we don't reuse the corresponding server error locally?" }, { "prediction": "I think this should be `DateUtil.formatDate(this.releaseOrCreateDate)`", "reference": "@JayanthyChengan This change is still missing (and should be last one!): change this line to call getDateToDisplayOnCard(), that way the logic is in only one place (that method)." }, { "prediction": "I'm not sure why this was removed.", "reference": "What was wrong with more concrete error?" }, { "prediction": "I think this should be `is_page() &&!is_front_page()`", "reference": "can you replace the tabs with 2 spaces please to match the rest of the project?" }, { "prediction": "Can we use `flux.Duration` instead of `timeSrc`, `flux.Duration` and `timeDst`?", "reference": "Why are we adding it to the integral function?" }, { "prediction": "Why is this removed?", "reference": "Same for this file" }, { "prediction": "I think this should be `GetFileInfo` instead of `GetFileCharacteristics`.", "reference": "Looks good! But why it's still a out parameter? We can refactor the whole tree because it's internal?" }, { "prediction": "I'm not sure if this is the right place to do this, but it seems to me that this is the only place where we should cancel the grab.", "reference": "probably better to use `wlr_seat_keyboard_end_grab()`." }, { "prediction": "I think this should be `ValidationResult.invalid(TransactionInvalidReason.TX_FEECAP_EXCEEDED);`", "reference": "Such a large test impact for such a little 3 line change ;)" }, { "prediction": "I don't think we should have a `array` here.", "reference": "Is the `cascade` necessary? It should work also without the casdade, because Payments are always already persisted when use cases with them. If it doesn't work, please tell me the reason. It is as same in Transport." }, { "prediction": "I don't think this is needed.", "reference": "This is not very short. I'm not sure sure if there's a system for assigning shortcodes to issues." }, { "prediction": "I don't think we should be using ingressClass here.", "reference": "We should probably prefix this with `acme-http01` to bring it in-line with other annotations, e.g. `certmanager.k8s.io/acme-http01-edit-in-place`. It's quite wordy, but it *is* more specific (and I'd hope more obvious to the user what it is for?)" }, { "prediction": "Why do we need the keystore load props?", "reference": "No need to add this file change for this PR. Please remove it." }, { "prediction": "Why not just use the constant defined in the rule itself?", "reference": "this extra dot at the end is causing a couple tests to fail on Travis" }, { "prediction": "I'm not sure this is the right thing to do here, but I think it would be better to use `pkt.summary()` instead of `pkt.summary()`.", "reference": "Did you try using `global` with a regular integer?" }, { "prediction": "I'm not sure about this change, but I'm not sure if it's a good idea to change the size of `EdgeBasedEdge` to 24, because the size of `NodeBasedEdge` is the same as `EdgeBasedEdge` and `EdgeBasedEdge` is the same size as `NodeBasedEdge`.", "reference": "windows size might be off" }, { "prediction": "Why is this removed?", "reference": "This should still be guarded with an `#ifdef` since the DataMan code will only be supported for shared lib builds." }, { "prediction": "@hash[:attribution].length > 1? _(\"Creators: \") : _('Creator:') %> <%= @hash[:attribution].join(', ') %> <%= _(\"Affiliation: \") + @hash[:affiliation] %> <% if @hash[:attribution].length > 1? _(\"Creators: \") : _('Creator:') %> <%= @hash[:attribution].join(', ') %> <%= _(\"Affiliation: \") + @hash[:affiliation] %> <% end %>", "reference": "thanks for cleaning up these old length checks" }, { "prediction": "I think this should be `%q namespace` instead of `%q namespace`.", "reference": "What will be logged when the `Input.Namespace` was not specified?" }, { "prediction": "I'm not sure if this should be a boolean. I'm not sure if it's a good idea to have this as a boolean.", "reference": "I wouldn't expose this until the feature is ready. We are most likely to cut releases while still in development" }, { "prediction": "I think this should be `aria-query` instead of `aria-query`.", "reference": "I don't think we should pull aria-query into axe-core at this point. There's a much simpler fix for this. Please don't overthink it." }, { "prediction": "Why was this removed?", "reference": "@ejsmith What if instead of making these two methods public we made it a partial class and moved them to a separate file so that file could be part of the include list? I bring it up just because I don't think it is a very nice API that was ever intended to be public? I think they are only called by a couple of other very internal-y spots. /cc @reyang" }, { "prediction": "I think this should be a static constant.", "reference": "would be good to turn these into constants." }, { "prediction": "Why is this needed?", "reference": "Seems like it should be `generated by Wire` here and in the SUT?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "I know the main cases show up in the daemon test already but a little bit more unit test coverage would be nice and probably not too annoying to set up. Ideas: 1. Verify that the string \"no duplicates\" is in the LastDuplicate field when we propose a new deal. 2. Verify that proposing a duplicate deal fails when the duplicates boolean is set false. 3. Start out in a state with more than 1 duplicates. Verify that the LastDuplicate field is set to the last duplicate when we propose with a true duplicates bool." }, { "prediction": "I think this should be `timeoutMilliseconds < 0 && timeoutMilliseconds!= Timeout.Infinite`.", "reference": "`Timeout.Infinite` is actually `-1`. Here the correct message can be taken from Line:67." }, { "prediction": "Nit: `using NLog.UnitTests.Extensions;` should be `using NLog.UnitTests.Common as NUnitExtensions;`", "reference": "I think we need `#if!SILVERLIGHT` here and at the test." }, { "prediction": "This import should be removed.", "reference": "Can you change this import to the apache dependency? I didn't even know that jgit contains such a method..." }, { "prediction": "Why do we need to change this?", "reference": "Four strings in a row makes me nervous, can we use an arguments struct instead? Or reuse the struct I recommend in the reconciler." }, { "prediction": "I'm not sure this is correct. -n and -A are mutually exclusive. -j and -r are mutually exclusive. -r and -t are mutually exclusive. If '-j' is first encoded as JSON, then stored. If '-r', the value may be read from standard input if specified as \"-\", and may include embedded NULL bytes. If '-t', value is stored as a RFC 11 object. '-n' prevents the commit -from being merged with with other contemporaneous commits. '-A' prevents the commit -from being merged with with other contemporaneous commits. '-A' appends the value to a key instead of overwriting the value. Append is incompatible with the -j option. *ls* [-R] [-d] [-F] [-w COLS] [-1] ['key=value...']:: Store 'value' under 'key' and commit it. If it already has a value, overwrite it. If no options, value is stored directly. If '-j', it is first encoded as JSON, then stored. If '-r', the value may be read from standard input if specified as \"-\", and may include embedded NULL bytes. If '-t', value is stored as a RFC 11 object.", "reference": "should work with no options, if my suggestion is accepted. JSON is the one that gets weird since a JSON object appended to a JSON object isn't valid JSON." }, { "prediction": "I think this should be `uploadxs` instead of `uploadxs`.", "reference": "I presume this isn't some special term..." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "Did you mean to return here? ;) You'll also need to add an `incomplete` message to the rule metadata." }, { "prediction": "I think we can remove this annotation.", "reference": "Why are we calling these as annotations? I guess this is an old type that we are re-using. But lets make it a point to avoid once we feel that this design/code is not good." }, { "prediction": "I think this should be done in `RestClientSenderFilter` instead of in `RestClientSender`.", "reference": "`invocation.getInvocationStageTrace().startSend()` is inside `RestClientSender.send`" }, { "prediction": "I think this should be `acthash` instead of `actionHash`.", "reference": "use \"actionHash\" to be consistent with other places" }, { "prediction": "I don't think we need this anymore.", "reference": "Can we derive `Class` by looking at one of the label choices, if at least one is always provided? Given these are immutable, a real-world case for an empty enumerations eludes me." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it, but if it is the right way to do it, then I'm fine with it.", "reference": "I am now confused here, the spec says > If format is VK_FORMAT_UNDEFINED, all members of samplerYcbcrConversionComponents must be the identity swizzle. The spec also says > samplerYcbcrConversionComponents is the component swizzle that **should** be used in VkSamplerYcbcrConversionCreateInfo. so you are allowed to set the swizzle to anything I want, so I guess this is valid usage here... but now I am more curious if I have an external format does it not have to follow any component swizzle rules and can be anything regardless of the `ycbcrModel`? (I guess really a question for @critsec and is not a blocking concern for the scope of this PR)" }, { "prediction": "I think this should be `platform.AppNotRunning` instead of `app.SiteStatus()!= \"running\"`", "reference": "I'd say the error should be an error, not instructions to the user. So error would be something like \"site should be running and is not\"" }, { "prediction": "I don't think this is the right place for this test.", "reference": "Thanks for this PR @pinzon! Rather than resetting the `sms_messages` list, can we fix the assertion in line 902 - rather than asserting `len` equality, we should assert that all expected messages are contained in the list. (In this case the phone numbers should be reasonably random, and ideally we should not have duplicates across different tests). We're planning to introduce test parallelization in the near future, and this will help us avoiding undesired side-effects. Thanks" }, { "prediction": "I'm not sure if we should use `EventBus` here.", "reference": "Some weird blocks formation again." }, { "prediction": "I'm not sure about this change, but I'm not sure if it's worth it.", "reference": "This is worrisome." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if this is a good idea.", "reference": "nit try rephrasing to something like \" AutoFilesystemTrimUsage returns the volume usage and trimmable space of locally mounted pxd volumes\"" }, { "prediction": "I'm not sure this is the right fix. The `/opt/puppetlabs/agent/bin:/opt/puppetlabs/bin` is the right fix, but the `/opt/puppetlabs/agent/bin:/opt/puppetlabs/bin` is the right fix.", "reference": "currently the puppet-agent package doesn't symlink files into /opt/puppetlabs/bin. Also many puppet acceptance tests that execute on Unix assume puppetbindir is a single directory (windows doesn't have this issue). So I think if we want to unblock testing, this should just be changed to `h['puppetbindir'] = '/opt/puppetlabs/puppet/bin`" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to move this to the `Adapter` class.", "reference": "any point in keeping this here?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "I don't think we need this check. Instead `Entries.merge` should check that its argument is correctly sorted (in addition to the existing pre/post check on the method receiver)." }, { "prediction": "I think this should be `#ifdef OSRM_EXTERNAL_MEMORY` instead of `#ifdef OSRM_EXTERNAL_MEMORY`", "reference": "This is not really good to mix different code bases. @TheMarex I understand the point about placing code into cpp file, but we still need to move templated version into an impl header, remove references to offline code here and keep template instantiations in a cpp file to avoid rebuild. So offline code could instantiate own implementations using private impl headers. Otherwise we again make wrong dependencies into OSRM code and block changes in separate projects." }, { "prediction": "I think this should be `RTPSReader* reader = listener->onParticipantDiscovery(this->mp_SPDP->getRTPSParticipant()->getUserRTPSParticipant(), std::move(info));`", "reference": "Then, where is it removed?" }, { "prediction": "I think this should be `CaseInsensitivePath` instead of `true`.", "reference": "The tests are not run concurrently? (I don't know. Better check.)" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix, but I'm not sure if it's the right fix.", "reference": "Regardless of scale?" }, { "prediction": "I'm not sure if this is a good idea. If the user doesn't specify `ip:port;ip:port;ip:port` then the flag package won't complain that these flags were provided but were not defined. If the user specifies `ip:port;ip:port;ip:port` then the flag package won't complain that these flags were provided but were not defined. If the user specifies `ip:port;ip:port;ip:port;ip:port` then the flag package won't complain that these flags were provided but were not defined. If the user specifies `ip:port;ip:port;ip:port;ip:port` then the flag package won't complain that these flags were provided but were not defined. If the user specifies `ip:port;ip:port;ip:port;ip:port` then the flag package won't complain that these flags were provided but were not defined. If the user specifies `ip:port;ip:port;ip:port;ip:port;ip:port` then the flag package won't complain that these flags were provided but were not defined.", "reference": "Nit: should not we hide them from printing out?" }, { "prediction": "I think this should be `default_format_bundle` instead of `default_format_bundle`.", "reference": "What is the reason to modify those things? I noticed it breaks the examples using `asyncio`" }, { "prediction": "I think this should be `rpc-protobuf-raw-response` instead of `rpc-protobuf-raw-response`.", "reference": "WHOOOOOOOPS! so this is a wire protocol breaking change. I deployed a dev version of yarpc 1.9 to demo-yarpc-go and it caused bad request errors because it couldn't determine the procedure anymore. (in coordination with yarpc-prober)" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `WriteConcern` class that has a `parseConnectionString()` method that takes a `URI` object and returns a set of keys that match the `parseConnectionString()` method.", "reference": "if we keep this, can we stick to our convention of using UPPER_CASE for constants? Otherwise this looks like a floating variable to me." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "You probably don't want to assume that `self.underlayer` has a `seq` attribute." }, { "prediction": "I think this should be `$container->get(Translator::class)` instead of `$container->get(Translator::class)`", "reference": "This apparently breaks the language selection." }, { "prediction": "Line is too long. [82/80]", "reference": "since we're not using mysql, do we need this migration?" }, { "prediction": "I don't think this is a good idea. It's not a good idea to have a default partition adjustment listener.", "reference": "i'm not sure about htis naming here. both the word partition and adjustment are very ambiguous and it's not clear what it does. i would maybe go for something less generic and more concrete like `GOV_CLOUD_SUPPORT`" }, { "prediction": "I don't think this is the right place to put ConcurrentHashMap in MockExecutorLoader.", "reference": "unfinishedFlows might not be the same as activeFlows. Will it cause confusion here?" }, { "prediction": "I'm not sure if this is the right place to put this in.", "reference": "Same, remove the error handling." }, { "prediction": "I don't think this is needed. The `Start` method is only used in `MvvmCross.Core.ViewModels` and `MvvmCross.Start` is only used in `MvvmCross.Core.ViewModels` and `MvvmCross.Start` is only used in `MvvmCross.Start` and `MvvmCross.Start` is only used in `MvvmCross.Start` and `MvvmCross.Start` is only used in `MvvmCross.Start` and `MvvmCross.Start` is only used in `MvvmCross.Start` and `MvvmCross.Start` is only used in `MvvmCross.Start` and `MvvmCross.Start` is only used in `MvvmCross.Start` and `MvvmCross.Start` is only used in `MvvmCross.Start` and `MvvmCross.Start` is only used in `MvvmCross.Start` and `MvvmCross.Start` is only used in `MvvmCross.Start` and `MvvmCross.Start` is only used in `", "reference": "We should not change this at this time." }, { "prediction": "`w, h` -> `w, h` -> `w, h`", "reference": "We may also update the docstring in the AnchorGenerator's arguments at around line 15." }, { "prediction": "I think this should be `report_data->FormatHandle(inserted.first->second->commandBuffer).c_str()`", "reference": "FormatHandle isn't current typesafe w.r.t. requiring *VULKAN* handles... so this slipped through." }, { "prediction": "Why do we need to import `EventBus` here?", "reference": "What kind of dependency is here, I think we have own implementation of event wo external dependencies" }, { "prediction": "I'm not sure this is the right way to do this. It's not possible to get the GPU(s) from the device selector. It's not possible to get the GPU(s) from the device selector, and it's not possible to get the GPU(s) from the device selector.", "reference": "Throw an exception instead" }, { "prediction": "I don't think we need org2 here, we can just call `FactoryBot.create(:org, org2: org2)`", "reference": "we shouldn't need the `FactoryBot.` in these. Ok to leave for now since all of these specs have them. Can clean up later" }, { "prediction": "This should be `Url::asset($uploadsPath). '/';`", "reference": "Isn't the better option to actually do `$this->getDisk()->url($uploadsPath)` without changing the filesystems config? Not sure why you think that change is required but it's definitely not getting merged." }, { "prediction": "I'm not sure this is the right fix. I think it should be `itemmethod.frame()` instead of `itemmethod.parent().frame()`.", "reference": "Not sure if we need this. It's not tested because it only guards against a new conditional definition of a dunder method in a built-in package. I am fine with leaving it out." }, { "prediction": "I don't think we need to enable AssemblyResolver here.", "reference": "Is this the only task in this library? If so this is good, if not then we should do it for each task." }, { "prediction": "I think this should be `expectedCstorVolumeCount` instead of `actualCstorVolumeCount`", "reference": "I am not sure what is 120 and what is 10. Hence unable to review." }, { "prediction": "I don't think we should add this to the `Options` struct.", "reference": "Not needed anymore" }, { "prediction": "I don't think we should expose pingpong as a public protocol.", "reference": "Please not abbreviations" }, { "prediction": "I don't think we need to do this. The `aws.IsReaderSeekable(r.Body)` check will always be true.", "reference": "This shouldn't get stomped over on line 207" }, { "prediction": "I'm not sure if this is the right place to put it. I'm not sure if this is the right place to put it, but if it is the right place to put it, I'm fine with it.", "reference": "are they not 1-indexed?" }, { "prediction": "I think this should be `if currentTime == lastTime.CheckTimestamp || currentTime == lastTime.Timestamp`", "reference": "I know that previously this check was here but @ralph-pichler replaced it with the `CheckTimestamp` field stating that checking against `Timestamp` was incorrect. @ralph-pichler can you elaborate?" }, { "prediction": "I don't think this is used anywhere.", "reference": "`short_version = __version__`" }, { "prediction": "I don't think we need to update the Sourcedescription as well.", "reference": "AWS Identity and Access Management (IAM)" }, { "prediction": "I don't think this is the right place to put this.", "reference": "Required for the SparkDataFile SerDe" }, { "prediction": "I'm not sure this is the right way to do this.", "reference": "Do you want to make this an assertion instead?" }, { "prediction": "I don't think this file is covered by the GNU General Public License.", "reference": "When updating the copyright, we tend to cover previous years, not just the current. So, if we started the file in 2015, we'd update to say 2015-2016. I'm not sure if there's a legal requirement surrounding this, but it's the convention we and many others have adopted for code." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Wait, so it looks like this function is called _every_ time we fetch the root node, i.e. we do an MD head fetch every time we fetch the root node? Not for this PR, but it seems like we should make that unnecessary, since this function only ever does anything when head is `nil`, i.e. the first time. Maybe add a TODO?" }, { "prediction": "I think this should be `strlen(self.padded)` instead of `strlen(self.padded)`.", "reference": "Why are you changing this?" }, { "prediction": "I think we should keep the raw message as it was before.", "reference": "`json.RawMessage` is a `[]byte`, which is already a pointer. Why do we need to have pointer here if we just reading this value?" }, { "prediction": "I think this should be `Antrea CNI 0.1.0`", "reference": "should we actually switch to `All` or just add `0.4.0` explicitly to the list of supported CNI versions? What is a new CNI version is released?" }, { "prediction": "nit: remove empty line", "reference": "pylint might complain that this isn't alphasorted?" }, { "prediction": "I think this should be `--disable-gpu` instead of `--allow-insecure-localhost`.", "reference": "It seems that NetworkService is behind a feature flag because it's still experimental. If we see new issues, we should look at flipping this back off." }, { "prediction": "I'm not sure if this is the right name for this function. I think it should be something like `BackEndStatus` or something like that.", "reference": "I think it makes more sense to have this be a method on TaskStatus. Also, nit, Backend, not BackEnd." }, { "prediction": "I'm not sure if this is the right thing to do here. It's not the same thing as `HIPInternal::verify_is_initialized()` in `Kokkos::Tools::Experimental::Impl::impl_get_instance_id()`.", "reference": "Could you please elaborate on why you need all this magic here? In which cases do you want the same id to be returned? Does this work the same way for all backends?" }, { "prediction": "Why is this map[string]map[string]common.HclPluginConfig?", "reference": "nit: `PluginConfigs` feels a little better" }, { "prediction": "I'm not sure why this change is needed.", "reference": "think we need to find out the root-cause and fix, instead of just removing `NoError`? it erred b/c `context canceled`, so call this before context cancelled is the right fix" }, { "prediction": "I'm not sure this is the right thing to do here. The `Put` method is called in a goroutine, and the `Get` method is called in a goroutine, which means that the `Put` call will be blocked until the call to `Get` is made.", "reference": "Please expand \"later behavior\". Presumably something to do with the prefetch logic?" }, { "prediction": "I'm not sure if this is the right place to put this in.", "reference": "The `response` variable is not used, it can be removed, also the fmt.Errorf." }, { "prediction": "Nitpick: I'm not sure this is the right place to put this.", "reference": "Do you find this really easier to read?" }, { "prediction": "I'm not sure if `forceGroupByAgg` should be set to `FALSE` here.", "reference": "A small nit: This variable should start with a lower case letter." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Where is this used for Node?" }, { "prediction": "I don't think this should be in the info() function.", "reference": "Is `` really easier to understand than `` for CLI user? For me, `identity` seems like a concept we use publicly, and `id` is just an internal shortcut for it." }, { "prediction": "I think this should be `if newGroup.ServiceReference!= nil {`", "reference": "nit.. `if`.. `else` for logging probably can be avoided.. maybe only log that an internal group was created for cluster group" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "There's a lot of changed tests -- but no new tests. You need unit and integration tests for this." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do here.", "reference": "WithMessage what gas limit is?" }, { "prediction": "I think this should be `@skip * @api private`.", "reference": "Why are these skipped?" }, { "prediction": "I don't think this is a good idea. It's not a big deal, but it's a good idea to have a `Enable` flag that indicates whether or not the `MetaServer` is enabled. I think it's better to have a `Config` field that indicates whether or not the `Enable` flag is enabled.", "reference": "We'd better add the `json:\"metaServer,omitempty\"` here" }, { "prediction": "I'm not sure this is the best place to put this. I'm not sure if this is the best place to put this, but I'm not sure if this is the best place to put it.", "reference": "So... when we want to install mitmproxy with pinned dependencies, we first install all pinned dependencies, and then in a second step install mitmproxy as editable, making sure that no additional dependencies are sneaking in." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "not sure how this got in master, but the linter is unhappy about it so I fixed it here" }, { "prediction": "I think we should increase this to 5 minutes.", "reference": "No need for this TODO anymore, right?" }, { "prediction": "I think this should be `if 'kinto.plugins.default_bucket' not in settings['excludes']: config.include('kinto.plugins.default_bucket')`", "reference": "I would assign the key you're looking for into a variable first, and then use it in the comparisons." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Would be better to normalize it at the start of the method to pass through to all the other calls" }, { "prediction": "This should be done in the parentForm->model->isSafeMode() method.", "reference": "This can't exist here either because the code editor can be used on other models than CMS templates. You could probably implement this as a `hint` property (so `hint: cms::lang.cms_object.safe_mode_enabled`) on the codeeditor formwidget instead though and I'd be fine with that." }, { "prediction": "I think this should be `log.exception(\"Can't scroll\",...)`", "reference": "This line is unnecessary." }, { "prediction": "Why was this removed?", "reference": "How did this compile in the first place? Is there a matching declaration in a header that should be removed too?" }, { "prediction": "I think this should be `h2o_mruby_new_str:failed to create string:`", "reference": "Please remove the colon at the end, and merge the PR once the CI succeeds. Thank you for the PR." }, { "prediction": "Why are these removed?", "reference": "whoops. this should be protoc-gen-doc, since that is the only bit left that is built out-of-tree (everything else is either downloaded or built via modules already depended on by spire's go.mod)" }, { "prediction": "I'm not sure if this is a good idea to have a `KafkaAvroEventReporter` interface. I think it would be better to have a single `KafkaAvroEventReporter` interface, and then have the `KafkaAvroEventReporter` implement `KafkaAvroEventReporter` and `KafkaAvroEventReporter` implement `KafkaAvroEventReporter` and have the `KafkaAvroEventReporter` implement `KafkaAvroEventReporter` and `KafkaAvroEventReporter` implement `KafkaAvroEventReporter` and have the `KafkaAvroEventReporter` implement `KafkaAvroEventReporter` and `KafkaAvroEventReporter` implement `KafkaAvroEventReporter` and have the `KafkaAvroEventReporter` implement `KafkaAvroEventReporter` and `KafkaAvroEventReporter` implement `KafkaAvroEventReporter` and have the `KafkaAvroEventReporter` implement `KafkaAvroEventReporter` and `KafkaAvroEventReporter` implement `KafkaAvroEventReporter` and `KafkaAvroEventReporter` implement `KafkaAvroEventReporter` and `KafkaAvroEventReporter` both implement `KafkaAvroEventReporter` and `KafkaAvroEventReporter` and `", "reference": "The convention is to use

    see the google style guide and use checkstyle to check. You can change it later." }, { "prediction": "I'm not sure if this is a good idea. It's not a good idea to add a new attribute to a list element. It's not a good idea to add a new attribute to a list element. It's not a good idea to add a new attribute to a list element. It's not a good idea to add a new attribute to a list element, it's a bad idea to add a new attribute to a list element.", "reference": "Using non-keyword args after the keyword arg (parent-self) will cause a SyntaxError." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "I think you'll want to add some YARD docs to this method to get the PR approved" }, { "prediction": "I think this should be `@out_variant: (out) (nullable)` instead of `@out_variant: (out) (nullable)`", "reference": "Hmm, AFAICT `*out_variant` isn't explicitly set to `NULL` in the `ENOENT` case." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Nit: \"Failed to configure TLS for SDK client\"?" }, { "prediction": "I think this should be `'Histogram for feature name {}'.format(gbm1.booster_.feature_name()[27])`", "reference": "please update your branch to the latest `master`. This change was already made in #4359" }, { "prediction": "Remove empty line.", "reference": "This line should be formatted" }, { "prediction": "I'm not sure this is correct. The batch size is limited by config block_processor_batch_max_time, but the signature verification size is limited by config block_processor_batch_max_time.", "reference": "\"default 65536\" Not sure if it's important to state, but block_processor_full_size has a different default for fast_bootstrap." }, { "prediction": "This should be `public int HashCacheSize { get; set; } = 512 * 1024;`", "reference": "remove unnecessary whitespace changes" }, { "prediction": "I think we should keep this check for `s.Sig!= (crypto.Signature{}) &&!s.Msig.Blank()`", "reference": "Are these conditions covered elsewhere?" }, { "prediction": "I don't think this is the right place to put this check.", "reference": "the above check (by transitivity) checked for `in_data.name_id == out_data.name_id && in_data.name_id!= EMPTY_NAME_ID && out_data.name_id!= EMPTY_NAME_ID`. The final check of `out_data.name_id!= EMPTY_NAME_ID` is missing now." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "The event handle is being passed by reference, so the dereference on 591 is actually correct. To follow the convention that variables be declared before executable statements, please change the code to the following: struct _fpga_event_handle *_eh; fpga_result result = FPGA_OK; int err = 0; if (!event_handle) { return FPGA_INVALID_PARAM; } _eh = (struct _fpga_event_handle *) *event_handle;" }, { "prediction": "This should be `#include \"../server/data_structures/map_matching.hpp\"`", "reference": "reorder includes to be alphabetically ordered" }, { "prediction": "`need_unmap` -> `need_unmap` -> `need_unmap` -> `need_unmap`", "reference": "Rename `need_unmap` to `unmap`." }, { "prediction": "Remove this empty line.", "reference": "In line 28, it has been declared twice, so removing `cm` should not impact, can you explain me little bit? :)" }, { "prediction": "Why do we need acquireTopologyCacheLock here?", "reference": "i don't think these unexported functions belong on the public interface, they can exist solely on the struct." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do it.", "reference": "I'm not entirely clear on why this is necessary?" }, { "prediction": "I think it's better to use `utils.get_temp_file(keep=True)` instead of `cast(str, utils.get_temp_file(keep=True))`", "reference": "Why do we need to cast to `str` here?" }, { "prediction": "I think this test should be ignored as part of the `@Ignore` annotation.", "reference": "The ignore import above should be unused now and can be removed." }, { "prediction": "I think it would be better to use `query.visit(v)` instead of `query.visit(v)`", "reference": "redundant null check?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "initialization of available ram is here" }, { "prediction": "`math_number` doesn't have a `type` property, so you can't use `this.sourceBlock_.type ==='math_number'` here.", "reference": "Can have negative numbers with the '-' on the right (`10-`) by just using line 610." }, { "prediction": "I don't think this is the right description for this file.", "reference": "AWS Identity and Access Management (IAM)" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "Shouldn't we use store a message which indicates that there was no available checker command? By the way how is it possible that metadata.json doesn't contain the checker command? Maybe this was the case in the earlier versions?" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to put this in a `before_action` so that we don't have to worry about race conditions in the future.", "reference": "Given that this is a boolean predicate, maybe it should be `full_backtrace?`." }, { "prediction": "I'm not sure if this is the right place to import this. It seems like it should be in the `settings.py` file, not in the `traceback.py` file.", "reference": "Just curious why the blank line here?" }, { "prediction": "I'm not sure this is the right place to import mitmproxy.", "reference": "I like the idea, but we don't want a dependency on mitmproxy in pathod." }, { "prediction": "I'm not sure this is the right place to put this. It's a collection of Datadog tags, not a string representation of the Datadog itself. I'm not sure if this is the right place to put it.", "reference": "Why not adding this to the interface and keep passing the interface (as the interface is internal I don't get why you're not adding it there)" }, { "prediction": "I think this should be `PY3_10PLUS`", "reference": "`PY310` should probably be imported from `pylint.const`" }, { "prediction": "I think this should be `GetBoolValueAsBool` instead of `GetBoolValueAsBool`", "reference": "Can we propagate this error up the stack?" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if it's worth it, but I'm not sure if it's worth it.", "reference": "Why reference is converted to table?" }, { "prediction": "I think this should be `assert(desktop->views == list_create());`", "reference": "You shouldn't use assert for runtime errors." }, { "prediction": "I'm not sure if this is the right place to put this polyfill, but it seems like it should be in vendor/form-attr-polyfill.js instead of vendor/form-attr-polyfill.js.", "reference": "Does this really belong in the vendor directory if you wrote it? At very least, should it get its own repo somewhere in addition to being dropped here?" }, { "prediction": "I think we should keep the `SampleXPathRule` as it was before.", "reference": "I think it would be better to place the rule name before the message. Messages are of varying lengths and the rule names will end up misaligned" }, { "prediction": "This should be `'Logical tautology in comparison - %s'`", "reference": "Can we remove the argument from this message? A message will include a line number already that points to the place in the code that has the problem. I think we can remove it." }, { "prediction": "Why is this virtual?", "reference": "This whole class is now a mix of virtual and non-virtual. I tried to see what would happen if I made everything non-virtual in dev, and the build still passes. It turns out that none of the other methods actually need to be virtual. Can you make *all* the logging methods either virtual or not for consistency? Thanks." }, { "prediction": "I think this should be `my.mysterium.network.URL`", "reference": "This looks a bit cryptic to me, and also it contains a dash. How about `mymysterium.url`?" }, { "prediction": "This should be `if (var == 0){`", "reference": "You did notice the no newline at the end of this file, right?" }, { "prediction": "I don't think we need to expose `CodeFlows` as a data member.", "reference": "Here's the object model change. `CodeFlows` is a set of objects of type `CodeFlow`, rather than a list of list of `AnnotatedCodeLocation`. Exactly parallel with `Stacks`." }, { "prediction": "I don't think we need this line.", "reference": "Sorry, one more thing... You should use `app.config` instead of importing it directly. See the code below." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a `VectorizedReader` interface that has a `close()` method.", "reference": "This was correct before; \"setup\" is a noun and \"set up\" is the verb form." }, { "prediction": "I'm not sure if this is the right place to set the account, but it seems like it would be better to set the value of `maybeSetAccount` in the `getAccounts()` method.", "reference": "What's the reason for this change here? I didn't see it mentioned in the PR and it's a bit of a confusing param name" }, { "prediction": "I think this should be `this.storage.config.localList.get().map( function( package ){ return { ref: package, score: 1 }; } )` instead of `this.storage.config.localList.get().map( function( package ){ return { ref: package, score: 1 }; } )`", "reference": "I wonder why ~ and not a wildcard instead?" }, { "prediction": "I don't think this is right. It should be `return;` instead of `return;`", "reference": "when will this happened? if happened, just ignore it Silently?" }, { "prediction": "Why did you change this to `5672/6408`?", "reference": "3x the smaller size would be around 17k, and we need it to be at least about 13k, which is 2x the larger size. I'd probably set this to 15k to split the difference and hopefully avoid needing to update this again as tests change. This is minor, though." }, { "prediction": "I'm not sure this is the right way to do this. The `datetime.datetime` value should always be a string, and the `str(input)` value should always be a datetime object.", "reference": "@scottpurdy, strictly speaking, should this scenario raise a ValueError exception instead of AssertionError?" }, { "prediction": "I'm not sure if this is a good idea. It's a bit of a nitpick, but it's a bit of a nitpick, so I'm not sure if it's worth it.", "reference": "Can you please add open source disclaimer?" }, { "prediction": "I'm not sure this is the right place for this.", "reference": "I dont want to do composite keys on purpose to verify at compile time if the message is completely filled out appropriately @sectioneight" }, { "prediction": "Why is this needed?", "reference": "don't need this line, since it is not tested in api_test?" }, { "prediction": "I don't think this is the right fix.", "reference": "Does this mean the list operation is done for all the namespaces? How to list the volume replicas per namespace?" }, { "prediction": "I'm not sure this is the best way to do this. I think it would be better to do `if not class_agnostic:` instead of `if not class_agnostic:`.", "reference": "I suggest adding `class_agnostic` as an argument of `batched_nms()`, with the default value False." }, { "prediction": "I think this should be `row_name` instead of `row`.", "reference": "@rdblue, did we not add the name on purpose?" }, { "prediction": "I think we can remove `FixedBinary` from `OrcSchemaUtil` as it's not used anymore.", "reference": "Why is this now public?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this, so I'm not sure if this is the right place to do it.", "reference": "I guess we should backport some deprecation for this?" }, { "prediction": "I think this is the only place where the `@profile_paths` is being used.", "reference": "Moving this code inside the last case statement doesn't seem right. Why are we defining `name` and `is_relative` variables there if we aren't using them anywhere?" }, { "prediction": "Why is this needed?", "reference": "I would say just change REGARG: no need for a separate thing." }, { "prediction": "I'm not sure if this is the best place to put this, but I'm not sure if this is the best place to put it. I'm not sure if this is the best place to put it.", "reference": "we can remove this template, it is no longer in use" }, { "prediction": "Metrics/LineLength: Line is too long. [82/80]", "reference": "This doesn't look like it has as much coverage of the recursive code as it once did." }, { "prediction": "Should this be `bool` instead of `omitempty`?", "reference": "Do we actually expect users to provide more information here than possibly a SecurityGroup ID? If not, then this should probably use a new type, otherwise users might be confused by what options would be respected/ignored when used in this context." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "This seems like a new dependency on rometools. Do we need it?" }, { "prediction": "This should be `LOG.info(String.format(\"Pull of %s:%s complete\", name, tag));` or `LOG.fine(String.format(\"Pull of %s:%s complete\", name, tag));`", "reference": "Waiting for the pull takes a long time. This message informs the user that at least one of the images being pulled is available. Please leave." }, { "prediction": "Why is this removed?", "reference": "I can not think in a good use for it, but may we allow a way to setup a fake with a hook for logs? this fake is special, and we may need access to some of thoe logs, at the same time it may be an overkill because we dont want to test \"sql\" implementation but results.. but we can create some tests with end to end logs in some scenaries, What do you think about it?" }, { "prediction": "I don't think this is the right place for this.", "reference": "I don't think you should be changing the dag unilaterally at parse time. If cores isn't specified, then it isn't specified." }, { "prediction": "I don't think this is the right place to put this.", "reference": "Instead of just \"See SubscriberOptions....\", say something like \"Use... to choose between the two.\"" }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure if this is the best way to do it.", "reference": "Use with statement for `f`" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "It's a small style point, but could you remove the \"extra\" space before the colon that precedes the return type? This would make it more closely match the prevailing style in these tests and in the standard libraries." }, { "prediction": "I think this should be `errors.New(\"ResolveBranch not supported by MDOpsStandard\")`", "reference": "seems clunky to me to have an `MDOps` interface method that some implementations don't implement. Perhaps define a separate interface, like, `BranchResolver`, and then callers that have an `MDOps` object can check via type assertion?" }, { "prediction": "`T extends WebElement` should be `T extends WebElement`.", "reference": "This change should also probably go into the corresponding method of the abstract By class?" }, { "prediction": "I think this should be `pkg/util/byteutil`", "reference": "File is not `gofmt`-ed with `-s` (from `gofmt`)" }, { "prediction": "I'm not sure this is the right fix.", "reference": "This is likely to return an error value if the client fails to read the response we write, which is why I chose to ignore this error." }, { "prediction": "This should be `self.storage.get('upfront_shutdown_script_enabled')`.", "reference": "this method is not used" }, { "prediction": "I don't think this is needed.", "reference": "Right now it's a bit unclear that this needs to be called explicitly by the implementing class. If, for example, there's another backend, it won't get this update unless we add the same function as webkit. Could you either add a note to this docstring explaining that this needs to be called, or find some way to automatically trigger this so the webkit override isn't needed (and some override passed on webengine)." }, { "prediction": "I'm not sure if this is the right test to test against a deny policy, or if it's the right test to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny policy, or if it's the right one to test against a deny", "reference": "Why this change (test name still says \"must pass with metadata\")?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if it's the right thing to do here.", "reference": "Another nitpick: parens around the arg pretty please" }, { "prediction": "This test is now failing because `caps['chrome.detach'].to be nil` doesn't match `caps['goog:chromeOptions'].clone()`", "reference": "This spec can be modified, giving you extra strength (Check this fetch key doesn't work and therefore returns `nil`)" }, { "prediction": "I think this should be `caddy_rewrite_original_uri` instead of `caddy_rewrite_original_uri`.", "reference": "Oh, I guess I mentioned/pressed this point in the other issue, that this should probably go into the httpserver package. In fact, so should the const above this (URLPathCtxKey). These are specific to the HTTP server." }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but if it is the right thing to do, I'd like to see a test that verifies that this is the right thing to do. If it is the right thing to do, I'd like to see a test that verifies that this is the right thing to do, and if it's the right thing to do, I'd like to see a test that verifies that this is the right thing to do.", "reference": "Not added by you, but we don't really need the '5' here.." }, { "prediction": "Why is this removed?", "reference": "The vendor prefix is still being used on Chromium based browsers like Edge Chromium and Chrome. Did you mean to remove this?" }, { "prediction": "I think this should be `func.emuGesture` instead of `func.__doc__`.", "reference": "I don't think this is needed anymore?" }, { "prediction": "Should this be `filter.ByBanned!= nil && filter.ByBanned.Value`?", "reference": "This is the only occurrence I see in the code where we now need to convert from a boolean protobuf wrapper to a boolean pointer. This felt a little cumbersome here; should we consider moving it somewhere else as a helper function?" }, { "prediction": "why is this removed?", "reference": "Need you to delete the `version_` from `HostInfo` struct?" }, { "prediction": "I don't think this is the right way to do this. The `lang` attribute should always be `null` and the `xml:lang` attribute should always be `null`.", "reference": "This could be the cleanest looking check we've got. Great job Jey." }, { "prediction": "Why did you change this?", "reference": "Who invited yoda? In all seriousness though, wouldn't an `if (empty())` be better here?" }, { "prediction": "I think this should be `window.location.href = 'index.html';`", "reference": "You can use `appRouter.goHome` to do this (It's defined in site.js), it's less hacky than overriding the href." }, { "prediction": "I don't think this is the right place to do this. If the part doesn't exist, it will be removed.", "reference": "When could this happen?" }, { "prediction": "I think we should remove the `Content-Type` from the headers here as well.", "reference": "I assume this was removed because it was redundant? and conflicted with the now dynamic contentType? Edit: Oh I see it being set was moved to the `PostSegmentAsync` call." }, { "prediction": "I don't think we need to change the type of the proxy config.", "reference": "Here is a newline missing" }, { "prediction": "I think this should be `r-project.org/high-sierra/R-4.0-branch/R-4.0-branch.pkg`", "reference": "Did you mean to make this http rather than https?" }, { "prediction": "This file is not used anymore.", "reference": "The updated copyright header should be: # Copyright (C) 2006-2018 NV Access Limited, yourname" }, { "prediction": "Why do we need this variable?", "reference": "wow :+1:, i do not even know how this test works." }, { "prediction": "I don't think we need to add the `[MvxPlugin]` to the `MvvmCross.UI` namespace.", "reference": "File should be renamed `PlugIn` -> `Plugin`" }, { "prediction": "Why is this needed?", "reference": "I scanned the new test cases quickly. Do we have one for an egressIPPool with multiple different IP ranges?" }, { "prediction": "I think this should be `@since 1.0.1`", "reference": "you can use a different name, like `maybe_activate` or `is_active` without `component` in the method name as this is used in the class name. E.g: `$component->should_component_be_active` is using twice the `component` word" }, { "prediction": "I think this should be `ret.options && ret.callback` instead of `ret.options && ret.callback`.", "reference": "I think this might not be a complete enough check: what if `options` is `null`/`undefined`?" }, { "prediction": "I'm not sure if this is the best way to test this, but I'm not sure what the best way to test this is. I'm not sure what the best way to test this is.", "reference": "Useless assignment to variable - `user`." }, { "prediction": "I'm not sure if `wget -O ${TRAVIS_HOME}/erlang.tar.bz2 -C ~/otp/\"` is the right thing to do here.", "reference": "I think we would want to keep `-O` instead. I wonder how this worked before, though." }, { "prediction": "I'm not sure this is the right type for AggregatorStore, but it seems like it should be `ConcurrentDictionary>`.", "reference": "another alternate option which doesn't have the risk of too many entries (when user keeps providing keys in different order) Have the dictionary as before If tagKeys lookup fail, sort and lookup again. If fails, insert both original tagKeys and its sorted one to the dictionary. So that we only store atmost 2 entries per key set. And we only do a single lookup in hotpath, as opposed to 2 look ups." }, { "prediction": "I don't think this is needed. The `updateSymbols` function is only called when `qctx_` is initialized.", "reference": "if (out!= nullptr)" }, { "prediction": "I don't think this is the right place to do this, but I think it would be better to move this logic into the `get_listen_count_for_user` function.", "reference": "In the listenstore you catch the exception and then pass it on via Raise. However, here you do not catch the exception. You should catch the exception, but since this is a minor aspect of this page, perhaps show an error message when the count cannot be loaded in time. Then the rest of the page can still be rendered, rather than failing the whole page." }, { "prediction": "`transfer` is a keyword argument, so it should be `transfer_from_tab` or `transfer_to_tab`.", "reference": "wouldn't it be simpler to just add `or transfer` here? That way the more complicated set of conditionals down below don't have to get more clauses." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "ditto; please fix everywhere" }, { "prediction": "I don't think it's a good idea to add a `subsystem` option to the `SSH2` subsystem. I'm not sure if it's a good idea to add a `subsystem` option to the `SSH2` subsystem, or if it's a good idea to add a `subsystem` option to the `SSH2` subsystem, or if it's not a good idea to add a `subsystem` option to the `SSH2` subsystem, or if it's not a good idea to add a `subsystem` option to the `SSH2` subsystem, or if it's not a good idea to add a `subsystem` option to the `SSH2 subsystem` subsystem, or if it's not a good idea to add a `subsystem` option to the `SSH2 subsystem` subsystem, or if it's not a good idea to add a `subsystem` option to the `SSH2 subsystem` subsystem, or if it's not a good idea to add a `subsystem` option to the `SSH2 subsystem` subsystem, or if it's not a good idea to add a `subsystem` option to the `SSH2 subsystem", "reference": "Can you break this line into two parts - the first line makes the option help text for `--sftp-server` and its too long! `Specifies the path or command to run a sftp server on the remote host. The subsystem option is ignored when sftp_server is defined.`" }, { "prediction": "I don't think you need the ):?", "reference": "I reverted that one in a previous PR because of a CI failure but it was actually unrelated" }, { "prediction": "I'm not sure if this is the right fix. If `GetLatestVersion` returns a nil version, then `kubeVer` will be `\"\"`?", "reference": "The for loop is useless here, since any error will make the function return." }, { "prediction": "I think this should be `import spatial_pooler_py_api_test as pytest`", "reference": "Fix file endings here and elsewhere." }, { "prediction": "I'm not sure about this change, but I think it's better to use `%.128s` instead of `%.128s`.", "reference": "I'd better increase `buf` length to MAXPATHLEN and not cut p->get_project_name() output twice" }, { "prediction": "I think this should be `fmt.Printf(\"here it is: %s\\n\", err)`", "reference": "Please remove the prints, even though this code will be trashed." }, { "prediction": "Why not use `extdataplane` instead of `intdataplane`?", "reference": "Not sure if you added deliberately but I've seen these popping up; is goimports adding them?" }, { "prediction": "I think this should be `nil`", "reference": "I think we might need some special handling for `Spec.ControlPlaneLoadBalancer.SecurityGroups`, it looks like we are currently only handling the case that `Spec.ControlPlaneLoadBalancer` is nil." }, { "prediction": "I'm not sure if this is a good place to put this model. It's a good place to put it.", "reference": "Is this from a third-party library?" }, { "prediction": "I don't think this is the right way to do this. `dom.insertedIntoFocusOrder = function(el) { return (el.tabIndex > -1 && dom.isFocusable(el) &&!dom.isNativelyFocusable(el)); };`", "reference": "Please put the `el.tabIndex > -1` in the first part of the expression. The matcher will run on every node on the page, so we should put the fastest part first." }, { "prediction": "I'm not sure if we should rename this file to `openvpn3.go` or `openvpn3.go`", "reference": "`identity` is unused now, is it for future usage?" }, { "prediction": "I'm not sure this is the right way to do this. The `Sensitive` data type should be `String` or `String` depending on the `$sensitive_value` data type.", "reference": "This would have assisted me a lot! I am on the \"functions\" page more than any other page in the docs" }, { "prediction": "`module_name.encode('ascii')` should be ` \"(c\" + module_name.encode('ascii')`", "reference": "I think it's better we keep `(` and encode with default encoding (utf-8)." }, { "prediction": "I'm not sure this is the right place to do this.", "reference": "this is gonna be different in an IDE vs from gradlew??" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do this.", "reference": "Do we not already have something for isolating syntax?" }, { "prediction": "This file is part of Invenio, not part of Invenio.", "reference": "1: D100 Docstring missing 4: I102 copyright year is outdated, expected 2014 but got 2012 158: D103 Docstring missing 168: D101 Docstring missing 170: D102 Docstring missing 180: D102 Docstring missing 187: D102 Docstring missing" }, { "prediction": "I don't think we need to add this to the `aws-sdk-s3` package.", "reference": "how **to** deny" }, { "prediction": "I don't think we need this.", "reference": "The only beef I have with this is that it's app domain global." }, { "prediction": "I don't think we need this check anymore.", "reference": "Can you link to the GitHub issue and/or PR so that it is easy for future readers to find out more about this?" }, { "prediction": "I'm not sure this is the right way to do this. The `VUID-VkMemoryPriorityAllocateInfoEXT-priority-02602` should be the priority of the `VkMemoryPriorityAllocateInfoEXT` and not the `VkMemoryPriorityAllocateInfoEXT` itself.", "reference": "Typical to report the value found as well as the valid bounds." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `transactionLastValidRound` parameter that is a `uint64` instead of a `uint64`.", "reference": "maybe we want 0 as a default value?" }, { "prediction": "I don't think we need to encode the hash here.", "reference": "can we get height from sf at very beginning of the function and use that as height of the block?" }, { "prediction": "Should this be `Microsoft.Kestrel.StandardsPolice.StandardsPoliceCompileModule`?", "reference": "Does this have to be public and in the primary namespace?" }, { "prediction": "I'm not sure if this is the right place to put this lock. I'm not sure if this is the right place to put this lock.", "reference": "I'm a bit confused. Doesn't `mdWriterLock` already synchronizes calls to this function?" }, { "prediction": "This should be `return sprintf('http://www.dailymotion.com/video/%s', $media->getProviderReference());`", "reference": "Does it make sense to generate a dailyMotion url without the video reference? It does not to me, but can we throw an exception here?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Why the separation of imports here?" }, { "prediction": "I think this should be `dependencies.Interface` instead of `dependencies.Interface`.", "reference": "Random extra newline." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to use `axe.utils.querySelectorAll` instead of `axe.utils.querySelectorAll`.", "reference": "No need for this variable." }, { "prediction": "I think this should be `html.RawText` instead of `html.escape`.", "reference": "Why not use `msg` directly below?" }, { "prediction": "I don't think we need to suppress this warning.", "reference": "I think other places changed to use `Deque` instead of suppressing the warning." }, { "prediction": "I don't think this is needed. It's already included in `boost/range/algorithm_ext/erase.hpp`.", "reference": "missing: utility, cstddef also: vector is already included in the header (interface requires vectors as in/out types)" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if `fetchMock` is a good idea.", "reference": "I'm not sure this is necessary in the config here, as Jest would be setting the global `fetchMock = ''`. See below." }, { "prediction": "I don't think this is the right thing to do. The `mFolder!= null? mFolder.getName().hashCode() : 0` is the same as the `mUid.hashCode()` which is the same as `mFolder!= null? mFolder.getName().hashCode() : 0` which is the same as the `mUid.hashCode()` which is the same as the `mFolder!= null? mFolder.getName().hashCode() : 0`", "reference": "Can `mFolder == null` happen during regular operations? Or is it only so we can be lazy in tests?" }, { "prediction": "Use the new Ruby 1.9 hash syntax.", "reference": "I'd suggest using the actual MIME types here - so `text/plain` and `multipart/alternative` or does that cause problems with what postgres allows for enumeration names? If so then maybe just replace the slash with an underscore?" }, { "prediction": "`team=app.config['TEAM_NAME'].lower()`", "reference": "Ohh. `TeamName` is actually a \"friendly\" name displayed in the Catalog - not the name used in the CLI. So I guess we'll need a new variable here. (That is, this is going to be mainly a `quilt.yaml` change. You won't need the `.lower()`, though.)" }, { "prediction": "I'm not sure this is the right place to do this, but it seems like it should be moved to the top of the file, so that we don't have to call `flow.backup()` twice.", "reference": "Nit: Don't move it between `require_dummy_response` definition and usage, this can live above or below :)" }, { "prediction": "I'm not sure if this should be a `bool` or a `string`.", "reference": "With the current code, it not work if `EnableCatchupFromArchiveServers` is disabled. to fix it: in getDNSAddrs, change the predicate to `if wn.config.EnableCatchupFromArchiveServers || wn.config. EnableCatchupFromArchiveServers {` and in the catchup/service.go and catchup/catchpointService.go, use the `PeersPhonebookArchivers` only when `wn.config.EnableCatchupFromArchiveServers` is enabled." }, { "prediction": "I don't think this is the right place to do this.", "reference": "Why not make `SearchForNodes` do a `GetOrCreate` for the root node? (Not advocating for it, but just wondering if there's another reason than avoiding having to pass in the path.)" }, { "prediction": "Why not just call `rlpxAgent.start()` here?", "reference": ":+1: amazing that this has been missing since it was originally implemented" }, { "prediction": "nit: `file.toInputFile().getLength()` is the same as `file.toInputFile().getLength()`.", "reference": "Just want to note here that although we do check `length` while writing to choose whether to close and start a new file, that doesn't happen for ORC already so it is fine to use a FS call in this method." }, { "prediction": "I don't think this change is needed.", "reference": "nit: I feel multiple `if (...) { return... }` is more readable than `if... else...`." }, { "prediction": "Why is this needed? I don't see any changes to this file.", "reference": "This is needed for us to work in IDE UTs" }, { "prediction": "I'm not sure if this is the right thing to do, but I think it's better to leave it as it is.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but if it is the right thing to do, I'm fine with it.", "reference": "this `label=` is docker specific, while here in libcontainer there shouldn't be any mention to docker. `DisableSecOpt` and `DupSecOpt` should just deal with `disable,role,type,level`. Both CRI-O and docker should just pass `disable,role,type.level` stuff and not `label=...`." }, { "prediction": "I'm not sure if this should be `--recurse` or `--list`?", "reference": "You need to declare variable `recurse` above, same place as `localTime`." }, { "prediction": "I'm not sure if this is the right thing to do here. The `new_data` is a copy of the `spreading` object, so the `xdensity` and `ydensity` arguments are not necessary.", "reference": "Why does `clone` not already copy `xdensity` and `ydensity` from what it is cloning?" }, { "prediction": "I don't think this is the right place to put this. It should be `if (meterSources.Count() > 0) {`", "reference": "Curious - do we do the same for traces (when no ActivitySource / legacy source are added)? (and why we want to do it for metrics?)" }, { "prediction": "The unit is KHz.", "reference": "@aimanrosli23 For the changes in file SdMmcPciHci.c, please make sure that you do not revert the changes made by the below commits: SHA-1: 49accdedf956f175041040e677163b7cbb746283 * MdeModulePkg/SdMmcPciHcDxe: Hook SwitchClockFreq after SD clock start SHA-1: c67617f3c677c342efde780e229f841f4e0f6c7e * MdeModulePkg/SdMmcPciHcDxe: Add retries for sync commands SHA-1: 6d387610855ee27b49cb720de29ed809ea59dadc * MdeModulePkg/SdMmcPciHcDxe: Read response on command completion SHA-1: 63fd7f389874081ea37452b1f79ac013d52755e3 * MdeModulePkg/SdMmcPciHcDxe: Do not map memory for non DMA transfer" }, { "prediction": "I think this should be `` instead of ``", "reference": "You'll also need to add `webelem.Group.all` everywhere as that matches as well" }, { "prediction": "Please use `if ($(\"input:radio[name='ncr_proposal[expense_type]']:checked\").val() == 'BA80') {` instead of `if ($(\"input:radio[name='ncr_proposal[expense_type]']:checked\").val() == 'BA80') {`", "reference": "Does this need to be an ERB template?" }, { "prediction": "I'm not sure if we should be mocking this. I'm not sure if we should be mocking this.", "reference": "do we want to register this in the mock server for testing?" }, { "prediction": "I don't think this is the right place for this test.", "reference": "shouldnt this be `0:996` (+4) so the 1000s below fit?" }, { "prediction": "I think this should be `self._sorted = MultiDimensionalMapping._sorted` instead of `self._enabled = MultiDimensionalMapping._sorted`", "reference": "The docstring of this context_manager should be updated. As now ``sort=False`` is valid, it should just say it disables sorting regardless of whether the NdMapping has ``sort=True`` or ``sort=False``. I also think the line 'Should only be used if values are guaranteed to be sorted before or after the operation is performed.' should just say something else - maybe just that the initial ordering (whatever it is) should be preserved?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "This tests failed unless I swapped the order here. Perhaps some new class transform broke the old form?" }, { "prediction": "I think this should be `if not cls.debug_java_port:`", "reference": "extract the port and set to `debug_java_port`" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to use `entry['directory'].abspath()` instead of `os.path.join(entry['directory'], sourcefile)`.", "reference": "When the argument list is `[\"one\", \"two three\"]` then you concatenate it as you do it here, you won't be able to get the original list back with split. You need to annotate the list items better. (Or if you won't do the split by yourself, the called shell will do it. So you need shell escaping. How portable is that?) The main driver to change this in `intercept-build` was to get rid of these concatenation and splitting errors. The current compilation database parser in Clang understands the `arguments` filed... So the question, why don't you pass the command around as a list instead of a string?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if it's the right place to put this.", "reference": "`ctx` is unused in EnablePiped" }, { "prediction": "I don't think we need to pass `authenticated` as an argument to `__init__`, since `user` is already passed as an argument to `__init__` and `persistent_hash` is already passed as an argument to `__init__`.", "reference": "Why do we have both a list of valid sessions and an instance variable if a session is destroyed?" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "nit : I think that it would be \"cleaner\" to set the `flushcount` to nil in case of an error nice catch ;-)" }, { "prediction": "I think we should use `assertThat(null, equalTo(new NullRepository().fetchInstallableApplications()));` instead of `assertThat(null, equalTo(new NullRepository().fetchInstallableApplications()));`", "reference": "You may want to use assertNull" }, { "prediction": "Can we use a constant here?", "reference": "Break out tests for events into their own tests rather than placing them in other ones. That makes it easier for us to figure out where problems lie and to do a TDD-driven implementation over new APIs." }, { "prediction": "Why is this no longer needed?", "reference": "Why did you remove this?" }, { "prediction": "I think this should be `log.Infof(\"Mapping for port %d failed: %s\", logPrefix, extPort, err)`", "reference": "Why we need another error printouts? We already have it inside addMapping.." }, { "prediction": "I'm not sure this is the right fix. The `location_map` is guaranteed to be non-empty when `location` is `NULL`.", "reference": "This LGTM, but I'm curious if this fixed a specific error you were hitting?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Actually we rely on this functionality in cgroup v2, where the subsystem is empty." }, { "prediction": "This should be `go.opentelemetry.io/api/core/registry`.", "reference": "suggestion: use `core` package name" }, { "prediction": "I don't think this is the right place to put this.", "reference": "I think we can entirely remove this `limit` parameter for now to be consistent with other APIs." }, { "prediction": "I'm not sure if this is the right place for this function. It seems like it should be moved to `localstack/services/infra/resource_groups_service.py` and `localstack/services/infra/resource_groups_tags_service.py`.", "reference": "nit: `Resource Groups Tagging API` -> `Resource Groups API`" }, { "prediction": "I'm not sure if this is the right place to put these imports.", "reference": "This type of list + delete always make me a bit uneasy but guess there's no atomic way to do this...... Could you put a todo to retry the \"ClearRepository + delete repo\" flow a few times? Basically, imagine a new image is added right after we call `ListImages`, then `DeleteImages` will not delete that newly added image. Then the delete repo call will fail" }, { "prediction": "I think this should be `eslint-disable no-unused-expressions`", "reference": "You can remove this since ES6 modules are strict by default. And thanks for contributing to the Jellyfin Project." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Why did eip1559 go from a list (0xf9020280.....) to a wrapped string (0xb902060ff9020280...) and not just concatenation (0x0ff9020280...)? implementation detail or is this how it sits on the wire now?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "@wallyqs Since on Windows it would be `\\` instead of `/` I just look at the suffix past `configs/`. Let me know if that's ok or not." }, { "prediction": "I don't think we need the `nil` here.", "reference": "nit: Remove this assignment because it is not necessary." }, { "prediction": "(style) line over 80 characters", "reference": "This seems like a common enough pattern to offer an equivalent wrapper in `ot-fs-util.c`, no?" }, { "prediction": "I think this should be `isItemAndHasDownloadLink` instead of `isItemHasDownloadLink`.", "reference": "Wouldn't this crash the app if the user is currently listening to a stream?" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to just check for `prefix!= \"\" &&!strings.HasSuffix(prefix, \"/\") { prefix += \"/\" }` instead of checking for `directory!= \"\" &&!strings.HasSuffix(directory, \"/\") { directory += \"/\" }`", "reference": "This looks like an unrelated change? What is it for?" }, { "prediction": "I don't think we need this.", "reference": "Wait, what is this doing? Is this a way to create methods that are only accessible from tests?" }, { "prediction": "I think this should be `CanListChaos(c, ns)`", "reference": "Is it more reasonable to return some errors here, such as returning error codes (403 and so on?)?" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if `_lastDomChildSibling` will be initialized to `undefined` or `undefined` depending on whether `_lastDomChildSibling` is set to `undefined` or not.", "reference": "Thinking out loud... would `_nextDom` be a better name for this?" }, { "prediction": "Why is this removed?", "reference": "Turns out the unittests also had a false positive." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I think these method names would be clearer if written as \"Create a {type} counter|gauge|measure with given name\". eg \"Create a int64 counter with given name\" \"Create a double gauge with given name\"" }, { "prediction": "I'm not sure if `getThingByUID` is the right thing to check.", "reference": "it pushes a boolean, so it has to be explicitly casted to boolean with!= nullptr, same with all other similar stuff" }, { "prediction": "I think this should be `rebuild_instances()` instead of `rebuild_instances()` since the `m_history` is a member of the `ParticipantImpl` class.", "reference": "It would be nice to have an equivalent of this call on `DataWriterImpl::enable`" }, { "prediction": "I'm not sure if this is the right status for the block?", "reference": "Isn't this PENDING?" }, { "prediction": "I'm not sure this is the right way to do this, but I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "minor detail, why aim to sanitize title if tile is empty (in some cases)? worth adding an && to check for that." }, { "prediction": "Please remove this unused import.", "reference": "Code shared by ParentChildrenSyncDownTarget and ParentChildrenSyncUpTarget moved to ParentChildrenSyncTargetHelper" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "The bug is not about the priority, But we use 2 config items CAPACITY and SEQUENTIAL to control 1 action: thoughput. If'sequential' is given to 'False' as default in configfile and then I use 'capacity' to 10 in my test.yml, the 'capacity''s priority should be higher than default'sequential'. So, I suggest we use only one 'capacity', it is enough. '1' is sequential, more than 1 is capacity, None is sys.maxsize." }, { "prediction": "why not use `assert.New(t)` instead of `require.New(t)`?", "reference": "I don't know if I'd call any of these FAST tests integration tests. They are unit tests for FAST. They use a mock plugin which doesn't actually start any external processes, etc." }, { "prediction": "I'm not sure if this is the right place to call this method.", "reference": "Can you provide corresponding UT for this." }, { "prediction": "Remove empty line.", "reference": "nit: this should be below the yarpc group" }, { "prediction": "I think this should be `prometheus.AlreadyRegisteredError` instead of `nil`.", "reference": "singleCaseSwitch: should rewrite switch statement to if statement (from `gocritic`)" }, { "prediction": "I don't think we need to retry here.", "reference": "Please log once here at Error level \"Failed to connect to Typha, will retry...\"" }, { "prediction": "I don't think `false` is a valid argument for this test.", "reference": "Do we need the forXDP parameter in runBpfUnitTest? If not, I think better to revert in order to save a few changes." }, { "prediction": "I don't think this is needed, it's only used in the `__call__` method.", "reference": "So we fix it only for kinto and not for all cliquet resources?" }, { "prediction": "I don't think we need these imports anymore.", "reference": "No empty line between" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "We have `ResolveRootfs` in `libcontainer/utils` so maybe use that one here?" }, { "prediction": "I'm not sure this is the right way to test long-running extensions. I'm not sure if this is the right way to test long-running extensions, but I'm not sure if this is the right way to test long-running extensions.", "reference": "Just curious, do we have positive test covered somewhere?" }, { "prediction": "This should be `!= 0`.", "reference": "Style error, put a space between `if` and `(`" }, { "prediction": "I'm not sure this is the right thing to do here. I think it would be better to have a `EnableEndpointDiscovery` flag that is set to `true` by default, and a `DisableEndpointHostPrefix` flag that is set to `false` by default. This way, we don't have to set `EnableEndpointDiscovery` to `false` by default.", "reference": "It's a bit odd to have a \"disable\" boolean, though it looks like you already do that for a few other flags." }, { "prediction": "I'm not sure if this is a good default, but I'm not sure if it's a good default, or if it's a good default.", "reference": "Why did you pick two hours for this?" }, { "prediction": "I'm not sure this is the right way to do this, but I think it's better to use `ReadPasswordTwice` instead of `ReadPasswordTwice`.", "reference": "What about \"enter new password\"? That would be a bit more consistent to the `ReadPasswordTwice` usage in cmd_init." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. If it's the right way to do it, I'd prefer to leave it as it was.", "reference": "Another redundant import" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "What kind of errors might cause us to reach this point? Could any of them be recoverable i.e. might work if we asked the same server again? Similar question for below, but perhaps with a slightly different answer" }, { "prediction": "I'm not sure why this is needed.", "reference": "What is the difference between GraphType and graph_type. Naming should be more accurate." }, { "prediction": "I think this should be `EntityManagerInterface` instead of `EntityManagerInterface`.", "reference": "hmmm in docblock of contructor it is EntityManagerInterface....maybe it should be that way.... :confused:" }, { "prediction": "Why do we need to do this?", "reference": "I'm curious why you went the route of adding a new method name for this. Given that you it would be possible to just have an an overload of `GetPos()`, and that this change breaks existing code, I wonder why you chose to go this way." }, { "prediction": "I'm not sure if this is the right place for this label. I think it should be something like `Due date: ` + (subscription.due_date ||'Past due')`.", "reference": "Does this need to change `'active'` to `'Active'` and that? Or is that done in CSS or something?" }, { "prediction": "I don't think this is needed.", "reference": "Why are these constants public? They should also be listed above members." }, { "prediction": "I don't think this is the right place to fix the v value.", "reference": "This TODO isn't related to this change. We should remove it." }, { "prediction": "I'm not sure if this is the right thing to do, but I think it would be better to keep the default implementation as `Stream metrics()` and return `Stream.of(FieldMetrics.class)` if `metrics()` returns `Stream.of(FieldMetrics.class)`.", "reference": "`FieldMetrics` is parameterized, but this is a bare reference. Could you update it? I think it should be `FieldMetrics` since the metrics are not necessarily for the written value type, `D`." }, { "prediction": "I'm not sure this is the right place for this. The `CreateMeterProviderBuilder` method is only called from the `CreateMeterProvider` method, so I think it should be moved to the `CreateMeterProviderBuilder` method.", "reference": "@cijothomas do we want this to be `Set` or `Add`?" }, { "prediction": "I'm not sure this is the right value for this property. I'm not sure if it's the right value for this property.", "reference": "Why are we dropping GasCap?" }, { "prediction": "I think this should be `\"Passed span's context is not valid\"`.", "reference": "should we end the text with a.?" }, { "prediction": "I think this is a bug fix.", "reference": "Could this instead keep the `go_native` and add to it \"or the last exit was the special reset exit\"?" }, { "prediction": "This is the only place where the saveSettings function is called. I'm not sure if it's safe to remove it.", "reference": "Oh, I missed this one: The other instances of `this` you've added as lambda contexts aren't really needed, although they're harmless. However, in the above connection, the missing context is `panel`, not `this`. Please correct it! Clazy may show warnings about lambda contexts (I don't use Clazy) but, if so, that's a problem in clazy: it isn't smart enough to know about them." }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's worth it.", "reference": "can we add a try / except around this to make it more stable? I like the idea of any mistakenly un-quit drivers closing down after the process is quit (the java server does this... also i forget to do driver.quit often when i use the command line repl :) )" }, { "prediction": "I don't think this is the right place to check for content-length. I'm not sure if this is the right place to check for content-length, but if it is the right place to check for content-length, I'm not sure if this is the right place to check for content-length. I'm also not sure if this is the right place to check for content-length.", "reference": "when would this happen? backward compatibility?" }, { "prediction": "I think this should be `tagName.toLowerCase()` instead of `tagName.toLowerCase()`", "reference": "I'm not sure what the value of this is. So far we've solved this by always doing `tagName.toUpperCase()` for everything. I think we should stick with this." }, { "prediction": "Can we add this help text to `mayactl snapshot list --volname `?", "reference": "This command displays available snapshots on a volume." }, { "prediction": "I'm not sure about this change, but I'm not sure if we want to change the order of the imports.", "reference": "`spb` is the standard package name we use for this proto." }, { "prediction": "I think this should be `{name: string, handle: string}`", "reference": "/javascript/firefox-driver is the Selenium implementation of a WebDriver for Firefox. Since it generally isn't W3C compatible, it shouldn't change. We can just drop this change." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "is this pr support parallelly process application?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "Based on the assumption that when `EnablePulls` is `true`, `CanEnablePulls` must be `true` as well, then this `if` check is redundant. Actually... we have `AllowsPulls` now... why not use that?" }, { "prediction": "I think this should be `return;` instead of `return;`", "reference": "I am not sure why the API requires both project name and project ID as inputs. Wouldn't it introduce more opportunities for clients to make mistakes?" }, { "prediction": "Line is too long. [87/80]", "reference": "I believe this was happening for several different flash messages - should we add `now` to all flash messages? (there might be a downside to doing that, but I am not sure what it would be)" }, { "prediction": "I don't think we should add this to the `ExceptionListener` class.", "reference": "There is no docblock on the parent method. Also, not related, but I forgot to typehint the `$templating` constructor argument above." }, { "prediction": "I think this should be `\"5.6\"` instead of `\"5.6\"`", "reference": "Silly me. This shouldn't be done in the tests, but instead in the actual definition of ValidPHPVersions on arm64. Same with Mysql and MariaDB." }, { "prediction": "`queryRelation == QueryRelation.INTERSECTS`?", "reference": "Shouldn't this work as well for Disjoint?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "You've not updated the `o.Status.Reason = fmt.Sprintf(\"Failed to retrieve Order resource: %v\", err)` line below here when you changed this, so here we are checking `errUpdate` but will print the contents of `err` instead." }, { "prediction": "I'm not sure this is the right error type to use, but it seems like it should be `SocketError` instead of `SocketPoller`", "reference": "Doesn't this need to include `Errno::ECONNRESET` to fix the issue?" }, { "prediction": "I think we should rename these constants to `project_cache_size_percentage_of_disk` and `project_cache_throttle_percentage`", "reference": "Please consider keeping the config key in one line as it will help in case someone is looking at how this config is used. public static final String PROJECT_CACHE_THROTTLE_PERCENTAGE = \"azkaban.project_cache_throttle_percentage\";" }, { "prediction": "I'm not sure if this should be exposed to the user. I think it should be exposed to the user.", "reference": "This is a hard one, naming-wise... `ListPowerSelectorEntries` is logical given `ListSelectorEntries`. Another option could be `ListMatchingEntries` or even `FindMatchingEntries`. :shrug:" }, { "prediction": "Can we use `uint` instead of `uint`?", "reference": "This should be called `Uint` or `Uint32` or simply using our `Uint64` type instead. All of our numbers have varint encoding. It's not inherently a varint." }, { "prediction": "I think this should be ` pygment=True` instead of ` pygment=False`", "reference": "No need for this when you don't need to customize anything about the argument." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "We're now going to have 3 `#sections_accordion` will need to see how JS behaves. We should probably switch to a class selector instead" }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "did you mean to leave this in here?" }, { "prediction": "I'm not sure this is the best way to generalize image using Windows Sysprep. I'm not sure if it's the best way to generalize image using Windows Sysprep.", "reference": "Mention that it only applies to Windows. This is kind of implied, but better to be explicit." }, { "prediction": "I'm not sure this is a good idea, but I'm not sure it's a good idea to have negative numbers.", "reference": "again: it is a bad practice to have some global parameters with such common names for unit test purpose." }, { "prediction": "Why do we need to cast `$expiresAt` to `DateTime`?", "reference": "Should we use `\\DateTimeInterface` or `DateTimeInterface` and declaration of `DateTimeInterface` in `use`?" }, { "prediction": "Can we move this prefix to `cloudformation-`?", "reference": "What do you think of moving this stack related constant to the `stack` pkg?" }, { "prediction": "I think this should be `errors.New(\"nonempty AuthAddr but rekeying not supported\")`", "reference": "Hm, I guess that you're doing this here since `WellFormed` is on a `transactions.Transaction` and not a `transactions.SignedTxn`, but quickly grepping through our code, it looks like we always a `SignedTxn` around when calling `WellFormed` (except maybe some tests?)... this doesn't have to happen here, but maybe we should update that in a separate PR since this really feels like a `WellFormed` check." }, { "prediction": "I think this should be `padding: 0`.", "reference": "This story also needs the default padding." }, { "prediction": "I think this is a bug fix. The randomState.nextBoolean() will always return false, so we can't throw a deterministic exception.", "reference": "Hmm why did we remove the randomness about which (confusingly) different exception to throw here? This randomness was (is?) useful to help test that Lucene indeed catches `FNFE` and `NSFE` interchangeably." }, { "prediction": "I think this should be `remote_collection_id!= NULL && g_strcmp0 (match_collection_id, current_collection_id)!= 0`.", "reference": "Hm, so before in that case `current_collection_id` looks like it was actually an uninitialized pointer. It seems weird to me that the tests pass both ways. I haven't looked closely at the tests - is there something wrong there that causes this to spuriously pass before?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "s it the best way to tag \"foo\" of \"`define foo...\" with constant kind? Introducing \"d/definition\" kind and tagging the \"foo\" with the definition kind is an alternative way. Using the unified kind \"constant\" in many areas reduces the information that client tools get from a tags file. In my experience, it is better to tag different things with different kinds. If ctags hides the differences, and just reports various language objects as \"constant,\" in some cases, a client tool must parse the raw.sv source file for distinguishing whether a given tag is \"`define\"'ed or not. IMHO, ctags should not be too smart. Instead, ctags should be stupid; it should report what it sees in source input files as-is to client tools that will do something smart." }, { "prediction": "Why did you remove this?", "reference": "is this a breaking change? If I'm not mistaken, this is translating a user-provided `wtimeout` in the connection string into `wTimeoutMS`" }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to use `logger.info()` instead of `print()`.", "reference": "Can we rename this file to `lambda_echo.py`, to be more descriptive and in line with the other files in this directory? (all files in this folder are lambda functions, after all)" }, { "prediction": "I'm not sure this is a good idea, but I'm not sure it's a good idea.", "reference": "why not do it like this?

     const ( Kill Action = iota Errno Trap Allow Trace ) 
    "
        },
        {
          "prediction": "Nitpick: I think this should be `lock(this.appenders[i])` instead of `lock(this.appenders[i])`",
          "reference": "lock(this) is a bad practise, since you lock the entire instance. cosider: var appenderCache = xxxx. lock(appenderCache) { Thread.Sleep(TimeSpan.FromHours(5)); } while inside AppenderCache instance lock(this) { is blocked 5 hours. } Its always better to make a class private lock objects."
        },
        {
          "prediction": "I'm not sure if this is the right place to put this.",
          "reference": "should we use the constant above?"
        },
        {
          "prediction": "(style) line over 80 characters",
          "reference": "I think something like `size_res` would be more descriptive."
        },
        {
          "prediction": "I'm not sure this is the right place to put this, but it seems like it should be `@value['report'] = report if report` or `@value['_error'] = error if error` or `@value['_output'] = metrics_message if metrics_message` or `@value['report'] = report if report` or `@value['_error'] = error if error` or `@value['_output'] = metrics_message if metrics_message` or `@value['report'] = report if report` or `@value['_error'] = error if error` or `@value['_output'] = metrics_message if metrics_message` or `@value['report'] = report if report` or `@value['_error'] = error if error` or `@value['_output'] = metrics_message if metrics_message` or `@value['report'] = report if report` or `@value['_error'] = error if error` or `@value['_output'] = metrics_message if metrics_message`",
          "reference": "Oh lol so this was...really more of a bug?"
        },
        {
          "prediction": "I think this is a good place to suppress the warning.",
          "reference": "Well, it is providing a platform neutral way of calling Task or TaskEx. We could just call it PlatformTask."
        },
        {
          "prediction": "I'm not sure if this is the right fix.",
          "reference": "Typo: this should free `xwayland` instead"
        },
        {
          "prediction": "I think this should be `crypto/rand`, not `math/rand`.",
          "reference": "Is it ok to use \"math/rand\" instead of \"crypto/rand\" here? Do we need to protect this ID somehow?"
        },
        {
          "prediction": "I don't think we need to add this to the `cihub/seelog` package.",
          "reference": "Why did we have `logxi` in the first place? Maybe it makes sense to remove it from `glide.lock? It will safe us in the future from using logger which is not working."
        },
        {
          "prediction": "I'm not sure this is the right place to put this.",
          "reference": "Is there a reason to use `getUNF()` and `UNF` in the same block?"
        },
        {
          "prediction": "I think this should be `/c$/`, not `/a/b/c/`.",
          "reference": "Again this seems odd that megacheck cares"
        },
        {
          "prediction": "I'm not sure this is the right place for this. I'm not sure if this is the right place for it.",
          "reference": "I assume this will resolve to nil if this isn't in the config?"
        },
        {
          "prediction": "I'm not sure if this is the right place to put this.",
          "reference": "I looks like we can make `allowOptionalMappings` non-optional since we have another overload without it. (I thought this generated a compiler warning, but maybe it's just R#)"
        },
        {
          "prediction": "Add `required=True` to the end of the line.",
          "reference": "` per scale.` -> ` per scale.` need to clean the unnecessary blank space"
        },
        {
          "prediction": "I don't think this is needed.",
          "reference": "there's no import for Export"
        },
        {
          "prediction": "I'm not sure if this is the right place to put this.",
          "reference": "i don't think we want/need to make the node API available over UDS"
        },
        {
          "prediction": "This should be `findById` instead of `findById`.",
          "reference": "How about to skip if and returning null and return a result of `ArticleFacade::findById` directly?"
        },
        {
          "prediction": "I'm not sure this is the right place to do this, but I think it would be better to do `Array.prototype.map.apply(this,arguments)` instead of `Array.prototype.map.apply(this,arguments)`",
          "reference": "I think this change is currently unnecessary. I like the idea of `map()`, `filter()`, etc. returning vanilla JavaScript arrays rather than mongoose arrays, but I think that's a bit too heavy of a change for a patch release. I think that all we need for this release is the `if (!parent || parent.$__.populated == null) return;` change."
        },
        {
          "prediction": "Travis doesn't have a `version` method, so this should be `@version ||= git rev-parse HEAD 2>/dev/null` or `@version ||= `git rev-parse HEAD 2>/dev/null`",
          "reference": "how about \"unknown\" instead of \"fafafaf\"?"
        },
        {
          "prediction": "I'm not sure if this is the right place to put this.",
          "reference": "nit: do we gain anything from naming the output error `err` in this definition?"
        },
        {
          "prediction": "I think this should be `dlg.hasAttribute('activeElement')`",
          "reference": "This can happen with any dialog. Maybe the best place to add this change would be the dialog component instead."
        },
        {
          "prediction": "I think this should be `dumpEnvOutputOnFail(t, env.Processes())`",
          "reference": "Should this be `TearDown` since it now calls this method? Something I would like to see is, on test failure don't teardown completely instead leave the FAST repo in place with the stderr and stdout files and direct the user to that location. What do you think?"
        },
        {
          "prediction": "I think this should be `MetricNegLogLikelihood(metricSpec)`",
          "reference": "There's not particular reason to use a short name. Can we use a more descriptive name for the metric? Perhaps \"negativeLogLikelihood\"?"
        },
        {
          "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's worth it.",
          "reference": "not handling in case of `repr` makes the behavior probably a little too unpredictable. Is there a reason not to, apart missing stuff in the `repr`? Does it lead to some problem?"
        },
        {
          "prediction": "I'm not sure this is the right fix. The `AdvanceTo` call will advance to `consumed` and `examined` to `examined`, so the `ReadAsync` call will never be called.",
          "reference": "Remove the finally?"
        },
        {
          "prediction": "(style) please, no space before tabs",
          "reference": "Build on AArch64 fails because WCHAR is not defined."
        },
        {
          "prediction": "Why is this needed?",
          "reference": "Do we use this const?"
        },
        {
          "prediction": "I'm not sure if this is the right place for this function. It seems like it should be moved to `CertificateRequestModifier` and `CertificateRequest` to `CertificateRequest` and `CertificateRequest` to `CertificateRequest` and `CertificateRequest` respectively.",
          "reference": "I think this may need to be `SetCertificateRequestAnnotations` as it returns a `CertificateRequestModifier`"
        },
        {
          "prediction": "Use `instance_of?` instead of `instance_of?`.",
          "reference": "it would likely be better to do this in the Identifier.by_scheme_name method itself."
        },
        {
          "prediction": "I think this should be `Date created` instead of `Date changed`.",
          "reference": "@janette looking at this test code, I'm pretty sure that it's going to give a false positive. Where is it actually checking the contents of the first four datasets against expected values? All the assertion at the end of the test seems to check is that at least four datasets exist."
        },
        {
          "prediction": "I don't think we need this. I think we can just use `/ghost/api/(.+)` instead of `/ghost/api/(.+)`",
          "reference": "Would this break things if Ghost is run in a subdirectory or no?"
        },
        {
          "prediction": "I'm not sure if this is the right place to put this logic in the recorder, but it seems like it should be in the `update_association_format` method, rather than in the `update_comment_format` method.",
          "reference": "maybe switch the order in order to make this a positive assertion instead of a negative one? i.e. `if key =~ /id/` first."
        },
        {
          "prediction": "`ElementNotVisibleException` should be renamed to `ElementNotVisibleException`.",
          "reference": "Is this an oversight for some code in the body?"
        },
        {
          "prediction": "I think this should be `state.setProduct(mProduct);` instead of `state.setProduct(mProduct);`",
          "reference": "Reason for adding this? I couldn't find where you are retrieving it back."
        },
        {
          "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.",
          "reference": "Can we expect adequate information emitted to the log in case either requiring preloads.rb or doing the requires in preloads.rb fails? If the answer is yes, I think we can merge this PR right away."
        },
        {
          "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.",
          "reference": "How about a `app/views/layouts/pages.html.erb` layout that contains the HTML head, body, wrappers and yield's the `new-topics` template into it? I think we might be able to delete the `app/controllers/pages_controller.rb` file at that point."
        },
        {
          "prediction": "I think this should be `return this.$__.selected == null;`",
          "reference": "This is a coarse solution. This check is helpful, but you should also add a check in `$__version()` to avoid calling `isSelected()` if `key === false`"
        },
        {
          "prediction": "I'm not sure this is the right place to put this in. It seems like it should be in a `planner.go` file.",
          "reference": "Passing only needed data to make it can be reused by `planpreview` package where there is no deployment data."
        },
        {
          "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if `CustomClientAuthAuth` and `CustomRouterAuthAuth` are the right names for these auth types.",
          "reference": "Could we rename those to `CustomClientAuthentication` (same for Router) to remove ambiguity between Authentication and Authorization (permissions)?"
        },
        {
          "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it.",
          "reference": "Is the name \"IMvxFormsViewPresenter\" too close to \"IMvxFormsPagePresenter\"? Perhaps something like \"IMvxFormsNativeViewPresenter\" or \"IMvxFormsPlatformViewPresenter\" or inline with Forms naming \"IMvxFormsOnPlatformViewPresenter\""
        },
        {
          "prediction": "I'm not sure if `child` is a `number` or `string`?",
          "reference": "`typeof child!= 'boolean'` maybe?"
        },
        {
          "prediction": "`containsKey` is not supported in Java 8",
          "reference": "Why && changed to ||?"
        },
        {
          "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but if it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure.",
          "reference": "nit: not a big deal right now but spec assigns ID 0 to InitAddress"
        },
        {
          "prediction": "I think this should be `{name: string, handle: string}`",
          "reference": "/javascript/firefox-driver is the Selenium implementation of a WebDriver for Firefox. Since it generally isn't W3C compatible, it shouldn't change. We can just drop this change."
        },
        {
          "prediction": "I think this should be `self._zoom.fuzzyval = int(fact * 100)`",
          "reference": "There are various places where `setZoomFactor` is used but `fuzzyval` isn't set: - `__init__` and `on_config_changed` (should be okay as `init_neighborlist` gets called which essentially does the same) - `zoom` (calls `zoom_perc` with `fuzzyval=False`), which is used by `:zoom-in` and `:zoom-out`. Are you sure this won't break those calls? (Yes, I know there should be tests for this - I'm working on that.) Other existing places probably should get simplified."
        },
        {
          "prediction": "I don't think this is the right place to do this. I'm not sure if this is the right place to do it.",
          "reference": "Is there a benefit to keeping this in RefinementSettings? Or could we move it into its own class in TestUtil?"
        },
        {
          "prediction": "I think this should be `Results` instead of `Ready`.",
          "reference": "I would have expected the Ready method to need to change to be a `<-chan Result` instead of a `<-chan map[string]Result`. The difference being that now the Ready channel can produce more than one set of results. In fact the name Ready is inaccurate now since its not about the query being ready but just a mechanism to deliver results. If this should be a follow up PR that is fine, lets create an issue for it."
        },
        {
          "prediction": "I think this should be `@Restricted(NoExternalUse.class)` instead of `@Restricted(NoExternalUse.class)`",
          "reference": "why? what if we want to access those methods outside of azkaban-common?"
        },
        {
          "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.",
          "reference": "Rename file too"
        },
        {
          "prediction": "I think this should be `r.HTTPResponse.StatusCode` instead of `r.HTTPResponse.StatusCode`.",
          "reference": "Need to populate the `RequestID` field for these errors. This can be obtained from r.RequestID i think, but need to make sure. The `r.RequestID` should of been populated from the `UnmarshalMeta` handler list."
        },
        {
          "prediction": "I'm not sure why these were removed.",
          "reference": "Why is the `final` being removed here?"
        },
        {
          "prediction": "@abumusamq is there a reason why we don't have the license header?",
          "reference": "Maybe let's take this opportunity to change easylogging to a git submodule?"
        },
        {
          "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.",
          "reference": "Should we just be generous and elide all extra whitespace? `strings.TrimSpace`"
        },
        {
          "prediction": "This method is no longer used.",
          "reference": "This is an inaccurate API that has outlived it's purpose. We can't make the determination of phone (vs) tablet, with a 7\" screen in the mix. Also, with the advent of fragments, this API means very little now. It's not being used anywhere, since we switched to `ActionBar`."
        },
        {
          "prediction": "I think this should be `log.debug(version());`.",
          "reference": "This change means that users can't easily see which version of the selenium server they're using. This is `info` level information."
        },
        {
          "prediction": "I'm not sure this is the right place for this test.",
          "reference": "You should just use `with patch(...):`, so it unpatches it automatically. Also, much simpler."
        },
        {
          "prediction": "I don't think this is the right place for this property.",
          "reference": "This didn't use to work for me. Are you sure that returns the correct instance from startup?"
        },
        {
          "prediction": "I think this should be `new MethodCallExpr(null, scope, new NodeList<>(), new SimpleName(name), arguments);`",
          "reference": "Looks good. Eventually we could remove some of these constructors, but for now adding these two seems the way to go"
        },
        {
          "prediction": "I think this should be `\"Need action\"` instead of `\"Need action\".lower()`",
          "reference": "@jalavik should be have somewhere enum/list/registry of possible tags?"
        },
        {
          "prediction": "I think this should be `logging.WARNING`.",
          "reference": "why is this pylint disable needed?"
        },
        {
          "prediction": "I don't think this is needed. `FORSETI_SYNC_ENABLED` should be set to `true` by default, and `POLICY_LIBRARY_SYNC_ENABLED` should be set to `true` by default.",
          "reference": "The new sync feature is only being supported from within Terraform. Installations using the deprecated method will have this feature disabled."
        },
        {
          "prediction": "I don't think this is needed.",
          "reference": "This type of return (f'xxx') is not recommended, it is recommended to return 'xxx'"
        },
        {
          "prediction": "I'm not sure how to detect AVX-512 code in use. Is it possible to detect AVX-512 code in use?",
          "reference": "I would make this level 1 or 2."
        },
        {
          "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it. I'm not sure if this is the right place to put it, but I'm not sure if this is the right place to put it.",
          "reference": "Is that path in a variable anyway? Not a big fan of hard coding it here."
        },
        {
          "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it, so I'm not sure if this is the right place to put it.",
          "reference": "nit: Move `IdentityTemplateLabel` to be under `IdentityTemplate` to match the struct in config_crd.go"
        },
        {
          "prediction": "Align the elements of a hash literal if they span more than one line.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Not necessarily related to this PR, but don't you think having a centralized place for all interactions with analytics might make this into a very big class? Is that something that you don't worry about until it happens?" }, { "prediction": "I think this should be `err := ctx.Err(); err == context.DeadlineExceeded` instead of `err == context.DeadlineExceeded`.", "reference": "it seems that my terminal is dead when I press ctrl+c during running daisy cli today, is this PR fixing that?" }, { "prediction": "I think we should use `chainStore.Config().Mpool` instead of `nc.Repo.Config().Mpool`", "reference": "If we are going to add config to specify the maximum message pool size, we should probably also add a parameter for the maximum nonce gap and pass it into the `IngestionValidator`. This could be done in this PR or added as an issue." }, { "prediction": "Please don't use wildcard imports.", "reference": "please inline imports" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a default value of `0` for `IptablesLockProbeIntervalMillis` and `IptablesLockProbeIntervalSecs`.", "reference": "Should IptablesPostWriteCheckIntervalSecs be set back to its previous smaller value, if use of the iptables lock is disabled?" }, { "prediction": "I'm not sure if this is the right error message. I think it should be `Cannot convert database from version ${fromVersion} to ${existingDatabaseVersions[existingDatabaseVersions.length-1]}`.", "reference": "Please use packageInfo here instead. As it is used in `app.js`." }, { "prediction": "I don't think this is the right thing to do here. If the file doesn't exist, the analysis will fail and report the error on it's own since the checksum won't match.", "reference": "this seems unrelated to the rest of the PR, although related to the original report" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Would a check for added columns with non-null default be sufficient for aligned format?" }, { "prediction": "I'm not sure if this is the right default value for `computeServiceAccount` and `machineImageStorageLocation`. I'm not sure if this is the default value for `machineImageStorageLocation` or `machineImageStorageLocation`.", "reference": "Is this PR implementing compute service account for OVF import as well? I thought it's only image/one-step import? Btw, OVF importer uses \"-\" instead of \"_\" in flags (should be `compute-service-account`)." }, { "prediction": "I don't think this is the right way to do this. The `elements` route should only be used if the `element` route is in the `collections` route, and the `element` route should only be used if the `collection` route is in the `collections` route.", "reference": "Why change to element?? in whole application use plural convention??" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have the `tabIndex` attribute set to `-1` so that we don't have to worry about backwards compatibility.", "reference": "Tiniest nit but this can be `tabindex={-1}`, `width={11}`, `height={11}`" }, { "prediction": "I'm not sure if this is the right way to test this, but I'm not sure if this is the right way to do it.", "reference": "Unrelated to this PR, we should remove this exception. We now require `numpy`." }, { "prediction": "I'm not sure if we should pass `s.Vars` to `NewSubWorkflowFromFile`, but I think it's better to pass `s.Vars` to `NewSubWorkflowFromFile` than to pass `s.Vars` to `NewSubWorkflowFromFile`.", "reference": "Is the loop over vars and adding them to the subworkflow below in this file needed, since it's already done by NewSubWorkflowFromFile?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I think this should be `dataframe_input` instead of `simple_csv_input`.", "reference": "Having to write this util makes me think that maybe we should have kept the csv_input stuff. I don't know." }, { "prediction": "I think we should pass the config to `newBlockRetrievalQueue` instead of passing the config to `newBlockRetrievalQueue`.", "reference": "Passing in and saving a reference to the `BlockCache` at init time is going to break if something calls `config.ResetCaches()`, because it replaces the `BlockCache` instance completely. This happens on user logout or by a manual write to `.kbfs_reset_caches`. So you probably want to give it the whole `config`, or maybe just the `config.BlockCache` function pointer." }, { "prediction": "I'm not sure why we need to close the stream here.", "reference": "I am not sure this could happen. st should be nil if the error happens. If it does happen, we could also do st.Reset(), since it is an erroureous state so it closes both sides of the stream." }, { "prediction": "I think this should be `console.log(e.stack)` instead of `console.log(e.stack)`", "reference": "I'm guessing this was just added for debugging? Should probably remove it so we aren't modifying 3rd party libs." }, { "prediction": "Use case instead of when.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer double-quoted strings when you don't need string interpolation or special symbols.", "reference": "This seems reversed... if `success?` is true, wouldn't we use `success`?" }, { "prediction": "I don't think we need this enum, we can just use `LogEventLevel` directly.", "reference": "This seemed like the easiest way to allow log level checks, it will require an update to the vendors tool, to ignore that file on update." }, { "prediction": "Use the `exists?` method on the `DIaryEntry` model instead of the `exists?` method on the `DIaryEntry` model.", "reference": "Should we disallow entry authors to unsubscribe to their entries?" }, { "prediction": "I don't think this file is supposed to be copied.", "reference": "2016 should be 2017." }, { "prediction": "`curSchemaSumary == null || microservice.getInstance().getEnvironment().equalsIgnoreCase(\"development\")` is the same as `curSchemaSumary == null || microservice.getInstance().getEnvironment().equalsIgnoreCase(\"development\")`", "reference": "boolean exists = (existSchema!= null) && (existSchema.getSummary()!= null);" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's the right place to put this, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it.", "reference": "It does not look idiomatic." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Generally, we do not use newlines between project imports, we only separate them from the stdlib imports" }, { "prediction": "I think this should be `userSettings.skipBackLength() * 1000000 / nowPlayingItem.RunTimeTicks, userSettings.skipForwardLength() * 1000000 / nowPlayingItem.RunTimeTicks`", "reference": "can this long line be wrapped?" }, { "prediction": "I'm not sure this is the right place to put it.", "reference": "I'd use the same message that I suggested in the release changelog." }, { "prediction": "I think this should be `return new MongooseDocumentArray(arr, path, this);` instead of `return new MongooseDocumentArray(arr, path, this);`", "reference": "Keep semi-colons at end of function defs please" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if it's the right thing to do, but I'm not sure if it's the right thing to do. If it's the right thing to do, I'm not sure if it's the right thing to do. If it's the right thing to do, I'm not sure if it's the right thing to do. If it's the right thing to do, I'm not sure if it's the right thing to do, but if it's the right thing to do, I'm not sure.", "reference": "A little skeptical of `explain` being here. Why is this now a property of all commands?" }, { "prediction": "I don't think this is needed.", "reference": "License copied two times!!" }, { "prediction": "I don't think this is a good idea. It's not a problem, but it's a good idea.", "reference": "... their **superclass**" }, { "prediction": "I don't think this is the right fix, but I'm not sure if this is the right fix or if it's the right fix.", "reference": "I'm not sure if this is the right thing to be doing here. It seems like there should be a more systemic fix instead of this patch." }, { "prediction": "Nit: `undefined if dependencies are loading` -> `null if there is no registered context string, screenWidgetContext for the given module.`", "reference": "Not sure why these are up here can we move these down to be part of the `@return` tag instead? This is what we usually do (e.g. `getCurrentEntityURL`)" }, { "prediction": "I'm not sure this is the right way to do this, but I think it's better to just do `.map { |field_name| self[field_name] }.compact` instead of `.compact`", "reference": "Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body beginning." }, { "prediction": "I think this should be `InvalidElementStateException` instead of `InvalidElementStateException`.", "reference": "We keep who wrote the code anonymous." }, { "prediction": "I don't think we should be logging the identity here.", "reference": "Mention something in logs, that fake registration was used e.g. `Fake identity registered`" }, { "prediction": "I'm not sure this is the right thing to do here. I think it would be better to have the profile ID and the settings ID in the store.", "reference": "I think it would make sense to also set `internalWebPropertyID` to `''` here. Otherwise, it might keep its previous value (let's say a property was selected before, but then the user chooses \"Create new property\"), but since it always should depend on `propertyID`, that would be incorrect." }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if it's the right thing to do.", "reference": "It might be reasonable to add a check that sanitization still fails here." }, { "prediction": "Can you explain why this change is needed?", "reference": "Why not use attemptNo instead of another call to getAttempt? Even better, consider using a private method to calculate this string. This logic is in two places." }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Yuck. Rails bug." }, { "prediction": "I think this should be `l = self.payload.getlayer(0, _subclass=True)` instead of `l = l.payload.getlayer(0, _subclass=True)`.", "reference": "It's useally a common practice to not use `l` as a variable (we have disabled this test in scapy because our code has tons, but it would have PEP8 failed otherwise), but it would be better not to create any. In general, single letter variables are not liked that much. Especially with windows where the fonts make 1=l How about `lay`?" }, { "prediction": "I think this should be `w.WriteHeader(http.StatusContinue)`", "reference": "DRY these 5 lines into a function call, no?" }, { "prediction": "I'm not sure about this change, but I think it would be better to use `fmt.Fprintf()` instead of `fmt.Fprintf`.", "reference": "should we be trying to close here? or just return directly @fabxc? same goes for `stopc`..." }, { "prediction": "Metrics/LineLength: Line is too long. [83/80]", "reference": "just re-ordered for clarity" }, { "prediction": "I think this should be `err = util.PageNotFound` instead of `err = util.PageNotFound`", "reference": "Can you fix this also to print what is the IP address used to connect. Rename --> \"M_API server\" to maya apiservice" }, { "prediction": "I think this should be `bytealg.IndexByte` instead of `bytealg.IndexByteString`.", "reference": "This fails on Go 1.11 because `indexByte` is already defined in strings_go111.go. I would suggest simply renaming one of the two, for example you could rename the other one to `strings_indexByte` (that will be one of the things we'll drop when we drop Go 1.11 support so it's better to make that one look ugly instead of the function that we will likely keep for a longer time)." }, { "prediction": "I think this should be `=\"\"` instead of `{0}`.", "reference": "Now `dbType=' MockDbType.int32 '` is correctly interpreted and the value is rendered as an integer instead of a string; hence no more double quotes." }, { "prediction": "This change is not needed anymore.", "reference": "typo in `$contend`" }, { "prediction": "Please revert this change.", "reference": "Nit: empty line" }, { "prediction": "I'm not sure if this is the right place to put this panic. I'm not sure if this is the right place to put this panic.", "reference": "I figured this was more fool-proof than trying to plumb the error up from everywhere." }, { "prediction": "I think we can just use `c.srv.logging.debug` instead of `c.srv.logging.trace`.", "reference": "We know debug and trace as globals exist and are defaulted to 0. In this instance we need to know that c is non- nil, srv is non-nil and logging is non-nil before we can trust this statement not to panic." }, { "prediction": "I think we should be able to get rid of `GetConfigPath` altogether.", "reference": "Good removal here for two reasons: we're redeclaring `app.ConfigPath` immediately below without having used the initial value, and `app.GetConfigPath()` will build the value using the same process as in this line anyway." }, { "prediction": "This file is no longer used.", "reference": "Should BuildBase be removed?" }, { "prediction": "why did you remove this?", "reference": "this was a bad Goland auto-import that I missed in the previous PR. Thanks to @rkowalick and @acruikshank for catching it" }, { "prediction": "I'm not sure why this is needed.", "reference": "Good catch here. Reading the code, it actually seems kind of dumb that `replaceAtom` needs to copy the atom it's passed. Ah well, we're more or less stuck with that." }, { "prediction": "I'm not sure if this is the right place to put this. It's a signal handler, not a signal handler.", "reference": "What's the reason for adding the output pointer here? I'd expect it to be derivable from the actual handler that's called." }, { "prediction": "Why did you change this? It looks like it's only used in one place.", "reference": "I don't see tests for this (or the similar method on `Team`)." }, { "prediction": "I don't think you need to cast `long` to `ConnectionType` here.", "reference": "should use Number instead of Long" }, { "prediction": "I'm not sure if this is the right place to put this lock. I'm not sure if this is the right place to put this lock.", "reference": "We had the checks for those two errors for a reason, why do we not need them anymore?" }, { "prediction": "I'm not sure this is the right place to import six.moves.", "reference": "Why didn't you just switch to `range` here too?" }, { "prediction": "I'm not sure if we need to pass `client` to `NewBucket`.", "reference": "I don't even think `nil` should be allowed, since it uses global state to get the client." }, { "prediction": "I think this should be \"Remote debugging server started successfully. Try pointing a Chromium-based browser to...\"", "reference": "You somehow got a change from `master` into your branch again, in e6d2167085688264e5ee6a81cfd2a7a8f10ded13. While it's not something terribly bad (as it will be fine after merging), it's kind of confusing, and I have no idea how it happens :laughing: Are you trying to update changes from `master` while working on your branch somehow? How do you do that?" }, { "prediction": "I'm not sure this is the right fix. If the current ref is different from the target, then this is similar to the below, except we *might* use the previous commit, or we might do a scratch delta first. If the current ref is different from the target, then this is similar to the below, except we *might* use the previous commit, or we might do a scratch delta first. If the current ref is different from the target, then this is similar to the below, except we *might* use the previous commit, or we might do a scratch delta first. If the current ref is different from the target, then this is similar to the below, except we *might* use the previous commit, or we might do a scratch delta first.", "reference": "Minor, can we drop the leading `!` and just swap the if and the else blocks?" }, { "prediction": "I don't think you need the \\ here.", "reference": "`bbox_feats.shape[0] > 0` requires the number of proposal is not 0." }, { "prediction": "I don't think this is needed, let's remove it.", "reference": "Just FYI, I had to remove this unused import because Travis/`npm run lint` were complaining." }, { "prediction": "I think this should be `force.h` instead of `fmt/format.h`.", "reference": "format.h is not a system header but bundled with LAMMPS. This should be `#include \"fmt/format.h\"`" }, { "prediction": "I'm not sure this is the right place to put this code. It seems like it would be better to put this logic in the `PointValues` class.", "reference": "could we always call visitDocValuesWithCardinality? It seems to include the version check already?" }, { "prediction": "I think this should be `PORT_DEFAULT` instead of `PORT`", "reference": "I think if they _don't_ specify a port, we should assume grid default (which is 4444)" }, { "prediction": "I'm not sure this is the right thing to do here. The `tautomers` parameter is a `TautomerCatalogParams`, so the `tautomerTransforms` parameter should be passed to the `TautomerCatalog` constructor. The `tautomers` parameter should be passed to the `TautomerToSmiles` constructor.", "reference": "This looks to be a breaking change. I know it will affect some of my code that uses the Tautomer enumerator." }, { "prediction": "I think this should be `\"Bucketlist with given address\"`.", "reference": "Perhaps remove this line" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "Ah, missed this one. Sorry: you don't need to test the atomic number here. that's taken care of above on line 683." }, { "prediction": "I'm not sure this is a good idea, but I think it would be better to use `time.Sleep(lastBlockTime.Before(now))` instead of `time.Sleep(lastBlockTime.Before(now))`", "reference": "roundInfo() is called by couple of places in consensus for safety, better test/verify the delay of return err due to this Sleep() would not affect the normal functionality, like consensus can still be reached, full-node can correctly sync" }, { "prediction": "I'm not sure if this is the best way to do it, but I think it's better to use `sortedCommRs.Slice(idx)` instead of `sortedCommRs.Slice(idx)`", "reference": "This 32 could go away too." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to move the `notification::dismissed::${id}` into the `notification` component.", "reference": "These props should be less specifically named since the component is generic, for example `anchorLink`, `anchorLinkLabel`." }, { "prediction": "I'm not sure this is the right fix.", "reference": "In the future, it'd be great if we can separate commits or PRs that aren't in the same scope" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to use `getattr(cls, \"_%s__gestures\" % cls.__name__, {})` instead of `getattr(cls, \"_%s__gestures\" % cls.__name__, {})`", "reference": "can you define the string format on a different line, so it can be named, and so that it does not have to be constructed twice?" }, { "prediction": "I'm not sure this is the right place to put this, but it seems like it should be moved to `install_role_dependencies.py`?", "reference": "Can we write a unit test for this." }, { "prediction": "I don't think this is the right place to do this. The `_autosave` function is only called when `_on_load_finished` is called, so it should be moved to the `_on_load_finished` function.", "reference": "Same as above, use `.delete('_autosave')`, not the command handler." }, { "prediction": "Why are we removing the constant map?", "reference": "It isn't necessary to check whether there are projected ID columns. The code is shorter if the values are available by default, even if they aren't used. This fixes the problem where there are constants to add (like `_file`) but no identity partition values are projected." }, { "prediction": "I think this should be `POST` instead of `GET`.", "reference": "Update after command rename" }, { "prediction": "I don't think this change is needed.", "reference": "@KroArtem This is the Checkstyle violation. This import should be grouped with other `net.sourceforge.pmd` imports below, in alphabetical order" }, { "prediction": "I don't think this is needed.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I don't think you need to add this to the `onShowAdditionalHeaders` method.", "reference": "This change seems unrelated to copying email addresses to the clipboard. Please limit the scope of pull requests as much as possible." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. If it is the right place to do this, I'm not sure if this is the right place to do this.", "reference": "I'm assuming that there isn't a way for us to skip sending an fd here (-1?), and that we're allocating this fd just to send a legal but useless value across?" }, { "prediction": "I'm not sure if this is the right thing to do, but I think it would be better to have a `TransportConfig` struct with a `ServerMaxRecvMsgSize int` and a `ClientMaxSendMsgSize int` and a `ClientMaxRecvMsgSize int` and a `ClientMaxSendMsgSize int`. That way we don't have to duplicate the `TransportConfig` struct and the `ServerMaxRecvMsgSize` and `ClientMaxSendMsgSize` structs.", "reference": "might be good for the units (bytes?) to be in the variable name." }, { "prediction": "Line is too long. [81/80]", "reference": "Metrics/BlockLength: Block has too many lines. [166/25]" }, { "prediction": "I'm not sure if this is the right thing to do, but I think it would be better to have the header lines in the same order as the other fields in the file.", "reference": "I'd end the sentence after `special indicator (line 3)`. And then start a new sentence: `The special field can indicate that the field specifies a reset, is a sequence ID, or is a timestamp for the record.`" }, { "prediction": "I think this docstring should be updated to reflect the new API.", "reference": "These empty lines can be kept." }, { "prediction": "I'm not sure why this change is needed.", "reference": "For some reason these tests started failing due to an extra `NEWLINE` returned from `h.query()`. Have not tried to check whether this may be a problem for real templates or not, just fixed the failing tests. Anyone with an opinion here?" }, { "prediction": "I think this should be `propagating.TextFormat` instead of `propagating.TextFormat`", "reference": "It is better to have a method than a var." }, { "prediction": "Why do we have 16 concurrent activity task pollers?", "reference": "concurrent poller won't be larger than concurrent execution. Jump from 2 -> 16 seems aggressive. I suggest to use 8. Ideally, this should be dynamic config. :)" }, { "prediction": "I think this should be `models/r101.py` instead of `models/r101.py`", "reference": "List is redundant." }, { "prediction": "I don't think you need to check for null here.", "reference": "Please use a string resource here rather than the hardcoded string \"user\". This allows the app to be multilingual." }, { "prediction": "Why are these removed?", "reference": "@aswathkk Why did we remove this import? I guess we are using it." }, { "prediction": "Why is this removed?", "reference": "Why? I thought this is for graceful shutdown." }, { "prediction": "Style/IfUnlessModifier: Favor modifier unless usage when having a single-line body. Another good alternative is the usage of control flow &&/||.", "reference": "Can `result.stdout` or `result.stderr` be nil?" }, { "prediction": "I'm not sure why this is needed.", "reference": "@mprobst Looks like the `isStdLib` function has been removed in the latest Python plugin. Any thoughts on how to handle this? The new version doesn't seem to have any relevant alternatives." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `MaxIPSetSize` field in the `Config` struct, and have the `IptablesRefreshInterval` field in the `Config` struct.", "reference": "How can there be a configured max ipset size? Surely we need to write ipsets with however many members are implied by the Calico datastore?" }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to use the `incident.messages.delete_attachment` key instead of `incident.messages.delete_singular`.", "reference": "This code is passing a non localized string when it should be passing in a localized string or it should use the name of the item being deleted." }, { "prediction": "I think this should be `notNaN` instead of `notNaN`", "reference": "why not be consistent with `isNull` and `notNull` and return null?" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have the labels in the `backend_service_config.yaml` file, and then have the `backend_service_config.docker_labels` contain the labels from the `backend_service_config.yaml` file. That way we don't have to duplicate the labels in the `backend_service_config.yaml` file, and the `backend_service_config.docker_labels` contain the labels from the `backend_service_config.yaml` file.", "reference": "Did we forget to remove this field?" }, { "prediction": "Why not just `this.values().stream().mapToInt(elem -> elem.elementCount()).sum()`?", "reference": "What if there is no element?" }, { "prediction": "I think it would be better to use `mutex.Lock()` instead of `defer c.buildActionMutex.Unlock()`", "reference": "I think you need to be careful to honour isTest and stamp here." }, { "prediction": "Please remove unused imports.", "reference": "why zero value for `arrayType` for the default value of the optional args?" }, { "prediction": "I think this should be `.control-filter` instead of `.clear`", "reference": "@robinbonnes ~~Would you mind putting the array key and value on a new line - it makes it more readable as an array.~~ Never mind, see discussion below." }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "I've never seen us do this anywhere else - why here? Why not `address, meshAddress string`?" }, { "prediction": "I don't think this is the right place to do this. If `JsonQueryConverter.contextKey` is null, then `JsonQueryConverter.contextKey` will be null. If `isShard` is true, then `JsonQueryConverter.contextKey` will be `null` and `JsonQueryConverter.contextKey` will be `null`. If `isShard` is false, then `JsonQueryConverter.contextKey` will be `null` and `JsonQueryConverter.contextKey` will be `null` and `JsonQueryConverter.contextKey` will be `null` and `JsonQueryConverter.contextKey` will be `null` and `JsonQueryConverter.contextKey` will be `null` and `JsonQueryConverter.contextKey` will be `null`.", "reference": "I think it's necessary only for the earlier \"dynamic\" approach. I suppose it's not necessary in the eager one." }, { "prediction": "I think this should be `@JsonInclude(JsonInclude.Include.NON_NULL)` instead of `@JsonInclude(JsonInclude.NON_NULL)`", "reference": "Same here than [there](#r26168925)" }, { "prediction": "I don't think we need to change the regex here.", "reference": "Again we should think about moving this pattern to a static final field" }, { "prediction": "I think this should be `$this->container->get('easyadmin.controller_resolver')` instead of `$this->container->get('kernel.debug')`", "reference": "haven't been implemented the `__constructor` for `NormalizerConfigPass`?" }, { "prediction": "I don't think we need to do this. Collect is just a wrapper for `WrapFieldsToLists`, so we don't need to wrap it into lists.", "reference": "Docstring is missing." }, { "prediction": "I think this should be `success ||!registerEvent(event, node);`", "reference": "I don't see the reason of this return as it will stop loading in half because an error, thats bad imo. Or you load it all and report errors or you load nothing and terminate, the first is as it always was so I wouldn't change that." }, { "prediction": "I'm not sure if this is a good idea to use `AddPeers` here.", "reference": "change from AddPeer to AddPeers added a space in some occurrences" }, { "prediction": "I think this import should be removed.", "reference": "Can you please revert changes to files in the `thoughtworks` package? This is legacy code and we will eventually phase out RC." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if `iptablesRules` is a good name.", "reference": "Do you remove \"s\" from \"iptables\" to IPTable\" on purpose? I feel it should be \"IPTablesRules\"." }, { "prediction": "I think this class should be renamed to `PrivGetPrivacyPrecompileAddress`", "reference": "nit: not your problem - but I wonder if this should have been a \"ConstantResponseRpc\" - which takes a name and a value.... maybe a more reusable concept." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "These changes have been resolved upstream. We can revert changes to this file when synced." }, { "prediction": "A Partition represents a single slice of the entire set of a job's possible work.", "reference": "The description predates this diff but I think we can come up with something more grounded." }, { "prediction": "I think this should be `VolumeAPISpec` instead of `SnapshotAPISpec`.", "reference": "Let the Kind, APIVersion & Metadata follow the rules followed by Volume. What is the reason for a change for snapshot struct?" }, { "prediction": "I think we can remove the `@SuppressWarnings(\"deprecation\")` annotation.", "reference": "seems that we did not strong depend servo no need to keep it? change to another one?" }, { "prediction": "I'm not sure if this is the right place to put this assertion.", "reference": "Looks like this used to be UB before with an empty blocks and then calling `.second` on the `.front()`. Did it ever crash though?" }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Sorry about the code churn here, reworking this use normal loops and async await made debugging far more straight forward. For example, if configuring the fail point fails you find out when stepping over that line vs having to look for the ultimate catch clause that handled it." }, { "prediction": "nit: `--args=\"' + args + '\"', config.defaultOptions)` -> `--args=\"' + args + '\"', config.defaultOptions)`", "reference": "this is wrong and should be reverted" }, { "prediction": "I'm not sure if this is the right default, or if it's the default, it should be `runtime.GOMAXPROCS(0),`", "reference": "I think you'll need to add an import for runtime, before you can merge this PR. (Presumably it was already there for something else when you were working on this, but has since disappeared.)" }, { "prediction": "I don't think we need to change anything here.", "reference": "Unrelated typo fix." }, { "prediction": "I'm not sure if this is the right approach, but I'm not sure if this is the right approach.", "reference": "I don't think we need an empty value here; any middleware that wants a default value for empty placeholders will pass in what that value should be." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. If it's the right thing to do, I'm not sure if this is the right thing to do. If it's the right thing to do, I'm not sure if this is the right thing to do. If it's the right thing to do, I'm not sure if this is the right thing to do. If it's the right thing to do, I'm not sure.", "reference": "Why was this changed?" }, { "prediction": "I don't think you need the `*` here.", "reference": "Compared to using traditional enums, I suggest to use `Status` or `StatusOr`, since they are more expressive and informative. Besides, isolating the definitions of error code of individual modules from the ones of the RPC interface is a good practice, isn't it?" }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be `@invitation = Invite.new(current_user: @current_user)`", "reference": "Use the return of the conditional for variable assignment and comparison." }, { "prediction": "`AnyKey` is not used anywhere in this file.", "reference": "just realised... This breaks things since there is not selenium types module, is there a PR for this?" }, { "prediction": "I don't think this import is needed.", "reference": "move to line 23 below" }, { "prediction": "Why was this removed?", "reference": "the first problem i found in the passcode change flow is that these two lines were happening in 'lock()' but not in'showLockActivity' which is what the passcode change flow calls. I've just moved them to happen in that method." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, or if it's the right place to put it.", "reference": "Doing this adds the actual resources themselves to the dictionary. I think for now, there's no way to know what the resource config provided may be, as we don't permit resource config on `build_solid_context`, so this part can be omitted." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "1 trailing blank lines detected." }, { "prediction": "Does this need to be added to `node_require`?", "reference": "I would personally prefer a filename without an abbreviation, a newcomer to the project wouldn't be able to translate \"pv\" to \"partition-value\"." }, { "prediction": "I don't think this is the right place for this method. It should be moved to the `CallBundleMethod` method.", "reference": "This check looks odd to me. I can't quite grok it. Why is it needed now? What's changed?" }, { "prediction": "I don't think we need to pass `cfg` to `enableJetStream`.", "reference": "This change is needed because otherwise the path was being changed from `path/store/jetstream` to `path/store/` and files stored differently after re-enabling." }, { "prediction": "I don't think this is necessary. The `endSession` call should be inside the `done` function.", "reference": "is this necessary? doesn't `client.close()` imply all sessions will be ended?" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Extra line, it's not needed here." }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if this is the right place to put it in.", "reference": "Is this OK to add in the spec helper? I need to call `Bolt::PAL.load_puppet` so that I can use the new `Bolt::PAL::Issues` module when verifying that plans forbid functions." }, { "prediction": "`back` can be `null` here.", "reference": "or is it `i < length - back.length()`? `\"12345\".padTo(10, 'a')` should be `12345aaaaa`" }, { "prediction": "`custom_hooks_config` should be passed to `train_detector` instead of `custom_hooks_config`", "reference": "custom_imports -> custom_hooks" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better if the `question[:text].present?` check was done before the `question[:text].present?` check.", "reference": "I don't get why are we baking new hash structures to represent phases, sections, questions. We are not only loosing the references defined in models but also we have to figure out keys and values for this newly structures." }, { "prediction": "I think this should be `protected` instead of `protected`.", "reference": "It's somewhat confusing that the `preload` parameter shadows the instance variable; maybe rename the instance variable to `globalPreload` or `preloadDefault` or so to prevent future confusion?" }, { "prediction": "I'm not sure if we should add this to the `ScheduledJob` struct. I'm not sure if it's a good idea to add it to the `TaskConfig` struct.", "reference": "Are we setting these values anywhere?" }, { "prediction": "This file should be moved to `common/base/Base.h`", "reference": "This has to be in front of all other includes" }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix or if it's the right fix.", "reference": "These changes make sense to me. @ricrogz : you wrote (I think ) the original version of this as part of #2553 Do you see any reason to not make the change?" }, { "prediction": "I think this should be `window.location.pathname` instead of `window.self.location.pathname`", "reference": "`window.self === window`" }, { "prediction": "I think this test is failing because the file doesn't exist.", "reference": "maybe we should keep one test case for ErrFileNotExists and update only one file for ErrWorkspaceNotFound?" }, { "prediction": "I'm not sure why we need to wait for the batch to be exported. It seems like we should wait for the batch to be exported first, then wait for the batch to be exported.", "reference": "Please add `ConsigureAwait(false)` here and on `ShutdownAsync` below." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Isn't this a false positive? Why are we reporting `unused-variable` on a `del` operation with a `undefined-variable`." }, { "prediction": "I don't think this is the right place for this function.", "reference": "Is it correct that `SessionDto` should be here?" }, { "prediction": "I'm not sure if this should be a command line option, but if it's a command line option, I think it should be a command line option, not a command line option.", "reference": "sorry I missed this earlier. We no longer use ovs-ofctl for flow programming AFAIK, why not add this support to ofnet / libOpenflow?" }, { "prediction": "I don't think we should cache this.", "reference": "Make this consistent with the other definition please `'false'` vs `false`" }, { "prediction": "I'm not sure this is the right exit code for this function. I think it should be `func Exit(code int) {`", "reference": "I think this is a good way to do it. :+1:" }, { "prediction": "Why did you change this?", "reference": "Why this is needed?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "Can we define this directly in the function `NewConnTrackOvsAppCtl` instead of passing this as an argument?" }, { "prediction": "I'm not sure this is the right thing to do here.", "reference": "False positives are annoying..." }, { "prediction": "Please remove the `strict_types=1` from this file.", "reference": "Is the infrastructure layer an appropriate one? I don't think so tbh, more like an application, or even a domain one." }, { "prediction": "I think this should be `private static readonly ulong _powerOfTwoToHighByte = PowerOfTwoToHighByte();`", "reference": "Why is this required to turn the static readonlies into jitted const? Is this a bug in the jitter?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "feel free to make this a \"typed\" named tuple (overriding __new__) if you are feeling frisky" }, { "prediction": "I don't think we need this anymore.", "reference": "Would use parenthesis to explicitly state the associations of operands ```js const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || ((2 ** 53) - 1)" }, { "prediction": "I'm not sure this is the right change.", "reference": "The bug was caused by this order change in the last refactoring." }, { "prediction": "why do we need to import kwargs_from_env here?", "reference": "This is already imported as docker. You're safe to simply use `docker.utils.kwargs_from_env()` below." }, { "prediction": "I think this should be `if ra.actions == nil {`", "reference": "No need to add this fun. Using RunnableActionsBuilder#AddActions instead" }, { "prediction": "I don't think we should minimize side-effects wherever we can, currently compat only imports this whole file resulting in a lot of side-effects.", "reference": "I don't think it's possible to do this for hooks" }, { "prediction": "nit: I think this should be `this.wait(sec * 1000 + 1);`", "reference": "wait(1ms) when sec=0. wait(0ms) waits forever so that's why this is better." }, { "prediction": "I'm not sure why you'd want to use `sockaddr_t` instead of `h2o_sockaddr_t`?", "reference": "Do we need `domain` and `so_reuseport` now that we open new sockets immediately after calling `add_listener`?" }, { "prediction": "This interface is not used anymore.", "reference": "The formatting seems different from the rest of the code" }, { "prediction": "I think we should use `%v` instead of `%v`", "reference": "What about calling this package \"parameters\"? utils\\parameters are utils related to parameters." }, { "prediction": "Line is too long. [87/80]", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I think this should be `--help` instead of `--to= File to write public key to instead of standard output`", "reference": "what is the actual difference here?" }, { "prediction": "I don't think this is the right place to do this. The `registrationId.contains(\"?\")` check should be enough to check if the `registrationId.contains(\"?\")` is true.", "reference": "Parsing URLs is hard. Any fixes should avoid manually parsing the URL." }, { "prediction": "I think this should be `@group_level = Math.max(@group_level, 0)`", "reference": "This is a private api, it doesn't need to return anything so `@group_level -= 1 if @group_level > 0` is preferred." }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix.", "reference": ".GetValueOr(0)... but really, shouldn't m_value_strife also be optional?" }, { "prediction": "I think we can remove `name` from `meta` since it's not a `Record`.", "reference": "Working around a possible limitation in the JSDoc plugin's typescript syntax checking. This means the same thing" }, { "prediction": "I'm not sure this is the right place for this property. It seems like it's only used in the `MessageBodyExchanger` class, but it's only used in the `MessageBodyExchanger` class. It seems like it's only used in the `MessageBodyExchanger` class, and it's only used in the `MessageBodyExchanger` class.", "reference": "Should be readonly" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, or if it's the right place to put it.", "reference": "I'm not going to stop accepting the PR, but I really hate these artifacts getting dropped in the Python code just to stop things like coverage checkers and linters from complaining." }, { "prediction": "I don't think you need to change the year in this file.", "reference": "FYI modifying an existing file generally doesn't invalidate the copyright date. The date here is when the copy right _begins_, so moving it later is arguably misleading-it still applies. Not a big deal, just something I've seen a few times in passing." }, { "prediction": "I don't think this is the right way to set the allowedOrigins.", "reference": "Because the default value of allowedOrigins is * (all origins), so it isn't necessary to set again at all." }, { "prediction": "I think this should be \"Warehouse location is not set: hive.metastore.warehouse.dir=null\"", "reference": "Style: indentation should be 4 spaces (2 indents) from the start of `Preconditions`." }, { "prediction": "I don't think we should add this to the `type_options` array.", "reference": "I don't know why I suggested a html attribute at first (my bad), or maybe you think it makes sense. Otherwise, what about a simple class?" }, { "prediction": "Is there a reason we don't use `tracker_root` here?", "reference": "Probably want something more generic here like 'DMPRoadmap' so that other installations aren't using UoE by default." }, { "prediction": "I think this should be `exception.MustBeRethrown()` instead of `exception.MustBeRethrown()`.", "reference": "Must this not change to `MustBeRethrownImmediately`?" }, { "prediction": "I'm not sure if we need to remove this, but I think we can remove it if we don't need it.", "reference": "Can it be pointer?" }, { "prediction": "I think this should be `global.googlesitekit.setup = window.googlesitekit.setup || {};`", "reference": "Not related to this issue but this condition seems weak." }, { "prediction": "I don't think this is the right way to do this. The record is always fullrecord, so we don't need to trim it again.", "reference": "I think this might be a little more readable in two lines as:
     $preferredMarcField = $this->mainConfig->Record->preferredMarcField?? 'fullrecord'; $marc = trim($this->fields[$preferredMarcField]?? $this->fields['fullrecord']); 
    " }, { "prediction": "Why do we need to import numpy here?", "reference": "does this still allow this file to be used with Python installations that don't have numpy?" }, { "prediction": "I don't think we need to escape `(.+);` here.", "reference": "what about 0? Version probably can' start with 0, but v10 is theoretically possible." }, { "prediction": "Why not just call `Path.IsPathRooted(path)`?", "reference": "Usually we consider APIs that have filesystem interactions to be part of IFileHelper, this would allow us to inject a testable implementation easily. `Path.IsRootedPath` doesn't access the file system. It is string comparison I believe." }, { "prediction": "Why is this change needed?", "reference": "Do we need to use quote? Why not `status: Init`" }, { "prediction": "Why is this removed?", "reference": "Nice catch! I don't think I would have caught that, did you search the whole code base for pre-existing functions?" }, { "prediction": "Can we use `hivev1.HiveClusterRegionLabel` instead of `us-east-1`?", "reference": "Remove this line." }, { "prediction": "I don't think we need to do this anymore.", "reference": "This is no longer called in any of our unit tests, right?" }, { "prediction": "Why is this `*uint32`?", "reference": "I think typically K8s APIs will use `int32` and not `uint32`. I think we should keep it consistent with the rule `Priority` above. I believe that the rationale for using `int32` in general is: * some programming languages don't have native support for unsigned integers * it's easier to catch sign errors with signed integers, depending on the programming language (it it's negative, it's clearly an error but if it's a very large number, it could be normal or it could be a negative number overflow)" }, { "prediction": "I'm not sure if we should index on `grant_id` and `plans_id`", "reference": "If you end up changing grant to an association, this may need to change to a reference to enforce the foreign_key `add_reference :plans, :grant`" }, { "prediction": "I'm not sure if this is the best way to do it, but I'm not sure if it's the best way to do it, so I'm not sure if it's the best way to do it.", "reference": "This won't work because `notification` comes from an API response here. I think this would be the same as the change to `Alert` where it would get `SmallSunSVG`." }, { "prediction": "I think this should be `false` instead of `true`.", "reference": "This is not checked below?" }, { "prediction": "I'm not sure if this is the right place for this function. It seems to only ever be used for outputs of a given stack.", "reference": "Will this ever return a \"Stack does not exist\" error? Should we handle it silently here rather than making higher level packages do error checking?" }, { "prediction": "I don't think we need to import `get_package_registry` here.", "reference": "minor: at this scale, one import per line reads better" }, { "prediction": "Line is too long. [82/80]", "reference": "Should remove the default templates as well." }, { "prediction": "I'm not sure this is the right thing to do. I'm not sure if webpack is going to be used in production yet.", "reference": "Why not `let`?" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to put it in the `SpringBootApplication` class.", "reference": "ns -> DNS My first reading was this is referring to System.nanoTime and thought hrm?" }, { "prediction": "I'm not sure this is a vestigial parameter.", "reference": "is there a reason not to remove the param now? I think the serdes will still work?" }, { "prediction": "I don't think this is the correct value.", "reference": "`places=2` seems to be very poor comparison. Do you have any thoughts why is it fail with more strict checks?" }, { "prediction": "I think this should be `LOGGER.info(\"Fetching project \" + name + \" from cache...\");`", "reference": "should we make level debug? Also just FYI, with debug level, we can add more detailed logging for better debuggability without concerning overwhelming logging message" }, { "prediction": "why do you need to import GetNTAReal and SparseMatrix here?", "reference": "I needed to add this import for Sphinx to inspect C++ runtime objects properly. This should be the only code change in this PR." }, { "prediction": "I don't think this is needed.", "reference": "Changes in this file aren't related to the PR, are they? You took the opportunity to change the group deletion to using the subscriber too?" }, { "prediction": "I'm not sure if this is the right place to put this method. I think it would be better to put this method in `MetricsModes` and have it return `None` if `defaultMode` is `None` and `defaultMode` is `Counts` if `defaultMode` is `Counts`.", "reference": "I'd probably move this into `MetricsConfig` as a private method. Seems like we only use it there." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "Not clear here what you mean with this list" }, { "prediction": "I think this should be `@SuppressWarnings(\"checkstyle:InnerAssignment\")`", "reference": "Curious, is there a way we can get around this without suppressing?" }, { "prediction": "I think this should be `sessionInstance.ProposalID = proposalID` instead of `sessionInstance.CreatedAt = time.Now().UTC()`", "reference": "I don't think we this field in session, it's a serial number for proposal but not unique index itself" }, { "prediction": "I'm not sure if this is the right benchmark. I'm not sure if it's the right place to put this.", "reference": "Can't have two benchmarks with `Baseline = true`" }, { "prediction": "Can we move this to `src/google-site-kit/v1/e2e/auth/client-config.js`?", "reference": "Same here: Empty line before and no `Internal dependencies` docblock (mandatory anyway once #217 lands)." }, { "prediction": "I don't think we should default to.pipe.yaml?", "reference": "sorry, the default value for this field is no longer allowed?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "Why does this work? I'd've expected that an admin could create a file anywhere." }, { "prediction": "Travis doesn't support `Release` or `x64`", "reference": "falling back to `x64` seems like a really bad idea given that the VS templates default to x86 these days." }, { "prediction": "I think this should be `self.default_comm` instead of `self.default_comm`", "reference": "Bit surprised by this. I would have thought either you want to set it for both mpl and bokeh...or alternatively it was only ever meant for bokeh and was always wrong?" }, { "prediction": "I think this should be `if node.as_string().startswith('from.')`", "reference": "Check modname instead, but only if it's a ImportFrom." }, { "prediction": "I'm not sure if this is a good idea. If the metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata metadata", "reference": "How about `write.metadata.previous-versions-max`? No need to refer to these as a log." }, { "prediction": "I'm not sure if this is the right thing to do here, but if we're going to do this for all environments, we should probably add this to `appveyor_agents` and `windows` as well.", "reference": "We generally do this via tags in the Rakefile, not separate environment variables." }, { "prediction": "I think this should be `POST` instead of `GET`.", "reference": "Update after command rename" }, { "prediction": "I'm not sure if this is the right way to check for the predicted field, but I think it would be better to check for `self._predictedFieldName not in self._input`.", "reference": "`if X not in Y:`" }, { "prediction": "I think this should be 10 instead of 10?", "reference": "Do we know why the pool is exhausted? In the past, we had a few leaks in the Spark catalog code which led to this. It can be also a valid use case too if we simply need a larger pool." }, { "prediction": "Style/IfUnlessModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.", "reference": "Logging in Bolt still seems to be a little messy. I think this is more correct than what I had before, but made sure I wouldn't overwrite an existing level. And if console logging gets more options, both debug and verbose need to be fixed here." }, { "prediction": "I'm not sure this is the right place to do this. The `:ffff:` should be `:ffff:` and the `:ffff:` should be `:ffff:`. The `:ffff:` should be `:ffff:` and the `:ffff:` should be `:ffff:`. The `:ffff:` should be `:ffff:` and the `:ffff:` should be `:ffff:`. The `:ffff:` should be `:ffff:` and the `:ffff:` should be `:ffff:`. The `:ffff:` should be `:ffff:` and the `:ffff:` should be `:ffff:`. The `:ffff:` should be `:ffff:` and the `:ffff:` should be `:ffff:`. The `:ffff:` should be `:ffff:`.", "reference": "This could be simplified (if including is fine): `auto address_string = boost::algorithm::erase_first_copy (address.to_string (), \"::ffff:\");`" }, { "prediction": "why finest?", "reference": "This is wildly unhelpful to users --- they need to know when a proxy has been registered." }, { "prediction": "I don't think we need to do this. The storage option should only be used if the topic has an attached file, and if it does, it should only be used if the file is attached to the topic.", "reference": "Why do we need `do_not_validate_attachment_file_type` is we're doing it in the previous line?" }, { "prediction": "This is the only place where `shouldUseCertBasedAuth` is used.", "reference": "Loading login page right away only for the regular use case." }, { "prediction": "Do not recursively re-render of a component and it's children?", "reference": "IIRC this flag disables re-rendering entirely (`s/recursively //`)" }, { "prediction": "I think this should be `window.location.href = \"index.html\";` instead of `window.location.href = \"index.html\";`", "reference": "Did you test this redirect? @thornbill mentioned it might need `web` at the front, but if this works fine I'd rather leave it this way." }, { "prediction": "Why was this removed?", "reference": "FYI, this returned `StringValues` which is a value type (aka can never be null)." }, { "prediction": "I'm not sure if this is the right place to put this in.", "reference": "Oh no, that's a bug." }, { "prediction": "I don't think we need this anymore.", "reference": "Let's leave a note in CHANGES to replace this with an error metadata struct or interface, unless it would be less effort overall to take a run at it in this change." }, { "prediction": "I'm not sure this is the right name for this property. I think it should be `\"string\"` or `\"int\"` or `\"string\"` or `\"string\"` or `\"int\"` or `\"string\"` or `\"string\"` or `\"string\"` or `\"string\"` or `\"string\"` or `\"string\"` or `\"string\"` or `\"string\"` or `\"string\"` or `\"string\"` or `\"string\"`` or `\"string\"` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `\"string\"`` or `", "reference": "The changelog entry does a better job of explaining how this is used than this description. In particular, this says that you need to set `mapTo` if the underlying name is different, but not that `mapTo` *is* the underlying name." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it should be `go-sqlite3`", "reference": "These imports will probably need to be refactored so they aren't here. That applies for all of the database drivers. The reason for this is because we sometimes want a driver to be available and sometimes we don't. When we include this library in our cloud offering, the sqlite3 connector needs to be gone because it's a security vulnerability and there's no use case for it in a cloud environment. But for flux itself, I can see how sqlite3 would be really useful and so I like this change. But this import needs to only exist within the tests and within the `cmd/flux` package. It cannot be here." }, { "prediction": "I think this should be `$this->relationModel->table. '.'`", "reference": "We can use `getQualifiedKeyName` here instead. I will update." }, { "prediction": "I don't think we need to change this.", "reference": "Could you clarifty why some of those are removed?" }, { "prediction": "I think this should be `status.NoContent` instead of `status.NoContent`.", "reference": "`ctx` is unused in ListDeploymentConfigTemplates" }, { "prediction": "I'm not sure this is the right place to put the alt text. I'm not sure if this is the right place to put the alt text, but if it is the right place to put the alt text, I'm not sure if it's the right place to put the alt text.", "reference": "nice to see the usage of block for a more readable link name" }, { "prediction": "I don't think we need to cast to `long` here, since `bytes_to_read` is unsigned long.", "reference": "Can these use `static_cast` instead? Other than that, it's fine." }, { "prediction": "I think this was a leftover from the original code.", "reference": "This output is only present when `DEBUG=True`. Does it really bother so much?" }, { "prediction": "Why did you remove this?", "reference": "I think it should pass wallet transaction as well, otherwise there will be 2 wallet read transactions in 1 threads (next in scan_receivable)" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but if it is the right way to do it, then I'm not sure if this is the right way to do it.", "reference": "RDKit::Utils is now in the namespace for localeswitcer... We could change it to something else." }, { "prediction": "I'm not sure this is the right thing to do here. I think it should be `('y', 'A','max')` instead of `('y', 'A','max')`", "reference": "@itholic, can we fix it in `_normalize_keyword_aggregation`?" }, { "prediction": "I'm not sure if this is a prime-maintain or not. I'm not sure if it's a prime-maintain or not. If it's a prime-maintain, then it should be `prime-maintain` or `prime-maintain`.", "reference": "It seems like we have the main plan in the database but the downgrade plan in the code. Probably okay for now, but as our thinking of how downgrades/plans develops we may want to consolidate." }, { "prediction": "I'm not sure if this is the right place to put this method.", "reference": "we shouldn't add a bunch of static initializers 'everywhere' in the code. Probably just one would be good, during the construction of the 'RemoteWebDriver' class." }, { "prediction": "I think this should be `optionNameClefSignerEnable` and `optionNameClefSignerEndpoint` instead of `clef-signer-enable` and `clef-signer-endpoint`", "reference": "do we need both flags? maybe infer that `clef-signer-enabled` whenever `clef-signer-endpoint` is defined?" }, { "prediction": "I think this should be `.(scss|css)$': '/node_modules/identity-obj-proxy',", "reference": "Do we need this? I didn't see css files (only scss)." }, { "prediction": "I don't think we should exclude local interfaces.", "reference": "This feels like a weird `if not... or not` to me. Can you talk out the intent here?" }, { "prediction": "I'm not sure this is the right place to put this. I think it would be better if we called it `new_annual_billing` or `create_annual_billing` or something like that.", "reference": "Align the parameters of a method call if they span more than one line." }, { "prediction": "I don't think we need this anymore.", "reference": "`@package *` can be removed as well." }, { "prediction": "Align the operands of a method call if they span more than one line.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "@ScottGarman is there a reason that `redhat_fips` needs to be a beaker platform? Why can't it be another platform that beaker just understands as `redhat`?" }, { "prediction": "Why is this removed?", "reference": "Where is the other place?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "Are you subclassing from `UserList` instead of `list` to satisfy some constraint of Jython? My main concern here is that this is a subtle breaking change to the API because `UserList` is not a subclass of `list`. This has the unfortunate side effect of breaking any user that is using `isinstance` checks to see if a `ResultSet` is a `list`." }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "We can DRY the above three functions" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Only no good is good code. Nice that you were able to remove all this duplicate stuff!" }, { "prediction": "I think this should be `\\Google\\ApiCore\\RetrySettings` instead of `\\Google\\ApiCore\\RetrySettings`", "reference": "Looking at the code, it seems very odd that this method even exists in the SurfaceNamer, since it is only implemented and used in the PhpSurfaceNamer, and in fact the RetrySettings class name is hardcoded elsewhere. WDYT of just removing this method from SurfaceNamer and PhpSurfaceNamer?" }, { "prediction": "I'm not sure if this should be `Loader`, `Saver`, or `Load`, `Save`, or `LoadSaver`.", "reference": "these interfaces are defined twice. we should use only one and have it in `storage` package maybe" }, { "prediction": "I think this should be ``global globalModelsStorage = {}``", "reference": "This is the wrong context for usage of `global` keyword. It need only be used inside functions." }, { "prediction": "I don't think this is the right place to check for `getClass()`?", "reference": "this change should be described in the changelog. I'll update it when merging if nothing else arises." }, { "prediction": "I'm not sure this is the right place to put these.", "reference": "Just to stay consistent with naming let's call it CreateGRPCDispatcherForOutbound. Also rename 'CreateDispatcherForOutbound' to 'CreateTChannelDispatcherForOutbound'" }, { "prediction": "I think this should be `LOG.info(String.format(\"Pulling %s:%s\", name, tag));` instead of `LOG.finest(String.format(\"Pulling %s:%s\", name, tag));`", "reference": "This will always need to be displayed to users." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to use `str(s)` instead of `s`.", "reference": "This looks very much like `repr` now (we miss 127 though) - maybe just do `repr(x)` + strip outer parantheses?" }, { "prediction": "I think this should be `&taskInfo.VisibilityTime` instead of `&taskInfo.VisibilityTimestamp`", "reference": "I don't see this field is set in task_generator.go. worth to double check if we put the timestamp when creating replication tasks." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "nit: I prefer the space before and after this check to make it very easy to scan when reading through code" }, { "prediction": "I think this should be `NLog.NLogRuntimeException` instead of `NLog.NLogRuntimeException`", "reference": "should users also do a triple-flush?" }, { "prediction": "I'm not sure why this was removed.", "reference": "What is the implication of removing these from the test? I thought the idea was to have all types supported by `docstore` here, and do things in the drivers to make them support them (e.g., list of size 2 for complex). If you're removing them because firestore doesn't have native support, then we're going to end up only testing the intersection of all types supported by all drivers; we need a better way." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix. I'm not sure if this is the right fix, but I'm not sure.", "reference": "Let's also adjust the somewhat weird type signature here as well. This probably should be `typing.Any` instead of `str` in the last line if we intend to support ints." }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "The body can just be `os.RemoveAll(dir)`" }, { "prediction": "I'm not sure this is the right fix. The castToDouble() method should be removed.", "reference": "Is this covered by regression tests? Also you might make a patch onto refactor branch." }, { "prediction": "Why not just use `SolrRequestType.QUERY.toString()`?", "reference": "This is maybe more of an admin request? WDYT?" }, { "prediction": "`Map.Entry` is not a `Map`.", "reference": "Here I thought of `toHashMap` and later add `toTreeMap`. But I start to see, what you may have in mind. Alternatively we could provide a `toMap` and `toSortedMap`, which is great, too. On the other hand is always good to be as specific as possible. What do you think?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "maybe localProjectAppNames? Just a thought." }, { "prediction": "I think this should be `height -= Blockly.BlockSvg.NOTCH_HEIGHT; // Exclude height of connected notch.`", "reference": "This isn't new, but getHeightWidth is now defined in block_svg.js, block_render_svg_horizontal.js, and block_render_svg_vertical.js. One of these should be unnecessary." }, { "prediction": "I'm not sure about this change, but I'm not sure if it makes sense to wait for all txns to confirm before checking balances.", "reference": "I can't see any reason why this would fix a failure in `a.True(confirmed, \"txgroup\")`. We might have an issue elsewhere, but increasing the wait time wouldn't help." }, { "prediction": "I think this should be `/aggressive/sysstat/` instead of `/sysstat/`", "reference": "This section needs to be modified; crontab format differs between OS releases (Debian and CentOS, at least)." }, { "prediction": "I think this should be a `PipelineRun` instead of a `DagsterInstance`.", "reference": "if we think this is likely to be augmented with a additional 'run coordination' features or configuration in the future, we could make it an object of some kind instead (or an enum, if we think there may be other resume modes in the future besides just on/off). Just imagining 6 months in the future, it would be unfortunate if there were 7 new args here as the feature gets more complex" }, { "prediction": "I think this should be `from.affine_grid_generator import affine_grid`", "reference": "`affine_grid` and `grid_sample` are currently unused. We may remove it from `ops/__init__.py` to speedup the loading of mmdet." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "Is there a reason why you need to support negative `AttackTimeout`? Why not just throw an error?" }, { "prediction": "I don't think this is needed.", "reference": "nit: an unnecessary change?" }, { "prediction": "I'm not sure if this is the right place to put this function.", "reference": "Is trailer parsing something we have to do in this PR? It would be really helpful to separate stuff like this into smaller, self-contained PRs." }, { "prediction": "I think this should be `vol.wait_for { ready? }` instead of `vol.destroy`", "reference": "Any chance of a wait-forever situation here? Is there a reasonable timeout?" }, { "prediction": "I think this is a bugfix.", "reference": "line is 165 characters" }, { "prediction": "I don't think we need to wait for all the caches to refresh.", "reference": "is this for cross DC case?" }, { "prediction": "I don't think this change is needed.", "reference": "Remove this line." }, { "prediction": "I don't think we should remove the vpx entry once servers are migrated.", "reference": "Maybe it would make sense to use `webmVideoCodecs` here and just append `vpx`. I'm not sure if av1 is currently supported when transcoding to webm though. It looks like it can be included in the mp4 transcoding profile now." }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better if we had a `StatsValueSourceStatsValues` that would have a `ValueSourceStatsValues` that would have a `ValueSourceStatsValues` that would have a `StatsPrimaries` that would have a `StatsPrimaries` that would have a `ValueSourceStatsValues` that would have a `StatsPrimaries` that would have a `ValueSourceStatsValues` that would have a `StatsPrimaries` that would have a `StatsPrimaries` that would have a `ValueSourceStatsValues` that would have a `StatsPrimaries` that would have a `StatsPrimaries` that would have a `StatsPrimaries` that would have a `ValueSourceStatsValues` that would have a `StatsPrimaries` that would have a `StatsPrimaries` that would have a `StatsPrimaries` that would have a `StatsPrimaries` that would have a `StatsPrimaries` that would have a `StatsPrimaries` that would have a `StatsPrimaries` that would have a `StatsPrimaries` that would have", "reference": "Interestingly, this has nothing to do with replication, no clue what this means here" }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to do `if len(r.h.ResolvedWriters()) > 1` instead of `if len(r.h.ResolvedWriters()) > 1`", "reference": "Is that because we don't provide a UI for these?" }, { "prediction": "I'm not sure we need to init flux for the tests.", "reference": "Standard is either to use `HappyPath` (CamelCase) or `happy path` (lowercase sentence). I usually prefer the latter." }, { "prediction": "Why is `nil` needed here?", "reference": "instead of using blkMemDao, we could generate a blockMemDao, and then use it as the second parameter." }, { "prediction": "I don't think we need this function, since it's only used in one place.", "reference": "nit(2/10): `topology && topology.description!= null`;" }, { "prediction": "I think this should be `import pyspark.sql as sql`", "reference": "why the space? I may not know all the style conventions." }, { "prediction": "`should fail if the dlitem has a parent
    with a changed role`", "reference": "Should be \"should fail if the **dt element** has a parent
    with a changed role\"" }, { "prediction": "Do we want to bust these caches during redeploys? I'm not sure if that's the right thing to do.", "reference": "Just to be clear: 1. This is required for compression, right? 2. This won't actually result in our dynos serving the assets, since they'll be served via the CDN, correct?" }, { "prediction": "Why did you remove this?", "reference": "not sure about removing this ping @Soullivaneuh" }, { "prediction": "Line is too long. [82/80]", "reference": "Put a comma after the last parameter of a multiline method call." }, { "prediction": "I think this should be `t.Fatalf(\"expects error when instance could not be found: %v\", err)` instead of `t.Fatalf(\"expects error when instance could not be found: %v\", err)`", "reference": "If instance could not be found when the provider id is set, `findInstance()` returns `ErrInstanceNotFoundByID` error. So that during reconcileNormal(), we don't create a new instance. In `reconcileDelete()`, when ErrInstanceNotFoundByID is seen, deletion continues to clean up even if the instance is gone (may be manually deleted)." }, { "prediction": "I'm not sure this is the best place to store the `_memory` variable. I'm not sure what the best place to store the `_memory` variable is. I'm not sure what the best place to store the `_memory` variable is. I'm just not sure what the best place to store it.", "reference": "I would recommend making this a Tuple<ReplicateValue, IColllection<object>> You only need to convert things to strings if you need to persist them in Settings or something. If they only need to live for the life of dialog, you can keep everything as objects. You can use \"null\" for the ReplicateValue for when they have not chosen a property." }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "I think there is no point providing action key here, as it will be called specifically, rather than randomly" }, { "prediction": "Why not just use `FrameworkDescription.Create()`?", "reference": "`XUnitIntegration` doesn't need to cache this anymore." }, { "prediction": "I think this should be `themes/awesomerc.lua` instead of `awesomerc.lua`", "reference": "Can we have something line `# noqa` there instead? I think it's fine like this though." }, { "prediction": "Style/IfUnlessModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.", "reference": "this variable is used in both branches so I've decided to declare it above" }, { "prediction": "I think we can remove the `ACTIVITY_SINGLE_TOP` and `ACTIVITY_REORDER_TO_FRONT` flags.", "reference": "`setFlags()` overwrites the previous flag, we should be using `addFlags()` to append flags." }, { "prediction": "I think this should be `ctx.Repo.Mirror.EnablePrune = form.EnablePrune` instead of `ctx.Repo.Mirror.Interval = form.Interval`", "reference": "Need `return` after this." }, { "prediction": "I'm not sure if this is the right way to do it, but I think it would be better to have a `CacheableResponseTrait` that extends `JsonResponseTrait` and overrides `addCacheHeaders` on it.", "reference": "I would say we should not use the `CacheableResponseTrait` within the `JsonResponseTrait`. Traits within traits tend to lead to a bad developer experience as it can be really hard to find the actual method you're seeing in the implementing class, and in this case it looks like we're using _both_ the cacheable and the JSON traits in the same controller, so it's redundant anyway. I'd recommend just removing that use statement from `JsonResponseTrait` and make sure `ChaceableResponseTrait` is included everywhere it's needed specifically." }, { "prediction": "I think this should be `LOG.debug` instead of `LOG.warn`.", "reference": "This change is unhelpful: it precludes users from knowing which ports are being used for what purpose within the system." }, { "prediction": "Line is too long. [87/80]", "reference": "Whoa, we weren't doing this before?? Derp." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "I'm surprised we didn't go with something like `flow := f.Flow.Copy()` to take care of all the fields at once, but as long as it works it's good enough for me" }, { "prediction": "I think this TODO can be removed.", "reference": "We would like this code to run, even when `config.XDPEnabled` is false, so that Felix can clean up its own XDP state after a restart." }, { "prediction": "I don't think this is the right place to put this, but I don't think this is the right place to put it.", "reference": "I'd declare this field `qualifiedName` private to hide it. Unless it really needs to be modified from somewhere else... (e.g. unit tests..), but then, we should find a solution, where this field can stay private." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if this is a good idea or not, but I'm not sure if it's a good idea.", "reference": "is this exhaustive? or rather, any psudo header started with `:` is un-parsable/invalid in HTTP/1 right?" }, { "prediction": "I'm not sure if this is the right way to test this.", "reference": "Is this change implying something or just seems fit b/c regardless of outcome the sessions should still be length 1?" }, { "prediction": "I'm not sure this is the right thing to do here. I think it would be better to have a method that returns a `DiscoveryFragmentGenerator` and a method that returns a `DiscoveryFragmentGenerator` and a method that returns a `DiscoveryFragmentGenerator` that returns a `DiscoveryFragmentGenerator` and a method that returns a `DiscoveryFragmentGenerator` and a method that returns a `DiscoveryFragmentGenerator` that returns a `DiscoveryFragmentGenerator` and a method that returns a `DiscoveryFragmentGenerator` and a method that returns a `DiscoveryFragmentGenerator` that returns a `DiscoveryFragmentGenerator` and a method that returns a `DiscoveryFragmentGenerator` that returns a `DiscoveryFragmentGenerator` and a method that returns a `DiscoveryFragmentGenerator` that returns a `DiscoveryFragmentGenerator` and a method that returns a `DiscoveryFragmentGenerator` that returns a `DiscoveryFragmentGenerator` and a method that returns a `DiscoveryFragmentGenerator` that returns a `DiscoveryFragmentGenerator` that returns a `DiscoveryFragmentGenerator` and a method that returns a `DiscoveryFragmentGenerator` that returns a `DiscoveryFragmentGenerator` that returns a `DiscoveryFragmentGenerator` that returns a `DiscoveryFragmentGenerator`", "reference": "Maybe throw an exception if there is more than one, so that discovering the lack of support is easier when someone tries to use it down the road." }, { "prediction": "I'm not sure if this is the right place to put this route, but it seems like it should be `/new-language-confirmations` instead of `/new-language-confirmation`", "reference": "Prefer single-quoted strings when you don't need string interpolation or special symbols." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's worth it. I'm not sure if this is the right place to put this.", "reference": "I feel the name of this function could be better, conveying it's a predicate. Something like `HasDockerTestEnvironment` or `CanRunLocalServerTests`, etc." }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "This seems unrelated to your PR, how did this end up in here?" }, { "prediction": "Please use `String#toLowerCase()` instead of `toLowerCase()`.", "reference": "Is `username` expected to be case insensitive?" }, { "prediction": "Why did you remove this?", "reference": "File is not `gofmt`-ed with `-s` (from `gofmt`)" }, { "prediction": "Why not use `TimeTracker.getTime()`?", "reference": "Is there any point to the deprecation? If someone was using these APIs, can they continue to do so in any meaningful fashion now that you've disconnected them from the PMD internals? Normally \"compiles but doesn't work\" is considered a bug." }, { "prediction": "`QItemSelection` is not a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `QVariant` is a `QVariant` type. `Q", "reference": "You can remove the `QItemSelection` import in this file now." }, { "prediction": "I'm not sure this is the right error code.", "reference": "Use `std::shared_lock` and `std::try_to_lock_t`. BTW. Why we fail on contention?" }, { "prediction": "I don't think this is the right way to do it, but I think it's better to do it in a separate PR.", "reference": "Not sure what this actually does, but do you need to add `\"\"` here? Or does `[\".jsx\", \".js\"]` work too?" }, { "prediction": "I don't think this is needed.", "reference": "let's group imports in the order: std third party first party" }, { "prediction": "Can you add a `@Nullable` annotation here?", "reference": "So the tests run only when the db exists? Else everything passes?" }, { "prediction": "I don't think we need this interface.", "reference": "`Remove` is unclear. It seems the point is to allow the `FifoByteSink` to delete the underlying file. There seems to be an implicit contract that consumers of this interface call `Remove` after `Close` without necessarily understanding what `Remove` does. I get that it's a little awkward to have `FifoByteSink` delete the file in `Close`. It would probably be best to just remove this from the interface, since `AddSink` is working with an actual `FifoByteSink`. I would rename it in `FifoByteSync` to `DeleteFile` or `Cleanup` or something that's makes it more clear what's being removed." }, { "prediction": "why not `types.Address`?", "reference": "Mentioned elsewhere but repeating again: would be nice to have units (ideally `Size *Bytes`)." }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "I think a test in `spec/integration` might help keep this file a bit more manageable, especially since we're just checking file contents and errors. But basically the same idea!" }, { "prediction": "This test is now failing because `caps['chrome.detach'].to be nil` doesn't match `caps['goog:chromeOptions'].clone()`", "reference": "This spec can be modified, giving you extra strength (Check this fetch key doesn't work and therefore returns `nil`)" }, { "prediction": "(style) line over 80 characters", "reference": "So this means that we can remove a callback via instr_set_label_callback(). Maybe consider adding another API function for removal, and add a new assert here such that cb!= NULL?" }, { "prediction": "I don't think this is necessary, since the `@plan` is always present.", "reference": "why are we using an instance variable instead of accessing the visibility method?" }, { "prediction": "I'm not sure why this is needed.", "reference": "Ok. Can we just disable this linter?" }, { "prediction": "Why did you change this?", "reference": "this is `test_data` and all other instances are `testdata` - does this change affect any test files, or are there actually no directories called `test_data` in the repo? (I just checked, it seems like there aren't...)" }, { "prediction": "This method is no longer used, please remove it.", "reference": "Fixing `lint` warnings that have existed for a while." }, { "prediction": "I don't think this is the right envkey for cstor pool.", "reference": "Better to rename this to CASDefaultCstorSparsePool." }, { "prediction": "I think this should be `this.s3 = awsClientFactory::s3;`", "reference": "Since we'e not 100% sure if `close` will be called more than once, should we set `client` to `null` or add an `AtomicBoolean closed` that will then handle the idempotency issue?" }, { "prediction": "I'm not sure this is the right fix. The name of the motorway should be the same as the name of the first motorway. The name of the second motorway should be the same as the name of the first motorway.", "reference": "And here - what happens if name id is invalid" }, { "prediction": "I think this should be `QueryInterface` instead of `PrintQueryDirective`.", "reference": "__toString() is not a part of QueryInterface" }, { "prediction": "I think this should be `import datetime`", "reference": "nit: Could you add an empty line between `import datetime` (built-in library block) and `import numpy as np` (third-party library block)?" }, { "prediction": "I don't think this is the right error code. The error code is `hipErrorCooperativeLaunchTooLarge` and the error message is `cudaErrorCooperativeLaunchTooLarge` and the error message is `hipErrorCooperativeLaunchTooLarge`", "reference": "Please remove `HIP_UNSUPPORTED`" }, { "prediction": "I'm not sure if this is the right way to do it, but I think it would be better to have it return `Number` if `dateRange` is empty.", "reference": "Having boolean parameters to change function behavior is not a good practice because it violates the principle of functions being responsible for a single task, so the need for this indicates we need to split something out of here instead. We can introduce a function like `getCurrentDateRangeDayCount` or similar, which does this." }, { "prediction": "Why was this removed?", "reference": "Is this not required?" }, { "prediction": "I think we should keep the `WorkingCandidates()` and `CachedState()` methods in `Workingset` and `PutState()` methods in `Workingset` and `WorkingCandidates()`.", "reference": "savedStates is for confirmed states, not needed in working set" }, { "prediction": "Why do we need this constant?", "reference": "Why should we move it into `bootstrap.go` file?" }, { "prediction": "I think this should be `const breakpoints = [24, 32, 48], `fontSizes = [24, 32], `measures = [48, 48]`", "reference": "In the next major version, I plan on changing the em-unit breakpoints to be pixel values to keep everything consistent. Would be great to handle this with pixels as well, but still allow em-units to be defined with a string" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I don't think this will actually align the indexes, if you have > 100 tabs, the tabs over 100 will be misaligned. In addition with less than 10 tabs, there will be a pointless space." }, { "prediction": "I'm not sure this is the right place to put this. The `CanonicalHeaderKey()` method is used to get the `host` header from the `request` object.", "reference": "hrm, unsigned headers now won't be included." }, { "prediction": "I think this should be `==` instead of `===`.", "reference": "what if `$value ='' `?" }, { "prediction": "nit: can we use `LOG.info(\"Dynamic overwrite is empty, skipping commit\")`?", "reference": "What about using `!files.hasNext` instead? I'm not sure we want to assume that the iterable can be consumed multiple times. Plus there's no need to consume the entire iterable just to check whether it is empty." }, { "prediction": "I'm not sure why this is needed.", "reference": "I think we could add bool addArticle here defaulted to false like its done in item class so std::string Container::getName(bool addArticle /* = false*/) const { and pass that variable to getNameDescription call" }, { "prediction": "`int[]` instead of `int[]`?", "reference": "What if a library function on the outside still calls the old method? It is then no longer blocked properly. Have you tested the change?" }, { "prediction": "I'm not sure this is the right fix. I'm not sure if it's the right fix.", "reference": "@i110 Do you have an idea on how we should propagate errors that occur in this block? The error condition happens when i) `h2o_buffer_reserve` fails to allocate space (happens in master as well), or ii) `fill_cb` returns an error (unique to this PR)." }, { "prediction": "I think this should be `Time.now.utc` instead of `Time.now.in_time_zone('Eastern Time (US & Canada)').strftime(\"%a %m/%d/%y (%Z)\")`", "reference": "Does this mean the times will show up in emails as UTC?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if it's the right way to do it, but I'm not sure if it's the right way to do it.", "reference": "What's the motivation for having one of these be a cycle and the other be a fixed color?" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "What will be an empty entry now?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be better to use `this.hot.isRtl()? 'right' : 'left';` instead of `this.hot.isRtl()? 'right' : 'left';`", "reference": "Can I ask you to add jsdoc tag that would mark the prop as `@private`?" }, { "prediction": "I think this should be `info.IsDir()` instead of `info.IsDir()`", "reference": "Do you need this? Don't think you use it?" }, { "prediction": "I'm not sure if this is the right place for this service. I'm not sure if this is the right place for this service.", "reference": "`this.` seems unnecessary" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "nit: can be removed before merging..." }, { "prediction": "I think this should be `
    ` instead of `
    `", "reference": "Maybe a single quote would be compatible with airbnb style." }, { "prediction": "I think this should be `-1` instead of ` -10`.", "reference": "This is not the right approach. The `Distributor` maintains a model of the current state of the Grid. That model already contains the information about every active session. We don't need to modify `SessionMap` to expose it further." }, { "prediction": "I'm not sure if this is the right place for this test.", "reference": "@Marwes @wolffcm This is the file where I made a change the the expected output. Its a little bit weird, but I think that the final output makes sense for the most part." }, { "prediction": "I'm not sure this is the right error message.", "reference": "I think we probably need a util.Warning() here." }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if this is the right place to put it.", "reference": "Let's make have a signature that's consistent with `PhysicalKey.from_path`. Users should also have access to PhysicalKey since that class is part of the API (e.g., `Package.resolve_hash`)." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "What is this directive for?" }, { "prediction": "I think this should be `'simplify chained comparison'` instead of `'simplify chained comparison'`.", "reference": "I'd rephrase it as `Simplify chained comparison between the operands`." }, { "prediction": "Why did you remove this?", "reference": "so in the performance data fixtures, there will be references for the second domain only?" }, { "prediction": "why finest?", "reference": "This is wildly unhelpful to users --- they need to know when a proxy has been registered." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "If there is no authority header (i.e. someone intentionally deleted it), I would argue we probably don't want a Host header in the replay either. How about we only add it if it exists, and do nothing otherwise?" }, { "prediction": "I think we can remove this warning now.", "reference": "is there any unit test that can be updated to verify this?" }, { "prediction": "I'm not sure this is the right place to do this.", "reference": "exiting at this point is leaking memory, take a look at the valgrind output. the sbuffer must be destroyed." }, { "prediction": "I'm not sure if `--poppler` is the right default here.", "reference": "i think you want a different flag and help like `--ffmpeg` or something; and you need to mark any tests you want skipped" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "this needed to change? or it was just some formatting thing?" }, { "prediction": "Why do we need to remove this?", "reference": "What's the advantage of doing it this way over, say, changing the `.circleci/config.yaml` to have `TRACE` as the `root.log.level`?" }, { "prediction": "I'm not sure if this is a good idea. I think it should be called `fetch_bigquery_iam_policy` or `fetch_bigquery_iam_policy_from_api_client` or `fetch_bigquery_iam_policy_from_api_client`", "reference": "typo: if -> of" }, { "prediction": "I'm not sure if this is the right thing to do here. It seems like the `md.Convert` method should return a `string` if `inputStr` is `nil`, and `err` if `inputStr` is `nil`, and `err` if `inputStr` is `nil`, and `err` if `inputStr` is `nil`, and `err` if `inputStr` is `nil`, and `err` if `inputStr` is `nil`, and `err` if `inputStr` is `nil`, and `err` if `inputStr` is `nil`, then `err` otherwise.", "reference": "It'll be interesting to see who or what this breaks..." }, { "prediction": "I think this should be `log.debug(\"In dev mode. Copying required files in case we're using a WebDriver-backed Selenium\");`", "reference": "This change is incorrect: the current log level is correct." }, { "prediction": "Why is this change needed?", "reference": "There are few cases like this where default logger is used from CLI/db tools. I would copy `NewTestLogger` to `NewCLILogger` and use it everywhere in CLI. In future these two might be different." }, { "prediction": "I think it would be better to use `StringUtils.nullToEmpty(value)` instead of `StringUtils.nullToEmpty(value)`", "reference": "While it provides re-use, this method does not make sense in `AbstractAuthenticationToken` because it knows nothing of a hash key. Instead, we should move this to a private method within each subclass." }, { "prediction": "`x` is a `int`, so `x` is a `int`, not `int`.", "reference": "index by memory address? I realize I don't understand why we don't just build a list :)" }, { "prediction": "I don't think this is needed.", "reference": "Not part of this commit, but we thought that this may not be a good place for this url, as it is in the `/user/` namespace (effectively preventing us having a user called `lastfmscraper`, however rare it may be)" }, { "prediction": "I don't think we need the prefix here.", "reference": "Does not appear to be used." }, { "prediction": "I don't think this is the right place to put this in. It's a bolt command run, not a bolt command run. I'm not sure if this is the right place to put this in, but I'm not sure if it's the right place to put this in.", "reference": "I think this starts a new `powershell.exe` interpreter each time, which is pretty slow to run a single command. Can we just do `on(bolt, \"cmd /c #{bolt_command}\")`? /cc @Iristyle" }, { "prediction": "@purchaseable.collection? should be `@video_page.purchaseable.collection?`", "reference": "Can we add a `collection?` method to the `VideoPage` so we don't violate Law of Demeter here?" }, { "prediction": "I'm not sure this is the right place to remove this.", "reference": "Deleting unused code." }, { "prediction": "I think this should be `from..bbox.samplers.pseudo_sampler import PseudoSampler`", "reference": "`PseudoSampler` can also be imported from `..bbox`" }, { "prediction": "Why is this import needed?", "reference": "Could you move this import to where the other `github.com/algorand/go-algorand` imports are?" }, { "prediction": "I don't think we need to add a comma at the end of the line.", "reference": "I'd rather not activate this protocol by default for now, unless there is a good reason for that." }, { "prediction": "I think this should be `email_violations` instead of `email_violations`.", "reference": "Remove these 2 blank lines." }, { "prediction": "I think this should be `fmt.Printf(\"aa: %x\\n\", hash)`", "reference": "Want to remove this?" }, { "prediction": "Why do we need this?", "reference": "is this a golint requirement? huh. mixed feelings :)" }, { "prediction": "This test is not related to this PR, but I think it would be better to have a separate test for BCryptPasswordEncoder.BCRYPT_VERSION_2B and BCryptPasswordEncoder.BCRYPT_VERSION_2Y. I think it would be better to have a separate test for BCryptPasswordEncoder.BCRYPT_VERSION_2B and BCryptPasswordEncoder.BCRYPT_VERSION_2Y.", "reference": "Generally with these tests please split up these tests so that there is a different test for each method" }, { "prediction": "`lazy_mutex` should be a `std::unique_lock` instead of `std::unique_lock lazy_lock (lazy_mutex);`", "reference": "Should something use the lock passed in?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "Is this dependant on some version of Docker? Do we need to include both or `volumes` is deprecated (or just wrong!?)?" }, { "prediction": "I don't think this is the right fix. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader. If the shard has an active leader, then the leader is the leader.", "reference": "I know this is not new code, but should we change `leader.getState() == State.ACTIVE` to `leader.isActive(liveNodes)`?" }, { "prediction": "I don't think this is the right place to put this check, but I don't think it's a good place to put this check.", "reference": "Why not use ASTAnyTypeDeclaration? AbstractAnyTypeDeclaration is deprecated" }, { "prediction": "I think this should be `from.tools.command import save`", "reference": "A blank line at the very end of each file should eliminate the \"No EOF\" warning we see above" }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if this is the right fix.", "reference": "These would both be more robust with `errors.As` so that we could safely chain errors." }, { "prediction": "I think we should keep the old mangled name since the Objc->Swift bindings don't get the new mangling.", "reference": "This is checking the same condition twice?" }, { "prediction": "I'm not sure this is the right place to put this code.", "reference": "Aren't we able to handle the case where we have MPI-CUDA without NCCL, even if it's suboptimal?" }, { "prediction": "Should this be `static const uint32 PhantomStatId = 999999;`?", "reference": "Wouldn't we want to namespace this `AA` or something similar" }, { "prediction": "I'm not sure this is the right thing to do here. If `envCfg.Creds.HasKeys()` is true, and `envCfg.Profile` is empty, then `envCfg.Creds.HasKeys()` will return false.", "reference": "This probably should look beyond envConfig, and include `aws.Config.Credentials` as well." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "How does this filter differ from TooExpensiveTxFilter?" }, { "prediction": "This method should be renamed to `getGroupsWithPermission`", "reference": "Use \" List\" instead of ArrayList in declaration." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to check if `self.TYPE_REGISTRY[runtime_type.name]` is not None and raise an exception if it isn't.", "reference": "we might consider hard throwing when name is None since that is explicitly not working right now and then linking to issue in the exception error message" }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's the right place to put it.", "reference": "Just noticed this - why \"like\" and not straight \"=\"" }, { "prediction": "Line is too long. [97/80]", "reference": "is this a new test? if yes, isn't it better to check for each env var is present, and the value, instead of a count?" }, { "prediction": "This should be `String.format(\"Failed to setInstances, AppId=%s, MicroserviceName=%s.\", getAppId(), getMicroserviceName(), e);`", "reference": "when will lost exception? by my test, never happened." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's a good place to put it.", "reference": "You should re-stringify it here with `QUrl.FullyEncoded`." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "i'm not sure why the quit channel is needed in this context" }, { "prediction": "I don't think we need to parse `args.MemoryLimit` and `args.CPURequest` here.", "reference": "When `args.MemoryLimit` is empty, will `MustParse` panic?" }, { "prediction": "I think this should be `r.logCxt.Info(\"Queueing a resync.\")` instead of `r.inSync = false`", "reference": "How soon after this will Apply() be called? It would be a shame if there was still a significant delay before a missing or superfluous route was corrected." }, { "prediction": "Why is this needed?", "reference": "I add a `idx` property, and it is only use for benchmark `heap.Remove`, is it acceptable?" }, { "prediction": "This file should be renamed to `Copyright (C) 2006-2019` or `Copyright (C) 2006-2019tNV Access Limited`", "reference": "daemonic t got inserted." }, { "prediction": "I'm not sure if this is correct. The error message should say something like \"Please specify a different data directory with --data-path or specify the original genesis file with --genesis-file.\");", "reference": "This edit is non-essential." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do this.", "reference": "Might be safer to ponyfill this?" }, { "prediction": "I'm not sure this is the right fix. I think it should be `filepath.Join(dir, backend.Paths.Config)` instead of `filepath.Join(dir, backend.Paths.Config)`", "reference": "why was this join not necessary before?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if `queryTimeout.getShouldExitCallCount()` is the right thing to do here, but I'm not sure if it's the right thing to do here.", "reference": "Here we compare to the expected call count 3. Because 3 TermsEnum are created: it is a PrefixQuery and there is one TermsEnum created for AutomatonQuery.intersect() (the next call timeout check is skipped once), then 2 TermsEnum created for the 2 matching terms \"one\" and \"ones\"). Would it be clearer to have a separate test method? We could index more docs, for example 50 with a prefix-generated term (e.g. \"term\"+increment). There would be a PrefixQuery for \"term\", the same test code, and we would test the TIMEOUT_CHECK_SAMPLING: - 1 TermsEnum for Automaton.intersect(), and the next calls would be sampled (50/TIMEOUT_CHECK_SAMPLING=3) => call count +4 - 1 TermsEnum for each enumerated term => call count +50 We could verify call count = 54 (instead of 101 without sampling)" }, { "prediction": "Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument.", "reference": "Add `--format` as an option. Does it make sense to have all display options available? Also need to add `--inventoryfile` and possibly the global_config_options." }, { "prediction": "I think this should be a `Action` instead of `Enrich`.", "reference": "Any thoughts on making this false by default? My suggestion is make this opt-in. Storing exception is somewhat expensive, so lets do this only if users opt-in" }, { "prediction": "I don't think we need to catch `Throwable` here.", "reference": "usually I do either ` IOException|RuntimeException` or if doing Throwable, use propagateIfFatal" }, { "prediction": "I'm not sure this is the right place to put this in. I'm not sure it's a good place to put this in, but it's a good place to put it in.", "reference": "Wondering whether it should be `self.clone`, or `other.clone` or maybe a new `DynamicMap` declaration entirely. I see this is in the condition where `other` is a `DynamicMap`but is this definitely right in terms of `kdims`? I need to think about it more..." }, { "prediction": "I don't think we need to add SECURITY to SolrInfoBean.", "reference": "I chose a new category because over time I'd like to add metrics also for Authorization plugins and Auditlog plugins (all components registered in security.json). An alternative could have been `CONTAINER` I guess?" }, { "prediction": "I don't think this is the correct length for IoTeX.", "reference": "IoAddrLen Golang prefers short variable names" }, { "prediction": "This is a breaking change. The `a` parameter is a string, not a boolean.", "reference": "PHPCR-ODM does not allow blank aliases.." }, { "prediction": "I don't think this is the right place for this.", "reference": "This seems trivial to forge. Can we tie this into the authentication code paths somehow so that we can really trust that the request is coming from a server instead of just some application claiming to be a server?" }, { "prediction": "I don't think this is needed.", "reference": "Why are you including ``?" }, { "prediction": "I don't think this is the right place for this.", "reference": "So previously health check was consuming from the normal metrics queue, now we duplicate the data to a new queue? I feel like there should be more changes to ensure the health check handler reads from the new queue? @DrewZhang13" }, { "prediction": "Why do we need to check for `DstNamedPortIpSetIds` and `DstPorts`?", "reference": "Yep, looks right; your new selector _should_ disqualify the rule from being XDP accelerated." }, { "prediction": "I don't think we need this interface.", "reference": "cc @anurse This exists now. Kestrel currently passes the current time to all callbacks as an optimization. Just an FYI." }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix or if it's the right fix.", "reference": "remove 3.8+ f-string format to allow use in google colab" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "Should we assert that xstate is aligned here?" }, { "prediction": "I think we can remove the `BlockTreeOrds` field from the `SolrInstances` class.", "reference": "any particular reason for suppressing this change?" }, { "prediction": "I think this should be `DIFFICULTY_BOMB_REMOVED` instead of `DIFFICULTY_BOMB_REMOVED`", "reference": "Hot take: could this instead become `NO_DIFFICULTY_BOMB` and have` HOMESTEAD` wrap it? So this comes first then homestad with the bomb adjustment, making no difficulty the base case?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure it's the right thing to do here. I'm not sure it's the right thing to do here.", "reference": "I suggest to use a scheme like \"blobvar\". \"blob\" would potentially collide if we have another API that use the blob package as a driver." }, { "prediction": "I think this should be `to_ts = latest_listen[0].ts_since_epoch if len(latest_listen) > 0 else 0`", "reference": "This assumes that the user has at least one listen, it should have a guard around it, because this won't always be the case" }, { "prediction": "I don't think this is the right place to put this.", "reference": "Seems like a lot of unintended changes. Are your line break settings causing these?" }, { "prediction": "I don't think this is necessary. The `conda-forge` package is only available in `conda` itself.", "reference": "@StrikerRUS what if we just removed build numbers and did `r-pkgdown=1.3.0`? Won't we have to fix this again if the RTD build machines change?" }, { "prediction": "I don't think we need this file anymore.", "reference": "I'm not arguing with it, but how did you decide to make this change?" }, { "prediction": "This file is part of Invenio.", "reference": "1: D400 First line should end with '.', not 'd' 4: I102 copyright year is outdated, expected 2014 but got 2012 25:29: E126 continuation line over-indented for hanging indent 31: D103 Docstring missing 40: D103 Docstring missing 57: D103 Docstring missing 68: D103 Docstring missing 101: D103 Docstring missing 115: D401 First line should be imperative: 'Call', not 'Calls' 115: D400 First line should end with '.', not 't' 134: D400 First line should end with '.', not 'e' 134: D205 Blank line missing between one-line summary and description" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "Explain that this must match the `CommonName` of the first (or is it last?) certificate in the chain, where the first certificate is the chain root CA and the last certificate is the leaf certificate." }, { "prediction": "I think we should rename this to `cold_start_enabled` or something like that.", "reference": "do we really need this behavour to be configurable?" }, { "prediction": "I don't think this is needed.", "reference": "Hmm interesting. Do the tests check out on this?" }, { "prediction": "I think this should be `private static final int MAX_OMMER_DEPTH = 8;`", "reference": "For another PR, another `--X` candidate." }, { "prediction": "I'm not sure if this should be `Release` or `ReleaseSettings`.", "reference": "Do we need to add this constant for `group_windows.go`? Otherwise, I believe the build will fail on windows. Also what do you think of adding the emoji at the end? The windows one could be plain." }, { "prediction": "I don't think this is needed.", "reference": "this is a junit 3 import, not a junit 4" }, { "prediction": "I don't think we need this test.", "reference": "shouldn't there be a reque expected here?" }, { "prediction": "Why is this private?", "reference": "I prefer to make it `protected set`. What do you think?" }, { "prediction": "I think this should be `MaxMemory` instead of `MaxStore`.", "reference": "Maybe rename this to JetStreamStoreDir?" }, { "prediction": "I'm not sure this is the right thing to do here.", "reference": "You can start by logging out the error" }, { "prediction": "I'm not sure this is the right way to do this. I think it would be better to have `LastGasPrice` be a `UInt256` and `baseFeePerGas` be `UInt256.Zero` and then have `GetMinimumGasPrice` take care of `baseFeePerGas` and `LastGasPrice` take care of `baseFeePerGas` and `LastGasPrice` take care of `baseFeePerGas` and `LastGasPrice` take care of `baseFeePerGas` and `baseFeePerGas` and `LastGasPrice` take care of `baseFeePerGas`.", "reference": "In general, what is the reason for the fallback price to be public? If it is public, why does it take baseFeePerGas instead of a block header?" }, { "prediction": "I'm not sure if this is the right thing to do, but I think it would be better to have a `Function` interface that extends `Traversable, Serializable>` instead of `Function1`.", "reference": "follow-up of #2002" }, { "prediction": "partitionPerSplit -> conf.getPartitionPerSplitPerSplit", "reference": "could you give some explanations of what problem do you want to solve by this change, and how/why it works?" }, { "prediction": "nit: rename `LongLivedMarshalByRefObject` to `LongLivedMarshalByRefObject`", "reference": "LongLivedMarshalByRefObject exists in both the netstandard and netfx xunit?" }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, so I'm not sure what the best way to do this is.", "reference": "the bridge here isn't defined as an accessor / reader to try mask it better. So you need to directly call the iVar `@bridge` here." }, { "prediction": "I'm not sure if this should be a command context, or if it should be a command context. I'm not sure if this should be a command context, or if it should be a command context, or if it should be a command context.", "reference": "Testing on linux with this change, containerd no longer stops when k3s stops." }, { "prediction": "I'm not sure if this is the best place to put this, but I think it would be better to have it in the config file.", "reference": "Maybe [u]int64 to be consistent with other byte-valued vars in this struct?" }, { "prediction": "I don't think we should show this to NCR people. We should only show to NCR people if they're signed in.", "reference": "This brings up the question... do we need to start assigning users to the different use cases in some way? We don't want this link to show up for Ric, for example." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to just do `prefetch_[i].reset(new Batch(param.has_data_param()? param.data_param().prefetch() : PREFETCH_COUNT), prefetch_free_(), prefetch_full_(), prefetch_current_()`", "reference": "Unless I'm misunderstanding something, this should just be `prefetch_(param.data_param().prefetch())`, no? That should just use the default value if there's no explicit `data_param` or `data_param.prefetch` set, removing the need to also duplicate and hardcode `PREFETCH_COUNT`." }, { "prediction": "I think we should use `errors.New(errUnknownTransactionType)` instead of `errors.New(errUnknownTransactionType)`", "reference": "nit : move this into a default clause in the previous switch statement." }, { "prediction": "I'm not sure if this is the right fix.", "reference": "It should be return \"''\"; I will fix it" }, { "prediction": "I don't think we need this anymore, we can just remove the `LeaderId` and `LeaderEndpoints` fields from `ClusterEvent` and `NewMemberEvent`.", "reference": "Go standard linter hates `Id`s and likes `ID`s, please do not resist." }, { "prediction": "Line is too long. [81/80]", "reference": "I don't think retrying here is as useful, since `git-checkout` doesn't access the network AFAIK, and if it fails once it's probably going to fail all three times." }, { "prediction": "I'm not sure if this is the right place for this function, but it seems like it should be renamed to `SetCertificateRenewalTIme` or `SetCertificateRenewalRenewalTime`?", "reference": "Fixing this typo caused a build failure in `cmd/ctl/pkg/status/certificate/certificate_test.go:238` Could you also update it there?" }, { "prediction": "I'm not sure if this is the right place to put this condition. I'm not sure if it's a good idea to put this condition in the `_rtp_payload_types` dict.", "reference": "Please note that adding this will import `extension_condition` in the entire scapy (as you are located in a layer). You might want to move this inside the RTP class? Would be better i think" }, { "prediction": "I think this should be `rand:#{seed}`", "reference": "This will need updating, as I'm not sure we'll want to turn on random ordering if they've specified a seed for programmatic use." }, { "prediction": "I'm not sure this is the right place for this.", "reference": "Are you sure these are all client libs? This seems fragile: if we later load sthg else early this will break. Seems best to have some kind of sanity check: at least add an assert in the current location where this is set." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Picking nits here, but as a Dictionary already is a collection of KeyValuePairs there's undoubtably a way to code this that doesn't involve constructing any new ones." }, { "prediction": "Please use `import java.io.*;`", "reference": "As Miklas stated, please avoid wildcard imports." }, { "prediction": "I don't think we need this anymore.", "reference": "Maybe change it to `module.exports = server`? Becase there's nothing else to export here" }, { "prediction": "I'm not sure why this was removed.", "reference": "This may be an automated change, but the import seems to fit better where it was previously." }, { "prediction": "I think we should use `||` instead of `||`.", "reference": "Might we want to separate including this snippet and sending the data for signed in users into different partials?" }, { "prediction": "why not just use `topology.ErrWantSelf`?", "reference": "closest to the address" }, { "prediction": "`autoRowSize` is a bit confusing. `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is a property of `autoRowSize` and `autoRowSize` is", "reference": "It should be much more clear for end-user" }, { "prediction": "I'm not sure if this is the right place to put this, but I think it's better to put it in a separate file.", "reference": "Isn't this an example that this will be prone to false positives? We had nothing to fix in the codebase (And I think there is dict that could be named tuple in the MessageStore/MessageIdStore), but we have a false positives on our checkers." }, { "prediction": "I'm not sure if this is the right fix.", "reference": "We control `octest`, so it shouldn't be necessary to provide struct literal keys. This is a case of vet being too picky." }, { "prediction": "Layout/TrailingWhitespace: Trailing whitespace detected.", "reference": "I would put that constant under config/initializers/constant.rb and I would leave application.rb for rails specific." }, { "prediction": "I'm not sure this is the right way to do this. I think it would be better if the `map[BlockPointer]bool` returned by `addUnrefToFinalResOp` was a `map[BlockPointer]bool` instead of a `map[BlockPointer]bool`.", "reference": "Is there a reason not to do something like `if _, ok := doNotUnref[ptr.ID]; ok { return ops }` here?" }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure if it's the best way to do it. I'm also not sure if `_w3c` is the best way to do this, so I'm not sure if it's the best way to do it.", "reference": "This would return a tuple of two dictionaries. You need to combine them and return a dictionary" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "Why not always forward it to `_data`?" }, { "prediction": "I'm not sure if this is the right place for this. The `POST` method is only used in the `connect_spotify_callback` function, so it's not a GET request.", "reference": "there are tests that use `client.get` which will fail now" }, { "prediction": "I'm not sure if this is the right error type for `WriteToReadonlyNodeError` or if it's the right error type for `NameExistsError`?", "reference": "Whoa, TIL about this syntax." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "This is a smell. When is this valid? Perhaps this should be `nil, nil, ErrNoResponse` or some such. While it is usually invalid to have neither a return value or error, we rarely check for the case in other idiomatic Go. Nothing wrong with extra defenses here, but think about it." }, { "prediction": "I don't think you need this, you can just import `models/faster_rcnn_r50_fpn_1x_coco.py` from './faster_rcnn_r50_fpn_1x_coco.py'`", "reference": "This URL is outdated, add a `TODO` to fix it." }, { "prediction": "Why not just `ChainID() uint32`?", "reference": "`ChainID()` is a getter method, move up to `Nonce()`" }, { "prediction": "I'm not sure if this is the right place to put this check in the scheduler class, but I think it would be better to move this check into the scheduler's `getScheduledFlowTriggerJobs()` method.", "reference": "If this condition is not met, shall we just throw the exception rather than logging it? @li-ygerchikov Your thoughts?" }, { "prediction": "I think this should be `ruamel.yaml` instead of `ruamel.yaml`", "reference": "nit: alpha-sort `ruamel.yaml` in this list please" }, { "prediction": "I think this should be `<=` instead of `>=`.", "reference": "Remove this because we already added it in another pr" }, { "prediction": "I think this should be `getClass().getResource(\"phoenicis.png\").toExternalForm()` instead of `getClass().getResource(\"phoenicis.png\").toExternalForm()`", "reference": "Can we maybe move the `File` creation to a new method? I mean both changes look equal to me with the difference of two parts, which could be specified using two input parameters." }, { "prediction": "Line is too long. [82/80]", "reference": "I think we want to require the association with the user...?" }, { "prediction": "I'm not sure this is the correct way to determine the size of the signed messages on the chain.", "reference": "I am unsure the below implementation is correct, but need this method to not panic else it borks the chain-validation tests." }, { "prediction": "I'm not sure this is the right place to import collections.OrderedDict?", "reference": "nit: no need this change anymore." }, { "prediction": "Why is this change necessary?", "reference": "This isn't really that closely related to everything else in this PR, but I'm pretty sure it's a correct change. I'm not familiar enough with the taint feature to know how to test it, but I worry that without this change some of the taint stuff might mess up the `parent_nodes` for a reference." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "[Checkstyle] ERROR: Unused import - javaslang.collection.Stream." }, { "prediction": "I'm not sure why this change is needed.", "reference": "The numbers were changed since now _root_ is also added to the doc, increasing the field count by 1." }, { "prediction": "I think this is the only place where this is used.", "reference": "TTemplateParamClass is handled above with the same content in the conditional" }, { "prediction": "I think this should be `$newConfig['Captcha'][$key]['recaptcha_'. $key]` instead of `$newConfig['Captcha'][$key]['recaptcha_'. $key]`", "reference": "Do we need to add `theme` here?" }, { "prediction": "I think this should be `int` instead of `string`.", "reference": "i think you have to regen the api stuff, `make generate`" }, { "prediction": "nit: `public static Signature normaliseSignature(final BigInteger nativeR, final BigInteger nativeS, final PublicKey publicKey, final Bytes32 dataHash) {`", "reference": "DataHash shouldn't be needed here" }, { "prediction": "I think this should be `LOG.debug` instead of `LOG.finest`.", "reference": "`info` was chosen deliberately to mirror the old behaviour that users expected." }, { "prediction": "I'm not sure this is the right fix. The `toArray()` method should return an array of `component.get('value').toArray()` and `component.get('selection').toArray()` should return an array of `component.get('selection').toArray()` and `component.get('value').toArray()` should return an array of `component.get('value').toArray()` and `component.get('selection').toArray()` should return an array of `component.get('selection').toArray()` and `component.get('value').toArray()` should return an array of `component.get('value').toArray()` and `component.get('selection').toArray()` should return an array of `component.get('selection').toArray()` and `component.get('value').toArray()` should return an array of `component.get('value').toArray()` and `component.get('selection').toArray()` should return an array of `component.get('selection').toArray()` and `component.get('value').toArray()` should return an array of `component.get('value').toArray()` and `component.get('selection').toArray()` should return an array of", "reference": "For some reason, Safari handles ember arrays differently than Chrome/Firefox. To get around that, we cast the ember array to a regular array to verify the deep equal. (Note: I tried wrapping the expected value in an emberA - which would look like `expect(someEmberArray).to.deep.equal(emberA(['a', 'b']));` but that didn't work either)" }, { "prediction": "I'm not sure if this should be `final` or `final`", "reference": "`icebergType` indicates the corresponding iceberg type of the `FieldVector` `originalIcebergType` indicates what the real type we will read from the `FieldVector`. For example, the parquet int backed decimal, the `icebergType` should be integer, `originalIcebergType` is decimal. I intend to only keep the `originalIcebergType`, but listening to your ideas." }, { "prediction": "I don't think we need to **storage.ObjectHandle, right?", "reference": "The double (and thus triple as seen below) pointer gives me pause. I could imagine providing some larger API surface to smooth it out, but it's likely not worth it." }, { "prediction": "I'm not sure if this is the right test for this change.", "reference": "The test name as written was grammatically correct, but now it isn't. Both 'MongooseError' and 'instance' should be both singular or both plural." }, { "prediction": "`isGlobal = bundle == null? false : bundle.getBoolean(IS_GLOBAL_STORE, false);` -> `bundle == null? DBOpenHelper.DEFAULT_DB_NAME : bundle.getString(DB_NAME, DBOpenHelper.DEFAULT_DB_NAME);`", "reference": "SmartStoreInspectorTest was throwing a NPE here" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "We prefer line wrapping that keeps arguments to the same method aligned rather than aligning arguments to different levels. Here, the lambda to create an `InternalRecordWrapper` is an argument to `transform`, but it is aligned with `deleteSchema.asStruct()` that is an argument to the outer `toEqualitySet` call. Instead, can you add a newline for each argument to `toEqualitySet`? If the line with the lambda is too long, then you can also add a newline for it that it indented from the start of the line with `transform`, so it is clear that it is an argument to `transform` and not `toEqualitySet`." }, { "prediction": "I think this should be `label: globalize.translate('LabelHardwareEncoding'), value: session.TranscodingInfo.HardwareAccelerationType` instead of `value: globalize.translate('LabelHardwareEncoding')`", "reference": "I think it would be a good idea to wrap this in an if like the stats above, just in case." }, { "prediction": "I think you can remove the `else` here.", "reference": "@angmas1 just make one more change here too. Move the else line to the line above it, where the if block ends and remove the braces like in line 280." }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "Looks like the actual rename is missing in this commit edit: Arf, nevermind, I was at the wrong commit" }, { "prediction": "I don't think this is the right way to check for `this.opts.getAssemblyOptions === defaultOptions.getAssemblyOptions`", "reference": "I'm a little stuck understanding, how would this result in an error when `this.opts.params` is not set? It will just not do `AssemblyOptions.validateParams(this.opts.params)`" }, { "prediction": "I'm not sure if we should use `Regexp` here, but I think it's better to use `Regexp.Must` instead of `MustCompile`.", "reference": "networkVarPattern (etc) then?" }, { "prediction": "Line is too long. [82/80]", "reference": "I think it makes sense to do `metadata[:block].clone`, as thats what `new_metadata` is, but somehow it's missing the block from its clone." }, { "prediction": "I'm not sure about this change, but I think it's a good idea to keep the old code as much as possible.", "reference": "Just realized this should be fixed instead of changing here. Concatenating int should still result in lowercase string." }, { "prediction": "I'm not sure if this is the right thing to do here, but if we're going to use `marionette: true` we should be able to use `opts[:browser_marionette] = opts.delete(:platform) if opts.key?(:platform) && opts[:browser_version] = opts.delete(:version) if opts.key?(:platform) && opts[:platform] && opts[:browser_version] = opts.key?(:version) if opts.key?(:platform) && opts[:platform] && opts[:browser_version] = opts.key?(:platform)`", "reference": "For Se 3.x we shouldn't need to specify `marionette: true`? I'll see if I can figure out where this is getting used that it might be necessary here." }, { "prediction": "I think we should rename `chainStore` to `store` to make it clear that it's a chain store.", "reference": "This should be renamed to `chain.Store`. It was named `DefaultStore` as an alternative to `StoreImpl`, which is the (bad) Java convention." }, { "prediction": "Is there a reason we don't want to do this check explicitly?", "reference": "ad.Source is disk name? Shouldn't the order of initialization be reversed here then? First set ad.DeviceName, if it's empty, set ad.Source? Or this is a different use case? This is the third place where this device/disk default logic is implemented, so another reason to move it to regAttach, if it's possible to be generalized." }, { "prediction": "I don't think this is a good idea. It's not a timeout, it's a timeout. It's a timeout, not a timeout.", "reference": "typo: \"be hold\" -> \"be held\"" }, { "prediction": "I think this should be `long.MaxValue` instead of `long.MinValue`.", "reference": "I do not think we should have any logic inside the null storage. 1 has a very specific magical meaning. We should either return null here or long.maxValue." }, { "prediction": "I'm not sure this is the correct version.", "reference": "Why did this change?" }, { "prediction": "I think we should remove the `guidance_by_question_as_hash` from the `GuidanceService` class.", "reference": "Removed this method. Doesn't seem to be used in the code, and the variable set here doesn't seem to be used in the views." }, { "prediction": "Why is this needed? I don't see it being used anywhere in this file.", "reference": "Remove the initializers (\"`= null`\") from both parameters. Remember that that's why we added the overloads: to ensure that all languages could have the convenience of the abbreviated argument lists (not all languages understand default parameters)." }, { "prediction": "I'm not sure this is the right place for Vector. It's not used anywhere.", "reference": "I think you can just remove most of these attributes outside of `ElementType()`. Instead, this should expose the arrow array. We're not going to use these methods anyway." }, { "prediction": "I don't think we need to import `remove` here, since it's not used anywhere else.", "reference": "Thinking this should be `removeNode()` exported from `dom/index.js`. Thoughts?" }, { "prediction": "I'm not sure if this lock is necessary.", "reference": "Does this need to be saved in the state file? Or are we recomputing when the task is read from the state file?" }, { "prediction": "I'm not sure this is the right way to do it, but I'm not sure it's the right way to do it.", "reference": "Looks like `s.inserts` and `s.removes` are updated under sublist's lock, so I don't think you need atomic for those 2." }, { "prediction": "This implies the services are not fully initialized.", "reference": "@TD-er use bitRead/bitWrite macros, do you use here inversed logic?" }, { "prediction": "Why is this needed?", "reference": "The previous `fetch` mock was exposed globally before - can we do the same with `fetchMock` so we don't need to import it in every file?" }, { "prediction": "I don't think we need this check anymore.", "reference": "Is ExpectData still used anywhere?" }, { "prediction": "I think this should be `\\w(?:\\w|\\.[^\\.])*` instead of `\\w(?:\\w|\\.[^\\.])*`", "reference": "Do you want to allow the character `.` or any character? Because inside a regex `.` means any character, if you want to authorize `.` then you need to add `\\.`." }, { "prediction": "I'm not sure if this is the right place to put this test.", "reference": "`eachAsync()` should pass a doc, not an array of docs, to the callback. This would be a massive breaking change." }, { "prediction": "I'm not sure we want this to be a warning?", "reference": "please start log with caps letters" }, { "prediction": "I think this should be `layouts/visual_website_optimizer.html.erb`", "reference": "Is this where we want it in relation to the other scripts?" }, { "prediction": "This should be `window.ReportingView = countlyView.extend({ featureName:'reports', });`", "reference": "Please wrap this variable within a self invoking anonymous function. (function(){ FEATURE_NAME = \"reports\"; //and rest of the js goes here. })();" }, { "prediction": "I'm not sure this is the right way to do this. I think we need to do this in the `initProcess` function, but I don't think we need to do this in the `cgroupManager.Freeze()` function.", "reference": "Haven't tried, but what happens currently if `-f` is used and it's not running? (thinking: `-f` should ignore the case and just proceed?) I see we have a special case for `all`" }, { "prediction": "I think this should be `const { MongoURIError } = require('../../src/error');` instead of `const { MongoURIError } = require('../../src/error');`", "reference": "no need for custom errors in tests unless the tests are intended to mock a specific sort of error" }, { "prediction": "I think we need to add this to the `NvidiaGPUStatusAnnotationKey` as well.", "reference": "This const has already existed in the code, no need to define a new one" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Would Errorf be better than Warnf?" }, { "prediction": "I think this should be `getAssets().list(path+\"/\"+file)`", "reference": "A good candidate for StringBuilder? Also make sure to add white space around the operators (`path + \"/\" + file`)" }, { "prediction": "I'm not sure if this is the right place to put this method. It's only used in one place, and it's not used in other places.", "reference": "Can we have the same argument order as `getUploadedFlowFile`?" }, { "prediction": "I think this should be `DurationPropertyFnWithTaskQueueInfoFilters` instead of `DurationPropertyFnWithTaskQueueInfoFilters`", "reference": "this dynamic config should still be valid, i.e. operator should have the ability to control each individual task queue just in case" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this, so I'm not sure if this is the right place to do it.", "reference": "Should these cases be logged? `if not obj` used to be" }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like it would be better to put this in `appliances/base/update-apt-keys.rb` rather than in `travis/build/appliances/base/update-apt-keys.rb`.", "reference": "Is it OK to assume that keys.gnupg.net has the new key?" }, { "prediction": "I'm not sure if we should remove this note.", "reference": "A note for however is curious. I think these two notes add negative value only. In general we want people to implement this method (in particular after this patch). If we leave these old (and currently mis-rendered) notes, file system implementors might not implement this method referring to this." }, { "prediction": "I think this test is still failing because `comparator` is not a `SerializableComparator`.", "reference": "Comparators (or functions in general) cannot be compared for equality. Therefore `PriorityQueue.of(comparator,...)` always has to return a new instance." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "It's a little surprising that CachedThreadPool overrides the max_threads argument. This makes sense as a solution though." }, { "prediction": "I think it's better to use `loss.sum() / avg_factor` instead of `loss = loss.sum() / avg_factor`.", "reference": "```python # if avg_factor is not specified, just reduce the loss if avg_factor is None: loss = reduce_loss(loss, reduction) else: # if reduction is mean, then average the loss by avg_factor if reduction =='mean': loss = loss.sum() / avg_factor # if reduction is 'none', then do nothing, otherwise raise an error elif reduction!= 'none': raise ValueError('avg_factor can not be used with reduction=\"sum\"')" }, { "prediction": "Why do we need to specify `bias=False` here?", "reference": "`padding` should be 0 instead. Actually you can just remove padding and dilation to use default values." }, { "prediction": "Why did you change this?", "reference": "$balance is initialized to 0 above in line 1428 and then assigned in line 1437. If we're no longer manipulating that value, is there a reason to use a variable at all? It might make the overall code less confusing to make some changes there." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "Why do we need to explicitly use keyword arguments?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Might still want to log this as `TargetBuilding` but with a slightly different message?" }, { "prediction": "`std::move` doesn't do that.", "reference": "ref. above, this also can be omitted in case `txt = std::move(other.txt);` could work (or copy), consider `std::array;`? or a custom object implementing `Object& operator=(Object&&) noexcept;'" }, { "prediction": "I think this should be `nodes` instead of `node_classes`.", "reference": "Well done, we forget that one apparentely." }, { "prediction": "I think this function should be renamed to `array_to_array` or something similar.", "reference": "Guess it isn't used. The dask thing was just a prototype so removing it is probably the right thing to do." }, { "prediction": "I'm not sure this is a good idea, but I think it would be better to use `os.path.join` instead of `os.path.join`.", "reference": "This code is correct, but it's a bit confusing to see how (e.g., without the if startswith(\".') the or below would break.) I think it will be clearer for the long run if you refactor this just a bit. CONTENT_INDEX_EXTS (all caps) looks like a constant, but is now being set by the environment. Instead, replace the reference to CONTENT_INDEX_EXTS in index.py with a simple call to a method \"get_content_index_exts\" (or similar). Then you can write all the logic into one clean function." }, { "prediction": "I don't think we need this?", "reference": "please update the zms conf file to have a small description of these options since by default feature is off and must be enabled" }, { "prediction": "`lazy` and `waitForThumbnailsBeforeUpload` are mutually exclusive. Please ensure at most one of them is set to `true`.` `waitForThumbnailsBeforeUpload` and `waitForThumbnailsBeforeUpload` are mutually exclusive. `lazy` and `waitForThumbnailsBeforeUpload` are mutually exclusive. `waitForThumbnailsBeforeUpload` and `waitForThumbnailsBeforeUpload` are mutually exclusive. `waitForThumbnailsBeforeUpload` and `waitForThumbnailsBeforeUpload` are mutually exclusive. `waitForThumbnailsBeforeUpload` and `waitForThumbnailsBeforeUpload` are mutually exclusive. `waitForThumbnailsBeforeUpload` and `waitForThumbnailsBeforeUpload` are mutually exclusive. `waitForThumbnailsBeforeUpload` and `waitForThumbnailsBeforeUpload` are mutually exclusive. `waitForThumbnailsBeforeUpload` and `waitForThumbnailsBeforeUpload` are mutually exclusive. `waitForThumbnailsBeforeUpload` and `waitForThumbnailsBeforeUpload` are mutually exclusive. `waitForThumbnailsBeforeUpload` and `waitForThumbnailsBeforeUpload` are mutually exclusive. `waitForThumbnailsBeforeUpload` and `waitForThumbnailsBeforeUpload` are mutually exclusive.", "reference": "Should be `this.opts` instead of `defaultOptions`" }, { "prediction": "I think this should be `dist-tags`, not `users`.", "reference": "You can reuse `USERS` above as well." }, { "prediction": "I'm not sure this is the right place to remove this check.", "reference": "Whoa, was this opto breaking something? I guess if this final path is filtered out, we still need the queue? Have you run the suggest benchmarks to see if removing this opto hurt performance?" }, { "prediction": "I'm not sure this is the right thing to do here, but I think it would be better to just return `Seq.ofAll(iterable)` instead of `Seq.ofAll(iterable)`", "reference": "I'm not sure about this, please check the usages. It's only used currently to reverse it, maybe we should eliminate this method completely instead." }, { "prediction": "I'm not sure if this is the right place to put this method, but I think it would be better to move this method to `AccountCapabilities` class.", "reference": "Since this is only used in the MyResearchController, does it need to be placed at the AbstractBase level?" }, { "prediction": "I'm not sure this is the right value for this field. I think it should be `Optional[string]string`.", "reference": "why `PhaseSelector`?" }, { "prediction": "I'm not sure if this should be removed.", "reference": "Does` AllowlistedModules` have the same meaning of `WhitelistedModules`?" }, { "prediction": "I think this should be `list` instead of `list`", "reference": "I missed the $preserve_keys=true case when adding this to Phan. For psalm, two separate signatures may make sense" }, { "prediction": "I don't think this is needed.", "reference": "TcpServer will be created for each HighwayServerVerticle instance so the counter number in server is not correct." }, { "prediction": "I don't think this is the right place to do this.", "reference": "Why change this from a foreach? I can't see it gaining anything here and code styles shouldn't change just for the sake of it." }, { "prediction": "I think this should be `if len(subsystem) == 0`", "reference": "I'd say \"cgroup2 hybrid path\" instead." }, { "prediction": "Use the new Ruby 1.9 hash syntax.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "I dont see a reason to print URI for `Target`. we do not expose that in inventory v1" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "Do we still need this?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's the right place to put it.", "reference": "`campaignSource` is unused (from `structcheck`)" }, { "prediction": "I think this should be `AssertJErrorProver`", "reference": "we should discuss how to not hard-code this version" }, { "prediction": "I'm not sure if this is the right thing to do, but it seems like it should be `resumeAfter` and not `startAtOperationTime`.", "reference": "do we have a doclet for this event?" }, { "prediction": "I'm not sure why this is needed.", "reference": "Why don't we want to catch segfaults by default?" }, { "prediction": "I'm not sure if we should be suppressing this, but I'm not sure if we should be suppressing this.", "reference": "You could probably dispose request & content if you `await` the SendAsync." }, { "prediction": "I think this should be `self.to_html(sep=None)`.", "reference": "why is this test case here? this file is for testing functionalities in utils.py" }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better if we called `sign_in` before `sign_out` so that we don't have to worry about race conditions in the future.", "reference": "why do we have an env var for this? not sure why we'd want to suppress welcome emails but not any others" }, { "prediction": "Why not just return `&ast.StringExpression{}`?", "reference": "drop the todo?" }, { "prediction": "I'm not sure this is the right place to do this. If the destination zone name is \"NONE\" then the open state will be set to \"NONE\" and the open state will be set to \"OPEN\". I'm not sure if this is the right place to do this.", "reference": "Maybe use { } here like we are most other places now." }, { "prediction": "I think this should be `PartitionType.getType()` instead of `PartitionType.getType()`.", "reference": "I want to get PartitionData field type, I don't know how to get it in other way." }, { "prediction": "I don't think we should load the creatable from the database.", "reference": "I think that a single `Get` method would be preferable, that would have the following parameters: Get(addr basics.Address, withPendingRewards bool, cidx basics.CreatableIndex, ctype basics.CreatableType) where we ignore cidx of -1, and adding support for ctype of \"AssetParams\" or something like that. (i.e. so that this Get call would be good for asset holding/asset params and applications )" }, { "prediction": "I don't understand why this change is needed.", "reference": "This can handle the '\\\\' problem, but if (not possible) the user define '\\\\' as null, this logic will break. So here, it should be to compare the whole HIVE_DEFAULT_NULL_STRING, and make sure length is equal, as I understand. \\N is NULL, but \\NA is not NULL, what will happen if there is \\NAA?" }, { "prediction": "Metrics/CyclomaticComplexity: Cyclomatic complexity for can_destroy! is too high. [7/6]
    Metrics/PerceivedComplexity: Perceived complexity for can_destroy! is too high. [10/7]
    Metrics/PerceivedComplexity: Perceived complexity for can_destroy! is too high. [10/7]
    Metrics/PerceivedComplexity: Perceived complexity for can_destroy! is too high. [10/7]
    Metrics/PerceivedComplexity: Perceived complexity for can_destroy! is too high. [10/7]
    Metrics/PerceivedComplexity: Perceived complexity for can_destroy! is too high. [10/7]
    Metrics/PerceivedComplexity: Perceived complexity for can_destroy! is too high. [10/7]
    Metrics/PerceivedComplexity: Perceived complexity for can_destroy! is too high. [10/7]
    Metrics/PerceivedComplexity: Perceived complexity for can_destroy! is too high. [10/7]
    Metrics/PerceivedComplexity: Perceived", "reference": "Hmm, I would think that anyone who can edit the request should be able to delete the observation, in case they accidentally add the wrong person or something." }, { "prediction": "Line is too long. [83/80]
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "I know we are doing this other places already. It would be good to refactor this and the paginable publicly_visible so that we are DRY. Can wait until after MVP though when we do general cleanup" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "I think this should read \"is always observed before\" or \"is never observed after\"." }, { "prediction": "I don't think we should change this file.", "reference": "You might consider adding yourself as an author of the class." }, { "prediction": "I'm not sure this is correct. The `STDERR_FILE` is a `std::map`, and `STDERR_FILE` is a `std::map`, and `STDERR_FILE` is a `std::map`, and `STDERR_FILE` is a `std::map`, and `STDERR_FILE` is a `std::map`, and `STDERR_FILE` is a `std::string`, and `STDERR_FILE` is a `std::string`, and `STDERR_FILE` is a `std::string`, and `STDERR_FILE` is a `std::string`, and `STDERR_FILE` is a `std::string`, and `STDERR_FILE` is a `std::string`, and `STDERR_FILE` is a `std::string`, and `STDERR_FILE` is a `std::string`, and `STDERR_FILE` is a `std::string`, and `STDERR_FILE", "reference": "If this fails, then'stderr' is not a valid file handler anymore, and then any further 'write' operations will fail. Maybe some handling of such situation should be added here?" }, { "prediction": "Can we use a constant here?", "reference": "Break out tests for events into their own tests rather than placing them in other ones. That makes it easier for us to figure out where problems lie and to do a TDD-driven implementation over new APIs." }, { "prediction": "I'm not sure if this is the right fix. If DHCPRevOptions[o][1] is None, then DHCPRevOptions[o][1] is not None, so DHCPRevOptions[o][1] is not None.", "reference": "I think your indentation is wrong here." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to have this as a `map[string]set.Set` rather than a `map[string]set.Set`", "reference": "UT spotted that we weren't marking routes dirty when they targeted at Node and that node's IP changed. e.g., the case where a WEP appears in the syncer before the corresponding node does, so we don't know the node's IP. I added a new map to track the CIDRs for each node so that when the node IP changes we can mark those CIDRs dirty. Right now it's only used for the \"WorkloadIPs\" scenario. Need to decide if the same issue applies in the \"CalicoIPAM' case. I suspect it might. It looks like we have some logic present to detect when our own node IP changes, but we don't seem to handle when a remote node's IP changes." }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if this is the right fix. I'm not sure if this is the right fix, or if it's the right fix, or if it's the right fix, or if it's the right one, but I'm not sure if it's the right fix.", "reference": "Given this will 'pause' bolt for a few seconds on older rubies, perhaps emit a debug message saying \"Warming up OpenSSL\" or something to that effect" }, { "prediction": "I'm not sure this is the right place for this. I think it should be `self._format = None` or `self._format.set_format(self._package.format)`", "reference": "Initializing _format to None, but asserting that it's not None later, seems unnecessarily fragile. We shouldn't architect the package class to rely on classes or methods that use it (e.g., build). Let's at least set the format to the default in case we don't create all packages through build.py." }, { "prediction": "`T extends WebElement` should be `T extends WebElement`.", "reference": "This change should also probably go into the corresponding method of the abstract By class?" }, { "prediction": "I think this should be `CodeIssue` instead of `UnresolvableConstant`.", "reference": "Should this be set to something else?" }, { "prediction": "Please undo this change.", "reference": "Whats up with this? It looks like this is rendered on purchases/new for subscribers, so it would result in a dead end?" }, { "prediction": "`backend` should be passed to `set_ids` instead of `backend=None`.", "reference": "Glad to see this generalized to support the backend argument." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "`ctx` is unused in ListDeploymentChains" }, { "prediction": "`%w` should be `(%w, e.LogPersister.GetReadOnly(ctx, e.LogPersister))`", "reference": "I'd say the format like `\"xxx: %w\"` is more convention when wrapping an error basically. You refered to anything like this?" }, { "prediction": "I think this should be `time.Minute * 5` instead of `time.Minute * 1`", "reference": "This seems relatively high, is it the recommended value from the etcd folks? Or is this debugging cruft?" }, { "prediction": "I'm not sure if this is the right place to put this, but I think it's better to keep the `peerTrackerAttestor` as a `PeerTrackerAttestor`.", "reference": "This requires updating the name in the `endpoints` tests, please run `make test`." }, { "prediction": "Should this be `EXIT_SUCCESS` or `EXIT_FAILURE`?", "reference": "LOG(FATAL) means coredump, LOG(ERROR) is better here." }, { "prediction": "I think this should be `{name: string, handle: string}`", "reference": "/javascript/firefox-driver is the Selenium implementation of a WebDriver for Firefox. Since it generally isn't W3C compatible, it shouldn't change. We can just drop this change." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "It's a bit weird to have `svc.go` to include a `ScheduledJobType`...should we rename this file?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "For some reason `protoc` doesn't copy license header from `proto` files to generated code. But this code will never be checked in, so it is ok." }, { "prediction": "I don't think this is the right fix. The pumpId should be the pumpId of the tempBasal, not the pumpId of the tempBasal. The pumpId of the tempBasal should be the current pumpId of the tempBasal. The pumpId of the tempBasal should be the current pumpId of the tempBasal. The pumpId of the tempBasal should be the current pumpId of the tempBasal. The pumpId of the tempBasal should be the current pumpId of the tempBasal. The pumpId of the tempBasal should be the current pumpId of the tempBasal.", "reference": "I don't know what the implications of this change are for pumps other than the insight but i would add `|| trList2.get(0).pumpId == temporaryBasal.pumpId` in case we see the same pump event again, in order to not duplicate it in the database." }, { "prediction": "Why is this needed?", "reference": "is there anything still referencing `checksumAddress` or can we just delete it?" }, { "prediction": "I think this should be `RequirementsMetCondition, hivev1.DNSReadyCondition, hivev1.InstallLaunchErrorCondition, hivev1.ProvisionFailedCondition, hivev1.DNSNotReadyCondition, hivev1.RequirementsMetCondition, hivev1.DNSNotReadyCondition, hivev1.InstallLaunchErrorCondition, hivev1.ProvisionFailedCondition, hivev1.DNSNotReadyCondition, hivev1.RequirementsMetCondition, hivev1.DNSNotReadyCondition, hivev1.RequirementsMetCondition, hivev1.DNSNotReadyCondition, hivev1.InstallLaunchErrorCondition, hivev1.ProvisionFailedCondition, hivev1.DNSNotReadyCondition, hivev1.RequirementsMetCondition, hivev1.DNSNotReadyCondition, hivev1.RequirementsMetCondition, hivev1.DNSNotReadyCondition, hivev1.RequirementsMetCondition, hivev1.DNSNotReadyCondition, hivev1.InstallLaunchErrorCondition, hivev1.ProvisionFailedCondition, hivev1.DNSNotReadyCondition, hivev1.RequirementsMetCondition, hivev1.DNSNotReadyCondition, hivev1.RequirementsMetCondition, hivev1.DNSNotReadyCondition, hivev1.InstallLaunchErrorCondition, hivev1.ProvisionFailedCondition, hivev1.DNSNotReadyCondition, hivev1.Requirements", "reference": "The reason I didn't suggest it before is because I didn't want alerts for every tried - but not updated provision, but I can see a value in it from OSD perspective" }, { "prediction": "Should this be `%r{.*}` instead of `%r{.*}`?", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I'm not sure if this is the right place to do this. I think it would be better to do this in the `beforeGets` function, rather than in the `afterGets` function.", "reference": "I believe Key is not necessarily nil, it could be empty string. Probably better check a.Kind == Create" }, { "prediction": "I don't think we need to pass `CancellationToken` here.", "reference": "This is only used for headers and therefore isn't used." }, { "prediction": "I'm not sure if this is the right thing to do, but I think it would be nice to have a flag that indicates whether or not this command is running (i.e. `--skip-import`) rather than having a flag that indicates whether or not this command is running (i.e. `--skip-import`)", "reference": "Wouldn't it make sense to add a files_import_command and a db_import_command, which could be empty? I guess that leads to potential backward-compatibility problems, but it's worth thinking about. Perhaps add an import-api version to solve that? Overall, I think the actual db import logic and files import logic should be moved into the yaml file. What you you think of that?" }, { "prediction": "This file is autogenerated via the builtin command.", "reference": "Why do we have this here? I'm not concerned about it really, just curious." }, { "prediction": "Why did you change this?", "reference": "@justicz Why are these switched here?" }, { "prediction": "I don't think we should include theFAQ header here.", "reference": "Maybe verify that an anchor was created -- that the markdown was processed?" }, { "prediction": "This is a breaking change.", "reference": "Is this just a minor improvement or is it necessary? If just some minor improvement, I recommend you don't touch Lucene in a Solr PR." }, { "prediction": "I don't think this method is used anymore.", "reference": "why delete this method?" }, { "prediction": "I don't think we should add language-specific imports to the type table.", "reference": "Does this transform only the `MethodContext`, or also the `OutputContext`? (Looking at the other files, I gather it's the latter.) Might be helpful to mention that here." }, { "prediction": "This import is not needed.", "reference": "Could you please clean-up this line while at it?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "no need to use a pointer. Just string and check for!= \"\"" }, { "prediction": "I don't think we need to set `useAlpn` here.", "reference": "this means h2 mode? but how h2c can work?" }, { "prediction": "This file should be renamed to `appModules/explorer.py`", "reference": "This line should not be there" }, { "prediction": "I'm not sure this is the right place to put this lock. I'm not sure if this is the right place to put this lock.", "reference": "why do we need lock here? if needed, then we also need to lock in Start()?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "this should be on default-switch, uhm? else you will handle twice (c++ and lua). I'm just saying..." }, { "prediction": "I don't think we need to remove the `//` at the end of the line.", "reference": "unrelated minor fix" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if `npm config set spin false` is the right thing to do, but if it's the right thing to do, I think it should be `npm config set spin false, echo: false if npm_should_disable_strict_ssl?`.", "reference": "can you add `, echo: false` to the end of this as well. I don't think we need to echo this to the log. You might need to update the spec as well." }, { "prediction": "I'm not sure this is the right way to test this.", "reference": "This test does not really verify that we're doing the correct thing now, is it? It seems to pass with and without the patch." }, { "prediction": "why not just `log.Start(ctx, \"Node.AddNewBlock\", b)`?", "reference": "should just be able to defer the call directly here too" }, { "prediction": "I think this should be `1.05` instead of `1.0`.", "reference": "Is this a magic number? I assume this makes it look better." }, { "prediction": "I'm not sure about this change.", "reference": "Would welcome a stringification method on big.Int in specs-actors" }, { "prediction": "Why do we need a pointer here?", "reference": "PersistBlockLevelInfo -> UpdateBlockLevelInfo" }, { "prediction": "Can you add this to the `init.py` file?", "reference": "Type is redundant since it is inherited." }, { "prediction": "I don't think this method is needed.", "reference": "better use `!isView()` so that we don't need to modify multiple lines in future." }, { "prediction": "I'm not sure if this is the right place for this, but I think it would be better to have `@api` be a `attr_reader` and `@world` be a `attr_writer` for shared global objects. This way we don't have to create a new `configuration` object every time we use `@api`.", "reference": "I know you don't usually open up the singleton class, but I was getting a `private method called` error when trying to use `self.attr_writer` - any idea?" }, { "prediction": "I'm not sure if `itemType === 'Studio'` is a valid item type, but if it's a valid item type, then `itemType === 'Studio'` is a valid item type. I'm not sure if it's a valid item type, but if it's a valid item type, then `itemType === 'Studio'` is a valid item type, so `itemType === 'Studio'` is a valid item type, so `itemType === 'Studio'` is a valid item type.", "reference": "There's no need to create a new variable here, the other checks just use the item type directly." }, { "prediction": "Redundant `self` detected.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "Any other possible names? Feels like going with \"workshop\" for this product_type could increase the confusion between course/workshop in the codebase." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "@eugene-manuilov Isn't this already taken care of by `fetchGetURLChannels` via `createFetchStore`? Why is the extra `receiveError` call needed here? (This was already in the IB, but just struck me while reviewing here.)" }, { "prediction": "I'm not sure if we should import googlecloudprofiler from google.cloud.forseti.common.util or google.cloud.forseti.google.common.util.", "reference": "nit: should go before `grpc`?" }, { "prediction": "I'm not sure if we should use `chan struct{}` here.", "reference": "Why not using the Cancel? I thought cancelling a \"parent\" context would cascade to \"children\" contexts, cancelling them as well. In short, how does cancel work?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure it's the right thing to do here.", "reference": "Could you explain why we default to binary now? It seems it's safer to default to text to avoid stuff getting executed or parsed by browsers accidentally. If we need to add support for particular types, we can add them explicitly right?" }, { "prediction": "I think this should be `config:\"string;;local,die-on-fail\"`", "reference": "Bit worried about the prefix since this seem to be being used for non-Openstack data too (host endpoints). Should we just leave host endpoint status at the old path (or remove it since AIFAIK, it's not used anywhere)?" }, { "prediction": "I think this should be `(?:(?:([01]?\\\\d|2[0-3]):)?([0-5]?\\\\d)\\\\b`", "reference": "This might be a silly question, but what happens to files with durations > 24 hours?" }, { "prediction": "I think this should be `ActivitySourceAdapterInstrumentation` instead of `InstrumentationFactory`.", "reference": "`AddDiagnosticSourceInstrumentation` method can now be eliminated and simply use `AddInstrumentation`" }, { "prediction": "I think we can remove the `validate` method entirely and just use `Bolt::Project.new(config, pwd).validate`", "reference": "I think we also need to add `name:` to the bolt-project.yaml files in `spec/fixtures/projects`." }, { "prediction": "I'm not sure if this is the right place to call this method.", "reference": "worth mentioning the same warning here as in `md_util.go`, I think." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "Do we need both the checks, for `Items` not nil and `len(Items)`" }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if it's the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "Do you know what this is coming from? It keeps getting deleted/created @nickbristow" }, { "prediction": "I think we should keep these names as they were before.", "reference": "Nit: leaving these in place would have reduce the number of files that this needed to touch, and avoided a possible problem removing public fields. I don't think it's worth blocking for this change, but we like to keep patches as small as possible by not breaking references like these." }, { "prediction": "I think this should be `@trigger_error(sprintf('The %s is deprecated since EasyAdmin 1.x and will be removed in 2.0 veresion. Use persistEntity instead', __METHOD__), E_USER_DEPRECATED);`", "reference": "`The %s is deprecated...` -> `The %s method is deprecated...`" }, { "prediction": "I'm not sure if this is gonna stay, it should move to specs-actors", "reference": "No, it wouldn't go there because that code won't reference or enforce it. Here is ok for now." }, { "prediction": "Why did you change this?", "reference": "How will we show that test run aborted (because of a crash) if we don't set aborted to true?" }, { "prediction": "I don't think we need to make this public. We should be able to use `KestrelMemoryPool.MinimumSegmentSize / 2` instead.", "reference": "Nit: Might as well make this same change to AdaptedPipeline." }, { "prediction": "I don't think this is the right fix. The `withOffsetSameInstant` will always be `null` if `o` is `null` and `withOffsetSameInstant` will always be `null` if `o` is `null`.", "reference": "Just to clarify: I see that only the hive2 withZone object inspector is changed. Does that mean that the predicate pushdown problem only occurred on hive2?" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, but I'm not sure what the best way to do this is.", "reference": "Based on username requirements for forge.puppet.com - only letters and digits permitted." }, { "prediction": "Why is this removed?", "reference": "Was this removed to ignore the extra columns coming from the file projection?" }, { "prediction": "I don't think you need this.", "reference": "Please can you pull out the shared function into a shared file? I think that'd be pretty easy to do for this module. I think you could: - pull out a function `configureSyslog` that is implemented on Linux, but stubbed on Windows - pull out a function `openLogFile` that is implemented differently on each - share everything else" }, { "prediction": "Why not use `AWSEmailProvider`?", "reference": "Instead of hardcoding the AWSEmailProvider here, it should come from properties, so that it can be replaced with another EmailProvider for ZMS vs ZTS" }, { "prediction": "`admin@example.com` should be `admin@example.com`, not `admin@example.com`", "reference": "+1 for creating this script to help people get boot strapped" }, { "prediction": "I'm not sure if this should be prefixed with `preact-` or `preact-numeric`.", "reference": "Do you need the prefix?" }, { "prediction": "I don't think this is the right place to drop the text.", "reference": "if retcode is < 0, it should return -1 indicating an error." }, { "prediction": "I think this should be `suppressed-message` instead of `line-too-long`.", "reference": "Are those necessary? I feel like `useless-suppression` could be avoided here?" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix or if it's the right fix.", "reference": "Is this equivalent in JavaScript?" }, { "prediction": "I'm not sure about this change, but I think it would be better to change the log message to: \"Get Edge Index SpaceID: \" << spaceID << \" Index Name: \" << indexName + \" failed, error: \" << apache::thrift::util::enumNameSafe(retCode); handleErrorCode(retCode); onFinished(); return; \"", "reference": "get/list operation is not schema change, it is supposed to use VLOG" }, { "prediction": "I'm not sure this is the right place to create a span. I'm not sure why we need to create a span here, but I'm not sure if we need to create a span here, or if we need to create a span here.", "reference": "we'll need to delete this whole file, right?" }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure it's worth it.", "reference": "\"this table hasn't mutated within this transaction\" may sound like implying that if this transaction contains table mutation changes, `refresh` may have impact, which I think is not true? I guess what you were saying was if other transactions committed to this table successfully when this transaction is half way through, refresh in this transaction will still return the same state as when this transaction begins." }, { "prediction": "I'm not sure if this is the right key for these annotations.", "reference": "Can we move these into some kind of experimental API group? I don't think we want to call them `v1` just yet :)" }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "I think this makes a lot of sense but we may want to highlight the change for people doing UAT in case the ordering of sections is off anywhere when customizing or using the drag-drop feature" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "These files should in `/javascript/brython`" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to remove the `break` from the `runLoop` call.", "reference": "I'm not sure this is the right fix - I'd be more happy with a `continue`. That way, we don't enter the code at the bottom of the run loop (e.g. sending packets). Keep in mind that this error here may be triggered by a peer doing something security-relevant, so I don't think we should do much more work other than sending the close frame." }, { "prediction": "I think this should be `for(auto&& w : m_weights)`.", "reference": "Can we fix this, or is it going to stay broken." }, { "prediction": "Why is this removed?", "reference": "Is there a reason to remove this attr?" }, { "prediction": "I don't think we need this, we can just use `config.CONFIG.GetValue(\"devicecontroller.message-layer\").ToString()`", "reference": "log message should be started with upper-case word." }, { "prediction": "I'm not sure this is the right default size for this const.", "reference": "I guess this is not needed anymore now?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "I think I would prefer retaining the argument. It's true that we are not using it now, but it's harmless, it's good to have a constructor function that accepts all the field values as arguments. Performance-wise, it does not matter." }, { "prediction": "I think this should be `this.startWorkspace_.setResizesEnabled(true);`", "reference": "Is this a different fix?" }, { "prediction": "I'm not sure this is the right approach. If the user doesn't have an NS, then the process builder will fail. I think this is the right approach.", "reference": "Why not add a `EnterNS` filed instead of `WithoutNS`?" }, { "prediction": "I don't think this is needed.", "reference": "Same points as in other test file." }, { "prediction": "This should be `bool SettingsStruct_tmpl::ApDontForceSetup(bool value)`", "reference": "I have a PR pending, can you change this bit index to `16`?" }, { "prediction": "Why not use `String#indexOf` here?", "reference": "we should probably have some utility class for this sort of things" }, { "prediction": "I'm not sure if this is the right place to put this lint rule.", "reference": "Curious that I'm not seeing any occurrence of the new error check in this file. Why was it disabled?" }, { "prediction": "I think this should be `exists(config)` instead of `exists(config)`", "reference": "does it return something?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if it's the best way to do this.", "reference": "This function is also called in various Site Kit module components, where the error object (here `data`) also needs to be passed, otherwise the link to fix the issue won't appear." }, { "prediction": "I think this should be `GetCurrentRevIdentifier() string` instead of `GetCurrentRevIdentifier() string`.", "reference": "super nit: `revision string` (the passed value might not be a SHA hash)." }, { "prediction": "Why is this private?", "reference": "@snakefoot why is internal needed?" }, { "prediction": "I don't think we need to disable health check here.", "reference": "Why were we disabling health checks before?" }, { "prediction": "I think it would be better to use `os.path.normpath(f)` instead of `os.path.normpath(f)`.", "reference": "did `conftest.py` actually show up for you? `test_files` should never contain it..." }, { "prediction": "I'm not sure this is the right fix. The schema name is reserved name, but the external schema name is not.", "reference": "Should this be a! on line 565? I would have expected the condition to be similar to line 564. If I am wrong please excuse my mistake." }, { "prediction": "I don't think we should add this column to the `FEEDS` table.", "reference": "Please change to `1070400`. I promise to look into this PR in more detail before the 1.7.4 release ;)" }, { "prediction": "`sStruct` and `fStruct` are both `RowType` and `LogicalType`. `sStruct` and `fStruct` are both `RowType` and `LogicalType`. `sStruct` and `flinkFields` are both `RowField` and `LogicalField`. `flinkFields` is `List`. `sStruct` and `flinkFields` are `List`. `flinkFields` is `List`. `flinkTypes` is `List`. `flinkTypes` is `List`. `sStruct` and `flinkFields` are `List`. `flinkTypes` is `List`. `flinkFields` is `List`. `sStruct` and `flinkTypes` are `List`. `flinkFields` is `List`. `flinkTypes` is `List`. `sStruct` and `flinkTypes` are `List`. `flinkFields` is `List` and `flinkTypes`", "reference": "Can we change to use `LogicalType.getChildren`?" }, { "prediction": "Line is too long. [89/80]", "reference": "I'm confused as to how these are both passing." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Prefer single-quoted strings when you don't need string interpolation or special symbols." }, { "prediction": "I think this should be `string[]` instead of `null[]`.", "reference": "there is `\"` sign in commit message and colon. can you rename also `descrition` to plural `descriptions` and add there `$`?" }, { "prediction": "I think this should be `metricsScope.RecordTimer(metrics.ServiceLatencyUserLatency, userLatencyDuration)`", "reference": "timerNoUserLatency is not being used?" }, { "prediction": "`isodate.parse_date(attr)` should be `isinstance(attr, isodate.Date)` instead of `isodate.parse_date(attr)`", "reference": "@lmazuel - I've made a couple of minor changes to serialization.py, if you could do a quick review :) They should not be breaking, and I doubt are used by the existing clients so may not need a new release yet. Effectively it's a change to support default/constant date and datetime values by allowing strings to passed in instead of date or datetime objects. The strings would need to already be in the correct ISO formatting that the request will serialize to. Let me know if you think this is okay." }, { "prediction": "I'm not sure why this change is needed, but I don't think it's necessary.", "reference": "Why change the name in the XML?" }, { "prediction": "I'm not sure if this is the right place to put this logic. I'm not sure if this is the right place to put this logic.", "reference": "This is much cleaner. makes it easier to tell what happens on a save." }, { "prediction": "I'm not sure if this is the right fix for MySQL, but I'm not sure if this is the right fix for MySQL.", "reference": "Could you add return error unsupported operator here" }, { "prediction": "I don't think we need to wildcard imports.", "reference": "(Mhh, we seem to use different formatters - we should unify them. I like the wildcards)" }, { "prediction": "This is a breaking change.", "reference": "Should `kind` be a command line parameter also?" }, { "prediction": "Nitpick: I'm not sure this is the right place to do this. It looks like `AccessList` can be null if `TryGetAccessListItems` returns `null` but `AccessListItemForRpc` can return `null` if `TryGetAccessListItems` returns `null` if `TryGetAccessListItems` returns `null` if `TryGetAccessListItems` returns `null` otherwise `AccessListItemForRpc` can return `null` if `TryGetAccessListItems` returns `null` if `TryGetAccessListItems` returns `null` otherwise `AccessListItemForRpc` can return `null` if `TryGetAccessListItems` returns `null` if `TryGetAccessListItems` returns `null` otherwise `AccessListItemForRpc` can return `null` if `TryGetAccessListItems` returns `null` if `TryGetAccessListItems` returns `null` otherwise `AccessListItemForRpc` can return `null` if `TryGetAccessListItems` returns `null` if `TryGetAccessListItems` returns `null` otherwise `AccessListItemForRpc` can return `null` if `TryGetAccessListItems` returns `null`", "reference": "can we have it inside FromAccessList?" }, { "prediction": "I'm not sure if this is a good name. I think it would be better to have a `errorString` or `errorError` or something like that.", "reference": "Why not embed filterASCII in this function?" }, { "prediction": "I don't think this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "I am curious, shouldn't \"currentContinuousFlowProcessed++;\" be added right after line 1873? otherwise we will count 1 extra when a exflow wakes up from the sleep section,.even though it hasn't been assigned" }, { "prediction": "I'm not sure why this is needed.", "reference": "You can probably move this up after the `._Numeric` line." }, { "prediction": "I think this should be `super(SGEJobTask, self).__init__(*args, **kwargs)` instead of `super(SGEJobTask, self).__init__(*args, **kwargs)`.", "reference": "@Tarrasch this is another change you need to pay attention, it seems `SGEJobTask` is not calling `super.__init__` which break the test case some how." }, { "prediction": "Rails/InverseOf: Specify an :inverse_of option.", "reference": "Do we need indices for this table?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "what about making this function static inline to avoid the extra declaration?" }, { "prediction": "I think this should be `type GroupIDType = uint32`", "reference": "I forget the difference between type definition with \"=\" and without \"=\" again, but can we unify the style? I believe the difference doesn't apply to TableIDType and GroupIDType whatever it is?" }, { "prediction": "I'm not sure about this change. The default value of `0.0` is 1.0, which is the default value of `contractor_config.core_factor`, which is the default value of `0.0` by default.", "reference": "would be `DEPRECATED Percentage of the graph (in vertices) to contract [0..1]` better?" }, { "prediction": "I think it would be better to use the constants defined in the `DriverCommand` interface instead of hardcoding them.", "reference": "These command names are specific to Chromium-based browsers. Please move to `ChromiumDriverCommand`" }, { "prediction": "I'm not sure if this is the right place to initialize `tags` to `null`.", "reference": "if we won't use, should we remove this?" }, { "prediction": "I don't think this is the right place to put this in. It's not used anywhere else in this PR, but it's a good place to put it in.", "reference": "Having 2 items with the same key (Mvx) won't work in a dictionary" }, { "prediction": "I'm not sure if this is the right place to put this logic. I think it should be in the coupon controller, not in the application controller.", "reference": "@cpytel how does the flow work right now? I expect to go to the sign up as customer page after putting in my code, but it goes to the longer landing page?" }, { "prediction": "I think this should be \"Message from server\" instead of \"Message from server\".", "reference": "`event_msg` has the same size (1024) as a `message`. Maybe should be increased to 2048 instead? Then this `\"[error] %.512s\", message` could be changed to this: `\"[error] %.*s\", sizeof(message), message`" }, { "prediction": "I don't think this interface is used anywhere.", "reference": "Nit: unnecessary whitespace change." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Hit a flake here where I think there may have been some output to stderr that got mixed in with the output from Stdout. Hence switching to `Output()`, which does also capture stderr as `err.Stderr`" }, { "prediction": "Please add a space before the `}`.", "reference": "I would use static_cast(0) and static_cast(m_num_labels) just in case." }, { "prediction": "I don't think this is the right place to put this method.", "reference": "Even if we want to keep in original case - domain will be lower-cased." }, { "prediction": "Should we rename this to `body_html_tril_html`?", "reference": "Based on discussion with Chad it feels like trail_map_json could be a good column name." }, { "prediction": "I don't think this is the right translation.", "reference": "This array should be logic-less, just the language string (without `Lang::get()`) should appear. Then `trans()` is [or should be] used when the balloon selector renders the values." }, { "prediction": "Puppet doesn't have a `Gemfile` constant, so you can't use `/opt/puppet/share/puppet-dashboard/Gemfile` here.", "reference": "This looks like it runs both pre 3.0 rake tasks and 3 rake tasks, and since pre 3.0 we didn't use bundler, my guess is it will fail then." }, { "prediction": "I think this should be `strings.ContainsRune(allowed, c.Rune)`", "reference": "I'm not sure the replacement is a good idea, and as I said in #336, this \"parent-name.scope\" is not a good idea in the first place, specially when we support assigning a slice as the parent, so we should change this, WDYT?" }, { "prediction": "Why do we need to commit here?", "reference": "sloppyReassign: re-assignment to `err` can be replaced with `err := kv.WriteBatch(batchForBlock)` (from `gocritic`)" }, { "prediction": "I'm not sure if this is the right place to put this. It seems to me that the `sendPart` method is called before the `sendPart` method is called. I'm not sure if this is the right place to put this.", "reference": "using factory method. return CompletableFuture.completedFuture" }, { "prediction": "I don't think we need the service name here.", "reference": "The `_x` function needs to be imported at the top of the file (in addition to `__`)" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure what the motivation for this change is.", "reference": "this looks like the only controversial change potentially. @MatthewHinton56 Could let us know why you made this change (which `go vet` warning was triggered)? @wenyingd could you take a look and let us know if you're okay with this change?" }, { "prediction": "Why is this needed?", "reference": "This seems like left-over debugging code. I think I fixed this to no longer be necessary, switching to UserControl for the designer." }, { "prediction": "I don't think this is needed.", "reference": "As we're currently not applying any logic in the proxy listener, I guess we can simply remove this file (and remove the `listener` argument from the `register_plugin(..)` call above)." }, { "prediction": "I think this should be `time.UtcNow()` instead of `time.Now().Unix()`", "reference": "Isn't the point of the clock module to encapsulate access to `time.Now()`? Coming later?" }, { "prediction": "I think this should be configurable by the `consensusTestFastUpgrade(proto)` function.", "reference": "as before - if you've set this, you should be able to get rid of the `os.Setenv(\"ALGOSMALLLAMBDAMSEC\", \"500\")`. make sure that the various tests still takes have the same execution time." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, or if it's safe to retry, etc.", "reference": "Pretty sure the single quotes here should be double quotes, single quotes are not expanded by the shell." }, { "prediction": "I'm not sure why this test is failing. I'm not sure why it's failing.", "reference": "these are not really constants, right?" }, { "prediction": "I think this should be `from boto.compat import six`", "reference": "import below copyright statement" }, { "prediction": "Line is too long. [89/80]", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "This should be `string|array|Markup`", "reference": "`if (is_string($value) && $this->getDefinition()->get('allow_html')) {`" }, { "prediction": "Nit: `{nameof(key)} must not be null`", "reference": "I think we have the same problem here - if folks called the `public void Add` with a `null` key, we need to use `Guard`." }, { "prediction": "I'm not sure this is the right place to put this. I don't think it's a good idea to put this in a cpp file.", "reference": "I thought that the main was in catch_qt.cpp?" }, { "prediction": "I don't thinkPACKAGING is used anymore.", "reference": "I would rename the field to IMAGE_TYPES and make it an array. I don't think we need list operations. Also, if possible, I would move the field to the ApiFields class. What do you think?" }, { "prediction": "I'm not sure this is the right assertion. It seems like it should be `assert.NotEmpty(t, apicontainerstatus.ManagedAgentRunning, \"expected managedAgent container state change event did not match actual event\")`", "reference": "I'd prefer to timeout on this, but I know it's not a pattern that is being followed" }, { "prediction": "Please use `import org.apache.lucene.util.*;`", "reference": "hmm let's not use * imports please" }, { "prediction": "I don't think we need this.", "reference": "is this configuration key already exist in prometheus?" }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "As @gravitystorm said new tests need to be using factories, not fixtures." }, { "prediction": "I think this should be `cmdProcessor_->getSpaceName()` instead of `cmdProcessor_->getSpaceName().c_str()`", "reference": "You can replace IP by hostname." }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix, but it seems to be the right fix.", "reference": "This should say \"why\" NVDA should do things in this order." }, { "prediction": "This change is unrelated to this PR, but should be reverted.", "reference": "nit these will get changed back during next release." }, { "prediction": "I don't think this is needed.", "reference": "it is actually not needed to make the member public. the build tags can also set a package scoped variable." }, { "prediction": "This should be `$this->contentExtension->getIcon($content)`", "reference": "We already have a method for it 'icon' => $content->getIcon()" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Instead of importing `golang.org/x/net/context` The SDK should use `aws.BackgroundContext()` instead of `context.Background()`" }, { "prediction": "I think this should be `findBy(array('id' => $id))`", "reference": "I think this is an agnostic change for the ORM right? Why was it doing this? - this does not work on PHPCR-ODM as the `id` is not a field - although I guess it could be mapped as such." }, { "prediction": "I think we should be able to do `Topic.where(topic_id: params[:topic_id])` instead of `Topic.all`.", "reference": "I'm not 100% sure, but I think this should be `explorable`. If not, I think `explorable` can be removed entirely." }, { "prediction": "I think this should be `if six.PY3: sys.stderr.write(data.decode('utf8'))` instead of `if six.PY3: sys.stderr.write(data.decode('utf8'))`", "reference": "Note to self: Why was this not originally not using `stderrbytes`?" }, { "prediction": "I think this should be `LOG_IF(WARNING, status < 0)` instead of `LOG_IF(WARNING, status < 0)`", "reference": "Is betterLOG_IF(ERROR, status!= 0)?" }, { "prediction": "I think this should be `self.bucket = 'default'`, not `self.collection = 'default'`.", "reference": "I wouldn't call it default too." }, { "prediction": "I don't think this is needed.", "reference": "Why disable the rule for this file?" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `ctaLinkExternal` prop that defaults to `true` if `ctaLinkExternal` is set to `true`.", "reference": "Thanks for adding this :+1:. Could you please move it to go after the `ctaLink` prop?" }, { "prediction": "I don't think we need to do this. `Current` is a `IEnumerator`, and `IEnumerator` is a `IEnumerator`, so `Current` can't be `null`.", "reference": "The other way around Current can be null." }, { "prediction": "I don't think this is a good idea. The `mail_templates` menu is used to show the templates for all email templates. The `mail_edit` menu is used to show the templates for all email templates. The `mail_templates` menu is used to show the templates for all email templates.", "reference": "why does it have to be here? Due to breadcrumb navigation?" }, { "prediction": "I think we can remove this TODO.", "reference": "I fear moving this to some common func. We are swallowing the error here. This might be ok in UT but not in actual source code." }, { "prediction": "I'm not sure this is the right test.", "reference": "Please don't use \\ as a line continuation. Do an implicit string join instead with parens: ``` (\"Message...\" \"and...\")" }, { "prediction": "Why did you remove this?", "reference": "there needs to be a change here. setting up the batchstore with localstore.Unreserve hook" }, { "prediction": "I think this should be `setConfigs(Map config)` instead of `setConfigs(Map config)`", "reference": "I think if we can provide a more convenient method to add configs. e.g. public static void addConfig(String k, Object v)" }, { "prediction": "why did you change this?", "reference": "line is 165 characters" }, { "prediction": "This class is not used.", "reference": "Please add a copyright notice. Also, could you tell me please why do we need this empty provider here?" }, { "prediction": "I don't think this is the right place to put this check.", "reference": "I feel like this would be easier to read if we join the two if's together: `if (maybePrivacyGroup.isEmpty() &&!privacyController.isGroupAdditionTransaction(privateTransaction))`" }, { "prediction": "Please revert this change.", "reference": "Tests are failing because the exception type is NullPointException here if the soupBlob is deleted (so instead of a mal-format json, it's a null)" }, { "prediction": "I'm not sure this is the right place to remove the `break` statement.", "reference": "Glad we fixed this as well. Blockly is going to be left as-is for this case, right?" }, { "prediction": "Why is this removed?", "reference": "I had accidentally deprecated this class. This is meant to stick around. Only `SalesforceObjectType` goes away." }, { "prediction": "I think this should be `s.rstrip('0x')` instead of `s.lstrip('0x')`.", "reference": "`hex(i)[2:]` is trying to do the same thing above. what is `i` in your malformed case?" }, { "prediction": "I don't think this is the right place to put this method.", "reference": "I think this change is redundant; see the previously defined method \"writeUnescapedXML\"." }, { "prediction": "I don't think this is a good place to put this. It's not used anywhere, but it's a good place to put it.", "reference": "Ah now I have at least some idea what these are for." }, { "prediction": "I don't think we need this change.", "reference": "I believe in previous PRs @mccheah frequently used `fileSchema` -> `newFileSchema` type of renames to avoid hiding fields in builders. Would it make sense to make it consistent?" }, { "prediction": "I'm not sure if this is the right place to put this code.", "reference": "Do we really need separate error in manager if utils.ErrRequestCancelled is the only error which indicates cancelation?" }, { "prediction": "I think this should be `tm.cpp` instead of `tm_cpp`", "reference": "Leave as `cpp` since that still gives better results." }, { "prediction": "I'm not sure if this is the right place to put this function.", "reference": "temp change so the predicate can be used by the `exp` package" }, { "prediction": "I think this should be `if self.vkCode in self.TOGGLE_KEYS:` instead of `if self.vkCode in self.TOGGLE_KEYS:`", "reference": "Just as a tiny clarification, this isn't affected in any way by \"speak typed characters\". That is, \"caps lock on\", etc. is always spoken, even if speak typed characters is off." }, { "prediction": "I think this should be `config/manager/service.yaml` instead of `config/clusterimagesets/openshift-4.0-latest.yaml`", "reference": "@dgoodwin Will it cause an issue when the issue get fixed in OLM?" }, { "prediction": "I'm not sure this is the right value for this. I'm not sure if it's the right value for this.", "reference": "This option is now unnecessary" }, { "prediction": "Why was this removed?", "reference": "Don't jump down to the unexported interface: just set the content type to `\"application/octet-stream\"` explicitly when creating the `Writer`." }, { "prediction": "I'm not sure this is the right place to do this. The `bytesUsed` is a AtomicLong, and the `deleteTerms` is a List. I'm not sure if this is the right place to do it, but I'm not sure.", "reference": "Instead of counting this here on clear, can we use a second counter for the deleteTerms next to `bytesUsed`? This would be great. It doesn't need to be thread safe IMO" }, { "prediction": "Why do we need to change the validation rules?", "reference": "@daftspunk @bennothommo I wonder if we need to go as deep as detecting what the default varchar length is with a special character to be parsed by the validation trait since we've introduced the config for it." }, { "prediction": "`keys.then(keys => keys.join(''))` is the same as `keys.join('')`", "reference": "Also update line 2205 below" }, { "prediction": "I'm not sure this is the right state for this. It's the first time an attachment is attached to the conversation, not the first time an attachment is attached to the conversation.", "reference": "Typo, should read `firstTimeEmptySubject`" }, { "prediction": "This is a unary request, not a unary request.", "reference": "The more I see this the more I think the transport layer _should_ actually refer to this as `UnaryHandler`." }, { "prediction": "I think this should be `raise` instead of `raise`", "reference": "The `warn` message here seems to indicate that the forced closure of the SSH connection should raise an error; is that getting swallowed up somewhere and not raising?" }, { "prediction": "I'm not sure if this is the right place to set this, but I'm not sure if this is the right place to set it, so I'm not sure if this is the right place to set it.", "reference": "I wonder if this is a fitting name. Why \"expands user\"? Wouldn't be `user_expanded` or so be more fitting?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "I see what you are doing here, but to stay with the `getter/setter` pattern, should we introduce `set isHidden(value)` & `get isHidden()` which them maintains `_isHidden` with in `vNodeCache`. This will avoid what looks like accessing an internal property like `_isHidden` from `axe.utils.isHidden` & keeps things neat." }, { "prediction": "I think it would be better to have this in a separate file, so that we don't have to repeat the same name twice.", "reference": "nit: for consistency, have this line and the previous formatted similarly" }, { "prediction": "I think we should rename this to orionKeyStorePasswordFile orionClientWhitelistFile", "reference": "As before, shouldn't mention these as being orion options I don't think. Perhaps just enclaveKeyStoreFile etc." }, { "prediction": "I'm not sure if this is the right place to remove this.", "reference": "What's the thinking here? Only logging when the test has not ended yet?" }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if this is the right place to put this in.", "reference": "@HyukjinKwon @ueshin (cc @itholic @charlesdong1991 ) Not sure if this is the right implementation..." }, { "prediction": "I don't think we need to catch `URL malformed` here.", "reference": "Do we want to add any specific error on how the url is malformed?" }, { "prediction": "I'm not sure this is the right fix. If the logIdToSend_ is incremented, then the next call to `appendLogsInternal` will not be necessary.", "reference": "why NOT self->lastLogIdSent_ = self->logIdToSend_" }, { "prediction": "I'm not sure if this is the right way to do this.", "reference": "Shouldn't this be in the above `if` block where we are setting the installedtimestamp to ensure this only happens for already installed (and/or adopted) clusters?" }, { "prediction": "I think this should be `background=True` instead of `background=False`.", "reference": "This seems like another unrelated change I've done in `master`." }, { "prediction": "I'm not sure this is the right context for this test. I'm not sure if this is the right context for this test.", "reference": "Would be good to have another context `\"when a duplicate formatter exists for a different output target\"` that shows that it keeps both. As this stands, the specs could pass w/o the `formatter.output == new_formatter.output` check." }, { "prediction": "I'm not sure this is the right way to do this, but it looks like the `impl_access_error()` method is being called in `Kokkos::Experimental::SYCLDeviceUSMSpace::impl_access_error()`.", "reference": "Why not just remove? The CUDA one has been around for while. This one has not been part of any release (?)" }, { "prediction": "`boolean mFirstContentfulPaint` and `boolean mFirstContentFulPaint` should be renamed to `boolean mIsFirstActivation`.", "reference": "nit: `Contentful` is the word used in the GV API, without the uppercase in F" }, { "prediction": "I don't think this is the right place to do this, but I think it would be better to use `LOGGER.error(String, Object...)` instead of `LOGGER.error(String, Object...)`", "reference": "It just does the check, maybe we can name it as checkOperations." }, { "prediction": "I'm not sure why this change is needed.", "reference": "We no longer have karma output in the test file so these selectors were now unique and the target didn't need a child selector. Updated to force non-unique nodes" }, { "prediction": "I'm not sure if this is the right place to put this conditional. I think it would be better to put this conditional in a helper method.", "reference": "This moved from a partial to not being in a partial. How about cleaning this view up further by moving it back into a partial?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "add some form of docs in docstring or on :74 for what the effect is" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Couldn't you import `json` from `kinto.core.utils` here too?" }, { "prediction": "Is there a reason we don't use `ENV[\"DISABLE_SANDBOX_WARNING\"] = 'true'` here?", "reference": "Minor: Hmmm...is it worth setting this explicitly for the tests that it affects?" }, { "prediction": "Why was this removed?", "reference": "This was added to fix a race condition and you are reverting it here, right?" }, { "prediction": "I don't think we need to check this, since we're running in --chaindata mode.", "reference": "Could you add some extra text here, so that it reads \"eth_coinbase function is not available, please use --private.api.addr option instead of --chaindata option\", so that it is clear that the function can work, but different options" }, { "prediction": "Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument.", "reference": "`new_ncr_work_order_path`? (I've been slowly moving specs over to that way of calling paths)" }, { "prediction": "I don't think we need the `?` here, it's already in the `application/x-shockwave-flash` file.", "reference": "Should flash be included in the patterns too? It currently isn't." }, { "prediction": "This should be `$\"Type '{impl.FullName()}' is sealed in the {Right} but not sealed in the {Left}.\"`", "reference": "I suspect I will have to keep looking whether Left/Right refers to contract/Implementation while working on the rules code." }, { "prediction": "I don't think we need to change anything here.", "reference": "(ignore this. testing a codeflow bug)" }, { "prediction": "I'm not sure if this is the right usage.", "reference": "[Nit] can you change the Usage wording to indicate that the flag is used to opt-out of server certificate verification? (e.g. \"disables validation of the Cassandra cluster's server certificate.\")" }, { "prediction": "I'm not sure this is the right place to put this import.", "reference": "Sorry :) Would be really helpful to integrate something like Eclipse Code Formatter, so it will fail if the code style is broken (the same as eslint fails on the frontend) I use IntelliJ IDEA and their vision of imports is a bit different :)" }, { "prediction": "Use the new Ruby 1.9 hash syntax.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "this will still fail on systemd" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "The convention in most of the codebase is to use `if isinstance(body, bytes):` instead." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "I think this would be better as: `label = comp.rsplit('.', 1)[-1]`" }, { "prediction": "I'm not sure if this is the right thing to do here. It seems like we should be able to use `ContextT` instead of `GapicContext`.", "reference": "We have been creating a language-level context interface for each language instead of parameterizing the generate function." }, { "prediction": "`$media->getContext()?? ''` should be enough.", "reference": "Same thing about context here." }, { "prediction": "I think this should be `handler.namespaceCache.GetNamespaceByID(handler.mutableState.GetExecutionInfo().NamespaceId)` instead of `handler.mutableState.GetNamespaceByID(handler.mutableState.GetExecutionInfo().NamespaceId)`", "reference": "there is a function to get namespace entry from mutable state directly" }, { "prediction": "Metrics/LineLength: Line is too long. [82/80]", "reference": "The `Transport::Config` objects don't serialize properly. We probably want to just turn them into hashes at this point." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's the right place to put it. I'm not sure if it's the right place to put it.", "reference": "Sorry, typo s/unusuable/unusable/" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if Iceberg supports Hive, but I'm not sure if it's the right way to do this.", "reference": "If this is needed, should we check that the configured `uri` isn't already equal to the value of the metastore URI configured via `spark.hadoop.hive.metastore.uris` or any of the other ways of setting it. This would be a breaking change for people who have `uri` configured on the SparkSessionCatalog and have it correctly set (which I believe should be everybody as `uri` is currently required if I'm not mistaken)." }, { "prediction": "Shouldn't this be `if content_type and content_type.startswith(\"multipart/form-data\"):`?", "reference": "see above - this is only used to select the correct view, we don't need to handle the boundary information here." }, { "prediction": "Why is this needed?", "reference": "These tests use a self-signed cert so the CA *is* the cert. I considered making a proper chain to use in the tests, but wasn't sure it was necessary to test here, since we test it in the E2E tests anyway." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to check `excessDomChildren.length > 0` instead of `index > -1`.", "reference": "We could, maybe, just directly do `excessDomChildren[excessDomChildren.indexOf(dom)] = null;`. Would this improve the size in any way? This will end-up with a property on the `excessDomChildren[\"-1\"]` but maybe we could live with that?" }, { "prediction": "I think this should be `$destroy` instead of `$destroy`.", "reference": "this looks like it may be something that needs additional refactoring" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Nit: Remove whitespace (and below)" }, { "prediction": "This should be `error_directory_allowed` instead of `error_directory_allowed`.", "reference": "\"Failed opening\" or \"Failed to open\"." }, { "prediction": "I'm not sure if we should use `sourceSnapshot` or `sourceImage` here. I'm not sure if we should use `sourceSnapshot` or `sourceImage` here.", "reference": "and -> or" }, { "prediction": "I don't think this is the right way to test this, but I'm not sure if this is the right way to test this.", "reference": "Add a `yield User.init()` here to wait for all indexes to finish building" }, { "prediction": "This should be `DEFINE_IP(local_ip, \"\", \"local ip\");`", "reference": "I don't think this belongs here. If the application can take a local_ip as input, the application should take care of it, not in this common library" }, { "prediction": "This method should be renamed to `removeCustomData`", "reference": "@DanHarrin please add a `return true` at the bottom of this method, as the docblock indicates a boolean return value." }, { "prediction": "Why is this public?", "reference": "This is used in o.a.l.sandbox.search.BM25FQuery." }, { "prediction": "`queryRelation == QueryRelation.INTERSECTS`", "reference": "Shouldn't this work as well for Disjoint?" }, { "prediction": "I'm not sure this is the right way to test this, but I think it would be better to catch `RuntimeError` instead of `RuntimeError`.", "reference": "Same here. This was included to quiet the test for the 3D descriptors. As we removed them, this exception handling is no longer required" }, { "prediction": "Why is this needed?", "reference": "Why do you need to load a specific data reader in lbann_library?" }, { "prediction": "I'm not sure if this is the right place for this, but I'm not sure if this is the right place for this.", "reference": "why not ValueTask?" }, { "prediction": "I don't think we need to check for `cd.Status.InstallerImage == nil` here.", "reference": "I'm nervous about this line, I don't want to go regenerate a bunch of imageset jobs for clusters that are old, already installed, but don't have a CLIImage set (which they wouldn't because they're old) Adding the Installed guard is meant to address this. Otherwise this *should* recreate the imageset job due to the code in this function that deletes the job if it's finished. (but we don't have our images set due to this clause)" }, { "prediction": "Can we use `TableMetadata.newTableMetadata(schema, spec, sortOrder, location, properties)` instead of `BaseTable`?", "reference": "Is it necessary to change this file? Doesn't `tableMetadata` call `newTableMetadata`?" }, { "prediction": "Why are these tests removed?", "reference": "I think that I have a better proposal for this test - improve it so that it would know how to read the list of SupportedProtocolVersions and dynamically use these. The motivation here is that I expect to have another network version soon, and this test seems to be a good test case for that." }, { "prediction": "I think this should be `LOG.debug(\"Listing of namespace [{}] resulted in the following tables: [{}]\", namespace, tableIdentifiers);`", "reference": "What is the purpose of this debug message? I'm not sure how it would help." }, { "prediction": "I'm not sure why this is needed, but it looks like it's only used in `bazel/extutil` and not in `kythe.io/kythe/go/extractors/bazel/extutil`.", "reference": "Is there a corresponding BUILD dependency to prune?" }, { "prediction": "I'm not sure this is the best way to test the content type. I'm not sure what the best way to test the content type is.", "reference": "The \"good\" and \"bad\" descriptions confused me a bit. Maybe `allowedContentType` and `disallowedContentType`? Not sure if that's better." }, { "prediction": "Using WebDriver after calling quit()?", "reference": "It would be better to just change RWD to throw IllegalStateException if you attempt to execute a command after quit (unless it's a second call to quit())" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "You may want to have a look at `func checkClusterFormed(t *testing.T, servers...*Server)` in this file that I created some time ago. It will timeout at 5 seconds, but will return as soon as cluster is ready." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "I see a few places where this blob of code is required due to the removal of `errnum` parameter from `flux_respond` -- trading 2 lines of code for 8. The improvement to the function seems like a good idea, but I wonder if we need a convenience macro or function to do it the old way? You went through and made all the changes, was it overall a net win?" }, { "prediction": "Why do we need to import `trackEvent`?", "reference": "I know it's not related to your change, but it's a bit odd that this import uses a relative path rather than the ones setup by webpack. Might be nice to change this one in case we refactor those paths in the future; this one wouldn't get caught in any kind of find+replace." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Good catch, and if we don't declare the newSchedule here, will the last schedule be executed in multi goroutine?" }, { "prediction": "I don't think this is the right place to do this. The `TryGetTargetFrameworks()` method is called on the `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `Solution.GetProject(x)` which returns a `", "reference": "`project` should never be null here, unless we have projects that aren't in the solution? Which we shouldn't have" }, { "prediction": "I don't think this is needed. The `restriction_map.hpp` includes `extractor/restriction.hpp` and `extractor/restriction_compressor.hpp` includes `extractor/dynamic_graph.hpp` and `extractor/node_based_graph.hpp`. The `restriction_map` includes `extractor/compressed_edge_container.hpp` and `extractor/restriction_compressor.hpp`.", "reference": "Simple `for` loop instead of `for_each` would help here by making it more readable." }, { "prediction": "I'm not sure if this is a good idea. It's not a good idea to have a \"Conf height\" role name. It's just a matter of taste, and it's not a good idea to have a \"Conf height\" role name. It's just a matter of taste, and it's not a good idea to have a \"Conf height\" role name. It's just a matter of taste, and it's not a good idea to have a \"Conf height\" role name. It's just a matter of taste, and it's not a good idea to have a \"Conf height\" role name.", "reference": "Looks like this falls through, should break." }, { "prediction": "I think this should be `.overwrite(true)` instead of `.build()`", "reference": "Let's default manifest lists and manifests to overwrite. These use UUID-based file names and should never conflict." }, { "prediction": "This should be `[speechView]` instead of `[speechView]`", "reference": "Please rename [speechView] to [speechViewer]." }, { "prediction": "I'm not sure if this should be in usermode or in usermode.", "reference": "I would use shorter yet still descriptive names, e.g. `KernelPerCpu` and `UserPerCpu`." }, { "prediction": "I think this should be `if not (format.lower().startswith('t')) and check_user_can_edit_record(user_info, recID):`", "reference": "if we are seeking for the content of only one field from metadata, no need to check whether a user could edit record or not" }, { "prediction": "I think this should be `/session/$sessionId/goog/cdp/execute` instead of `/session/$sessionId/goog/cdp/execute`", "reference": "Should this be camelCase to match the above commands? I am not the expert here so maybe Lucas or David can chime in." }, { "prediction": "I'm not sure this is the right place to set the tags.", "reference": "This is also missing in CreateScopeFromExecuteAsync. Can you add that there too?" }, { "prediction": "I'm not sure if this is the best way to do it, but I'm not sure if it's the best way to do it, so I'm not sure if it's the best way to do it.", "reference": "I hope that this does not break anything... Probably needs detailed beta tests." }, { "prediction": "I'm not sure what this spec is testing. I'd expect it to return a `Time` object, not a `Time` object.", "reference": "@JonRowe in what scenario do you see this being manually set?" }, { "prediction": "I'm not sure if this is the right place to put this code. I think it would be better to put this logic in `process_live` instead of in `check_inactive_votes_cache_election`.", "reference": "I think the work \"trigger\" makes more sense than \"check\" because this is taking an action based on status." }, { "prediction": "I don't think this is the right place to put the rsa key in the microservice instance.", "reference": "add a configuration, default put public key in Microservice, if the configuration is set, then put in Instance." }, { "prediction": "I'm not sure about this change, but I'm not sure if it's a good idea to change it.", "reference": "WDYT about the idea above of making these all verbs that correspond to the input spec?" }, { "prediction": "I don't think we need to change this.", "reference": "With the introduction of the enum(s) the constants in the store classes should be removed." }, { "prediction": "I'm not sure this is the right place to put this check. I'm not sure if it's a good place to put this check.", "reference": "I would say `!= 5`; A packet with <5 would be malformed." }, { "prediction": "I think we can remove the `Stateful` from the `sdk.NewAccumulator` call, since the `sdk.WithResource` calls `sdk.NewAccumulator(selector, exporter, opts)`.", "reference": "I think you missed removing `Stateful` from `push/config.go`" }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's worth it.", "reference": "why would you make it internal? if so then at least protected internal" }, { "prediction": "I'm not sure if this is the right way to test the content of a script.", "reference": "We should check if the response (`d`) contains bar as response, screw the log. :smile:" }, { "prediction": "This should be `Log::Info(\"%d dense feature groups (%.2f MB) transferred to GPU in %f secs. %d sparse feature groups\", dense_feature_group_map_.size(), ((dense_feature_group_map_.size() + (dword_features - 1)) / dword_features_) * num_data_ * sizeof(Feature4) / (1024.0 * 1024.0), end_time * 1e-3, sparse_feature_group_map_.size());`", "reference": "@Laurae2 good call. This is the only one I found (with `git grep transfered`)" }, { "prediction": "I think this should be `node.frame().body` instead of `node.frame()`.", "reference": "I don't understand how this work, could you explain?" }, { "prediction": "I don't think this change is correct. The `MCTX_NUM_SIMD_SLOTS` is used for the `MCTX_SIMD_REGS` and `MCTX_NUM_SIMD_SLOTS` flags. The `MCTX_NUM_SIMD_SLOTS` flags are used for the `MCTX_SIMD_REGS` flags. The `MCTX_NUM_SIMD_SLOTS` flags are used for the `MCTX_SIMD_REGS` flags. The `MCTX_NUM_SIMD_SLOTS` flags are used for the `MCTX_SIMD_SLOTS` flags. The `MCTX_NUM_SIMD_SLOTS` flags are used for the `MCTX_SIMD_REGS` flags.", "reference": "The abbreviation for \"context\" used extensively inside DR is \"cxt\", not \"ctx\", so s/MCTX/MCXT/." }, { "prediction": "I'm not sure if this is the right way to do it, but I think it would be better to have the properties in the same order as the properties in the file.", "reference": "here is `:seconds` missing again" }, { "prediction": "I don't think this is necessary.", "reference": "initializing to null makes me uncomfortable. let's have a default value" }, { "prediction": "I don't think this is the right place to reject the request.", "reference": "This is the `GET % HTTP/1.1` scenario right?" }, { "prediction": "I don't think we need this anymore.", "reference": "No need to use the fully qualified path the BackendAuth facade, just `use BackendAuth` is fine." }, { "prediction": "Why not just `return nano::epoch::epoch::epoch_0;`?", "reference": "Because it's similar for send/open/change/receive types, then probably it can be just common `nano::epoch nano::block::epoch () const` with override for state_block (like nano::block::link (), account (), representative ())" }, { "prediction": "nit: `cb_` is not a function, it's a function. It's a function.", "reference": "Please give a more descriptive name and add a command to explain what it does." }, { "prediction": "I'm not sure if this should be public.", "reference": "we can never get rid of this..." }, { "prediction": "I'm not sure if this is a good metric name, but I think it's a good metric name. I'm not sure if it's a good metric name, or if it's a good metric name.", "reference": "what is the effect of changing these buckets in existing data that is available in the monitoring system? if there are any existing dashboards that use previous histogram buckets they are probably going to be wrong ot invalid? also any reason why we chose these specific values?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "This won't work. For the flag to be passed to the plugin, it should be passed as part of the --plugin argument. --plugin \"yarpc --sanitize-tchannel\"" }, { "prediction": "I'm not sure if this is the right place to do this. If it is the right place to do this, then I'd suggest to move this to the `Booster*` constructor.", "reference": "@shiyu1994 @StrikerRUS what do you think about this addition to `c_api.cpp`? I think it's a really useful addition to be able to get this type of information from the `Booster`, but I want more opinions since `c_api` is the main public API for the library." }, { "prediction": "I think this should be `RoundOffsetError` instead of `DbRound basics.Round`.", "reference": "rename Round -> requestedRound and DbRound -> dbRound. we don't need to export the fields here, only the error struct." }, { "prediction": "I think this test should be renamed to `testClusterDeploymentWithoutRegionLabel`", "reference": "This expected value should probably be what you literally expect, otherwise there's a chance getClusterRegion is doing something wrong and the test wouldn't catch it because it's being run for both expected and actual." }, { "prediction": "I think this should be `encoding/base64`", "reference": "TODO: update unit tests to exercise base64-inline path" }, { "prediction": "I'm not sure if this is the right place to put this method, but I think it would be better to move this method to `UserPreferences`.", "reference": "this method knows too much - it is kind of a strange side effect I'd prefer if we had separate method for acknowledging that the onboarding was done and should not be shown again" }, { "prediction": "I'm not sure if we should add this column to the `FEED_ITEMS` table. I'm not sure if we should add it to the `FEED_ITEMS` table.", "reference": "Do we need to increase the DB version? Also, should probably be a constant, no?" }, { "prediction": "I think this should be `func (w Window) IsZero() bool { return w.every.IsZero() }`", "reference": "We could utilize the new isZero method in this if-statement, right?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "should probably have config have a `t` or a `logger.NewTestLogger(t)`, and return the latter" }, { "prediction": "I think this is a bit of a hack, but I think it would be cleaner to just pass `inputPlan.Roots` as an argument to `visitAll` instead of having to copy it every time.", "reference": "Does this not do the same thing as `copy`? I thought that `copy` just did an elementwise assignment, but maybe I was wrong." }, { "prediction": "I'm not sure why this change is needed.", "reference": "Here we are merging the configs from proto annotations and gapic config. But in other places in this PR we are using the new enum to pick one or the other, right? Or is that not the correct way to think about this?" }, { "prediction": "I'm not sure about this change, but I'm not sure if it's worth it.", "reference": "not related to this change?" }, { "prediction": "nit: `ANDROID_NDK` and `ANDROID_NDK_HOME` are mutually exclusive.", "reference": "Why is this needed?" }, { "prediction": "Why is this change needed?", "reference": "This one could be replaced with a `std::max`, no?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "Couldn't you just write this as an if/else or a guard clause like on line 87? Just seems a bit weird doing this conditional assignment for essentially an if/else." }, { "prediction": "Why do we need to do this?", "reference": "Please use strict type comparisons (`===`), not loose type comparisons." }, { "prediction": "I think this should be `!getFromBlock().isLatest() &&!getToBlock().isLatest() && getBlockhash()!= null`", "reference": "The filter parameters are a bit confusing. I understand that one of them has to be set, but what takes precedence if a from/to is set and the hash as well? Should that fail?" }, { "prediction": "I don't think this is needed.", "reference": "Is that necessary?" }, { "prediction": "Line is too long. [87/80]", "reference": "yess so much easier to read in order like this!" }, { "prediction": "Why do we need this convention?", "reference": "question: would this convention automatically and always apply to all classes derived from `LuceneTestCase` including any non-`org.apache` name spaces or would it be possible to opt-out (without an exclusion list) somehow for custom code that might perhaps have chosen a different convention?" }, { "prediction": "Why did you change this?", "reference": "Also found this bug, where we were setting the min passcode length to 6, but the min length for a connected app is 4. This can cause problems when the app is force closed or the shared pref is removed." }, { "prediction": "I think this should be `cell.idx / self.cellsPerColumn` instead of `cell.idx / self.cellsPerColumn`.", "reference": "Why was this change necessary?" }, { "prediction": "Why is this change needed?", "reference": "I kind of did this deliberately, so everything from the distributor appears in the same set of logs." }, { "prediction": "I'm not sure this is the right place for this, but I'm not sure it's worth it.", "reference": "We already have a `seq = pkt[TCP].seq` so you can just re-use it." }, { "prediction": "Please don't use wildcard imports.", "reference": "We avoid wildcard imports because it isn't clear where symbols are coming from and there is potential for collision. Could you roll back this change? (As well as the additional newline, we don't use breaks in imports either.)" }, { "prediction": "Why not use `std::chrono::milliseconds(100)` instead of `std::chrono::steady_clock::now() + std::chrono::microseconds(100)`?", "reference": "Why are these variables renamed? Is there a conflict with some Windows specific variable?" }, { "prediction": "This should be `if (!file_exists('../../release.inc'))`", "reference": "Do you test for file existence simply to reduce the warning message that may occur using the include? Also - I think the practice used in BOINC is to go ahead and use include_once even though it isn't strictly necessary in this case." }, { "prediction": "I don't think we need to add this column to the schema.", "reference": "`TimeChaos` does not contains a field.spec.action" }, { "prediction": "I'm not sure if this is the right place to put this interface.", "reference": "You need to override where possible in rs-api" }, { "prediction": "I'm not sure if this is the right place for this property, but I think it would be better to have it as a property on the `Reporting` class.", "reference": "Should this have an add/update/etc pattern? What happens if I need to change some set of data? May be better to just let the callsite manipulate the dictionary." }, { "prediction": "I think this should be `@not_implemented` instead of `@not_implemented`", "reference": "I don't think this should be added to PyRegion. Adding it here requires that every region have an \"algorithm\" which may not always make sense and the return value type will be different in every case. But fine to use the same name in the regions where we choose to implement it as a convention if that makes the API more discoverable." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this, but I'm not sure if it's the right place to do this.", "reference": "Returning here bypasses all the health check and load balancing features." }, { "prediction": "I don't think we should change this file.", "reference": "Should revert this copyright change, when the file isn't changing in any other way." }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "Interesting that filepath.Dir(\"thing\") returns \".\" whereas this returns \"\"" }, { "prediction": "I'm not sure why this doctest was skipped.", "reference": "Nice, I did not know about that" }, { "prediction": "I'm not sure this is the right place to put this mutex. I'm not sure it's the right place to put this mutex.", "reference": "Since the lock is have moved outside of this function, I think it would be simpler and efficient to just return a ref to the std::vector? That way, we don't need to make a new copy on read and we won't actually need a write operation." }, { "prediction": "I'm not sure this is the right block identifier for ReadState.", "reference": "also fetch block hash of this height and return hash" }, { "prediction": "I don't think this is the right place to put this.", "reference": "Why do we need this in this sample app and not the others?" }, { "prediction": "I'm not sure this is the right place for this method. I'm not sure if this is the right place for this method, but I'm not sure if it's the right place for this method.", "reference": "We don't need this additional method." }, { "prediction": "Why did you change this?", "reference": "Shouldn't this return code conditionally? The above line seems like an error occurred." }, { "prediction": "I'm not sure if this should be a map of `SupportedDiskTypes` or `SupportedDisksType` or `SupportedDisksType` depending on the supported disk type.", "reference": "What is the need to use string as key? Can we use the apis type as the key?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do. I'm just not sure if this is the right thing to do.", "reference": "how about a default parameter instead?" }, { "prediction": "I'm not sure why we're skipping the creation of the ClusterProvision, but I'm not sure why we're skipping the creation of the ClusterProvision.", "reference": "i don't think we need to add duplicate check for clusterinstallref here, the function already assumes that it was invoked for clusterprovision" }, { "prediction": "I don't think you need the \\ here, you can just do `if bbox_feats.shape[0] > 0:`", "reference": "\\`bbox_feats.shape[0] > 0\\` requires the number of proposal is not 0." }, { "prediction": "I think this should be BaseSparkAction.loadMetadataTable(spark, table.name(), table().location(), MetadataTableType.ENTRIES) instead of BaseSparkAction.loadMetadataTable(spark, table.name(), table().location(), MetadataTableType.ENTRIES)", "reference": "Same here. Any way to fit on one line?" }, { "prediction": "I think this should be `log.substr(4).toString()` instead of `log.substr(4).toString()`", "reference": "using folly::to is better?" }, { "prediction": "Why was this removed?", "reference": "I'm guessing this is unintended?" }, { "prediction": "I don't think we need the `resumeAfter` key here.", "reference": "This looks a little suspicious to me, can you explain what's going on here?" }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to put this in the `find_or_create_by` method so that we don't have to duplicate the logic in the `find_current_user` method.", "reference": "Can you talk about this? I'm not sure I follow why this is necessary." }, { "prediction": "I think this should be `if ('lightbox' === $layout && $params['layout']=='simple') {`", "reference": "Is there really a need for this'simple' layout? Is there a reason you can't use 'lightbox'? The only difference seems to be that the lightbox layout includes Piwik/Google Analytics tracking and simple does not. If tracking needs to be disabled for some reason, perhaps there is a way to do that without creating a whole new layout." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to have a method `findCommitMerges(SegmentInfos segmentInfos, MergeContext mergeContext) throws IOException` that does the same thing.", "reference": "Can you say what exception will be thrown in that case (or add an `@throws`, below)?" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix or if it is the right fix.", "reference": "Is this meant to be \"2.7\" or \"2.6\". The two lines in this commit don't agree with one another. Looks like everything else in this PR is \"2.6\" and that seems sensible." }, { "prediction": "I'm not sure this is the right place to put this file.", "reference": "Should we put these tests in a `generators` directory?" }, { "prediction": "I'm not sure this is the right place for this. I'm not sure it's worth it.", "reference": "I think that it makes more sense to keep these with the standard definition of non-zero is true and zero is false." }, { "prediction": "I'm not sure why this change is needed. I'm not sure what the motivation for this change is.", "reference": "Any idea why you want to change the behavior here? Is there a security risk not to have the prefix in the principal here." }, { "prediction": "I'm not sure if this is the right place for this mock, but I think it should be `MockDBCache`.", "reference": "this reads like \"mock database cache\", maybe a clearer name" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Nit: move this with the other CM imports." }, { "prediction": "I don't think this is needed anymore.", "reference": "This change should be mentioned in the CM" }, { "prediction": "I'm not sure if we should have a default value for `SpanCreationSettings.Parent` and `SpanCreationSettings.StartActive`", "reference": "Do we really want a new type, or can we just use `SpanContext`? The `ISpanContext` interface is read-only, but there's nothing stopping users from casting this to `SpanContext` and modifying it." }, { "prediction": "I don't think this is the right place to put this #if NET452", "reference": "Should we define a const like NETFRAMEWORK or NETFULL which will be set for NET452 NET461 and anything like NET47 etc in future?" }, { "prediction": "I don't think this is a secure value.", "reference": "maybe start an issue to capture params that we need final values for and link to it here?" }, { "prediction": "I think this should be `if not backend.get('group'):`", "reference": "Can we instead do the check in find_instance_group_by_url()? if we return None when group is not found, it will hit the next if statement (if not instance_group) and continue as expected, in this case we don't need to add 3 separate if statements" }, { "prediction": "I don't think we need to parse AM/PM as well.", "reference": "on my android \".a.m\" and \".p.m\" is used add `||` here to support both variants" }, { "prediction": "I'm not sure why this change is needed.", "reference": "`!FormatIsMultiplane(image_format)` will always be true at this point due to the test on line 4639." }, { "prediction": "I think this should be `from pandas.core.accessor import CachedAccessor`", "reference": "Maybe inline the CachedAccessor code? Is it similar to our lazy property? If yes, can we reconcile the two?" }, { "prediction": "I'm not sure if this is the right place for this function.", "reference": "Nit this file has unintended changes." }, { "prediction": "Please use `MediaStore.fileExists()` instead of `selectedItem.getMedia().fileExists()`", "reference": "Potential NPE? `hasMedia && selectedItem...`" }, { "prediction": "I think this should be `volume_type=None, iops=None`.", "reference": "PEP-8/consistency with the rest of the code." }, { "prediction": "I don't think this is needed.", "reference": "nit: Would you mind moving the `ParameterTypeNames` assignment into each of the method-specific attributes? That could reduce confusion if we later decided to instrument other methods in MongoDb" }, { "prediction": "I think this should be `ISpecProvider` instead of `ISpecProvider`.", "reference": "Is exposing SpecProvider needed here?" }, { "prediction": "I think this should be `protected virtual bool SetProperty(ref T storage, T value, Action afterAction, string propertyName = null)`", "reference": "So this will only be executed when it is true. I'm not sure that makes it always usable. Why not make the afterAction, `Action` and always call it, with the result as parameter." }, { "prediction": "I'm not sure if this is correct. The result of `pfs_service_lookup()` is `PFS_RESOLVE_LOCAL`, which means that if the service is not known at this point, the result will be `PFS_RESOLVE_UNRESOLVED`. If the service is known at this point, the result will be `PFS_RESOLVE_UNRESOLVED`. If the service is known at this point, the result will be `PFS_RESOLVE_UNRESOLVED`. If the service is known at this point, the result will be `PFS_RESOLVE_UNRESOLVED`. If the service is known at this point, the result will be `PFS_RESOLVE_UNRESOLVED`. If the service is known at this point, the result will be `PFS_RESOLVE_UNRESOLVED`. If the service is known at this point, the result will be `PFS_RESOLVE_UNRESOLVED`. If the service is known at this point, the result will be `PFS_RESOLVE_UNRESOLVED`.", "reference": "Tim, please add { } to this 'if'." }, { "prediction": "I don't think we should use \"127.0.0.1\" here.", "reference": "Suggest moving to `enable.go` since thats only place used." }, { "prediction": "Is this change intentional?", "reference": "This changed when I rebuilt my docker container. Not quite sure why, but might have to do with what my host network configuration looks like when it's rebuilt." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Local cache of what? What's stored in it?" }, { "prediction": "I think this should be `toCopy.sortOrderId() == null? SortOrder.unsorted().orderId() : toCopy.sortOrderId();`", "reference": "If the copied `DataFile` returns null, shouldn't the copy also return null? Why not make the builder use `Integer` instead of a primitive here?" }, { "prediction": "I'm not sure this is the right place to put this function. I'm not sure if it's a good idea to put it in the `templates` folder, but it seems like it's a good place to put it in the `templates` folder.", "reference": "You could just do this test in the `save_html` function above, and then the users of the save html function don't have to worry about it." }, { "prediction": "I think this should be `errors.Newf(\"get environment: couldn't find environment dev in the application my-app\", \"dev\")`", "reference": "I think I'd prefer not using the formatted string when it comes to unit test, since we don't pass in any string variable as params." }, { "prediction": "I don't think this is needed.", "reference": "Maybe it would be better to explicitly include devices instead of explicitly excluding devices?" }, { "prediction": "I'm not sure this is the right fix. The `const atomIterator = this->beginAtoms(); atomIt!= this->endAtoms(); ++atomIt)` should be removed.", "reference": "This could be `for (auto bond: bonds()){`, right?" }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to put it in the `$user->getConfig()` instead of in the `$this->getAuthManager()`.", "reference": "Is $config no longer being used? Can we remove this line?" }, { "prediction": "(style) please, no space before tabs", "reference": "can you revert changes to this file." }, { "prediction": "Why remove the prefix?", "reference": "I don't believe the change is sufficient to correctly handle variable substitutions in the name. As part of the process command we pass the original role object that was retreived without taking into account the substitution. So while the first template apply command will work fine because the original role does not exist thus it's a new add operation, if you try to re-apply the same template again, we'll pick up and process a wrong original name thus we'll try to execute an add operation again instead of modify. So we need to take into account the substituted name when we retrieve the original role as well. Same change should be applied to both policy and service blocks as well." }, { "prediction": "This should be `IsOnMainThread` instead of `IsOnMainThreadAsync`.", "reference": "Please add this to IMvxMainThreadDispatcher as well" }, { "prediction": "I'm not sure this is the best way to do this, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, so I'm not sure what the best way to do this.", "reference": "Is it possible for opt not to be a string? I couldn't tell if this was a typo or if there is actually a case where it is not a string." }, { "prediction": "I'm not sure if this is the best place to put this, but I think it would be better to have it in the `UserInputSettings` component.", "reference": "Let's move this up next to the `id` as we usually have `className` as one of the first props." }, { "prediction": "I think this should be `3.1.1`", "reference": "While you're in here, \"build, push and install\"?" }, { "prediction": "I'm not sure if this is the right place for this property.", "reference": "Unit never made it to spec...so removing." }, { "prediction": "I'm not sure if we should add this to the `pkg/services/json.go` file. I'm not sure if we should add it to the `pkg/services/json.go` file, or if we should just add it to the `pkg/services/json.go` file.", "reference": "We have RequestStart which seems redundant a bit to this one, WDYT?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "I think we can remove this corresponding export from `preact` now! Double check no other s using though lol" }, { "prediction": "I'm not sure if we should add this to the `create_table` block since it's only used in the `create_table` block.", "reference": "I'm not sure why this would be in here. Were you working off a branch based off of master? These lines were removed in a previous commit because the table is actually called 'cart_item_traits'." }, { "prediction": "I'm not sure if this is the right endpoint for Travis, or if it's the right one for Travis. I'm not sure if it's the right endpoint for Travis, but if it's the right one for Travis, I think it's the right one for Travis.", "reference": "Maybe `DEFAULT_GITHUB_API_ENDPOINT` would be a better name, since we refer to this as an API endpoint elsewhere?" }, { "prediction": "I'm not sure this is the right label for this capability. It seems like it should be `ecs.capability.CPUMemLimit` instead of `ecs.capability.CPUMemLimit`.", "reference": "If/when you rebase from `dev`, this is going to cause a merge conflict. I'd suggest that soon after merging this PR as the capabilities code has been moved to \"agent/app/agent_capabilities.go\"" }, { "prediction": "I'm not sure if this is the best way to test this, but I think it would be better to have a test for `Start` and `Stop` in the `Start` and `Stop` functions.", "reference": "What is the test case here?" }, { "prediction": "I think this should be `waitForCacheSync` instead of `WaitForCacheSync`.", "reference": "You could try moving this closer to the call, where we request label info. We might be doing the check very early.. all the resources may not be present with the informer at this point." }, { "prediction": "I'm not sure this is the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "Can we add these up by the data files counts?" }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if this is the right fix.", "reference": "Most of the time assigning won't save bytes unless used 3+ times (var adds 3bytes)" }, { "prediction": "I think this should be `title` instead of `artist`.", "reference": "I would rather find the code that inverts the logic and remove that." }, { "prediction": "I'm not sure why this is needed.", "reference": "The else doesn't return anything?" }, { "prediction": "I'm not sure about this change, but I'm not sure if this is a good change or if it's a good change.", "reference": "assignments should only be cuddled with other assignments (from `wsl`)" }, { "prediction": "Why not use `std::copy` here?", "reference": "why not simply `paths = search_path_opts.LibrarySearchPaths`?" }, { "prediction": "I think this should be `globalize.translate(item.Name);`", "reference": "Are we sure this should be translated by the web client? It was unclear in chat exactly what's getting translated here." }, { "prediction": "I'm not sure why this change is needed.", "reference": "same oneof issue." }, { "prediction": "Puppet data types should not be included in Puppet data types. Puppet data types should not be included in Puppet data types.", "reference": "If we resolve here, isn't the whole `module_install` config setting or any subkeys also pluggable? I think that's totally fine, just want to make sure that that's known, and we should also update the data in `options.rb` for those options" }, { "prediction": "I don't think you need to free the kds here.", "reference": "it would be better to change `kds` into a `std::vector` then we don't need to explicitly free it" }, { "prediction": "`_prefix` is not used in this function. You can use `subject = _prefix(subject)` instead.", "reference": "Looks like you're also changing logic and not only tests." }, { "prediction": "I'm not sure this is the right thing to do here, but I'm not sure if this is the right thing to do.", "reference": "Is it possible that test failures here are real and that we should improve the rate limiting logic? Or are we ok with rate limits to be exceeded by 15%?" }, { "prediction": "I don't think this is the right place to do this. The `data-` attribute should always be set to the value of `$options['lazy']` and the `$options['lazy']` should always be set to `true`.", "reference": "Shouldn't there be some kind of validation somewhere? IMO there should be an exception if `$options['lazy']` is not a boolean." }, { "prediction": "Why is this needed? I don't see any references to `Logging` anywhere in this file.", "reference": "nit: please move it inside namespace." }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if `RUN_AS_OPTIONS` is the right thing to do here.", "reference": "The inventory schema needs to be regenerated to include these options. Looks like the CI job didn't get triggered since the paths don't include `lib/bolt/transport/**`." }, { "prediction": "I'm not sure this is a good idea, but I'm not sure it's a good idea to have a \"desktop\" or \"desktop\" combo box. I'm not sure what \"desktop\" means, so I'm not sure what \"desktop\" means. I'm not sure what \"desktop\" means, so I'm not sure what \"desktop\" means. I'm also not sure what \"desktop\" means, so I'm not sure what \"desktop\" means. I'm also not sure what \"desktop\" means, so I'm not sure what \"desktop\" means, but I'm not sure what \"desktop\" means.", "reference": "This might break if a user runs the system tests with a system language other than English, in which the user default language differs." }, { "prediction": "Is this change intentional? I don't think it's related to this change.", "reference": "This was raising intermittent errors, since Lorem ipsum contains the word \"error\"" }, { "prediction": "I'm not sure this is the right place to check for `mp_impl` but I'm not sure it's the right place to check for `mp_impl`.", "reference": "Shouldn't we then add `mp_impl = nullptr` to the destructor of `RTPSParticipant`" }, { "prediction": "I'm not sure if this is the right patch name.", "reference": "Are the additional brackets necessary?" }, { "prediction": "I don't think this is the right fix. The consumerIntf is not used anymore.", "reference": "consumerMeta only belongs to this invoker instance only relate to this one consumerIntf class seems no need to build a complex key?" }, { "prediction": "I'm not sure what the intent of this test is, but I think it would be nice to test that the summary is singular, and that the summary is pluralized.", "reference": "this one is unrelated right? (Don't mind including it, just making sure I understand)" }, { "prediction": "I think we should add a new config for `step` and `warmup_ratio`", "reference": "8, 11 actually achieves similar performance, we should use our default config if [9,11] is unnecessary." }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "For a separate PR: Can we make this a JSON/Thrift procedure instead? It could accept the amount of time it needs to sleep as an argument." }, { "prediction": "I think this should be `run=True` instead of `xfail(run=False, reason='Causes segfaults, see #1638')`", "reference": "Please remove this blank line." }, { "prediction": "Why do we need this trait?", "reference": "the cartTrait is not used anymore" }, { "prediction": "I think this should be `` instead of ``", "reference": "Cn you please make the message more human friendly." }, { "prediction": "`Enum` is not used in this module, please remove it from `qutebrowser.utils`", "reference": "Please do `import enum` instead, then use `enum.Enum` and `enum.unique` - we do this everywhere to see where things are coming from, except for Qt (everything begins with a `Q` anyways) and typing (mostly used in type annotations, so it's clear without the namespacing)." }, { "prediction": "I think this should be `#define ENCFAIL (uint)0` instead of `#define ENCFAIL (uint)0`", "reference": "Isn't ENCFAIL used in codec.c below? Wouldn't this make it no longer compile?" }, { "prediction": "I think this should be `@Nullable`.", "reference": "this looks very weird" }, { "prediction": "This class will be complety removed in 7.0.0", "reference": "So, the culprit was actually this class \"ConsoleLogHandler\", correct? Because it simply wrote to stdout..." }, { "prediction": "Why do we need to do this?", "reference": "Still curious why you need to modify this method? Why not in the future just have a method called `LogFactory.ReloadConfiguration()` instead of the config assigning itself?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Should this say \"lint, cleanup, destroy, dependency, syntax, create, prepare, converge, idempotence, side_effect, verify, cleanup, destroy\"?" }, { "prediction": "I'm not sure if this is the right place to put this error message.", "reference": "I am not sure why these log messages are changed." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "This panic is incorrect - this is a full implementation of a slice equality check. This should be something more like `type x is not comparable` maybe?" }, { "prediction": "I'm not sure this is correct. The MIN(DR_MAX_OPTIONS_LENGTH - 1, _tcslen(opt)) is the same as MIN(DR_MAX_OPTIONS_LENGTH, _dr_nlen(opt));", "reference": "See below: let's use the existing convention _tcsnlen." }, { "prediction": "This test is no longer needed.", "reference": "Why don't we need this any more?" }, { "prediction": "I think this should be `model_base_ = ['./sparse_rcnn_r50_fpn_mstrain_480-800_3x_coco.py']` instead of `model = dict( pretrained='torchvision://resnet101', backbone=dict( type='ResNet', depth=101, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=True, style='pytorch'),)`", "reference": "clean unnecessary comma" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "This is the default value for enumerable." }, { "prediction": "I don't think this is correct. `std::string chemicalReactionTemplatesToString(std::begin, std::end, bool canonical)` should be `std::string chemicalReactionTemplatesToString(std::begin, std::end, bool canonical)`", "reference": "Just above, you have `const auto` for a `RDKit::MOL_SPTR_VECT::const_iterator`, here it is only `auto`. Why is this?" }, { "prediction": "Why do we need to release the pointer?", "reference": "@djarek just a quick question, wouldn't be `ptr.reset()` here better as it does not memory leak if we do not call delete on the raw pointer aswell? it maybe makes sense to use `ptr.release` if the event is guaranteed to be loaded again but on a reload it would memory leak if for example I removed that script from my files before reloading or not?" }, { "prediction": "I'm not sure this is the right way to do this, but I think it's better to use `cli.StringSlice` instead of `cli.StringSlice`.", "reference": "Why to `Get()` value twice, while u have it 2 lines before" }, { "prediction": "I think this should be `october.enable`, `october.list`, `october.install`, and `october.delete`.", "reference": "There is a typo here, this needs to state `october.fresh`" }, { "prediction": "Can we use `PartitionSpec.builderFor(SCHEMA)` instead of `PartitionSpec.builderFor(SCHEMA)`?", "reference": "Metadata tables loaded through `HadoopTables` will have their names as location.type (which is weird as we normally use location#type). I am not sure whether it is a big deal or not." }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if this is the right fix.", "reference": "Can you explain why you went from a positive value (metrics.viewTop) to a negative value?" }, { "prediction": "I don't think we should be exposing this as a public API. I think we should be exposing this as a public API instead of exposing it as a public API.", "reference": "Let's use a dedicated DTO instead of `List` to remain consistent with all other existing REST API endpoints: * Introduce a new DTO class (e. g. `ExternalTaskTopicNameDto`) located under `org.camunda.bpm.engine.rest.dto.externaltask` * The class should have the attribute `topicName` of type `String` * Introduce a getter & setter for the attribute * Convert the list of strings to a list of `ExternalTaskTopicNameDto`s * Change the method signature to return `List`" }, { "prediction": "@phoenicis is there a reason why we need to return a `ScriptDTO` instead of a `List`?", "reference": "Do you plan to remove the `ScriptDTO getScript(List path);` method long-term?" }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "@itsiprikshit I used a custom v-model to app count component because the sourceapps component was not reacting to user app count selection, e.g. whenever user changed app count selection, the source apps selection multiplicity remained the same. As a matter of fact, user was able to select one application only. Please let me know if you have any thoughts on this." }, { "prediction": "I think this should be `from mmdet.models.utils import SimplifiedBasicBlock` instead of `from mmdet.models import SimplifiedBasicBlock`", "reference": "Similarly, we think we may keep `fused_semantic_head.py` unchanged. Then, we could add a new mask head for the desired function." }, { "prediction": "I think this should be `UnsupportedOperationException`.", "reference": "Why implement this? It duplicates the value in FeatureConfig." }, { "prediction": "I'm not sure this is a spark streaming microbatch scan.", "reference": "@aokolnychyi / @RussellSpitzer / @holdenk Spark3 gives ScanBuilder - abstraction - to define all types of Scans (Batch, MicroBatch & Continuous). But, the current implementation / class modelling - has SparkBatchScan as the Scan implementation. Looking at some of the concerns of BatchScan - all the way from the State maintenance of a single SnapshotId to read from, the asOfTimeStamp & features like VectorizedReads - all of these don't seem relevant to Streaming Scans. So, I feel that we need to divide out Streaming Scans into a different class. Does this thought process - make sense? If we go by this route - do you folks know - how to pass different Scan objects to Spark based on Batch vs Streaming?" }, { "prediction": "I'm not sure if this is the right place to remove the null check.", "reference": "Will you please update these files to use a copyright end date of 2021?" }, { "prediction": "I don't think this is necessary.", "reference": "Adding fixture to the body as we don't have the `runner.tmpl` anymore" }, { "prediction": "I'm not sure if this is the right place for this package.", "reference": "nit: just for consistency we can move this import block down. Right above openshift/hive imports" }, { "prediction": "I think this should be `ahout` instead of `ahout`.", "reference": "Perhaps clean up the commit history and don't squash?" }, { "prediction": "I'm not sure this is the right fix. The `content.array()` should be written to the `buf` after the `if` statement.", "reference": "Just `writeBytes(content.array())` Back to my original, somewhat broken version ;)" }, { "prediction": "I think this should be `ctxserver` and `ctxclient` instead of `ctxserver` and `ctxclient`", "reference": "I couldn't tell from reading the test - do we every criss-cross transports in the same test? I want to make sure we aren't breaking the chain..." }, { "prediction": "I'm not sure if this is the right place to put clock imports.", "reference": "File is not `goimports`-ed" }, { "prediction": "I'm not sure this is the right place to remove deadlines.", "reference": "do we want to still validate that the context had a nonzero TTL? i suppose it's fine to let clients determine whether or not their streams will timeout (though we still don't have the means to cancel them from the server other than EOF), and they can still cancel their own contexts - so maybe not a huge deal, but thought it was worth bringing up." }, { "prediction": "I think this should be `UnsupportedOperationException` instead of `UnsupportedOperationException`", "reference": "Go ahead and provide the same implementation for all of the languages - I'm not sure there's a reason for it to be different." }, { "prediction": "I'm not sure this is the right place to test this.", "reference": "We should also test type confusion here (e.g. `{\"anticache\": \"foo\"}`)" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "I'd love to trim the content of `unformatted` too. Any ideas?" }, { "prediction": "I think this should be `typing.Typing`", "reference": "can you remove this unrelated change?" }, { "prediction": "I think this should be `const STYLESHEET = \"\"\"` instead of `const STYLESHEET = \"\"\"`", "reference": "Would using `HintLabel` here instead (without `setObjectName`) work?" }, { "prediction": "I don't think we should be exposing this as a public API. I think we should be exposing it as a public API instead of exposing it as a public API.", "reference": "From what I can tell, the `serviceAccountFile` is never set to anything except \"\"? It'd be best to remove this altogether, so we don't mislead future developers" }, { "prediction": "I'm not sure why this was removed?", "reference": "Why do we remove the Sign in link?" }, { "prediction": "I think we should keep the `moveQueueItemToTop` and `moveQueueItemToBottom` methods in the `FeedItemMenuHandler` as well.", "reference": "holy crap, were we really missing a 'break' statement here?" }, { "prediction": "Why is this needed?", "reference": "This doesn't seem to be used anywhere, probably doesn't need to be a new interface." }, { "prediction": "I'm not sure if this is the right way to do this.", "reference": "This is a good start, but what do you think about just using `libkbfs.GetCurrentSessionIfPossible()` to avoid calling this altogether if there's no session? That way we can avoid continuous RTTs to the server when logged out." }, { "prediction": "I'm not sure this is the best place to put this. I'm not sure if this is the best place to put it.", "reference": "This `aria-labelledby` stuff is all new to me, but my reading of the spec is that the value should be a list of element id values, and `dLabel` doesn't seem to be the id of any element?" }, { "prediction": "I'm not sure this is the right thing to do here, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, but I'm not sure what the best way to do this is.", "reference": "Does this fail validation if you now use the `upload` key instead of `source`?" }, { "prediction": "I think this should be `NULL,256` instead of `NULL,256`.", "reference": "Can we use GetCliGlobals(false)->exCollHeap() here instead" }, { "prediction": "Why is this needed?", "reference": "I suggest you move the waitUntilAllElected into init::KV() method." }, { "prediction": "I don't think this is needed.", "reference": "no need of pub;lic." }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be good to add a TODO to remove as soon as Credential.lowestOutput function is called.", "reference": "Do you think we can name this variable in a less...negative.. language? maybe `ProposalTieBreakerEqualizer`" }, { "prediction": "I'm not sure this is the right thing to do here. The input schema should be the same as the input schema.", "reference": "Can you add back these newlines? We try to avoid non-functional changes like this because they can cause commit conflicts." }, { "prediction": "I think this should be `const searches = newState.searches.filter(s => s.title!== action.search.title);`", "reference": "Why not just `if (!searches.includes(action.search)) searches.push(action.search)`? That way you don't need to remove then add the element." }, { "prediction": "Please remove the `@return string` from this method.", "reference": "@demiankatz I'm not sure that this is very useful. I just did it to get started. If we had a small handful of predetermined prefixes that were randomly chosen, it would be easier to distinguish them from the rest of the call number. Would that be preferable?" }, { "prediction": "I'm not sure if this is safe to do. I'm not sure if it's safe to do this.", "reference": "Why is this deleted too?" }, { "prediction": "Why is this readonly?", "reference": "Given that IApiResponse is already made disposable, this is not necessary." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix. I'm not sure if this is the right fix, but it seems to be the right fix.", "reference": "client.getSelectedSpellName() can be used for this" }, { "prediction": "I'm not sure if this is a good name for this file. It's just a naming convention, but it's not a big deal. It's just a naming convention, but it's not a big deal.", "reference": "Please alpha sort these filenames." }, { "prediction": "I'm not sure if this is the right way to do this.", "reference": "is this already called by actPool.validate()?" }, { "prediction": "I'm not sure if this is the right way to do this. If the ring is not initialized, then it should be marked as STEREOANY.", "reference": "It is relatively cheap to tell whether a bond is a ring bond, we don't have to perform an SSSR." }, { "prediction": "I don't think we need this change.", "reference": "Maybe we should add flag aliases for service as well." }, { "prediction": "Why did you remove this?", "reference": "This LGTM but don't we need a winning PoSts field to fully implement the protocol? No need to add here as I'm working on this in another PR, but curious how we can interop with lotus blocks without post proofs." }, { "prediction": "I don't think we need this interface.", "reference": "can you move the [] into pubSub? so Blockchain just contains a pubSub, not []" }, { "prediction": "I'm not sure if we should validate the memory breaker threshold here.", "reference": "I don't think 100 is a safe default here, since later we check that the value is between 50-95." }, { "prediction": "I think this should be `ThreadAgnostic` instead of `ThreadSafe`.", "reference": "I would be nice if we could describe this without the word \"agnostic\"" }, { "prediction": "I don't think this is the right place to put this check. I think it should be `inputPattern[i] <= inputPattern[i+1]` instead of `inputPattern[i] <= inputPattern[i+1]`", "reference": "Pick more specific exception types for these cases. Not sure what would be best for this one (`ValueError`?) but the next one could be `IndexError`." }, { "prediction": "I think this should be `/.storybook/?(*.)test.js` instead of `/.storybook/?(*.)test.js``", "reference": "This seemed like the easiest solution We need to include this path in `testMatch` to run the test AFAIK *BUT* we don't want this test ran when running them all normally I'm sure there are other ways to do this!" }, { "prediction": "I think we should be able to remove the `message, yo` from the `Flush()` method.", "reference": "Most of the following test changes can be avoided if need be." }, { "prediction": "Why are these removed?", "reference": "Eventually we might want to move this back as generating this data structure takes some time (for large datasets) and we don't want it in the hot-path of `osrm-customize` runs. Thinking long-term making `osrm-customize` eventually digest `.osrm.cells` will will enable only updating cells selectively and using an earlier customization for the rest." }, { "prediction": "why not just `cmd.vpnServer.Stop()` and `cmd.natService.Stop()`?", "reference": "You're not really using named result variable - you can just leave `error`." }, { "prediction": "I think this should be `Schema schema = spec.schema();`", "reference": "It wasn't possible to call this method with `PartitionSpec.unpartitioned()` as the schema in the spec was empty." }, { "prediction": "I think this should be `ModuleConfigQuery` instead of `HookQuery`.", "reference": "this namespace is never used" }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's the right place to put it.", "reference": "Well, if you call `Nack`, it _will_ be redelivered. So maybe reword." }, { "prediction": "I'm not sure if this is the best place to put the video embed in. I'm not sure if it's the best place to put the video embed.", "reference": "Why did we make this a static string?" }, { "prediction": "I think this should be google.cloud.bigquery.Dataset, not google.cloud.bigquery.Dataset", "reference": "Please re-run PYTHONPATH=. python tests/services/inventory/update_cai_dumps.py following the instructions at the top of this file to ensure the test files have the correct CAI asset type." }, { "prediction": "why not fix?", "reference": "`stateDB := NewStateDBAdapter(sm, 0, hash.ZeroHash256, NotFixTopicCopyBugOption())`" }, { "prediction": "I'm not sure this is the right fix, but I think it would be better to use `math.ceil()` instead of `floor()`.", "reference": "There are unneeded parens here, but I'll fix it up when merging." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "Just one more thing... How about doing all of the following? 1. renaming h2o.rb to bootstrap.rb 2. require and include the acl code _from_ bootstrap.rb" }, { "prediction": "I'm not sure why this was removed.", "reference": "Commit message: \"remove\" is misspelled." }, { "prediction": "I'm not sure if this is the right place for this method. It seems to be called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trimTrailingZero` and `trimTrailingZero` is called `trim", "reference": "This is a pretty idiosyncratic method - I'd move it into the JSON-RPC package rather than adding it to `BytesValue`." }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to move this to `example_group_block.rb` and then call `configure_group` in the `after_runnable_index_for` callback.", "reference": "Is there a way to deduplicate this somehow? Could we roll it into `RSpec.configuration` with a bit of memoization or is there a chicken and egg problem." }, { "prediction": "I'm not sure if this should be a constant or a constant.", "reference": "Generally, I wouldn't say I like the idea of providing properties that return negative/inverted values. It would be more convenient to return whether the update is **in** progress or not." }, { "prediction": "I'm not sure this is correct. The `timeRemainingTicks` is a number, not a string. I'm not sure if this is correct.", "reference": "Converting playbackManager to operate in ms (preferred solution, imo) would allow us to completely drop this function." }, { "prediction": "I think this should be `max_edge_returned_per_vertex` instead of `max_edge_returned_per_vertex`", "reference": "The default value should be a bigger one, I'd like it is the maximum of int32. That means we will not cut-off anything by default. And users would config it with an appropriate value in config-file, such as 1000 or 5000, etc." }, { "prediction": "I think this should be `clio.Warn(\"Could not get hermes id: %v MYST\", hermesID)`", "reference": "Probably missing return here as well" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if it's the right thing to do here. If it's the right thing to do, I'm not sure if it's the right thing to do here. If it's the right thing to do, I'm not sure if it's the right thing to do here. If it's the right thing to do, I'm not sure if it's the right thing to do. If it's the right thing to do, I'm not sure if it's the right thing to do.", "reference": "On second thought... this affects how often the function specified by the `load` property is run. So I wonder if, for consistency, we should call this `LoadInterval` instead. Does that make sense?" }, { "prediction": "I think this should be `localization.js` instead of `localization.js`.", "reference": "Now you don't need the localization module here then :)" }, { "prediction": "I think this should be `ROWS_CANNOT_MATCH`.", "reference": "This should not convert each value to a literal on every invocation. Instead, this PR can add a `literals` method to `BoundSetPredicate` to access the values as literals. That way, the conversion happens once and can be lazy." }, { "prediction": "I think this should be `return ctypes.cdll.LoadLibrary(lib_path[0])`", "reference": "I think we still need this exception if doesn't have LIGHTGBM_BUILD_DOC" }, { "prediction": "I'm not sure why this was removed.", "reference": "Does this make it easier to read? Previously this would have run `kubectl describe certificate` right? In which case it would have included events related to the cert. Will we miss that? Would the old `kubectl describe` output have gone to stderr?" }, { "prediction": "I don't think this is necessary. The `ApplicationServer` and `CamerasIntegration` fields are only used by the `ApplicationServer` and `CamerasIntegration` fields.", "reference": "Just an understanding question: do we need a map here, would a list/set of Strings be sufficient? we are not adding entries with `false` here, are we? Being in the list already means it's used, right?" }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "Ah, so the change is that you want the `prune()` side effect before doing the `task.id not in necessary_tasks` membership check? Stupid non-Haskell programming languages :p" }, { "prediction": "I'm not sure if this is the right place to put these imports.", "reference": "This change was not really intended but made by the linter of VS Code. And looking at other packages this looks like a best practise to place interal packages on the top and gh imports afterwards." }, { "prediction": "I think this should be `readPreference = ReadPreference.secondary` instead of `readPreference = ReadPreference.secondary`.", "reference": "Do we normally force ReadPreference primary on other write operations? Or is it just that we normally ignore it?" }, { "prediction": "I'm not sure if this is the right place to put this method.", "reference": "Instead of returning null here and discarding nulls automatically, I think this should return null (or some other signaling value) and fix the part that consumes the output of the visitor." }, { "prediction": "I think we should not update VoteTallyCache here. We should only update the VoteTallyCache if the validator provider is already in the forking state.", "reference": "Really, we want to be setting the validatorsForPreviousBlock against the yet to be created block, so it might make sense to update the cache once the block is created/imported instead." }, { "prediction": "I'm not sure if this is correct. The sizeof(longopts) should be sizeof(longopts[0]) / sizeof(int)", "reference": "It seems to me that the original implementation was correct. Can you share what the scanner was pointing out?" }, { "prediction": "nit: `bulk-edit.js` should be renamed to `bulk-edit.js`.", "reference": "Instead of doing that, please create an `assets/js/googlesitekit-subscribe-with-google-bulk-edit.js` file as entry point - all our entry points should be located in `assets/js`." }, { "prediction": "I think this should be `googlesitekit-logo` instead of `logo-sitekit`", "reference": "This is not valid, a `div` shouldn't be in a `span`. You could apply the `className` attribute to the `span` tag." }, { "prediction": "I'm not sure if this is a good idea. It's a bit of a hack, but it's a good idea. It's a bit of a hack, and it's a bit of a hack, so I'm not sure if it's worth it.", "reference": "Would it be possible to reuse RcJobExpireDuration and RcJobExpireInterval and auto delete them when job is deleted?" }, { "prediction": "I'm not sure why this is needed.", "reference": "Python wants **future** imports to come first." }, { "prediction": "I'm not sure if we should call `options_detach()` here.", "reference": "Better to call this before EXITING_DR which is supposed to be last." }, { "prediction": "Why is this removed?", "reference": "Does this work at runtime?" }, { "prediction": "I don't think we should change the default here. I think we should change it to something like `maxRetriesOnRecoverableFailures = 8`.", "reference": "Hmm why do we need to make this change? Like which one requires this change?" }, { "prediction": "I think we can remove this line.", "reference": "why remove this and other piece?" }, { "prediction": "I think this should be `assert.isTrue( hasContentVirtual(tree, '#target')[0], true, true, false)`", "reference": "Yikes... That was probably me." }, { "prediction": "I'm not sure if this is a good idea, but I think it's better to use `Resources` instead of `Attachments`.", "reference": "It would be better to move the... outside of the l8n block. This way it won't need to be translated for each language twice." }, { "prediction": "I'm not sure why this is needed.", "reference": "That's a huge load of new dependencies. I think it's better to create a reload function on ScriptManager and control with enum instead." }, { "prediction": "I'm not sure if we should add this to the `NewJob()` below.", "reference": "`NewUpgradeTaskJob` -> `NewUpgradeResource`" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Is that the memory usage of the system or the process / awesome?" }, { "prediction": "I don't think we need to do this. The `callback(Realm, string|Schema)` should only be called when a schema event occurs.", "reference": "\"change\" *and* \"schema\" events (A bunch of these; not marking them all)." }, { "prediction": "nit: `@return this for method chaining` -> `@inheritDoc`", "reference": "I think there is probably a shorter, more descriptive name for this. Something like `commitAtSequenceNumber`?" }, { "prediction": "Line is too long. [82/80]", "reference": "The `url_name` should definitely be more than just 1 character long at the shortest. How about 3 or 4 characters?" }, { "prediction": "I'm not sure why this was removed.", "reference": "Please revert this change" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "Nice. I hadn't even heard of presenters in Rails before (learn something new every day) :)" }, { "prediction": "This should be an array of DownloadStrategyInterface, not an array of DownloadStrategyInterface.", "reference": "`string[]`? not sure, can you verify this @core23? Thank you" }, { "prediction": "I'm not sure why this is needed. The `clearTimeout` function is only called when `playbackManager.isPlayingVideo()` is true.", "reference": "are we aware that this breaks older browsers like WebOS? :) they don't handle `let`" }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it should be `self.set(key, value, ttl)` instead of `self.delete(key)`", "reference": "This isn't really a Kinto record but a Memcached record. I could kind of go either way on this." }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to call `account.downloadProfilePhoto()` in the `if (id.customAttributes!= null && id.customAttributes.equals(account.id.customAttributes)) {... }` block.", "reference": "Kick off the download after login." }, { "prediction": "This should be `array`.", "reference": "I don't think you need to change this, `array` should be accepted whenever `string[]` is expected. (`string[]` is an alias of `array` itself an alias of `array` which is a parent type of `array`" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "TODO: fix this, probably in another PR" }, { "prediction": "I don't think we should start the hinting if we don't have a tab or window. It's not possible to start the hinting if we don't have a tab or window.", "reference": "Is there any case that tab is None?" }, { "prediction": "I'm not sure why this is needed.", "reference": "pls use `err` instead of `e`" }, { "prediction": "I'm not sure this is the right way to do this. The `attachGamepadScript` function should only be called if `navigator.getGamepads` is true.", "reference": "`attachGamepadScript` above can also be placed inside." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "when we use RegisterWriteCommand,this func should be exported,so we can use this to get signer at the outside action package" }, { "prediction": "I'm not sure if this is the right place to remove it.", "reference": "Dead code - we should remove it or use `log.Trace` for lower logging level. Same applies for change at line 138." }, { "prediction": "I'm not sure if this is the right place to catch `boost::numeric::bad_numeric_cast`.", "reference": "How does this make sure invalid coordinates making the parser fail? Relying on the Coordinate type's boost numeric_cast calls in the ctor? Shouldn't we rely on a coordinate's `.IsValid()` member function instead?" }, { "prediction": "Line is too long. [87/80]", "reference": "Simple Storage **Service**" }, { "prediction": "This should be `defined('CACHE_ENABLED') || define('CACHE_ENABLED', $useCache);`", "reference": "Does this line (and the corresponding one in the test bootstrap) actually do anything? I don't see where CACHE_ENABLED is used as a global constant." }, { "prediction": "I think we should rename these tests to `TestTransitionDependenciesResolved` and `TestVerifyTransitionDependenciesResolved`", "reference": "has this changed? are we testing \"all possible situations\" now?" }, { "prediction": "I'm not sure if this is the best way to do it, but I think it would be better to have a single `.` at the end of the line, so that we don't have to add a comma at the end of the line.", "reference": "ZK is properly spelled 'ZooKeeper' (capital 'K')." }, { "prediction": "I think this should be `~/.config/gcloud/application_default_credentials.json` instead of `~/.config/gcloud/application_default_credentials.json`", "reference": "Guessing this locates the key you get when you run `gcloud auth application-default login`? What was the previous behavior/the behavior for the manual Veneer creds?" }, { "prediction": "I think this should be `(columnSelected && this.countRows() > 1) || (columnSelected && this.countRows() > 1);`", "reference": "looks good to me, but it would be better if you assigned `this.countRows()` into a variable, so it doesn't trigger twice in the return statement" }, { "prediction": "I don't think this is needed.", "reference": "For now, don't add \"use strict\" to any existing files. That's a separate project that we'll do later. (New files can use \"use strict\".)" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "I was confused by this env name variable, assuming it was the value, not the name. Silly nit, but maybe name it noninteractiveEnv?" }, { "prediction": "I don't think we need posix='win' in sys.platform", "reference": "`sys.platform` could be equal to `darwin` which is posix. Use `not startswith('win')`?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "let's move this into `slack_helper.go`" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "I doubt it will work, but without space between -o and ControlPath it should. Lets see. What I do not understand is why we did not see a failure on CI related to this?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "this is the reason we might be seeing 360 as discrete bearing" }, { "prediction": "I think this should be `astroid_version` instead of `sys.version`.", "reference": "`FULL_VERSION` is available at module level for others to use, but it won't have `%(prog)s` substituted with pylint. Will that be a problem. Also put it here instead of __pkginfo__ with other versions because it isn't pkginfo related." }, { "prediction": "Can we use `long` instead of `long` for `rowPosition`?", "reference": "Is this needed? I don't see any uses." }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if it's a good place to put this in.", "reference": "Shouldn't this be V1beta1?" }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be `approval.destroy` or `approval.update(status: 'pending')` or `approval.update_all(status: 'pending')`", "reference": "I think there's an `approval_for`" }, { "prediction": "I think this should be `transform(Iterable iterable);`", "reference": "Here we should use List in generic" }, { "prediction": "I think this is the only place where `javaCompile.getTargetCompatibility()` is used.", "reference": "The `JavaCompile#getToolChain` method got removed and I am not sure what a good replacement is. I replaced it with `targetCompat` for now but they are not equivalent. Maybe we can use `JavaVersion#current` here?" }, { "prediction": "I think this should be `string` instead of `string`.", "reference": "The method name is incorrect. It does not check the existence of the file. I'd suggest deprecating both methods `fileExists` and `findIdByHash` and use findIdByFilename instead of fileExits" }, { "prediction": "This should be `__u8 nat_lvl1_drop = 0;`", "reference": "We have `stdbool` imported, might as well use that for clarity." }, { "prediction": "I think this should be `batchstore` instead of `batchstore`.", "reference": "File is empty, consider removing?" }, { "prediction": "I don't think we need to pass `writeConcern` as a parameter to `writeConcernMax()`.", "reference": "`writeConcernMax` was changed to return a `writeConcern` formatted the new way-- `writeConcern: {w:1,...}`. Bulk execute takes an actual `WriteConcern` object as its first parameter (this was changed in master), so we have to un-wrap the `writeConcernMax` result here." }, { "prediction": "I'm not sure if this is the right place to set `@frozen_sort` or if it's the right place to set it. I'm not sure if it's the right place to set it, but if it's the right place to set it, I think it's the right place to set it.", "reference": "How about passing this through the `config`?" }, { "prediction": "I think this should be `pytest.mark.skipif(os.environ.get(\"TEST_TARGET\") == \"AWS_CLOUD\", reason=\"test only applicable if run against localstack\")`", "reference": "Out of curiosity - did we make this change to allow dynamically assigning a value to `os.environ[\"TEST_TARGET\"]` during test execution? I kind of liked the decorator style `@only_localstack` - makes the condition a bit more explicit. Looks like `skipif` also allows to specify a condition string, e.g. `pytest.mark.skipif('os.environ.get(\"TEST_TARGET\") == \"AWS_CLOUD\"')` - could that be an option? (not sure if that gets lazily evaluated at runtime right before the execution of the annotated test method starts, though..)" }, { "prediction": "This should be `$this->domainId = $sliderItemData->domainId;` instead of `$this->domainId = $sliderItemData->domainId;`", "reference": "I noticed (SonarCloud noticed actually) that the implementation of `::edit` method is the same as `__construct` is. Does it make sense to call the `edit` method from the constructor?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "would you please rename the message prefix to: [in_syslog]...\"" }, { "prediction": "I'm not sure if this should be **molExt or **molMol.", "reference": "The pointer to a pointer is kind of gross. How about either taking the `ROMOL_SPTR` directly or, preferably, returning an `std::pair`?" }, { "prediction": "I'm not sure if this is a good name. I think it's better to call it `PendingCountLocked` or something like that.", "reference": "the name confusing, please rename to `pendingCountNoLock` or similar" }, { "prediction": "I think we can remove `Gen.CreatorPubKey` from `tsf0.SetSrcPubkey(pubk)`", "reference": "line is 175 characters" }, { "prediction": "I think we can remove the `client!= null && client!= restClient`.", "reference": "@ivanbogdanov Does this fix the first time load gray screen issue that @wmathurin noticed?" }, { "prediction": "I don't think we should remove this warning.", "reference": "Is `2.3.0` version OK?" }, { "prediction": "Use the new Ruby 1.9 hash syntax.", "reference": "I tested it only in Firefox (`./go //rb:firefox-test`)" }, { "prediction": "I think this should be `func NewTestClient(handlerFunc http.HandlerFunc) (*TestClient, error) (*TestClient, error)`", "reference": "separate third party and builtin" }, { "prediction": "I don't think this is the right place to do this. The `isHybrid() || BootConfig.getBootConfig(frontActivity).shouldAuthenticate()` check should be done in the `shouldAuthenticate()` method.", "reference": "@smcnulty-sfdc We do want to finish the hybrid activity in our hybrid apps though. Could the caller not pass in `frontActivity` instead? Or start it up again post-logout?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "isn't this going to return a timeout error if the context is canceled?" }, { "prediction": "I don't think this is the right place to put this. It should be parsedArgs.put(argNameVal[0], \"true\"); if (argNameVal.length == 1) { parsedArgs.put(argNameVal[1], \"false\"); }", "reference": "`argNameVal.length` will still be!=2, so line 22 will give true and then continue on line 24" }, { "prediction": "I think this should be `if ($chars[$i] === '\\\\' || preg_match('/\\w/', $char)) {`", "reference": "It was `$chars[$i]` I believe." }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer double-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer double-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer double-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don", "reference": "This has the likely potential to break existing tests that are relying on the old beaker behavior. If we are going to release this in beaker 3.x, then we need to preserve the old behavior as well (so set both the `upcase` and original values). On Windows, they env variables will overwrite each other, with the same value, so not an issue. On *nix, there will be two env variables, but they will have the same value, so again no issue." }, { "prediction": "I think this should be `var variableOptions = variableOptions || {};`", "reference": "Thanks for fixing this! I probably didn't test the playground when making changes here for cloud variables." }, { "prediction": "nit: \"Selected field ids cannot be null\" -> \"Selected field ids cannot be null\"", "reference": "I will also check if `nameMapping` needs a precondition null check." }, { "prediction": "I think this should be `String.format( \"Failed to create the file's directory at %s.\", file.getParentFile().getAbsolutePath())`", "reference": "Since RuntimeIOException is deprecated and you are touching this code, why not replace it?" }, { "prediction": "I think this should be `getScalarMetricWithTimeOfDayAnomalyParams([0], tmImplementation=\"\")`", "reference": "You should also have a test that calls it with tm_cpp and make sure it returns the correct JSON file." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "One more minor change, the string `ForAdditionalLiveTvOptions` is probably also unused." }, { "prediction": "This should be `LOG(WARNING)` instead of `LOG(ERROR)`.", "reference": "How to distinguish between warning and error?" }, { "prediction": "I think this should be `if UIAHandler.isUIAAvailable:` instead of `if UIAHandler.handler.onForegroundChange(newForeground.windowHandle)`", "reference": "Perhaps you want to check if UIAHandler.handler is not None. The current check will break NVDA if you call UIAHandler.terminate() for some reason." }, { "prediction": "Why do we need to set this to `true`?", "reference": "can we make `replace-partitions` property a static variable in `SnaphotSummary.java`?" }, { "prediction": "Line is too long. [82/80]", "reference": "Maybe call it `WireBridge`?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "Should really be `one()`, not `one_or_none()`" }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to do this in a `if labels, ok := out.NodeRegistration.KubeletExtraArgs[\"node-labels\"]; ok {`", "reference": "Should we use strings.Split and strings.Join instead of manual concatenation?" }, { "prediction": "I'm not sure if this is the right place to put this method.", "reference": "rough that this needs to exist, but it is what it is" }, { "prediction": "I'm not sure why this test is failing. I'm not sure why it's failing.", "reference": "FYI, I pulled your branch and hacked a little on your test case. This passes for me (you may want to tweak further):
     it('should not set empty string for null props in custom elements', () => { customElements.define('x-bar', class extends HTMLElement { val; }); // @ts-ignore render(<x-bar val={null} />, scratch); expect(scratch.childNodes).to.have.length(1); expect(scratch.firstChild).to.have.property('nodeName', 'X-BAR'); expect(scratch.firstChild.attributes.length).to.equal(0); expect(scratch.firstChild.val).to.equal(null); }); 
    " }, { "prediction": "This should be LARGE_MEGABYTE_BYTES", "reference": "It is the maximum value that the configured emulator can support." }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "Here, I've been giving priority to the session saved by the user. This means, that if the user quits with `:wq`, then restarts `qutebrowser`, and then `qutebrowser` crashes for some reason, next time `qutebrowser` is restarted, the session saved lastly with `wq` will be restored, and not the one autosaved. What do you think?" }, { "prediction": "I'm not sure if this is the right place to call this function.", "reference": "this line got me confused for few seconds, as the `AccountData` is both the name of the data structure as well as the function name. I think that `GetAccountData` is a better choice for a name. ( note that the same applies for the previous `BalanceRecord` function name )" }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "I think this mutex is only used here. Remove it." }, { "prediction": "Why not just set it to `1`?", "reference": "so this is now init to 1?" }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "For future note; not prefixing the table in a join can throw an error in the query parser depending on how the query is built I am making an assumption this was tested" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "Had to bring this up, will abandon this style of testing based on Joel's work soon." }, { "prediction": "why remove logOk?", "reference": "What does our source validation complain about here? Many of the logok/nowarn places look fine to me at a glance but I'm no match for the logging policeman ;-)" }, { "prediction": "I think this should be `BYTECOUNT:(.*),(.*)$`", "reference": "It feels like this dependency should not be here. Some deep internal openvpn package (middleware) knows about one of possible stats consumers. Maybe as an alternative, statistics and state callbacks can be extracted as separate interfaces in top openvpn package and reused by both sides" }, { "prediction": "I'm not sure this is the right place to do this.", "reference": "Can you please remove `codec` from the parameters too? I think it's unused now." }, { "prediction": "I think this should be `new ReflectionClassDeclaration(Object.class, typeSolver);`", "reference": "mocks needed this change so that it returns the \"right\" thing" }, { "prediction": "This should be `@Getter` and not `@Setter`.", "reference": "I don't think the getters for this are needed, but looks good other than that" }, { "prediction": "I'm not sure this is the right place to put this in, but I think it would be better to put it in a partial, so that we don't have to repeat the logic in the partial.", "reference": ":+1: to inlining this." }, { "prediction": "Why did you remove this line?", "reference": "Does psalm support the same logic internally for object-like arrays? Just want to be certain I can indicate this is a contextual return item `crypto?:mixed`." }, { "prediction": "I'm not sure why this was removed.", "reference": "I can't recall if there was a fix specific to this in the past?" }, { "prediction": "I'm not sure this is the right thing to do here. The `SecretKeySelector` is a `corev1.SecretKeySelector`, not a `Secret` struct.", "reference": "Not sure what the todo is here? Is it to support some kind of defaulting based off of that?" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure it's the best way to do this.", "reference": "Not sure about this name. I think \"explicit\" is also a bit difficult here (I think it should be implicit then) Proposal: FlushOnEvents. Or, It would be cool if we could split into 2 options, FlushOnShutdown and FlushOnReload, but I expect that's far more difficult to implement?" }, { "prediction": "I think this should be `pytest.mark.qt_log_ignore('QIODevice::read.*: device not open')` instead of `pytest.mark.qt_log_ignore('QIODevice::read.*: device not open')`", "reference": "I don't think that works - you can't mark a fixture." }, { "prediction": "I'm not sure this is the best place to put this. I'm not sure what the best place to put this is. I'm not sure what the best place to put this is, but I'm not sure what the best place to put it is.", "reference": "We should not include this path." }, { "prediction": "I think this should be `str(violation_data)`.", "reference": "Add newline at end of file" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if we should add a new column to the `FEEDS` table. I'm not sure if this is the right way to do it.", "reference": "This should be done when updating to the next release (2.5). You currently only perform the upgrade when users go from 1.4 to 1.5, so it will lead to crashes for existing users." }, { "prediction": "I think we should move this annotation to the `hive.openshift.io/clusterName` constant.", "reference": "suggest hive.openshift.io/cluster-machine-management or something to make it more obvious what it is." }, { "prediction": "I don't think this is the right place to put this dependency.", "reference": "We explicitly don't want to do that. This was a complaint from users before." }, { "prediction": "I don't think this method is used anywhere.", "reference": "Hello, The PHPDoc is `string[]` not `int[]`" }, { "prediction": "`enterNS bool` is not used anymore.", "reference": "Same issues with parameters order in `ipset_server.go`" }, { "prediction": "I don't think we need to change this.", "reference": "Wow, did it literally mean the retention days is a huge number?" }, { "prediction": "I'm not sure this is the right place to put this check.", "reference": "you probably didn't intend to touch those files in `scripts/`" }, { "prediction": "I think this should be `tpfp_eval` instead of `tpfp_eval`.", "reference": "Similar to `collate_fn`, we may rename it to `tpfp_fn`." }, { "prediction": "This should be `return this.wot.wtTable.holderOffset.top;`", "reference": "Awesome! We may also use negative rule `never` to fix new lines after `return`: `{ blankLine: \"never\", prev: \"return\", next: \"*\" }`" }, { "prediction": "I don't think this is needed.", "reference": "Why can't this be a function on the `Config` interface like all the others?" }, { "prediction": "I think you can remove the `feed == null || feed.getTitle() == null` check.", "reference": "If the feed is null, the menu items should still be setup. Just the feed title can be left out. That prevents possible flickering when menu items are displayed/hidden for some feeds." }, { "prediction": "I think this should be `pendingUpdate.allowNullableChanges()`.", "reference": "I'm not sure that this should call `allowIncompatibleChanges()` because adding a required column when there are no existing values will break reading the new column in any table with data in it. The only time it is safe to add a required column is if there is no data in the table. What about throwing an exception here instead? I agree that the column should not be optional if NOT NULL was specified. Another alternative is to check whether the table has data and allow the incompatible change if it doesn't have any rows." }, { "prediction": "I don't think we should use the constant here.", "reference": "Early translation, should be logic-less" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's a good idea to put this in the interface.", "reference": "I don't understand why these functions return a request/response, respectively. In all implementations we actually _modify_ the request/response given as a parameter. Do you envisage situations where we'd want to construct completely fresh request/response objects? Even if we do, it's not something needed atm, so I'd favour in keeping the API minimal. Also, the fact that these functions _may_ mutate the request/response should be noted." }, { "prediction": "Trailing whitespace detected.", "reference": "Wasn't there a subsequent reason why we had to keep the `/p/project_graph` route? Outside references or is the proposed solution to the original proposal we us `/p/g` as the `compares#project_graph` route?" }, { "prediction": "I think this should be `gen.apply(RANDOM).isIn(1,2,3);`", "reference": "Any suggestions on how I would even _approach_ writing tests for arbitrary values...." }, { "prediction": "Why is this needed?", "reference": "Scope declarations for class constants was not added until 7.1, this will not be accepted." }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to do this in the `onClientDisconnected` callback, so that we don't have to do this in the `onClientDisconnected` callback.", "reference": "The assertion here is that find should never return end() because this is the only mechanism that reaps items from the activeClientMap. If it == end something went horribly wrong." }, { "prediction": "I'm not sure this is the right place for this interface. I think it should be `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)` or `Key(string) (interface{}, error)`", "reference": "The `unless the collection...` part reads a little bit hard, maybe separate into its own sentence and explain what it means by `cannot generate a fresh key`?" }, { "prediction": "Why did you change this from Unimplemented to FailedPrecondition?", "reference": "Doesn't `gcerr_string.go` need to be updated for this?" }, { "prediction": "I think this should be `typeToRunes` instead of `typeToRunes`.", "reference": "Both cases allowed by the Go spec are now supported, so it's a bug in the compiler if we get here. You can replace the `todo:` error with a panic. (Note: getting here would be a bug because when we get to SSA level the code has long been type checked and has already been verified as being valid Go)." }, { "prediction": "I'm not sure this is the right place to put this function. It's only called in `load_prepared_history`.", "reference": "You can simply do `if tab.history_prepared:` here as empty lists are falsey." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it. I'm not sure if this is the right place to put it.", "reference": "Remove this whitespace" }, { "prediction": "`one_img = mmcv.imresize(one_img, input_shape[2:][::-1])`", "reference": "`show_img` is not normalized while `one_img` is normalized. And line 139 pass `show_img` for pytorch2onnx function. Is this expected behavior?" }, { "prediction": "I'm not sure this is the right fix. The `inputOffset` variable is only used in the `updateSubtitle` function, so it's not needed anymore.", "reference": "Why is this bounded between -30 and 30?" }, { "prediction": "I don't think this is needed.", "reference": "I think even you can exclude to run it on nvcc" }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "G104: Errors unhandled. (from `gosec`)" }, { "prediction": "I'm not sure if this is the right place to raise this exception, but I'm not sure if this is the right place to raise it.", "reference": "will `failure` always include `arn` and `reason` in its dictionary? If so, :+1:" }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if it's worth it.", "reference": "Should this be optional, or default to 'action' as well?" }, { "prediction": "I think we should move this import to the top of the file.", "reference": "how about formating this import?" }, { "prediction": "`shouldAutoTether` should be `isCaret`", "reference": "Comma police. :) Also, the docstring needs updating." }, { "prediction": "I think we should rename this to `CloudMigrateDriver`", "reference": "Implement an in-memory implementation of this in the fake driver." }, { "prediction": "Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end.", "reference": "Same question as the other view spec regarding not actually saving records." }, { "prediction": "I'm not sure if this should be `Exception ex` or `Exception ex`.", "reference": "Rethrow for `MustBeRethrown()`-exceptions?" }, { "prediction": "Is there a way to get the current device from the CUDA API instead of using the current device?", "reference": "May clean the unnecessary modification." }, { "prediction": "I'm not sure this is the right way to do this. The `pkg-config` file should be included in the `pkg-config` file, not in the `pkg-config` file.", "reference": "Should this line set the value to `x` since that is checked below?" }, { "prediction": "I think this should be `@return {@link DataFile data file} without file stats. Manifest readers can reuse data file instances; use this method to copy data without stats when collecting files.`", "reference": "I don't particularly love the terminology here. Why not simply add `copy(boolean stats)` or a copy with an enum to indicate what portions of the datafile to include? At some point we may want just some of the values (e.g. CBO may want counts, but not lower/upper bounds). Just a thought." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to use `String.indexOf(ann, '+')` instead of `String.indexOf(ann, '+')`", "reference": "you could probably remove keyValue and just compare idx vs ann.length (ex I think the goal here is to ensure it works with a value like `foo=`" }, { "prediction": "I'm not sure if this is the right way to do it, but I think it would be better to have the `recording_start` parameter in the `file_type` parameter.", "reference": "we do this to differentiate between the multiple cc files for when the recording is stopped / restarted multiple times within a single meeting" }, { "prediction": "I don't think we need this mapping anymore.", "reference": "You've deleted this code but not added it anywhere else. Should this be used as my proposed example in the.ini file? Do we need a mechanism for configuring a global fallback string independent of the numeric codes?" }, { "prediction": "Please revert this change.", "reference": "nit: strip away those imports? seems not used in the new code." }, { "prediction": "I don't think this is needed.", "reference": "redundant whitespace :octocat:" }, { "prediction": "Is this change intentional? I don't think it's related to this change.", "reference": "I don't believe that the `assertDictEqual` call can pass without `api_response` being a `dict`, so this second check isn't needed!" }, { "prediction": "I'm not sure this is the right fix. The mem_free_shared() function is called for every call to h2o_iovec_decode_string(), which is called for every call to h2o_decode_string(). I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "Fuzzer did not like this change. Looks like I misunderstood how the pool works... if allocated from a pool we should never free it manually, right? I think I'll need to drop this patch." }, { "prediction": "I'm not sure if this class should be abstract or not.", "reference": "Wouldn't it make sense to already have title, owner etc in this class?" }, { "prediction": "Line is too long. [87/80]", "reference": "New generators should have version `next`" }, { "prediction": "I think this should be `--metrics-protocol-name`", "reference": "Wrap these two lines inside an `if (node.isMetricsEnabled() || metricsConfiguration.isPushEnabled()) {... }`" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to move the `end_level == -1` check into the `start_level` and `end_level == self.num_ins`.", "reference": "if end_level == -1 or end_level == (self.num_ins - 1): for end_level is the Index of the end input backbone level." }, { "prediction": "Should this be `sizeof(long) + Path.Length + arrayOverhead + 4 /* aligned bools */`?", "reference": "No CLR overhead?" }, { "prediction": "I think this should be `t.Fatalf(\"error creating test client: %v\", err)`", "reference": "Consider faking the TestClient's GetProject/GetZone/GetMachine methods." }, { "prediction": "I'm not sure this is the right thing to do here. The peer chooser and outbound must share the same transport, in this case, the transport's RetainPeer to obtain those peers.", "reference": "Returning a private type as part of the public API? Isn't this impossible for users to implement?" }, { "prediction": "I'm not sure if this is the right way to do it, but I'm not sure if it's the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "prefer common_properties::_canonicalRankingNumber if possible, should be quicker in general." }, { "prediction": "I think this should be `loss_normalizer_momentum`.", "reference": "The meaning of `loss_normalizer` and `loss_normalizer_momentum` should be reflected in docstring." }, { "prediction": "I think this should be `ioctlsocket(fds[1], FIONBIO, &nonblock);`", "reference": "Call to `cloexec_pipe` (or an equivalent function) is missing. I presume that this is the reason why you are seeing timeout errors." }, { "prediction": "Please don't use wildcard imports.", "reference": "There are no changes in this file. Please reset." }, { "prediction": "This is the Q-function: the tail probability of the normal distribution. :param distributionParams: dict with'mean' and'stdev' of the distribution", "reference": "Should we rename this to tailProbability?" }, { "prediction": "I think this should be done in the replace_stolen_reg() function instead of in the replace_stolen_reg() function.", "reference": "Add the issue number too i#4400" }, { "prediction": "Why is this change necessary?", "reference": "Why make this modifiable?" }, { "prediction": "I'm not sure this is the right place for this change.", "reference": "Why this file is changed?" }, { "prediction": "I'm not sure we should add this capability to `history.html` or `revert.html`?", "reference": "I'm not sure that we need this" }, { "prediction": "I don't think we need to check for `JObject` here.", "reference": "Is this going to cause issues in any other places were someone forgets the version? Should we consider also checking for type=project?" }, { "prediction": "I think this should be `return aws.StringValue(out.SecretString), nil` instead of `return aws.StringValue(out.SecretString), nil`", "reference": "Does this have retries? Is there a possibility that customer would hit throttle errors here?" }, { "prediction": "I'm not sure if this is safe to do on FreeBSD due to the lack of `pthread_np.h` in `sys/cpuinfo.h`.", "reference": "i noted that we are inconsistent with when we indent includes (see atomics.h which is rather different) and for example cpu.c which is also different. we seem to have 3 styles." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Deleting the files before starting the audit helps avoid stale results if the new file is not created." }, { "prediction": "I think we can remove the `spcGot` variable from the `CreateStoragePool` function.", "reference": "Remove this blank line" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "This is... quite unconventional (use a map entry as a key). I would suggest making your own data class for the key." }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to have the `background_color` and `color` values in a dict.", "reference": "why are these colors needed to be specified here? when are they used?" }, { "prediction": "I think this should be `UnsupportedOperationException`.", "reference": "Nit: no need to change this method." }, { "prediction": "I think this should be `data_access` instead of `email_violations`.", "reference": "Why a blank line?" }, { "prediction": "`html_safe` is not safe here.", "reference": "Why remove the `.html_safe` here? Should we use `sanitize` or `raw` instead? This info comes off of the org edit page and is entered by users." }, { "prediction": "(style) please, no space before tabs", "reference": "I think we need some docs about how to set this parameter correctly. Are we OK with changing the public API like this? We probably at least want to make a change notice to the release doc." }, { "prediction": "why is this needed?", "reference": "When we undo this for 1.3, do we not need to leave these three entries intact to avoid renumbering of the subsequent constants? If so perhaps the changes to this file should be pulled into a separate initial commit so we can just `git revert` the remainder..." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "This is never set anywhere in the `cli/gen-api` folder. Should it be?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "All the changes in this commit are mechanical. Produced by the script in the previous commit." }, { "prediction": "Travis doesn't support raw commands, so this should be `cmd 'travis_terminate 2'.", "reference": "What's the difference between these 2 versions?" }, { "prediction": "I'm not sure why this change is needed, but I'm not sure it's worth it.", "reference": "@red2k18 Are we sure its correct to only have 1 now?" }, { "prediction": "I think this should be `RDKit::common_properties::_specifiedOrder`", "reference": "@greglandrum interesting, is this related to #3307 by any chance?" }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like it should be in the `ApplicationController` instead of in the `UserController` class.", "reference": "Minor: how about moving the trailing `if` to an `elsif` above?" }, { "prediction": "I'm not sure if we should add this column to the `FEEDS` table. I'm not sure if it's a good idea to add it to the `FEEDS` table.", "reference": "That's only executed when users switch from 2.2 to 2.3. Please create a new block with code `2050000` for the next release :) Please also adapt the version number in PodDbAdapter" }, { "prediction": "I think this is a good place to put this FIXME. I'm not sure if it's a good place to put this FIXME, but I think it's a good place to put this FIXME.", "reference": "Safe to reference c.srv without capturing it first under a client lock?" }, { "prediction": "I don't think you need this file.", "reference": "@vincepri blame tells me this was you, any objections to the change?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "@abhinav here is where i need to be able to block/wait until the server is started" }, { "prediction": "`@return null`?", "reference": "It seems to me as an unrelated change. Could you please revert it?" }, { "prediction": "I don't think we need this package, it's only used in tests.", "reference": "~Why are putting all these APIs in their own ~packages~ files? So many more ~directories~ files, to what end? Why not just have them all be a part of the same API file and all live alongside each other so you can easily see them?~ Edit: nevermind, probably works best in separate files." }, { "prediction": "I don't think this is the right place to put this method.", "reference": "This likely needs to be double checked -- I recall being convinced at the time of writing this, but now I am less sure" }, { "prediction": "I don't think we need to include exact match in the whitelisted license.", "reference": "For a followup - it is better to use acceptlist/denylist. I realize this is a historical artifact of our codebase." }, { "prediction": "Please revert these changes.", "reference": "Looks like glassfish went a bit nuts doing a refactor" }, { "prediction": "I don't think this is the right place for this test.", "reference": "Couldn't you use position:absolute or float to move inline elements outside their parent? Through clipping an child element can also be outside it's parent. There are probably some other ways to do it too. So I'm not sure the assumption you're making here is right." }, { "prediction": "I think this should be `DateTimeUtils.toMillis(args.getLong(1));`", "reference": "This could be copied into iceberg code to avoid the spark internal dep? We could use a version check to adjust the method used if needed." }, { "prediction": "I'm not sure this is correct. The `flux_subprocess_aux_get()` returns a pointer to a `flux_t` and the `flux_log_error()` calls `flux_subprocess_aux_get()`, which returns a pointer to a `uintmax_t` and then calls `flux_strerror()` on it.", "reference": "This one had me stumped!" }, { "prediction": "I'm not sure if this is the best way to do this.", "reference": "Note that this name differs from the name used as default (and thus used now that you removed this). That should be fine, but wanted to flag it." }, { "prediction": "I think this should be `createIndexQueryBuilder` instead of `createAutocompleteQueryBuilder`.", "reference": "Why public and not protected?" }, { "prediction": "Line is too long. [82/80]", "reference": "We definitely need to address this duplication after MVP" }, { "prediction": "Can we use `__` instead of `__`?", "reference": "This will always generate a label for the first keyword, which means this will be a label linked to no element after the first keyword is entered. This label should be generated inside the `values.map` next to the `` it is for, because the ID changes based on the index. Also, we have a `VisuallyHidden` component I'd prefer we use over the CSS class. Building as many things out of components is more React-y. Admittedly it's sort of a preference, but it's why we have the `VisuallyHidden` component. So let's use that instead" }, { "prediction": "I'm not sure if this is the right place to free xcursor_theme.", "reference": "Does it make sense for this to be fatal? Could there be an embedded application that does not have xcursor themes at all? For instance, compositors without a pointer (like a touch-screen kiosk) will never show a cursor. I think I'm ok with this assumption since it simplifies the code and rootston is assumed to have desktop features, but we should always make sure xcursor is not required to be used in the library." }, { "prediction": "I'm not sure if we need to add `TopicFilter` to `Blockchain.Filters.Topics`, but I think it would be better to have `TopicFilterBase` implement `Accepts` and `Matches`.", "reference": "would rename to TopicsFilter and original one to SequenceTopicsFilter" }, { "prediction": "I think this should be `key == 0 or self.keys[0] == self.keys[0]`.", "reference": "Is the idea that ``self.keys[0]`` here normally matches ``init_key``?" }, { "prediction": "I think this should be `return hwnd == winUser.getDesktopWindow()`", "reference": "Can this be clarified to \"Exit early when hwnd is the windows desktop handle, UiaHasServerSideProvider would return false anyway.\"?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "I'm okay with leaving VCPULimit and MemoryLimit on our internal model" }, { "prediction": "I think this should be `clusterNetworkPolicyTierIndex` instead of `clusterNetworkPolicyTierIndex`.", "reference": "5 or 10?" }, { "prediction": "I think it's better to put this code in `ExportAsync` and call `SuppressInstrumentation.Begin()` in `ExportAsync` instead of in `ExportAsync`.", "reference": "Should we explain more here?" }, { "prediction": "I'm not sure this is the right type for this interface. I'm not sure if it's the right type for this interface, but if it's the right type for this interface, I think it should be `CreateOrGetMachine` instead of `CreateInstance`.", "reference": "I've been struggling with this on my cloud-init integration work as well. In addition to info that is currently stored in the cluster providerstatus, we also need some of the info that is available within the base cluster object as well. I think it would make sense to unify the machine and cluster info needed into a consolidated struct rather than continuing to add additional disparate structs." }, { "prediction": "I think this should be `@Deprecated`", "reference": "Why not `@InternalApi`?" }, { "prediction": "I don't think we should import `GenericMeta` here.", "reference": "FYI: `GenericMeta` is renamed to `_GenericAlias` in Python3.7." }, { "prediction": "I'm not sure if this is the right place to put this conditional, but I'm not sure if it's worth it.", "reference": "So this hides the link to re-order sections on Historic Templates? Good catch, Just checked on DMPonline and hitting that throws a 404" }, { "prediction": "I'm not sure if this is the right place to reset the reporter. I'm not sure if it's the right place to reset the reporter, or if it's the right place to reset the reporter.", "reference": "Is `Reporter#reset` no longer used? If so, can we remove it?" }, { "prediction": "I think this should be `writeLongScalar(header.getBaseFee().get());` instead of `writeUInt256Scalar(header.getBaseFee().get());`", "reference": "same concern here about difference in the write scalar implementation. I am not sure if this could present a consensus problem or not" }, { "prediction": "I think this should be `MvvmCross.SplitViewController` instead of `MvvmCross.TvosView`.", "reference": "Can we remove this file?" }, { "prediction": "I don't think this is the right place to put this message.", "reference": "Why listing only first error reason (`ErrStatus.Details.Causes[0].Message`)?" }, { "prediction": "I'm not sure if we should default to `true` by default, but I think it's better to default to `false` by default.", "reference": "Now that this is true, do we have to ignore it with V1 Tables?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's worth it.", "reference": "prefer if (condition) { stuff; } to if!(condition) { continue; } stuff" }, { "prediction": "Use the new Ruby 1.9 hash syntax.
    Space inside { missing.
    Space inside } missing.", "reference": "Should this section not be converted to a secondary action list?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "This askes a blocking question, which means a local Qt eventloop will be running. While this is unavoidable sometimes, the async functions should be used whenever possible (`message.confirm_async` in this case). This means: - Split everything after this question in a separate private method (you can probably just call it `_tab_close`) - If the tab is not pinned, just call `_tab_close` directly - If it is pinned, call `message.confirm_async` with `yes_action=self._tab_close`" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Can we deuglify this?" }, { "prediction": "I think this should be `flatMap(partialFunction.lift()::apply)` instead of `flatMap(partialFunction.lift()::apply)`", "reference": "@skestle Just recognized that the `::apply` is not necessary. Does it compile if you leave it away? Could you please check that, I'm on vacation and have no IDE at hand... Thx!" }, { "prediction": "Why not just use the table's sche?", "reference": "Looks like this is an unnecessary change." }, { "prediction": "I'm not sure why this was changed.", "reference": "This one won't change as the resource is not included in the project getting tested with the composite root." }, { "prediction": "This should be `__u8 nat_lvl1_drop = 0;`", "reference": "We have `stdbool` imported, might as well use that for clarity." }, { "prediction": "I'm not sure if this is the right test to test, but it seems like it should be `SqlServerIntegration.OperationName` instead of `SqlServerIntegration.ServiceName`?", "reference": "Why do we not also have integration tests for postgres?" }, { "prediction": "I think this should be `shouldCorrectlyReindexOnCollection` instead of `shouldCorrectlyForceReindexOnCollection`.", "reference": "I think its safe to remove this if we're removing `reIndex` outright. The description shows us that the test is \"An example showing how to force a reindex of a collection\"" }, { "prediction": "I'm not sure this is the right value for this error number.", "reference": "Can you make this hexadecimal to match the other constants?" }, { "prediction": "I'm not sure why we removed this, but I'm not sure if it's safe to remove it.", "reference": "Can this get moved to `Bolt::Project#validate`?" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "I'm pretty sure it doesn't harm, but don't we have a second pass here with the reverse() operation?" }, { "prediction": "I'm not sure this is the right capability type for heap snapshots. I'm not sure if it's the right one, but I'm not sure if it's the right one.", "reference": "This is not a standard capability and should be hidden behind a vendor prefix: -chromium-takesHeapSnapshot" }, { "prediction": "I'm not sure how to get rid of this.", "reference": "This shouldn't work with pointers -- prefer references unless you can meaningfully pass `nullptr`. The address-of operator here is clunky at best." }, { "prediction": "I'm not sure if this is the right commit.", "reference": "Sidenote: some day we'll drop the avr-gcc and avr-libc dependencies so that this case becomes supported." }, { "prediction": "Why is this change needed?", "reference": "do we still need this method?" }, { "prediction": "I don't think this is the right fix. The xformedEffUpsert() function is only called when the operatorType is REL_UNARY_INSERT, and it doesn't really matter if the operatorType is REL_UNARY_INSERT or REL_UNARY_INSERT.", "reference": "It's better to not leave this old code here... it just clutters things up and makes reading the code more confusing. We can always recover the old code from the repository if needed." }, { "prediction": "I don't think this import is needed.", "reference": "Again, you don't want to depend on glassfish." }, { "prediction": "Line is too long. [81/80]", "reference": "This shouldn't be required. What was going on here?" }, { "prediction": "I'm not sure if this is the correct version for TLS12, but if it's the default, then we should probably change this to `tls.VersionTLS12`.", "reference": "Why add this here?" }, { "prediction": "I don't think we need the `&&` here.", "reference": "nullability does not apply to headers type (that is always an object)" }, { "prediction": "I think this should be `(uint64_t) addr, (uint64_t) size, (uint64_t) addr, (uint64_t) size, (uint64_t) addr, (size, (uint64_t) size, (uint64_t) addr, (size, (uint64_t) size, (uint64_t) addr, (size, size, (uint64_t) size, (uint64_t) addr, (size, size, (uint64_t) addr, (size, size, (uint64_t) size, (uint64_t) addr, (size, size, (uint64_t) addr, (size, size, (uint64_t) size, (size, (uint64_t) size, (size, (uint64_t) size, (size, (size, (uint64_t) size, (size, (size, (size, (size, (size, (size, (size, (size, (size, (size, (size)", "reference": "Do we also need to add the iova, or is that done somewhere else?" }, { "prediction": "I don't think we should be using `UseNew` here.", "reference": "why change this?" }, { "prediction": "I'm not sure about this change, but it seems to me that `h2o_time2str_rfc1123()` returns a `time_t *` and not a `time_t *`?", "reference": "If there is no guarantee that tv_sec is of type `time_t`, IMO you should copy the value instead of enforcing a pointer typecast." }, { "prediction": "I think this should be `error.Errorf(\"a valid Dockerfile path is required\")`", "reference": "Should we validate the suffix before going to the filesystem?" }, { "prediction": "I think this should be `ddev_default` instead of `ddev`", "reference": "It feels like we should be working to reduce/eliminate our global vars. I'm not sure it adds much here. Any objection to just removing it?" }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "did you consider using AR enums for this? would give us all the boolean methods (`weekly?` etc) for free" }, { "prediction": "why not just return filename?", "reference": "This may change \"\" into None. Better return filename." }, { "prediction": "I don't think this is the right place to put this flag.", "reference": ":+1: That does resolve my security concerns about this feature." }, { "prediction": "I think this should be `get_if_raw_hwaddr()` instead of `get_if_raw_hwaddr()`.", "reference": "Could you add a docstring?" }, { "prediction": "I'm not sure if this is the right place to put theUserData() call.", "reference": "Shouldn't this still be `Region()`?" }, { "prediction": "I don't think this is needed.", "reference": "This shouldn't be here but `self.connected = None` in `__init__` instead, otherwise that'd be an attribute which is set this way in _every_ instance of that class (i.e. a class rather than an instance variable). I'd also say let's make it \"private\" (i.e. `_connected`) and please add a quick note about what it is to the docstring of the class." }, { "prediction": "I think this should be `create_no_window=False`.", "reference": "This would be better served as a method/property that is set when people don't want to a window." }, { "prediction": "I don't think this is the right place to put this method.", "reference": "I was dubious about putting getNonStreamingMethods in the context, but after some thought, I have decided to embrace the approach. In this particular case, the loop is supposed to be over page streaming methods. So, could you add a getPageStreamingMethods() method in the context, use it here, and remove the isPageStreaming() check below?" }, { "prediction": "I don't think this is the right place to do this. The `version` variable should be defined in the `__add_result_listeners` method, not in the `__force_tran_parent_sample` method.", "reference": "LooseVersion class can help here" }, { "prediction": "I don't think you need to do this. You can just do `zeros(shape.size(), 0)`.", "reference": "`const Dims zeros(shape.size(), 0);`" }, { "prediction": "I think this should be `options[:profile_examples] = count.nil?? true : count.to_i`", "reference": "Would be good for this not to say `10` anymore..." }, { "prediction": "I'm not sure if this is the right place to put the `dataErrorComponent` call.", "reference": "See above, we don't need to pass the module name here." }, { "prediction": "I think we should move this to the `FrontendApiBundle` namespace.", "reference": "This is random line :-) overridden String type by custom trimmed - please change that commit message to something like \"introduced custom String type with automatic trimming\"" }, { "prediction": "I don't think we should deprecate this.", "reference": "My personal taste: \"depreciated\" -> \"deprecated\"" }, { "prediction": "I don't think we need this.", "reference": "this includes the port as well right? should the name be `destinationServicePortName`?" }, { "prediction": "I'm not sure if we should use `retries` or `wait_for_completion` here.", "reference": "We can import all of them in one line." }, { "prediction": "nit: I think this should be `isEmpty()? Stream.ofAll(queue) : new AppendElements<>(head, queue.appendAll(elements), tail);`", "reference": "this was wrong, the rest were just inconsistent :)" }, { "prediction": "I think this should be `id=\"proposals-purchased\"` instead of `id=\"proposals-purchased\"`", "reference": "I gave them the EXACT SAME NAMES in my branch :)" }, { "prediction": "I think this should be `return 1`", "reference": "What would you think stat'ing the directory first before doing the log+mkdirall and only proceeding if the directory does not exist? The logging might be less confusing (I'd be wondering why it was logging that it was creating the directory when I knew it already existed)." }, { "prediction": "I don't think we need to add this to the internal trace context.", "reference": "Sorry about the confusion, I'm trying to address that in the PR follow-up. If we ever have `Span` objects, then accessing their properties is going to be safe. The only question remaining is \"What is the runtime type for Scope.Span?\" and we just have to account for it when it is `Datadog.Trace.Span` and when it is not" }, { "prediction": "Please revert this change.", "reference": "I was using this imports for writing the results to file to more easily check that it was valid JSON. You can probably remove these `java.io` imports." }, { "prediction": "I'm not sure if this should be a `logentry` type.", "reference": "You should probably include a `json:...` annotation here." }, { "prediction": "I think this should be `maxReasonLength` and `maxRuntimeIDLength`.", "reference": "can container ID > 255 chars? why are we doing this check?" }, { "prediction": "This should be `:values` instead of `:values`", "reference": "*\"This **field field** prohibits :other from being present.\"*, **field** word repeated is right?" }, { "prediction": "I don't think this is needed.", "reference": "nit: no need to add an alias for this case." }, { "prediction": "Why is this needed? I don't see it being used anywhere.", "reference": "Or `QUIC_LOG_LEVEL`. Which one do you prefer?" }, { "prediction": "I don't think we need to do this. `*virtualDiscDesc.CapacityAllocationUnits == \"\"` will always be `\"byte\"`.", "reference": "Minor: you can set it to byte here and only set it to *virtualDiscDesc.CapacityAllocationUnits if that's not nil/\"\". Saves two lines" }, { "prediction": "I think this test should be renamed to `test_buckets_can_be_created_with_post`", "reference": "While reading this I found that it makes actually little sense for \"beers\" to have a \"fingerprint\". We might want to do another pass on the examples here to use something that actually makes more sense to the reader. This could be done in another issue." }, { "prediction": "`mkString(\",\")` should be sufficient.", "reference": "Thank you! That's better, especially the conversion test should not test the mkString method :)" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "You're basically converting client to screen coordinates here, doing it manually. Is there a specific reason why you aren't using clientToScreen here? Does it fail?" }, { "prediction": "I'm not sure if this is the right place to do this. If MaxTransferModeCautious is set to `fs.Config.MaxTransfer`, then `accounting.Stats(ctx).GetBytesWithPending()+src.Size() >= int64(fs.Config.MaxTransfer)` will return `nil`, right?", "reference": "This needs to be done for server-side copies too, earlier in the function." }, { "prediction": "I don't think we need to do this.", "reference": "Do we want to add in `profile` here as well so we request access to the end user's default profile claims like name?" }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "I am not sure what the difference between approving and full approving is..." }, { "prediction": "I think this should be `github.com/docopt/docopt-go`", "reference": "Please back out the import changes in files you haven't touched. I think these happen if you run goimports without having the vendor directory populated" }, { "prediction": "I think this should be `peopleMultiplier` instead of `deptMultiplier`.", "reference": "Many tests in this class seem to have just been fortunate that `SolrIndexSearcher` ignored `fl` and retrieved all fields when not using lazy loading." }, { "prediction": "I don't think we should have this in the `contrib/description` file.", "reference": "Is this really needed?" }, { "prediction": "I'm not sure if `remove_method` and `define_method` are the right thing to do here. I'm not sure if `remove_method` and `define_method` are the right thing to do here.", "reference": "Is this necessary with line 38?" }, { "prediction": "I think this should be `>=3.1`", "reference": "DO we want to have >= here? Or ==" }, { "prediction": "Why do we need to change this?", "reference": "Can you also add this `\"version\"` tag to the CoreTags? Now that we're targeting the service/env/version trio" }, { "prediction": "Please add a space after `@expectedException \\InvalidArgumentException`.", "reference": "This entry will be incompatible with the currently implemented formatting rules. Maximum 120 characters per line." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, or if it's the right place to put it.", "reference": "Let's call this color_host_output or some such - preserve_host_output makes it sound like you won't get any output without this being set." }, { "prediction": "I don't think we need this anymore.", "reference": "suggestion: if we perhaps make `attributes` a getter in `virtualNode`, it does look seamless to access the property, same as what we have done for `isFocusable` or `tabbableElements`. `node.attributes` can become `virtualNode.attributes`" }, { "prediction": "I'm not sure this is the right place for this variable. It's not used anywhere.", "reference": "I think a float value fits better." }, { "prediction": "I think this should be `/pss/{topic}/ws` instead of `/ws/{topic}/tags`", "reference": "This should be (POST,DELETE) `/pss/subscribe/{topic}` for subscriptions and there should be `/pss/send/{topic}` for sending." }, { "prediction": "I don't think this is used anywhere.", "reference": "Closing over the closure arguments is a neat trick :+1: Love it :100:" }, { "prediction": "This test is not related to this PR, but I think it would be better to move this test to a separate test class.", "reference": "Does this need to be a block or can it be an expression?" }, { "prediction": "I think this should be `allowedPostRequest(req)` instead of `allowedPostRequest(req)`", "reference": "req.getQueryString()!= null is not necessary since same check is already done in allowedPostRequest" }, { "prediction": "I think it would be better to have a method `isRestOnlyTransport()` that returns `true` if `isRestOnlyTransport()` is true.", "reference": "As per go/actools-regapic-design, in the final product, generated GAPICs must be able to support multiple transports if supported by the API. For Java, we'll support this in the microgenerator; the monolith generates single-transport GAPICs. For PHP, the situation is likely similar, though on a longer timescale. All this to say that I would appreciate structuring the code in terms of \"supports REST\" rather than \"REST only\", but only where this doesn't require undue work. For everything else, please add a TODO to the effect of \"we're generating single-transport GAPICs for now, though in the fullness of time we'll generate multi-transport GAPICs.\"" }, { "prediction": "I'm not sure if this is the right way to do it, but I think it would be better to have the properties in the same order as the properties in the file.", "reference": "here is `:seconds` missing again" }, { "prediction": "I'm not sure this is the right place for this method. I'm not sure it's used anywhere.", "reference": "Changed this helper to also get class name." }, { "prediction": "I don't think this should be part of this capability.", "reference": "I think there's another spot for this in DefaultCapabilityMatcher" }, { "prediction": "I think this should be `PONY_ACTOR_DEFAULT_BATCH_SIZE` instead of `PONY_ACTOR_DEFAULT_BATCH`", "reference": "Why the rename from PONY_SCHED_BATCH? ACTOR_DEFAULT_BATCH is less meaningful to me than SCHED_BATCH." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `submitPostGasPrice` and a `submitPostGasLimit` and have the `submitPostGasPrice` and `submitPostGasLimit` be the same.", "reference": "Let's be sure we have an issue that tracks this, filed against testnet." }, { "prediction": "I'm not sure this is the right place for this error message. I'm not sure if this is the right place for this error message.", "reference": "There should be no space before!Buffer" }, { "prediction": "I think this should be `padding: 0`.", "reference": "Same here, we need the default padding for this story." }, { "prediction": "I'm not sure if this is the best place to put this. I'm not sure if this is the best place to put it.", "reference": "I think this should go away, its noise in the grand scheme of things." }, { "prediction": "I don't think you need to close the file.", "reference": "Maybe just call `ioutil.WriteFile` with 0 bytes? And Make an error log `log.Error` if any error occurs." }, { "prediction": "I don't think this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "`this.ieService_` should be initialized to null in the constructor." }, { "prediction": "I'm not sure if this is the right way to do this. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain.", "reference": "I just noticed that we use Return here, when we have logically allowed a packet, whereas in the forward chain we use AcceptAction. Do you know why that is?" }, { "prediction": "I think this should be `pojoMgr.values(pojoProducer.getSchemaId(), pojoProducer);`", "reference": "This is public method, we need to deprecated this method first and add new updated method for it." }, { "prediction": "I don't think this is the right place to do this, but I don't think this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "I think that you don't want to have these workarounds; you want to make sure that the relayTemplates is configured correctly. If not, we need to fix it there." }, { "prediction": "Is it possible to have more thanos block number in the config?", "reference": "This field is not needed." }, { "prediction": "Use 2 (not 0) spaces for indentation.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Put a comma after the last parameter of a multiline method call." }, { "prediction": "I don't think we need this import anymore.", "reference": "move to line 18 below" }, { "prediction": "Line is too long. [87/80]", "reference": "Simple Storage **Service**" }, { "prediction": "I think this is a bit of a hack, but I'm not sure what the best way to test this is. I'm not sure what the best way to test this is, but I'm not sure what the best way to test this is.", "reference": "Thats odd, I'd actually not expect this output at all..." }, { "prediction": "I'm not sure if we should change this to `1.8.x` or `1.7.4`?", "reference": "As a side note, I get why this is up here (sort order), but it'd be easier to not forget to update it if it were down next to `1.x` -- would it be acceptable to make that change the next time I make this sort of PR? :smile: :innocent: (don't want to hold this one up since folks are blocked on getting this one in, it's a pretty superficial change, and I probably won't have cycles again for a few days to update the PR with the change :sweat_smile:)" }, { "prediction": "I think this test should be changed to `createFlexibleConfigWithAccountPermissioningDisabledShouldReturnEmpty()`", "reference": "this class is permissioning so let's keep \"Onchain\" here" }, { "prediction": "I don't think this change is necessary.", "reference": "we can be more specific to call out the it is \"AutoRest C# code generator\"?" }, { "prediction": "I don't think this is needed.", "reference": "Ditto for not adding this to the axe namespace." }, { "prediction": "I don't think we need this package anymore.", "reference": "Should we just remove this file? Having it present but empty feels misleading" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Would it make sense to include an `Untrust` as well? If I were playing around with this on the CLI I wouldn't want to make a change I couldn't undo." }, { "prediction": "I think this should be `@param string $driver` instead of `@var string`", "reference": "It might be better to call this `$createRecordMethod` since it's not a full PHP callback, just a method name for the plugin manager." }, { "prediction": "I don't think we need this anymore.", "reference": "remove this line" }, { "prediction": "`MainMenuItem[]` is not an array.", "reference": "I've never seen this syntax before, it's still just an array, the difference is that it's an array of MainMenuItems instead of an array of arrays." }, { "prediction": "I'm not sure if this is correct.", "reference": "nit: to match the others: s/private/Private/" }, { "prediction": "I think we can remove `ActivePeers` and `CandidatePeers` from `NetworkConfig` and just use `ActivePeers` and `CandidatePeers` directly.", "reference": "Maybe just IEnumerable? Not sure myself." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "do we need this change?" }, { "prediction": "I'm not sure if we should wipe from opts.Accounts version.", "reference": "Would want @matthiashanel to have a look since if I recall he had to add the shallowCopy() to fix some bugs during reload. That being said, since I believe the $G account cannot referenced in configurations, this should not be a problem, but Matthias has looked at this in more details in the past." }, { "prediction": "I think this function should be renamed to `GetVolumeStatusWithReason`", "reference": "The descriptions are incorrect" }, { "prediction": "I don't think we need to escape the `\\` here.", "reference": "if we are returning the `ws` here when passing in `se:cdp` we can just return it straight or do we have to make a request to get the `ws` address?" }, { "prediction": "I think this should be `message.info(\"Text '{}' not found on page!\".format(text), replace=True)`.", "reference": "Please only indent this by four spaces." }, { "prediction": "nit: `bdghjlmnpqrstvwxyz0123456789` should be `bdghjlmnpqrstvwxyz0123456789`", "reference": "What's the reason behind these characters?" }, { "prediction": "I'm not sure this is the right way to test this, but I think it would be better to check `approver_approvals.size` instead of `approver_approvals.size`", "reference": "Minor: The name of this specs seems a little off now" }, { "prediction": "I'm not sure this is correct. The error message should say something like \"Compile time expressions not yet supported\" or something like that.", "reference": "I'd suggest using `ast_error_continue` here to get the `apply` message in the `Info` part of the error report." }, { "prediction": "I think this should be `@array` instead of `@var`", "reference": "If we decide to change the name of the.ini setting, we might also want to review the naming of this property and related code. Maybe a simple `getOptions` or `getSettings` would be more concise than `getTabDetailConfig`. At very least, I don't think we need Tab in the method name since the method belongs to a helper with \"Tabs\" in the name." }, { "prediction": "I think this should be `if msg.GetGroup() == \"user\"`", "reference": "Use const for \"user\", same as below" }, { "prediction": "I think this should be `setUnsubscribed(0) ->setLocale($event->getLocale()) ->save();`", "reference": "->setUnsubscribed(false) would be better :)" }, { "prediction": "Style/EmptyMethod: Put empty method definitions on a single line.", "reference": "I now think singular `Sport` is better, but I will wait for the first round of feedback before updating." }, { "prediction": "I'm not sure this is the right place to initialize timestamp. I'm not sure if this is the right place to initialize it.", "reference": "Don't you need = something?" }, { "prediction": "I'm not sure if this is the right thing to do. The `queue_family_index` should be a `uint32_t` and the `queue_flags` should be a `uint32_t`.", "reference": "Looks like this could be `const` (I realize it wasn't like that before)?" }, { "prediction": "I'm not sure if we should change this to `FAILED_TO_LOAD(\"failedToLoad\", PreviewType.FAILED_TO_LOAD)`", "reference": "Maybe just `FAILED`. We can't be sure loading was the thing that failed." }, { "prediction": "Please remove the `use strict` statement from this file.", "reference": "You have replaced single quotes with double ones, this fails linting and our current coding style. Please fix this, otherwise it's a whopping of 1200 LoC while in reality it should be rather small." }, { "prediction": "I don't think this should be a constant.", "reference": "@danieloeh @TomHennen. Some of these files are using spaces, the others use tabs. Is there a project wide preference? I personally like spaces, because they are consistent across editors" }, { "prediction": "I'm not sure if this is the right place to put this param, but I think it should be `@search_results.size` instead of `@search_results.size`.", "reference": "I guess this is ok for backwards-compatibility? Maybe it'd be better to check arity in the helpers? Or just call it out in the release notes, because there are at least a couple projects on github that overrode `initialize`.." }, { "prediction": "I'm not sure if this is the right place to move injection to constructor.", "reference": "At some point, we would like to get rid of these custom injections as well. Looks Ok for now." }, { "prediction": "I don't think we should do this. We should normalize periods even if a tag was provided for a header, whereas we should not.", "reference": "nit: Not a fan of \"fix\" in the name, but don't have a better suggestion" }, { "prediction": "I think this should be `self.tab_url(idx).scheme()` instead of `self.tab_url(idx).scheme()`", "reference": "Since we're calling `self.tab_url(idx)` a third time here already, can you please add a `url = self.tab_url(idx)` somewhere above (e.g. after all the `fields[...] =...` assignments) and change the calls here to `url.host()` etc.?" }, { "prediction": "I think this should be `from forseti_installer import ForsetiInstaller`", "reference": "alphasort this import" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "remove this file!" }, { "prediction": "I'm not sure this is the best way to do this, but I think it's better to use `append([]rune{'.', '.', '.'}, name[where]), name[where:]` instead of `append(append(name[:prefixLength], '...'), name[suffixStart:]...)`", "reference": "You don't need to say `rune(' ')` - `' '` is already a `rune`." }, { "prediction": "Freeze mutable objects assigned to constants.", "reference": "We can't freeze this and then add something to it in the next line. The `freeze` on line 43 is sufficient. If Rubocop flags this we need to exclude it." }, { "prediction": "I'm not sure this is the right place to put this interface. I'm not sure if it's a good idea to put this interface in a separate package.", "reference": "We call it Kind2 and move out of the `javaslang/control` package into the `javaslang`package. Maybe I will later generate Kind1..Kindn but that's another story." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I think it's better to use `*swarm.ChunkSize` instead of `*swarm.ChunkSize`.", "reference": "i think it might be nicer to have a message like: `database capacity: %d chunks (%d bytes, %d megabytes)`. counting in bytes is so 90s :)" }, { "prediction": "Should these be renamed to `azkaban.job.link`?", "reference": "The '.' in the key names are used to separate namespaces, NOT to separate words. How about azkaban.external_resources.resource_manager? ---- Why is it better than using the full name in the variable name e.g. RESOURCE_MANAGER_LINK?" }, { "prediction": "I'm not sure why this is needed, but I think it's better to keep `Configuration` in the `Benchmarks.Tracing` namespace.", "reference": "This seems to be duplicated with line 19?" }, { "prediction": "This should be `#include `", "reference": "This is wrong. xlocale.h is needed on OSX and maybe elsewhere too. This needs a test in configure to see if xlocale.h and uselocale() are available and an #if test here. Also, the NO_PER_THREAD_LOCALE stuff in configure.ac needs to be updated to include test for uselocale()." }, { "prediction": "Can you add a link to the AWS SDK for Java v2 API?", "reference": "AWS Identity and Access Management (IAM)" }, { "prediction": "I'm not sure if we should support audio mime here. I'm not sure if we should support audio mime here.", "reference": "Why did you have multiple function calls here instead of having one long array of supported mimeTypes? In line with your PR here, I think we might eventually see inline videos or inline pdf. It would be great to generalize this a bit." }, { "prediction": "nit: remove empty line", "reference": "nit: shall we keep alphabetical order?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "We could just move the check for function into `typeForConstruction` to make this a one liner every time we need to do this." }, { "prediction": "I'm not sure if this is the right fix.", "reference": "A correct by unrelated change. We'll slide this one in without another word ;)" }, { "prediction": "I don't think this is the right place to set the device id.", "reference": "I feel that a slightly safer way is to do if (param_.has_device_id()) { Caffe::SetDevice(param_.device_id()); } just in case a user has hard-coded a device id outside the solver and does not specify the device id in the solver param. Currently, if nothing is set, the solver will always use the 0th device, which might not be desired." }, { "prediction": "I think this should be `multi(1)\\n line(2)\\n block(33)` instead of `multi(1)\\n line(2)\\n block(33)`", "reference": "let's replace this example with something that won't fail in Python. Like \"for+if+print\"" }, { "prediction": "I think this should be `if (precision is not None) and (not isinstance(value, str)) else str(value)`", "reference": "Please remove the brackets and use `string_type` from `compat.py` module instead of `str` in `isinstance()`." }, { "prediction": "Why was this removed?", "reference": "line is 143 characters (from `lll`)" }, { "prediction": "I'm not sure if this is the right error to log.", "reference": "It should follow a `continue`." }, { "prediction": "I think this should be `{{.WebWorkingDir }}` instead of `{{.WebWorkingDir }}`", "reference": "Should this be DBWorkingDir?" }, { "prediction": "I think we should change this to `TriggerEventType.valueOf(eventTypeStr.trim().toUpperCase(Locale.ROOT))`", "reference": "I think you can remove the whole line." }, { "prediction": "I don't think this is needed.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I'm not sure if we should rename the enum to \"DELETE_FAILED\" or \"DELETE_IN_PROGRESS\" or \"DELETE_FAILED_IN_PROGRESS\"", "reference": "Not a big deal, but what is the value of adding this status condition for a failure to delete a client? It has some value for a dataverse admin, to know that the last attempt to harvest from a certain server resulted in a failure. Is it really useful to know that an attempt to delete a client failed? - should the startup check simply remove the \"delete in progress\" flag quietly instead? After all, seeing how the client is still there makes it somewhat clear that the attempt to get rid of it didn't work out, so they should try again? I may be missing some situation where it could actually be useful - so I'm open to hearing it." }, { "prediction": "I think we should keep the old `MetricsConfig.fromProperties()` call here.", "reference": "Can we also update the equality delete branch below?" }, { "prediction": "I think this should be `for record in self.instance.all_logs(run_id, of_type=DagsterEventType.STEP_SKIPPED):`", "reference": "This doesn't solve the entire problem we talked abut yesterday, right? Because it's possible that the step itself didn't skip, but rather that it chose not to yield the output in question?" }, { "prediction": "I think this should be `from datetime import datetime`", "reference": "I also do not see any usages of this import. Is this a fix for a crash?" }, { "prediction": "I think this should be done in the engine.state.AddTask(task, engine.cfg) instead of in the engine.state.AddTask(task, engine.cfg)", "reference": "Feels like this needs to be invoked in `PostUnmarshalTask` since that's where most of the task setup happens." }, { "prediction": "I'm not sure why this is needed.", "reference": "I wonder what would happen if the granteeName becomes DB__ROOT but the granteeID is not DB__ROOT ID (33333) but something else." }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do it.", "reference": "Feel like this should probably come into this tool as a flag rather than it just grabbing an env var internally?" }, { "prediction": "I'm not sure this is the right thing to do here. The `switchTo()` method is supposed to switch to the window, not the handle.", "reference": "This should only be sent if the driver is speaking to a W3C conformant remote, so we need an if-condition check like we have in the Python bindings." }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I think this should be `org/1234567890/project/test-project-123/firewall/1234567890123456789/'`", "reference": "nit: folders are always a numeric ID, projects as given by CAI use project number for ancestry" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "is this used anywhere?" }, { "prediction": "Why was this removed?", "reference": "change pkg_errors to errors. Keep it consistent across all the files." }, { "prediction": "I think this should be `\"unreviewed\", \"confirmed\", \"false_positive\", \"true_positive\"`", "reference": "I don't see any test cases which would test that fix dates are set properly on review status changes / storage events. For this reason please create some more test cases and also check my scenarios above." }, { "prediction": "I don't think this is the right place to do this, but I think it would be better to do this in the `GenerateExceptions` method instead of in the `GenerateExceptions` method.", "reference": "This belongs to SwaggerModeler.cs `public override ServiceClient Build()`" }, { "prediction": "I think this should be `(number|undefined)[]|string|(string|undefined)[]|Function`", "reference": "We could go further and directly give the tips of the `columns` property for someone (like me) who would like to specify some column width and let the others be autosized." }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure it's necessary to do this.", "reference": "I think a `std::copy` with `std::back_inserter` will get this done in one call." }, { "prediction": "I think this should be `HOL experiment. Unsupported` instead of `HOL experiment. Unsupported`", "reference": "In the future: s/QUIC 36/Version36/ to make grepping easier" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if it's the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "This is an example of why I prefer a flexible custom `render()` solution 'on'/'off' may not be the right value for every application. You have to make a lot of decisions even for very simple form fields :(" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but if it is the right thing to do, then I'm not sure if this is the right thing to do.", "reference": "we should also skip the e2e flow aggregator tests if the Flow Exporter feature is disabled." }, { "prediction": "I think this should be `if options.outfile: script.ObserveScripts(self, i)` instead of `if options.outfile: script.ObserveScripts(self, i)`", "reference": "We should initialize the observation in the constructor of the Script class - otherwise, we don't have this feature for mitmdump." }, { "prediction": "I think this should be `name if isinstance(name, (tuple, type(None)) else (name,) for name in names)`.", "reference": "I would remove this line. Otherwise looks fine cc @ueshin" }, { "prediction": "I don't understand this change. Why do we need to change it?", "reference": "Would it be better to remove that line alltogether if it not directly relevant?" }, { "prediction": "I'm not sure if this is safe to do, or if it's safe to do. I'm not sure if it's safe to do, or if it's safe to do, and if it's safe to do, it's safe to do.", "reference": "Does \"FPU\" here include XMM/YMM/ZMM SIMD and not just x87 FPU/MMX?" }, { "prediction": "I'm not sure this is the right fix. The `strutils.bytes_to_escaped_str` function is only ever used in `ParseToken`, so I think it should be removed.", "reference": "I'm not sure if we need to store path as bytes, and then decode/escape it when printing or just store it as a unicode string (as done here.)" }, { "prediction": "I think this test should be changed to `hostname -s -s-instance`", "reference": "Why is this flipped? Looks unrelated and our pattern is `expected == returned`." }, { "prediction": "I'm not sure if this is the right place to put this logic, but I think it would be better to put this logic in the `heading` helper, so that we don't have to repeat the logic in the `heading.in_person` helper.", "reference": "Can the `h5` tags be pulled outside of the `if` block?" }, { "prediction": "This should be `ImageDirectoryStructureCreator`.", "reference": "From @PetrHeinz review: this should be also aliased (`ImageDirectoryStructureCreator`)" }, { "prediction": "I think this should be `DeepCopy()` instead of `DeepCopy()`.", "reference": "Isn't AdditionalTags already of `Tags` type? If not, we should make it so, if it's not a breaking change" }, { "prediction": "I don't think this file is needed.", "reference": "Add blank line below license header." }, { "prediction": "I think this should be `initPWMClocks()`.", "reference": "Perhaps this could be moved into `InitPWM`? I suspect not initializing the clocks will reduce power consumption." }, { "prediction": "Align the parameters of a method call if they span more than one line.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "I believe this `order` isn't tested." }, { "prediction": "I don't think this is correct. The `ESPEasyStatistics.h` includes `/static/WebStaticData.h` and `/static/WebServerMetrics.h` includes `/static/WebServerMetrics.h` and `/static/WebServerMetrics.h` includes `/static/WebServerMetrics.h` and `/static/WebServerMetrics.h` includes `/static/WebServerMetrics.h` and `/static/WebServerMetrics.h` includes `/static/WebServerMetrics.h` and `/static/WebServerMetrics.h` includes `/static/WebServerMetrics.h` and `/static/WebServerMetrics.h` includes `/static/WebServerMetrics.h` and `/static/WebServerMetrics.h` includes `/static/WebServerMetrics.h` and `/static/WebServerMetrics.h` includes `/static/WebServerMetrics.h` and `/static/WebServerMetrics.h` includes `/static/WebServerMetrics.h` and `/static/WebServerMetrics.h` includes `/static/WebServerMetrics.h` and `/static/WebServer", "reference": "No idea why it ended up in the code. You can remove the entire line." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "\"i\" and \"From\" is a bit duplicate, and should it be singular given the method name? I mean \"fromPeer\" or just \"from\"?" }, { "prediction": "I think this should be `.scope(\"openid\")` instead of `.redirectUri(\"https://example.com/authorize/oauth2/code/registration-id\")`", "reference": "Did you verify this isn't going to break any existing test assumptions? We probably shouldn't modify this as we don't know what impact this is having on existing tests. It may invalidate a test that has different expectations of the scopes." }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "technically not necessary since reading from a nil dictionary will always return found = false, so this should already be handled" }, { "prediction": "I don't think we need this.", "reference": "This can return bool. RelaxedReclaimPurge(nodeID string) (bool, error)" }, { "prediction": "I'm not sure if this is the best place to put the eips. I'm not sure if it's the best place to put it.", "reference": "Is there something we can do to make this automatic? At the very least, can we add Shanghai, Cancun, etc. here now so that we don't forget them?" }, { "prediction": "I don't think this should be required.", "reference": "For boolean values, I'd rather have `argparse.SUPPRESS` as default value. No need to have a `(default: False)` in the help if it's a toggle." }, { "prediction": "I think we need to add the source blocks to the chain.", "reference": "The genesis block needs to exist in the store the fetcher pulls from, this is because the fetcher will stop fetching when it finds a block it has seen before and this can sometimes be the genesis block." }, { "prediction": "Can we set the default to 0655?", "reference": "should we do the same for os.Mkdir(criuOpts.WorkDirectory, 0755)?" }, { "prediction": "I think this should be `.replace(/Automatically sends crash reports to Google/g, 'Automatically sends crash reports to Google')`", "reference": "@bbondy Two messages because the label and description differ very slightly in their wording..." }, { "prediction": "The function get_ymm_caller_saved is intended to be used for AVX (no AVX-512). It currently doesn't cover extended AVX-512 registers.", "reference": "\"currently\" implies it should and will be changed: so TODO i#?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "This should be `computed('i18n.locale'....`" }, { "prediction": "I think this test is still failing because `time_elapsed` is a float, but `must_equal` is a boolean, so `time_elapsed` should be `123.0`.", "reference": "Wait, does this not work if we do `btl.reload`? That seems odd that we have to have the object in the same state." }, { "prediction": "I think this should be `eventListenerCount = 0;`", "reference": "I seem to recall this being the cause of a bug at some point." }, { "prediction": "I think this should be `settings_menu_item.setVisible(false);`", "reference": "Can you remove it from the menu instead of setting it hidden? Or are there any other trouble?" }, { "prediction": "Why is this needed?", "reference": "And for \"execution \"." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Do agents usually download these from puppetserver when applying a catalog?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be better to have a function that returns `false` if the event is disposable, rather than returning `true` if the event is disposable.", "reference": "This should be `return (ev->flags == ASIO_DISPOSABLE);` because `ASIO_DISPOSABLE` has a value of `0` as defined in the enum in `asio.h` and because when `ev->flags` is assigned `ASIO_DISPOSABLE` it is assigned as `ev->flags = ASIO_DISPOSABLE` unsetting any other flags previously assigned." }, { "prediction": "I think this should be `PeriodicExportingMetricReaderOptions` instead of `PeriodicExportingMetricReaderOptions`.", "reference": "this is not required, right? its the default already..." }, { "prediction": "Is 2813 the error code returned by the MD write operation to indicate that a lockID that client required the write to be contingent to is not held at the time server tries to commit the MD, and as a result the MD is not written.", "reference": "\"contingent to\" -> \"contingent on\"" }, { "prediction": "I'm not sure if we should add this to `KoalasError` as well.", "reference": "Does pandas throw an exception like this?" }, { "prediction": "I'm not sure why you're passing in a `StateTracker` here, but if you pass in a `std::shared_ptr` to `DeviceData`, you'll need to pass in a `std::shared_ptr` to `DeviceData`.", "reference": "The point of the exercise has been to eliminate CoreChecks as an object dependency for DescriptorSet et. al." }, { "prediction": "I don't think this is needed.", "reference": "Why do we need to make so much more of this ScanContext public?" }, { "prediction": "Why did you remove this choice name?", "reference": "is choice_name not needed anymore?" }, { "prediction": "I think we should also validate the schema in the `validateProperties()` method. This way, we don't have to do any validation every time we call `validateProperties()`.", "reference": "Is this the right place to do the validation? If a user adds a bad property or performs some schema update that causes a validation error, that would break all writes to the table. To me, it doesn't seem like we are catching the problem early enough and possibly allowing a typo to break scheduled jobs. What do you think about adding this validation when altering the table? `UpdateProperties` could check whether any properties starting with `write.metadata.metrics` were modified and run this. Similarly, `UpdateSchema` could run this as well, although I think that we should probably modify `UpdateSchema` to simply update the properties for column renames (if that's easily done)." }, { "prediction": "I don't think this is the right place for this loop.", "reference": "Why is this necessary? Just in order to get an indexed loop?" }, { "prediction": "I think this should be `prometheus.GaugeVec` instead of `prometheus.Gauge`.", "reference": "instead of using `prometheus.Gauge`, using `promethus.Counter` will be better." }, { "prediction": "I'm not sure we should be matching P11 here.", "reference": "maybe we should have a unit test for this and then just test one case in `spec/services/ncr/approval_manager_spec.rb`?" }, { "prediction": "I don't think we should be using `ApiToken.find_by(approval_id: approval.id)` here.", "reference": "Why is this necessary?" }, { "prediction": "Why do we need to make this public?", "reference": "Minor: If this is going to be public, we should fix the name. `get` doesn't add any value. How about `distributionModeFor` instead?" }, { "prediction": "I think this should be `focus` instead of `window`.", "reference": "This needs a more self-explaining name. Maybe `.is_focused`?" }, { "prediction": "I don't think we should be using `azure-report.json` here.", "reference": "minor: I'd add a space between `,` & `'paginggroup'`." }, { "prediction": "I don't think it's a good idea to store this flag in the command line. It's not a good idea to store it in the command line, but it's a good idea to have it in the command line.", "reference": "\"Re-upload all fragments (even if fragment is already in registry)\"" }, { "prediction": "I'm not sure if this is the right thing to do, but I think it would be better to have a `partial_response_strategy` field in `RuleGroup` that contains the response strategy.", "reference": "I don't see us ignoring the field. Are we sure Prometheus wouldn't refuse to load the rules?" }, { "prediction": "I'm not sure this is the right thing to do here, but I'm not sure it's the right thing to do here. I'm not sure if it's the right thing to do here, but I'm not sure if it's the right thing to do here.", "reference": "I wonder if we can just check if the mSession is active and then only call `setActive(true)` and `callSurfaceChanged()` if it isn't?" }, { "prediction": "I'm not sure if this should be `0` or `1`.", "reference": "A default value of 100 MB maybe too small. I understand that this is good for mixed workloads, but do consider than plans with Unpack, especially when used for insert/upsert are simple. Unpack is always serial and part of master exe. Often there is only one in a query. The cost of having a low value here seems to be that queue length from unpack could be limited by this when we are loading a table with wide rows (even if actual data in row is not wide). We know from performance runs that queue length is critical to upsert load performance. This is a hunch on my part and could be misguided. It will be good to performance test for upsert of table with wide rows, if you think that is worthwhile." }, { "prediction": "I don't think we need this.", "reference": "think we should pass in ctx, and use ctx.GreenlandHeight inside bucketPool to determine if create or not" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "A correct by unrelated change. We'll slide this one in without another word ;)" }, { "prediction": "I think we should remove `semantic_errors` here as it's not used anywhere else.", "reference": "Why remove this?" }, { "prediction": "Why did you remove Twig_Environment?", "reference": "I still see some usages of not namespaced variants (look for Twig_ in project, about 42 matches). Is it intentional?" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Is this a new dependency? Does this require a dep update?" }, { "prediction": "I'm not sure if this is the right place to put this code. If the value is `true` or `false`, then this code will not be executed. If the value is `true` or `false`, then this code will not be executed. If the value is `true` or `false`, then this code will not be executed. If the value is `true` or `false`, then this code will not be executed. If the value is `true` or `false`, then this code will not be executed.", "reference": "> opts.generate_hexfloat_in_json && **IsFloat**(type.base_type)" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's a good idea to add it to the `Manifest` interface.", "reference": "As an alternative to this, we could also create a new method, like `Common() *AppManifest` This way we don't have to add a new method to the interface everytime we add a new field to the `AppManifest`. This is a nit though so it's up to you." }, { "prediction": "I think harparser should be a dependency of harparser, not harparser.", "reference": "As long as we have this feature as an inline script, I'm inclined to remove the dependency here. I'd suggest that we just try to import harparser and pytz and throw an error instructing the user to install the dependencies (catch for `ImportError`). In the long term, we probably want to include that in the mitmproxy core, but we first want to introduce a clean extension interface before that's going to happen. As soon as said interface is there, porting the inline script and adding the dependency again should be a breeze." }, { "prediction": "I think this should be `dirname +'./.gulp/gulpfile.iced'`", "reference": "makes it work nice with vscode. all logic is now in `.gulp/*.iced` files" }, { "prediction": "`T extends WebElement` should be `T extends WebElement`.", "reference": "should a similar change be done for findElement?" }, { "prediction": "Why not `+node.stats.count (nano::stat::type::requests, nano::stat::detail::requests_generated_votes)+node.stats.count (nano::stat::type::requests, nano::stat::detail::requests_cached_late_votes)`?", "reference": "`+` -> ` + ` I guess. Same below" }, { "prediction": "I don't think `typeof(opts.fee)!== 'undefined'` is the right thing to do here.", "reference": "`typeof` is not a function - its an operator, and the standard way to use it is as `typeof foo!==...` (i.e. no parenthesis). Also, I would personally use `opts.fee!= null` instead (with a non-strict comparison, which also identifies `undefined` values because `null == undefined`)." }, { "prediction": "Line is too long. [82/80]", "reference": "Is there a reason why you're not using Rspec `skip`? It allows to specify message and makes it clearly visible in test results which tests were skipped." }, { "prediction": "I'm not sure if we should add this field to the `ClusterSyncCondition` struct, since it's not used anywhere else in the code.", "reference": "how about \"all matching SyncSets and SelectorSyncSets\"" }, { "prediction": "I'm not sure why this change is needed.", "reference": "What is the logic behind `ReadVectorSize` reading `CountElement64`, then skipping `T` (in this case `unsigned`)? Naming doesn't cover what's actually happening here. Ideally I'd also take this through a `files` layer, any input as to how?" }, { "prediction": "I think this import should be removed.", "reference": "This looks like an unused import to me?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be better to have the taskListInfo and taskInfoToBlob functions return the taskInfo and taskInfoFromBlob, and then have the taskInfoToBlob and taskInfoToBlob functions return the taskInfo and taskInfoFromBlob. This way we don't have to duplicate the taskInfoToBlob and taskInfoToBlob functions.", "reference": "`RW` means read/write. Why do we have it here, as part of a func name?" }, { "prediction": "I think this should be `LOG.info(String.format(\"Connecting to %s and %s\", publishConnection, subscribeConnection));`", "reference": "I'd keep this at `info` level..." }, { "prediction": "I'm not sure this is the correct error message. The error message should be something like \"failed to allocate memory\" or something like that. The error message should be something like \"failed to allocate memory\" or something like that. The error message should be something like \"failed to allocate memory\" or something like that. The error message should be something like \"failed to allocate memory\" or something like that. The error message should also be something like \"failed to allocate memory\" or something like that. The error message should also be something like \"failed to allocate memory\" or something like that.", "reference": "I think you missed this." }, { "prediction": "I think this should be `ReadAsync(Memory destination, CancellationToken cancellationToken = default)` instead of `ReadAsync(Memory destination, CancellationToken cancellationToken = default)`", "reference": "List all of the current TFMs so we know if this gets outdated. E.g. this breaks if we add 2.2." }, { "prediction": "I don't think this is the right way to do this. If `req.GetXattr()` is `>= 0`, then `spec.Xattr = req.GetXattr()` will never be `0`.", "reference": "here, you want to use req.GetXattrOpt() referring to the in line 514 of api.proto. This will be nil if not provided. See the example above on line 801 on this file" }, { "prediction": "I don't think this is the right place to do this, but I'm not sure if this is the right place to do this. If it is the right place to do this, then I'm not sure if this is the right place to do it.", "reference": "I think this should be done outside LocalPSMP, but in `getNextInQueue`. The reason is that I want to reduce the dependence of the media players on the preferences and database. Also, it will then probably work on Chromecast." }, { "prediction": "I don't think this is correct. The demangle function returns a pointer to a string, which is a pointer to an allocated memory location. The demangle function returns a pointer to an allocated memory location, which is a pointer to an allocated memory location. The demangle function returns a pointer to an allocated memory location, which is a pointer to an allocated memory location. The demangle function returns a pointer to an allocated memory location, which is a pointer to an allocated memory location. The demangle function returns a pointer to an allocated memory location, which is a pointer to an allocated memory location. The demangle function returns a pointer to an allocated memory location, which is a pointer to an allocated memory location, which is a pointer to an allocated memory location.", "reference": "Please remove it or remove all `std::` namespace prefixes." }, { "prediction": "I don't think this file is needed.", "reference": "wait! I'm confused - is that an empty file?!" }, { "prediction": "I think this should be `dom.findVirtual(virtualNode.actualNode, 'label')`", "reference": "These should all call `findUpVirtual`." }, { "prediction": "I think this should be `file_dict[\"mime-type\"] = guess_type(file_dict[\"path\"]) or \"application/octet-stream\"` instead of `file_dict[\"mime-type\"] = guess_type(file_dict[\"path\"]) or \"application/octet-stream\"`", "reference": "This changes the behavior. Original behavior was \"set if not set\", while new is \"just set\"." }, { "prediction": "I don't think this change is needed.", "reference": "Let's keep using the regular expression to make sure that the token is well-formed. I think the regular expression should be altered instead of doing a substring." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "All the operations are delegated to this entity, hence the rename. `back` can have too many meanings." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's worth it.", "reference": "@trevor-vaughan it looks like the spec failures are caused by the fact that although it was a great idea to put the guard clause here first & get the error case out of the way, the main code path has been erased when I assume it should be just below the guard clause." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Could you delete this constant?" }, { "prediction": "I don't think this is needed.", "reference": "looks like this snuck in from your other change?" }, { "prediction": "Line is too long. [88/80]", "reference": "These env vars are not set in any CF environment, on purpose, because we are moving away from using env vars to store role-based information and instead using the database. So in a CF environment, the wrong emails get used (the defaults, rather than what is in the db)." }, { "prediction": "I think this should be `template_question.html.erb` instead of `template`.", "reference": "this partial is used also for previewing a template, did you test if still works?" }, { "prediction": "I'm not sure this is a good idea. I'm not sure what the user would expect to do here, but I think it's a good idea.", "reference": "Would it be better to put like `Which Dockerfile would you like to use for %s?`" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to add a `[schema-level]` option to the `Schema.prototype.setOptions()` call.", "reference": "You mistakenly removed `/docs` here, please add it" }, { "prediction": "nit: \"This information is used for planning scan tasks whose boundaries are determined by these offsets.\"", "reference": "I missed this earlier, but why does this say \"file blocks\"? This should probably be \"recommended split locations\"." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Please change this to non-exported." }, { "prediction": "I'm not sure why this assert was removed.", "reference": "This is ignoring compatibility: it needs to check the size to ensure this field exists in the client." }, { "prediction": "`distinct()` is not needed here.", "reference": "Do all the prepare authors also need to be unique? Or is it enough the we have minimumPrepareMessages. I guess I'm wondering if need a hasDuplicateAuthors check like in the RoundChangeCertificateValidator." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if it's the right place to put it, but if it's the right place to put it, I think it's better to put it in the stdlib package.", "reference": "we had some situations where we merged some promql bits then took them out. i'm not sure what's going on here, but unless your code actually needs promql (probably not?) let's remove this line." }, { "prediction": "Why did you remove this variable?", "reference": "Annotations in this hunk should follow PhpDoc style (above the occurrence, type first)" }, { "prediction": "`String.format(\"%s is not supported\", type)`", "reference": "This is an improvement - thanks! Could we rephrase slightly to not use the phrase \"is not supported\" -- instead stating _WHAT_ isn't valid please? e.g. maybe `String.format(\"Unsupported BoundType provided: %s\" type)` or something like that." }, { "prediction": "I'm not sure if this is the right place to put this. It seems to be a pointer to the `os.File` object.", "reference": "nit: `procfd` seems more appropriate now?" }, { "prediction": "I don't think this is needed.", "reference": "Let's not call it django. Maybe `auth_provider_headers`? `auth_headers`?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, it's probably the right place to put it.", "reference": "Should we mention TLS map here?" }, { "prediction": "This is a breaking change, and should be reverted.", "reference": "remove this empty line pl0x" }, { "prediction": "I think this should be `deliver_now` instead of `deliver_now`", "reference": "Why not have this in the `Dispatcher`? Doesn't seem like NCR-specific functionality." }, { "prediction": "I'm not sure if this is the right place for this function.", "reference": "If you need only test db, use `memdb.NewTestDB(t)`" }, { "prediction": "I don't think this is the right fix. The `_keepAlive` flag is set to `false` by default, but the `ConsumeAsync` method is called with `_keepAlive` set to `true`.", "reference": "I'm not sure I like setting the IsEmpty property true for upgraded connections since it feels a middle misleading. Maybe we can leave the ForUpgrade class as is and change this condition to `if (!messageBody.IsEmpty &&!messageBody.RequestUpgrade)` to make things more explicit." }, { "prediction": "Line is too long. [87/80]", "reference": "git checkout since this is unrelated to this PR? (running migrations also changes this for me -- not sure why it keeps going back and forth" }, { "prediction": "I don't think this change is needed.", "reference": "Is this change needed?" }, { "prediction": "I'm not sure this is the right fix. The `tmpInt` should be `-1` and `tmpChar` should be `static_cast(tmpInt % 128)`.", "reference": "Isn't the % 128 redundant here?" }, { "prediction": "I'm not sure if this should be `cascaded` or `compressed`.", "reference": "Are you testing that the values are always false? I think you should test for setting values to true or false, right? Who is going to take action with these values?" }, { "prediction": "is batch_queue_mpi?", "reference": "Please change MPI to CCTOOLS_WITH_MPI" }, { "prediction": "This should be `#include \"dal/exceptions.hpp\"`", "reference": "Why you can't use function here?" }, { "prediction": "Can you add a license header to this file?", "reference": "We should scope this down to only the methods we use." }, { "prediction": "This change is unrelated to this PR, but I'm not sure if it's worth it.", "reference": "Oh, thanks for catching - I thought I've catched all after changing `mkString(infix, prefix, suffix)` to `mkString(prefix, infix, suffix)`." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "Suggestion: `.. the CertificateRequest is ready for signing` - could we perhaps word this differently? I understand that in this case it will be the associated X.509 certificate that can now be signed, so maybe `the certificate is ready for signing`? (Same with `CertificateRequestReasonDenied`)." }, { "prediction": "I don't think we need to check accountID here.", "reference": "We should use `! isValidAccountID( accountID )` for the `accountID` checks." }, { "prediction": "Style/RedundantSelf: Redundant `attr_accessor` detected.", "reference": "That alternative does seem better. Did you want to try to do it in this PR? It makes sense to me that the inventory would always be available before creating the executor." }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/NumericLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/NumericLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/NumericLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/NumericLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/NumericLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/NumericLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/NumericLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/NumericLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Style/NumericLiteral", "reference": "Missing the `-y` argument which all other `apt-get install` commands have." }, { "prediction": "I'm not sure this is correct. The error message is \"Invalid pipeline CreateInfo[%u] State: Subpass index %u is out of range for this renderpass (0..%u).\", pipelineIndex, pPipeline->graphicsPipelineCI.subpass, pPipeline->rp_state->createInfo.subpassCount - 1 - pPipeline->graphicsPipelineCI.subpass, pPipeline->rp_state->createInfo.subpassCount - 1 - pPipeline->graphicsPipelineCI.subpass, pPipeline->rp_state->createInfo.subpassCount - 1 - pPipeline->graphicsPipelineCI.subpass, pPipeline->rp_state->createInfo.subpass - 1 - pPipeline->graphicsPipelineCI.subpass, pPipeline->rp_state->createInfo.subpassCount - 1 - pPipeline->graphicsPipelineCI.subpass, pPipeline->rp_state->createInfo.subpassCount - 1 - pPipeline->graphicsPipelineCI.subpass, pPipeline->rp_state->createInfo.subpassCount - 1 - pPipeline->graphicsPipelineCI.subpass, pPipeline->rp_state->createInfo.subpassCount - 1 - pPipeline->", "reference": "So I think we are going to settle on the \"concise and elegant\" `PRI` macros as they are the safest option for now. Even though they make my eyes bleed a little..." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do.", "reference": "Interesting, was this needed for a test case to pass? I figured if there is no opening brace, there is definitely no placeholder -- we don't even have to check for a closing one." }, { "prediction": "I'm not sure if this is the right place to put this block of code. I'm not sure if this is the right place to put this block of code.", "reference": "I think we want to provide getAction API instead" }, { "prediction": "I'm not sure why this is removed.", "reference": "There is also `winVersion.isWin10`. I think this should be converted to use the helper function. The helper has a note that it doesn't work in source copies, but looking at the implementation it looks equivalent to what you have here." }, { "prediction": "I'm not sure if this is a good thing to do, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, so I'm not sure what the best way to do this is.", "reference": "This doesn't seem like it should be part of this pull request." }, { "prediction": "I think this should be `@offering = @product` instead of `@offering = @product`", "reference": "Is the idea that `@product` (and `@workshop` for `workshops_controller`) would eventually go away here?" }, { "prediction": "I'm not sure if this is the best place to put this, but I'm not sure if it's a good place to put it. I'm not sure if it's a good place to put it, but it's a good place to put it.", "reference": "We should add those only once we have successfully synced to the BSC main net, we have a utility to generate those. Please remove for now" }, { "prediction": "I think this should be `config.set_env_from_file({}, 'file-not-found')` instead of `config.set_env_from_file({}, 'file-not-found')`", "reference": "And how is that related?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but if it is the right thing to do, I think it should be `c.StringT(FlagConnectionEnableAlias)` instead of `c.BoolT(FlagConnectionEnableAlias)`.", "reference": "this should be required" }, { "prediction": "I don't think this is needed.", "reference": "This appears to be unused" }, { "prediction": "I think it would be better to use `table.snapshot(table.snapshot(current.parentId()))` instead of `table.snapshot(table.snapshot(current.parentId()))`", "reference": "I think that \"table's state\" isn't clear enough. How about \"history of the table's current snapshot\" like the one below?" }, { "prediction": "I don't think this is needed.", "reference": "This looks like a bug: pretty sure there are scatter-gather instructions on AArch64. Ditto below." }, { "prediction": "I'm not sure why we need to pass `transport` here. It seems that `Transport` is only used by `NewInbound` and `NewOutbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound` and `NewInbound` is only used by `NewInbound`.", "reference": "No need to change this: id love if we changed as a team to unkeyed fields, it ends up catching a lot more at compile time, at minimal cost" }, { "prediction": "I'm not sure if this is the right name for the manifest.", "reference": "Should this be in the parent struct? `AppManifest` since it's embedded to `LBFargateManifest` it'll get the method as well." }, { "prediction": "I don't think this is needed.", "reference": "\"Openvpn check\" we could move this to separate prefix." }, { "prediction": "I'm not sure if this is the right place to put the body. I'm not sure if this is the right place to put the body, but if it is the right place to put the body, I think it would be better to put the body in a `try-except` block.", "reference": "body is being used here for the first time without every being populated. This will error. To run tests do `./go clean test_py` and that will run the Firefox tests" }, { "prediction": "Why was this removed?", "reference": "We don't return now?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "This might end up not doing exactly what we want (the retry only picks up the `go get`, not the `go build`, due to the `&&`)." }, { "prediction": "I don't think we should remove copyrights from this file.", "reference": "Is there a BOM change?" }, { "prediction": "I think we should keep the constant for 3.0.0 as well.", "reference": "It's not a good practise to delete the public static constant." }, { "prediction": "I think this is a bugfix. The blocktxn is not well-formed.", "reference": "I deleted this because `WellFormed` is immediately called by `verify.TxnPool` below. Can someone please double check this for me since it's... pretty important" }, { "prediction": "I don't think this is needed. The `ply` package is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in `pyasn` and `pyparsing` is only available in", "reference": "Did you actually test this with ply 3.4? That release is pretty old (2011), so I think we can bump this to at least 3.6 (2015) or even 3.10 (2017)..." }, { "prediction": "I don't think we need to set the replicas here.", "reference": "This can be simplified somewhat to `pointer.Int32Ptr(0)`. But it is not necessary." }, { "prediction": "I'm not sure this is correct. The `BondStereo` has a `STEREOANY` value, and `BondStereo` has a `STEREOANY` value, but `BondStereo` has a `STEREOANY` value, and `BondStereo` has a `STEREOANY` value, and `BondStereo` has a `STEREOANY` value, but `BondStereo` has a `STEREOANY` value, and `BondStereo` has a `STEREOANY` value, so `BondStereo` has a `STEREOANY` value, but `BondStereo` has a `STEREOANY` value, so `BondStereo` has a `STEREOANY` value, so `BondStereo` has a `STEREOANY` value, so `BondStereo` has a `STEREOANY` value, but `BondStereo` has a `STEREOANY` value, so `BondStereo` has a `STERE", "reference": "Clever but perhaps confusing." }, { "prediction": "I think this should be `r.deleteSyncSetSecretReferences(ssi, dynamicClient, ssiLog.FieldLogger)`", "reference": "@abutcher Is it a safe assumption that secrets are the only objects that need to get attached to syncsets?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "Should you capture o.asflr before releasing consumer's lock?" }, { "prediction": "I'm not sure if this is the right place to put this check. I'm not sure if this is the right place to put this check, but I'm not sure if this is the right place to put this check.", "reference": "Just asking: Should this happen, that null is passed? If this is the case I think we should think about passing an `Optional` object to the method." }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be `edit_me` instead of `edit_me_user`.", "reference": "what about making a `ProfilesController` or `UserProfilesController` and having this be a `show` action instead? That would be more Railsy (although that can be considered a compliment or a dis, depending on who you are :hamburger: )" }, { "prediction": "I'm not sure this is the right place to do this. If enabled_features_found is not defined, it will be overwritten.", "reference": "I'd move the empty assignment and non-null case into the if check directly above (adding an else clause as needed)" }, { "prediction": "I think this should be `flag-sa` instead of `flag-ar`.", "reference": "Please remove this extra line of whitespace" }, { "prediction": "I think this should be `@param int $startFrom` and `@param int $lastProcessedId`", "reference": "maybe it's time to rename `ProductSearchExportWithFilter` to something better, what do you think?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Instead of adding new code here - can you move these methods to agent_capability.go, so the same is used for unix and windows as well. this will need removal of these methods from agent_capability_unix.go as well." }, { "prediction": "I think this should be `is_public=False, is_team=False, reupload=False`", "reference": "Make it the last parameter, just in case someone uses the API with non-keyword args." }, { "prediction": "I'm not sure if this is the right place to put this job. I'm not sure if it's the right place to put it, but I'm not sure if it's the right place to put it.", "reference": "Don't extend an instance initialized by `Struct.new`." }, { "prediction": "I'm not sure if `pmix_list_remove_item` is the right thing to do here.", "reference": "Just wondering - would it make more sense to simply replace `PMIX_DESTRUCT(&t->nslist)` with `PMIX_LIST_DESTRUCT(&t->nslist)` here, and then add `PMIX_RELEASE(p->jobbkt)` to the `pmix_nspace_caddy_t` destructor on line 154 of src/include/pmix_globals.c? Seems to me like we always want to have these things removed/destructed." }, { "prediction": "I think this test should be moved to the `RuleSetFactoryTest` class.", "reference": "I think, we should fix/improve AbstractRuleSetFactoryTest. I guess, both apex and visualforce rules are now tested, which is unnecessary." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if it's the right way to do it.", "reference": "In php8 named parameters were introduced and now it is required to match called method parameter name when setting parameters by array destructing or `call_user_func_array()` etc." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's the right place to put it. I'm not sure if it's the right place to put it.", "reference": "easily possible to get that information without exposing internal information" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Why do we need tristate logic (pe, foss, nil)?" }, { "prediction": "I'm not sure if this is the right place to test this, but I'm not sure if `mu` and `mux` are the right place to test this.", "reference": "this change needs to be reverted to what is on `master`" }, { "prediction": "I'm not sure if this is the right place to do this. I think it would be better to check if the variable exists and then refresh the toolbox selection if it doesn't exist.", "reference": "Do you still need to call the superclass `createVariable` if you've already determined that the variable exists?" }, { "prediction": "This filtering is used when rebuilding the index where we need to ignore packs from the finalized index which have been re-read into a non-finalized index.", "reference": "Ignoring the pack entry from an existing entry but using the new entry from a non-finalized index, is subtle enough that it needs explaining." }, { "prediction": "I'm not sure this is the right fix. The `std::min` function will only work if `spellId` is less than `instants.size()`, so the `++count` will always be `0`.", "reference": "This is a revert, is it really an issue?" }, { "prediction": "I'm not sure why this is needed.", "reference": "can we delete this file altogether?" }, { "prediction": "I'm not sure this is the right place to panic, but I'm not sure if this is the right place to panic, or if this is the right place to panic.", "reference": "Suggestion: log some additional info here so we know where we are i.e 'Failed to prepare coverage framework..'" }, { "prediction": "I don't think we need this.", "reference": "There didn't seem to be any good place to put constants that are.NET Tracer-specific, so I created this internal static class. If there's a better place, let me know." }, { "prediction": "I think this should be `const UpdateDeviceStatusBuffer int = config.CONFIG.GetValue(\"devicecontroller.update-device-status-buffer\")`", "reference": "Log message should be started with upper-case word." }, { "prediction": "I think this should be `int` instead of `int`.", "reference": "changes for example usage in this class" }, { "prediction": "This should be `elements/emby-collapse/emby-button`.", "reference": "I know frameworks that support current directory when loading dependencies, is this a limitation of the requirejs loader or can we fix it somehow?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "`ctx` is unused in EnableApplication" }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "@jemc, this is one change needed in `generate_multi_dot_name`. I believe this * will do no harm to working pony code: The new code was added in a place where it is throwing an assert. So no working code will get affected. * is in sync with the rest of the method: if the parent ast node has null `data`, we are supposed to return empty string. That is possible when we have expressions wrapped in braces." }, { "prediction": "I don't think this is needed.", "reference": "Should not be a static import." }, { "prediction": "I'm not sure if this is the right place for this change.", "reference": "should we be using `aws.String` here? it seems there are a few other spots we could use `aws.String` in the `if change.Attachment!= nil {...` block." }, { "prediction": "I'm not sure if this is the right place to put it. I'm not sure if it's the right place to put it, but if it's the right place to put it, I think it's better to put it in the dashboard.", "reference": "We can't pass raw dates like this because they need to be formatted as `YYYYMMDD` as noted in the IB. We added the `generateDateRangeArgs` utilities to handle this for us, as well as abstracting the relationship between arg name and specific dates which is not obvious just by looking at it. Let's update it to use `generateDateRangeArgs( { startDate, endDate } )` instead Use care to make sure we're sourcing the utility from Analytics utils though since AdSense has its own version by the same name, which is different." }, { "prediction": "I'm not sure if this is a good default, but I think it would be better to default to `True` if `no_install_shutdown_handler` is set to `False`.", "reference": "`default=True` shouldn't be used for BoolParameters iirc." }, { "prediction": "This is a bit of a nitpick, but I'm not sure if this is the right place to put the trim prefix.", "reference": "It would be better to use `return refStr[12:]`. or `11`... I have problem with counting.." }, { "prediction": "I think we should be able to remove `TestOutputs` and `OptionalOutputs` from `target.TestOutputs` and `target.OptionalOutputs` from `target.TestOutputs`.", "reference": "Pretty sure these should only contribute to the runtime hash." }, { "prediction": "This should be `ncr-layout` instead of `gsa18f-layout`.", "reference": "Just verifying: this change doesn't break the 18f layout, right?" }, { "prediction": "I'm not sure why this was removed.", "reference": "we should keep this counter using the \"isYarpcError\" api" }, { "prediction": "I'm not sure this is the right place to put this map. I'm not sure if it's the right place to put it.", "reference": "Could we just use case insensitive strings as keys instead of creating a new map implementation? e.g. simply using a treemap with a comparator `Map idToPos = new TreeMap<>(String.CASE_INSENSITIVE_ORDER);` could work I think" }, { "prediction": "I think this should be `TryGetValue` instead of `TryGetValue`.", "reference": "I think this should be a throw. Or the method should be TryGetSlot?" }, { "prediction": "I think this should be `throw std::exception(std::exc_info_t, std::exc_info_t, std::stringstream);`", "reference": "We don't usually put spaces between ( and [, and I think `path` should be passed by reference." }, { "prediction": "Why not just `bool IsStackable = database.GetItem(item)->IsStackable;`?", "reference": "Make sure to `snake_case` locally scoped variable names in the future" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to have a `HealthCheckPath` or `HealthCheckPath`. I'm not sure if it's a good idea to have a `Path` or `HealthCheckPath`. I'm not sure if it's a good idea to have a `Path` or `HealthCheckPath`.", "reference": "Maybe we should use underscores like `health_check` - what do you think?" }, { "prediction": "I don't think this is needed.", "reference": "Do a TrimSpace before setting." }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it would be better to have the `SubnetGatewayIPV4Address` field in the `aws/ecn/interfaces` package, and then have the `aws/ecn/interfaces/subnet_gateway_ipv4_address` field in `aws/ecn/interfaces/subnet_gateway_ipv4_address.go` and `aws/ecn/interfaces/subnet_gateway_ipv4_address.go` in `aws/ecn/interfaces/subnet_gateway_ipv4_address.go` and `aws/ecn/interfaces/subnet_gateway_ipv4_address.go` in `aws/ecn/interfaces/subnet_gateway_ipv4_address.go`", "reference": "Are the fields in this struct grouped by IP address family or by function? There are separate fields for IPv4Addresses and IPv6Addresses, but a single field for DomainNameServers. Should this new field be named SubnetGatewayAddress with type array consisting of both IPv4 and IPv6 gateways?" }, { "prediction": "`.find` is faster than `.first`, so you don't need `.first` here.", "reference": ".find(id) is being deprecated to Rails 5." }, { "prediction": "Please use relative imports.", "reference": "Will be good to have the iris interface moved to geoviews. Could this be done for 1.10.6?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "does this get wrapped in the calling method?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Do we still need this test case? If your new test cases test this, then we can remove it." }, { "prediction": "I'm not sure if this is the right place to put this. I think it should be `Role.access_values_for(:creator).uniq!`.", "reference": "If you want to express \"any role that is not creator\" you could use the following statement: Role.where(plan: self).where(Role.not_creator_condition).any? which would be less verbose and a bit more efficient if it is used for Yes/No shared?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "Do we need any update on the test side?" }, { "prediction": "Can we cancel the prefetch for unreferenced blocks?", "reference": "There's a few `return nil` cases above this -- we should probably move this above the big switch." }, { "prediction": "I don't think this is a good name. It's not a block or block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it's a block, it'", "reference": "`lile *LeaseInLedgerError` to reduce copying?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, or if it's the right place to put it.", "reference": "should it be `newsessionqueue` or `newsessionqueuer`? In case we'd like to be consistent" }, { "prediction": "I don't think we need to pass `access` here.", "reference": "We don't have a requirement anywhere in Test Platform for GetStream() with write access. It is ok to directly change `return new FileStream(filePath, mode, FileAccess.Read)`." }, { "prediction": "I'm not sure if this import is needed.", "reference": "FWIW `from qutebrowser.browser import hints` is okay - it's just things like `from qutebrowser.browser.hints import HintManager` I try to avoid." }, { "prediction": "I'm not sure if this is the best way to do it, but I think it would be better to use `get_theme_mod( 'neve_transparent_header', false )` instead of `get_theme_mod( 'neve_transparent_header', false )`", "reference": "@preda-bogdan let's use a filter for the header classes, something like, hfg_header_classes where we hook this logic, in neve pro" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Out of curiosity.. is there a rule to determine the package name as prevDirectory+currentDirectory." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "It seems this needs to check the lazy cxt switching flag. It is used on the initial thread for early injection and in other places where the lazy switch should apply." }, { "prediction": "I'm not sure if we should remove the `@since`.", "reference": "Why not use the JSdoc annotation as it did before?" }, { "prediction": "I don't think this is the right place to put this check. It should be `if (version!= null && version.contains(\"-ee\")) {`", "reference": "Why don't we drop the packageImplementationVersion in general? That way the version will be fetch all that time only from the properties file and it will be consistent." }, { "prediction": "Why not just use `std::vector union_fields;`?", "reference": "Please use the style of the rest of the code, a space between the type and `*`" }, { "prediction": "I think this test should be moved to the `TranslationLayer.Tests` file.", "reference": "nit: remove extra blank lines." }, { "prediction": "I think this should be `taskGroupNameDefault`", "reference": "nit: What do you think of `copilot-task-group`?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if it's the right place to do this.", "reference": "We should check whether or not the input node has a value since we can just have an onChange on an uncontrolled component as well." }, { "prediction": "I'm not sure if we should change this to `(2021, 1, 0)`", "reference": "I think there should be some reasoning below this line about the version updating." }, { "prediction": "I don't think this is a good idea. It's not a good idea to have an enum with the same values as the HINT_COMPRESS_HINT_ENABLE and H2O_COMPRESS_HINT_DISABLE. The HINT_COMPRESS_HINT_ENABLE and H2O_COMPRESS_HINT_AUTO values are the same values as the H2O_COMPRESS_HINT_ENABLE and H2O_COMPRESS_HINT_DISABLE values. The H2O_COMPRESS_HINT_ENABLE and H2O_COMPRESS_HINT_AUTO values are the same values as the H2O_COMPRESS_HINT_ENABLE and H2O_COMPRESS_HINT_AUTO values. The H2O_COMPRESS_HINT_ENABLE and H2O_COMPRESS_HINT_DISABLE values are the same values as the H2O_COMPRESS_HINT_ENABLE and H2O_COMPRESS_HINT_AUTO values. The H2O_COMPRESS_HINT_ENABLE and H2O_COMPRESS_HINT_AUTO values are the same values as the H2O_", "reference": "Please use `h2o_lcstris` instead of `strncasecmp` so that the comparison would be a complete match (instead of a prefix match; current code would yield true if [val,len] is [\"O\", 1]) and that it would be locale-independent." }, { "prediction": "I don't think this is the right place to do this. I think it would be better to move this logic to `newFolderBranchOps` so that it's only called when `config.Mode()!= InitMinimal` and not when `config.Mode()!= InitMinimal`.", "reference": "I prefer if possible for `if`/`else` statements to have the positive case first." }, { "prediction": "I don't think this function is used anywhere. It should be moved to `scapy.base_classes`.", "reference": "Docstring would be nice" }, { "prediction": "I think this should be `CatchBlockLogException` instead of `CatchBlockLogException`", "reference": "Low risk to fix this by default because existing baseline consumers pass this check. We don't attempt to fix checks that have been opted out of." }, { "prediction": "I don't think this is the right fix. The number of teams for NVIDIA is 512, but the number of teams for PASCAL60 is 512.", "reference": "What about `VOLTA72`, `TURING75`, `AMPERE80` and `AMPERE86`? We only want to set the number of teams for these two architectures or for all the architectures newer than Maxwell?" }, { "prediction": "I think this should be `modelzoo://resnet50`", "reference": "Since we have specified `load_from`, `pretrained` can be left None." }, { "prediction": "I think this should be `if len(args) > 3`", "reference": "I prefer to translate these `else if` into `switch` for more readability." }, { "prediction": "Line is too long. [82/80]", "reference": "This can also be a local variable in `create`." }, { "prediction": "I don't think we need to close the file.", "reference": "Why not use `path.Join`?" }, { "prediction": "I don't think you need to do this.", "reference": "Why not `export default API` instead? This ensures we export the same that we export on the global." }, { "prediction": "`FileModeType_ReadMode` should be `FileModeType_WriteMode`.", "reference": "This is a good change I think. It greatly helps reduce name conflicts." }, { "prediction": "I'm not sure if we should add this to `jetStreamCluster` or `jetStreamCluster` as well.", "reference": "cluster not having omitempty, does this imply that cluster is required? seems empty is valid so just checking" }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "@aws/aws-ecs-agent, @yumex93: how concerned should we be about user provided envvar names clobbering existing envvars? i'm not convinced we should be doing additional validation here." }, { "prediction": "I think this should be `setAspects` instead of `setAspects`.", "reference": "nit: aspects are defined in `OperationBase`, should `defineAspects` live there as well?" }, { "prediction": "I don't think we need this anymore.", "reference": "Why the `os.path.abspath`? `os.path.dirname` should always give a valid directory path." }, { "prediction": "I think it would be better to have a `getWinesPath()` method in the `ControllerConfiguration` that returns the path of the wines.", "reference": "I think we should not consider special engine types on this level. I would prefer to build the specific engine path based on `application.user.engines` later on." }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to move the `it.endBound_.rel_` check into `operatorList_.end()` so that we don't have to check `it.endBound_.rel_!= RelationType::kEQRel` twice.", "reference": "Is `rbegin` correct? We can't make sure that the last index column is the `rbegin` of `scanItems`." }, { "prediction": "why not just set the ChainID?", "reference": "check it is!= 0, just like `EVMNetworkID` above" }, { "prediction": "This is the only place where the batch export processor is being used is in `BatchExportProcessor.Log.DroppedExportProcessorItems`.", "reference": "if you just do \"this.GetType().Name\" and \"this.exporter.GetType().Name\", we get what we need." }, { "prediction": "This is a breaking change. The API version should be v29.0 as well.", "reference": "That's the code that would prevent any SalesforceSDKTest from running. At class loading time, SalesforceSDKManager.getInstance() would throw a RuntimeException because init() had never been called." }, { "prediction": "I think this should be `DEFAULT_REVISION` instead of `DEFAULT_REVISION`.", "reference": "there is no \"DEFAULT_REVISION\" logic, no need to define this." }, { "prediction": "I think this should be `loginOptions = new LoginOptions(url, getPasscodeHash(), config.getOauthRedirectURI(), config.getRemoteAccessConsumerKey(), config.getOauthScopes(), null, jwt);` instead of `loginOptions = new LoginOptions(url, getPasscodeHash(), config.getOauthRedirectURI(), config.getRemoteAccessConsumerKey(), config.getOauthScopes(), null, jwt);`", "reference": "so this is to fix a scenario where the app is first launched normally, then background and foreground through the link, we are not updating loginOption" }, { "prediction": "I'm not sure if this is the right place to focus the noteTextViewer or noteBody. I'm not sure if this is the right place to focus the noteTextViewer or noteBody.", "reference": "It doesn't seem like the right way to implement this, because you add a new element that doesn't really exist (noteTextViewer). Instead you should modify the command handler `if (command.name === 'focusElement' && command.target === 'noteBody') {` in NoteText.jsx. Then focus either the editor or the viewer depending on what's currently visible." }, { "prediction": "Please revert this change.", "reference": "We don't add blank lines in imports." }, { "prediction": "I don't think this file is supposed to be changed.", "reference": "Please add your name to the copyright list." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "You can elide the `if` check for empty string, because if it's not a value that is set, the string will be empty anyway." }, { "prediction": "I'm not sure if this is the right name for this label.", "reference": "Different i18n keys. By mistake or on purpose?" }, { "prediction": "I think this should be `ACMESelfCheckFailurePolicyRetryForever` instead of `ACMESelfCheckFailurePolicyIgnore`.", "reference": "Given the description for this is `// Describes how the ACME challenge self check behaves when it fails.`, perhaps `RetryForever` is better terminology here as when the check fails, we don't just wait, we retry periodically." }, { "prediction": "I'm not sure this is the right place to put this. It's not the right place to put this.", "reference": "Nit: let's add a more descriptive prefix in line with the other ones? E.g. `Unable to import key`?" }, { "prediction": "I'm not sure if this is the right place to put this in, or if it should be in `/etc/environment.rb`", "reference": "This looks like it will pass an array as `:key` in the default case. That doesn't reflect how this will actually work in practice." }, { "prediction": "I think this should be `public static void Main(string[] args)`.", "reference": "Do we need this?" }, { "prediction": "Why not just use `Match.Priority = priority`?", "reference": "I am a bit confused about this function. If it is used to set priority, we actually use function \"Table.BuildFlow(priority uint16)\" to set the value. If it is used to parse the priority value, I think adding a property(if you don't want to consume Match.Priority directly) to cache it and consume that property should be simpler than using string regex." }, { "prediction": "I think this should be `err error` instead of `err error`.", "reference": "In this case we probably meant \"package\"." }, { "prediction": "I don't think this is needed. `makeDir` is a promise, not a function.", "reference": "Just export `createFile` directly." }, { "prediction": "I think this should be `//tools/go_buildid_replacer` instead of `//tools/go_buildid_replacer`", "reference": "This probably needs to get shipped with plz; you shouldn't have to redefine it within the user's repo. It should use `defaultPath` like the other things up the top of the file." }, { "prediction": "why not just use networks.testnet?", "reference": "interface for bitcoin should not change if possible. i.e: networks.testnet should return networks['btc'].testnet" }, { "prediction": "I don't think this is needed.", "reference": "File is not `gofmt`-ed with `-s` (from `gofmt`)" }, { "prediction": "I'm not sure this is the right place to put this inline.", "reference": "We have this functions in a couple of places. It should probably live in util or something." }, { "prediction": "I'm not sure if this is the right place to set `new_record` to `true` or `false`. I'm not sure if `persistable?` is the right place to set `new_record` to `true` or `false` but I'm not sure if that's the right place to set `new_record` to `true` or `false`.", "reference": "maybe this should be inside the destroy?" }, { "prediction": "I don't think we need to import torch here, since it's already imported in `onnx_detection.py`", "reference": "Do not import torch in the test function because it will import torch every test iteration and will slow down the testing speed." }, { "prediction": "I think this should be `klog.Error(\"Instance does not exist: %s\", id)`", "reference": "I think we want to return an error here, not nil." }, { "prediction": "I think this should be `userInputStateComplete` instead of `userInputStateComplete`.", "reference": "Nitpicking, but I think it would be more accurate to use an actually supported value, i.e. `completed`." }, { "prediction": "Layout/ExtraSpacing: Unnecessary spacing detected.
    Layout/SpaceBeforeFirstArg: Put one space between the method name and the first argument.", "reference": "How about renaming the `ApiJob` class to `JobApi`. As per rails convention, get method is to get a single object, not a collection, can we change that to `fetch`/`where`. It would be great if we can move the `get` method to a class method." }, { "prediction": "why do we need to use `InMemTrieOption()` here?", "reference": "assignments should only be cuddled with other assignments (from `wsl`)" }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if it's the right place to put it.", "reference": "`k` is unused in PutHash" }, { "prediction": "I think this should be `StatementsSource` instead of `StatementsSource`.", "reference": "None of the child return null here, plus it was creating an incoherence between interfaces." }, { "prediction": "I'm not sure if this is correct, but I think it's better to use ` ponyint_cpu_tick()` instead of `ponynoscale`.", "reference": "Should we remove this entirely now then?" }, { "prediction": "I don't think we need this interface.", "reference": "That is way too generic a name." }, { "prediction": "I think this should be `
    ` instead of ``", "reference": "This might be overkill for test code...but as stewards of accessibility it would be appropriate to have a label in the fixture." }, { "prediction": "I don't think you need the `VK_COMMAND_BUFFER_LEVEL_SECONDARY` variable here.", "reference": "Are these allocations necessary, or can these be instantiated normally (i.e., `VkCommandBufferObj secondary_full_clear(...)`). If the allocations _are_ necessar, I'd vote for using something like `std::unique_ptr` and then remove the associated `delete`s." }, { "prediction": "I think this should be `(ElasticsearchHttpSpanConsumer)es.asyncSpanConsumer().resetIndexToServiceSpansCache();`", "reference": "es.clear should call this" }, { "prediction": "I'm not sure if this is the right test.", "reference": "please remove. this is true by the definition of the Python language" }, { "prediction": "This should be `` instead of ``", "reference": "Hmm, I wonder if binding `` is a good idea... this means it wouldn't be passed to webpages anymore, which makes me wonder how many people rely on that... I guess trying it is the only way to find out :wink:" }, { "prediction": "I'm not sure if this is a good idea to use `icmpCode` as an argument to `packetWithPorts` or `icmpType` as an argument to `packetWithPorts`.", "reference": "Golang naming convention is to use camel case `icmpPktWithTypeCode` Often the linter will complain" }, { "prediction": "I think this should be `TimeSpan` rather than `TimeSpan` since it's a `TimeSpan`.", "reference": "nit: Probably should renamed to `InitializeBody`" }, { "prediction": "I don't think this is the right place for favicon.ico?", "reference": "is `settings.icon` always null/undefined when there's no icon or does is it get set to a blank string? It might be worth wrapping it in an `isBlank()` anyway" }, { "prediction": "I think this should be `RegisterBootstrapContainer` instead of `RegisterPersistenceBeanProvider`", "reference": "put invoke to the end of the list, and other module at beginning of the list (line 86)" }, { "prediction": "I think this should be `%d chunks, %d bytes, %.2f megabytes`", "reference": "I think that bytes is too precise. Can we just calculate the approximate value in appropriate units? Something like MB, GB depending on the value, `db capacity: 5000000 chunks (approximately 20GB)`." }, { "prediction": "I don't think we should do this. We should only do this if `label` is `''`. If `text` is `''`, then we should only do this if `label` is `''`.", "reference": "This check shouldn't look at the content, you're already doing this with `none-empty-text`. I also think this check should be renamed to `none-empty-alt` or something like it. There is nothing specific to applets in this check to warrant putting `applet` in the check ID." }, { "prediction": "Why do we need to unset this?", "reference": "Why did you change the signature of this method? You can break BC doing that" }, { "prediction": "I don't think this is the right place to do this. The `ConfigTemplate` field is read from the `ioutil.ConfigTemplate` file, and the `ConfigTemplate` field is read from `ioutil.ConfigTemplate`, which is read from `cfg.ConfigTemplate`.", "reference": "can you catch the error here please and return err if it can't read the template" }, { "prediction": "I think this should be `libraryController.updateLibrary()` instead of calling `libraryController.updateLibrary()` every time.", "reference": "Is this method called at another location too? I'm just asking because you didn't remove another call to `updateLibrary`" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to do `@object.present? && (@object.is_default || @object.org.funder? )` instead of `@object.present? && (@object.is_default || @object.org.funder? )`", "reference": "Not necessary but you should be able to add a `?` on `is_default?` and `published?`" }, { "prediction": "`ByteBufUtil.getBytes(ByteBuffer)` can be replaced with `SpanBytesDecoder.PROTO3.decodeList(ByteBufUtil.getBytes(encodedBuf));`", "reference": "here is us decoding directly the bytebuffer in benchmarks" }, { "prediction": "I'm not sure this is the right thing to do here. I think it would be better if the Tracer was initialized in the HttpModule startup, and the default values were added to the underlying log4net framework, and, upon handling a new request, Asp.Net tried to copy the type from one AppDomain to another.", "reference": "When the Tracer is first created AND `DD_LOGS_INJECTION=true`, this is invoked and causes the issues described." }, { "prediction": "I think this should be `OFFCHAIN_PRIVACY_GROUP_DOES_NOT_EXIST` instead of `PRIVACY_GROUP_DOES_NOT_EXIST`", "reference": "NIT: If we are renaming the JsonRpcError, should we also rename this enum value to be consistent?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "This could be made into a function expression, yes?" }, { "prediction": "I'm not sure this is the right place to abort.", "reference": "Oops, I missed this initially." }, { "prediction": "I think this should be `lambda_client.delete_function(FunctionName=lambda_name, short_uid=short_uid())` instead of `testutil.create_lambda_function(handler_file=TEST_LAMBDA_ECHO_FILE, func_name=function_name, short_uid=short_uid())`", "reference": "Can we add an assertion here the policy actually contains both statements created above?" }, { "prediction": "This should be `\"Specify the topmost level compression algorithm\"`", "reference": "a space after comma?" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to move the `skewFromParent` check into the `isLocalSpan()` method, so that we don't have to call `skewFromParent` twice.", "reference": "nit formatting here and below" }, { "prediction": "I'm not sure this is the right place to put this. It looks like it's only used in one place.", "reference": "I think that there is a general consensus of trying to avoid this kind of mocks in the new tests that we write. I would suggest to have tests using fake service implementations. In this case, we can have a fake entry service. Examples of how tests have been written this way are the tests for the `spire-server agent` and `spire-server bundle` commands. It would be great if we can have that kind of testing here also. What do you think?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but it seems to me that `Provider.RunQuery(ctx context.Context, query string) (bool, error)` is the right thing to do.", "reference": "`ctx` is unused in RunQuery" }, { "prediction": "This should be `report.files[event['location']['file']].replace('\\r', '\\n')`", "reference": "Couldn't we use type hints to express this?" }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to use `button.querySelector('.material-icons')` instead of `button.querySelector('.material-icons')`", "reference": "why you do `.classList.add()` here but `.replace()` in other places?" }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "What is this sleep here for?" }, { "prediction": "I'm not sure this is the right test.", "reference": "I think that this test doesn't cover this bug correctly. When I attached the older version of the handsontable to this test it passes, should fail. Can you check that?" }, { "prediction": "I'm not sure this is the right thing to do here. I'd expect `chainsPopulator` and `chainPathPopulator` to be the same, but I don't think they're the same.", "reference": "Maybe this should just be passed in on construction time" }, { "prediction": "I think this should be `wlr_drm_backend_monitor_destroy()` instead of `wlr_drm_backend_monitor_destroy()`.", "reference": "We should create the monitor after the `if (!primary_drm)` check." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's worth it.", "reference": "Can be removed now that slots are used" }, { "prediction": "Line is too long. [82/80]", "reference": "The description should match the test" }, { "prediction": "I think this should be `unsetenv(\"DISPLAY\", wlr_xwayland->display_name[0]);`", "reference": "rootston needs to unset this now" }, { "prediction": "why do we need this?", "reference": "why do you rename this function?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "since we are no longer using these numbered icons can we remove them from source control?" }, { "prediction": "I don't think we need to create a new `RestProducerInvocation` here.", "reference": "both edge and normal need to set this, so set it to be default action?" }, { "prediction": "I don't think we need to check for the existence of the file.", "reference": "Is doing a straight string compare of the files the right way to determine this? I guess if you expect to be the only one writing this file it could work but it does seem like it might be a large string compare and if we are doing this hundreds of times that might cause some memory issues." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "What's the purpose of this change? It basically changes nothing until we want to put smth between curly braces" }, { "prediction": "I'm not sure this is the right place to destroy the tablet tool.", "reference": "Hmm, why is this needed? `wlr_input_device_destroy` should destroy the tablet tool." }, { "prediction": "I don't think this is the right way to do this. I'm not sure if this is the right way to do it, but I think it would be better to return `Iterable` instead of `List`.", "reference": "I think it's better to throw `UnsupportedOperationException`" }, { "prediction": "I don't think this is the right place to do this. If `multiple` is true, then `child.props.selected = true` will be true.", "reference": "`props.children` is not always guaranteed to be an array. When only one child is passed this will break. We can use `toChildArray()` to turn it into an array :tada:" }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do. If it's the right thing to do, then I'd say that it's the right thing to do, but if it's the right thing to do, then I'd say that it's the right thing to do.", "reference": "Please just remove this line. We have the git history if we want the old version." }, { "prediction": "I'm not sure if this is the right place to set this variable.", "reference": "Can we put some of the code on a new line to make it more readable. The max line length was 120 now, right?" }, { "prediction": "I'm not sure if this is the right name for this variable.", "reference": "Remove the handling here as well." }, { "prediction": "I'm not sure if this is the right value for `maxSpinCount`?", "reference": "Do we want to make this configurable?" }, { "prediction": "I think this should be `double positive(String argName, double number, String message)` instead of `double positive(String argName, double number, String message)`", "reference": "Prefer adding a second `positive(String, double)` that delegates down to this three-param version. Using `null` in code is generally Not A Great Idea, and it looks ugly." }, { "prediction": "Metrics/LineLength: Line is too long. [82/80]", "reference": "Is this going to break things for 18F proposals, or will these fields just be ignored?" }, { "prediction": "I'm not sure this is the right way to do this, but I don't think it is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "Keys.COMMAND seems to be an alias to Keys.META. That isn't mentioned?" }, { "prediction": "I think we should add an example of a PEM encoded CA Certificate for the control plane nodes. We should also add an example of a PKCS1 CA PrivateKey for the control plane nodes.", "reference": "What's the reason for moving this to config from status?" }, { "prediction": "Why did you change this?", "reference": "Shouldn't we re validate/update the in memory suppress data here?" }, { "prediction": "Why did you change this?", "reference": "curious why the renumbering is required here and elsewhere?" }, { "prediction": "I think this should be `aws.CredentialsAssumeRole!= nil && aws.CredentialsSecretRef.Name!= \"\"`.", "reference": "s/must specify secrets/must specify secrets or Role info/" }, { "prediction": "I'm not sure why this was removed.", "reference": "let's leave this as a dev-only feature, and copy prod db to local env when needed. that keeps blazer security issues to a minimum." }, { "prediction": "I think this should be `nameof(AlwaysOffActivitySampler)`.", "reference": "We'll be renaming ActivitySampler to Sampler anyway, so this change will be non-required. Prefer to avoid changes here to avoid merge conflict with my PR doing the rename." }, { "prediction": "I think this should be `var replacement = headers.Set(ruleField, repl.Replace(ruleValues[len(ruleValues)-1]) if len(replacement) > 0 {`", "reference": "This applies only in the \"set\" headers case, but what about \"adding\" a header (field prefixed with `+`)?" }, { "prediction": "This class is deprecated and should be removed.", "reference": "I'm not sure we should deprecate this. I kinda like the idea, that we would provide all exceptions (if we throw any) with a common super type. Of course, the exception should be not a checked exception like this one, but rather a runtime exception. We maybe need additionally an internal exception that we would convert into such a public API exception. But that's out of scope of this PR - that's the question of exception handling." }, { "prediction": "I think this should be `MarkNotSetError` instead of `MarkNotSetError`.", "reference": "You'll need to adjust the docstring :wink:" }, { "prediction": "I think we can remove the `*reader_attributes.guid().is_on_same_process_as(writer_->getGuid()*/false);` line.", "reference": "Add a TODO explaining why this is being done" }, { "prediction": "I don't think this is needed anymore.", "reference": "This file still uses Blockly.VariableModel..." }, { "prediction": "I'm not sure if this should be an array of bools.", "reference": "Small nit, in the PR description its `publicAccess` but here its `public`. Guessing the preferred naming is public?" }, { "prediction": "I'm not sure if this is correct. The variable objects produced by a driver.Watcher can use/construct a Decoder object with associated type (Type) and decoding function (Func) for retrieved bytes into Variable.Value.", "reference": "Maybe `driver.Watcher` -> provider (2x)? This is the concrete type, this user doesn't really know anything about the driver." }, { "prediction": "`T` is not a `DocValuesWriter`, it's a `DocValuesWriter`.", "reference": "can we remove this since `getDocValues` already returns an iterator? (we might need to do `T extends DocIdSetIterator` above)" }, { "prediction": "Style/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "Don't check this in. This is already implemented in core_extensions/ruby/string.rb" }, { "prediction": "I think this should be `writeable: true`", "reference": "This is used for both `id`, and `hash` we may not want these both to be enumerable." }, { "prediction": "I think this should be `@api public` instead of `@api public`.", "reference": "Is this necessary? I would expect YARD to treat it as public anyway... (Don't hold off merging on this...I'm mostly just curious)." }, { "prediction": "I think this should be `currentBranchToken` instead of `currentBranchToken`.", "reference": "@wxing1292 to double check this is the right version to use?" }, { "prediction": "I'm not sure if this is the right place to put this method, but I think it would be better to put this method in the `Range` class.", "reference": "Shouldn't there be another case for when both min and max are specified?" }, { "prediction": "I don't think this file is part of Invenio. It's not part of Invenio, it's part of Invenio, and it's not part of Invenio.", "reference": "Don't miss this one `2: I102 copyright year is outdated, expected 2014 but got 2013`. Thanks" }, { "prediction": "I'm not sure why this is needed. The `tail_` variable should be initialized to `size_t` if `tail_` is `nil`, and `str` should be initialized to `size_t` if `tail_` is `nil`, and `str` should be initialized to `size_t` if `tail_` is `nil`, and `str` should be initialized to `size_t` if `tail_` is `nil`, and `str` should be initialized to `size_t` if `tail_` is `nil`, and `str` should be initialized to `size_t` if `tail_` is `nil`, and `str` should be initialized to `size_t` if `tail_` is `nil`, and `str` should be initialized to `size_t` if `tail_` is `nil`.", "reference": "the tail_ maybe nullptr?" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "The PR description mentions that `The controller code is extended to react to \"add\" events`, but I don't see any additional cases added here beyond the existing Create and Delete... is there something I'm missing?" }, { "prediction": "Align the parameters of a method call if they span more than one line.", "reference": "Does it matter that #include changed to #include?? I think the change makes sense since it aligns with the method name on Hash but unsure if anything called #include that would break with the change." }, { "prediction": "I'm not sure this is a good default, but I'm not sure it's a good default.", "reference": "LGTM, curious though why exactly this is in place, and are there any possible issues from not waiting long enough?" }, { "prediction": "I don't think we need to support `onpass` here, since `never` and `onpass` are mutually exclusive.", "reference": "?: is unnecessary because we already force preserve_hosts to be a string with to_s." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, or if it's the right place to put it.", "reference": "should it be `newsessionqueue` or `newsessionqueuer`? In case we'd like to be consistent" }, { "prediction": "I'm not sure this is the right thing to test, but I'm not sure if this is the right thing to test. I'm not sure if this is the right thing to test.", "reference": "Since lazy is re-rendered when mounting the fallback, these checks get triggered an additional time." }, { "prediction": "I think this should be `is_content_editable` instead of `is_content_editable_object`.", "reference": "There is a `is_content_editable()` method just above this, what's the difference?" }, { "prediction": "I'm not sure if we should deprecate this field.", "reference": "Hmm, I'm not sure this is exactly what we want to get across. The behavior of leaving both values unset allowing the entire config to be managed is what is indeed deprecated. It's just that not the entire field is deprecated, just that one behavior." }, { "prediction": "I'm not sure this is the right place to put this. It seems to be used in the `jobinfo_log_output` function, but I don't see where it is used.", "reference": "Given the slightly vague discussion in basename(3) about POSIX basename (modifies arg) vs GNU (doesn't), I always assumed it was advisable to pass a string copy However, I guess you'd get a \"discarding const\" warning promoted to error by our build system here if you were getting the POSIX implementation. Hah! Cool, I probably can go remove some memory copies in other parts of the code where those conditions exist." }, { "prediction": "I think this should be `DateTime.now().minusMinutes(10).toDate()`", "reference": "Do you know somehow that this was the culprit? Even 1 minute is a lot, so I would expect the bug to lie somewhere else." }, { "prediction": "I think this should be `LOG(WARNING)` instead of `LOG(INFO)`", "reference": "what to do if some failed? just logging?" }, { "prediction": "Line is too long. [87/80]", "reference": "since these thoughts are all Jack Handey's the generator should probably be called `jack_handey` to reflect that." }, { "prediction": "I think this should be `EnvironmentFiles`", "reference": "this file is autogenerated. you should edit `model/api/api-2.json` and then go generate this file. otherwise the next people generating api.go will remove the changes you added here" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Extra empty line detected at class body beginning." }, { "prediction": "I think it would be better to use `exflow.getProjectName() + \".\" + exflow.getId() + \".submitFlow` instead of `exFlowKey.intern()`", "reference": "This is smart but hacky! I would probably prefer an alternate solution that would be more obvious to read/understand." }, { "prediction": "I'm not sure if we should change this to `UpdateTableCapacity` since it's not part of the dynamodb API.", "reference": "i would not return a pointer for status here which is an int" }, { "prediction": "This should be `CosineWindowFunction`, `HammingWindowFunction`, `LanczosWindowFunction`, `WelchWindowFunction`", "reference": "Those functions are not currently wrapped, so I don't think it is necessary to exclude them (at least for now)." }, { "prediction": "I'm not sure if this should be a sentence or a period.", "reference": "Should we specify the name of the folder?" }, { "prediction": "I'm not sure if this is the right place to put this, but I think it's better to put it in the `Chem` module.", "reference": "it's not wrong, but you don't technical need `rdmolops` here since it's imported as part of `Chem`" }, { "prediction": "I think this should be `self.log.info('ListenBrainz listen dump started!')`.", "reference": "I think the absence of this might have been the cause of the dump file corruption. We didn't wait for the pxz command to exit, leading to a race condition between the cp and this, leading to corrupted files in some places. I came across this because the hashes created and printed were different from the hashes of the actual files in dev also." }, { "prediction": "Why is this change needed?", "reference": "Out of the scope." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Maybe `sortByColumnHeader` would be more precise? The plugin has a method with the same name and it could be confusing." }, { "prediction": "I'm not sure this is the right thing to do here. I think it would be better to just pass `oldParentVNode` as an argument to `diffChildren` instead of passing `oldParentVNode` as an argument to `diffChildren`. That way, we don't have to pass `oldParentVNode` as an argument to `diffChildren` and we don't have to pass it as an argument to `diffChildren`.", "reference": "@developit I vaguely remember you mentioning something about some JS engines having an escape analysis feature that makes objects (and arrays?) locally declared that never leave the function essentially free from a GC perspective or something. Do you think we could benefit from that here? Or should we leave this as it is?" }, { "prediction": "I think this should be `resolutionOp` instead of `*resolutionOp`.", "reference": "Remind me why this is needed?" }, { "prediction": "I don't think this is the right place to put this visitor.", "reference": "same as above, can this be null now?" }, { "prediction": "I don't think it's necessary to cast `e` to `long`.", "reference": "This doesn't make sense to me. Should `cv.lengths` be an integer array instead of longs? It looks like they should always be integers since the values are assigned from `ArrayData#numElements()`. That's very likely an int." }, { "prediction": "I don't think we need to do this. We can't just use `str.Substring(3);` since it's not a valid string.", "reference": "str.Substring(3).Split(' ')[0] would also work and is more concise." }, { "prediction": "I don't think this is the right place to put this check. If `allow_local_peers` is true, then `node_l->peers.insert (endpoint, nano::protocol_version, true);` will never be true.", "reference": "Did you mean to negate the not_a_peer check?" }, { "prediction": "I don't think this copyright is needed.", "reference": "Copyright (C) 2010-2021 DBeaver Corp and others" }, { "prediction": "I'm not sure why this is needed.", "reference": "This seems like an unrelated change" }, { "prediction": "I'm not sure this is the right place to set the process label.", "reference": "Just to double-check -- are you sure this needs to be done *before* we create a new session? (Is `SetKeyLabel` setting what the label will be for all future keys or the label for the current key?)" }, { "prediction": "Why not just use the overflow policy directly?", "reference": "I thought we were removing the FAIL policy altogether...." }, { "prediction": "I think this should be `\"--outfile\"` instead of `\"--outfile\"`.", "reference": "Could you elaborate on why you made this change?" }, { "prediction": "I'm not sure if this is the right place to put it.", "reference": "before the fix, does this sentence make service crash? My point is can you re-produce the problem. I'm not sure the bug is due to non-asiic code" }, { "prediction": "I don't think this is the right way to check for the API token.", "reference": "This comparison looks a bit strange, we should first check existence of key \"IsApiToken\" and then check if it is equal to true. ~~Besdies, s/IsApiToken/IsAuthedByToken/~~" }, { "prediction": "I think this should be `if (applyMode!= \"\" && len(oldSyncStatus.ResourcesToDelete) > 0) {`", "reference": "This might be working as is, but I'm a bit thrown by the || and then && and how things get evaluated. Testing real quick on the go playground, true || false && false seems to either evaluate the && first, or start on the right side. Anyhow could you group with braces, it looks to me like it should be ( a || b) && c in this case?" }, { "prediction": "I don't think this is needed.", "reference": "add an entry in makefile to generate binary with diff name?" }, { "prediction": "I think this should be `errors.New(\"one of 'routingKey' or'serviceKey' is required\")`", "reference": "hmm so we didn't validate the HTTP config for all receivers?" }, { "prediction": "I'm not sure if this is the correct name. It's the `SpanContext Extract(T carrier, Func> getter);`", "reference": "ITextFormatActivity had this, can I add to have the same effect?" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "not blocking: can we remove extra lines here?" }, { "prediction": "I don't think we need to check for `undefined` here.", "reference": "This just feels weird... can we use some kind of constant here? something like: `if (_.isUndefined(data) || data === PrivateKey.Random)`" }, { "prediction": "I don't think this is the right way to do this. The `getType()` method returns the type of the parameter, not the class of the parameter. The `getClass()` method returns the class of the parameter, not the class of the parameter.", "reference": "if does not have a class I guess the exception should be thrown because we cannot recognize the type based on it?" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if it is a good idea to change this to a Set or a List, but I'm not sure if it is a good idea to change this to a Set or a List.", "reference": "LOL: use your GitHub username?" }, { "prediction": "I think this should be called `nextKey` instead of `nextPrefix`", "reference": "any tests for nextPrefix()?" }, { "prediction": "`t -> t.accept(this, arg)` -> `t -> t.accept(this, arg)`", "reference": "In general I'm saying \"if there is no common type I'm just going to skip some stuff and fail silently.\"" }, { "prediction": "Why is this removed?", "reference": "did we move the eventing logging here? Probably the eventing logging was removing and they are now using the pkg logging in eventing. If that is the case, we should do the same here" }, { "prediction": "I'm not sure this is the right thing to do here, but I think it would be better to have a `Operation` field in the `http.Handler` struct.", "reference": "I think that `Handler` should preserve the `operation` member and the span formatter should receive the operation name string as a parameter too, otherwise the `operation` parameter in the `NewHandler` function becomes useless if we pass a custom span formatter. Also, shouldn't it be called `spanNameFormatter`?" }, { "prediction": "Is this a valid IPv6 address?", "reference": "Can you merge #466? That would make the current `None` default value working and more relevant that `\"127.0.0.1\"`." }, { "prediction": "I don't think this is the right place to check for `customCategory` and `predefinedCategory`.", "reference": "is reserved filed name the only possible reason this could fail?" }, { "prediction": "I don't think this is the right way to do this, but I think it would be better to use the `KBFS_ENABLE_JOURNAL` environment variable instead of hardcoding `true` to `False`.", "reference": "Would a KBFS_DISABLE_JOURNAL make more sense?" }, { "prediction": "I think this should be a warning message, not a warning message.", "reference": "BTW. What's the message meaning?..." }, { "prediction": "I think we can remove the `.new` from the `describe` block and just use `Object.new` instead of `Object.new`", "reference": "this should say false" }, { "prediction": "This file should be removed.", "reference": "for my understanding - are this line and the next line both necessary? they seem to contain duplicate information. same for the other test files" }, { "prediction": "This should be `if config.val.url.open_base_url and term in config.val.url.searchengines.keys():`", "reference": "No need for the `.keys()`, iterating over a dictionary gives you its keys (and thus you can also do `key in some_dict`). With that, it also fits on one line :wink:" }, { "prediction": "Why is this deleted?", "reference": "If we want to avoid the user calling constructor and destructor, we should add `= delete` to their declarations. If we just want to avoid writing the default behavior, we should add `= default` to the declarations. I'm more in favor of the second option to avoid an API break." }, { "prediction": "I'm not sure if we should rename this to `MaterializationOrObserving` or `MaterializationOrObserving`?", "reference": "My preference here is to keep a stricter hierarchy. We should have a mixin or something that is an AssetEvent that Observation and Materialization can both inherit from. That way we can check the type in the frontend if we need to." }, { "prediction": "I think this should be sorted(spOutput) instead of sorted(spOutput)", "reference": "Can also cast them as `set`s and compare them." }, { "prediction": "This file should be renamed to `trigger.sql`", "reference": "Still TODO I guess?" }, { "prediction": "Why is this removed?", "reference": "Another cleanup. There are two additional `using namespace std::chrono;` under this one. Should also remove std::chrono:: from the full file. Please do this on a single commit." }, { "prediction": "I don't think this is the right place to put this.", "reference": "Looking at this list of boolean flags I wonder if we should create enums for all of these options, so that the code becomes much more readable" }, { "prediction": "I'm not sure why this is needed.", "reference": "Is this necessary?" }, { "prediction": "I don't think this is needed.", "reference": "How about this NS inside query NS?" }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "in line 79, sm also can be stateReader" }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "maybe can not return a map directly, it will be modified by inner thread." }, { "prediction": "I think it would be better to use `assertDictEqual` instead of `assertDictContainsSubset`.", "reference": "What is the actual change here, why is this test change needed? Now the diff will send back more data?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "Might be better to use a tag here. I for one have used 1000 isotopes as a tag in the past..." }, { "prediction": "I'm not sure if this is the right place to put this test.", "reference": "This tests seems it was broken from the start :joy:. It \"worked\" because the old sample chance was small enough that this have always be off. Thanks for fixing this. Could you also change the strings on this test? `\"Recording off\"` and `\"new span is recording events\"`" }, { "prediction": "I think this should be `@Deprecated` instead of `@Restricted(NoExternalUse.class)`.", "reference": "This is not actually the case, you need to modify `toConfiguration` below to prevent a configuration from being produced" }, { "prediction": "I'm not sure about this change, but I think it's better to use `Warn` instead of `Debug`.", "reference": "I'm worried about we hide some important log here" }, { "prediction": "I think this should be `float('inf')` instead of `float('inf')`.", "reference": "Python 3 will throw an exception for inf, but not providing a timeout will result in no timeout exception." }, { "prediction": "I'm not sure if this should be `/bzz-tag/{name}/addr` or `/bzz-tag/{addr}/uuid`", "reference": "As this method changes the state, it should be `POST`. Also, maybe to rename it to `createTag`?" }, { "prediction": "I think this should be `error` instead of `nil`.", "reference": "`ctx` is unused in rollbackTraffic" }, { "prediction": "I don't think this is needed.", "reference": "Roslyn conventions have const in PascalCase." }, { "prediction": "I don't think \"2181\" is a valid ZK connection string.", "reference": "This is not bullet proof if e.g. user has `clientPort=1234` in `zoo.cfg` and in zkHost connection string. Then we'll add a warning that dynamic config differs from zkHost, which is not entirely true since we just lack the port part. We have no way from client to read the `clientPort` from server except from connecting to the server with 4LW *ont the clientPort* which is a chicken and egg. This hack will make the comparison work for default port, which is a compromise." }, { "prediction": "I'm not sure this is the right place to use this namespace.", "reference": "We can probably delete this entire file. It's not used now and we'll (probably) write a custom serializer before we ever switch to MessagePack 2.1." }, { "prediction": "I think this should be `-o UserKnownHostsFile=/dev/null` instead of `-o UserKnownHostsFile=/dev/null`", "reference": "Aren't you duplicating this option?" }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_defs` first, then check for `.build_", "reference": "I'm not sure we should be doing this based on the extension? Calling them `.build_defs` is just a convention" }, { "prediction": "I think this should be `unsupported_property('T')` and not `unsupported_property('nbytes')`", "reference": "Should remove in `_MissingPandasLikeMultiIndex:` too" }, { "prediction": "Should this be `bool` instead of `omitempty`?", "reference": "We should scope this down to the bits that we're actually using, otherwise the API is going to be problematic, as it includes references to NAT gateways and public and/or private subnets. Copying the types to be more local to the task in hand is fine." }, { "prediction": "I think we should also add `region` to the `AdditionalTags` struct.", "reference": "Is it is a hard requirement for this field to be 'cn-northwest-1' when wanting to interact with AWS China? It appears that putting in 'cn-north-1' would also result in using the alternative API endpoint (with the region overridden to use 'cn-northwest-1' for the created AWS client)." }, { "prediction": "This test is flaky now, so I'm not sure why it's skipped.", "reference": "Stephen already fixed this one. Only the OverSize test is flaky now right?" }, { "prediction": "I'm not sure if this is the best place to put this. I'm not sure if this is the best place to put it.", "reference": "if the `activity_mailer` has a layout, should we include the footer in that? Realize there may also be conflicts with work @rememberlenny is working on..." }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix.", "reference": "This makes me nervous, mostly because I don't know very much about it. Will users run into the gettext error in the wild? I can't reproduce it locally, but it's hard to be 100% sure. Is disabling gettext in Pal an option?" }, { "prediction": "I think this should be `List` instead of `List`.", "reference": "Is Java smart enough to know the generic type here? Never knew this." }, { "prediction": "This change is unrelated to the rest of the PR.", "reference": "no thought given to reload" }, { "prediction": "I think it would be better to return `true` if `disabledMetricAttributes` is not empty.", "reference": "Please, don't remove the `getDisabledMetricAttributes` method. All changes must be backward-compatible." }, { "prediction": "I don't think this is the right fix. The `killAllSessions` command is supposed to kill all sessions on some hosts.", "reference": "Is this left over from debugging?" }, { "prediction": "I'm not sure this is the right place to close the client. I'm not sure if this is the right place to close the client.", "reference": "I've fallen for this before myself :) We _do_ call `close` inside of `done` on L65" }, { "prediction": "I think this should be `\"clone\"` instead of `\"rclone\"`", "reference": "That looks fine! You could use `\"rclone/\"+fs.Version` too if you wanted. BTW does tardigrade use http under the hood? If you were using rclone's http Client then you'd get a User-Agent and you'd also get support for `-vv --dump bodies` and other nice things." }, { "prediction": "I don't think you need the min=1e-12 here.", "reference": "Adding one line `prob = prob.clamp(min=EPS, max=1-EPS)` already works." }, { "prediction": "I don't think we need this #if", "reference": "another option would be to create a `CreateRequestQueue(bool lockingQeueue)`, and set it only in `InitializeTarget`, isn't? The would prefer having the creation and \"business\" rules for the creation in one region, I think `InitializeTarget` would be the best place." }, { "prediction": "Why did you change this line?", "reference": "Wait, I think the `subsurface_handle_place_above` code was correct before. `place_above` means \"place it above in rendering order\" right?" }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to have the `>` in front of the `>`.", "reference": "why did this change?" }, { "prediction": "I'm not sure if this is the best way to test this. I'm not sure if this is the best way to test this, but I'm not sure what the best way to test this is.", "reference": "Do you think we should have some tests here for `tlf.SingleTeam` too?" }, { "prediction": "I don't think we need this anymore.", "reference": "No problem with this but might as well revert this file since nothing else changed." }, { "prediction": "Why is this removed?", "reference": "In my changes, I did not create a new `AspNetScopeManager`. I'm not familiar with it enough to know if this is a valid change or not" }, { "prediction": "I don't think this is needed.", "reference": "Not cool with this. I think we talked about it in past. This is a side effect. If we want to introduce the side effect in our functions like `inRange` (which I am for) the side effect (error) should originate in that function and not in some internal `throwError` function. Every stacktract will start at line `2` of `trowError.js`. Been there, done that and falled back to throwing the error from the place where it should be thrown." }, { "prediction": "I'm not sure this is the right place for this method. I'm not sure if this is the right place for this method, but I'm not sure if it's the right place for this method.", "reference": "We don't need this additional method." }, { "prediction": "Why is this change needed?", "reference": "The purpose of this test is to ensure that the `OAuth2UserRequest` passed into `loadUser` is **not** null else throw `IllegalArgumentException`. Changing the `List` of `OAuth2UserService` mocks to `DefaultOAuth2UserService` doesn't really apply to what is being tested here. Please revert this. Thank you." }, { "prediction": "Why do we need to change this?", "reference": "nit: rename to nativeStk? proto might lead to think protobuf" }, { "prediction": "I think this should be `QUERY_ID` instead of `QUERY_ID`.", "reference": "Why not `queryUUID` (and reference the same constant as in other places)?" }, { "prediction": "I'm not sure if we should change the message here. I'm not sure if we want to change the trust domain or not. I'm not sure if we want to change the trust domain or not. If we want to change the trust domain, I think we should change the message to something like: \"If you want to change the trust domain, please delete all existing registration entries.\"", "reference": "This is also used to log, of which our convention is leading uppercase..." }, { "prediction": "I think this should be `less_precise=True`", "reference": "What about we just name it `check_exact`?" }, { "prediction": "I'm not sure this is the right place for this method. It's a method that returns a `List` and a `Set` that returns a `Set`. I'm not sure if it's the right place for this method, but if it's the right place for this method, I'd prefer it.", "reference": "before, a binary annotation had the same service name as a regular annotation, masking the bug where we weren't querying the latter" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a constant called `AVERAGE_COMPLETION_TIME_IN_MINUTES` or something like that.", "reference": "Where does the `7` come from?" }, { "prediction": "I don't think we need to pass `value` here.", "reference": "I don't know how we haven't got bugs from some of these! As here this would have had a stale `value`" }, { "prediction": "Please use the command `ALTER TABLE... WRITE ORDERED BY` to specify it.", "reference": "One nit here I forgot about this before but we usually structure error messages as \"Cannot X because Y. Then the recommendation goes here\" I would also recommend not using \"it\" in the message since it the pronoun is a bit ambiguous. \"to specify write sort-order\" may be clearer" }, { "prediction": "I think this should be `FEATURE_TOUR_COOLDOWN_SECONDS, FEATURE_TOUR_LAST_DISMISSED_AT,` instead of `FEATURE_TOUR_LAST_DISMISSED_AT`", "reference": "I'm surprised this worked at all! It was importing the default export but `eslint-plugin-import` warned me `warning Using exported name 'initialState' as identifier for default export import/no-named-as-default`" }, { "prediction": "`joins(:video).merge(videos)`", "reference": "This was used in `app/views/video_tutorials/_video_tutorial_details.html.erb` how are we handling that now?" }, { "prediction": "I'm not sure if this is the right place to put this regexp.", "reference": "Is `\\S+` really the right thing? Anybody know what kind of encoding this is? Perhaps if we know it doesn't have commas, we can just use `[^,]+`. Also, parens around the comma are unnecessary, since we're not using the capture group." }, { "prediction": "This file is no longer used.", "reference": "This block of changes looks like you removed tests without replacing them anywhere. Did I miss something?" }, { "prediction": "I think this should be `includePrivate` and `includeComputed` instead of `includePrivate` and `includeComputed`.", "reference": "n.b. private and computed values are now exposed to the API. They were hidden/not exposed before." }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if `tagName()` is the best way to do this, but I think it would be better to use `tagName()` instead of `lower()`.", "reference": "Nitpick: Please add a period after `link` :wink:" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "we got no chance that `err` is not nil here, need to revisit how `NewUpstreamController` is defined." }, { "prediction": "I think this should be `/session/:sessionId/chromium/heap_snapshot` instead of `/session/:sessionId/chromium/heap_snapshot`", "reference": "Instead of building in routing for a browser-specific command, could you refactor the HttpCommandExecutor to allow arbitrary commands to be registered?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure what the best way to test this is, but I'm not sure what the best way to test this is.", "reference": "It'd be nice to assert the right deprecation is being raised, just add a third argument of `/\"its\" method/`" }, { "prediction": "I think this should be `write.location-provider.impl`", "reference": "Do we want to add this to the docs?" }, { "prediction": "`code` and `st.Code().String()` are the same thing. `code.String()` is the same thing as `st.Code().String()`", "reference": "This isn't really related but makes debugging test failures much easier since you see the string representation of the code instead of the integer value." }, { "prediction": "I don't think this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Because of this new early exit." }, { "prediction": "Line is too long. [82/80]", "reference": "Maybe call it `WireBridge`?" }, { "prediction": "Why do we need to check for `PRIV_DISTRIBUTE_RAW_TRANSACTION.getMethodName()` here?", "reference": "can this be removed now?" }, { "prediction": "(style) space prohibited between function name and open parenthesis '(' (style) space prohibited between function name and open parenthesis '(' (style) space prohibited between function name and open parenthesis '(' (style) space prohibited between function name and open parenthesis '(' (style) space prohibited between function name and open parenthesis '(' (style) space prohibited between function name and open parenthesis '(' (style) space prohibited between function name and open parenthesis '(' (style) space prohibited between function name and open parenthesis '(' (style) space prohibited between function name and open parenthesis '(' (style) space prohibited between function name and open parenthesis '(' (style) space prohibited between function name and open parenthesis '(' (style) space prohibited between function name and open parenthesis '('", "reference": "This is going to create a problem - we are already encountering issues with the length of the usock pathname on recent Linux kernels as the temp directory base has moved down to the var directory under a name created by a hash. So adding another field to it is going to add to the problem." }, { "prediction": "I'm not sure if this is the right format for the CFN template. It's the base output configuration file name when `app package` is called. It's also used to render the pipeline CFN template.", "reference": "What do you think about moving this to the `cloudformation` pkg?" }, { "prediction": "This should be `@var array`", "reference": "Please make this private by default" }, { "prediction": "Please remove this blank line.", "reference": "We can add `@Override` annotations to all of the implementations of this method. I think this is a best practice for us, but it would be nicer in any case." }, { "prediction": "I don't think this is needed.", "reference": "Most of uses of `RefreshAndGet` seems to be made only for `Refresh` part, result is ignored. We can simplify this method to assigning single responsibility to it - just `Refresh()`." }, { "prediction": "I'm not sure if this is the right place to catch this error, but I'm not sure if it's a good idea to catch it.", "reference": "@Pierre-Sassoulas Are we sure this doesn't create problems? Without it for some reason we get an error on `accept-no-param-docs` being a duplicate error. I couldn't figure out why it did this. This solves the issue and passes the tests, but I wonder if this creates other issues.." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "Does it make sense to check for \"Created\" here as well? Or should it return an error in such case?" }, { "prediction": "I don't think we need to pass `identifier.name()` as a parameter to `createTableTransaction`.", "reference": "Did you mean to use `identifier.toString` here as well?" }, { "prediction": "Line is too long. [87/80]", "reference": "interesting! didn't realize this was needed in RSpec 3" }, { "prediction": "I think this should be `'ks.Series'` instead of `'ks.Series'`", "reference": "This is to avoid circular reference" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have this default to `False` if `_notebook` is set to `False`.", "reference": "As the bokeh renderer also has a ``load_nb`` classmethod (and notebooks are explicitly mentioned in that method name), I would consider making ``_notebook`` into a constant ``notebook_context`` class parameter. The docstring can say it is set to True if the ``load_nb`` classmethod has been called." }, { "prediction": "Why is this removed?", "reference": "Where is the actual command generated here? Shouldn't this be taking in `constructor(db, collectionName, options)` and then constructing the command off of that?" }, { "prediction": "(style) please, no space before tabs", "reference": "Mirror the `OPTIONAL OUT` of fullpath" }, { "prediction": "I don't think we need to change this, it's just a matter of taste.", "reference": "Please merge with master and replace with with \"future\" version." }, { "prediction": "I'm not sure this is the right fix. The `cxType` is not a `contextType`, so we can't use it here.", "reference": "Nit: Change is not needed for this PR :slightly_smiling_face:" }, { "prediction": "I don't think this is needed, it's only used when the app is in the cloud foundry environment.", "reference": "if we are returning `nil` from an `else` I think we can just remove the `else` (and this method will still return `nil`)" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if it's the best way to do it.", "reference": "side note: this change is ok as of today because we have not exported the results for this new type to BenchView yet. After we to that the namespace, type name and method name should not be changed (they create a benchmark ID which is used in BenchView)." }, { "prediction": "I think this should be `return false;` instead of `return false;`", "reference": "How exactly are you expecting the user to see issues with their Midas library? It seems like all error information is being swallowed and not clearly reported to the user. Even if the eventual result is to report that loading the file failed, it seems like the exception, in this case, might have more information about why." }, { "prediction": "I think this should be `time.Now()` instead of `time.Now()`", "reference": "Looks good, but seems `ReadMessage` hadn't used this Deadline in Underlying `WSConnection`?" }, { "prediction": "I'm not sure if this is the right name for the constant. It's not the name of the file which keeps the project directory size. It's just the name of the file which keeps the project directory size.", "reference": "Make it \"___*\" three underscores to make it even less likely to have a collision? I assume it will be hard to change the file name once this change is deployed..." }, { "prediction": "I think we can remove the `@return` here.", "reference": "We don't need this anymore after #2151" }, { "prediction": "I think this should be `IStringValueRenderer` instead of `IStringValueRenderer`.", "reference": "this is this removed? I don't understand in the context of this PR" }, { "prediction": "I'm not sure this is the right way to do this. If ip6 is `Net6` then `iter(ip6).next()` will return `None` if `ip6` is `Net6` and `iter(ip6).next()` will return `None` if `ip6` is `Net6` then `ip6 = iter(ip6).next()` will return `None` if `ip6` is `Net6` then `ip6 = iter(ip6).next()` will return `None` if `ip6` is `Net6` then `ip6 = iter(ip6).next()` will return `None` if `ip6` is `Net6` then `ip6 = iter(ip6).next()` will return `None` if `ip6` is `Net6` then `ip6 = `iter(ip6).next()` will return `None` if `ip6` is `Net6` then `ip6 = `iter(ip6).next()` will return `None` if `ip6` is `Net6` then `ip6 = `iter(ip6).next()`", "reference": "`isinstance(ip6, Net6)` instead" }, { "prediction": "I think this should be `ErrorOr>`.", "reference": "Do we really need the param here? If only partial results returned, we could return ResultCode::PARTIAL_RESULTS;" }, { "prediction": "This is a bit of a nitpick, but I think it would be better to move this logic into a helper function.", "reference": "this logic seems duplicated from the other new function. I think it should probably be a member function on `BuildTarget`" }, { "prediction": "Why did this change?", "reference": "size reduce to 1/4 of using Gob" }, { "prediction": "I'm not sure this is the right place for this. I think it should be `io.MultiWriter(w, h)`.", "reference": "The Hash interface states that a call to `Write()` never returns an error. Does this also apply to the number of written bytes?" }, { "prediction": "I don't think we need `/dev/null` here.", "reference": "In my tests, I found that `[[ \"\" -lt 12 ]]` evaluates to true, but `[[ -lt 12 ]]` is an error, which is why the subshell is wrapped in `\"`." }, { "prediction": "Unpublished trait has a default value of `nil`, so you can't use `nil` here.", "reference": "I don't see a validation on `published_on`, we generally shouldn't specify it in the base factory unless the model would be invalid without the model. Is there a different way we can handle this?" }, { "prediction": "I'm not sure if this is the right place to put this code. I'm not sure if this is the right place to put it.", "reference": "maybe add a `isExhaustive()` method on the enum to avoid these large conditions?" }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do. If it's the right thing to do, I'm not sure if it's the right thing to do, but if it's the right thing to do, I think it's better to do it in a separate PR.", "reference": "so those regexps were wrong previously? e.g. they would match `/v\\/foo`? If so, raise a bug and fix on the 1.0 branch." }, { "prediction": "I'm not sure if this is the right way to do this. If `$params` is empty, then `null === $source` will always be true. If `$source` is empty, then `null === $params` will always be true.", "reference": "I think with MultiBackend we could have a slightly different logic: return true if there are no configured login targets ( = getLoginDrivers returns an empty array). MultiBackend could also check all configured login targets for loginIsHidden support and verify that at least one of the configured login targets allows login, but I wouldn't go that far without a use case. In a related note, I'm not quite sure if loginIsHidden works with ChoiceAuth at all, but that's a different issue." }, { "prediction": "I'm not sure this is the right place to set `binary` and `compressed` to `true` or `false` depending on whether `fp` is `nullptr` or not.", "reference": "Should we add error info for not supporting the compressed binary?" }, { "prediction": "I think this should be `clusterRegionGetter` instead of `clusterRegionGetter`.", "reference": "I suggest injecting this into the reconciler. For this and the others. Have Wire generate it and push it into the controller creation." }, { "prediction": "I don't think this is needed.", "reference": "Can't we just make _serializer static? We use same settings every time. I would also put those fields on top of the class for readability." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this, so I'm not sure if this is the right place to do this.", "reference": "Can't we just use `metadata['websocket_flow']` to identify handshake flows and not add another attribute?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Funny that we were wrapping this with string interpolation before..." }, { "prediction": "I don't think this is needed.", "reference": "I had an eslint error saying I must \"alias\" my model - so I copied this from controllers/site.js" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "unsure if the methodname can still be `GetMetricPoints()` as before..." }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do.", "reference": "This file contains the functional changes, the rest is for testing." }, { "prediction": "Why is this needed?", "reference": "I know you didn't do this, but there's no need for the `nethttp` alias and it was confusing to me - just remove it and s/nethttp/http/ everywhere (it's fine that the package here is http itself, I do the same thing in transport/grpc)" }, { "prediction": "Can we use `assertThat(store.getDatabase().query(\"PRAGMA wal_checkpoint(FULL);\").moveToNext());` instead?", "reference": "I felt that this was the most non-invasive way to fix the test, but this does expose some raw DB queries and knowledge about how SQLite works which may be a code smell. The alternative to getting this to pass is to perform enough writes to trigger a checkpoint, but that threshold is determined in the config stage and this test may not be able to know what that page threshold is set to. This could lead to inconsistent test runs which is why I elected to force the checkpoint regardless of the page threshold." }, { "prediction": "Is this a breaking change?", "reference": "Is new model format backward compatible with current v2?" }, { "prediction": "I'm not sure if this is the right way to test this, but I'm not sure what the best way to test this is.", "reference": "should we perhaps write a spec that ensures we don't send a welcome email to a user on login when the user is not new?" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to set it to a default value, or if it's a good idea to set it to a reasonable default.", "reference": "I think my preference would be to have the type be a `time.Duration` and use `time.ParseDuration` for parsing." }, { "prediction": "I don't think this import is needed.", "reference": "JMX offers normal APIs for this. I don't think you want the glassfish one." }, { "prediction": "I think this should be `goss` instead of `lint` since `lint` is agnostic of `yamllint`.", "reference": "We should really leave a TODO or something or else we will forget them..." }, { "prediction": "I think this should be `RuntimeDefinition(name='df', runtime_type=DataFrame)`.", "reference": "This exposes what a bad name `dagster_type` was, but is it crazy to want this to just be `type` -- do we gain usability by being super-explicit that this is a `runtime_type`? If so, would it make sense to rename the `config_field` to be `config_type`?" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to have the `_isSelectionAnchoredAtStart` method return `True` if `self._isSelectionAnchoredAtStart` is true, and `False` if `self._isSelectionAnchoredAtStart` is false, and `False` if `self._isSelectionAnchoredAtStart` is true.", "reference": "It might help here if you give a brief explanation of what you mean with a selection being anchored at the start." }, { "prediction": "I don't think we need this anymore.", "reference": "move cachedStates to handle function" }, { "prediction": "I'm not sure if this is the right place to put the keyguardPrivacy settings.", "reference": "I don't think this can just be renamed; it's saying that privacyMode is a BooleanSetting, which it's not." }, { "prediction": "Why not just use `Thread.currentThread().getId()` instead of `Thread.currentThread().getName() + \".\" + stage.name()`?", "reference": "what was the reason for this change?" }, { "prediction": "I don't think this is needed.", "reference": "Minor, but these two nullable and the logic around them could be replaced by a Lazy." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "I think I would just pass in `len(peers)`, on the principle of minimum information." }, { "prediction": "I think this should be `read.parquet.predicate-limit`", "reference": "Spark's default value is 10 but it also rewrites IN as OR/EQUALS. We can do better that this because of the way we evaluate IN predicates. On datasets we tested this, we saw performance improvements on IN predicates with up to 200 elements (on sorted column). We may increase the default value a bit but I am very reluctant to make it more than 300 since our jobs were 20% slower with IN predicates that contained 300 elements. That being said, the optimal value still depends on a particular query and table." }, { "prediction": "I'm not sure if this author is the right one.", "reference": "Please update copyright year." }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix, but I'm not sure if this is the right fix or if it's the right fix.", "reference": "Same here, could just be `std::setprecision`." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it's fine to leave it in for now.", "reference": "Do we still want the \"admins\" gate?" }, { "prediction": "Line is too long. [87/80]", "reference": "Simple Storage **Service**" }, { "prediction": "I don't think this is the right place to put this flag.", "reference": "nit: `it is assumed`" }, { "prediction": "I don't think this is needed.", "reference": "I would appreciate it if you could refrain from using `stdbool.h`. We allow the header files of H2O to be included from C++ (which means that `bool` might be a C++ type), and therefore my preference is to not use `bool` in our code (but instead use `int` or `char` for the purpose) to avoid confusion." }, { "prediction": "I don't think this is the right place to set the search scope.", "reference": "@danielbidala What happens if `searchScope` is not defined in `config_relation.yaml`?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Do we want maybe a 1min timeout?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "I guess code never reaches this line, you can remove `else` block and just `return a[0], a[1]`. Also, probably rename `a` to `auth` as well." }, { "prediction": "I think this should be `public`", "reference": "Doesn't this no-arg constructor need to be public for serialization to work?" }, { "prediction": "This field is already attached.", "reference": "Just use the word \"veld\" instead of \"gebied\" here" }, { "prediction": "This import is unused.", "reference": "This change (import org.shredzone.flatter4j.model.User;) does not seem relevant to this fix / commit." }, { "prediction": "I'm not sure if this should be `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated RPMs` or `Hydrated", "reference": "This should be a Bool() rather than a String(). (See the other PR for an example)" }, { "prediction": "I'm not sure this is the right assertion.", "reference": "This should be a failure if we don't get the exact number of expected rules. You can use a constant if you don't want to update several lines any time you update the test rule strings." }, { "prediction": "I think this should be `IsParallel` instead of `IsParallel`.", "reference": "We need to switch from BeamSync to FullSync when we download all the needed headers, blocks, receipts and state" }, { "prediction": "I think this should be `g_value_dup_object (value);`", "reference": "Why you duplicate it? The underlaying transport should live as long as the multiplexed one. And must be destroyed after protocol is destroyed. Duplicating the transport may lead to object references hold and maybe memory freeing problems. I think this property must hold a reference to it and not a copy. The copy can lead to memory freeing problems." }, { "prediction": "I think this should be `ExperimentPhase` instead of `Phase`", "reference": "`in.Status.Experiment.Phase`. we can omit `ChaosStatus`" }, { "prediction": "I'm not sure if this is needed.", "reference": "Just curious... why the alias here?" }, { "prediction": "I think this should be `new System.ComponentModel.ComponentResourceManager(typeof(DetectionToolbarProperties));`", "reference": "Seems like this should conflict with changes I made during merging of the 20.2 RESX file translation" }, { "prediction": "I think this should be `DEFINE_bool(enable_opt_collapse_project_rule, true, \"\");` instead of `DEFINE_bool(enable_opt_collapse_project_rule, true, \"\");`", "reference": "Why disable this rule?" }, { "prediction": "I think this should be `arg.replace('{}', self._filename) if '{}' in arg else editor[1:]]` instead of `arg.replace('{}', self._filename) if '{}' in arg else editor[1:]]", "reference": "I think you don't need the `... if '{}' in arg else arg` part - if the arg doesn't contain `{}`, `arg.replace('{}',...)` will return the unchanged string anyways." }, { "prediction": "I'm not sure if this chunk size is a good idea. If it's going to be a lot of data, it might be better to use a smaller chunk size. I'm not sure if it's a good idea to use a smaller chunk size, but if it's going to be a lot of data, it might be better to use a smaller chunk size.", "reference": "nit: Should we make this an attribute of the LoadGroupMembersPIpeline class?" }, { "prediction": "I don't think we need this. The principal_id and principal_group_member.last_notified_time are already in the principal table.", "reference": "need to update this command to use the name field instead of principal_id" }, { "prediction": "I think this should be `determineSenderNonce` instead of `determineNonce`.", "reference": "nit: I can't help but think the privateTransactionHandler should be a base-class member... every Priv Json RPC seems to need it..." }, { "prediction": "I think we can remove the `if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {`", "reference": "Why does this start the main activity and not the preferences? With `overridePendingTransition(0, 0)`, this could instantly switch the theme without the user being disrupted" }, { "prediction": "I think this should be `public boolean isUp()`, not `public boolean isUp()`.", "reference": "Prefer a human-readable string rather than querying specific technologies. How would I indicate a session is running on BrowserStack? Or some custom thing?" }, { "prediction": "I don't think we need to bump the version here.", "reference": "It appears as though whoever checked in python changes didn't re-run regenerate:expected. I am modifying these files as a result of running that after a sync and build." }, { "prediction": "I think this method should be renamed to `hasAnyResourceNameParameter` since it's only used in the `FlatteningConfig` class.", "reference": "This was copied from JavaMethodViewGenerator; only the `public static` method modifiers were added." }, { "prediction": "I'm not sure if this is the right place to put this method, but I think it would be better to move this method to `PaymentTransaction` and have it return `Optional.ofNullable(getEffectivePriorityFeePerGas(maybeBaseFee))`", "reference": "this is going to throw for frontier transactions post-london" }, { "prediction": "I think we should keep this as a warning.", "reference": "The catch clause is not needed. The finally clause alone is enough." }, { "prediction": "I think this should be `public boolean isUp()`, not `public boolean isUp()`.", "reference": "Prefer a human-readable string rather than querying specific technologies. How would I indicate a session is running on BrowserStack? Or some custom thing?" }, { "prediction": "I don't think you need to change this.", "reference": "Changing the default value for isClosed from TRUE to FALSE can have other repercussions. We might miss throwing error. Can you please confirm this change." }, { "prediction": "I'm not sure this is the right place for this event. I'm not sure if this is the right place for this event.", "reference": "Please use more meaningful names than `te`here and in other places." }, { "prediction": "I think this should be `interface{}` instead of `interface{}`", "reference": "Perhaps this would be more idiomatic as `ConfigFor(interface{}) (*PluginConfig, bool)`?" }, { "prediction": "I think this should be `AWS_JSON_CONTENT_TYPE = 'application/x-amz-json-1.1'`", "reference": "nit: We could import `APPLICATION_AMZ_JSON_1_1` from `constants.py` here." }, { "prediction": "I don't think this is needed. The `MvvmCross.Base` namespace is used by `MvvmCross.Dispatcher`, so it should be in `MvvmCross.Dispatcher.cs`.", "reference": "Should this not inherit from IMvxMainThreadDispatcher?" }, { "prediction": "Why was this removed?", "reference": "line is 167 characters (from `lll`)" }, { "prediction": "I don't think this is needed.", "reference": "nit: consider adding a blank line between L15 and L16." }, { "prediction": "I think we should be able to just use `extractor::StorageManeuverOverride` instead of `maneuver_overrides_file.ReadVectorSize`", "reference": "This is another bug fix: Without skipping the bytes of the vector this would read garbage data." }, { "prediction": "I think this should be `Gen.CreatorPubKey = actions.Creation.PubKey` instead of `Gen.CreatorPubKey = actions.Creation.PubKey`", "reference": "why need this? i don't see Gen.CreatorPubKey being used?" }, { "prediction": "I think this should be `/communities/:locale` instead of `/history/:communities_locale`.", "reference": "As previously mentioned, best to drop this locale override. It's not something we only provide in exceptional circumstances. Moreover, it doesn't work for this PR anyway, while massively increasing the code complexity!" }, { "prediction": "I'm not sure if this is the right template for this patch, but it seems like it should be named `VersionDetailsPatch` or something similar.", "reference": "is this supposed to be `Desired`?" }, { "prediction": "Why did you remove this?", "reference": "The iterator is not wrapped when the score mode is set to `COMPLETE_NO_SCORES` so you don't need to change this assertion anymore?" }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "Is there too much spaces there? (should be 4 I think)" }, { "prediction": "I think this should be renamed to `revision` to make it clear that it's a revision.", "reference": "IS_FIRST_PULL revision is better to use instance property, not static. When KieClient has only one instance, instance property is better. When KieClient has many instances(not possible), static is not good eitheir." }, { "prediction": "This should be `fontawesome5_icon_mixin` instead of `fontawesome5_icon_mixin`.", "reference": "This needs to be removed since we removed the mixin." }, { "prediction": "I'm not sure if this is the best way to do this, but I think it's better to just remove the weight_ parameter from `RaftPart::SnapshotPart` since it's not used anywhere else.", "reference": "Can `weight_` be deleted?" }, { "prediction": "Why not just use `$container->getDefinition('easyadmin.configuration.design_config_pass')`?", "reference": "This is fine, but by Symfony convention this part is responsability of the compiler pass class, i.e `DependencyInjection\\Compiler\\?`" }, { "prediction": "Puppet doesn't have a `tmpdir` method, so you can't use `puppet_tmpdir` here.", "reference": "The host object already has a nice way of querying configprint. Try `puppet('master')['user']`" }, { "prediction": "Why is this needed?", "reference": "Let's call this `share` and not `upload` - the user wants to share their flows, uploading is just the implementation of that. :)" }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do this.", "reference": "It would be better to keep focus on the main text control. But to get around the fact that Dialogs focus their first child on show, even when not active, something like Dialog.isActive should be chcked when appending text, rather than whether the text control has focus." }, { "prediction": "I'm not sure if this is correct. The original fixup_indirect_trace_exit() was supposed to do the same thing, but the original fixup_indirect_trace_exit() was supposed to do the same thing as the original fixup_indirect_trace_exit(). The original fixup_indirect_trace_exit() was supposed to do the same thing as the original fixup_indirect_trace_exit(), but the original fixup_indirect_trace_exit() was supposed to do the same thing as the original fixup_indirect_trace_exit().", "reference": "So is this invoked every time we extend the trace?" }, { "prediction": "I think this should be `|| kv.second.getInt() < 0 || kv.second.getInt() > 999`.", "reference": "Why not use switch here?" }, { "prediction": "I don't think we need to do this. I'm not sure what the best way to do this is.", "reference": "I think `NoAuth` is a better name" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This does create a minor bifurcation in how closing the InputWriter is done in success vs failure cases. Is there anyway to merge this with the success exit path? This is something that seems like it would be better as a function closure instead of method on the `$esapi.Name` type. Can the `es.Close` not be used instead of this method?" }, { "prediction": "Why is this needed? I don't see it being used anywhere.", "reference": "Please keep this blank line. PEP8 says: > Method definitions inside a class are surrounded by a single blank line." }, { "prediction": "Use the new Ruby 1.9 hash syntax.", "reference": "You are not passing in a `:params` key here." }, { "prediction": "I think this should be a debug message.", "reference": "Probably change \"ovs\" to \"OVS\"." }, { "prediction": "Why not just use `$this->getRequest()->get('uniqid')`?", "reference": "Please linebreak this" }, { "prediction": "Why is this needed?", "reference": "`= default` is implied here, so having it is redundant. Is it a stylistic choice to include it, or just an oversight?" }, { "prediction": "I think we should rename this to `workspaceAppManager` since it's not a part of the interface.", "reference": "Maybe it's time to fix the param name for this interface?" }, { "prediction": "Why are these removed?", "reference": "Why are we removing it? Looks like useful info. Obviously, field names should change." }, { "prediction": "Nitpick: `Resolve()`", "reference": "Missing fallback to MessageTemplates.ValueFormatter.Instance" }, { "prediction": "axis should be `None` here, not `axis`.", "reference": "The parameter in the docstring should be fixed too. Actually, why don't you try to implement the other axis? It wouldn't be impossible to do if we use pandas UDF from a cursory look. We have enough time before the next release currently." }, { "prediction": "I'm not sure if this is the right place to put this, but it seems like it should be in `cloud.google.com/go/compute/metadata` rather than `cloud.google.com/go/compute/apiv1alpha1`", "reference": "This also runs a patch if its in the middle of one." }, { "prediction": "I'm not sure if this should be a debug message.", "reference": "Could we rename this method to `updateKnownStatus`?" }, { "prediction": "I'm not sure if this is the right place to set the origin tag. I'm not sure if this is the right place to set it.", "reference": "Maybe it would make sense to move that to DecorateRootSpan? Currently it only has Azure stuff, but given the name of the method I feel like it would be semantically appropriate" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "nit: these imports were in a separate group to ones from this repo" }, { "prediction": "I don't think we should have this enabled by default.", "reference": "Is it possible to rename the methods to `isXXXMethod` to keep the usage by the caller generic? The caller could use the result of these methods to verify whether a feature is enabled or to validate an input value for example." }, { "prediction": "I'm not sure if this is a good idea, but I think it's better to use `numAttempts` instead of `maxAttempts`.", "reference": "Don't penalize everyone with 250ms delay b/c some machines have problems." }, { "prediction": "I don't think this is the right place to catch the exception.", "reference": "This try-catch should be here so that watcher thread doesn't just exit in case of an exception. This change alone would probably be enough to fix the error as well, assuming that there's another `ENTRY_MODIFY` event when the file write is finalized. But of course not a perfect fix because it doesn't protect against possibly reading a non-empty but only partially written file?" }, { "prediction": "I think this should be `return s!= nil`", "reference": "Weird that we have to check for `s == nil` here.. I would instead have fixed the call stack to find out when this gets invoked with a nil server." }, { "prediction": "`erroredEmails += Ember.Handlebars.Utils.escapeExpression(erroredEmails.join(', '));` should be `erroredEmails += Ember.Handlebars.Utils.escapeExpression(erroredEmails.join(', '));`", "reference": "The `import` statement for `Ember` is missing in this file." }, { "prediction": "I'm not sure this is the right fix. The `oldState` and `c._nextState` can be `null` if `c.state` is `null`. If `c.state` is `null`, then `oldState` and `c._nextState` can be `null`. If `c.state` is `null`, then `oldState` and `c._nextState` can be `null`. If `c.state` is `null`, then `c._nextState` can be `null`. If `c.state` is `null`, then `c._nextState` can be `null`. If `c.state` is `null`, then `c._nextState` can be `null`. If `c.state` is `null`, then `c._nextState` can be `null`. If `c.state` is `null`, then `c._nextState` can be `null`. If `c.state` is `null`, then `c._nextState` can be `null`. If `c.state` is `null`, then `c._nextState` can be `null`.", "reference": "Awesome :tada: I'd love to have a test case for this so that we don't regress on this feature in any future refactorings :+1:" }, { "prediction": "I'm not sure why this change is needed. The tests are failing because `pd.date_range('2012-1-1 12:00:00', periods=3, freq='M')` returns `None`, which is not what we want.", "reference": "For testing some of the rounding functions" }, { "prediction": "I think this should be `$currencyData->minFractionDigits = Currency::DEFAULT_MIN_FRACTION_DIGITS;` instead of `$currencyData->roundingType = Currency::ROUNDING_TYPE_INTEGER;`", "reference": "This should be present in UPGRADE notes. Also on currently running projects you should suggest users to update these settings." }, { "prediction": "I'm not sure if there's any other kind of bytes we care about subtracting too.", "reference": "Are you sure you want to do this? This will affect the working set block cache too, such that it'll now be tracking global free space. It throws off the fraction calculation." }, { "prediction": "I'm not sure if this is the right place to lock the listener.", "reference": "Why would the read access need to be mutexed? The caller might still get a wrong answer since the value might change immediately after the mutex is unlocked before the caller receives the value." }, { "prediction": "Is this slot used anywhere? I don't see it used anywhere.", "reference": "This fits on one line without the parentheses :wink:" }, { "prediction": "Why did you change this?", "reference": "Looks like `TestCloudRecovery` changes are unrelated?" }, { "prediction": "Why do we need this class?", "reference": "Try to separate it to different methods. Invoke is huge :)" }, { "prediction": "I'm not sure if this is the right place to use `dom_id`?", "reference": "Looks like another spot that would benefit from `truncate`" }, { "prediction": "I'm not sure this is the right fix.", "reference": "This change is not related to what this PR wanted to fix, but undefined behavior sanitizer warns without this parenthesis because `h2o__tokens + i` overflows." }, { "prediction": "I don't think this is the right way to do this, but I think it would be good to have a check for `no_docstring_rgx.pattern` instead of `no_docstring_rgx.pattern`.", "reference": "This is actually incorrect and should be the other way around. Going to fix this tomorrow. If `no_docstring_rgx == re.compile(\"\")` no function should be checked, since every function matches the pattern. If `no_docstring_rgx == re.compile(\"^$\")` all functions should be checked." }, { "prediction": "I'm not sure if this is the right place to change it, but I'm not sure if this is the right place to change it, so I'm not sure if this is the right place to change it.", "reference": "Should this be in a config file?" }, { "prediction": "I'm not sure why this is needed.", "reference": "purely preference, but have you considered using parentheses to indicate that a method is being tested? e.g., `describe('eachAsync()')`" }, { "prediction": "I think `fs::FileUtils::remove(checkpointPath.data(), true)` is more readable than `fs::FileUtils::remove(checkpointPath.data(), checkpointPath.rfind('/'))`.", "reference": "Why not return success?" }, { "prediction": "Please remove the `@var string|null` annotation.", "reference": "Please use snake_case for properties to keep it consistent with the rest of the codebase." }, { "prediction": "I think this should be `s.logger.Debugf(\"successfully connected to peer (inbound) %s\", i.BzzAddress.ShortString())`", "reference": "i don't understand why we need this change. what information is this providing when running in less than Debug loglevel? I prefer to revert this" }, { "prediction": "I think this test should be moved to the `ExecutionFlowDaoTest` class.", "reference": "Oh, so this test leaks DateTimeUtils offset? It would be safer to place the reset in an `@After` method to not cause side effects even if the test case fails." }, { "prediction": "I think we can remove the `if (! footerText ) {` check since it's not used anywhere else.", "reference": "Kind of a nit-pick, but is there no way to solve this while still not rendering an empty div if `footerText` is empty? We could still use the `Row` to maintain the same layout but then only render the `Cell` for the pagination - I think it's possible to use specific classes to horizontally offset?" }, { "prediction": "I don't think we need this enum anymore.", "reference": "Template is also not an object type so I don't expect to notify on templates. Instead when applying templates, we'll be updating roles/policies/services/groups." }, { "prediction": "I think this should be `(rows, cols)` instead of `(rows, cols)`", "reference": "Had to fix this to get my tests passing (should have been a new PR sorry)." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "Small nit, and sorry for not spotting sooner.. this should have `omitempty` on it, else when marshalling nil values into json, it will be `caBundle: null` which trips up some JSON parsers" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to add a docstring for `transpose` in the `GenericLayoutPlot` class. I think it would be better to have a docstring for `transpose` in the `GenericCompositePlot` class.", "reference": "Would be good to say the normal behavior is scanline order (left to right, top to bottom) and that transposing makes it work top to bottom and left to right." }, { "prediction": "I don't think this is the right thing to do. I'm not sure if it's the right thing to do here.", "reference": "Perhaps note here that `--drive-use-created-date` takes precedence if both set?" }, { "prediction": "I don't think this is a good idea. I think it's better to use eps=1e-15 in the `update_hyperparameters` function.", "reference": "Use EPS=1e-15 as that in atss_head or FCOS head." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "Is there a need to replace the Index with a MasterIndex?" }, { "prediction": "I think this should be `verifyExecCmdAgentRunningStateChange(t, client, cid, taskEngine)`", "reference": "are we adding stop state change in a different PR?" }, { "prediction": "Line is too long. [83/80]", "reference": "How much difference is there between sort and sort_by?" }, { "prediction": "I don't think we need this variable.", "reference": "count doesn't seem to be used. Let's remove it." }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "Mongo is a hard dependency for Mongoid. Why do we need an if-statement to if it's defined? We should always use Mongo::QueryCache" }, { "prediction": "This should be `null: true`.", "reference": "Does this point out at a ROR funder id? If so, could we get rid of the `funder_name` field on the plan and just use the `name` of the funder with id `funder_id`?" }, { "prediction": "I'm not sure if `process.env.FB_TS_TEST` is the right thing to do here.", "reference": "Use!! to cast to bool, rather than the ternary bool antipattern." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "why is it in the list twice to begin with?" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to move the `playerLogout` call into the `creatureEvents` function, so that the `creatureEvents` function can be called from the `creatureEvents` function.", "reference": "This way you will **never** be kicked while monsters are around you." }, { "prediction": "I think this import should be removed.", "reference": "Can you please revert changes to files in the `thoughtworks` package? This is legacy code and we will eventually phase out RC." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "This just fixes an unrelated prop type error, correct?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, or if it's the right place to put this, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it.", "reference": "This was a bug in KBFS-2071 -- oops." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a `Redeemed` field in the `PaymentChannel` struct, and have the `amountRedeemed` field in the `PaymentChannel` struct.", "reference": "// Condition is a condition for... Condition" }, { "prediction": "Line is too long. [82/80]", "reference": "Might be good to test that no emails were sent out, either. You should be able to use `deliveries` for this" }, { "prediction": "I think we should remove the `finest` call here.", "reference": "Right now this is experimental and deeply flaky. We left this at `info` to make debugging user reports a lot easier." }, { "prediction": "I don't think we need to add this to `UpdateVendors.cs` as well.", "reference": "Is this new list being consumed yet?" }, { "prediction": "I think we should remove the `tlsPlaceholderWrapper` from `caddy.RegisterModule(tlsPlaceholderWrapper{})`", "reference": "moved to `errors.go` which is the only places `math/rand` is used in this package" }, { "prediction": "I don't think this change is needed.", "reference": "This use is wrong, corrent is: `Shopsys\\FrameworkBundle\\Component\\Environment` It is the same in classes below" }, { "prediction": "I don't think we need to do this. The `remoteHost` field should only be set if it's null.", "reference": "This is not really needed, the line added in `GridNodeConfiguration.java` is what really fixes the `remoteHost` regression." }, { "prediction": "I think we should remove this method as it's no longer used.", "reference": "For my understanding, why was this removed?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "the whole idea was to display information on the plugin directory in case it was missing - need to add if...else... and display the plugin dir if it is configured (non empty) but cannot be found" }, { "prediction": "Please use `StringUtils.isBlank(password)`", "reference": "Can you please set this as an error on the password view, rather than a toast, just to make sure that it is kept consistent. Check out a couple of lines below." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "Shouldn't we pass here a proposal too?" }, { "prediction": "I think this should be `'You have defined two solids named \"same\" in repository \"error_repo\".'`", "reference": "im not a huge fan of exact text match in these tests, not sure what a good solution is that solves the same problem" }, { "prediction": "I think this should be `/stamps/topup/{id}/{amount}`", "reference": "this should _not_ be in the api. all postage APIs have moved to the debugAPI" }, { "prediction": "I'm not sure this is the right way to check if a leaf node defines a `file` key. I'm not sure if this is the right way to check if a leaf node defines a `file` key.", "reference": "Including both functions seems like overkill for this PR since only _is_internal_node is ever used. Keep them if you think they'll both be used in the future, but if not, the code will be easier to read if you collapse the logic into a single function." }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but if it is the right thing to do, then I'm fine with this change.", "reference": "It seems that the two words mean the same thing." }, { "prediction": "I think `proposedTerm_` should be `logIdAndTerm.first` instead of `logIdAndTerm.second`.", "reference": "Do we need to set lastLogTerm_ to committedLogTerm when `lastLogId_ < committedLogId_`, on line 286" }, { "prediction": "I think this is a bug. The memory usage summary of the dictionary is not the same as the memory usage summary of the dictionary. The memory usage summary of the dictionary is not the same as the memory usage summary of the dictionary.", "reference": "About ~7% memory usage increase on average, at most 512KB" }, { "prediction": "I'm not sure we should be adding Options here.", "reference": "Was this too big of a pain to do now?" }, { "prediction": "I'm not sure this is the right place for this. I'm not sure if this is the right place for this.", "reference": "Why need to spend time for initializing of array? when will we rewrite the contents anyway? This can take a lot of time in some algorithms. Especially if the filling is in sequential mode." }, { "prediction": "This should be `null: false` instead of `default: ''`.", "reference": "Can this be `null:false, default: ''` to avoid the nil vs blank issue?" }, { "prediction": "I don't think we need to repeat this everywhere.", "reference": "Had to add this to get macOS to work." }, { "prediction": "I'm not sure if this is the right place to put this test class.", "reference": "What is the usage of this class?" }, { "prediction": "I'm not sure if we should pass `null` to `read()` since it's a `GenericDataFile`.", "reference": "Could we keep the original signatures as well, so we do not have to rewrite the method calls everywhere and add `null, null`? I think this could greatly reduce the changes needed in this patch" }, { "prediction": "I'm not sure why this is needed. I think it should be moved to the `updateTrieRoots` function.", "reference": "Ideally this error should not be swallowed (can do in the next PR)" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "Wait a minute... You're passing it as a POST parameter. There's no way that can work." }, { "prediction": "I think this should be `Workflow %q finished clean up`, not `Workflow %q finished clean up`.", "reference": "minor: to be consistent with other logs, either use \"cleaning up\" (preferred) or \"cleanup\"." }, { "prediction": "I think this should be `listenbrainz.py`", "reference": "Adding the config changes to the consul config template `consul_config.py.ctmpl` would be helpful too." }, { "prediction": "This enum is not used anymore.", "reference": "While we're at it should we add Department? See Dataverse Category: Add Department #2829" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if it's a good idea to put this in a bridge, but if it's a good idea to put it in a bridge, I think it's a good place to put it in a bridge.", "reference": "Files should have an extra line at the end of them." }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "TODO: check whether this is needed or not" }, { "prediction": "I don't think we need this anymore.", "reference": "`ReadConfig` is a global variable (from `gochecknoglobals`)" }, { "prediction": "This should be `//go:build!cgo`", "reference": "This is duplicated with `+build!cgo`?" }, { "prediction": "Line is too long. [82/80]", "reference": "This should just be `.not_to raise_error` otherwise it potentially hides errors" }, { "prediction": "I'm not sure if this should be `False` or `True`?", "reference": "Line 175 needs to be indented so that it's under `sfun`." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have `TopicExpression.ToString()` return `string` instead of `null` if `TopicExpression.ToString()` returns `null` if `TopicExpression.ToString()` returns `null` if `TopicExpression.ToString()` returns `null` otherwise.", "reference": "It looks strange a bit. What is the reason?" }, { "prediction": "I think it would be better to have a `private static Logger LOG = Logger.getLogger(CollectionStrategy.class.getName());` instead of `protected static Logger LOG = Logger.getLogger(CollectionStrategy.class.getName());`", "reference": "Is this one of those `LexicalPreservingPrinter` issues?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Can we also add the length of the slice here? Some like ` len %d`" }, { "prediction": "I don't think we need this. The `log` package should be in the `github.com/iotexproject/iotex-core/pkg/log` package.", "reference": "move this line together to after line 16, group internal packages together" }, { "prediction": "Do we need this migration? I'm not sure if it's necessary.", "reference": "How about using a reference(project_id) instead of project name" }, { "prediction": "I don't think this is needed.", "reference": "File is not `gofmt`-ed with `-s`" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if it's the right place to do this, so I'm not sure if this is the right place to do it.", "reference": "@qqmyers this looks fine but have you seen any performance issue here? If so, we could right some helper method like doesExternalToolNeedDataset(externalTool). But if there's trivial performance impact, not worth it." }, { "prediction": "This should be `static const bool usingLocalPrefs = false;`", "reference": "Make this a member variable instead (move to header inside `class` and rename to `m_bUsingLocalPrefs`)." }, { "prediction": "I don't think this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "Generally I'd say we should factor this out into something more extensible (check an array of potentially skipped tests, for examples), but since we're likely to remove this soon for scheduled work I think this is fine. What do you think @daprahamian?" }, { "prediction": "I'm not sure this is the right thing to do here. I don't think this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "Why are we skipping these tests? they should be passing in HIP-Clang." }, { "prediction": "I'm not sure what this is supposed to do. I'm not sure what this is supposed to do, but I'm not sure what this is supposed to do.", "reference": "I think a \"string\" in Scapy's spirit (if such a thing exists) is actually a `bytes` object in Python 3 (see `Str*Field`s). So maybe `RandString._fix()` should return a `bytes` object. What do you think?" }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "This can be combined to 1 line, just tested, seems to work." }, { "prediction": "I think this should be `chainId.equals(MAINNET_NETWORK_ID)` instead of `chainId.equals(EthNetworkConfig.MAINNET_NETWORK_ID)`", "reference": "what needs to happen if it is not present?" }, { "prediction": "I don't think we need to do this here. If the chart repo name is empty, we should set it to `HelmChart.Insecure` by default.", "reference": "`DeploymentConfig` is only for deployment configuration not Piped configuration so `ds.DeploymentConfig.PipedSpec` is always nil. Instead of that, you can have Piped config with `e.PipedConfig` because it is placing inside `executor.Input`." }, { "prediction": "Line is too long. [87/80]", "reference": "Simple Storage **Service**" }, { "prediction": "I'm not sure if this should be a `Func` or `Func`?", "reference": "This line doesn't seem to be right?" }, { "prediction": "I think this should be `policy.Spec` instead of `volumePolicy.Spec`", "reference": "this need to be moved up after getting policy.." }, { "prediction": "I think this should be `platform\\.gcp\\.project.*` instead of `platform.gcp.project.*`.", "reference": "I'm curious - is there a way to test these?" }, { "prediction": "I don't think we need to pass `CatalogName` and `TableIdentifier` to `BaseMetastoreCatalog.fullTableName`.", "reference": "This was broken before as the name of the metadata table started with its type, not catalog." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to log the version and build information separately.", "reference": "Maybe remake `VersionAsString()` function, so that that we would have build info in all places" }, { "prediction": "I'm not sure if this is the right place to put this check. I'm not sure if this is the right place to put this check, but I'm not sure if this is the right place to put this check.", "reference": "This should probably say something other than SSL_peek?" }, { "prediction": "I don't think we need to change the copyright year.", "reference": "Nitpicking, but this should be capitalized since it's a product name :)" }, { "prediction": "I'm not sure if this is the right place to put this function.", "reference": "Why do we need RawTransactions?" }, { "prediction": "I think this should be `pkg/util/byteutil`", "reference": "File is not `gofmt`-ed with `-s` (from `gofmt`)" }, { "prediction": "I don't think this is the right way to do this. If the alarm is dismissed, then the alarm will not be dismissed.", "reference": "should not be this lessThan15MinAgo?" }, { "prediction": "I don't think this is the right place to do this. The `RejectRequest` method is supposed to catch `DecodingException`.", "reference": "Would it work if we changed the return type of 'RejectRequest*' methods to Exception and instead did `throw RejectRequest(...`?" }, { "prediction": "I'm not sure this is the right fix. The `options.supportsDts || videoTestElement.canPlayType('video/mp4; codecs=\"dts-\"').replace(/no/, '') || videoTestElement.canPlayType('video/mp4; codecs=\"dts+\"').replace(/no/, '');` should be `options.supportsDts || videoTestElement.canPlayType('video/mp4; codecs=\"dts-\"').replace(/no/, '');` and `videoTestElement.canPlayType('video/mp4; codecs=\"dts+\"').replace(/no/, '');` should be `options.supportsDts || videoTestElement.canPlayType('video/mp4; codecs=\"dts-\"').replace(/no/, '');`", "reference": "It is not a \"perfect\" test, but: webOS 1.2 emulator says `probably`. webOS 3 emulator says \\``. webOS 4 emulator says \\``. Why did you remove `options.supportsDts`?" }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if it's the right place to do this.", "reference": "This check should be after the HIP_INIT_API to ensure HIP tracing & lazy init works correctly. Also return should be wrapped in ihipLogStatus() so that logging works correctly." }, { "prediction": "I'm not sure if this should be `true` or `false`.", "reference": "Can't use short array syntax for the 3.1 release branch." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "@rhc54 Is this intentional or for debug purposes?" }, { "prediction": "I don't think we need to call `timer` here.", "reference": "Maybe it should be `plugins.history` here instead of `listeners.X`, since we use those for listeners configured via `.ini` files?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Hmm, I also don't have a better idea here. As a small thing, could you make this `@team_page.present?` or similar to make the intent slightly more clear?" }, { "prediction": "I don't think this should be an IOException.", "reference": "Without that check it would fail later (probably in the getDecryptingCipher method) but the error could be hard to make sense of." }, { "prediction": "Metrics/CyclomaticComplexity: Cyclomatic complexity for do_take_snapshot is too high. [7/6]
    Metrics/MethodLength: Method has too many lines. [7/7]
    Metrics/PerceivedComplexity: Perceived complexity for do_restore_snapshot is too high. [7/7]
    Metrics/PerceivedComplexity: Perceived complexity for do_restore_snapshot is too high. [7/7]
    Metrics/PerceivedComplexity: Perceived complexity for do_restore_snapshot is too high. [7/7]
    Metrics/PerceivedComplexity: Perceived complexity for do_restore_snapshot is too high. [7/7]
    Metrics/Perceived complexity for do_restore_snapshot is too high. [7/7]
    Metrics/Perceived complexity for do_restore_snapshot is too high. [7/7]
    Metrics/Perceived complexity for do_restore_snapshot is too high. [7/7]
    Metrics/Perceived complexity for do_restore_snapshot is too high. [7/7]
    Metrics/Perceived complexity for do_", "reference": "I don't think that this belongs in the host code. A host is pretty much unaware of what hypervisor is running it and I don't want them to be so coupled to their hypervisor." }, { "prediction": "I think this should be `'setuptools>=12'`", "reference": "I'm here to tell you that this doesn't make sense because of the way it works. `setuptools.setup()` installs this only for setup-time and then discards those. But the problem is that it will not pick up a newer version because the older version is already in runtime and module cannot substitute itself. The proper place for adding build deps nowadays is `pyproject.toml`->`[build-system]`->`requires'." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to have a fake connection manager.", "reference": "fakeConnectionManager -> mockConnectionManager. We probably should not use the `fake` anymore." }, { "prediction": "`os.path.abspath(x)` is not a valid path. You should use `os.path.abspath(x)` instead.", "reference": "Code style. Btw, it's weird Codacy didn't catch that." }, { "prediction": "I think this should be `NewBigInt(m.Unwrap().Big()).IsZero()`", "reference": "no need in BigInt just m.Unwrap().Big().Bitlen() == 0" }, { "prediction": "I'm not sure if this is the right place to put this. I think it should be `ctx.client.flowOperations.Add(flow)`.", "reference": "I assume you want to change NetworkPolicy to use bundles in a separate PR later?" }, { "prediction": "I think this should be `/raw/a4adc8f4da9c7ec0d93b50ca5b73dd14df791c0e/stepfunctions-local-patch`", "reference": "nit: We could parameterize the commit hash, as it's used in multiple places." }, { "prediction": "I don't think underscore is needed here.", "reference": "move this above the \"Constants\" as this is 3rd party ones" }, { "prediction": "I'm not sure if this is the right way to test this, but I think it would be better to check that `multiauth.policies` is set to `basicauth` and not `basicauth_is_accepted_if_disabled_in_settings`", "reference": "`assert not in`" }, { "prediction": "I'm not sure if we should emit the state change event here. I think we should only emit the state change event if the agent is restarted or failed to restart. If the agent is not restarted, we should emit the state change event.", "reference": "just curious, why was this modified?" }, { "prediction": "I think this should be called ComTdbExeUtilFastDelete::ComTdbExeUtilHiveTruncate(char * tableName, ULng32 tableNameLen, char * hiveTableName, char * tableLocation, char * partnLocation, char * hostName, char * partnLocation, char * hostName, char * partnLocation, ComTdbExeUtilFastDelete::ComTdbExeUtilHiveTruncate(char * tableName, ULng32 tableNameLen, char * hiveTableName, char * tableLocation, char * partnLocation, char * hostName, char * partnLocation, ComTdbExeUtilFastDelete::ComTdbExeUtilHiveTruncate(char * tableName, ULng32 tableNameLen, char * hiveTableName, ComTdbExeUtilFastDelete::ComTdbExeUtilHiveTruncate(char * tableName, ULng32 tableNameLen, char * hiveTableName, char * tableLocation, char * partnLocation, char * hostName, char * hostName, char * partnLocation, ComTdbExeUtilFastDelete::ComTdbExeUtilFastDelete(char * tableLocation, ULng32 partnLocation, ComTdbExeUtilFast", "reference": "I'm curious why the table name is bound at compile time? Is it just to save the table create/drop overhead in a prepare-once-execute-many situation?" }, { "prediction": "I'm not sure this is the right thing to do here. It seems to me that the job is not in line with what other job types (hadoopJava, spark, pig, hive) are.", "reference": "quick question, isn't ProcessJob used by all job types? Then why is JOB_ID not found?" }, { "prediction": "This should be `Account.DEFAULT_RESIZE_IMAGE_ENABLED` instead of `Account.DEFAULT_RESIZE_IMAGE_CIRCUMFERENCE`", "reference": "looks like you forgot to actually increase the version" }, { "prediction": "I think this should be a `bool` instead of a `string`", "reference": "I think it might be helpful if we add `Default value: False.` on the end of the summary." }, { "prediction": "I don't think we need this check anymore.", "reference": "I think the check should be `config.sync.fullSynchronization === false` - otherwise this will get triggered even when full sync is `true`." }, { "prediction": "I'm not sure this is the right fix. The `SecretEncryption` and `SealedSecretEncryption` are only used in `GenerateApplicationSealedSecret` and `GenerateApplicationPipedSecret` and `GenerateApplicationPipedSecret` are only used in `GenerateApplicationSealedSecret` and `GenerateApplicationPipedSecret` and `GenerateApplicationSealedSecret` are only used in `GenerateApplicationSealedSecret` and `GenerateApplicationPipedSecret` and `GenerateApplicationSealedSecret` are only used in `GenerateApplicationSealedSecret` and `GenerateApplicationPipedSecret` is only used in `GenerateApplicationSealedSecret` and `GenerateApplicationPipedSecret` is only used in `GenerateApplicationSealedSecret` and `GenerateApplicationPipedSecret` is only used in `GenerateApplicationSealedSecret` and `GenerateApplicationPipedSecret` is only used in `GenerateApplicationSealedSecret`.", "reference": "this blown my mind" }, { "prediction": "Can we rename this to ContainStatusAPILbl?", "reference": "this should be controller-container-status" }, { "prediction": "Please remove this blank line.", "reference": "Sort import. You can use IDE's organize import feature." }, { "prediction": "Please revert this change.", "reference": "Can you please revert changes to files in the `thoughtworks` package? This is legacy code and we will eventually phase out RC." }, { "prediction": "I think this should be `t.Skip(\"Unskip when we have implemented production drand component and local drand network for functional tests\")`", "reference": "This PR is off to a rough start. :)" }, { "prediction": "I'm not sure why this change is needed, but it seems to me that `pacUrl` is always set to `false` if `proxyType` is `None`.", "reference": "Actually, it looks like the entire `normalizeProxyConfiguration` function isn't needed anymore" }, { "prediction": "I don't think this is necessary. The `portal_link` argument is only used when `excluded_portal_link` is true.", "reference": "How about `unless current_path == carts_path`?" }, { "prediction": "I don't think you need to change the email address here.", "reference": "You need to modify the copyrite aliases so it's done automatically." }, { "prediction": "I don't think this is the right place to do this. `props.value` will always be `0` if `props.value` is `undefined`.", "reference": "Quick question: Is this true for all `onAnimation*` and all `onTransition*` events?" }, { "prediction": "Why not just `data.constructor && (data.constructor.name && data.constructor.name === 'Script')`?", "reference": "Should sending an address into address error? Since the call isn't needed, and could be fixed easily." }, { "prediction": "This import is unused. Please remove it.", "reference": "This is the wrong MDC; see MDCLoggingContext which imports `org.slf4j.MDC`" }, { "prediction": "I don't think you need to call `initial()` here.", "reference": "Maybe we can clarify a bit what that means." }, { "prediction": "I'm not sure if this is the right place to put this. It seems like it should be a `Task` instead of `Task.Result`.", "reference": "This entire method can be deleted; it isn't used and it isn't an override of Stream." }, { "prediction": "Can we move this import to `MetadataTableUtils`?", "reference": "We avoid static method imports. Can you call `MetadataTableUtils.createMetadataTableInstance` instead?" }, { "prediction": "I think this should be `self._pac_url == other._pac_url`", "reference": "No need for this, as pylint already only turns things off for this function and it's needed for the entire function." }, { "prediction": "Line is too long. [81/80]", "reference": "I'm actually surprised this is valid Ruby. I thought you'd need either `delegate(...)` or `delegate \\...`." }, { "prediction": "nit: `^` should be `^`.", "reference": "Why change this?" }, { "prediction": "I think we should throw an error here instead of silently ignoring remote uploads.", "reference": "Maybe change it to `'Can't UPLOAD remote files when bundle: true is set'`?" }, { "prediction": "I think this should be `Exception ex = new Exception(nameof(this.OnExport), ex);`", "reference": "Do we need to drop the remaining items from the batch? Otherwise we might end up with a dead loop. Add @CodeBlanch for awareness." }, { "prediction": "I don't think we need to submit a dummy PoSt right away to trigger power updates. If we submit a dummy PoSt right away, then the miner actors don't need to verify that the PoSt is well formed. If we submit a dummy PoSt right away, then the miner actors don't need to verify that the PoSt is well formed. If we submit a dummy PoSt right away, then the miner actors don't need to verify that the PoSt is well formed. If we submit a dummy PoSt right away, then the miner actors don't need to verify that the PoSt is well formed. If we submit a dummy PoSt right away, then the miner actors don't need to verify that the PoSt is well formed. If we submit a dummy PoSt right away, then the miner actors don't need to verify that the PoSt is well formed.", "reference": "Because power is now added during `submitPoSt` this is needed for setting power in the genesis block. Again let me know if this bootstrapping solution is flawed." }, { "prediction": "This should be `ReflectionMethod::getReturnType` instead of `ReflectionParameter::getType`.", "reference": "To be consistent, these should go at the top between `DateTimeZone::listIdentifiers` and `SQLite3::createFunction`." }, { "prediction": "I think this should be `protected void ensureOpen() throws AlreadyClosedException {}`", "reference": "I think we should avoid changing any lucene classes for the moment - fileModified() can probably stay where it is?" }, { "prediction": "I think this is a bug fix. If extendedBolusText is empty, the OverviewFragment will show the extendedBolusView. In this case, the extendedBolusView should be visible.", "reference": "GONE breaks formating of \":\". or is it fixed below?" }, { "prediction": "Should we deprecate all methods from ASTFormalParameter?", "reference": "What do you mean with this? Won't the deprecation be inherited?" }, { "prediction": "I'm not sure this is the right default value. It should be `T::c_str()` or `T::length()` or something like that.", "reference": "line between \" and \" should be <80 chars." }, { "prediction": "I'm not sure why this was removed?", "reference": "What will happen if neither `rvm` nor `ruby` is present in the.travis.yml?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. If it is the right way to do it, I'm not sure if this is the right way to do it. If it is the right way to do it, I'm not sure if this is the right way to do it. If it is the right way to do it, I'm not sure if this is the right way to do it. If it is the right way to do it, I'm not sure if this is the right way to do it. If it is the right way to do it, I'm not sure if this is the right way to do it.", "reference": "@p-l- Hey it seems that this was len-4?!" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if it's the right way to do it, but I'm not sure if it's the right way to do it.", "reference": "This is something I added which resolved a few large errors in the output, although not related to the refactor here I don't think." }, { "prediction": "I think this is the only place where the visibility change is required.", "reference": "i have removed this line because whenever a video is played in AntennaPod this line was making play button invisible" }, { "prediction": "I think this test should be moved to `org.apache.servicecomb.foundation.vertx.Test`", "reference": "remove temporary code" }, { "prediction": "Why not use `TheBASEFEE of this header.`?", "reference": "* Should be tagged `@Unstable` * Should be a default method, returning `null` * Also, perhaps `Optional` instead of just `Long`? Always empty when the BASEFEE isn't relevant? If so the default is `Optional.empty()`" }, { "prediction": "Can we use `TEST_STORE_NAME` instead of `TEST_STORE_NAME`?", "reference": "Minor detail, but let's use the interpolated template string syntax instead." }, { "prediction": "I think this should be `ClockIds []string`.", "reference": "this line is so long, split it to multi lines." }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure if it's the right place to do this.", "reference": "Looks like this might be one of those \"promoted features\" where you can enable it by _either_ enabling the extension _or_ enabling the feature bit. If that is the case, I think this needs to be: `(device_extensions.vk_ext_scalar_block_layout == kEnabledByCreateinfo) || (enabled_features.core12.scalarBlockLayout == VK_TRUE)`." }, { "prediction": "I'm not sure this is the right place to put this #if defined(__APPLE__)", "reference": "Why should we define it for v1? This is preserved only for backward compatibility, all further modifications must be done in the latest vX" }, { "prediction": "I'm not sure about this change, but I think it's better to keep the docstring as it was before.", "reference": "This is a definite improvement! Hardcoding nonzero is vastly better than hardcoding length. Even so, is there no way to determine the actual value of nonzero in a way that doesn't load the entire dataset?" }, { "prediction": "This method should be renamed to `GetUriTagValueFromRequestUri`.", "reference": "do we have a way to avoid the string concats, if there is no username/password in the Uri? if (uri has UsernameInfo) { do what is done in this PR. } else { existing behavior. }" }, { "prediction": "I think this should be `HTTP Status=%i` instead of `HTTP data=%s`", "reference": "do not print the payload since it might be corrupted, you can get the data with _debug.http.response_payload configuration property" }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "maybe \"app init creates an copilot directory and a workspace file\"? since you validate for the file as well." }, { "prediction": "Trail is not a valid source type.", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "This file should be renamed to `Sabre\\Event`.", "reference": "Nit: Could rename this file from SabreEvent.php now that it's not for Sabre" }, { "prediction": "I'm not sure if we should use defers to ensure things that are stopped up successfully are stopped before we exit. I'm not sure if we should use defers to ensure things that are stopped up successfully are stopped before we exit.", "reference": "I believe this `Stop` function _is_ called with deferred." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "This entire clause should now be removed. It was only relevant if `accountID` couldn't be parsed from `clientID`, which is now no longer needed." }, { "prediction": "I'm not sure if this is the right default. I'm not sure if it's the right default, but if it's the default, I think it should be `None`, not `None`.", "reference": "FTR: Unlike commonly known practice, `latest` in Ansible docs corresponds to the stable version, not to the latest state of the main Git branch. Is this your intention? Just checking..." }, { "prediction": "I don't think this is the right place to do this. It should be `if (translateSource->getCharSet() == CharInfo::GBK || translateSource->getCharSet() == CharInfo::UnknownCharSet)`", "reference": "Why do we have || CharInfo::UnknownCharSet here? I do not see it it in neighbouring statements. This is just for my understanding." }, { "prediction": "Why is this being set to `null`?", "reference": "isn't `HttpWebRequest` an expensive key value?" }, { "prediction": "Line is too long. [87/80]", "reference": "couldn't we run this query whether there are observations or not?" }, { "prediction": "This test is failing because the `--no-lock` flag is not being used.", "reference": "This shouldn't be needed to change right?" }, { "prediction": "I don't think we should change this file.", "reference": "This seemed broken to me. Why would browserify only check the (previously `cdn`, now) `bundle` example? And even so, the path is incorrect here. Fixing this is unrelated so should not go into this PR I feel. But when we fix this in master, perhaps that solves the reload issues that you experienced @hedgerh?" }, { "prediction": "I think we should keep the DDWAF_RET_CODE and DDWAF_TOTAL_RESTART to be consistent.", "reference": "Same question, do we have potential version-conflict crashing scenarios here?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "Definitely not required, but it would be better if you had a constexpr for `\"INPUT_DUMMY\"`" }, { "prediction": "I'm not sure if this is the right place to do this, but it seems like it should be moved to the `DoAutoArchive` method.", "reference": "It seems ok. Because already created a file name at line 1815 and already checked if it is null or empty at line 1816. If file name is null, then already this line will not executed." }, { "prediction": "Is this TODO?", "reference": "Can all the BaseFeePerGas methods that are added be removed? It's not needed for the bomb and not referenced anywhere else in this PR." }, { "prediction": "I think this should be a warning instead of a warning.", "reference": "util.Warning()? Easier to say." }, { "prediction": "why is this removed?", "reference": "these 2 no longer needed after refactor" }, { "prediction": "This should be `fadirect_raw_block` instead of `fadirect_raw_block`.", "reference": "most spec options appear to be snake case - `fa_direct_raw_block`, let's stick to that convention" }, { "prediction": "I'm not sure why this was removed.", "reference": "Looks like we can then drop this dependency." }, { "prediction": "I think this should be `self.scripts.remove(script_obj)` instead of `self.scripts[:].load()`.", "reference": "3) Subscribe to the script change signal in `FlowMaster.__init__`. The event handler should call `self.masterq.put((\"script_change\", script))`. 4) Add a `handle_script_change` function, that once called, takes the script object and calls `script.reload()`." }, { "prediction": "Why not just use `_body.toString()`?", "reference": "This method is for unit testing only, right? How about making it package private? This way the readers would know that this is not a public API outside this package and would reduce the search space." }, { "prediction": "Why is this needed?", "reference": "accidental? i guess it's the same as any other boilerplate" }, { "prediction": "I don't think this is needed.", "reference": "shadowing the builtin, let's use function or func or callable_" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Can you add some good examples, for instance integers, strings and whatnot?" }, { "prediction": "I don't think this file is needed.", "reference": "Can we just have 2017 here @kmova if possible, as i seen in other projects as well( kubernetes etc..), they mentioned only the year when the file has been created." }, { "prediction": "Why not just call `shader.words.clear()`?", "reference": "@Tony-LunarG I just realized that this differs from the previous behavior in that spirv-opt will run on the byte code if there are any \"group decorations.\" If this is a problem, I can add an additional constructor to keep the pre-existing behavior." }, { "prediction": "I think this should be `column.getPrimitiveType()` instead of `column.getPrimitiveType()`", "reference": "Nit: continuation lines should be indented 4 spaces from the start of the statement." }, { "prediction": "This should be `_sysfs_format_ptr = NULL;`", "reference": "Are these protected by any kind of lock?" }, { "prediction": "This should be `self.hierarchical_name = kwargs.get('firewall_rule_hierarchical_name')`", "reference": "This should probably default to a string, as get_resource_ancestors is causing the tests to fail due to the rsplit on a None hierarchical_name." }, { "prediction": "I'm not sure this is the right reference.", "reference": "I prefer not to have markdown here, while it is nice for the site this is also shown for `kubectl explain` where this will look weird" }, { "prediction": "Is this intentional?", "reference": "@durran Was this change intended to be included in this PR?" }, { "prediction": "I think this should be `viewLibraryPepInfo = new ViewLibraryPepInfo(key, null);` instead of `viewLibPepInfo = new ViewLibraryPepInfo(key, viewLibraryPepInfo.Key);`", "reference": "Feels like this could have a default null value to remove the need for this explicit \"null\" use." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if this is a good idea or not, but I think it's a good idea.", "reference": "\"failed to create...\"" }, { "prediction": "I'm not sure if this is the right error message.", "reference": "No formatting directives, `glog.Error` will do just fine." }, { "prediction": "Line is too long. [82/80]", "reference": "This should just be `.not_to raise_error` otherwise it potentially hides errors" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to log the error and log it in the log message.", "reference": "Need an `if err == nil {break}` above this line so that we don't log/sleep if the retry succeeds." }, { "prediction": "Why do we need to remove this class?", "reference": "Separate it to different methods :D Invoke method look's like old fashion portal class :D" }, { "prediction": "Why is this removed?", "reference": "Collapse/expand animation of filter is broken - not smooth." }, { "prediction": "I'm not sure if this is the right place to remove it, but I'm not sure if it's safe to remove it.", "reference": "so during the `script` stage we run `mvn install`?" }, { "prediction": "I don't think we need this.", "reference": "we may need to move CandidateNamespace to this protocol as it is only used here." }, { "prediction": "Is it possible to set the status of the execution controller to KILLED instead of KILLING? I don't think we want to set the status of the execution controller to KILLED.", "reference": "Just to confirm, this will take care of all the nodes in graph. right?" }, { "prediction": "This is a bit of a nitpick, but I think it would be better to use `String.Format` instead of `{0} {1}\", Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Constants.ParentProcessIdOption, parentProcessId.ToString()`", "reference": "nit: remove this line. All \"arrange\" may be in one code block." }, { "prediction": "I'm not sure if we should use `Xattr` here. It's not a `Xattr` but a `XattrValue`. It's a `XattrValue` and a `XattrName` and a `XattrValue`.", "reference": "This name is not a good fit, what about `ExtendedAttribute`? Or even just `Attribute`?" }, { "prediction": "This is a bit of a nitpick, but I think it would be better to use `assert(strcmp(expval, val)!= 0)` instead of `assert(strcmp(expval, val)!= 0)`.", "reference": "lets keep our \"testing framework\" header only if possible. since there is an `assert(0)` in there, it is intended to halt on the first test failure." }, { "prediction": "Why did you remove this line?", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I'm not sure if this is the right place to remove this, but I'm not sure if it's a good place to remove it.", "reference": "I was saving this white-space for my retirement :nit:" }, { "prediction": "I don't think we should add this to the `before_action :discard_flash_if_xhr` filter.", "reference": "What if you don't want to continue with the behavior, but you just want the deprecation to go away? Should we add `skip_after_action :discard_flash_if_xhr`?" }, { "prediction": "I'm not sure if this is the right fix. The `AccountStateByHash160(ws, srcAddr)` method is used to get the confirmed state of the account, and the `AccountStateByHash160(ws, srcAddr)` method is used to get the confirmed state of the account. I'm not sure if this is the right fix.", "reference": "change `accountNonceMap` to map[address.Address][]uint64" }, { "prediction": "I don't think this is needed.", "reference": "The `CLIENT_CONFIG` is \"client_config\" with underscore, so we can't reuse it in the second arg." }, { "prediction": "I'm not sure if we should do this, but I think it's fine.", "reference": "Does this mean all admins get the default batch size (which is 20) no matter the value of `-sync-batch-size`? It seems the command line flag doesn't do anything then does it?" }, { "prediction": "I think this should be `acceptedHeaderTypes` instead of `acceptedContentTypes`", "reference": "Set default value as empty array instead of null" }, { "prediction": "I think this should be `if routeUpd.Dst == nil {`", "reference": "Would be good to UT this case" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "this was updated after linking the latest ethereum/tests after a submodules recursive update" }, { "prediction": "I don't think we need this.", "reference": "Todo: find a way to only do this in one spot, ideally with defaults for the stuff we use" }, { "prediction": "Please remove unused import.", "reference": "Imports should not have blank lines. Sorry there isn't a checkstyle rule running for this yet, we still need to update the build for this one." }, { "prediction": "I think this should be `if isinstance(feval, collections.Callable):`", "reference": "Please move this to L3115 to group the code logically - all code for `feval` in one place." }, { "prediction": "Why is this public?", "reference": "This was done to wrap the operation so it could be spied upon during testing. Likely needs to be undone once an alternative test is discovered." }, { "prediction": "I think this should be `time.Duration(cr.Expires) * time.Millisecond`, not `time.Now().Add(time.Duration(cr.Expires) * time.Millisecond)`.", "reference": "I feel we need to impose a lower limit here maybe? What about a max and default for when none is set?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "ineffectual assignment to `err` (from `ineffassign`)" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's a good idea to put it in the interface.", "reference": "Ahhh... this makes sense. Does using functions to defer evaluation of these values have anything to do with #916 (where the `Host: {host}` was 'cached' between different hostnames)? If not, could you help me understand what this change does?" }, { "prediction": "Why is this change necessary?", "reference": "Perhaps the only test needed is to see if the socket is not an invalid socket? Is the >= 0 test necessary at this point?" }, { "prediction": "I don't think we should be using this form here. It's a bit of a hack, but it's a bit of a hack, so let's move it to `credit_card_form.html.erb`.", "reference": "Could this line use `url: current_user.subscription`?" }, { "prediction": "I'm not sure if this is the right fix. The `preg_match('/'. preg_quote($quoted_remove_var_id, '/'). '[\\]\\[\\-]/', $var_id)` will return a `nil` string, but the `preg_match('/'. preg_quote($quoted_remove_var_id, '/'). '[\\]\\[\\-]/', $var_id)` will return a `nil` string, so the `preg_match('/'. preg_quote($quoted_remove_var_id, '/'). '[\\]\\[\\-]/', $var_id)` will return a `nil` string, so the `preg_match('/'. preg_quote($quoted_remove_var_id, '/'). '[\\]\\[\\-]/', $var_id)` will return a `nil` string.", "reference": "I was seeing `Warning: preg_match(): Unknown modifier 'a' in /path/to/project/vendor/vimeo/psalm/src/Psalm/Context.php on line 480` here" }, { "prediction": "I'm not sure if this is a good test or not.", "reference": "The changes in this file are not necessary." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "run `make lint` to fix" }, { "prediction": "I'm not sure if this is the right place to put this test.", "reference": "we will need `assert result.success` instead. result will always be not null because it returns an execution result including several metadata - when the execution fails, it'd return an execution result whose `success` attribute is false." }, { "prediction": "I think it would be better to have a `ZvolWorkers` field in `CStorVolumeReplicaSpec` and have `CStorVolumeReplicaSpec.ZvolWorkers` contain the number of threads that executes client IOs. Then we can have `CStorVolumeReplicaSpec.ZvolWorkers` contain the number of threads that executes client IOs.", "reference": "Can we mention how can one determine the best value given an infrastructure? Does it default to any value?" }, { "prediction": "Please remove this empty line.", "reference": "Leave this formatting the way it was please, that's the standard across all of October's files." }, { "prediction": "I'm not sure if this is a good idea, but I'm not sure if this is a good idea.", "reference": "@runcom says there is no need to use `selinux` here. `selinux` \"github.com/opencontainers/selinux/go-selinux\" The code should work fine without it." }, { "prediction": "I think this should be `LIFECYCLE_STATE_IN_PROGRESS`", "reference": "nit: It might be worth defining these elsewhere as a python-type?" }, { "prediction": "I think this should be `enable.quartz.enabled=true`", "reference": "prefix it with azkaban. Maybe azkaban.server.schedule.enable_quartz?" }, { "prediction": "I'm not sure this is the right solution. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is.", "reference": "It'd be nice if we also caught `Unknown variable $trusted / $server_facts / $settings::` here - while I highly doubt anyone is using them (and if they are they're surely misusing them) it'd be crazy-making to have a working plan suddenly start failing with no clue as to why." }, { "prediction": "I think this should be `panic(\"NOT IMPLEMENTED\")`", "reference": "Probably need to understand/implement this one now." }, { "prediction": "I don't think we need to check for null here.", "reference": "It will be better to add contains check for key in hashAndFileNameToDep instead of null check over here. All of these should be inside that contains if case." }, { "prediction": "Use 2 (not 0) spaces for indenting an expression spanning multiple lines.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "perhaps these magic numbers could go into a Defaults module somewhere? 8140 implies the default is for puppet server. i guess that's somewhat reasonable. but if we're trying to decouple beaker from puppet, maybe this should be 80?" }, { "prediction": "I'm not sure if dr_stats_get_built_blocks_count() is the right place for this function.", "reference": "style violation: { on own line" }, { "prediction": "I'm not sure if this is the right place to do this. If the token is `H2O_TOKEN_X_COMPRESS` then the `compression_hint` value will be `H2O_COMPRESS_HINT_ENABLE` and `H2O_COMPRESS_HINT_DISABLE` will be `H2O_COMPRESS_HINT_ENABLE` and `H2O_COMPRESS_HINT_DISABLE` will be `H2O_COMPRESS_HINT_ENABLE` and `H2O_COMPRESS_HINT_DISABLE` will be `H2O_COMPRESS_HINT_ENABLE` and `H2O_COMPRESS_HINT_DISABLE` will be `H2O_COMPRESS_HINT_ENABLE` and `H2O_COMPRESS_HINT_DISABLE` will be `H2O_COMPRESS_HINT_ENABLE` and `H2O_COMPRESS_HINT_ENABLE` and `H2O_COMPRESS_HINT_DISABLE` will be `H2O_COMPRESS_HINT_ENABLE` and `H2O_COMPRESS", "reference": "Could we accept caseless strings (e.g. `off`, `on`, `auto`) instead of numbers to indicate the mode? Of course, we should use an enum internally (as we already do)." }, { "prediction": "Why is this needed?", "reference": "The sender doesn't use `GetTipSet`, so please remove it from this interface." }, { "prediction": "Remove unused import.", "reference": "We can get rid of this import then." }, { "prediction": "I don't think we need to change this.", "reference": "These configurations are currently overwritten in the props we provide in our config files. They need to be overridden there as well after you make this change." }, { "prediction": "I'm not sure why we need to do this. It seems like we're trying to create a scratch bucket with the same zone as the mgce.OnGCE() call. I'm not sure what the best way to do this is.", "reference": "Why is error ignored here?" }, { "prediction": "Needed to preserve legacy config behavior.", "reference": ">PartitionFlagBiosGrubLegacy PartitionFlag = \"bios-grub\" [](start = 1, length = 55) I presume this is to fix a breaking change...and it's too late to fix the breaking change (since it already escaped into the world?)" }, { "prediction": "I'm not sure this is the right thing to do here. The `dataManifests()` method returns a `Iterable` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set` which is a `Set", "reference": "Is this explicitly ignoring the effect of deleted rows on partition metrics or is it just that you are short circuiting any delete files (as we can't use them anyways)" }, { "prediction": "I don't think this is the right place to put this code. It should be moved to the `BuildParametersForCommand` method.", "reference": "I would also check whether or not this \"defaultParameters\" is null or empty to allow for people to omit it from the config file." }, { "prediction": "I think this should be `%v` instead of `%s`.", "reference": "I think event.Content is of type interface{}, so we may need %v here?" }, { "prediction": "I'm not sure about this change, but I think it would be better to remove `RemovedInvenio22Warning` and `RemovedInvenio23Warning` from `deprecation`.", "reference": "Note: `editor` depends on legacy `BibEdit`" }, { "prediction": "Why do we need to pass `duration` here?", "reference": "we should probably deprecate (and display a warning) the misspelled keyword arg here rather than removing it... and then add the new one. This changes a public API and will break any code that is currently using the misspelled version." }, { "prediction": "I'm not sure if this is the right place to test this, but I'm not sure if this is the right place to test it.", "reference": "I'm wondering if a positive test case is needed here? Then we might compare the result DataFrame with a pre-created Koalas DataFrame." }, { "prediction": "I think this should be `@return true, if no underlying value is present, false otherwise.`", "reference": "I think it was reversed" }, { "prediction": "Why remove this constructor?", "reference": "The setter \"setName\" can be package-private as well" }, { "prediction": "why is this change needed?", "reference": "Not sure if this is intentional or snuck in through find/replace; while this is a correct style fix (and is welcome in another PR), it should not be done here so that the commit maintains a logical changeset." }, { "prediction": "I'm not sure this is the right place for this test.", "reference": "This makes me wonder if the TBufferTransport should have a size limit that is configurable, with a default of INT32_MAX, and then the test can make a smaller one like 4KB, and write 4KB and then one byte more, instead of using up 2GB of memory." }, { "prediction": "I think this should be `context.getMethod().isRequestStreaming()` instead of `context.getMethod().isResponseStreaming()`", "reference": "If you use an enum for the streaming type, you wouldn't need to add each boolean as a separate attribute." }, { "prediction": "I think this should be `from invenio.utils.serializers import serialize_via_marshal, \\`", "reference": "can you check if you can use `sqlalchemy.exc.IntegrityError` instead?" }, { "prediction": "I'm not sure if it's safe to use `recursive_mutex` here.", "reference": "Why we need to use recursive_mutex here?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "am I correct these changes are related to: > I have removed a bunch of legacy functions for issuer generation... if so, I can see why that's a valuable change but this is already a pretty huge PR and these changes to use `gen` here feel quite distant from the goal of this specific PR; they should maybe be in their own PR, to make everything easier to review? or have I missed how these changes are linked to this PR?" }, { "prediction": "Please revert this change.", "reference": "I think that this is an unused import" }, { "prediction": "Why do we need to change this?", "reference": "The string \"DVN_3_0\" appears in `if (!SOURCE_DVN_3_0.equals(xmlr.getAttributeValue(null, \"source\"))) {` in ImportDDIServiceBean. It's not an exact match so I don't *think* this will break dataset import from DDI but I thought I'd at least mention it." }, { "prediction": "I'm not sure if this is the right place for this function.", "reference": "Can you add docstring to this? Also, this might be a nit but I think `CompareCommits` or `CommitRange` might be a better name. What do you think?" }, { "prediction": "I think this should be `current.CheckImmutableFields(ctx, *PullSubscription)` instead of `current.CheckFields(ctx, *PullSubscription)`", "reference": "were all these ones missed in the previous PR so you are adding them now? the sources v1 and some of this? Is that right? If so, can you update the PR title" }, { "prediction": "I don't think we need to add a new version here.", "reference": "hmm should this be `VERSION_81` instead?" }, { "prediction": "I'm not sure this is the right value for this, but I think it would be better to have a configurable chunk size.", "reference": "What is the reason for increasing this?" }, { "prediction": "I don't think we should be adding this here, since it's only used by the `Transloadit` plugin, and it's only used by the `Transloadit` plugin.", "reference": "is there any reason we are not adding this to companion as well? There are no CORS concerns there, so adding probably shouldn't be a problem, no? **One question about the requestId;** Are the request Ids unique to each tus-js-client request, or are they unique to an upload instance instead?" }, { "prediction": "I don't think this is needed.", "reference": "The formatting is a little off here." }, { "prediction": "I think this change is unrelated to this PR, but I'm not sure if it's worth it.", "reference": "Perhaps we should import assertj for tests. These assertions are so much cleaner with assertj. Don't know whether hamcrest equivalent exist (maybe it does)." }, { "prediction": "Why are these removed?", "reference": "You should use C++-type casts instead." }, { "prediction": "Why do we need to append the history nodes?", "reference": "Looks like each AppendHistoryNodes is its own transaction - what happens if `len(request.NewWorkflowNewEvents) == 5` but we only succeed in writing 3 of them? Will the system be able to pick up from there later? I'm _guessing_ the answer is related to the `ON CONFLICT` and `INSERT IGNORE` changes below? What does Cassandra do?" }, { "prediction": "Can we use `logrus.Fields` instead of `telemetry.SVIDStore`, `telemetry.Entry` and `telemetry.SPIFFEID`?", "reference": "why are you replacing log here? it is defined above and contains EntryID and SPIFFEID" }, { "prediction": "why not just return `cmd.openvpnBinaryCheck()` here?", "reference": "Why not `checkOpenvpn` as in client command?" }, { "prediction": "I think this should be `return mocha ||!mocha.reporter('base') || mocha.reporter('reporter') || mocha.reporter('base')._reporter;`", "reference": "> Note: Non-headless tests (that run on selenium-webdriver) need to wire up to mocha reporter to collect all the results and report them. (See `test-webdriver.js`). But for other tests this can be skipped." }, { "prediction": "I'm not sure this is the best way to do this, but I think it would be better to use `connect_to[0]` and `connect_to[1]` instead of `connect_to[0]` and `connect_to[1]` to be consistent with `connect_to[0]` and `connect_to[1]`", "reference": "I think we should apply IDNA encoding for the host here." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "No need to use `this->` here" }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "I can't quite tell, is there a reason why we're finding this condition again when it was done a few lines above? Or was this a mistaken paste?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "doh. My fault, sorry." }, { "prediction": "I think we should rename this field to `proposal.ID` and `proposal.ProviderID` to make it clear that it's a proposal's ID.", "reference": "Why do we returning `interface{}` here? Don't we have a predefined type for `ID`?" }, { "prediction": "I'm not sure if this is a good idea, but I think it's better to keep the WordPress dependencies in alphabetical order. I'm not sure if this is a good idea, but I think it's better to keep the WordPress dependencies in alphabetical order.", "reference": "`lodash` shouldn't be grouped under WordPress dependencies" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I think this should be `return noteIds[0] === null? '' : noteIds[0].id;`", "reference": "Not sure why you want to make the distinction between null and undefined? And also `null == undefined` anyway so I think you could simply have `!noteIds` here." }, { "prediction": "I think we should add this to `http.go` as well.", "reference": "Almost makes me wonder if this should default to Rpc-Context so everything defaults under Rpc-" }, { "prediction": "I don't think this change is needed.", "reference": "File is not `goimports`-ed (from `goimports`)" }, { "prediction": "I don't think we need this check anymore.", "reference": "would these require any account lock here?" }, { "prediction": "I'm not sure why this is needed.", "reference": "The else doesn't return anything?" }, { "prediction": "I don't think this is the right place to set this.givenFeeSat = opts.feeSat? opts.fee * util.COIN : opts.feeSat;", "reference": "if (typeof (opts.fee)!== 'undefined' || typeof (opts.feeSat)!=='undefined') {" }, { "prediction": "I think this should be `if d.Permissions!= \"\" { p = \"rwm\" // empty permissions is invalid... causes a write invalid argument error upon saving to cgroups } else { p = d.Permissions }`", "reference": "I not sure we need to change this method's logic. Isn't no perms and invalid config?" }, { "prediction": "I think this should be 5 minutes.", "reference": "this is an abysmal amount of time. can you explain under which circumstances you should wait for a minute for a message?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Can we add this code to `job_package.go` and `svc_package.go`?" }, { "prediction": "Why do we need this type?", "reference": "While you're here, can you change the casing on this so it is unexported? `nextPlanNodeIDKey` instead." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's worth it.", "reference": "thanks for tidying all these up, as you can tell they've been used pretty arbitrarily in the past to just exclude things from bootstrap..." }, { "prediction": "I don't think this is the right way to do this. If `plot.dimensions` is `False`, then `len(plot) == 1` will always be `False`. If `plot.dimensions` is `True`, then `len(plot) == 1` will always be `False`.", "reference": "Again, `no_duplicates=False` would be clearer here..." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "shouldnt we stop these routines BEFORE the db closed?" }, { "prediction": "I think this should be `org.openqa.selenium.devtools.target.SessionId` instead of `org.openqa.selenium.json.JsonInput`.", "reference": "It fills me with endless sadness that we can't use Selenium's own `SessionId` here." }, { "prediction": "I think this should be `LOG.info(String.format(\"Pulling %s:%s\", name, tag));` instead of `LOG.finest(String.format(\"Pulling %s:%s\", name, tag));`", "reference": "This will always need to be displayed to users." }, { "prediction": "I don't think we need this variable, it's already defined in `CartDecorator`", "reference": "Maybe we make an `ORIGINS` constant on the Cart model instead?" }, { "prediction": "Why are we removing this field?", "reference": "looks like this is not needed anymore with boltdb migration. lets confirm with @fenxiong" }, { "prediction": "Why is this change needed?", "reference": "shadow: declaration of \"err\" shadows declaration at line 408 (from `govet`)" }, { "prediction": "I think this should be `LOG.info(\"When using the W3C Action commands, offsets are from the center of the element.\");`", "reference": "Again, the existing level is correct --- we're letting users know about something that might cause there tests to fail." }, { "prediction": "I'm not sure this is the right thing to do here, but I'm not sure if this is the right thing to do.", "reference": "Required by the libcalico-go changes" }, { "prediction": "I don't think this is necessary. The current buckets are only used by `gnuplot` and `gnuplot-histogram` and `gnuplot-histogram` are only used by `gnuplot` and `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` are only used by `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` are only used by `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` are only used by `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` are only used by `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` are only used by `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` are only used by `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram` and `gnuplot-histogram`", "reference": "You want \"current_min_count\"" }, { "prediction": "I think this should be `SORT_ORDER` instead of `SORT_BY`", "reference": "Why changes in this file?" }, { "prediction": "I don't think we need the `[` here.", "reference": "This doesn't look right. I think what you want here is `\\\\[([^\\\\]]+)\\\\]\\\\[[A-Za-z_][A-Za-z_.0-9]*]*\\\\]`." }, { "prediction": "Line is too long. [81/80]", "reference": "@AndrewRayCode thanks for contributing Could you write/modify the specs to make sure that this description is working properly?" }, { "prediction": "I think this should be `is_redirect = error.status_code < 400` instead of `is_redirect = error.content_type == 'application/json'`", "reference": "I would have tested 304 only there." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "`TimeoutAfter` to be safe." }, { "prediction": "I'm not sure this is the right place to do this.", "reference": "So the 32-bit tests on the new kernel hit this case? Won't they fail in debug build?" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to use `` instead of ``", "reference": "Is there a recommended quote style for attributes? I see single and double here, double further down." }, { "prediction": "I'm not sure if we should be storing this in a `Struct` since it's not used anywhere else.", "reference": "The description of `load_time` here is different from the description below..is that intentional?" }, { "prediction": "I think this should be ``", "reference": "Actually it could also be a video playlist. But music is used more often." }, { "prediction": "I don't think we should include the session here.", "reference": "From the ticket: > I understand why a session ID would be silently omitted for implicit sessions, but what is the reasoning behind omitting it for explicit sessions instead of raising a logic error to the user? So what this change is doing is \"silently omitting\" the session if its an unacknowledged write. I think we want to actually return an error in this case." }, { "prediction": "I don't think this is correct. The calculation should be done in a different way. The calculation should be done in a different way. The calculation should be done in a different way. The calculation should be done in a different way. The calculation should be done in a different way. The calculation should be done in a different way. The calculation should be done in a different way. The calculation should be done in a different way. The calculation should be done in a different way. The calculation should be done in a different way. The calculation should be done in a different way.", "reference": "You can simplify this by doing: return (EndTime - StartTime) * 60 / PointsAcrossPeak;" }, { "prediction": "I think this should be `horizontalAdvance` instead of `horizontalAdvance`.", "reference": "I think it's the time for bumping `REQUIRED_QT_VERSION` to the last LTS, 5.12. `QFontMetrics::horizontalAdvance()` doesn't exist in 5.10." }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if this is the right place to put it in.", "reference": "I already set up cd10 for \"inventory_version in google analytics. I've added cd11 for Boltdir Type now" }, { "prediction": "I'm not sure if this should be `ruby-(2\\.[0-2]\\.[0-9]|1\\.9\\.3)` or `ruby-(2\\.[0-2]\\.[0-9]|1\\.9\\.3)` (or `ruby-(2\\.[0-2]\\.[0-9]|1\\.9\\.3)`).", "reference": "@henrikhodne We are lazily skipping `jruby-*` here (assuming that JRuby all of a sudden start using these version numbers)." }, { "prediction": "I'm not sure this is the right fix. I'm not sure if it's correct or not.", "reference": "How does this cope with values like `5.001`? Shouldn't that set precision to 0? Instead it is set to 2." }, { "prediction": "I'm not sure this is the best way to do this, but I think it would be better to use `time.sleep(15)` instead of `time.sleep(15)`", "reference": "Rather than having a sleep here, we should check to see if the service we're waiting for is up yet, using something like dockerize. Not critical this second, but would be nice for later." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to use `process.exit()` instead of `process.exit(error.exitCode)`.", "reference": "I'm not sure if there are any links to swap for Handosntable package. Should this be a top lvl script?" }, { "prediction": "I'm not sure if `ALIGN_FORWARD` and `ALIGN_FORWARD` are the right thing to do here.", "reference": "It seems like it's too big now: can we remove signal_frame_extra_size from line 537? That should only be needed when placing xstate separately. It seems like it isn't needed at all for pending? Also, if we have special heap align forward for us, we don't need this align here either." }, { "prediction": "I'm not sure this is the right way to do this. The `$utf8.GetString` will return a `string`, not a `string`, so the `Base64.encode64(JSON.dump(arguments))` won't work.", "reference": "Just double checked the `-in` operator. It's PS3 only, so we might want to change `$_ -in $allowedArgs` to `$allowedArgs -contains $_`" }, { "prediction": "I'm not sure if this should be a UI property, but I'm not sure if it should be a UI property.", "reference": "Might as well use translate here, as @jcsteh suggested" }, { "prediction": "I think this should be `{group}\\n{dimensions}`", "reference": "Definitely an improvement as long as the old tests pass (i.e backwards compatible)." }, { "prediction": "I'm not sure why this change is needed.", "reference": "nit: non functional change" }, { "prediction": "I think we should use `os.Getenv(\"AWS_SHARED_CREDENTIALS_FILE\", \"/home/.aws/credentials\")` instead of `os.Getenv(\"AWS_SHARED_CREDENTIALS_FILE\", \"/home/.aws/credentials\")`", "reference": "The file is not required - if you're using an IAM instance profile, for example. I'm not sure we can error 100% of the time if it's missing. @randomvariable any suggestions?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure what underlying means here.", "reference": "There is a very similar line `lowType = expr.Low.Type().(*types.Basic)` a few lines above this line. Can you change that in the same way?" }, { "prediction": "Why not just use the mining coordinator?", "reference": "New files should be copyright Hyperledger Besu Contributors." }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, but I'm not sure what the best way to do this is. What do you think?", "reference": "if I give a non-existent script, then I don't get an errors. I would have expected the `copy` method to raise, but maybe `net-sftp` silently exits?" }, { "prediction": "I'm not sure this is the right fix, but I think it would be better to do `value = list(to_replace) if isinstance(to_replace, list) else to_replace` instead of `value = list(to_replace) if isinstance(to_replace, tuple) else to_replace`", "reference": "@itholic can you also update the parameters in the docs?" }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if this is the right place to put it, but I'm not sure if this is the right place to put it. I'm not sure if this is the right place to put it.", "reference": "The super impl Spliterator.getComparator() throws an IllegalStateException by default. Is it really necessary to return null? If null is used somewhere it will throw a NPE, which is roughly the same as throwing an IllegalStateException. I'm just curious - I'm sure there is a reason!" }, { "prediction": "I think this should be `MetricsConfig.fromProperties(table.properties())`.", "reference": "Do we need to do the same in Avro `WriteBuilder` too? I don't think we use that method right now but should make sense for consistency. We already handle that for Parquet." }, { "prediction": "I'm not sure if this is the best way to do this. It seems to me that if the option is set to `true`, then the compiler will try to compile the class, which is not what we want. I'm not sure if this is the best way to do it, but I think it would be better if the option is set to `true` by default.", "reference": "can you make all the `_` into `-` to be consistent with the other options?" }, { "prediction": "I don't think we should be using archer here.", "reference": "What do you think of renaming this file to `stack.go` or `cfn_stack.go`? `common.go`/`util.go` don't provide us anything descriptive about the contents of the file." }, { "prediction": "I don't think we need to add this assembly to the `Examples` assembly.", "reference": "It isn't a very effective example if it requires access to the internals I can't tell just looking at the diff why this is needed, can you provide a little context?" }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like it should be included in the `spec/integration/bolt/transport/local.rb` file rather than in the `spec/integration/bolt/transport/local.rb` file.", "reference": "Why does this include `bolt/inventory`?" }, { "prediction": "`Objects.equals` is not supported in Java 8", "reference": "We called `t._1.equals(...)` where `t._1` potentially could be `null`." }, { "prediction": "I don't think we need this.", "reference": "I don't think we should include the `hasAttribute` test here. Even without aria-valuenow, it's still an aria range element. This check is going to make reuse of this function problematic. Better to move the attribute check part outside this function IMO." }, { "prediction": "I think this should be `FileOption::REQUIRED`.", "reference": "Shouldn't it be optional?" }, { "prediction": "I think this should be `API Gateway` instead of `API Gateway`", "reference": "would be helpful to make these a package level constant so they are accessible to the user. similar to Service Name. Not directly related note, v2 SDK ServiceName should be renamed to ServiceEndpointPrefix." }, { "prediction": "I think this should be `return include $this->realpath($path)? include $this->realpath($path) : null;`", "reference": "Duplicate call to the method. Better to put in a variable." }, { "prediction": "`blockPtr BlockPointer` -> `blockPtr BlockPointer`", "reference": "\"and returns that\" -- it looks like this method has no return value." }, { "prediction": "Is there a reason for this change? I don't think it's necessary to add the diagonal flag to the `BaseInstanceMasks` class.", "reference": "Modifications are also needed for PolygonMask." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Does this really make a difference?" }, { "prediction": "I think this should be renamed to \"_root_\" instead of \"_root_\" since \"_root_\" is the name of the field in the schema.", "reference": "Added a validator for _root_, which is now added automatically since the schema used here declares _root_." }, { "prediction": "I think this should be `read.split.open-file-cost` instead of `read.split.open-file-cost`", "reference": "The other properties are `file-open-cost`, not `open-file-cost`." }, { "prediction": "I'm not sure if this should be `pkg_check_modules` or `pkg_check_modules`.", "reference": "confused by this: what we need here is not libunwind but libunwind-dev right? Why skipping detection?" }, { "prediction": "I don't think this is the right place to check for private properties. I'm not sure if this is the right place to check for private properties.", "reference": "just in case helps, it this related with this PR?" }, { "prediction": "I don't think this is the right place to put this code. It should be moved to `convert_server.py` and `convert_client.py` to `convert_server.py`.", "reference": "This is incomplete I think (at least source_address and ip_address are missing)" }, { "prediction": "I don't think this is the right place to exit the synchronizer. It should be done in the `synchronizer.start()` method, not in the `DefaultSynchronizer` class.", "reference": "We have a `stop` method here, we should probably be calling that instead of just exiting. There could be important resources to close or cleanup nicely now or in the future." }, { "prediction": "I don't think this is needed.", "reference": "fixes ArgNullEx when using both `x-ms-parameter-grouping` and media type `application/xml` in the same operation (issue #2236)" }, { "prediction": "I think we can remove these error codes.", "reference": "`NotFound` is a generic error code derived from the HTTP response message's status code, and can be returned for any S3 operation that responds with a 404 status code and no other error code present. Due to this the constant `ErrCodeBucketNotFound`. In addition, these constants are generated based on the API model defined by Amazon S3, modifications to the file directly will be lost during regeneration of the API. With that said, we are looking at ways to work with the Amazon S3 team to better represent this error in a way that is more easily consumed." }, { "prediction": "Use the new Ruby 1.9 hash syntax.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "@johnduarte I was curious about the case when the operating system was neither `osx` or `win`; in this case, the test will indeed pass, but nothing will have actually really been tested. Should this have a `skip_test` condition at the top?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "I think this example was included by accident? It doesn't seem to belong in this PR (but a separate PR with this would be nice!)." }, { "prediction": "I think this should be `httpEntity` instead of `requestEntity`.", "reference": "Just fixing a bunch of outdated java docs in this file" }, { "prediction": "Why is this change necessary?", "reference": "I think it may be safer not to touch Concurrent to normal." }, { "prediction": "I'm not sure this is the right place to emit errors. I think it should be `this.emit('error', err);`", "reference": "is this for everything, or just legacy?" }, { "prediction": "I'm not sure if this is the right place for this error. I'm not sure if this is the right place for this error.", "reference": "I think this should be a `MongoError` right?" }, { "prediction": "I'm not sure if we want to keep these URLs in alphabetical order. I'm not sure if we want to keep these URLs in alphabetical order, but if we want to keep them in alphabetical order, we can do it in a followup PR.", "reference": "This is currently a db.tar.gz with just one.sql file in it. It might be worth another test (or maybe I'll find one) that has more than one sql file in it." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "Why these changes to existing tests?" }, { "prediction": "I don't think you need to do this. You can just do `var serviceNameMappings = source?.GetDictionary(ConfigurationKeys.ServiceNameMappings)?? new ServiceNames(serviceNameMappings);`", "reference": "It should be `IsNullOrWhitespace` I believe, since we're going to trim the value afterwards (and I just realized the other configuration keys have the same issue)" }, { "prediction": "I'm not sure this is the right place for this method. I'm not sure it's used anywhere else in this PR.", "reference": "This is just for consistency + searchability with the transports" }, { "prediction": "I think we should move this to `/tmp/kubeedge/config.crt`", "reference": "please run gofmt." }, { "prediction": "I think this should be `import porcelain as porcelain`", "reference": "thats kind of a bummer, why do we have to give it full access? if it is just for the private interfaces i'd personally rather have those interfaces pollute the public exported symbols than open the tests up like this." }, { "prediction": "I don't think we should ignore in case appNodes with appID not existed in store.", "reference": "Because this is an unexpected situation so can you add a log here to help us figure out what resource is causing this problem?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but it seems to me that we are removing the `CollectionAdminParams.COLL_CONF` property from the `ZkStateReader.COLLECTION_PROP` and then re-adding it to the `ZkStateReader.COLLECTION_PROP` again.", "reference": "just observing that this innocent looking change seems important to this PR. Previously this data had disappeared from the state." }, { "prediction": "I don't think this is the right fix.", "reference": "Actually, I do have one question: You mention that each warning is for a different range. Should we add the rowcounts instead of using the max?" }, { "prediction": "Why do we need this?", "reference": "it is confusing to return ID as Name" }, { "prediction": "I'm not sure if this is the right place to put the body. I'm not sure if this is the right place to put the body, but if it is the right place to put the body, I think it would be better to put the body in a `try-except` block.", "reference": "body is being used here for the first time without every being populated. This will error. To run tests do `./go clean test_py` and that will run the Firefox tests" }, { "prediction": "I don't think this is needed.", "reference": "commit mesasge: I would append \"...Kernel::loadClassCache() method call\"" }, { "prediction": "I'm not sure this is the right way to do this, but I don't think it is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "Keys.COMMAND seems to be an alias to Keys.META. That isn't mentioned?" }, { "prediction": "Please revert this change.", "reference": "You can move this import down to before line 8 (import org.junit.Test;)." }, { "prediction": "I think this should be `scanner_index_id` instead of `inventory_index_id` and `scanner_index_id`", "reference": "It's okay to add the `scanner_index_id` here. But we still should keep the `inventory_index_id` reference because it will help the user to know right away, which inventory the violation is coming from, without having to do another lookup." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "this shouldn't be beforeClickOn, but rather beforeSubmit? and added to WebDriverEventListener. Since submit does not synthesize the 'click' events, this isn't accurate." }, { "prediction": "I don't think we should add this to the `pricing_scheme` model. It's not a part of the `ProductPricingScheme` model, it's a part of the `ProductPricingScheme` model.", "reference": "Should this be I18n'd?" }, { "prediction": "I think this change is not needed.", "reference": "We don't typically use `ImmutableList` to avoid leaking it in methods that are accidentally public or purposely part of the API. I'm +1 for returning `ImmutableList.copyOf(errors)` below, but I don't think we should guarantee the list will be an `ImmutableList`." }, { "prediction": "I'm not sure this is the right test. I'm not sure if this is the right test.", "reference": "@greglandrum Is this test sufficient?" }, { "prediction": "I think this should be `GITHUB_USER_PASSWORD` instead of `GITHUB_PASSWORD`.", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I don't think we need this column.", "reference": "I think Rails complains about the `null: false` part if we ever decide to roll this migration back. Might need to split this up into separate `up/down` methods to handle that." }, { "prediction": "I'm not sure this is the right place to put this debug statement.", "reference": "I don't think we need this line. You're logging in `waitForContainerTransition()` anyway" }, { "prediction": "Line is too long. [88/80]", "reference": "Shouldn't the `:attribute` placeholder appear?" }, { "prediction": "Why do we need to change the signature of this method?", "reference": "Could you update this to `structLike` instead of `arg`?" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if this is a good idea.", "reference": "I only now spot this `freebsd,!baremetal` in the code, which doesn't make a lot of sense. The fact that there is `linux,!baremetal` is because baremetal targets pretend to be linux/arm to get the standard library to compile. Such a `!baremetal` exclusion is not necessary for FreeBSD. But this is not something that needs fixing in this PR." }, { "prediction": "This should be `/var/tmp/tmpostree-deltaobj-XXXXXX` instead of `/var/tmp/tmpostree-deltaobj-XXXXXX`.", "reference": "Ugh, we were using cwd? =(" }, { "prediction": "Is this intentional?", "reference": "This can probably be removed?" }, { "prediction": "I'm not sure this is the right place to do this. The `resultColNames_` should be moved to the `fetch_results` list, and the `fetch_results` list should be moved to the `fetch_results` list.", "reference": "put this sentence in `if (onResult_) { }`" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure.", "reference": "Will this always be started up as default? Is there any impact to the VM in terms of load and memory usage?" }, { "prediction": "I'm not sure this is correct. The qualifiers that are defined BEFORE any parameter sets apply to ALL parameter sets. qualifiers that are defined AFTER any parameter sets apply to ALL parameter sets. qualifiers that are defined AFTER a parameter set will apply only the the parameter set that preceeds them.", "reference": "Thanks for fixing the typo's but given that this is a fork of the other commandline.cs file they will still exist there :( Part of the reason forks suck." }, { "prediction": "I don't think this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "This doesn't seem related to docs? :)" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Having a negative in the variable/method name makes the code harder to read. Also, you inverted the logic but didn't invert the default value. I suggest sticking to the original name." }, { "prediction": "This should be `[DisallowNull]`.", "reference": "Think you need to keep `RawWrite` around as obsolete until NLog6 (Property that just assigns `ForceTraceWriteLine`)" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "I would expect this to be named *get* not *set*: it's a query; it's not setting some persistent state." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it. I'm not sure if this is the right place to put it.", "reference": "maybe should rename this to be `run_status_sensor_definition.py`" }, { "prediction": "I don't think this is needed.", "reference": "Do we want to add the other write options in this PR or keep the refactor separate?" }, { "prediction": "I think this should be `retries = 1`?", "reference": "either make this a config or a constant we can define at the top. Burying this in the code is no good." }, { "prediction": "I think this should be `recall_score` instead of `precision_score`.", "reference": "Same about new metrics. Can we avoid adding them?" }, { "prediction": "I think this should be `--network-host-project-id`", "reference": "I know this is a port from the previous PR, but I am wondering if we can take the chance to improve the naming? `--vpc-host-project-id`?" }, { "prediction": "I'm not sure if this is the right place to set the source data. I'm not sure if this is the right place to set the source data.", "reference": "The test description says it's \"by reference\". We should change the description" }, { "prediction": "I think this should be `ValidationCategory.Id` instead of `ValidationCategory.Id`", "reference": "A C# newbie question here: would it make sense to declare Id as an abstract property so any subclass Must have its own Id?" }, { "prediction": "I'm not sure if this is the right place for this function.", "reference": "just looks like you should return an **empty map** with nil error" }, { "prediction": "I think this should be `app.Flag(\"reload-url\", \"reload URL to trigger Prometheus reload on\").Default(\"http://127.0.0.1:9090/-/reload\").URL()`", "reference": "could you also update the starting log at L146?" }, { "prediction": "I think this should be `strings.Contains(dbusError.Name, \"connection closed by user\")`", "reference": "Also this probably should be `error.As()` or something like it." }, { "prediction": "I think this should be `GET_CANVAS_URL` instead of `GET_CANVAS_URL`.", "reference": "This is Safari specific and should be defined somewhere in the `safaridriver` namespace" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Let's maybe be nice and `unlinkat()` here in the interest of having `/run` be less littered. Or in addition/alternatively, make the file `/run/ostree/initramfs-mount-var` since we already made `/run/ostree/` for the deployment staging bits." }, { "prediction": "This file should be included in `boost/format.hpp`.", "reference": "Not sure if this doesn't require explicitly adding this library to cmake." }, { "prediction": "Why do we need to pass `duration` here?", "reference": "we should probably deprecate (and display a warning) the misspelled keyword arg here rather than removing it... and then add the new one. This changes a public API and will break any code that is currently using the misspelled version." }, { "prediction": "I think this should be `\"of\" + from.toPath()` instead of `\"of\" + from.toPath()`", "reference": "seems reasonable to also want to include the 'to' location?" }, { "prediction": "Array.new is not thread-safe. You can use `new` instead.", "reference": "This `if` statement can be merged with the above `if opts[:collect_perf_data]`." }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "But won't we do case-insensitive matching for all the drivers? For example, we will get the revision field case-insensitively. Let's make this case-sensitive. I think the way the mongo driver works, by lowercasing field names, will be OK with that." }, { "prediction": "I think this should be `
    Product Title
    `", "reference": "I believe this should be on `workshops/show` now, not `products/show`" }, { "prediction": "I think this should be `185.243.112.225` instead of `185.243.112.225`", "reference": "If we return error when we are unable to found country in database, using country detector would be much easier - if error was not returned, that means country was returned :) This doesn't have to be solved in this PR, but since you're adding such case, we can add a `TODO` just to track this :)" }, { "prediction": "I'm not sure if this is safe to do, but I'm not sure if this is safe to do, so I'm not sure if it's safe to do.", "reference": ".NET Framework: Fallback to `DD_INTEGRATIONS` if `DD_DOTNET_TRACER_HOME` was not set." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if we should change the semantics of `path_` and `path` to be a tuple of `Authority`, `Authority`, `Path` and `PathList`. I'm not sure if we should change the semantics of `path_` and `path` to be a tuple of `Authority`, `PathList`, `Path`, `PathList`, `Path`, `Path` and `PathList`, `Path` and `PathList`, `Path`, `Path` and `PathList`, `Path` and `PathList`, `Path` and `PathList`, `Path` and `PathList`, `Path` and `PathList` should be `PathList`, `Path` and `PathList` should be `Path`, `Path` and `Path` should be `Path`, `Path` and `PathList` should be `Path`, `Path` and `Path` should be `Path` and `Path` and `Path` respectively.", "reference": "Can you use `authority, _, path = rest.partition(b\"/\")` here? That should make stuff a bit cleaner." }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, so I'm not sure what the best way to do it.", "reference": "I don't think this needs to be a float if its a number of seconds... :)" }, { "prediction": "This should be `array array of values, array because of multivalued fields`", "reference": "Please add \"Array\" back, right now it's not a proper sentence." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to use the `BooleanQuery.Builder` class instead of the `BooleanQuery.Builder` class.", "reference": "@tkaessmann when I ran tests I saw this line has a bug. It inverts the SHOULD and MUST. Hopefully I fixed it and merged it without the bug." }, { "prediction": "Why do we need to set `telemetryConfig.Enable` here?", "reference": "There may be another bug, it looks like we're already in a `if telemetryConfig.Enable` block at this point, maybe that block should be unnested?" }, { "prediction": "I don't think this is the right way to do this, but I don't think this is the right way to do it.", "reference": "This... looks like it plainly didn't work before? Good catch. I would suggest we change the logic here to 1. Check if `self.headers[\"content_type\"].startswith(\"multipart/form-data\")`, and if that's not the case, add a content-type header with a random (?) boundary. The point here is that if someone assigns to `.multipart_form = ` in their addon, the header should be updated accordingly if the request was not multipart before. 2. *After* that, call `self.content = multipart.encode(self.headers, value)` (as we do right now)" }, { "prediction": "Why do we need to do this?", "reference": "importShadow: shadow of imported from 'github.com/stretchr/testify/require' package'require' (from `gocritic`)" }, { "prediction": "I'm not sure if this is safe to do, but I'm not sure if it's safe to do.", "reference": "Wouldn't it be enough to change the condition in the for loop to `link_state!= IBL_UNLINKED`?" }, { "prediction": "This should be `G_OPTION_ARG_NONE` instead of `G_OPTION_ARG_NONE`.", "reference": "I'm not familiar with signed setups, but this does not seem to offer a way to choose between GPG and signapi verification. Are they usually either both enabled or both disabled? Would this be better suited as a verb with flags for different methods?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "assignments should only be cuddled with other assignments (from `wsl`)" }, { "prediction": "I think this should be `/auth/failure` instead of `/auth/failure`", "reference": "would it make sense to mock oauth in a way that we direct a user to this endpoint on login (in a test)?" }, { "prediction": "I think this should be `` instead of ``", "reference": "Since these two lines use the same logic, it may be cleaner to use an `if` statement rather than duplicating it." }, { "prediction": "Why did you remove this?", "reference": "unnecessary blank line" }, { "prediction": "I think this should be `_partition_id` instead of `_partition_id`.", "reference": "Nit: no need for \"to\" at the end of the doc because it already uses \"to which\"." }, { "prediction": "I don't think we need to suppress this.", "reference": "I would just say \"Signed before publishing.\"" }, { "prediction": "Why is this needed?", "reference": "We can just include the public UDPv4TransportDescriptor header here..." }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to put this in the `Uploader` class itself, rather than in the `Test` class itself.", "reference": "Why do we need this change?" }, { "prediction": "I'm not sure this is the right thing to do, but I think it would be better to have a `Split` and `Total` fields that are updated in the `DoneSplit` function.", "reference": "These three atomic functions done separately are not atomic. There is a possibility of data race, as nothing is guarding Total in between lines 182 and 183. Total got on line 182 may be changed before new value is stored on line 183 by some other goroutine resulting an incorrect value. Mutex should be used." }, { "prediction": "Why is this cast needed?", "reference": "Is this because you don't have % on your version of Slot? I don't really care either way." }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to do `userInjectedExpandableRowHeaderColDef = $scope.gridOptions.expandableRowHeaderColDef || {}, defaultExpandableRowHeaderColDef = uiGridCtrl.grid.addRowHeaderColumn(userInjectedExpandableRowHeaderColDef);`", "reference": "Please use var declaration for variables you are declaring. I could not find one for userInjectedExpandableRowHeaderColDef and finalExpandableRowHeaderColDef. Also code styling in the if block needs to be corrected." }, { "prediction": "This is the only place where `cachedLibPath.data()` is used.", "reference": "If cachedLibPath > 200 bytes, it will overflow errString." }, { "prediction": "I don't think we should add `prohibited` to `aria-labelledby`.", "reference": "Talked this through with a few more folks. I think it would be better to flag prohibited attributes for review, instead of outright failing them. ARIA labels are used fairly liberally. We don't really know if they are actually needed whenever they are used." }, { "prediction": "This check is not done in SyncService.verifyFee, it is only done in SyncService.verifyFee.", "reference": "Let's keep it to avoid the diff" }, { "prediction": "I think this should be `CURRENT_SNAPSHOT_ID`, not `CURRENT_SNAPSHOT_ID_STRATEGY`.", "reference": "nit: not directly related to this PR, but shall we use `ImmutableSet` for consistency?" }, { "prediction": "I'm not sure this is the right place to put tap. I'm not sure if this is the right place to put tap, or if it's the right place to put tap, or if it's the right place to put tap, or if it's the right place to put tap, or if it's the right place to put tap, or if it's the right place to put tap, or if it's the right place to put tap, or if it's the right place to put tap, or if it's the right place to put tap, or if it's the right place to put tap, or if it's the right place to put tap, or if it's the right place to put tap, or if it's the right place to put it.", "reference": "Layout/DotPosition: Place the. on the previous line, together with the method call receiver." }, { "prediction": "I think we can remove the `decryptWithPasscode` method entirely, since it's not used anywhere else.", "reference": "We send the `instanceUrl` encrypted, but never bothered to decrypt it. I guess it was working because we never did any org split testing where the `instanceUrl` actually changes." }, { "prediction": "I think this should be `public static BftBlockHeaderFunctions forCmsSignature(final BftExtraDataCodec bftExtraDataCodec)`.", "reference": "Can this be moved to QbftBlockHeaderFunctions class as it is only used for qbft" }, { "prediction": "This method is no longer used.", "reference": "`Tags` now comes from the `PropertyBagHolder` base class." }, { "prediction": "This is a breaking change. The `range_type` argument is only used in `get_extents` and `get_extents_from_element` and `get_extents_from_element` are only used in `get_extents` and `get_extents_from_element` and `get_extents_from_element` and `get_extents_from_element` are only used in `get_extents_from_element` and `get_extents_from_element` and `get_extents_from_element` and `get_extents_from_element` are only used in `get_extents_from_element` and `get_extents_from_element` and `get_extents_from_element` and `get_extents_from_element` are only used in `get_extents_from_element` and `get_extents_from_element` and `get_extents_from_element` and `get_extents_from_element` are only used in `get_extents_from_element` and `get_extents_from_element` and `", "reference": "I'm not sure where this should go, but one of the `get_extents` methods should mention that `range_type` can be `'data'` or `'combined'` (are there others?). I found out those are the two expected values by searching the code..." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "please revert all of this stuff in core.. I'll take another pass after. cheers and thanks for the help!" }, { "prediction": "I think this should be `sourceName` instead of `sourceName`.", "reference": "Why was this needed?" }, { "prediction": "I think this should be `brq.triggerPrefetchAfterBlockRetrieved(cachedBlock, kmd, priority, lifetime, hasPrefetched)`", "reference": "I see that CI found a couple test hangs, maybe your `TogglePrefetcher` change below wasn't enough and this still needs to be a `go` invocation for some reason?" }, { "prediction": "I don't think this is the right way to do this. The `get_class()` method should return the class of the command, not the class of the command.", "reference": "I do not understand this change" }, { "prediction": "I think this should be `net/http.CanonicalHeaderKey` instead of `net/http.CanonicalHeaderKey`.", "reference": "It would be helpful to clarify this is only for unmarshaling a response. not marshaling a request." }, { "prediction": "I think this should be `assert.lengthOf(results.passes, 1)`.", "reference": "I have no explanation for why this test wasn't erroring before... There are two applicable nodes in this tree, one passes, the other fails." }, { "prediction": "I'm not sure why this is needed, but it looks like the `config.h` file is already included in `lib/config.h`.", "reference": "Remove the \"rm\" from the end of \"HAVE_CONFIG_H\"" }, { "prediction": "I don't think this is a good idea. It's not a function, it's an interface.", "reference": "Non-Blocking: This might be too trivial. It doesn't allow us to test that it's being callled." }, { "prediction": "I don't think we should add a new datatype in dfs2rec.h.", "reference": "Not sure why the ternary expressions are used here, since the true and false results are the same." }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix or if it's the right fix.", "reference": "Is `vertigo` another name for Vertica databases?" }, { "prediction": "I think this should be `mailto:` instead of `mailto:`", "reference": "That doesn't do the right thing - it strips any of the characters m, a, i, l, t, o and :. It'd probably be cleaner to do this before converting the URL to a string." }, { "prediction": "I'm not sure if this is the right place to do this. It seems like `yargParser` should only be used if `alias` is set to `true` and `args['_'][i]` is set to `true`.", "reference": "Why the white space changes?" }, { "prediction": "I don't think we should have a separate `LicenseMailerPreview` class for this. I think we should have a separate `LicenseMailer` class for this.", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "Why do we need to unlock the SchedQueue?", "reference": "This is now outside the mutex, so could race." }, { "prediction": "Please don't use star imports.", "reference": "hmmm did this pass spotless check? I don't think we typically use wildcard imports" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "`lockBeforeLock` -> `lockBeforeGet` (here and everywhere below)." }, { "prediction": "I don't think we need this anymore.", "reference": "Do we need to internalize net.sourceforge.pmd.lang.java.ast.JavaParserConstants on master, so that we can rename it?" }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "The GUID here was incorrect, because of that, Vault plugin loading was failing. Should I change to any correct GUID, or it has some special meaning?" }, { "prediction": "I think we should be able to remove the `ProcessExport` method from `InstrumentationTests` as well.", "reference": "just confirming: if we remove explicit Collect(), then we are relying on the provider dispose... which has a hard-coded 5000 msec to finish flushing. On the other hand, if we keep explicit Collect(), we can pass an explicit timeout to it. (we were not doing it now and was relying on Infinite timeout). Net effect of this change in test code: Previously we would wait indefinitely for Collect() to be over. With this PR, we hope Collect() will be over in 5 secs. If we ever need more than 5 sec, we need to bring back Collect(maxTimeInMilliSecs..)." }, { "prediction": "I'm not sure if we should rename these to `azkaban.server.logging.kafka.globalDisable` or `azkaban.server.logging.kafka.kafka.globalEnable`?", "reference": "What do you think of a name like azkaban.server.logging.kafka.brokerList? This way the name signals that this is a server config." }, { "prediction": "I'm not sure if this is the right place for this mutex. It seems like it should be moved into the `TargetsMutex` above. It seems like it should be moved into the `TargetsMutex` above.", "reference": "Maybe change into `return _concurrentWrites?? PlatformDetector.SupportsSharableMutex`?" }, { "prediction": "Please use `String#replaceAll(String, String, StringComparison)` instead of `replaceAll(\"\\\\p{Blank}*(?=<)\", \"\");`", "reference": "indentation of resulting file is different between 11 and 8 where 8 doesn't indent lines and 11 does" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do here, but if it is the right thing to do, I'm fine with it.", "reference": "Do we still need to return the `Response` here?" }, { "prediction": "I think this should be `global.VERDACCIO_API_URL = 'http://localhost/-/verdaccio/' + `global.VERDACCIO_API_VERSION`", "reference": "Here `global.VERDACCIO_API_URL` I'd use something different as `global.TEST_VERDACCIO_API_URL` then when you search by `VERDACCIO_API_URL` we don't confuse with `window.VERDACCIO_API_URL`" }, { "prediction": "I'm not sure this is the right place to put this. It's a map of language to auth instructions URL, not a map of language to auth URL.", "reference": "This is totally fine, but consider whether in the future a YAML input format would be better. If so, we can plan for it." }, { "prediction": "This should be `DD_CONVENTION_API_KEY`", "reference": "This should be `DD_TRACE_CONVENTION` to follow our... conventions." }, { "prediction": "Why is this needed?", "reference": "Be careful memory leaks. memory leaks occur when getters.getAliasProp == nullptr. right?" }, { "prediction": "I think this should be `losc int64` instead of `losc int64`", "reference": "Why not just a time.Time?" }, { "prediction": "I think this should be `results['gt_masks'] = DC(results['gt_masks'], cpu_only=True)` instead of `to_tensor(results['gt_masks'])`", "reference": "Please do not submit a commit that is not part of this PR." }, { "prediction": "Why is this change necessary?", "reference": "This is small braking change: there is no way to clear description any more. If value is empty string, description will not be updated at all. It will affect existing Thrift endpoints also." }, { "prediction": "I'm not sure if this is the right place to put this in.", "reference": "Can you open a separate PR with this patch? It seems valuable outside the context of this PR!" }, { "prediction": "I think this should be `/chunk/{address}/jsonhttp.MethodHandler{ \"GET\": http.HandlerFunc(s.hasChunkHandler) }`", "reference": "I would suggest to have plurals in the api `\"/chunks/{address}\"`" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if it's the best way to do it, but I'm not sure if it's the best way to do it.", "reference": "Let's just not do this. We don't have LabelAtoms.O17 here. This is just a short-cut to avoid needing to write out a more verbose function like: 5O\" - 5O i.e. Add 5 x 17O atoms to replace 5 x 16O atoms. This was the original implementation in Skyline before I added the checkboxes to denote simply labeling all atoms in the amino acid." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "1:D100: Docstring missing 23:D400: First line should end with '.', not 'p' 23:D200: One-line docstring should not occupy 3 lines 36:D400: First line should end with '.', not 'n' 36:D200: One-line docstring should not occupy 3 lines 48:D400: First line should end with '.', not 'p' 48:D200: One-line docstring should not occupy 3 lines 63:D400: First line should end with '.', not 'p' 63:D200: One-line docstring should not occupy 3 lines 76:D400: First line should end with '.', not 'p' 76:D200: One-line docstring should not occupy 3 lines" }, { "prediction": "I'm not sure if this is the right approach, but I think it would be better to check if the upload dir exists before adding the file to the loop.", "reference": "Adding a warning or an error in the Thelia log would be a nice idea." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a constant for the name of the event, e.g. `CONNECTION_EVENTS_DESTROYED` or something like that.", "reference": "nit: `Set` (and swap `forEach`s for `for (const i of CONNECTION_EVENTS)`)" }, { "prediction": "I don't think this is needed.", "reference": "nit: Is this `using` statement still needed?" }, { "prediction": "why change this?", "reference": "Dont need to cast `string` -> `string`" }, { "prediction": "I think this should be `debug api: topologyDriver.AddPeer %s: %v` instead of `debug api: topologyDriver.AddPeer %s: %v`", "reference": "why doesn't the API return an error in this case?" }, { "prediction": "I'm not sure if we should raise an exception here. I think we should raise an exception if the region is not specified.", "reference": "Not sure how particularly useful these exceptions are. Seem to be exceptions required in copying and pasting the EndpointResolver over. I wonder if it makes sense to move these out of ``exceptions.py``" }, { "prediction": "Line is too long. [82/80]", "reference": "Can we re-add this? I think that grouping is useful (though would be open to putting them in a mixin or something)." }, { "prediction": "I think this should be `TimePartitionField` instead of `PartitionField`.", "reference": "Overall LGTM, one nit is that I think `partitionFields` here would be good to be renamed so that it's easy to tell it's just for collision detection. Also I wonder if we want to do this check for other transformations too (e.g. bucket, and record numBuckets in the string), so that we might be able to combine `fields` and `partitionFields` into potentially something like a LinkedHashMap?" }, { "prediction": "I don't think this is necessary. If `service_account_key_path` is `None`, then `service_account_key_path` will be `None` if `force_no_cloudshell` is true.", "reference": "Don't need the `or None` here as the flag will already default to None. Also, `some_dict.get('foo')` will also default to `None`." }, { "prediction": "I'm not sure if this is the best place to set it. I'm not sure if it's the best place to set it, or if it's the best place to set it. I'm not sure if it's the best place to set it, or if it's the best place to set it, or if it's the best place to set it.", "reference": "Please, use the default padding here." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "let's actually use the direct include: `require('../core/error').MongoError;`" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if it's the best way to do this.", "reference": "You're missing a space before the `\"` here and below, but I'll fix it up when merging." }, { "prediction": "I'm not sure if this is the right place to put this. It's a copy of the pointer, not a copy of the array.", "reference": "remove this debugging code?" }, { "prediction": "I think this array should be named `textStarts` and `addressOffset` instead of `textStarts` and `addressOffset`.", "reference": "s/`terms text`/`terms's text`" }, { "prediction": "I think this should be `replaceResultInFormWithNew` instead of `replaceResultInFormWithNew`.", "reference": ":bike: :derelict_house:, but maybe the default option should be `multipleResults: false` or `combineMultipleResults: false`? i feel like `replaceResultInFormWithNew` is very verbose but also doesn't immediately clarify what it's for." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do. If it's the right thing to do, I'd love to hear your thoughts on this.", "reference": "Line is too long. [87/80]" }, { "prediction": "I don't think we need this anymore.", "reference": "Are you using an automated tool for sorting the imports?" }, { "prediction": "I think this should be `project_id (str): id of the project to query.` and `dataset_id (str): id of the dataset to query.`", "reference": "If this is `project_number` now, can we also update the `id` the description?" }, { "prediction": "I think this should be `deadlineTimer = utils.NewTimer()` instead of `defer deadlineTimer.Stop()`", "reference": "* This will defer until the function returns. Are you sure this won't happen multiple times. * Alternatively, why is the deadline timer not defined outside the outer loop? * More generally, why are we looping in the first place instead of reading one frame and returning?" }, { "prediction": "I'm not sure this is the right place for this method. I'm not sure if it's the right place for this method.", "reference": "Should we rename the traces parameter now that this isn't just traces?" }, { "prediction": "I'm not sure if this is the right fix.", "reference": "I don't think it makes sense to have both `TEST_ONLY` and `NONBLOCK`. We should probably leave `NONBLOCK` out." }, { "prediction": "I think this should be ` wl_list_add(&point->surface_destroy.link, NULL);`", "reference": "Need to remove the surface destroy listener (and `wl_list_init` it so that `touch_point_destroy` still works)" }, { "prediction": "Line is too long. [87/80]", "reference": "create ticket to investigate this" }, { "prediction": "I'm a little confused by the name of this function. It's static, but it's not used anywhere else.", "reference": "If we want to expose this for FFI use in the standard library, it needs to get either a `pony_` or `ponyint_` prefix to its name, for cleanliness of the function namespace. `pony_` means it is a public API meant for use by third party code, whereas `ponyint_` means it is internal. Unless there is a good reason to make it public, we should prefer to keep it internal because public functions require us to treat any changes to them as breaking changes in Pony. So, this function should end up named `ponyint_address_length`, or something else with that prefix." }, { "prediction": "I don't think this should be DEV_FUSE_MOUNT", "reference": "Fuse for shared volumes is a px specific implementation. libopenstorage doesn't know about it, right? So should this be called DeviceVirtualMount (or something similar) instead?" }, { "prediction": "This should be `[MarshalAs(UnmanagedType.U1)]`", "reference": "`bool` vs `BOOL` in native side :)" }, { "prediction": "nit: `lint` is a global variable, so you don't need to declare it here.", "reference": "I think maybe you moved it to util but this is still around and it should get it from util instead." }, { "prediction": "Use 2 (not 3) spaces for indentation in a hash, relative to the first position after the preceding left parenthesis.", "reference": "Do we need to test the redirection?" }, { "prediction": "I'm not sure if this is the right place to put this method.", "reference": "Tsts, that's why... activity leak about to happen" }, { "prediction": "I don't think we need a `t.C` here.", "reference": "You should do a select here IMO just to be safe so we do not block forever." }, { "prediction": "Why not use MsgQueue *wallet.Wallet instead of MsgQueue *wallet.Wallet?", "reference": "I'll replace this with the actual outbox object soon." }, { "prediction": "I think this should be `$this->project_analyzer->getCodebase()` instead of `$this->project_analyzer->getCodebase()`.", "reference": "Providers are called *before* `setUp()`, so I don't think you can access properties here." }, { "prediction": "I don't think this is needed anymore.", "reference": "While this allows it to be applied does it correctly cause the entire class to be skipped?" }, { "prediction": "I think this should be `rank = dist.get_rank()` instead of `rank = dist.get_rank()`.", "reference": "clean unnecessary modification." }, { "prediction": "I think this test should be `that.is.empty`?", "reference": "I think these assertions want to be `.to.not.exist` which would pass for `null` or `undefined`" }, { "prediction": "I'm not sure if this PR is needed.", "reference": "Don't think you need this since this is not a URL example." }, { "prediction": "I think this should be `range: 0..1000`", "reference": "Maybe a test to check if the generated value is within the boundaries would be nice, what do you think?" }, { "prediction": "I'm not sure if this is the right place for this method.", "reference": "Suppresses UTF-8 BOM in outputs" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to put it in `pkg/config.go` rather than in `pkg/config.go`.", "reference": "order wrong for \"outgoing and incoming\"" }, { "prediction": "I think it would be better to use a `Boolean` instead of a `long`.", "reference": "We know it's a boolean and it's in the MemoryCircuitBreaker, why not simply call it `enabled` (like many other Solr plugins do)?" }, { "prediction": "I don't think we should add this column to individual plans.", "reference": "Should team be a \"feature\" that can be \"included\" or a type? In code it seems to me that a `team` flag makes sense." }, { "prediction": "Why not use `defer logParamsMutex.Lock()`?", "reference": "Why is this called update params when it's updating project info? Should p called project?" }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to use `INSERT INTO history_tree (shard_id, tree_id, data, data_encoding) VALUES (shard_id, tree_id, data, data_encoding)` instead of `INSERT INTO history_tree (shard_id, tree_id, data, data_encoding) VALUES (shard_id, tree_id, data, data_encoding)`", "reference": "`upsertHistoryTreeQuery` is a better name for this query now. Is it ok to change history?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "b did not mean branch - it meant the next version - so probably better to be able to release from a tag on the branch so we can create a hotfix branch of the 1.4.1 tag and tag it 1.4.1b and then version is picked as 1.4.1b" }, { "prediction": "Why is this removed?", "reference": "Keep the mpi.h include, just move it to after adios2.h and guard with the ifdef. Otherwise everything else looks good." }, { "prediction": "I think this should be `MS_ROOTFS_MOUNT_MODE` instead of `MS_ROOTFS_MOUNT_MODE`.", "reference": "Shouldn't this be something like `rootmountmode` to fit the pattern of the other fields' serialized representations?" }, { "prediction": "Why is this removed?", "reference": "Why were we initializing here in the first place?" }, { "prediction": "Is this needed? I don't see it being used anywhere.", "reference": "This should be removed, and instead set the logger to None." }, { "prediction": "I think this should be `index = (originalData.length + index) % originalData.length;`", "reference": "Storing a reference to source data isn't the best choice. Maybe you can find a different way (without storing the reference) to save removed data?" }, { "prediction": "This link should be removed.", "reference": "Is the tutorial going to move to the new Trafodion website or will it stay on the Confluence wiki? (Check with Gunnar.)" }, { "prediction": "I'm not sure about this change, but I think it's better to move the conversion to `convertRetryReplication` instead of `convertRetryReplication`.", "reference": "maybe call it `fromRetryTaskV2Failure`" }, { "prediction": "Please revert this change.", "reference": "The diff for this class is difficult to walk through because I reorganized it to be much more clear. There are improvements throughout, but the most important are in the new `createSmokeTest.*` methods." }, { "prediction": "I don't think this is necessary, since `mean` and `std` are tensors, and `mean` and `std` are tensors. You can just use `torch.tensor(img_norm_cfg['mean']) / std` here.", "reference": "We suggest keeping this logic in lines between 173-175 to restrict its influence." }, { "prediction": "This should be `string|void` instead of `string|void`", "reference": "why not? maybe another phpstan plugin" }, { "prediction": "I'm not sure if this is a good idea to have a default value for the CancellationTokenTimeout. I'm not sure if it's a good idea to have a default value for the CancellationTokenTimeout, but if it's a good idea to have a default value for the CancellationTokenTimeout, I think it's a good idea to have a default value for the CancellationTokenTimeout. I'm not sure what the best way to do this would be to have a default value for the CancellationTokenTimeout, but if it's a good idea to have a default value for the CancellationTokenTimeout, I think that's fine.", "reference": "That was a really bad CR from me before if I did not spot it." }, { "prediction": "I'm not sure if this is the right way to do this. If the lock file does not exist under the tmp directory, it will attempt to acquire the lock file and fail because the file is already locked by the previous process. If the lock file does not exist under the tmp directory, it will attempt to acquire the lock file and fail because the file is already locked by the previous process. If the lock file does not exist under the tmp directory, it will attempt to acquire the lock file and fail because the file is already locked by the previous process. If the lock file does not exist under the tmp directory, it will attempt to acquire the lock file and fail because the file is already locked by the previous process. If the lock file does not exist under the tmp directory, it will attempt to acquire the lock file and fail because the file is already locked by the previous process. If the lock file does not exist under the tmp directory, it will attempt to acquire the lock file and fail because the file is already locked by the previous process. If the lock file does not exist under the tmp directory, it will attempt to acquire the lock file and fail because the file is already locked by the previous process.", "reference": "Does this resolve the scenario when the user-triggered forseti process is running, and it would be killed by the cron job restarting the server?" }, { "prediction": "Why was this removed?", "reference": "Does this happen somewhere else now?" }, { "prediction": "I think this should be `videoTestElement.canPlayType('video/mp4; codecs=\"avc1.640834\"').replace(/no/, ''))`", "reference": "Remove trailing space at this line, amend the commit, and then force-push." }, { "prediction": "This import should be in alphabetical order.", "reference": "This should be grouped together with the import of \"go.opentelemetry.io/{api/core,sdk/export}\" below." }, { "prediction": "I don't think we need this anymore.", "reference": "What's the impact to people upgrading to the new version? If they don't change their file names, they'll suddenly be broken. While I agree that your naming makes more intuitive sense, I think we need to maintain backwards compatibility. Please choose a new rules file name for the new scanner and keep ke_rules.yaml for the existing version scanner." }, { "prediction": "I think this should be `if not all(spark_column._jc.equals(scol._jc) for scol in index_spark_columns)`", "reference": "Shall we add some docstrings clearly to describe when to use which clearly? For example, `spark_frame` now should always be used via `df._internal.applied.spark_frame` for Spark DataFrame APIs that internally creates new query execution plan with the different output length. For expressions and/or functions, `df._internal.spark_frame` should be used together with Spark column instances, in order to avoid the operations on different DataFrames." }, { "prediction": "I don't think this should be removed.", "reference": "nit: `.` at the end of line?" }, { "prediction": "I don't think this is the right place to do this, but I don't think this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "I'm not sure I agree that this should take priority over \"Loading\"." }, { "prediction": "Why is this removed?", "reference": "Was this an intentional deletion? Why not just allow overwrite of `deploy_mode`?" }, { "prediction": "I think this should be `err.Error()` instead of `c.recorder.Event`.", "reference": "better to call it as syncCVRStatus.. just syncCVR is very confusing" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a flag for this kind of thing (e.g. `skipConfirmation=true` or `skipConfirmation=false`).", "reference": "should we make this not a pointer? so that when we embed the struct a copy is made instead of modifying the original object." }, { "prediction": "Why are these two different backend names?", "reference": "Does this mean that `kinto_redis` is required to run tests?" }, { "prediction": "I'm not sure this is the right fix. The `originalZeroIndex` value should be the index of the `result.writeErrors[i].index`.", "reference": "will this ensure the indexes for ordered writes as well?" }, { "prediction": "I don't think this is necessary.", "reference": "Put `BoolArray` first?" }, { "prediction": "I don't think this is needed.", "reference": "I believe this whole file can be deleted now." }, { "prediction": "I think this should be `promise.currency` instead of `promise.amount`.", "reference": "We should specify format for a user. I.e: Integer, 1000 == 1 MYST" }, { "prediction": "I'm not sure why we need to wrap the error here.", "reference": "Does the errors returned from these controllers indicate which controller threw the error? If not, there might be some value in making the \"CustomControllers\" type a `map[string]func(ctx context.Context, sc *server.Context) error` with the name of the controller as the key and include the key in this error string. This would apply for below as well." }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "maybe at least pull the file identifier arg out of the if?" }, { "prediction": "I think this should be `self._tabbed_browser.tabBar().moveTab(cur_idx, new_idx)`", "reference": "You can most likely remove that (and the try/finally) too, as we shouldn't have any flickering from removing/inserting tabs anymore now." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "Could you add `s` to `@return`?" }, { "prediction": "I think this is the only place where the `@profile_paths` is being used.", "reference": "Moving this code inside the last case statement doesn't seem right. Why are we defining `name` and `is_relative` variables there if we aren't using them anywhere?" }, { "prediction": "I'm not sure this is the right place to put this error message.", "reference": "Will cause any bugs without this change? I've seen this code block(L293-302) many times... ;-)" }, { "prediction": "I don't think we should add properties to the context properties.", "reference": "You are opening a door to race-condition-hell by returning an unprotected dictionary. I recommend that you return `IReadOnlyDictionary` that only works on the platforms where it is known." }, { "prediction": "I don't think we should be skipping this test.", "reference": "also seems we should not skip this test" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "This is mostly for my understanding: is `DeleteFile[] deletes` a mandatory builder param now for file scan tasks? If not, from a v1 / v2 compatibility standpoint would it make sense to add an overloaded constructor?" }, { "prediction": "I think this should be `FetchAgedQueuedExecutableFlows.FETCH_FLOWS_QUEUED_FOR_LONG_TIME` instead of `System.currentTimeMillis() - minAge.toMillis()`", "reference": "Can the error message reflect the purpose of the query more closely? Something like \"Error fetching executions queued for a long time\"" }, { "prediction": "I'm not sure this is the right thing to do here. If `sourceExists` returns false, then `ci.StartupScript` will be `\"\"` and `w.sourceExists(ci.StartupScript)` will return true.", "reference": "Are you making it so startup script HAS to be in sources?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "Might be more clear to just have one if statement?" }, { "prediction": "I'm not sure about this change, but I think it's better to use `str(e)` instead of `e`.", "reference": "remember that logger methods will do string interpolation automatically anyway, so you should be able to do `logger.error('message %s', var, exc_info=True)`" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Perhaps rename to `render_service_args_struct`?" }, { "prediction": "why is this needed?", "reference": "clean the name" }, { "prediction": "I'm not sure if we should remove this.", "reference": "I think we would expect StatusNotFound instead of StatusForbidden?" }, { "prediction": "I'm not sure this is correct. The rank is a pointer, not a string. The rankstr is a pointer, not a string.", "reference": "Since this is a recurring theme, would it make sense to have an ioencode interface for it like `ioencode_rank()` that takes an integer rank like before?" }, { "prediction": "I'm not sure if this is the right place to put this in, but it seems like it should be in the `ecsAgent` struct rather than in the `ecsAgent` struct.", "reference": "Is it a concern that we initialize these fields irrespective of whether resources like cgroup/volumes are enabled or not?" }, { "prediction": "I think this should be `if outs.Unary == nil && outs.Oneway == nil { panic(fmt.Sprintf(\"no outbound set for service %q in dispatcher\", service)) }`", "reference": "Wouldn't this be the first panic in yarpc? What do we do for transport validation? Return errors?" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to have it in the `processorProvider` and have it call `process()` instead of `cancel()`.", "reference": "have you envisioned other cancellation reasons?" }, { "prediction": "I think this should be `@phpstan-param array $bundles`", "reference": "For the record, class-string is now suported by PHPStorm. Don't know if it's worth moving it to `@phpstan-param` then." }, { "prediction": "I think this should be `cmdexc.CommandError(\"World Id out of range\")`", "reference": "This prevents negative IDs, but it doesn't check for too large IDs. You should probably just do the same check you do for `QWebengineScript` here as well." }, { "prediction": "I think this should be `awsTags` instead of `tags`.", "reference": "This might be very confusing. Maybe `resource-tags`? I" }, { "prediction": "I think this should be `self.dilation, bias=True`", "reference": "We may use `_pair` to wrap `dilation`." }, { "prediction": "I think we should be able to remove `ReadonlyPaths` from `createLibcontainerConfig` since it's not used anywhere else.", "reference": "what's with `setReadonly`? Why we deleted it totally?" }, { "prediction": "I'm not sure why this is debatable. It's not debatable since it's not really allowed by C++ for unqualified types. It's debatable since it's not really allowed by C++ for unqualified types.", "reference": "Currently I think this is not acceptable. I think the value should be chosen by the author of the parser. (Personally \"type\" is better than \"typename\".)" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Is this excessive?" }, { "prediction": "(style) line over 80 characters", "reference": "Ohhhh I see, this change was previously having *no effect* - I had thought you meant we were doing something like bind mounting the initramfs' `/etc` as the real `/etc` but we'd clearly notice if that happened, we'd be missing all sorts of config files etc." }, { "prediction": "I think this should be `long` instead of `long`.", "reference": "I think this needs a more specific name, like `sequenceNumberOverride`" }, { "prediction": "I'm not sure if this is the right place to raise this error. I think it should be `blacklight.yml` instead of `blacklight.yml`", "reference": "Ought we just raise an exception if the adapter isn't defined?" }, { "prediction": "I'm not sure if this should be removed.", "reference": "Should this have been removed? We still set the region to \"aws-global\" in v3model.go#L115" }, { "prediction": "I think this should be `qs=qs if len(qs) else None`", "reference": "You could shorten this to `qs or None`. But why not just build a dict of parameters we want to include and only add `querystring` if there's something here, similar to the way you do in the error view?" }, { "prediction": "I'm not sure if this is the right place to remove the ticker.Stop() call.", "reference": "sorry if I'm missing it somewhere else in the code, but do you need to create a `ticker := time.NewTicker`?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Inline this, as we don't use it again." }, { "prediction": "I think this should be `ScanlineFilterCommon` instead of `CustomColormapFunction`", "reference": "I think the instantiation of the new objects i.New() and T.New() need to be done in a function to have local variable and reduce the amount of memory used." }, { "prediction": "I'm not sure if this should be part of the `Skyline.IonMobility` class.", "reference": "This is probably more digits than needed - perhaps rename OneOverK0 to IonMobility instead" }, { "prediction": "I'm not sure this is the right place for this enum, but it seems like it should be in the `ApiMethodType` enum, not in the `ApiMethodType` enum.", "reference": "End with 'Method', so: - FlattenedAsyncCallSettingsMethod - FlattenedAsyncCancellationTokenMethod" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "`localsecrets` should be updated in the same way." }, { "prediction": "I don't think this is the right thing to do. It's the same as `ConsensusTest0` and `ConsensusTest1` but I don't think it's the same as `ConsensusV18`.", "reference": "We'll want to PR a spec change into github.com/algorandfoundation/specs. (Side note: It might or might not make sense to combine this protocol upgrade with Tsachi's protocol upgrade for fixing the reward rate calculation.)" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Use `FullBlock`, it comes from the same package." }, { "prediction": "I don't think this is needed.", "reference": "do we plan to use anything else than flask for making HTTP requests inside localstack? if so, it maybe makes sense not to strongly couple to flask for now, and just leave the type of the `request` function parameters open for now." }, { "prediction": "I think this should be `storage.Writer.As failed to get Writer.As failed to get ObjectHandle`.", "reference": "I think we should make this a separate test case: it seems like making the precondition fail is the test case that would ensure that this escape hatch worked. Otherwise, if it's always true, then it would be the same as if the escape hatch didn't modify the outgoing request." }, { "prediction": "I think this should be `go func(s *Server) Start(ctx context.Context) error`.", "reference": "Error return value of `s.idx.BuildIndex` is not checked" }, { "prediction": "I'm not sure why this is needed, but I think it would be better to do `if member in [configtypes.Dict, configtypes.LengthDict]: pass` instead of `if member in [configtypes.Dict, configtypes.LengthList]: pass`", "reference": "What's the reason for excluding those from the fuzzing here? You probably could just add some inner type via `functools.partial` like below with `FormatString`." }, { "prediction": "Line is too long. [89/80]", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "Why do we need to do this?", "reference": "Its this golint or govet stuff?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "These are good cleanups: I didn't realize there were so many like this in the samples and tests. But given that there are quite of few of these mcontext changes I would separate these into their own PR (no need for an issue: iX branch) since they are logically distinct. Cleaner history, simpler revert paths, etc." }, { "prediction": "I think this benchmark should be named `ImageSharpColorEquals` instead of `ImageSharpColorEquals`.", "reference": "This is just a random struct equality, no value here." }, { "prediction": "I think this should be `;port-list;portrange-list;local`", "reference": "Just spotted the `local` on here; that shouldn't be needed - no reason to limit this config to env vars only" }, { "prediction": "`isfinite` should be `isinstance(isfinite, Dimension)`", "reference": "I had some weird issues when importing ``from.. import util`` getting the wrong utilities, hence I did this." }, { "prediction": "I don't think this file should be deleted.", "reference": "Please remove this line." }, { "prediction": "Style/MutableConstant: Freeze mutable objects assigned to constants.", "reference": "should this state that we're falling back to `:acceptable_exit_codes`?" }, { "prediction": "I think this should be `value.dtypes.to_markdown()`.", "reference": "I don't think this works. The dataframe object is encapsulated in the value parameter. This might be the root of the failing checks." }, { "prediction": "I don't think this is the right place to do this. If the server is not standalone, then the serverDescriptions.delete(address) will be deleted.", "reference": "Why was it necessary to add this check against `this.servers.size`?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. If it is the right way to do it, I'm not sure if this is the right way to do it. If it is the right way to do it, I'm not sure if this is the right way to do it. If it is the right way to do it, I'm not sure if this is the right way to do it. If it is the right way to do it, I'm not sure if this is the right way to do it. If it is the right way to do it, I'm not sure if this is the right way to do it.", "reference": "This tests for < 0 but the error message says it must be > 0. The `if` should probably be `<=` to match the message." }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "Short circuits when it's something like a WebPackRequest, which we should instrument and test specifically." }, { "prediction": "I'm not sure if this should be `-dev` or `-prod`.", "reference": "Should this be true now by default?" }, { "prediction": "I think this should be `/stastics` instead of `/stastics`.", "reference": "/DispatcherStatistics? /statistics is a bit confusing with /stats" }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do. I'm not sure if this is the right thing to do.", "reference": "nit: Wondering if we should simply filter on `\"tail: unrecognized file system type\"`, or is the type identifier `0x794c7630` always the same?" }, { "prediction": "I'm not sure this is the right format for the `infraID` field.", "reference": "I think the goal of using `fake-cluster-id` was to make it sure clear that this is a fake cluster, replacing this with UUID only now makes these clusters look very similar to real ones which can cause problems.. any reason why we didn't go for the original recommendation from slack thread of `fake-cluster-UUID` @twiest" }, { "prediction": "I'm not sure this is a good idea. I think it would be better to have a function `get_node_first_ancestor_of_type_and_its_child(node: nodes.NodeNG, ancestor_type: Union[Type[T_Node], Tuple[Type[T_Node]]]):` that does the same thing.", "reference": "I need to spruce up my `mypy` knowledge but I think this is incorrect. Using `T_Node` twice makes it so that both should be the same type. I think this would be better: `Tuple[Optional[T_Node], Optional[nodes.NodeNG ]]`. It might even better to do: `Union[Tuple[None, None]. Tuple[T_Node, nodes.NodeNG ]]` as that shows that `None` should always pair with `None`" }, { "prediction": "I think this should be `t.Errorf(\"controller.Register failed (%s)\", err.Error())`", "reference": "Nit: below on line 449 we use `%v` to print an error - perhaps would be nice to do it in the same way in both places (but probably not that important). Similar in other places in this PR." }, { "prediction": "I think this should be `self.live = True`", "reference": "I'm not against adding a kill event, but we need to do it properly, please. That means listing it in events.py, adding docs for it, and so forth." }, { "prediction": "I'm not sure this is the right place for this. It seems to be used for the `native_shared` field, but I don't see where it is used.", "reference": "this line can be lifted outside of the if-then? In fact only CreateString / CreateSharedString needs to be inside of it." }, { "prediction": "Please remove this line.", "reference": "I think the `EpisodesApplyActionFragment` is unused now. So please delete it :)" }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "It seems like we should leave `notice` here since it can be configured in Bolt config files, and that's what sets the console config for messages from Puppet. For example, this will break plans that call `notice()` in their apply blocks." }, { "prediction": "I don't think we need this.", "reference": "This metrics is only exposed in executors. Should it be defined in azkaban.execapp.ExecMetrics instead?" }, { "prediction": "I'm not sure if `clone()` is the right thing to do here.", "reference": "I originally factored out these functions from date_input. Currently, they are only used in datepicker, but they seemed more general purpose. If you decide we should keep the current date_input API (in case anyone is using it directly), then I think it makes sense to factor these out in order to be able to maintain consistency, but otherwise they could be inlined into datepicker.jsx if you prefer." }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix or if it's the right fix.", "reference": "I think this should never happen and should return an error also. Having `WorkflowBackoffTimerTask` with `UNSPECIFIED` type looks weird." }, { "prediction": "I don't think this is the right way to do this, but I think it would be better to use `browser.tizen` instead of `tizen`", "reference": "Add `browser` import" }, { "prediction": "I don't think this is needed.", "reference": "Would it be good practice to add a nonce in here (that's also stored in the config), so it's harder to tell when passwords are being reused?" }, { "prediction": "I don't think this is needed.", "reference": "For consistency, the return type could be `TelemetryDataDto` here. This would be more consistent with the other REST API interfaces. From a functional perspective, the current code is perfectly fine though." }, { "prediction": "I'm not sure if this is the right place to initialize the solver. The `Solver` class is initialized with a `boost::make_shared >` constructor, and the `Solver` class is initialized with a `boost::make_shared >` constructor. The `Solver` class is initialized with a `boost::make_shared >` constructor, and the `Solver` class is initialized with a `boost::make_shared >` constructor. The `Solver` class is initialized with a `boost::make_shared >` constructor, and the `Solver` class is initialized with a `boost::make_shared >` constructor, and the `Solver` class is initialized with a `boost::make_shared >` constructor.", "reference": "I've never seen this `boost::make_shared`...why use it instead of `reset`?" }, { "prediction": "I think this method should be renamed to `getDispatchMethod`", "reference": "Wasn't this added as a part of different PR already?" }, { "prediction": "Please revert this change.", "reference": "hmmmmm, should not be in constructor in this case `$this->toDelete = [[]];`??? maybe not" }, { "prediction": "I think this should be `print(f'Something went wrong. Status: {status}``.", "reference": "We can just update it to be as follows: `if response: print(\"Success\") else: print(\"Error\")`" }, { "prediction": "I think this should be `map[string]interface{}` instead of `map[string]interface{}`.", "reference": "Maybe this should be exported so (external/third-party) plugins can also use it." }, { "prediction": "Why are we clearing stale rules?", "reference": "Warning logging whould be exactly here in high logic. So that everybody understands why we swallow errors" }, { "prediction": "Should this be `RpcEndpointType.JsonRpcUrl`?", "reference": "if its optional, move it to last item an use JsonRpcUrl? url = null" }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if it's a good idea to put this method in the Proposal model, but I think it's a good place to put this method in the Proposal model.", "reference": "how is this different from the `client_slug` method already available on a `user`?" }, { "prediction": "I think this should be `LOG.info(String.format(\"Connecting to %s and %s\", publishConnection, subscribeConnection));`", "reference": "I'd keep this at `info` level..." }, { "prediction": "I don't think this is the right way to do this.", "reference": "I believe this env var won't be set anywhere. Do we need this condition?" }, { "prediction": "I don't think we need this anymore.", "reference": "why add function explicitly?" }, { "prediction": "Why is this change needed?", "reference": "Is that intentional? If you don't create the cache here, it will never be created therefore used." }, { "prediction": "I'm not sure if this is the right way to test this, but I'm not sure if this is the right way to test this.", "reference": "I think we can now remove this test case since we can ensure that multiple calls to `Fetch` will double the interval on each call" }, { "prediction": "Why is this needed?", "reference": "Not part of this PR but this const seems to be defined in multiple places. Needs to be extracted somewhere." }, { "prediction": "I don't think this is needed.", "reference": "Remove this file from the PR" }, { "prediction": "I'm not sure why this is needed.", "reference": "need to add it for ropsten, rinkeby, goerli as well" }, { "prediction": "I don't think we need `bin.ZFS` here.", "reference": "G204: Subprocess launching should be audited (from `gosec`)" }, { "prediction": "I don't think this is needed.", "reference": "curious why only making these 3 public. what about other package scope methods like `times`, `timestamps`, `array`?" }, { "prediction": "I think this should be \"exclusions for words or phrases where the original form of the word has the same spelling in a given language\".", "reference": "The Email field is not translated into Russian, and into any other. It's kind of a \"standard\" word. Therefore, we may face the fact that you have to create files with exceptions for all languages. @caouecs, what do you say?" }, { "prediction": "I'm not sure this is a good idea. The batch size is limited by config block_processor_batch_max_time, but the signature verification size is limited by config block_processor_batch_max_time.", "reference": "Should it say `default 0` here? looks a bit confusing. Also following BODMAS we should put: `2048 * (signature checker threads + 1)`" }, { "prediction": "I'm not sure if this import is needed. It looks like it's only used in one place.", "reference": "Add a newline. We group by 1: standard library, 2: 3rd party library, 3: application library" }, { "prediction": "I don't think we need this function anymore.", "reference": "So `queryRange.Step` will be ignored?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "It would be nice to replace these _HOST_* defines with HOST_*." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do.", "reference": "The problem here was that the record file started with something like `/tmp/whatever/myproj` and was scrubbed to `[ROOTDIR]/myproj`, but the `/` is a `\\` on Windows." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Don't use relative paths. src directory is already on the include search path" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if `tools` is the right name for the `test_cmd` or `test_tools`.", "reference": "if we're introducing this now can we make this private?" }, { "prediction": "I don't think this is the right place for this exception. It should be in `ScanProvider_GetScans_The_data_file__0__could_not_be_found__either_at_its_original_location_or_in_the_document_or_document_parent_folder_`", "reference": "Something is wrong with the indentation here." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This should go to the external imports group below" }, { "prediction": "I think this should be `log.Fatalf(\"processing yaml folder %s\", p)`", "reference": "Intended to be checked in?" }, { "prediction": "I'm not sure about this. It's a warning, not a warning. It's a warning, not a warning.", "reference": "I think this warning message is the same as above one. Anyway, it's fine to keep it." }, { "prediction": "Nit: `logsDir` should be `logs` instead of `logs`", "reference": "This is done few times, replace with some well named method" }, { "prediction": "I think we should keep the apiConfigs and generatorConfigs in the same order as the configs are generated.", "reference": "`configs` isn't very descriptive, especially when there are other config-ish things like `generatorConfigs`." }, { "prediction": "I think this should be `u\"Body Content 2\",`", "reference": "In my point we have to check conversion with specific (non-ASCII) characters in unicode string." }, { "prediction": "I think this should be removed.", "reference": "Given that file still contains doctests (and should still contain doctests), they should be run. Please turn this back on." }, { "prediction": "I don't think we need this attribute.", "reference": "we should keep the camel case format - selfServe" }, { "prediction": "I think this should be `api` instead of `compute`", "reference": "consider the alias `compute` in case this ever references other apis." }, { "prediction": "I'm not sure if this is the right place to put this function.", "reference": "It probably doesn't matter in practice, but we're not supposed to access a map without holding a lock. This is why I have suggested using `m.Path(\"devices\")` earlier -- it takes a lock before accessing m.paths. Alternatively, you can leave this code as is but add taking a lock (same as `Path()`)." }, { "prediction": "I think this should be `gaAMPPropertyID`", "reference": "Since `ga` is an acronym here, we should rename the generated actions and selectors to adhere to our naming conventions as it will no longer be capitalized properly. See below for how this is already done for the amp container ID settings. We should add `GA` to our list of checked acronyms as well in `packages/eslint-plugin/rules/acronym-case.js`." }, { "prediction": "I don't think this is the right place to do this. It should be `this.status.uploads.push(file)`", "reference": "uploading_finished and upload_meta_data_extracted can fire very quickly after another, and there is not much difference in the Assembly status that's useful to us. I kept only the Assembly fetch after metadata is extracted, which ensures that we'll have all the correct `uploads.*.meta` properties on the client side." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Does it make sense to keep trying to read the file every time the function is called, or should we maybe use `sync.Once()` here?" }, { "prediction": "I'm not sure if we should be storing this in a struct, but I'm not sure if we should be storing it in a struct.", "reference": "`DbCapacity` -> `DBCapacity`" }, { "prediction": "Why did you change this?", "reference": "For Berlin I confirmed all the fork hashes with the Geth team. Would you do the same with Martin? He responded quickly the last time." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to have a helper function for this.", "reference": "Does `sudo` required for `darwin` only? Don't we need it for `linux` too?" }, { "prediction": "Should this be `cloudformationResourceType = \"AWS::CloudFormation::Stack\"`?", "reference": "Can you add description to this exported struct?" }, { "prediction": "I'm not sure this is the right place for this. I'm not sure if it's worth it, but I think it's worth it.", "reference": "Although this is needed for `getSnapshotBeforeUpdate` this also fixes a bug with `componentDidUpdate`. During rendering, the `state` variable is mutated. This has the consequence, that `previousState` would never hold the previous state, but the most current one." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Should this maybe directly start with ELBv2 aka NLBs or ALBs?" }, { "prediction": "I'm not sure if this is the right place for this test. I'm not sure if this is the right place for this test.", "reference": "This was the request that was often causing the test to fail as an unexpected API failure (or at least one of them )." }, { "prediction": "I don't think this is the right place to put this.", "reference": "I understand why `xhr = null`, but I think adding `error = null` implies that this method should work even if we don't pass the `error` argument. Should we remove it?" }, { "prediction": "I think it would be better if we named this `retryMapping` as `GrpcGapicRetryMapping` instead of `RetryCodesConfig` and `RetryParamsConfig` as `GrpcGapicRetryMapping` and `RetryCodesConfig` as `GrpcGapicRetryMapping`.", "reference": "It is not your code, and it is used like this all over the place in gapic generator, but the general rule is we should prefer using the least specific class/interface in the hierarchy, which still satisfies our requirements. Here, unless we really need anything specific from `ImmutableSet`, please use `Set` (less specific type) instead." }, { "prediction": "I think this should be `ctx->aws_sts_endpoint = (char *) tmp;`", "reference": "Sorry... I just realized... since we use sts_endpoint in the EKS Provider, this error message is no longer true. Role_arn is not required." }, { "prediction": "I'm not sure this is the right place to put this method. I'm not sure if it's worth it.", "reference": "(...), where each element ~are~ **is the** given {\\@code element}." }, { "prediction": "I think this should be `SortOrderId` instead of `SortOrderId`", "reference": "I think this can be an int because we have a default that is always valid, `0`." }, { "prediction": "Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument when opening brace is on a separate line from the first argument.", "reference": "I think you can use `build_stubbed` here for the same results but with more speed." }, { "prediction": "I don't think this is the right place to do this. If hold is an integer, then duration will be zero. If hold is an integer, then duration will be zero.", "reference": "what if one of them is property and one is not?" }, { "prediction": "I don't think this is needed.", "reference": "> UI plugins swallow rejection errors so they don't end up in the console with no way to fix But it will still catch upstream in `addFile` and restrictions to show the informer?.." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "can't this just be left undefined/null?" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "changed bc we are using the `error` var below" }, { "prediction": "I think this is a breaking change, but I don't think it's worth it.", "reference": "Is there a reason why this is change is in the same commit?" }, { "prediction": "I don't think this is the right place to do this.", "reference": "@nghialv btw, perhaps was this method originally created for copying the repo root to the given `dest` as a subdirectory?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Just curious - why not var?" }, { "prediction": "Can we use `logo-g_white_small.png` instead of `logo-g_white_small.png`?", "reference": "Why would we import this here and not use it? Is there a side-effect of this import?" }, { "prediction": "Layout/AlignArray: Align the elements of an array literal if they span more than one line.
    Layout/AlignHash: Align the elements of an array literal if they span more than one line.
    Layout/AlignHash: Align the elements of an array literal if they span more than one line.
    Layout/AlignHash: Align the elements of an array literal if they span more than one line.
    Layout/AlignHash: Align the elements of an array literal if they span more than one line.
    Layout/AlignHash: Align the elements of an array literal if they span more than one line.
    Layout/AlignHash: Align the elements of an array literal if they span more than one line.
    Layout/AlignHash: Align the elements of an array literal if they span more than one line.
    Layout/AlignHash: Align the elements of an array literal if they span more than one line.", "reference": "The name `errors` is a bit mis-leading -- usually I'd expect a field called `errors` to be an array of errors but here it's just a count. And it's not a count of _all_ errors -- it's a count only of some errors." }, { "prediction": "Why did you remove this?", "reference": "there was no usage of the bundle in the framework? everything works exactly the same after the removal?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "Why this difference?" }, { "prediction": "This should be `sizeof(p_buffer->sqlcode) - 1`", "reference": "Surround code issue. RequestError may not be null terminated when the RequestError size is less than the length of the string in p_buffer->errorText. Also, this can cause core dump due to segment violation if length of errorText is less than the size of RequestBuffer." }, { "prediction": "I think this should be `[]byte(\"vp.\")`", "reference": "`AccountMaxVersionPrefix` is a global variable (from `gochecknoglobals`)" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "I see it is not part of this PR but I somehow overlooked it before. Can you use same import aliases as we use everywhere in the project: `apicommon` -> `commonpb` `apireplication` -> `replicationpb` `\"go.temporal.io/api/enums/v1\"` -> `enumspb \"go.temporal.io/api/enums/v1\"`" }, { "prediction": "I'm not sure if this is the right error type to use here. I'm not sure if it's the right error type to use here.", "reference": "Nit: Maybe merge these into one string while you are here?" }, { "prediction": "nit: `yield()` is a placeholder that can be used to indicate that an async function is not going to directly return here", "reference": "Why make a new file for this? I think keeping everything related to the scheduler in a single file increases readability. Especially when there is no API-boundary in between. Functions like `getCoroutine` and `yield` also live in the normal scheduler files so it doesn't seem consistent." }, { "prediction": "I don't think we need ifaceConfigurationEnabled anymore.", "reference": "tiniest of nits: why would you abbreviate \"interface\" but not \"configuration\"?" }, { "prediction": "Why did you remove the #if NETFRAMEWORK part?", "reference": "Removing since all of the domain-neutral testing will be done in the new `Samples.MultiDomainHost.Runner` app" }, { "prediction": "I think this should be `[PROCESS_WITH_PID={}]` instead of `[PROCESS_WITH_PID={}]`", "reference": "is there a better way to detect this rather than just always assuming it's cygwin if everything else fails? i think you can check `if sys.platform == 'cygwin'`" }, { "prediction": "I'm not sure this is the right error message. I think it should be `Syntax error while reading {!r}.format(path)`.", "reference": "duplicate code - can you move into build_from_path()?" }, { "prediction": "I'm not sure why this test is failing. I'm not sure why it's failing.", "reference": "very important test as we want to make sure the old name still work." }, { "prediction": "I think this should be `return sys.maxint` instead of `return 1`.", "reference": "I think returning 1 should some how be moved in to specific support for LibreOffice.." }, { "prediction": "This should be `bool d_r_avx512_code_in_use = false;`", "reference": "Should be inside `ifdef X86` I would think (or moved to... I guess arch/x86/emit_utils.c)" }, { "prediction": "I don't think we need to store services here.", "reference": "Using sync.Map(key: nodename; value: state) instead of this \"EdgeNodes\" string slice here would be much better. Reasons: 1. Using sync.Map makes the time complexity of function UpdateEdgeNode and IsEdgeNode O(1), while using string slice with for loop makes it O(n). 2. Later we could be checking node state whether it's \"ready\" or still \"not ready\" by directly comparing \"value\" of sync.Map and doing the node state updating." }, { "prediction": "I'm not sure if this is a good place to put this regex. I'm not sure if it's a good place to put it.", "reference": "nit, does it make sense to get this variables outside the func where they are used?" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "to **an** Amazon... Simple Notification **Service** (singular)" }, { "prediction": "I think this should be `if top!= nil { top.Shutdown(ctx) }`", "reference": "Nit: is \"top\" a short name we use frequently? Seems a bit mysterious, and saves only 2 chars." }, { "prediction": "I don't think this is a good default, but I think it's better to default to 10 seconds.", "reference": "This name is really confusing. May be just remove this const completely and hardcode `4` where it is used?" }, { "prediction": "This test is not related to this PR, but it seems to be related to the fact that the `config.files_to_run` file is not present in `/resources/a_foo.rb`.", "reference": "Why did you remove this spec?" }, { "prediction": "Why is this removed?", "reference": "The vendor prefix is still being used on Chromium based browsers like Edge Chromium and Chrome. Did you mean to remove this?" }, { "prediction": "I'm not sure if this is the right place for this, but I'm not sure if this is the right place for this. I'm not sure if this is the right place for this.", "reference": ".get will return None if there is no project_id key, so the or None part is redundant" }, { "prediction": "I'm not sure if this should be a `DateTimeOffset` since it's a `TimeSpan` and not a `TimeSpan`.", "reference": "Do they need to be `internal`?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Hit a flake here where I think there may have been some output to stderr that got mixed in with the output from Stdout. Hence switching to `Output()`, which does also capture stderr as `err.Stderr`" }, { "prediction": "I don't think this change is needed.", "reference": "Is there any official CUDA API called cuMemcpy2D_v2?" }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to have a `imageMgmtConstants` class with a `imageType` and a `imageVersion` field.", "reference": "Can you please move this interface as class in common Constants file in az-core module?" }, { "prediction": "I think we should use `::getpid()` instead of `::getpid()`.", "reference": "Why not TempDir?" }, { "prediction": "I don't think this is needed.", "reference": "IMvxFormsView -> IMvxElement is a breaking change, isn't it?" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to move this to `molecule/setup.py` instead of `molecule/setup.py`.", "reference": "This should be imported alphabetically." }, { "prediction": "I don't think this change is needed.", "reference": "Please apply same changes as for Payment" }, { "prediction": "Can we move this to `dashboard.js`?", "reference": "This should only be used in the `ScrollEffect` component, as you have in the `DashboardMainApp` below" }, { "prediction": "I think this should be `g.auth.token_str = token` instead of `g.auth.is_active`", "reference": "I'd call it `g.auth_token`, just to make it more clear" }, { "prediction": "I'm not sure if this is the right size for UDP, or if it's the right size for UDP.", "reference": "Not sure if this is what we really need, we might need to adjust this constant after more extensive benchmarking." }, { "prediction": "This should be `m.Group(\"/branches\", func() { m.Get(\"/:id\",repo.GetBranch) })`", "reference": "Shouldn't we use `:branchname` here? Or just `:branch`?" }, { "prediction": "I'm not sure this is the correct type for this class.", "reference": "`AutoTime` is a number but calling `int()` would make it crash. Tested through the docs" }, { "prediction": "I think we can just do `this.attributes.FirstOrDefault(a => a.Key == (key?? string.Empty));` instead of `this.attributes.FirstOrDefault(a => a.Key == (key?? string.Empty));`", "reference": "@eddynaka Looks like the same block more or less 4 times, should we have a helper method? private void AddOrReplaceAttribute or something?" }, { "prediction": "I think it would be better to move this to `SolrDispatchFilter.class`", "reference": "Please do the same for the DebugFilter a few lines above." }, { "prediction": "This file should be named `act-setup-rerender`.", "reference": "Minor nit: Just inline both functions here. No need to make a file per function (that's a popular approach for some projects though, just not for us :) )." }, { "prediction": "I don't think we need to pass `null` to `CreateDefaultConfigurationSource`.", "reference": "There are several uses of the word \"default\" in here, perhaps it can be reworded slightly?" }, { "prediction": "Why is this change needed?", "reference": "`function (` is correct. A space must be there. Please run `make cs` to have correct coding style." }, { "prediction": "I think this should be `el.actualNode` instead of `elm.actualNode`.", "reference": "I think this is now going to fail the scenario where there is a `main` with aria-hidden=\"true\". I don't think that should fail." }, { "prediction": "I think this should be `append([]byte(nil), s.subject...)`", "reference": "Is this specifically that if we capture the cast in another variable, even if it passes escape analysis, that the runtime will copy?" }, { "prediction": "I'm not sure this is the right name for this field. `kms-alias-prefix` sounds like a prefix for all AWS IAM roles. I think it would be better if we named this `kms-alias-prefix` instead of `cluster-api-provider-aws-*`. Also, `kms-alias-prefix` sounds like a prefix for all AWS IAM roles.", "reference": "Should this be optional for existing configs to work?" }, { "prediction": "I'm not sure if this is the right place to set the available balance. I'm not sure if this is the right place to set the available balance.", "reference": "note that `balance` does not necessarily fit into `int64`, especially with the new bzz token. so you might want to avoid the `int64` conversion step using `big.NewFloat(0).SetInt(balance).Float64()`." }, { "prediction": "I'm not sure if this is the right thing to do, but it seems like it would be better to have the option \"Generate Json schema for tables/structs\" in the command line, and then have the option \"Generate Json schema for tables/structs\" in the command line.", "reference": "lets leave out the `-S`?" }, { "prediction": "I don't think this method is used anywhere.", "reference": "Is this method needed?" }, { "prediction": "Why not just call `forward_cpu` here?", "reference": "How about, instead of reading the param every time, just add a class member variable to hold the value of the flag, and just set it once during `LayerSetUp`?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Does this mean it's only returning tasks associated with the primary deployment? or something else" }, { "prediction": "I think this should be `t.Errorf(\"expect %v retry count, got %v\", e, a)` instead of `t.Errorf(\"expect %v retry count, got %v\", e, a)`", "reference": "nit, would be good to include prefix for this log statement." }, { "prediction": "I think this should be `assert.isTrue(checks['aria-required-attr'].evaluate.call(checkContext, target, ['aria-valuenow', 'aria-bats']));`", "reference": "Same here, you should use a made up role. May I suggest `role=\"McCheddarton\"`? :)" }, { "prediction": "I'm not sure this is the right place to do this.", "reference": "@aokolnychyi, shouldn't this check whether the operation is a delete? If this is invoked by `DELETE FROM` then we don't need to validate conflicting deletes." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Any reason to split up this import block? I think most files have them together in one block, right?" }, { "prediction": "I'm not sure if we should tag service entry spans here.", "reference": "`Tags.AppSecEnabled` should probably move to `Metrics.AppSecEnabled` I guess?" }, { "prediction": "I'm not sure if this is the right place to put this constructor.", "reference": "What happens if you remove this? Can't you still initialize this atomic_file class, since it's just AtomicLocalFile with an additional method (move_to_final_destination)?" }, { "prediction": "I'm not sure about this change, but I'm not sure it's necessary to remove the `layouts.partners_html` and `layouts.partners_ic` sections from the `layouts` file.", "reference": "As previously discussed in #1944 it's not safe to remove IC like this as it will break every language that still has a `%{ic}` marker in the translation." }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "I believe these rules will be enforced both (1) on egress from a local workload, and (2) on ingress **to** a local workload. Right? I understand that we definitely want (1), but do we really want to enforce (2) as well?" }, { "prediction": "I think this should be `POST` instead of `GET`.", "reference": "Update after command rename" }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix or if it's the right fix.", "reference": "What about adding an optional parameter that allows users to choose whether they want to use the format or not?" }, { "prediction": "I'm not sure why this test is skipped.", "reference": "Lint didn't like this context being before the skip" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put this, but I'm not sure if it's the right place to put this.", "reference": "so now basically anybody could drink my tequila? currently electron dev-env runs on `http://localhost:9080`" }, { "prediction": "`mDesktopFile.id()` is the same as `mPluginLoader->fileName()`", "reference": "`mPluginLoader` is nullptr in static plugins, which causes segmentation faults" }, { "prediction": "Please revert this change.", "reference": "Better use `Optional> onSearch` here." }, { "prediction": "Why is this removed?", "reference": "this is asserted as invalid input" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Why do you need to create a new parser? Can't you just use `state.Parser` to answer this question?" }, { "prediction": "I'm not sure if this is the right place to put this method. It's just a matter of taste, but I'm not sure if this is the right place to put this method.", "reference": "remove processing references from Nethermind.Core where possible, keep clean" }, { "prediction": "I think this should be `@SuppressWarnings(\"deprecation\")`", "reference": "Why not make this a subclass of `MessagingException` so we don't need to change all `throws` clause?" }, { "prediction": "I think this should be `from.drbg.hmac_drbg import DRBG`", "reference": "it should instead be `from.hmac_drbg import DRBG` also, please put it at the bottom of the imports (PEP 8 order), so near line 36" }, { "prediction": "`name` should be a `ColumnName` instead of `name`", "reference": "Nit: indentation is 2 indents (4 spaces) from the previous line." }, { "prediction": "I think this should be `dev` instead of `ddev`.", "reference": "I don't understand why this is changing to a hard-coded string." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "nit: perhaps calling this `config` would be more clear?" }, { "prediction": "This should be `Lade hochladen` or `Lade hochladen`", "reference": "I would rather recommend using 'Wird hochgeladen' since the imperative form of 'Lade hoch' confuses me whether this is an action I need to do or whether it's an action that Uppy is currently doing. Just my two cents." }, { "prediction": "This should be `minimumUmask = 0027`", "reference": "Hmm I would have expected this to go away? What role does it play now that we have a minimum?" }, { "prediction": "Why did you remove this?", "reference": "if we are removing this, is it useful to have the `isGetMoreError` message below? If that's not required, can we also remove the `mongoErrorContextSymbol` outright?" }, { "prediction": "Why is this needed?", "reference": "I think this mutex is only used here. Remove it." }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to put the exception handling in a custom extension of IndexSearcher.", "reference": "it's unclear to me which method you are recommending overriding?" }, { "prediction": "I think this should be `if field and field not in named_arguments`", "reference": "This make me think that if the typing of a variable is inconsistent it could cause problem. For example here, if `field == 0`, the behavior is not exactly the same. A `0` and is implicitelty false. Well it works because summing 0 is neutral, but what if it was a multiplication?" }, { "prediction": "Remove empty line.", "reference": "Remove this file from the PR" }, { "prediction": "I'm not sure why this is needed.", "reference": "I cannot find the changes / results of the eip2565 benchmark" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "@tofumatt now that I see this in context, we're now resetting 2/3 of the keys in the `NewComponent` state - the other being `error`. It seems that `error` should probably also be reset - essentially resetting all of the component state when the date range changes. What do you think? cc: @felixarntz @adamsilverstein" }, { "prediction": "I'm not sure if this is the right place to put this code. It seems like it would be better to put it in a `if NET452` block, and have it return `Task.FromResult(0)` instead of `Task.CompletedTask`?", "reference": "This one and the ones below are for shutdowns but if it appears in some method called frequently during the lifetime of the process it should be cached in a static." }, { "prediction": "I'm not sure why we need to throw an error here.", "reference": "Better to just do `const err = yield User.bulkWrite(ops).then(() => null, err => err);` so you don't need to write out the whole `try/catch` block." }, { "prediction": "why is this change needed?", "reference": "`action.ExecutionDataGas = 100`" }, { "prediction": "I think this should be `@private` instead of `@private`.", "reference": "@supersmile2009 please review. Is it right to mark this as legacy? Are we testing the legacy path here? Are there tests for the non-legacy path?" }, { "prediction": "Is there a reason to return `nil` here instead of just `return nil, nil`?", "reference": "getSpcResource should not be bothered about deletion. Can we have `separation of concerns` for this logic?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "This is actually matched with pandas's result since the output is sorted." }, { "prediction": "I think this should be `/etc/ioctl/wallet/default` instead of `/etc/ioctl/wallet/default`", "reference": "struct field tag `yaml:\"endpoint\"\"` not compatible with reflect.StructTag.Get: key:\"value\" pairs not separated by spaces (from `govet`)" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "This is not necessary. Topic inherits from DomainEntity which already has instance_handle_" }, { "prediction": "I don't think `false` is a valid argument for this test.", "reference": "Do we need the forXDP parameter in runBpfUnitTest? If not, I think better to revert in order to save a few changes." }, { "prediction": "I don't think we need this anymore.", "reference": "All the code that reference to this function must also be changed." }, { "prediction": "I think this should be `@Restricted(NoExternalUse.class)`", "reference": "How is this new interface different from existing `validateProxyUser` method? If I understand correctly the `proxyUser` parameter is essentially a group and the method should verify if `realUser` belongs to it." }, { "prediction": "I think this should be `Blockchain.BlockTree` instead of `Nethermind.Blockchain.BlockTree`", "reference": "Do we have namespace conflicts?" }, { "prediction": "I don't think we need to do anything special here. I think we can just pass `cfg.Cache.TTLDuration()` to the `NewWebAPI` function, and then we don't need to pass `t.Logger` to the `NewFakeWebAPI` function.", "reference": "We have several groups of caches so I think we should not use this shared configuration value for all of them. Instead of that, each cache group should have a separate configuration field, and the added `validation cache` should have its own field too. But this point, they can be fixed by `24h`." }, { "prediction": "I think this should be `protected $master, protected $slave, protected $secondary`", "reference": "This is a BC break for extending classes, it can't be done on 3.x" }, { "prediction": "I think this should be `server_side_encryption_customer_algorithm = response.getheader('x-amz-server-side-encryption-customer-algorithm', None)`", "reference": "Line length (PEP8, should be 80 chars max)" }, { "prediction": "I think this should be `priority_high` instead of `priority_high`", "reference": "this is duplicate now. I suggest moving it into `MimeHeader`, we already have a bunch of other headers there" }, { "prediction": "I don't think this is the right way to check for trailing whitespace.", "reference": "Can you expand the warning slightly \"Your password contains leading/trailing whitespace - in previous versions of rclone this was stripped\" Just so users know they might have to type their password without a leading space." }, { "prediction": "I think this should be `MessageBox.Show(this, message);` instead of `MessageDlg.Show(this, message);`", "reference": "I think \"this\" should be \"parent\"." }, { "prediction": "I don't think we need to start the progress.", "reference": "Why not init this at variable decl time instead?" }, { "prediction": "I think this should be `const ProjectIDEnvKey = \"PROJECT_ID\"` instead of `const ProjectIDEnvConfig`", "reference": "Do we still need this if we're doing everything through `envconfig`?" }, { "prediction": "I don't think we should add this to the `OptionsNetwork` struct, since it's only used in one place.", "reference": "I would like these options to have `experiment` prefix or suffix. Because we will be deleting them later" }, { "prediction": "I don't think this is the right place to put this. The `DISABLE_SANDBOX_WARNING` constant should be set to `true` by default.", "reference": "Since we have the same logic in both forms, can we make a shared partial/helper for it?" }, { "prediction": "Why not use `blockchain.MarketAddr().Hex()` here?", "reference": "Why to introduce this intermediate variable?" }, { "prediction": "I'm not sure this is the right description. It should be `Hadoop delegation token, only used when client_type=\"insecure\"`", "reference": "Maybe use ChoiceParameter?" }, { "prediction": "Style/RedundantRedrescueStandardError: Redundant rescue statement detected.
    Style/SymbolProc: Pass in an argument as an argument to a method call.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby 1.9 hash syntax.
    Style/SymbolProc: Use the new Ruby", "reference": "Not positive is this is needed, given the `TokenAuth` include" }, { "prediction": "I don't think this is a tuple.", "reference": "Why not use a docstring for it?" }, { "prediction": "nit: can we use `StringUtils.isNotBlank(commandErrorOutput.toString())`?", "reference": "Two more tests - no ports specified and every possible port specified - p2pPort, graphQLHttpPort, rpcHttpPort, rpcWsPort, metricsPort, metricsPushPort, stratumPort" }, { "prediction": "I don't think we should add this copyright to the `pylint` repo.", "reference": "Don't worry about that next time, it's automated :)" }, { "prediction": "I think this should be `enable=False`.", "reference": "No need for this, as pylint already only turns things off for this function and it's needed for the entire function." }, { "prediction": "I'm not sure this is the right thing to do here. The `opentelemetryNetworkHost` and `opentelemetryNetworkPort` are used for monitoring agent.", "reference": "Are these values expected to change over time? Why not inject these values in ECS backend instead of agent doing it?" }, { "prediction": "I don't think we need to set this here.", "reference": "as best i can tell, you are setting this here in order to make it available in `(e *ETCD) Snapshot(ctx context.Context, config *config.Control) error`. It feels wrong to pass state like this through an env var. Could you instead add a `nodeName` property to the ETCD struct?" }, { "prediction": "I'm not sure if this should be skipped in this PR.", "reference": "These seem to support the new test framework below, but the `.in.csv` files are still committed." }, { "prediction": "I don't think we need to check for removedReceipts anymore.", "reference": "!txReceipts[i].Removed and We can check it for first item outside of for loop, we don't expect mixed batches" }, { "prediction": "I'm not sure if we should change this to `url` or `repoURL`.", "reference": "We can't unfortunately change any of our old flags :( it'd be a breaking change. Instead, we can keep both `githubURLFlag` and `repoURLFlag` and make the description of `githubURLFlagDescription` as \"(Deprecated) Use --url instead. GitHub respository URL for your service.\" It would be even better if we can make `githubURLFlag` as hidden but keep in the command. This way old commands will still work with `--github-url` but it won't appear anymore in the help menu." }, { "prediction": "I think this should be `Puppet::Pops::Issues.issue(:UNKNOWN_PLAN)` instead of `Puppet::Pops::Issues.issue(:UNKNOWN_PLAN)`", "reference": "This provides file and line number if applicable." }, { "prediction": "please use `import numpy as np`", "reference": "This is already imported. Please check the file." }, { "prediction": "Don't keep the text selected after it's copied.", "reference": "One thing we can do in a follow up is use the shorthand calls, so You can just call `aSelection.unselect()` instead of calling the more verbose `execute()`. The fact that you have to check if the action is available sort of sucks though." }, { "prediction": "I'm not sure this is the right place to do this.", "reference": "I don't think adding this value to _every_ connection policy is needed or useful... why is this necessary?" }, { "prediction": "I don't think we need this anymore.", "reference": "adding this constrain for null AggreagateId is redundant" }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "Why when current user is owner but still check access? Should we use `else if` here?" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a constant for `InitialInterval` and `MaxInterval`.", "reference": "60 seems high. 10? 20?" }, { "prediction": "I think `abspath` should be preferred over `abspath`.", "reference": "I think this is not the best way to handle this problem. This way every relative path will be converted to absolute path. What if the user would like to move his config directory to a different directory?" }, { "prediction": "I'm not sure if we should add this to the `NetworkSpec` struct.", "reference": "Let's make this a pointer given that's optional" }, { "prediction": "I'm not sure if this is a good place to put circular-json dependencies.", "reference": "Why is CircularJSON imported here? It is never used in this file." }, { "prediction": "I don't think we need to set the default here.", "reference": "Should be ARM" }, { "prediction": "I think this should be `fmt.Errorf(\"file bucket: %s is not a directory\", dir)`", "reference": "I don't see how removing \"open file bucket\" helps your purpose." }, { "prediction": "I don't think we should change the Solr version here.", "reference": "Solr dependency was downgraded?" }, { "prediction": "Rails.root.join(\"lib\", \"services\") -> \"services\"", "reference": "or should we just autoload everything in `lib`?" }, { "prediction": "I'm not sure if this is the right place to put this method, but I think it would be better to move this method to `CapabilitiesUtils`.", "reference": "Prefer `Stream.anyMatch` instead of iterating over all slots." }, { "prediction": "I'm not sure if we should add this to the `CREATE_VIOLATIONS_TABLE`?", "reference": "create_tables isn't used in 2.0 (should probably be deleted?)" }, { "prediction": "I think this should be `IReadOnlyCollection`.", "reference": "Now I start to wonder, do we want to have `80` as the default or `9090` (or depending on whether we are exposing it via `PrometheusExporterMiddleware` vs. `PrometheusExporterHttpServer`)?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "try an illegal case. and the result is syntax error." }, { "prediction": "I think this should be `needs_reshape_ = true`.", "reference": "Initialize `needs_reshape_` with true and call `Reshape` method" }, { "prediction": "I'm not sure this is the right way to do this, but I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "This is a _very_ complicated line. I'm not a fan of ternaries to begin with (although, I allow them in very simple situations), but this ternary has compound conditionals and would really need to be broken up. That said: if I'm reading this right, it sounds like this logic can make it where this lambda (which is called `RANDOM_ORDERING`) can make it not random and basically do the opposite of what it says. In general, it's good to avoid making methods or lambdas do the opposite of what they say." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "We should remove this" }, { "prediction": "This should be `IptablesNATIncomingInterfaceFilter`.", "reference": "We should validate this, I think. To add a validator: - change `string` to, say `iface-pattern` - add a new `case \"iface-pattern\"` to the `switch` in the `loadParams()` function: - in that `case`, you should be able to use a RegexpPattern like the one for `iface-list`. However, you'll need a different regexp. I think this regexp should work: `^[a-zA-Z0-9:._+-]{1,15}$` i.e. 1-15 characters consisting of alphanumerics, colon, dot, underscore, hyphen and plus." }, { "prediction": "I think this should be `require.Equal(err, ErrNotEnoughBalance)`", "reference": "File is not `goimports`-ed with -local github.com/iotexproject/iotex-core (from `goimports`)" }, { "prediction": "I think this should be `List>`", "reference": "Nit: Here we don't need the extra `this` in iceberg because we usually use the `this` to distinguish whether it is a member variable or local variable when assigning value." }, { "prediction": "I'm not sure this is the right error message.", "reference": "Why do we have that extra \"ENGINE-16002 Exception while closing command context:\" now? Is that done intentionally by us or where does that now come from?" }, { "prediction": "Please remove the wildcard import.", "reference": "Please don't use star imports, in the codebase we tend to use direct imports." }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but if it is the right thing to do, then I'm not sure if this is the right thing to do.", "reference": "Filename can be `config.functional`" }, { "prediction": "I think this should be done in `block_processor::start` instead of `block_processor::stop`.", "reference": "Should the thread join be done in the stop function maybe? I am simply wondering and sharing my thoughts. This is my thinking: * The join used to be done in the stop function of node class and now it has moved in the destructor. * The class state_block_signature_verification joins its thread at the stop function too." }, { "prediction": "I think this should be called `walletInit` instead of `walletListCmd`.", "reference": "don't use `init` function (from `gochecknoinits`)" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "Simple Notification **Service** (singular)" }, { "prediction": "I think this should be `0` instead of `1024`.", "reference": "You are fixing the crash problem, and you have fixed it, so it won't crash anymore. So `crash_test` is not a proper name." }, { "prediction": "Why is this needed? I don't see any usages of this method.", "reference": "If this default doesn't depend on the argument, shouldn't it be delegated as the default for the no-arg version instead?" }, { "prediction": "I don't think this is the right place for this function. I'm not sure if this is the right place for this function.", "reference": "I did not use the new save_config_file method in here, because I am not sure whether this whole logic is still necessary? There is an TODO about it there as well." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Why was this changed?" }, { "prediction": "I don't think you need to check `self.floor_thr == 0` here.", "reference": "I think you meant, self.floor_thr = 0" }, { "prediction": "I don't think this change is needed.", "reference": "Can you revert these changes?" }, { "prediction": "I think we can remove the `StatusBarIOS` and `StatusBar` altogether.", "reference": "Do we need to change this?" }, { "prediction": "I'm not sure this is the right fix. I think it should be `if cgroup.Resources.Memory == configs.MemoryUnlimited {`", "reference": "With this commit, `MemoryUnlimited` is defined as a `unit64`, so I think you can drop the redundant cast from this line (and the later lines which also have `uint64(configs.MemoryUnlimited)`." }, { "prediction": "I don't think this is the right thing to do, but I think it would be better to check `props.maxNumberOfFiles` instead of `props.totalFileCount`.", "reference": "`props.totalFileCount < props.maxNumberOfFiles` makes the intent a bit more clear I think. And a check to see if maxNumberOfFiles even exists?" }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "`epochNum` is a global variable (from `gochecknoglobals`)" }, { "prediction": "this should be `newRow = self.getRow(newEntity, oldRows);`", "reference": "This needs to be fixed before we can accept the PR" }, { "prediction": "Why not just use `size_t constexpr nano::frontier_req_client::size_frontier`?", "reference": "Are these forward declarations needed if we `#include ` which includes the definition?" }, { "prediction": "I'm not sure why this change is needed, but I'm not sure if it's worth it.", "reference": "can you use either `connectID` or `ConnectID` i would preffer `connectID`" }, { "prediction": "This should be `@var array|null`", "reference": "It seems like it cannot be null?" }, { "prediction": "I think we should deprecate updateTime in ExecutionReference class gradually.", "reference": "should we consider add deprecated annotation here?" }, { "prediction": "I'm not sure if this should be `NormalizedUsername` or `Name`.", "reference": "Why can't the implementor get the username from the config?" }, { "prediction": "I think this should be `execution.ActionGasLimit`", "reference": "@CoderZhi Please confirm if this change makes sense" }, { "prediction": "I think this should be `PRIVATE_SUBSCRIPTION_MULTI_TENANCY_ERROR(-50100, \"foo.\"),`", "reference": "Do you think you can come up with a better message? :-) It looks like this is not used anywhere. So maybe just delete the line." }, { "prediction": "I think this method should be `isEmpty()` instead of `isEmpty()`", "reference": "`tail()` is an expensive operation for certain collections" }, { "prediction": "I don't think we need this mapping in the default AKS app.", "reference": "do we need to add this one in this PR?" }, { "prediction": "Why is this removed?", "reference": "where is a test for it?" }, { "prediction": "I think this should be `/[a-z0-9\\/\\:_\\-\\*\\[\\]\\+\\?\\|\\.\\^\\\\\\$]*$/i`", "reference": "Why has this spacing been adjusted?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this, so I'm not sure it's the right place to do this.", "reference": "Sorry to do this, since you're touching this file can you resolve the pylint doc messages above?" }, { "prediction": "I'm not sure this is the right thing to do. The recording_msid is a string, not a string. I'm not sure if this is the right thing to do.", "reference": "@alastair, because the `insertId` for two listens with different metadata and same ts was the same, only one of them would get written into BQ. A question is what would be the ideal way to write tests for stuff like this, so that this doesn't break again?" }, { "prediction": "I'm not sure this is the right data identifier.", "reference": "Wondering where this breaks btw (although pretty understandable)" }, { "prediction": "I think this should be `SparkReadOptions.LOOKBACK_FACTOR`", "reference": "is this needed? 10 is already the default" }, { "prediction": "I'm not sure this is the right place to put this. I think it should be `if element.valign == 'center' else element.valign` instead of `if element.valign == 'center' else element.valign`", "reference": "One day we can try to allow the user to specify font sizes in something other than points. For now this is fine though..." }, { "prediction": "I'm not sure this is the right place to put this. It seems like it would be better to put this in WriterProxyData::WriterProxyData.h.", "reference": "duplicated in both block of preprocessor condition. Can you join in one?" }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure if this is the best way to do it.", "reference": "Can we put the first part of the expression inline with the `if(` for consistency's sake?" }, { "prediction": "I'm not sure if this is the right place to put this interface.", "reference": "Do servers have no need of accessing this information?" }, { "prediction": "I'm not sure if we should rename this to `formatTimeAgoText` or `formatTimeAgo` since it's not used anywhere else in this PR.", "reference": "It feels like this will break some stuff, but let it break. We need \"text\" version anyway." }, { "prediction": "I think this should be `TRUE` instead of `FALSE`.", "reference": "Here are two things I wonder: First, would it make sense to replace the TRUE here with \"leftExpr->getValueId().getType().supportsSQLnull() && rightExpr->getValueId().getType().supportsSQLnull()\". I'm not sure we have optimizations elsewhere that set the \"special nulls\" semantics back to FALSE if one of the operands it not nullable. Second, I wonder whether we have bugs elsewhere in the code that may not check for the \"special nulls\" semantics. For example, hash and merge joins probably can't use such predicates as equi-join predicates - one of the reasons for the optimization above. When I look at method ItemExpr::isAnEquiJoinPredicate() in core/sql/optimizer/OptItemExpr.cpp, I don't see a check for that. You have an example with a NULL value that is working, so hopefully this is not an issue, but I'm not sure how and why it works." }, { "prediction": "I don't think this is correct. `inf or function name (signed)` should be `inf` or `function name (unsigned integer)`.", "reference": "This will cause someone writing a schema field like `inf:string` to get a pretty confusing error? If they intended to use `inf` as short for `information` or whatever :) Might it be better to keep it as `Identifier` and explicitly recognize the few identifiers we care about only when parsing values (not while parsing field names)?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I think it should be `'notBefore'` instead of `'notBefore'`.", "reference": "Mmm.... this affect #168 I'll need to research the collateral damage" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "nit: refactor into a const map lookup." }, { "prediction": "Why is this change needed?", "reference": "I don't think this is going to work. We need to get the actual assembly of the app project. @johnnywebb thoughts?" }, { "prediction": "I think this should be `use_memoize=False`.", "reference": "@MSusik be careful about changing existing API. I think in this case you shouldn't rename the argument." }, { "prediction": "Is this change needed?", "reference": "This is bad. It is not a NULL-terminated string here." }, { "prediction": "I don't think this should be a string.", "reference": "This probably should be @param string|false." }, { "prediction": "I don't think this is the right place for this test.", "reference": "Unrelated test fix. Already in cordova34 branch." }, { "prediction": "I'm not sure why we need to keep v1 v2 validation?", "reference": "validate() will be called by either V1 or V2" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "rather than generate code for this every time, stick it in `flatbuffers.h` (and call it `FLATBUFFERS_NOEXCEPT` to avoid clashes)." }, { "prediction": "I don't think this is a good idea. If the transaction was changed, we would have a negative impact on performance. Revisit performance of using this type of database transaction.", "reference": "@AskAlexSharov @tjayrush, I'm still feeling uncomfortable with this change: - because it works by accident. For example in next lines `tx` object used as: `ReadBlockByNumber(tx)`. If you go inside `ReadBlockByNumber` you can find `!errors.Is(err, ethdb.ErrKeyNotFound)` - but ethdb.Tx doesn't return this error - and it satisfy `DatabaseReader` by accident - (I faced this problem last week - when passed Tx to place which expected Db - and I promised to change tx API - rename Get to GetOne or even remove the method). - we can merge this PR if it doesn't break things and solve problem of localDb use of RPCDaemon. But I will make PR now which will allow open Read tx by TxDb/ObjectDb - and will ask you to use it. Then will take a look how hard to change LmdbTx to not satisfy rawdb.DatabaseReader interface." }, { "prediction": "I think this should be `network.setParameter(\"anomalyMode\", True)`", "reference": "I think this means the file doesn't have a newline character at the end." }, { "prediction": "I think this should be `return FPGA_OK;` instead of `return FPGA_OK;`", "reference": "Hi Ramya, rather than checking here in the perf counter library, we should add the privilege check in the host_exerciser app." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to check if `self.notifyObjectDeletion` is `None` before calling `__del__`.", "reference": "Could you elaborate on this some more? Has this behavior changed with Python 3.8?" }, { "prediction": "I'm not sure if we should log the error here. I think we should log it in the `aws.LogDebugWithHTTPBody` function.", "reference": "Do we want to continue on logging the `dumpedBody`, if an error was thrown? It is probably an empty string. This would make the log after this one pretty much useless." }, { "prediction": "I don't think we should hard-code the label name here, since it's used for annotation fields.", "reference": "the text here is derived from the object type and not getting properly handled by get text" }, { "prediction": "I'm not sure if this is the right place to put this in. I'm not sure if this is the right place to put this in.", "reference": "This will make other pods that run antctl will also connect its localhost? Maybe only do it when it's in antrea-agent and antrea-controller" }, { "prediction": "Remove the `name` and `id` from the `menuItems` array.", "reference": "The corresponding action for this key needs to be removed as well, along with any unused translations." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Can't Span cannot be null anymore? I assume it was a useless check as there are discrepencies within integrations, but as you explicitly removed this one, I was wondering" }, { "prediction": "I think we can remove the `| ParityTraceTypes.Rewards` parameter here.", "reference": "hmmm, ok, this is interesting -> Lukasz definitely uses rewards traces" }, { "prediction": "I think this should be `read.split.by-partition`", "reference": "Why do we need this flag? can this be detected if the table is bucketed/partitioned and enabled/disabled automatically? Is this for backwards compatibility?" }, { "prediction": "I don't understand this change. Why is this change needed?", "reference": "can you revert changes to this file." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's the right place to put this.", "reference": "suggestion to add: An soc is a chunks whose address is derived of (...)" }, { "prediction": "I think this should be `REQUIRED` or `PASSWORD_REQUIRED` depending on whether or not the username is required or not.", "reference": "It doesn't make sense. if we are going to have the profile page where the user can change the password and he / she is already logged in... I do not need to register a new username. only: new password..confirm new password..something similar...and \"USERNAME_ALREADY_REGISTERED\" only if I have a register page..are we going to have? We need to talk about it." }, { "prediction": "I'm not sure this is the right place for this method. It seems like it should be called `RecalculateStateRoot` instead of `RecalculateStateRoot`.", "reference": "not a great fan of this change - maybe worth splitting into CommitTree() and CloseBlock(long blockNumber)?" }, { "prediction": "I'm not sure this is the right place for this. It seems like it should be `Abort(abortReason: null)` instead of `Abort(abortReason: null)`.", "reference": "Ugh, if we're going to make a breaking change, I'd like this to be moved to ConnectionContext." }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "I was planning to add it as a common option, but there is a cyclic import for the rc & fs libs. Thoughts on avoiding it or should I remove this for now?" }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "I think this entry can be removed now, right?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "I don't understand why you want to populate the storage class in this case, if the S3 docs say they won't populate the header in this case?" }, { "prediction": "I'm not sure this is a good idea. It's not a good idea to have a timeout for all caps, but it's a good idea to have a timeout for all caps. I'm not sure if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps, or if it's a good idea to have a timeout for all caps.", "reference": "These are really meant to be the keys in the capabilities, not the keys of values within the capabilities" }, { "prediction": "I'm not sure if we should fallback to the ConfigProvider's region, or if the regionHint parameter is an empty string.", "reference": "Should the last sentence be `If no region was found` rather than `specified`?" }, { "prediction": "I'm not sure this is the best way to do this, but I think it would be better to use `Player.getDisplayName()` instead of `Player.getName()`.", "reference": "Text.sanitize just removes images from names, for instance, the hardcore ironman symbol when someone talks. A better option would be text.standardize, or text.toJagexName" }, { "prediction": "I'm not sure if this is the right place to put this function.", "reference": "How about `ApplicationKindFromConfigKind`? And I think this function should be better in the config package. The reason is `config` package can import and refer things from the model package but not vice versa." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "Nit: missing closing \".\"." }, { "prediction": "I think this should be `element_to_be_unclickable(By.ID, \"disabled-button\")`", "reference": "I believe it's misleading name for the condition. I prefer \"element_to_be_disable\" We can have a condition, when element is enabled but we can't click it, because another element overlays above it. So, If we use \"unclickable\" we might mislead people, who use that condition to verify if element can be clicked" }, { "prediction": "This is a breaking change. The `Marshal()` method should be renamed to `MarshalBinary()` so that we don't have to change the signature of the `Marshal()` method.", "reference": "Same here. Should this be pipeline YAML file? Like `MarshalPipelineManifest`" }, { "prediction": "I think this should be `InstanceStartupEvent` instead of `InstanceStartupEvent`.", "reference": "I will add this to my PR" }, { "prediction": "I don't think we need to do this. I think we should just call `archive?` in the `before_action` and `after_action` in the `before_destroy` and `after_destroy` callbacks.", "reference": "Again not 100% sold on the name" }, { "prediction": "I'm not sure about this change, but I think it's better to use `/avatar/upload` instead of `/avatar/delete`.", "reference": "Use `m.Combo` for `Get` and `Post` methods." }, { "prediction": "I'm not sure this is a good idea. It's not a good idea to abort the download if the file doesn't exist. It's a good idea to abort the download if the file doesn't exist.", "reference": "Is there a reason you're not using `self._die(\"The file {}...\")` here?" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "I think we'll want @rickmanelius (or somebody) to go through all the help and make it more accessible. Probably later in the cycle. But \"Run a command in an app container\" doesn't do it for me :)" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "shouldn't this be a const?" }, { "prediction": "I think this is a bug fix. The tests are failing because the `package` argument is not set.", "reference": "This is a bit of a throwaway field in the xunit output, it doesn't impact anything on EVG, should we just name it `integration` now?" }, { "prediction": "I'm not sure if this should be an `@Atomic` annotation.", "reference": "Please change the name of the file too." }, { "prediction": "I think this should be `/tools/actioninjector/v2/agentsfaddrs.yaml`", "reference": "line is 161 characters (from `lll`)" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "When is this false?" }, { "prediction": "Why did you remove this line?", "reference": "note: also here ;)" }, { "prediction": "I think this should be `final` instead of `final`.", "reference": "I don't think we need to necessarily check if that returned true or not, we should just remove the shutdown hook. Since nothing would check or do anything with this flag anyways." }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure if this is the right place to put it, or if it's the right place to put it, but I'm not sure if it's the right place to put it.", "reference": "nit: blank between, for consistency." }, { "prediction": "I'm not sure this is the right fix. I think it should be done in a separate PR, but I don't know if it's a good idea to do it in a separate PR.", "reference": "ditto for RDoc or YARD link" }, { "prediction": "I think this should be `logger.debug(new Date() + \" - \" + message);` instead of `logger.info(new Date() + \" - \" + message);`", "reference": "This method is designed to allow the condition runner to tell users something interesting. The current `INFO` log level is correct." }, { "prediction": "Why is this `int64` instead of `int`?", "reference": "Again, would not change that." }, { "prediction": "I think this method should be renamed to `isStatusKilled()` and `isStatusCancelled()` to be consistent with the other methods in this class.", "reference": "Is canceled considered failed?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "These ineffectual assignment changes intrigue me. Our CI tests have been checking for these for months; how come the tests haven't been failing? How did you catch these?" }, { "prediction": "I'm not sure this is the right way to test MintX509CA. I'm not sure if this is the right way to test MintX509CA. I'm not sure if this is the right way to test MintX509CA.", "reference": "We should add an additional call to Recv() somewhere after here that we assert returns io.EOF." }, { "prediction": "I'm not sure this is the right place to do this. It seems like the `ctx` should be a `context.Background()`?", "reference": "Why not return a `ctx` from `setupJournalBlockServerTest` and use it everywhere, like in the other test files? And maybe put a test timeout on it while you're at it? (Same for the other journal test files below.)" }, { "prediction": "I'm not sure if this is the right place for this validation function.", "reference": "Do we need HeadlessSurface and DisplayPlaneSurface here too?" }, { "prediction": "I'm not sure this is the right fix. I think we should change the error message to `MongoGridFSStreamError: Cannot call abort() on a stream twice`.", "reference": "Would it be appropriate for this to be a `MongoStreamClosedError`?" }, { "prediction": "nit: rename to `resource`", "reference": "Can you raise new issue that talks about refactoring webhook code. It should follow `idiomatic maya` patterns." }, { "prediction": "I don't think this is used anywhere.", "reference": "(Probably repeating myself) Instead of `Datadog.Trace.Interfaces`, should we move this and several other files into a `Datadog.Trace.Decorators` namespace instead?" }, { "prediction": "I don't think this is needed.", "reference": "Should we generate `gem \"rsolr\"` into the application Gemfile?" }, { "prediction": "I'm not sure we should increase verbosity here.", "reference": "commit message, \"currently ignored\"? (-ed)" }, { "prediction": "Is this method used anywhere? If so, can we remove it?", "reference": "Same here. and all others." }, { "prediction": "I'm not sure if this is the right place to put it.", "reference": "can we pass some simple interface instead of a full additional processor? (an imterface with these two events only)" }, { "prediction": "I'm not sure we want to put a NOP here for future linking.", "reference": "Use a named constant" }, { "prediction": "I'm not sure this is the right place to check for null.", "reference": "The `?` is unnecessary since `Assert.Single` will fail if it can't find the stop event." }, { "prediction": "Why not just use `LocationProvider.DATA_LOCATION`?", "reference": "What about providers that don't have a reliable location? Do they return null?" }, { "prediction": "I don't think this is needed. The `GetMetric` and `GetMemoryState` methods are only used in the `MetricProcessor` class.", "reference": "I might not be thinking about things right, but would it make sense for a MetricProcessor to have a handle on the ParentProvider kinda like how we do for traces? That way instead of calling `SetGetMetricFunction(this.Collect)` in the MeterProviderSdk you'd have a handle on the provider to call `Collect` directly." }, { "prediction": "I think this should be `PORT_DYNAMODB_BACKEND` instead of `PORT_DYNAMODB_BACKEND`", "reference": "nit: If we want to squeeze out a few more milliseconds from the startup, we may actually be able to remove this line (`wait_for_port_open(PORT_DYNAMODB_BACKEND, http_path=\"/\",...` should already be sufficient to ensure that the service is up and responding to HTTP requests). Thoughts?" }, { "prediction": "I think this should be `SYSCALL_NUM_MARKER_BSD` instead of `SYSCALL_NUM_MARKER_BSD`.", "reference": "Convention is to use TEST" }, { "prediction": "I'm not sure why this test is skipped.", "reference": "Just in case: remember to remove this." }, { "prediction": "I'm not sure this is the right fix. The baseFee should be calculated based on the feeMarket.getBasefeeMaxChangeDenominator() value, not the feeMarket.getBasefeeMaxChangeDenominator() value.", "reference": "I am not certain if this should be 0 or 7 here. I think a basefee under 7 is pathological" }, { "prediction": "I'm not sure if this is a good idea to use UTF-8, but I'm not sure if it's a good idea to use `UTF-8` or `UTF16_BE` or `UTF16_LE`. I'm not sure if it's better to use `UTF-8` or `UTF16_BE` or `UTF16_LE` or `UTF16_BE` depending on the implementation.", "reference": "it would be better to move the declaration of the variable with its initialization at line 68" }, { "prediction": "I don't think this is needed.", "reference": "I don't think this is required." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This rename should also ideally be in a separate PR." }, { "prediction": "I'm not sure this is the right place to catch `Throwable`s. I'm not sure it's a good idea to catch `Throwable`s.", "reference": "Think this needs to go right below line 91. `parseResponse` can return `null` (line 133), which will cause this future to never complete." }, { "prediction": "Why do we need to make these final?", "reference": "Can you please revert changes to files in the `thoughtworks` package? This is legacy code and we will eventually phase out RC." }, { "prediction": "I don't think this is the right fix. The default value of `ENABLE_QUARTZ` should be `false` if `ENABLE_QUARTZ` is set to `false`.", "reference": "Yeah, why not use this method instead of checking with `containsKey`?" }, { "prediction": "I'm not sure if this is the right format string, but if it's the same format string, it might be better to use `'{}'.format(time_forward, time_backward)`.", "reference": "Compute `(time_forward + 1e-3) * 1e3 / loop_num` ahead." }, { "prediction": "I think this should be `throw;` instead of `throw;`", "reference": "Mh... `MustBeRethrown()` above already logs `ex`, so `ex` will be logged here for the second time. I think this line must be moved to before `MustBeRethrown()`." }, { "prediction": "Why do we need a generator here?", "reference": "Since this never changes, why not pass it into the constructor instead?" }, { "prediction": "Why is this readonly? I don't see it being used anywhere else.", "reference": "this is critical to avoid state root saving from beam" }, { "prediction": "I'm not sure why we need to pass `num_classes` to `unmap_outputs`?", "reference": "To make it more clear, `fill=self.num_classes`." }, { "prediction": "I'm not sure this is the correct way to do this, but I'm not sure if this is the right way to do it.", "reference": "Nit: \"ByteSize estimates the size in bytes of the message for the purpose of restricting batch sizes.\"" }, { "prediction": "I'm not sure this is the right place to set this.", "reference": "It's weird to have this on the same level as kestrel. This needs to move to options." }, { "prediction": "I'm not sure this is the best way to do this, but I think it would be better to use `find` instead of `length > 0` since it will always return the length of the array.", "reference": "is it safe for us to use the `blob.type?.length` optional chaining with IE11 support? @goto-bus-stop" }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "remove this debug statement" }, { "prediction": "I'm not sure if `vk_khr_sampler_ycbcr_conversion` will work with `vk_khr_sampler_vcr_conversion`?", "reference": "This should not be needed. 1) all 1.1 promoted extensions are marked as enabled when a 1.1 device is created (which happens iff both physical device support and apiVersion are set to 1.1) 2) The KHR and non-KHR versions of the bits are aliases of each other, so no different set is required." }, { "prediction": "I think this should be `if(getenv(\"CCTOOLS_LOOP_DEV_FULL\")) {`", "reference": "I can see why you did it this way, but let's not get into the habit of passing information back via an environment variable. Add an element to `batch_job_info` instead, which is where we send back detailed info about jobs." }, { "prediction": "I'm not sure this is the right fix. The `progress`-element should always have a `progress-bar` attribute, but the `progress`-element should always have a `progress-bar` attribute. The `progress`-element should always have a `progress-bar` attribute, and the `progress`-element should always have a `progress-bar` attribute.", "reference": "Turns out my previous fix of doing `!dom.hasAttribute('value')` is not a good one as it leads to all input values always being updated. The new fix only updates it, despite `dom.value === props.value` when the value is `0` for progress elements." }, { "prediction": "I don't think this is needed.", "reference": "Why is this being added here? Is this relevant to these changes?" }, { "prediction": "I think this should be `LOG.debug(\"Bound legacy RC support\");`", "reference": "This informational message is important to users. Please leave." }, { "prediction": "I'm not sure if this is the right place to put this. If the proposal is approved, then we'll be prompted to submit a new FY15 credit card funding request. If the proposal is approved, then we'll be prompted to submit a new FY16 credit card funding request. If the proposal is approved, then we'll be prompted to submit a new FY15 credit card funding request.", "reference": "why isn't rubocop failing for single quotes?" }, { "prediction": "I think this query should be rewritten as `SELECT status_id FROM product_workflow_status pws WHERE pws.product_id = p.id LIMIT 1 ) AS \"%s\"', $attribute->getId()->getValue(), $key ));", "reference": "Is `WHERE` should `Language` param?" }, { "prediction": "I'm not sure if this should be in `basic_statistics.cpp`.", "reference": "ps - first letter from preview, when we move it into public it will not be relevant. my suggestion is spmd or ds(distributed)" }, { "prediction": "I think this should be `isinstance(kser.spark.data_type, (NumericType, BooleanType))`", "reference": "Hm, should we show pandas' dtype instead of Spark data type?" }, { "prediction": "I'm not sure if this is the best metric name for this metric, but I think it's better to use `HistogramWithMinMaxAndBuckets` instead of `HistogramWithMinMaxAndBuckets` since it's the same metric name as `HistogramWithMinMaxAndBuckets`.", "reference": "@reyang when exponentialhistogram arrives, we won't have any bits left for it.. unless we take Summary or make this 16 bits instead of current 8 bytes" }, { "prediction": "I'm not sure if we want to add this to the docs, but I think it would be better to add it to the docs as well.", "reference": "This change is not tested.. I guess this is how these taint-annotations work..?" }, { "prediction": "I'm not sure if this is the right place to put this function.", "reference": "Fails if obj is list. Please fix!" }, { "prediction": "I think you can just use `ec2.get_all_instance_status(include_all_instances=True)`", "reference": "Could you add an assertion to make sure the `IncludeAllInstances` parameter is actually set and passed to the request?" }, { "prediction": "I don't think this is the right way to do this, but I think it would be better to do this in a separate function, e.g. `analyze_version` or something like that.", "reference": "The name of this argument is not too intuitive. The point is, these kind of subprocess calls will return `str`s in Python2 and 'byte`s in Python3. It would be a lot of work to make CodeChecker handle both `str` and `byte` everywhere. Using the `universal_newlines` argument, we can force Python3 to return text rather then bytes." }, { "prediction": "I'm not sure why this is needed.", "reference": "These `Get`s are just cosmetic changes for consistency." }, { "prediction": "This is a bit of a hack, but I'm not sure if it's worth it. I'm not sure if it's worth it, but I think it's worth it.", "reference": "We should never skip unit tests, but instead fix them. Look at `pytest.raises` for cases where we expect an exception." }, { "prediction": "I don't think this is the right place to put this.", "reference": "Do we need to call ToList here?" }, { "prediction": "I think this should be `@products = topic.products.ordered` instead of `@products = topic.products.ordered`", "reference": "I think this can be moved into the model, at the very least, but I also think you might be able to do a has many through." }, { "prediction": "I think this should be `String.format(\"(\" + value + \" \" + (tree.getChildren().map(Node::toLispString).mkString(\" \")) + \")\");`", "reference": "could you please separate computations from string concatenation?" }, { "prediction": "Why are these properties different?", "reference": "@NiklasGustafsson - I had to make these changes for the x-ms-client-name extension tests for java and python. The tests were expecting wire format instead of the client name. Hence modified them appropriately. Let me know what you think?" }, { "prediction": "I don't think we need to do this here. We should only do this if the config.header_cmds.size == 0 and the config.header_cmds.entries is empty.", "reference": "Could we just set the list of header modification commands to `req->overrides` and apply them only when the request is sent upstream in lib/core/proxy.c? The reason I ask is because an upstream server (accessed using the modified headers) might return 399. In such case, the request would be delegated to the next handler. I think that the headers of the original request should be passed to the next handler, since per my understanding the intended behavior of `proxy.header.*` is to modify the headers passed to the upstream server only." }, { "prediction": "I'm not sure this is the right thing to do here, but I think it would be better to have the `lastRefreshTime` and `lastRefreshInterval` fields in the `Table` struct, and then have the `Table.updateLastRefreshTime` and `Table.refreshInterval` fields in `Table.updateLastRefreshTime` and `Table.refreshInterval` fields in `Table.insertMode` and `Table.insertMode` fields in `Table.insertMode` and `Table.insertMode` respectively.", "reference": "Can we rename'refresh' to'read' and 'update' to 'write'? Until I had read more of the code below, I couldn't tell the difference between 'update' and'refresh'." }, { "prediction": "Why is this removed?", "reference": "can we remove it?" }, { "prediction": "I don't think this is needed.", "reference": "I take it that by the time we get here, colName has already been case-shifted to upper case?" }, { "prediction": "I don't think we need this.", "reference": "Super clear desc - thx." }, { "prediction": "I think this should be `import.second->collectLinkLibraries(addLinkLibrary);` instead of `return true;`", "reference": "Ahh the correct fix is to call `collectLinkLibraries` on the SourceFile being compiled, not the module. Sorry for our mistake!" }, { "prediction": "Should this be `assert.True(t, cfg.SharedVolumeMatchFullConfig, \"Default SharedVolumeMatchFullConfig is set incorrectly\")`?", "reference": "Can you also modify the `TestEnvironmentConfig` in `config_test.go` to cover this?" }, { "prediction": "I think we can remove the `onSuccess` method entirely.", "reference": "There's no point \"deprecating\" this interface method (the customer still has to implement the new callback that we have introduced which makes it a breaking change). I'd make an exception and simply rename it to `onResponse`." }, { "prediction": "I think this should be `info` or `warn`.", "reference": "We chose `info` in the test code for obvious reasons. Changing to `finest` makes debugging harder and noisier." }, { "prediction": "I think this should be `const std::unordered_map coGlobals = new std::map();`", "reference": "I know this is not new here but we need to remove this global or protect access from multiple threads." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Doesn't seem any less confusing or error-prone to me. IMO the solution is to not use \"object\" in the enrich callback signatures. Type safety/compile-time checking is our friend!" }, { "prediction": "I don't think we need to export `GOMAXPROCS` twice, since it's already exported by `sh.export 'GOMAXPROCS', '2', echo: false`", "reference": "I think this should be `GOMAXPROCS=$(nproc 2>/dev/null || echo 2)`" }, { "prediction": "I think this TODO should be removed.", "reference": "Can we log if this actually happens." }, { "prediction": "I don't think we need to do this. The `remoteHost` field should only be set if it's null.", "reference": "This is not really needed, the line added in `GridNodeConfiguration.java` is what really fixes the `remoteHost` regression." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "It looks like the import format was only changed from one-per-line to all on one line here. Can we keep it as it was so it's easier to see what changed? It's also more consistent with how we format multiple imports in other components." }, { "prediction": "Line is too long. [82/80]", "reference": "Maybe call it `WireBridge`?" }, { "prediction": "Please revert this change.", "reference": "Looks like `org.json.*` can be removed?" }, { "prediction": "I'm not sure if this is the right place to put the GAUNTLET_TIMER_GROUP_ID and the GAUNTLET_MAP_GROUP_ID.", "reference": "remove the extra comma and newline" }, { "prediction": "Use 2 spaces for indentation in a hash, relative to the first position after the preceding left parenthesis.", "reference": "Can we try to use Ruby 1.9-style hashes?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Terminology question - these are called \"global options\" in the code, but the parallel non-global versions of these are called \"directives\"... Should this be `RegisterGlobalDirective`? Or does that have different semantics?" }, { "prediction": "I think this should be `&& focusObject.isProtected` instead of `&& focusObject.isProtected`", "reference": "I do not care much, but you could as well just return bool(focusObject and focusObject.isProtected) here and avoid the if check? I know, really trivial." }, { "prediction": "I think this should be `element_to_be_unclickable(By.ID, \"disabled-button\")`", "reference": "I believe it's misleading name for the condition. I prefer \"element_to_be_disable\" We can have a condition, when element is enabled but we can't click it, because another element overlays above it. So, If we use \"unclickable\" we might mislead people, who use that condition to verify if element can be clicked" }, { "prediction": "I'm not sure this is the right thing to do here. It looks like we're passing the `context` to `generate()` in the `generate()` method. I'm not sure if that's the right thing to do here.", "reference": "Do DiscoveryContext and GoGapicContext have a more specific common ancestor than Object? If so, let's use that." }, { "prediction": "Align the elements of a hash literal if they span more than one line.", "reference": "is this the intended behavior now?" }, { "prediction": "Why was this removed?", "reference": "Hunspell/C++ stems that a bit differently from Lucene, but in a controversial way, so I removed the check instead of changing the expectation" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "I'm curious why this is needed?" }, { "prediction": "I'm not sure if this is the right fix. The `caster` and `target` should be mutually exclusive.", "reference": "I do not see how that changes anything, as the target is operated on many times before that line?" }, { "prediction": "I think this should be `sidebar.analytics.user-loyalty` instead of `sidebar.analytics.visitor-loyalty`", "reference": "Same user/visitor thing." }, { "prediction": "I'm not sure this is the best way to get the path to the environment script. I'm not sure if it's the best way to get the path to the environment script, but if it's the best way to get the path to the environment script, I think it's the best way to get the path to the environment script.", "reference": "This is not the correct path on all hosts. How can I correctly determine whether I will need to look in `Program Files` or `Program Files (x86)` for the script?" }, { "prediction": "I think we should catch the `Exception` instead of the `Exception` here.", "reference": "I think it would be better to move this try/catch block inside of the `FlushAsyncInternal` function as there are a few of places that can call it, eg event timer (here), AppendAsync, FlushAsync and CloseAsync." }, { "prediction": "I think this should be an array of `[]` instead of an array of `[]`.", "reference": "should we set a smaller initial size to make sure that we exercise the growing logic in our tests?" }, { "prediction": "I think this should be `str(dt.max(f.A))`.", "reference": "Let's add a new line at the end of this file, so that the last line becomes a valid line of code." }, { "prediction": "I'm not sure why this change is needed.", "reference": "Why was this removed?" }, { "prediction": "This should be `log-file-path` instead of `log-file-path`.", "reference": "I would prefer that this tool follow the driver framework conventions, which use OutputFilePath as an argument, take a look at AnalyzeCommandBase. You can propose changes to that if you'd like, but binskim, sqlskim, this tool should all conform (in the interests of building an eco-system with consistent command-line interface)" }, { "prediction": "I think this should be `fill(n, s, empty(), Queue::of);` instead of `fill(n, s, empty(), Queue::of);`", "reference": "(...), where each element ~are~ **is the** given {@code element}." }, { "prediction": "I think we can remove the `AddOpenTelemetryTracerProvider` method entirely.", "reference": "What if `AddOpenTelemetryTracing` is called multiple times?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "Why is the condition of \"lastId <= wal _-> lastLogId() \" added here?" }, { "prediction": "I don't think this is needed.", "reference": "`environmentID` is unused in MakeEnvironmentURL" }, { "prediction": "I think this should be `else if (length>0){` instead of `else if (length>0){`", "reference": "Just hide the textview" }, { "prediction": "I think this should be `PaymentVersion` instead of `PaymentVersionV2`.", "reference": "'Supports'? Very uninformative naming inside protocol. Why not just paymentVersion, or just recognise supported payment version from generic protocol version supported by the client." }, { "prediction": "I think this is the right place for this test. I'm not sure if it's necessary to check that `resp` is `nil` or `stream` as `resp` is `nil`.", "reference": "We should add an additional call to Recv() somewhere after here that we assert returns io.EOF." }, { "prediction": "I'm not sure this is the right place to put this static import.", "reference": "What is this used for?" }, { "prediction": "Why is this change necessary?", "reference": "this is a breaking API change. Do we really need to do it in 6.2.0? Can't we just deprecate the methods?" }, { "prediction": "I'm not sure this is the right place for this.", "reference": "Is dropping the **Allergen table** necessary? Can't we just add the two new columns to the existing table using a raw query?" }, { "prediction": "Line is too long. [82/80]", "reference": "I'm confused why the expectations here would have inverted? Seems unrelated to topic stuff. Can you clarify?" }, { "prediction": "I think this should be `std::numeric_limits::max() - version`", "reference": "I am very sorry that I neglected to resolve the conflict and did not fully unit test edge" }, { "prediction": "I think this class should be CloseableGroup.", "reference": "I think closeable should be handled by the concrete impl of a catalog and not by the base class, I don't think all catalogs must implement closeable by design. This should be done via composition rather than inheritance. Additionally, I don't know what the effect of this change is on other catalogs so this feels a bit on the risky side." }, { "prediction": "Why not use `dilation_data[i] * (kernel_shape_data[i] - 1) + 1`?", "reference": "Should this be `const`?" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to have a `Program.Assembly` property that is passed to `BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);`", "reference": "Can we also add the Exporters here by using `DefaultConfig.AddExporter(...)`? At least the Datadog exporter that can't be configured from the command line..." }, { "prediction": "Please use `has_string(\"ckpt_dir\")` instead of `has_string(\"no_model1_train\")`", "reference": "@JaeseungYeom I believe you had set this in a previous commit to, by default, not train model1 when loading from ckpt. Would it work for you to have this as a command line option `--no_model1_train` instead of the default behavior?" }, { "prediction": "Is this a real Ruby type?", "reference": "@devigned, please clarify" }, { "prediction": "I'm not sure why this is needed.", "reference": "File is not `gofmt`-ed with `-s` (from `gofmt`)" }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "Should we break this up into a separate line?" }, { "prediction": "I don't think we should set this to `true` by default.", "reference": "Why the override on the env variable, wouldn't we want to use the value set from Prow?" }, { "prediction": "Use the new Ruby 1.9 hash syntax.", "reference": "I don't see anything here that excludes people on a Team plan from from the revenue report. I see that TeamPlans are counted below, but the individual subscribers on the plan would still be included." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "I know that we do not pull the last bit of performance out of the JVM but it is more robust and removes redundant code." }, { "prediction": "I think this should be `IllegalArgumentException`.", "reference": "I'd make this a `throw new NullPointerException(\"registry == null\");` instead" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `UsageReportingInitialDelaySecs` and `UsageReportingInitialIntervalSecs` in the `Config` struct, and then have the `UsageReportingEnabled` and `UsageReportingInitialDelaySecs` and `UsageReportingIntervalSecs` in the `Config` struct.", "reference": "Does adding things here require us also to extend the FelixConfiguration resource in libcalico-go?" }, { "prediction": "I don't think this is the correct version, it's the current CNI version, not the current one.", "reference": "does this need to be public?" }, { "prediction": "I think this should be `FILEIDENTIFIER_LENGTH_IN_BYTES`", "reference": "Please import this from a pre-existing definition." }, { "prediction": "I'm not sure if this should be `None` or `True` depending on whether or not we want to start the browser.", "reference": "File name does not represent class name... if we ever cared for such things?" }, { "prediction": "Line is too long. [82/80]", "reference": "I don't mind the `make_spammer` route name. It seems to more clearly convey that the state of the account will change. The \"label as\" route name seems less definitive, as if one is simply adding something to the account -- a new label -- instead of changing the status of the account." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's worth it.", "reference": "This exits if `-d` not specified which isn't exactly what we want, right?" }, { "prediction": "I don't think this is used anywhere.", "reference": "So a `*` becomes `**`? How does this affect the query? If I have `csordas*marton` as filter and I have `csordas*marton` and `csordasFOOBARmarton` as run names in the database I get only the first as result?" }, { "prediction": "I'm not sure this is the right fix. I'm not sure if this is the right fix or if it's the right fix.", "reference": "I want to know in which situation you need to traverse from \"Timestamp\" data....." }, { "prediction": "I think this should be `err := makeSha256Reader(ctx.Body)`", "reference": "nit: hasBytes should be hashBytes" }, { "prediction": "I don't think this is the right place to put this check. It should only be enabled if the analyzer is not a \"clangsa\" or \"clangsa\" analyzers.", "reference": "If I enable the clangsa analyzer with the `--stats` flag the checkers will be disabled even if they were enabled previously. I think we should check here if stats was enabled. `if'stats_enabled' in args and args.stats_enabled` we should leave them enabled." }, { "prediction": "I'm not sure if this is a good idea. If the gas is 21000 and the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000. If the gas used is 21000, then the fee should be 21000.", "reference": "Note that we probably should set the default gasPrice to `0.1 gwei` considering our minimum gas limit has to be 21k. At 21k the minimum fee would end up being `0.000021 ETH` which is just a little too high" }, { "prediction": "I'm not sure this is the right thing to do here. The `Issuer` field should only be set if `opc.StrictSigningKeyUsage` is true. If `opc.StrictSigningKeyUsage` is false, then the `Issuer` field should be set to `nil` if `opc.SigningKeys` is `nil`. If `opc.StrictSigningKeyUsage` is true, then the `Issuer` field should be set to `nil` if `opc.SigningKeys` is `nil`. If `opc.StrictSigningKeyUsage` is false, then the `Issuer` field should be set to `nil` if `opc.SigningKeys` is `nil`.", "reference": "So during a config reload, this function is invoked, but prior to that the o.TrustedKeys slice is set to nil, so this code would work. However, I am wondering what happens to s.trustedKeys, I am not sure this is handled at all. (same with the new map you are adding). I am not sure if this is supposed to be supported with a config reload, but just wondering if this is not putting things into a bad state." }, { "prediction": "I think we should keep the error message as it was before.", "reference": "I think the logic should be to check for token len of 0 then check for token len of less than 2. The way the logic is now, it is hard to determine if it is empty or malformed." }, { "prediction": "I think this should be `wlr_output_set_format(struct wlr_shm *output, wl_shm_format format)`", "reference": "Nothing would change here even if this `if` statement were removed." }, { "prediction": "I think this should be `col` instead of `col`.", "reference": "`sql` module is imported later." }, { "prediction": "I don't think this is needed.", "reference": "I think it's strange, whether `assert cfg.nms.type == 'nms'` would be better." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it's better to do it in the `dialog.show()` function.", "reference": "Doing a quick search, it looks like there are other places that would be handling this promise rejection. How did you confirm this is not needed?" }, { "prediction": "I think Fairbank is the default Fairbank.", "reference": "let's use greenland in the unit tests as well" }, { "prediction": "I'm not sure this is the right word here. It's the mode to interact with controls in documents. It's the mode to interact with controls in documents. It's the mode to interact with controls in documents. It's the mode to interact with controls in documents. It's the mode to interact with controls in documents. It's the mode to interact with controls in documents. It's the mode to interact with controls in documents. It's the mode to interact with controls in documents. It's the mode to interact with controls in documents. It's the mode that presents text in a flat representation that can be navigated with the cursor keys like in a text document.", "reference": "Please split this into two lines" }, { "prediction": "I think this should be `MoreNavigationController.PushViewController(viewController, true);` instead of `PushViewController(viewController, true);`", "reference": "Is there any variable available instead of hardcoding 5?" }, { "prediction": "Why is this removed? It seems to me that the webviewHelper.onNewPasscode() will be called even if the PasscodeManager.PASSCODE_REQUEST_CODE is not set.", "reference": "The onNewPasscode method was taking care of creating the user account. Now the user account will already have been created." }, { "prediction": "I think this should be `defaultPostWriteInterval`", "reference": "This is really a minimum, isn't it, so `minPostWriteInterval` perhaps? IIUC it never gets used as a default, because the default IptablesPostWriteCheckInterval is 1s, which is larger than this." }, { "prediction": "I'm not sure if this is the right place to put this in, but I think it would be better to put it in a `bookmarks_path` helper.", "reference": "I wonder if you can use the controller's context instead of using it explicitly?" }, { "prediction": "This should be `model.StageStatus_STAGE_FAILURE`.", "reference": "Can you add this log for `baseline` too?" }, { "prediction": "I think this should be \"Broadcast Message creation\" instead of \"Create a new message\".", "reference": "Let's call this \"NEW_BROADCAST_MESSAGE\". Msg.NEW_MESSAGE will be confusing down the line." }, { "prediction": "I'm not sure if we should deprecate the TransitionDependencySet, since it's a map of the dependent container status to other containers. It's a map of the dependent container status to other containers, and it's not a map of the dependent container status to other containers. It's a map of the dependent container status to other containers, and it's not a map of the dependent container status to other containers. It's a map of the dependent container status to other containers, and it's not a map of the dependent container status to other containers.", "reference": "A better way to do this (in your future PR) would be to: 1. get rid of `TransitionDependencySet` altogether 2. tag `TransitionDependenciesMap` as `\"TransitionDependencySet\"` in JSON 3. update the JSON marshaler to deal with `\"TransitionDependencySet\"` tag. If it's a map, no big deal. Else, construct the `TransitionDependenciesMap` map. Doing that would mean that we don't need to have duplicate code, names for this." }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to use `AttributeError` instead of `KeyError` for `AttributeError` and `KeyError` for `AttributeError` and `KeyError` for `KeyError`.", "reference": "It's very error-prone to have so large `try` clause with such non-specific exceptions handled. Consider rewriting it with either of these: 1. Check that expected columns are present in `DataFrame` (`{'physical_key', 'logical_key','size'}.issubset(df.columns)`). 2. Normalizing output of query by using `COALESCE()` (or normalizing `DataFrame` itself?). Also it looks like a row with package metadata isn't used here, so might make sense to filter out it with `WHERE logical_key IS NOT MISSING`." }, { "prediction": "I don't think this is needed.", "reference": "Change to `DisableHTTPGit`" }, { "prediction": "I'm not sure if this is the best way to do this. I think we should check for `@user.org.present?` instead of `@user.active?`.", "reference": "org was not used in the mail content" }, { "prediction": "I'm not sure if this is the right way to do it, but I'm not sure if it's the right way to do it.", "reference": "Is this gonna cause a lint issue, because of unused var? Maybe we should log it out?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, but I'm not sure what the best way to do this is.", "reference": "My understanding is that this will always be set to the actual containers IP, and never to the `DOCKER_HOST` IP if that env_var is set." }, { "prediction": "I'm not sure if this is the best way to do this. I think it would be better to pass the `isDoingReset` prop to `useCallback`.", "reference": "this dependency to a callback also has to be a callback (eslint now warns us)" }, { "prediction": "I think we should rename this to `NewTestCStorPoolInstance`", "reference": "directory name as well needs change.." }, { "prediction": "I think this should be `$identifier = $this->getIdentifier($identifier);` instead of `$identifier = $this->normalizeIdentifier($identifier);`", "reference": "Why is the getIdentifier() call required here?" }, { "prediction": "I don't think you need this #ifndef.", "reference": "Looks more appropriate to stick this in `AbsolutePath`.. actually that already has `FLATBUFFERS_NO_ABSOLUTE_PATH_RESOLUTION`" }, { "prediction": "I don't think this is needed.", "reference": "this might interfere when we have multiple dashboards. maybe ActionBrowseTagline needs to be a Component so we can store the reference to the element on it." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it.", "reference": "Should this be inside the `else` below and right after `CDebugf` so that we still get the logs?" }, { "prediction": "I think this should be `gcerrors.ErrorCode` instead of `ValidationException`.", "reference": "Weird they don't expose the type for dynamo and this seems a pretty common error." }, { "prediction": "I think this should be `` instead of ``", "reference": "@cijothomas I couldn't make the unit tests work without a way to destroy the ActivityListener we create internally so I return it as an IDisposable here. But we'll also need to also stop any ActivityProcessors/ActivityExporters on application shutdown right?" }, { "prediction": "`addtransaction=True` should be `addtransaction=False`", "reference": "The default should be \"False\", as \"True\" would be a significant change in behaviour." }, { "prediction": "I'm not sure if we should use `pickle.Pickler` here.", "reference": "since goal is to restore old_protocol, shouldn't we get it from pandas if possible? e.g. this will break if their source code changes." }, { "prediction": "Please use `str_replace()` instead of `explode()`.", "reference": "This should consume less resources because str_replace don't need to assign arrays with all the values" }, { "prediction": "(style) space prohibited between function name and open parenthesis '(' (style) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '(' (ctx:VxV) space required around that '('", "reference": "It would be better to pass `param` as the second argument here, so that the parameter declaration is printed alongside the type. Same thing for the changes in `ffi.c` and `lambda.c`." }, { "prediction": "I think this class should be renamed to `Trigger` as well.", "reference": "Do we need to set the members to final like submitTime, submitUser...? They are only used by getter method." }, { "prediction": "I think this should be `Class '. __CLASS__.'has been deprecated, use '. SystemMediaLibraryItem::class.'instead.`", "reference": "That makes this error message incorrect; if someone has extended Cms\\Classes\\MediaLibraryItem, then this error message will read \"Class My\\Classes\\CustomMediaLibraryItem has been deprecated\"." }, { "prediction": "I don't think we need to change this line.", "reference": "Is it worth injecting the whole configuration object for just one setting? Would it be more generic to pass an $options array with the override_from in it? I'm not completely opposed to passing $config, but since we've avoided it so far, it seems like it would be cleaner to maintain that separation. Simply adding a getOptions method to the factory would make this a lot more readable." }, { "prediction": "This should be `SPI0_SCK_PIN`, `SPI0_MOSI_PIN`, `SPI1_MISO_PIN`", "reference": "Just curious: where do these pin numbers come from? I see you took the SPI0 pin numbers from the Arduino board layout which is good, but I can't find such a relation for `SPI1`." }, { "prediction": "I think it would be better to catch LinkageError instead of catching LinkageError.", "reference": "Isn't that already too late? I'd expect, that the LinkageError occurs the first time, we have the class instance (the classloader tried to load the class) - or do we get a partially linked class back, and we get the exception when retrieving the methods?" }, { "prediction": "I'm not sure if this is a good idea, but I think it's a good idea to change the name of the header to something like `Traceparent` or something like that.", "reference": "nit:s/Traceparent/traceparent/ - As per the spec header name is all lowercase." }, { "prediction": "I think we should use `filepath.Rel` instead of `path.Rel`.", "reference": "We need to have unit tests for it since it is now a public function. Also I'm not a fan for making this movement since `relPath` doesn't consume any info in this pkg." }, { "prediction": "I'm not sure this is the right place for star imports. I'm not sure if this is the right place for star imports.", "reference": "We generally avoid wildcard imports. If you feel like changing it back, great. Otherwise, no big deal." }, { "prediction": "I think this should be `// \"outboundservice\": {Unary: myserviceOutbound}`", "reference": "We also have a typo on the line above! OUt or Out?" }, { "prediction": "I'm not sure if this is the best place to put this. I think we should remove the `feedback_url` and `view_request_cta` from the `cta` tag in the `mailer.step_mailer` file.", "reference": "OH! These are text.... (Ignore above)" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a separate Reader class for this, so that we don't have to duplicate the logic in the Reader class.", "reference": "How was this set before? Was it just ignored?" }, { "prediction": "I don't think we should rescue this error.", "reference": "Should we `save!` here?" }, { "prediction": "This should be `sizeof(65535)`.", "reference": "sizeof(port) seems ever-so-slightly clearer." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if `AppliedTo` should be an array of `NetworkPolicyPeer`s, or if it should be an array of `AppliedTo`s.", "reference": "Not sure if this has been discussed. I wonder why SourceGroups and DestinationGroups are not in From and To NetworkPolicyPeer as NetworkPolicyPeer already describes the source/destination of the traffic." }, { "prediction": "I'm not sure if this is the right place to put this in. I think it would be better to put this in a `if completion == usertypes.Completion.keybinding:` block, and then just use `self._filter_cmdline_parts(self.split(), cursor_part, ignore_flags=False)`.", "reference": "This doesn't account for `:bind --mode caret...` (i.e. `--mode caret` instead of `--mode=caret`; both work). Do you see an easy way to make that work?" }, { "prediction": "This should be `map[reflect.Type]int` instead of `map[reflect.Type]int`.", "reference": "Is this map used for durable state anywhere? If so we probably want to keep ConditionFailedError as 2" }, { "prediction": "Why do we need this?", "reference": "You can use `http.MethodHead` here." }, { "prediction": "This class should be renamed to `SessionTest`.", "reference": "And another empty test. Please remove until there's content." }, { "prediction": "I'm not sure about this change, but I'm not sure if it's worth it.", "reference": "You really didn't need to do any of these, we need to remove the API client from source eventually anyway." }, { "prediction": "I think this should be `private TiSession session;` instead of `private TiSession session = new TiSession();`", "reference": "seems pretty strange here because TiSession contains PDClient." }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "I created a test method for this scenario. Would you normally split it out like that or bundle this into one of the existing test methods? I'm more accustomed to creating lots of separate `it` blocks in nested `context` blocks in rspec" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, or if it's the right place to put it.", "reference": "should it be `newsessionqueue` or `newsessionqueuer`? In case we'd like to be consistent" }, { "prediction": "nit: `getPendingNumDocs()` -> `getPendingNumDocs()`", "reference": "Maybe add `@lucene.experimental`? We are exposing (slightly) internal details about `IndexWriter` so maybe we need to reserve the right to change this API in the future..." }, { "prediction": "Use the new Ruby 1.9 hash syntax.", "reference": "@johnduarte I know this isn't part of your code change, but it seems to me that this `curl_with_retries` is not necessary. If the `retry_on` host command is successful, isn't puppetdb ostensibly listening to the ssl port as well? What do you think about removing that `curl_with_retries` after the `retry_on`?" }, { "prediction": "I think this should be `parser.Labels` instead of `parser.Labels`.", "reference": "Does an empty struct really take less storage than a bool? I guess it must be, or else you wouldn't have changed this, but I'm curious about the detail." }, { "prediction": "I think we should move this function to `handleSelectionChange` and call it from `Braille` instead of `script_caret_changeSelection` in the `handleSelectionChange` function.", "reference": "nit: This should perhaps be called `waitForAndReportSelectionChange`, as it affects braille as well, not just speech." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "nit: I suggest that we rename `tag_error_response` to `tag_resource_success`, as later in line 132 we're returning an error if this value is *not* truthy." }, { "prediction": "Can we move this to the `Shopsys\\ShopBundle\\Controller\\Front\\FrontBaseController` namespace?", "reference": "I am missing return typehint" }, { "prediction": "Can you add a checkstyle rule for this?", "reference": "_base_ ='retinanet_pvt-t_fpn_1x_coco.py'" }, { "prediction": "I think this should be `onAuthFlowError(\"jwt_oauth_error\", e.getLocalizedMessage());`", "reference": "We should remove `throws Exception` here, since we're catching it anyway and triggering `onAuthFlowError`." }, { "prediction": "I don't think this is used anywhere.", "reference": "a super thin wrapper like this makes me think we should consider not having it, instead just defining in the plumbing.api the publisher and subscriber interfaces we expect a ps dependency passed in to support and then to pass calls directly to that thing rather than through this wrapper" }, { "prediction": "This should be `LOG.info(String.format(\"Pull of %s:%s complete\", name, tag));` or `LOG.fine(String.format(\"Pull of %s:%s complete\", name, tag));`", "reference": "Waiting for the pull takes a long time. This message informs the user that at least one of the images being pulled is available. Please leave." }, { "prediction": "I think this should be `>=1.6.3, <3.6.0`", "reference": "We should set a 1.7 upper bound for this as well. :smiley:" }, { "prediction": "I'm not sure if this is a good idea, but I think it's better to keep the WordPress dependencies in alphabetical order. I'm not sure if it's a good idea, but it's a good idea.", "reference": "Lodash mixed in with WordPress dependencies" }, { "prediction": "Line is too long. [82/80]", "reference": "Put a comma after the last parameter of a multiline method call." }, { "prediction": "I don't think we should be testing this. It's not a user's profile, it's a user's profile. It's not a user's profile, it's a user's profile. It's a user's profile, and it's not a user's profile. It's a user's profile, and it's not a user's profile. It's a user's profile, and it's not a user's profile. It's a user's profile, and it's not a user's profile. It's a user's profile, and it's not a user's profile. It's a user's profile, and it's a user's profile, and it's not a user's profile. It's a user's profile, and it's a user's profile, and it's a user's profile, and it's a user's profile, and it's not a user's profile.", "reference": "perhaps we should test that users cannot edit the profiles of others?" }, { "prediction": "I'm not sure what the motivation for this change is, but I'm not sure what the motivation for this change is. I'm not sure what the motivation for this change is, so I'm not sure what the motivation for this change is.", "reference": "Does this mean the content changed with the new pyopenssl version? Is Wireshark already compatible with this new format?" }, { "prediction": "I think this test should be moved to `TestSTXCachedBatch` as well.", "reference": "line is 147 characters (from `lll`)" }, { "prediction": "I think this should be `default=false`", "reference": "Perhaps move this option into a separate speechViewer section, as we are planning to also save position information as well." }, { "prediction": "I think we should add `@since` to `getProductsByType` and `getAllEditedProducts` to `SegmentProductsQueryInterface`.", "reference": "This is not a segment responsibility this query should be in exporter-File module" }, { "prediction": "I think this should be `--export-fixes`.", "reference": "Did you measure the performance with and without this option. Do we want to export fixits even if the `clang-apply-replacements` tool is not available in the user's PATH?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "What if we do not change this file? Are we using this `pkg/disk/v1alpha1` elsewhere for block device requirement?" }, { "prediction": "I'm not sure if this is the right place to put this in, or if it should be in the `options` block.", "reference": "regarding dropping the port/host/uri methods on Nod: this would `options[:port] = target.port if target.port`" }, { "prediction": "I'm not sure if this is the right thing to do here, but it seems to me that this method is only used in the `FileTypeDetection` class, not in the `FileTypeDetection` class itself.", "reference": "good question - I vote we just remove, up to you if you want to handle in this PR though. (as it would require changing the places you call it; maybe moving the test? Though my guess is if we don't now, we never will." }, { "prediction": "Travis doesn't use `super` for its own purposes, so this method can be removed.", "reference": "This is so that if we turn on bundler caching globally it still won't affect python etc. Same inheritance logic as for the cache slug." }, { "prediction": "I'm not sure if this is the right place to put this.SupportsAllocation?", "reference": "[You can ignore it] Maybe a better method name would be IsSupported or HasSupportForAllocation?" }, { "prediction": "\"which is transformed into \".+\" (match on one or more characters)\" -> \"which is transformed into \".+\" (match on one or more characters)\"", "reference": "Why is this changed to `\\*`? The behavior of the code on line 42, shows that `*` is what's handled?" }, { "prediction": "I think this should be `0xFFFFFFFFFFFFFFFF`", "reference": "I think this should either return `-1` or throw. I think my vote is on the former." }, { "prediction": "I don't think this is a good idea. It's not a big deal, but it's a good idea.", "reference": "I am confused, I've read 2, 3 and 5 seconds in various places" }, { "prediction": "I don't think this is the right place to do this. I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Any particular reason you chose int64 instead of int? This requires adding type conversions throughout the code below." }, { "prediction": "I think this should be `The team you specified is not a valid team.`", "reference": "this string should really be a local constant. it's repeated below." }, { "prediction": "Should this be `short sh` instead of `int sh`?", "reference": "Number types are hard. Should we be considering byte/sbyte? What about unsigned variants that would otherwise fit in a signed 64 bit integer like UInt16, UInt32?" }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "`Assert.True(true)`... xunit used to have Assert.DoesNotThrow" }, { "prediction": "I'm not sure if this should be `us-east-2` or `us-west-3`.", "reference": "should this be an env var like the other `S3_*` values?" }, { "prediction": "I don't think we need the `if (parentNode)` here.", "reference": "If you do go this route, I think it would be worth adding a note here that IE 11 is the only reason why we're not using the more obvious `node.remove()`." }, { "prediction": "\"if key in dictionary\" -> \"if key in dictionary\"", "reference": "The added text doesn't really match why it's possible. Maybe it would be better to name that as a separate case for this checker? (e.g. dict lookup is quicker than list comparison)" }, { "prediction": "I'm not sure if this should be a `DateTime` or `DateTime` because it's not a `DateTime` but a `DateTime`.", "reference": "just whether we are not missing some doctrine extension because above this attribute is nullable position and it shows int instead of int|null but maybe for lvl2 it is OK" }, { "prediction": "I'm not sure if this is the right place to put this method, but I think it would be better to move this method to `CapabilitiesUtils`.", "reference": "Prefer `Stream.anyMatch` instead of iterating over all slots." }, { "prediction": "I'm not sure this is the right fix. The `vkCreateImage` function is supposed to check if `drm_format_mod_list` and `drm_format_mod_explict` are nullptrs. If they are, then the `vkCreateImage` function is supposed to check if `drm_format_mod_list` and `drm_format_mod_explict` are non-nullptrs. If they are, then the `vkCreateImage` function is supposed to check if `drm_format_mod_list` and `drm_format_mod_explict` are non-nullptrs. If they are, then the `vkCreateImage` function is supposed to check if `drm_format_mod_list` and `drm_format_mod_explict` are non-nullptrs. If they are, then the `vkCreateImage` function is supposed to check if `drm_format_mod_list` and `drm_format_mod_explict` are non-nullptrs. If they are, then the `vkCreateImage` function is supposed to check", "reference": ":grimacing: yikes, thanks for catching this!" }, { "prediction": "I don't think we need this namespace, it's already in `MvvmCross.Droid.Support.V7.RecyclerAdapter`", "reference": "`Binded` is weird. I think it needs to be something with `Bound` in it (and drop the `Mvx` bit) like `ViewHolderBound` or something." }, { "prediction": "Why do we need to pass `diskList`?", "reference": "can we have String() and GoString() implementation of `apis.CStorPool` struct to pretty print it." }, { "prediction": "I think this should be `if (!opts.skip_unexpected_fields_in_json) {`", "reference": "Like I said, please replace by `EXPECT(kTokenString)`" }, { "prediction": "This import is unused.", "reference": "Will you please update the copyright message to `2021` for classes that you modify?" }, { "prediction": "`entity.hasOwnProperty('$$hashKey')`?", "reference": "Is there a better way to filter these other than relying on the hashKey. I few like this might now be trustworthy in the long run. If angular ever removes this property, this feature would be broken." }, { "prediction": "I don't think this is the right fix. If `last_thread_tls_exited` is false, `os_tls_thread_exit()` will be called, but `last_thread_tls_exited` is true, and `first_thread_tls_initialized` is false.", "reference": "No need to check dynamo_exited" }, { "prediction": "I think this should be `SetTlsCACertificate` instead of `SetTlsPrivatePubKeys`", "reference": "from linter: >method SetTlsCACertificate should be SetTLSCACertificate" }, { "prediction": "I'm not sure this is the right place for this.", "reference": "this data had incorrectly aligned timestamps (which wasn't the point of the test)" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "Since this is workflow agnostic, should we put this in common?" }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if this is the right place to put this method.", "reference": "using the `@abstractmethod` decorator wouldn't be better?" }, { "prediction": "I don't think this is the right fix. The switch should be rendered as a normal boolean field, not a boolean field.", "reference": "This was crashing the app during EDIT on boolean Doctrine Embedded properties" }, { "prediction": "I'm not sure about this change, but I think it's a good idea to add a `#ifdef __BUILTIN_SYSFS__` macro to the `flash.h` file. It's not a big deal, but I think it's a good idea to add a `#define __BUILTIN_SYSFS__` macro to the `flash.h` file.", "reference": "Will this be backwards compatible with the previous path?" }, { "prediction": "I don't think we need the `CurrentSpan` property.", "reference": "what is potential use for current scope? It seems you'd only want it to stop it. But if you get current scope you never know if it's yours to stop - i.e. this is not safe or correct to stop current scope. So I wonder should we even try to expose it?" }, { "prediction": "I'm not sure if this is the right way to test this. I'm not sure if it's the right way to test this.", "reference": "I think this is likely the only additional change needed on the original PR." }, { "prediction": "This import is unused.", "reference": "Please revert changes to unrelated file" }, { "prediction": "I'm not sure if this is the right place for this class.", "reference": "Can test use a Mockito mock instance instead?" }, { "prediction": "I'm not sure this is the best way to fix the issue.", "reference": "Bit of a shame about these multi-line strings in annotation parameters - they're not a deal breaker but just make the diff noisier" }, { "prediction": "I don't think we need to convert the IEnumerable to a List here.", "reference": "we can remove this one as this is not used any more" }, { "prediction": "Why is this removed?", "reference": "we don't really need an extra error flag" }, { "prediction": "I think it's better to use the `javacplugin.ErrorProneJavacPlugin` and `javacplugin.ErrorProneOptions` instead of `ErrorProneJavacPlugin` and `ErrorProneOptions`.", "reference": "any chance you could just fix the processors plugin?" }, { "prediction": "why do you need to set `use_depthwise=False`?", "reference": "We may keep this config unchanged since `use_depthwise=True` by default." }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "Maybe add i#956 in this log as well." }, { "prediction": "Why do you need to do this?", "reference": "if (StoreInbox* storeInbox = getStoreInbox()) {" }, { "prediction": "I think this should be `importAllFromMnemonic` instead of `importAllFromMnemonic`.", "reference": "what is this, is it going to be used later?" }, { "prediction": "I'm not sure if we should stub `.and_return` here, or if we should just stub `.and_return`?", "reference": "@anodelman test failure is probably due to this, needs to be fixed to `(\"Host #{host.name}\")`" }, { "prediction": "I don't think we should include the file in the form, since it's not used anywhere else.", "reference": "I'm not sure that we need this anymore, but that can be a separate discussion." }, { "prediction": "This interface is not used anymore.", "reference": "The formatting seems different from the rest of the code" }, { "prediction": "I don't think we need the `proxy_url` key here.", "reference": "Could we have a unit test for this?" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "nit: put params in new line" }, { "prediction": "I think this should be `` instead of ``.", "reference": "The button for the date range selector has incorrect width since it has `padding-right: 8px` which sets the width to: `44px`. Can you review to make the button `36px` on small screens as per the AC?" }, { "prediction": "The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The The", "reference": "This should be inside the set routine IMHO: matches the others; all callers need it; simplifies code here." }, { "prediction": "I think this should be configurable.", "reference": "MAX_RETRY_TIMES makes much more sense." }, { "prediction": "I think this should be `fakeStorageMutex` instead of `fakeStorage`", "reference": "`saveSession` allows easier mocking - just save function which You need, instead full interface" }, { "prediction": "I think this should be `delimiter='', marker='', headers=None, encoding_type=None`.", "reference": "No docs for the new param here?" }, { "prediction": "I don't think you need to change this file.", "reference": "This file is unrelated to the aims of this PR. Please remove. If it is needed to demonstrate Sonar Deltas then it has been proven and can be removed." }, { "prediction": "I think this should be `Flushes all activity objects that have been queued for processing.`", "reference": "minor: `Export all ended spans to the configured Exporter that have not yet been exported.` - This is the spec description. Lets use something on that line. \"queue\" is not necessarily present for all processor." }, { "prediction": "I think this should be `log.Debug(\"completed ExecuteAndWaitProgress() for %v\", target.Label)` instead of `log.Debug(\"completed ExecuteAndWaitProgress() for %v\", target.Label)`", "reference": "is this deliberate? or testing?" }, { "prediction": "Why is this readonly?", "reference": "I want to get more perspectives regarding this one. Making it `readonly` makes me feel that we're assuming the head should never change, and my worry is that other code might assume it (e.g. they might cache the value and assume it will never change). While this is true for now, I guess in the future we might want to support something like `PrependProcessor(processor)` or `InsertProcessor(index, processor)`." }, { "prediction": "This change is unrelated to this PR, but should be reverted.", "reference": "This isn't critical for test coverage, but it seemed off that we had disabled wrapping the reader." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Please remove Descriptors3D from this file. We just did this in master." }, { "prediction": "I don't think this is the right place to do this.", "reference": "You could pass the MetaClient instance in ctor, and create a new instance if nullptr." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "What does this do? Seems like a poor mans mutex/semaphore?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "This is a breaking change, and cannot be made. We have committed to this API for v1." }, { "prediction": "I think this should be `?Context $global_context = null,?Context $root_scope = false`", "reference": "Can also drop corresponding types from docblock here" }, { "prediction": "I think this should be `log.info(\"Got a request to create a new session: \" + new DesiredCapabilities(request.getDesiredCapabilities()));`", "reference": "This change is unhelpful to users." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "why is this variable introduced? Please stick `_o.Test3.A` directly in the call below." }, { "prediction": "I don't think this change is needed.", "reference": "do you mind sharing what is the reason for this change?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "thoughts on putting `alter_query { |rel| rel.limit(@closed_proposal_limit) }` in a method that we can call here? That way we can have a test for this logic without needing a controller spec." }, { "prediction": "Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end.", "reference": "Perhaps `@node` throughout" }, { "prediction": "I'm not sure if this is the best way to do it, but I think it would be better if this option was named `mode_normal` or `mode_aggressive` or `mode_normal` depending on whether we're running the tests or not.", "reference": "Shouldn't this default be 'normal'?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if it's the right place to put this, or if it's the right place to put it, or if it's the right place to put it.", "reference": "nit: type this" }, { "prediction": "I think it would be better to use the constants defined in the `DriverCommand` interface instead of hardcoding them.", "reference": "These command names are specific to Chromium-based browsers. Please move to `ChromiumDriverCommand`" }, { "prediction": "`nodeName` should be `block device %s doesn't belongs to node %s`", "reference": "lets print nodeName that got passed also" }, { "prediction": "I don't think this is needed.", "reference": "Should be `if sys.version_info[0] > 2:`" }, { "prediction": "I think it's better to use `metric_parse(\"0\")` instead of `string_metric_parse(\"0\")`", "reference": "Is there any need to pass this through `string_metric_parse`? I believe you can either create an off_t or just pass 0, with no need to added a string conversion into the mix." }, { "prediction": "I think this should be `return self.execute(Command.PRINT_PAGE, options)['value']` instead of `return self.execute(Command.PRINT_PAGE, options)['value']`", "reference": "Let's not use a form of hungarian notation in naming our variables" }, { "prediction": "I'm not sure if this is the right place to put the `if (entity_body_header_index!= -1)` check.", "reference": "Seems like we are calling the probe twice?" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "I think we'll want @rickmanelius (or somebody) to go through all the help and make it more accessible. Probably later in the cycle. But \"Run a command in an app container\" doesn't do it for me :)" }, { "prediction": "I'm not sure why this change is needed.", "reference": "Have not tested this yet, lets see if tests complain, but I suspect it should be as easy as this" }, { "prediction": "I think this should be `set[str]` instead of `set[str,...]`", "reference": "no big deal but we don't we just use a list to keep the order? I don't think it's likely to have a duplicated columns if that was the concern." }, { "prediction": "I don't think we should change this file.", "reference": "See above, same for all similar cases below." }, { "prediction": "I don't think we need to do this. If we are going to do this, we can just set `disable_snapshot_annotations` to `true` in the `if.NodeConfig.AgentConfig.Snapshotter!= \"\"` block.", "reference": "where is this coming from?" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better if we could say something like \"Converting screencasts into video_tutorials\" instead of \"Converting screencasts into video_tutorials\".", "reference": "We can also drop `plans.includes_screencasts`, right?" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to use `bfh(\"%064x\" % counter)[::-1]` instead of `[::-1]`", "reference": "wouldn't `int.to_bytes(counter, 32, 'little')` be equivalent, clearer and faster?" }, { "prediction": "I'm not sure this is the right place for this function.", "reference": "I don't see why this is in porcelain since it's just a free function, with no dependency on plumbing or the `a` receiver. I think it should be moved to `protocol/storage`. It's exposed unnecessarily widely here." }, { "prediction": "I don't think this is the right place to do this, but I think it would be better to do this in a separate function, e.g. `create_user_message_from_recordings` or something like that.", "reference": "Could we only do this for all time? Because that's what is causing problems rn?" }, { "prediction": "I think this should be `view.flows.resolve %s'\" % (s)`", "reference": "This looks better than before, but we'll now likely run into issues with `'` characters in the spec. Maybe we can just use `manager.call_strings` instead?" }, { "prediction": "I think this should be `option(SparkReadOptions.SPLIT_SIZE, Long.MAX_VALUE)`", "reference": "Should this replace `splitSize` instead of adding a parallel call? The `SparkReadConf` is not yet released, so we can change it still." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to use `os.path.join` instead of `os.path.join`.", "reference": "To reduce complexity, please use OSError on Python3 as well." }, { "prediction": "I'm not sure if this should be a `register` function, since it's only used in one place.", "reference": "That seems wrong." }, { "prediction": "I'm not sure if this is needed anymore.", "reference": "Yes, this is needed here. This is a builtin user who just reset their password." }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "This seems to move the storage of temporary files to the CWD. Is that right? I don't think we should do that. If the process gets interrupted, we should try our best to clean up, but if even that fails, it'd be nice if the mess was left in a different directory. Maybe we should have a directory explicitly for builds?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it. If it is, I'm not sure if it is the right place to put it.", "reference": "Please explain why a user would enable this (space savings), and the requirements for this option to be safe." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to do `select( STORE_NAME ).isDoingGetContainers( accountID )` instead of `select( STORE_NAME ).isDoingGetContainers( accountID )`", "reference": "I think the `undefined` checks still need to be removed from here." }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `BackoffLimit` property that returns the number of retries before considering the job as failed. That way, we don't have to worry about how many retries we have before considering the job as failed.", "reference": "Is there any particular reason to have 6?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it. If it is the right place to do it, then I'm not sure if this is the right place to do it.", "reference": "The biggest chunk does not guarantee that it contains the biggest CIDR-aligned range. If we don't care too much about a few CPU cycles being wasted, then I'd suggest to merge the if-statements." }, { "prediction": "I'm not sure we want to do this here. I'm not sure if we want to do this in the embedded startup scripts, or if we want to do it in the embedded startup scripts.", "reference": "instead of doing the if err := __; err!= nil { return err } thing, you can do errs = addErrs(errs, ___). If you want." }, { "prediction": "I'm not sure if we want to use the term package here. I'm not sure if we want to use the term package in the future, but if we want to use the term package in the future, I think we should use the term package in the future.", "reference": "nit: Is this error message accurate?" }, { "prediction": "This change is unrelated to this PR.", "reference": "Ouch! :man_facepalming: And of course, this worked for me because that evaluated to false when I was testing the bare-user path." }, { "prediction": "I don't think this is the right place to do this.", "reference": "Parentheses aren't needed here. `if len(statusParts) > 0 {` will suffice." }, { "prediction": "I'm not sure if this is the right thing to do here.", "reference": "// the test is skipped on given servers because it will fail." }, { "prediction": "Metrics/LineLength: Line is too long. [82/80]", "reference": "The name of the test should be updated to \"it'should return bad_request if api key is invalid\"" }, { "prediction": "This is a bit of a nitpick, but I think it would be better to have a `jobInfo.cancel == 1` check in `jobInfo.cancel` and raise an exception if it's not cancelled.", "reference": "Use `==` in this case instead of `is`." }, { "prediction": "I don't think we should add phase to the CStorPoolAttr struct. I think we should add phase to the CStorPoolAttr struct and add phase to the CStorVolumeReplica struct.", "reference": "Please put it like this: `CStorPoolPhase is a typed string for phase field of CStorPool`" }, { "prediction": "I don't think this is the right way to do this. The `ConfigQuery::checkAvailableStock()` method is called in the `Order::save()` method, so the `ConfigQuery::checkAvailableStock()` method is not called in the `Order::save()` method.", "reference": "variable must be in camelCase => $newStock" }, { "prediction": "Why not just `int(syscall.Stdin)`?", "reference": "unnecessary conversion (from `unconvert`)" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to use `type.getAt(leaf, i)` instead of `type.getAt(leaf, i)`.", "reference": "... is probably automatically vectorized, since it has the same speed as `System.arraycopy`" }, { "prediction": "I'm not sure if this is the best place to put this. I'm not sure if it's a good place to put this.", "reference": "Is there anyway to get rid of the global variable, if it is specific for each task, can you add it to the `mtask` struct?" }, { "prediction": "I'm not sure this change is correct. `a: A, <-b: B,?c: int` is a `int`, not `int`.", "reference": "Surprised to see this old syntax here, but not _that_ surprised." }, { "prediction": "I think this should be `return Collections.removeAll((Q) this, predicate);` instead of `return Collections.reject((Q) this, predicate);`", "reference": "It is good to mark it! Maybe we can remove the method for Vavr 1.0.0 - but for now it can stay as-is. Thx!" }, { "prediction": "I don't think we need to import `exec` here.", "reference": "exported func New returns unexported type *pool.pool, which can be annoying to use" }, { "prediction": "I think this should be `transports` instead of `run_as`.", "reference": "Sorry, I feel like I'm missing something - where does this get called?" }, { "prediction": "Why is this removed?", "reference": "@guihecheng Thanks for the fixing! Actually this is not the dup codes, when we first registerNode, then update the nodestatus immediately, or the node will keep not ready for 10s. And do you have other ways to refactor it?" }, { "prediction": "This should be `#include `.", "reference": "How portable is this? (e.g., Windows). I'm relaunching tests of windows because they failed for other reasons." }, { "prediction": "I'm not sure this is the right thing to do here. The `active_slots` variable is a pointer to a `PipelineState` object, which is a pointer to a `PIPELINE_STATE` object. The `active_slots` variable is a pointer to a `PIPELINE_STATE` object, which is a pointer to a `PIPELINE_STATE` object. The `active_slots` variable is a pointer to a `PIPELINE_STATE` object, which is a pointer to a `PIPELINE_STATE` object. The `active_slots` variable is a pointer to a `PIPELINE_STATE` object, which is a pointer to a `PIPELINE_STATE` object, which is a pointer to a `PIPELINE_STATE` object, which is a pointer to a `PIPELINE_STATE` object, which is a pointer to a `PIPELINE_STATE` object, which is a pointer to a `PIPELINE_STATE` object, which is a pointer to a `PIPELINE_STATE` object. The `active_slots` variable is a pointer to a `PIPELINE_STATE` object, which is a pointer to a `PIPELINE_STATE` object.", "reference": "What this does is narrow down what we are saying the descriptor set is requiring. This is a good thing, but doesn't go far enough, we are still potentially setting unused bindings to either a required state or an invalid one. set_binding_pair.second is a map of the binding/requirements from the bound shaders... and instead of marking all bindings, looking at that will mark only the used ones. Will open a new PR" }, { "prediction": "Why not just return `res`?", "reference": "should use `codes.InvalidArgument`, same as above line 1033 and 1036" }, { "prediction": "I'm not sure if this is the right way to get the default version of the Docker API.", "reference": "Please revert this file." }, { "prediction": "I don't think we should change the URL opener to use a Service Bus Connection String based on the environment variable \"SERVICEBUS_CONNECTION_STRING\". I think we should change the URL opener to use a Service Bus Connection String based on the environment variable \"SERVICEBUS_CONNECTION_STRING\"", "reference": "Probably in another PR, I think the package should be renamed to `servicebus` to be consistent." }, { "prediction": "I'm not sure if this is correct. Every swagger/configuration must have a security definitions section and it must adhere to the structure described in: ` Every swagger/configuration must have a security definitions section and it must adhere to the structure described in: `", "reference": "curious: are we planning to add link to each of the rules in the message?" }, { "prediction": "I think this should be `explorer.SettleDeposit(...)`", "reference": "line is 123 characters" }, { "prediction": "I think this should be `array` instead of `array`", "reference": "same here; `@param array $user Array of user data`" }, { "prediction": "Why is this change needed?", "reference": "A quick read of this test indicates that we're changing the behavior of this api, and so the test needs updating. Is that right?" }, { "prediction": "I think we can remove the `AndroidX.recyclerview.MvxGuardedLinearLayoutManager` and just use `MvvmCross.DroidX.recyclerview.MvxGuardedLinearLayoutManager` directly.", "reference": "Register needs lowercasing" }, { "prediction": "I think this should be `DEFAULT_VALIDATE_PROXY_USER` instead of `DEFAULT_VALIDATE_PROXY_USER`.", "reference": "This should belong to FlowContainer class." }, { "prediction": "I think this should be `while winUser.getMessage(byref(msg), None, 0, 0) > 0:`", "reference": "I think there is a chance that on disable/enable cycling, referring to `self.window` is problematic. In the `__init__` method `self.window` is set to None. If `__init__` gets called before `_run` exits the `while` loop then we wont call `self.window.destroy()`. Can you use non-instance variables after this point? I don't think `self.timer` is used outside this function, if so, then I'd prefer it also be a local variable." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "I was confused by this env name variable, assuming it was the value, not the name. Silly nit, but maybe name it noninteractiveEnv?" }, { "prediction": "I don't think we need this?", "reference": "nice, having the \"overwrite\" default makes this change backwards compatible, right?" }, { "prediction": "I'm not sure this is the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "It doesn't make sense to accept all 2xx status code. For example, `203 Non-Authoritative Information` or `205 Reset Content`, etc." }, { "prediction": "I think this is a bug fix. We are not checking if the prefix is the same as the current prefix bucket.", "reference": "Found a better choice here that doesn't involve object creation: StringHelper.startsWith()" }, { "prediction": "I don't think this is the right place to do this.", "reference": "Shouldn't we consider the situation where it doesn't find a plugin?" }, { "prediction": "I'm not sure this is the right fix. The `read_args_impl` should be moved to the `detail::v1::read_args` base class.", "reference": "Do not understand why this needed for table. All new classes defined in the `preview` namespace." }, { "prediction": "I don't think we need this constant, it's already defined in `athenz.zms.notification_service_factory_class`", "reference": "Kept the same property value even though it is now in Common to avoid breaking existing clients." }, { "prediction": "I think this should be `public`.", "reference": "TODO: this is temporary until we figure out case sensitivity for metrics evaluators." }, { "prediction": "why not use `types.NewSortedCidSet(cids...)`?", "reference": "can we just kill this TODO?" }, { "prediction": "I think this should be `\"awful\"` instead of `\"selected encoding not supported\"`", "reference": "This appears to be a change in error handling due to a dag upgrade." }, { "prediction": "Use the new Ruby 1.9 hash syntax.", "reference": "These changes look like a hosts file _must_ be provided?" }, { "prediction": "I'm not sure this is correct. The `fmt` is a `const char` and `const char` is `const char` and `const char` is `const char` and `const char` is `const char` and `const char` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const` and `const` is `const`", "reference": "@akohlmey Just make it a cast like the others. I dislike it either way, but that's the price we pay for Python 2 support." }, { "prediction": "I'm not sure this is the right thing to do. It's a bit confusing to have a `` option with a `channel_name` option, and a `` option with a `channel_name` option. I'm not sure if this is the right thing to do.", "reference": "I wonder if the default here should be nightly? I won't block on that though just a question for a follow up." }, { "prediction": "I'm not sure if this is the right place to remove it.", "reference": "Also not for merge to master." }, { "prediction": "I'm not sure if this is a valid cron schedule, or if it's just a standard schedule. I'm not sure if this is a valid cron schedule, or if it's just a standard schedule.", "reference": "nit `non-standard` might be a bit subjective - maybe \"Cron schedule {blah} is in an unrecognized format. Dagster cron strings must consist of five characters separated by a single space chacater\"." }, { "prediction": "Why was this removed?", "reference": "ARM emulator gets tripped up on the copy/paste menu when tapping the text. Tapping on the text field isn't necessary for setting text." }, { "prediction": "I'm not sure if this is the right place to put this check. I'm not sure if this is the right place to put this check.", "reference": "extra word lookup removed" }, { "prediction": "`The resolution time for a promise is factored into whether a wait has timed out.` -> `The resolution time for a promise is factored into whether a wait has timed out.`", "reference": "Will you link to {!webdriver.promise.Promise} here?" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I don't think this is the right place for this, but I'm not sure if it's worth it.", "reference": "@AdrianLxM finally found some your bug too :)" }, { "prediction": "I'm not sure this is the right place to do this. The `if (image_view_)` should be moved to the `if (image_view_!= NULL)` block below.", "reference": "This crashed in an app using descriptor_indexing with some unbound descriptors." }, { "prediction": "I think this should be `pytest.mark.primer_stdlib` instead of `pytest.mark.primer`.", "reference": "I think we might want to keep these marks separate? Then we can create a new `workflow` file with 3 jobs: 1) Prime stdlib 2) Prime batch 1 of external 2) Prime batch 2 of external" }, { "prediction": "I don't think this is the right place to do this, but I don't think this is the right place to do this.", "reference": "Throw `fragInfo.CachedFragment.ViewModel.GetType()` into a variable so it's not evaluated each time." }, { "prediction": "Line is too long. [82/80]", "reference": "Rather than just getting rid of the memoization maybe we should use an `after_save` filter to set it to `nil` so that it will be recomputed on next read?" }, { "prediction": "I think this should be `el.parentNode && el.parentNode.removeChild(el);`", "reference": "JS abstraction leaks so this should be `if (el.parentNode!== null) { el.parentNode.removeChild(el) }` @developit" }, { "prediction": "I don't think this is used anywhere.", "reference": "nit: change it to `Exchange: unexpected status 0x%x` so that we'll know where this issue came from as well as making it easier to decode." }, { "prediction": "I think we can remove this now that it's not used anymore.", "reference": "Name of constant is not appropriate. Name of constant should make use of version no. as suffix. The constant can be a typed string versus a string." }, { "prediction": "Style/IfUnlessModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
    Style/IfModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
    Style/IfModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
    Style/IfModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
    Style/IfModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
    Style/IfModifier: Favor modifier if usage when having a single-line body.", "reference": "@glennsarti you want to validate this on Windows? IIRC this won't work" }, { "prediction": "I'm not sure this is a good idea, but I think it would be good to have a unit test for this. It would be nice to have a unit test for this.", "reference": "ps I'm ok to add this as a elasticsearch property instead. ex zipkin.storage.elasticsearch.names-lookback (we have similar things in cassandra)" }, { "prediction": "I don't think we need this anymore.", "reference": "Curly brackets here `{ (breakLine) xx (breakLine)}`" }, { "prediction": "I think this should be `if($(this).val() === countlyGlobal[\"member\"].username){`", "reference": "Can you check this case Assuming you have a dashboard with 2 users, test1 and test2 Currently logged in user is test1. You should not be able to change it to test2. You open dev console and paste in `countlyGlobal[\"member\"].username = \"test2\";` then you enter value test2 in the input and it is allowed and form would be submitted. Would server side validation deal with such case?" }, { "prediction": "Why not use `System.getProperty(DRIVER_CLASS_NAME, DRIVER_CLASS_NAME_DEFAULT)`?", "reference": "since we're changing this class, let's fix the default class name as well. it should be com.mysql.cj.jdbc.Driver" }, { "prediction": "Line is too long. [82/80]", "reference": "At load time, we ensure the config'd objects exist." }, { "prediction": "I don't think this is the right error message.", "reference": "Is there a test for this case?" }, { "prediction": "I don't think we should add this to the `topic` section, since it's not used anywhere else.", "reference": "This copy doesn't match what I had in my mockup. I think it's better to call them episodes." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "For some reason it worked for frontend even before this change." }, { "prediction": "I'm not sure this is the right place to use `nano::random_pool_mutex`.", "reference": "Can we encapsulate this in a function so if we want to change it against we don't have to change all call sites?" }, { "prediction": "I don't think we need to stop pull if hard stop is enabled.", "reference": "Maybe a good opportunity to do a related improvement: The parameter `total_blocks` in `bootstrap_attempt::process_block` shadows a field with the same name, so maybe rename the parameter to `total_blocks_a` The parameter and field are incremented at the same time, but the field is used by `populate_connections` as well, so I assume they mean different things. Other than that, LGTM" }, { "prediction": "I'm not sure this is the right default. The default is the number of parts that a space can take, and the default is the number of replicas that a space can take. The default is the number of replicas that a space can take, and the default is the number of replicas that a space can take. The default is the number of replicas that a space can take, and the default is the number of replicas that a space can take.", "reference": "Please revise the naming of these two flags. _**default**_ is the value we take when user doesn't provide. You could infer from the fact how `default_parts_num` are used." }, { "prediction": "I think it would be better to have a static import for each file type.", "reference": "I don't think we should have separate \"transformer\" and \"generator\" terms. I would suggest renaming this existing class `ImportTypeTransformer` to `StandardImportTypeTransformer` and renaming the interface `ImportGenerator` to `ImportTypeTransformer`." }, { "prediction": "I'm not sure if this is the right thing to do, but I think it's better to keep the `tag-matchers` folder in the `src` folder.", "reference": "I believe `tag-matchers` is the proper form for this filename. Only components should use pascal case, I believe everything else should continue to use kabob-case." }, { "prediction": "nit: remove empty line", "reference": "same here, move this one down" }, { "prediction": "I think this should be `createdAsAdministrator` instead of `createdAsAdministrator`.", "reference": "Some could be created as superadmin instead, to add more special cases. Also, the reason behind this change should be described in the commit msg and the PR description." }, { "prediction": "nit: this should be `from databricks.koalas import ks`", "reference": "Is this required?" }, { "prediction": "I don't think we need this. The default value should be `false` if the user doesn't specify a public volume.", "reference": "`--public-volume-create-allowed=true` and set the default to `true`, then use `!c.Bool('...')`" }, { "prediction": "I don't think we should be setting this to `MAX_INT32_MAX` here.", "reference": "Could we use `0x7ffffffe` instead, since `INT32_MAX` is an ID of a _pull_ stream? Other than that the PR seems ready for merge. Thank you for working on the fix." }, { "prediction": "Line is too long. [83/80]", "reference": "Might as well add a docstring for the new `exit_code` parameter too." }, { "prediction": "I'm not sure this is the right place to put this method.", "reference": "`poll` and `remove` have different meanings." }, { "prediction": "I think we should rename to `write.parquet.bloom-filter-expected-ndv`", "reference": "What's the perf impact of writing bloom filer? Does it make sense to enable it by default if the perf impact is minor? Would be nice to include benchmarks?" }, { "prediction": "I don't think we need to change the order of the `snippet-keyword` tags.", "reference": "AWS Identity and Access Management (IAM)" }, { "prediction": "I don't think this is the right fix. I'm not sure if this is the right fix.", "reference": "Remove `HIP_UNSUPPORTED` - it is an alias" }, { "prediction": "I think this should be `@Nullable List fetchRecentlyFinishedFlows(long lifeTimeMs)`", "reference": "i think we should return an empty list instead of null here." }, { "prediction": "This is not used.", "reference": "Is it really necessary to store them in a new setting? I think it should be enough to store the credentials in `ProxyConfig.direct()`. Then AntennaPod does not need to store multiple different proxy settings. Also, it will not change existing users' settings (currently the proxy settings would be lost on upgrade)." }, { "prediction": "I don't think this is the right fix.", "reference": "This is a mess. Can it be broken out as a separate function using ifs and return statements, which would also make it more debuggable." }, { "prediction": "I'm not sure this is the best way to do memoization. I think it would be better to use `util.enable_constant(it1, DynamicMap)` instead of `util.disable_constant(it2, HoloMap)`.", "reference": "This stuff is a bit ugly and should probably become a utility. The main problem is that ``.map`` is being abused a bit." }, { "prediction": "I think this should be `if self.context.shared_ids and self.context.forced_empty_list:` instead of `if self.context.shared_ids and self.context.forced_empty_list:`", "reference": "Maybe there is a better way here so that we don't even bother triggering a storage query since we want an empty list here." }, { "prediction": "I think we should move this to the `aws-sdk-go-v2/service/iam` package.", "reference": "just curious, `region` is not used in the AWS IAM client, afaik. But I see this is a general field for clutch clients, is it just ignored internally?" }, { "prediction": "Why did you change this?", "reference": "Why are we doing that change?" }, { "prediction": "`containsKey` is not supported in Java 8", "reference": "Why && changed to ||?" }, { "prediction": "I don't think this is needed.", "reference": "can you please change this to `_collection_to_single_partition()`, like we've done for alll other helper methods defined in this module?" }, { "prediction": "I don't think this is needed.", "reference": "This class is never used, don't import it." }, { "prediction": "I think this should be `#if DEBUG // In debug mode we allow exceptions to be catch in the test suite`", "reference": "Missing a `return`. Either way, I think it's better to add a `#if DEBUG throw;` in the catch block instead (so we keep the log in debug mode)" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if it's a good idea to put this in a bridge, but if it's a good idea to put it in a bridge, I think it's a good place to put it in a bridge.", "reference": "Files should have an extra line at the end of them." }, { "prediction": "Why is this internal?", "reference": "I think we could replace this (well the backing field) with `BlockingCollection` when we drop NET35?" }, { "prediction": "I don't think this is necessary. The `input_groupnames` is already a set, so you can just do `keys.issubset(set(pser_or_pdf.index.names))`.", "reference": "Can you show before/after output in the PR description? From a cursory look, seems like it will just drop the duplicated column which isn't consistent with pandas' results." }, { "prediction": "I don't think we need to check for deprecated config here.", "reference": "Added validation that `config: transports` isn't used @adreyer @katelopresti Curious what you think about having Bolt link directly to the docs site." }, { "prediction": "I think this should be `typing.Dict[str, typing.Any]` instead of `typing.Dict[str, typing.Any]`.", "reference": "This probably isn't needed anymore now?" }, { "prediction": "`Array` should be `Array`", "reference": "Would it be easier to kick this import to the top of the file? It'll get stripped out anyway." }, { "prediction": "I think this method should be annotated with `@Restricted(NoExternalUse.class)`", "reference": "are you sure that the privacyGroup cannot be null?" }, { "prediction": "I think this should be a list, not a list.", "reference": "Wrapped with list" }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if it's a good idea to put it in the stats package.", "reference": "Please move this to `pkg/stats/v1alpha1`" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is.", "reference": "a small nit pick...this can go into `lib/patterns.rb`?" }, { "prediction": "I think this should be `mdc-tab-active` instead of `mdc-tab`.", "reference": "The above TODO is no longer necessary I believe" }, { "prediction": "I'm not sure this is the right way to do this. The `%s` should be a timestamp, not a string.", "reference": "Why is this change required?" }, { "prediction": "I'm not sure this is the right place for this function. It's only used in the `summary` package, so I'm not sure if it's a good place to put it.", "reference": "This really is an excerpt. ;-)" }, { "prediction": "Why did you change this to `return m.isWithinFunc(addr)`?", "reference": "@acud The reason why the default is now `true` is because the chunk must be in the neighborhood of the storer peer with this change. The majority of the tests expect a valid receipt so the closest peers in the tests must be in the neighborhood. As of writing this, there is only one test that expects a peer to be out of depth." }, { "prediction": "I think this should be `plugin_sqlite.go` instead of `plugin_sqlite.go`", "reference": "This is what breaks the build. Apparently w/o this line, `sqlite` package is not even compiled. With this line it gets compiled but compilation fails because we don't use CGO for our production Linux builds and > ***Important: because this is a `CGO` enabled package you are required to set the environment variable `CGO_ENABLED=1` and have a `gcc` compile present within your path.***" }, { "prediction": "I'm not sure if this is the right place for this test.", "reference": "This should be all slots" }, { "prediction": "I think this should be renamed to `destory`.", "reference": "Need to add deprecated annotation and call the new fixed method to avoid the API broken issue." }, { "prediction": "I'm not sure if this is the right place for this change.", "reference": "This was just fixed in mozilla-mobile/android-components#4892. @pocmo is cutting a new Android Components 19 dot release today, so you'll be able to jump to the new version and restore the build type." }, { "prediction": "I think this should be `log.Error` instead of `log.V`.", "reference": "Leaving this log line because it helped me to diagnose that the reconciler client was using a different cache than the event sources, so not always seeing the injectable that triggered the reconcile." }, { "prediction": "I think this should be `mset.mu.RLock()` instead of `mset.mu.RUnlock()`", "reference": "Do we need also to protect access to `mset.js` and `mset.jsa` or even `mset.store` down below? (not sure if those are immutable or not)." }, { "prediction": "I'm not sure this is the right place to do this.", "reference": "I'd rather you do this under `if info.filledInMerkle {` since that's the only place it's relevant." }, { "prediction": "I'm not sure if this is the right place to do this, but it seems like we should be able to remove the `cloudDesc.getCollectionName()` and `cloudDesc.getShardId()` methods from `ZkCoreNodeProps` and just pass in the `leaderprops` to `ZkCoreNodeProps.getCoreUrl(leaderBaseUrl, leaderCoreName, cloudDesc.getShardId());`", "reference": "*NULL_DEREFERENCE:* object `leaderUrl` last assigned on line 348 could be null and is dereferenced at line 351." }, { "prediction": "I think this should be `@plan.principal_investigator = current_user.surname.blank?? nil : \"#{current_user.firstname} #{current_user.surname}\"`", "reference": "Since the IdentifierScheme's don't change without us making additional code changes, perhaps this should be added as a constant as we previously did with Perms?" }, { "prediction": "Please add a license header to this file.", "reference": "nit: We can revert this now." }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "Oh, that's the reason why you have two different data structures here. Does the order of the `selectedItems` list matter? If not, I think it would be more clear if both would be a Set." }, { "prediction": "I think this should be `luaContainerGetContentDescription` instead of `luaContainerGetContentDescription`.", "reference": "Should be named getDescription, since the other description functions are named that." }, { "prediction": "I don't think we need to set the EyeBufferSize here.", "reference": "Don't we want to do this for g2 4k also?" }, { "prediction": "I'm not sure if this should be a string-to-arraybuffer or a string-to-arraybuffer.", "reference": "I would prefer if we don't add this package as it's unsupported, and I expect not necessary. Node buffer supports many formats - is it not possible to use one of its helper functions to load the content?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I don't think this is used any more, please remove." }, { "prediction": "I think this should be `List of config keys` or `List of config values`.", "reference": "actually use type_name=print_config_type_to_string(self, with_lines=False) to populate this" }, { "prediction": "I don't think this is the right place to do this.", "reference": "We should be using dependency injection here, instead of fetching the config factory at the last minute from the container. That would allow us to more easily overwrite the \"delete_local_resource\" setting in tests." }, { "prediction": "I think this should be `private static final Logger LOG = LoggerFactory.getLogger(HealthCheckServlet.class);` instead of `private static final Logger LOG = LoggerFactory.getLogger(HealthCheckServlet.class);`", "reference": "everywhere else in the project, `LOGGER` is used" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to use `.min(&:to_f).map(&:to_json)` instead of `to_json`", "reference": "Why is this value set to \"min_by\", and what are the implications of it? Does `&:to_f` play nice with semver (e.g. 1.2.0)?" }, { "prediction": "I'm not sure if this file should be included in the JEST environment.", "reference": "typo --> gloabl" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Wanted to double-check: does the `log` middleware still set its own \"empty\" value (should default to `-` at least for the default log format)?" }, { "prediction": "Using WebDriver after calling quit()?", "reference": "It would be better to just change RWD to throw IllegalStateException if you attempt to execute a command after quit (unless it's a second call to quit())" }, { "prediction": "I don't think we should be using `%w` here. I'd rather use `%w[- \\\\ | /]` instead.", "reference": "Is this going to be configurable? If not, it should just be removed for now." }, { "prediction": "I don't think this import is needed.", "reference": "Maybe just one import line - `from collections import OrderedDict, Mapping`?" }, { "prediction": "I'm not sure if this is a good idea. The `IntegerMultiProperty` has a `intList` property, so it should be able to use the `IntegerMultiProperty` with `multiInt` property.", "reference": "Btw this class probably doesn't belong in PMD. It says it's there to test UIs, but arguably UIs can use their own test fixtures, and this in in src/test so probably not even shipped anywhere." }, { "prediction": "I think this should be `getAccountsAndContainers` instead of `getContainers`.", "reference": "Maybe we can group each `finishResolution` call with the corresponding `receiveGet...` call? That would make the connection more clear when reading the code." }, { "prediction": "I don't think we need to pass `source_address` as an argument to `__init__`.", "reference": "Can we take this out of the constructor here and just use the config value? (This would also make the other proxy mode cases obsolete)" }, { "prediction": "I'm not sure if this is the right place to put the `let` statement.", "reference": "Please flip the conditional to be `if (field.required) {... }`." }, { "prediction": "Line is too long. [87/80]", "reference": "should we create a fixture without first name and last name and have a spec like this one that uses it to make sure nothing errors out when they are not present?" }, { "prediction": "I think it would be better to have a `PythonSnippetSet generateModule(Element element, Doc body, Iterable imports);` method.", "reference": "It seems odd to require all Python snippets to have this method when it's not relevant for messages.snip or the discovery snippets. (I see that we're already doing something similar with generateModule/generateBody where some of the implementations are empty. This also seems strange to me.)" }, { "prediction": "I'm not sure why this is needed.", "reference": "What about this: \"// Corresponding PMT does not exist.\"" }, { "prediction": "I'm not sure this is the right error message. I think it should be: \"The config file {:s} doesn't exist!\".format(config_file)", "reference": "You don't need af ormat specified here." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Nitpick: import ordering" }, { "prediction": "I think this should be a Func instead of Func", "reference": "code smell here, a function that create a reward calculator from transaction processor?" }, { "prediction": "This is a runtime varManager client, not a runtime varManager client.", "reference": "I don't think the `A` is idomatic is it?" }, { "prediction": "`toString` is not needed.", "reference": "nit: the others use the method name in the api and not the class name of the api" }, { "prediction": "I think this should be `sil_module = swift_ast_ctx->GetReplExprModulesDir();`", "reference": "Does it work to run all the sil diagnostic passes before we serialize? That would be more consistent with what the normal compiler does in `FrontendTool.cpp : performCompileStepsPostSILGen()`" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "You left in a puts." }, { "prediction": "I don't think this is needed.", "reference": "Hmm, should we also cache the `smoothingScore` for this hit? Or, if we will keep it at returning `0`, couldn't we remove this impl and inherit the default from `Scorable`?" }, { "prediction": "I'm not sure if this is the right thing to do, but it seems to me that the `gh-pages:ui-grid-site` task should be removed.", "reference": "I removed that from here because I am hoping that will stop the random unwanted updates to the website with unstable versions." }, { "prediction": "I think this should be `ProcessState` instead of `ProcessState`", "reference": "Nit: missing period." }, { "prediction": "Line is too long. [87/80]", "reference": "how **to** deny Simple Storage **Service**" }, { "prediction": "Why did you change this?", "reference": "Were you having trouble with timeouts in general acceptance tests or only the editor test? It's possible to set timeouts on a per-test basis by using `this.timeout(25000)` within the `it()` function. I'd like to drop the global timeout in the future if possible rather than increase it - in some circumstances a failing test can have a knock-on effect which makes all later tests timeout so Travis can get hung up for a long time if no one notices and cancels the build." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if it's a good idea to do this.", "reference": "I don't think this is necessary." }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix or if it's the right fix.", "reference": "Instead of blindly ignoring all errors, this should just ignore the volume not found error." }, { "prediction": "Is this change intentional? It seems to me that `rowGroupsStartRowPos` can be `null` and `nextRowGroupStart` can be `null`.", "reference": "The `rowPosition` will be ignored if the position column is not projected." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if this is a good idea or not.", "reference": "Is there a possibility of a clash between periodSeconds and timeoutSeconds? For instance, the current probe is not yet timed-out and the next one has started." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if it's a good idea to do this.", "reference": "This logic is already been performed in `CommandLine.defaultFactory().create(cls)`... whats the point of repeating it here?" }, { "prediction": "I don't think this is the right fix. `countCols` will always be the same as `this.hot.countSourceCols()`, which is the same as `this.hot.countCols()`.", "reference": "Please change from `let` to `const` here and above. Setting value to `this.hot.countSourceCols()` should be enought probably." }, { "prediction": "I don't think we need to check the error code here. If the error code is not ETIMEDOUT, then we should set the error code to ETIMEDOUT.", "reference": "Somewhat nitpick: I see the `!=` pattern mentioned in the fluent-bit style guide, but imo, it would be safer to check that a fd is non-negative with ` > -1` or `>= 0`" }, { "prediction": "Use the new Ruby 1.9 hash syntax.
    Use the new Ruby 1.9 hash syntax.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Use the new Ruby 1.9 hash syntax." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Please host to a GitHub repo." }, { "prediction": "I think this should be `s.Logger.Debugf(\"done split: %v\", err)`", "reference": "The Error log message should not expose internals. The message should be something like this `\"done split failed for address %v\", tagr.Address`. Also, the Debugf would be more informative with the address in the message." }, { "prediction": "I think this should be `loglevel-driver, loglevel-on-instance, and sets the same level for both on-instance and driver logging: [||||||||||||||||||||||||||||||||||||||||||||||||||||| 'partial_name')" }, { "prediction": "I think this should be `if text and hasattr(text, 'decode'): text = text.decode('mbcs')`", "reference": "Please use `isinstance(text, bytes)` instead. Otherwise, this will lead to unnecessary decoding on python 2 unicode strings." }, { "prediction": "Why is this change needed?", "reference": "This one is unrelated to the GetSymbolVendor removal... the API to GetValueAsData was changed." }, { "prediction": "Why is this `bridgeNetworkMode` not `networkMode`?", "reference": "can you assert the value of this field below similar to other fields?" }, { "prediction": "This should be `ClassLiteral` instead of `ClassLiteral`.", "reference": "I'll change that to \"linkplain\" for consistency :)" }, { "prediction": "I'm not sure if we should express this with the model.id_generator pattern, or if we should express it with the model.id_generator?", "reference": "This is fix. But since the history resource was relying on the bug to work, I had to do some changes regarding the history entries (eg. explicit declare that the permissions inherit from bucket)" }, { "prediction": "I think this should be called at the end of the stream, not at the beginning of the stream.", "reference": "can't we leverage Closeable here and get some sugar&warns? Also, line 89 still calls setContext().. is it right? or I'm missing something?" }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if `[]byte` is the right type for this test.", "reference": "Use explicit swarm.Address when defining peerID, by using NewAddress, and remove conversion here." }, { "prediction": "This should be `/var/lib/rpm`", "reference": "`RpmDependenciesDirectory` should start with a lowercase character so it's not exported outside of this package, it looks like its only referenced in this file." }, { "prediction": "I'm not sure if this is the right place to put these arguments.", "reference": "If we make a new backbone class, we don't need to support `BasicBlock`" }, { "prediction": "Why is this removed?", "reference": "This was an out-of-date dupe of the check on line 335" }, { "prediction": "I think this should be `jQuery.i18n.map[row.code + \".plugin-title\"] || row.title`", "reference": "Let's put this back" }, { "prediction": "Why is this removed?", "reference": "Things like these should have been addressed before submitting a pull request." }, { "prediction": "I'm not sure this is the right fix, but I think it would be better to use `assertThat(scrape())` instead of `assertThat(prometheus_notifications, equalTo(\"prometheus_notifications\"));`", "reference": "This one as well. Any better suggestion please?" }, { "prediction": "I'm not sure if this is the right place to put this in?", "reference": "wonder if we should collect c.trace, c.pa.subject, etc.. while under the lock to prevent data races.. or simply move the tracing under the lock." }, { "prediction": "I don't think this is the right place to check this. It should be `strcmp(P->short_name, \"s2\")`", "reference": "Why is this hack needed? Ideally, we shouldn't need that." }, { "prediction": "I'm not sure if this is a good place to put this in. I'm not sure if it's a good place to put this in.", "reference": "Minor/Nitpick: replace `1` with a constant, esp. as used in `prog/weaver/http.go` in `{{if eq.Plugin.Version 1}}`" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "nit: Looks like the whitespace got thrown off, can you fix this?" }, { "prediction": "I think this should be `Skyline_ImportPeakBoundaries_Error__Failed_while_reading_boundaries_` instead of `CommandLine_ImportPeakBoundaries_Error__Failed_while_importing_boundaries_`", "reference": "Redo this by adding a string literal and then pressing F6 to have Resharper move it to Properties\\Resources.resx which will also create this property." }, { "prediction": "I don't think this is needed. NATS doesn't run as a service.", "reference": "Unless a log file has been specified, IMO you should set the server option to enable syslog (windows event log) here, or someplace along the service start code path. We shouldn't really rely on users to specify that when creating the service." }, { "prediction": "Is this change necessary?", "reference": "It's strange here, because I saw the `TableColumn` is marked as `PublicEvolving`, but after released flink 1.12.0 it did not have any Interface compatibility guarantee. At least, it should marked as `deprecated`, and keep it a major release." }, { "prediction": "I don't think this is the right place to put this.", "reference": "I'm not sure regarding this approach, for me the whole text including anchors should go to resources like ` netConfigLink.setText(CoreMessages.dialog_connection_edit_wizard_conn_conf_network_link); ` You shouldn't concatenate translated values inside the code. If you need some params, please use NLS.bind()" }, { "prediction": "I'm not sure this is the right place for this debug message. I think it should be `Increasing receive flow control window for the connection to %d kB, in response to stream flow control window increase`", "reference": "How often do we expect this to trigger? Should we maybe put it behind an if logger.Debug()?" }, { "prediction": "I'm not sure if this is the right place to put the `?action=snapshot` part of the URL.", "reference": "How was the name `controller` arrived? Can you get a consensus for the name controller? This may be OK for jiva. However, c-stor does not have a concept called `controller`." }, { "prediction": "I think this should be `sysctl %q is not allowed as it conflicts with the OCI %q field`", "reference": "i dont think we need to explicitly single out `kernel.domainname` here since its not a TODO for OCI either right?" }, { "prediction": "I don't think this is the right fix. The `min_size` parameter is used to determine the size of the stream, not the content length of the stream.", "reference": "Should we better change the operator to `<` since the variable defines the minimum size that gets compressed?" }, { "prediction": "nit: remove empty line", "reference": "I'm really impressed by the AppendElements addition! Very cool! :-)" }, { "prediction": "I think this should be `log.debug(version());`.", "reference": "This change means that users can't easily see which version of the selenium server they're using. This is `info` level information." }, { "prediction": "I think this should be `MAX_WORLD_ID` instead of `MAX_WORLD_ID`", "reference": "This should be in qtutils and imported to here and the other place instead of declaring it twice." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Seems a bit weird to add a timeout in \"logging\" middleware, but I see that that is done elsewhere, so fine." }, { "prediction": "I'm not sure if this is the right place for this message, but I think it would be nice to have a more descriptive name for this message, e.g. `messages.delete_form_singular` or `messages.delete_singular_form`.", "reference": "This code is passing a non localized string when it should be passing in a localized string or it should use the name of the item being deleted." }, { "prediction": "I think this should be `allowNewUpload:!this.state.allowNewUpload` instead of `this.state.allowNewUpload =!this.state.allowNewUpload`", "reference": "Could we combine this with the `setState` call above, so we don't have to call it twice?" }, { "prediction": "I don't think we need this anymore.", "reference": "That part that still leaves me mystified is how the String class, when populated with a value from the SQL_ASCII encoded database is set to \"UTF-8\" encoding. Since the database is SQL_ASCII, each byte in the string stored in the database is considered one character. Ruby, however, is using UTF-8, which is writing a series of one-byte code points that are only meaningful when considered in the correct encoding. When Ruby passes a string to Postgresql, the code points are essentially \"flattened\" into bytes as they are written to the DB. When Rails (through Ruby) asks for a string from the DB, where does the information about the encoding come from?" }, { "prediction": "I'm not sure if `cfg.DB.IndexDBPath` is needed here.", "reference": "Is it a doable way and does it make sense." }, { "prediction": "I think this should be `limit = max_query_limit` instead of `limit = max_query_limit`", "reference": "max was wrong here. As its buitlt-in, not a number, and a TypeError was thrown." }, { "prediction": "I don't think this is needed.", "reference": "This change is not needed, please revert it." }, { "prediction": "I think this should be `\"None\"` instead of `\"None\"`", "reference": "@ClimbsRocks Please add that it could be a string. `feval : callable, string or None, optional (default=None)`" }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "now that I have started using, I realized, I could have named my new class singular `Sport` and not having to make this change. let me know, I will update" }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "Not sure why this is changing to a hard-coded string." }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, so I'm not sure if this is the right place to put it.", "reference": "Is there a reason why we `str` the result? It would be nice to eventually support more datatypes here, so we want to generally aim for arbitrary JSON." }, { "prediction": "Please revert this change.", "reference": "Why did we update the to this api?" }, { "prediction": "I'm not sure if this is the right place to put this method, but I think it would be better to move this method to `Preferences.java`", "reference": "should probably just catch `IllegalArgumentException` here" }, { "prediction": "I'm not sure if this should be a constant, but I think it should be a constant.", "reference": "What does this error message mean?" }, { "prediction": "`value` is a `bytes` object, so `value.encode('utf-8')` is unnecessary.", "reference": "I don't think this change is necessary. If we cast `value` to type `six.text_type`, then the next if statement should evaluate to True and do the encoding for us." }, { "prediction": "Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.", "reference": "Can we move this into a method(s)?" }, { "prediction": "I think this should be `len(n) == 0`", "reference": "You could perhaps call this `strlen` (although I don't particularly care about the name as it is an implementation detail)." }, { "prediction": "Why do we need to do this?", "reference": "should we have a common `Escape()` method that can be used everywhere?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's worth it.", "reference": "The whitespace removal above here is probably unintentional :slightly_smiling_face:" }, { "prediction": "I'm not sure why this was removed.", "reference": "should we start p2p even after dispatcher? b/c dispatcher handles msg from p2p" }, { "prediction": "I'm not sure this is the right fix.", "reference": "Did we decide once and for all to use req/resp throughout spring?" }, { "prediction": "Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument.", "reference": "Put a comma after the last parameter of a multiline method call." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "This will delete the whole bucket, which could have unforseen consequences in normal use cases. We should be deleting args.SourceFile instead." }, { "prediction": "I don't think we should have a constant for this.", "reference": "Lets move the whole string to next line for better readability" }, { "prediction": "I think this should be `Error saving WebCal-calendar`", "reference": "Please change this back to `Error saving WebCal-calendar` (and `Error saving WebCal-calendar` only)" }, { "prediction": "Why is this removed?", "reference": "The vendor prefix is still being used on Chromium based browsers like Edge Chromium and Chrome. Did you mean to remove this?" }, { "prediction": "I think this should be `\"{0}\\\": \\\"{1}\\\"\"`", "reference": "Not ideal, but I used a test case orderer so I could avoid a bug that occurs when running two tracer's sequentially with different DD_LOGS_INJECTION settings." }, { "prediction": "I don't think we need to lock here.", "reference": "I think the condition should be ` uint(headerLengthSize) + crypto.Extension + (len(p.blobs)+1)*uint(EntrySize) > uint(maxHeaderSize)` `headerLengthSize` is only the length field. But the pack header also includes the blob type and its ID. And the result of the check, currently seems to be inverted." }, { "prediction": "I'm not sure why this change is needed.", "reference": "Remove selector if only 1 version is supported" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Why did you remove more than the asked command?" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to just do `packet.encryptionLevel` instead of `packet.encryptionLevel`.", "reference": "I just realized that we are logging time now - we shouldn't do that here, that's the logger's job. I've opened a new issue for that #444." }, { "prediction": "I'm not sure this is the right doc.", "reference": "why is the `sanitize=True` here in the docs?" }, { "prediction": "Rails/InverseOf: Specify an :inverse_of option.", "reference": "Didn't end up using this, but I think it's useful anyway." }, { "prediction": "I don't think this is the right way to do this. The dependency depends on the version of the dependency, and the version of the dependency depends on the version of the dependency.", "reference": "I'm pretty sure there's already a metadata item that contains what you're calculating here (PackageRelativePath)?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "We want to show this button only when there is a page for us to connect to. There is no reason to put the Browse Security Info button on the page at all unless we've identified the UUID from the KB." }, { "prediction": "This should be `res/nvidiaicon2.xpm`", "reference": "Why `2` in this and others?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "This may cause a new allocation, please consider merging the concat in above line. Same applies to change in dotnethostmanager." }, { "prediction": "I'm not sure if `import MyClass` is the right thing to do here. I think it should be `import.my_package1 import MyClass1`.", "reference": "Alternatively (and better) would be to look for the.level attribute of the node. If it's bigger or equal to 1, than that is a relative import. So \"from. import x\" should have level 1, while \"from.. import z\" should have level 2 and so on. The same should happen for \"from.c import z\"." }, { "prediction": "I think this should be `@Override protected void initialize(IndependentContext context, Language language, Class functionsClass)`", "reference": "Btw. this API must definitely change with PMD 7 - we are exposing here a implementation detail (that we use Saxon). And it happens, that the way, how custom functions are registered, changed with Saxon 9.5... which makes the need for a implementation agnostic API relevant..." }, { "prediction": "I'm not sure if this should be a `*SecretEncryption` or `*Notification`.", "reference": "nit: `Additional configuration used while sending notification to external services.`" }, { "prediction": "I'm not sure this is the right thing to do here. The `switchTo()` method is supposed to switch to the window, not the handle.", "reference": "This should only be sent if the driver is speaking to a W3C conformant remote, so we need an if-condition check like we have in the Python bindings." }, { "prediction": "Line is too long. [87/80]", "reference": "This should have failed before." }, { "prediction": "This is not a payment channel, it's a payment channel.", "reference": "the paymentchannel dir is where the paymentchannel manager will live. it will store the types below." }, { "prediction": "I think this should be `GET_CANVAS_URL` instead of `GET_CANVAS_URL`.", "reference": "This is Safari specific and should be defined somewhere in the `safaridriver` namespace" }, { "prediction": "I'm not sure why this change is needed.", "reference": "assignments should only be cuddled with other assignments (from `wsl`)" }, { "prediction": "I'm not sure this is the right way to do this.", "reference": "prefer changing the signature by adding params to the end, not the middle, I think." }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "I guess we aim for hardcoded port for Prometheus operated ports right?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "This is the same effect as doing `node.parent.fromlineno` but avoids the `StatementMissing` exception from calling `statement`." }, { "prediction": "`callback=parse_list, default=[], multiple=True, help=\"Generate recommendations for given users\" \\", "reference": "I think user-ids might be better; also note that options should use - and not _ to separate words. Also, how are more than one id specified? comma seperated? I think the usage statement should indicate this." }, { "prediction": "I think this should be `d -= timeUnit(ticks)` instead of `d -= timeUnit(ticks)`", "reference": "This code is necessary. It makes sure that you can sleep for longer durations than the timer supports." }, { "prediction": "I'm not sure why we need to expose this interface. I think it's better to expose it as a public method, rather than exposing it as a public API.", "reference": "Can we add the new name in parallel and deprecate this name? We should be careful about changes to the public API and give people at least a release to switch over before removing public methods." }, { "prediction": "I don't think we need the `backend->impl->destroy()` check here.", "reference": "If you're going to start testing that impl itself is not NULL you should probably be doing it everywhere." }, { "prediction": "`configFileName` is a `string[]string` so we don't need to pass it as an argument to `LoadPlainYAMLManifests`.", "reference": "`ctx` is unused in LoadPlainYAMLManifests" }, { "prediction": "Why not just `create()`? It's the same as `create()` in `BlockHeaderBuilder.java`.", "reference": "why is this called toBuilder when the method is called fromBuilder? (I realise you did not change this...)" }, { "prediction": "Can we use the same config for source operator and split reader fetch batch size?", "reference": "nit: seems rather large." }, { "prediction": "I think this should be `int(time.time())` instead of `time.time()`", "reference": "I think it'd make sense to only calculate time.time() once (it's also used if max_ts and min_ts aren't set)" }, { "prediction": "I'm not sure why this is needed.", "reference": "Use existing `grpcStubCallString` instead" }, { "prediction": "I don't think this is needed.", "reference": "In a recent PR, Bob added a `TracerConstants` class. Do you think this makes sense to put in that class instead so that we can consolidate?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do here.", "reference": "I want to propose couple of different names for catchpointWriting: syncInterruptedWaitingCatchpointWriting syncWaitingForCatchpointWriting catchpointWriting is lacking context, and I found it difficult to understand the logic without this context." }, { "prediction": "model (Model): Model name to create. dao (object): Data Access Object from dao.py", "reference": "Do you still need the `name` in the arg description, if this is not `str` type anymore.?" }, { "prediction": "Can you remove the \"\"\"deprecated optimizer hook for distributed training\"\"\" line?", "reference": "We may raise a warning." }, { "prediction": "I don't think this belongs to patient.", "reference": "Trailing comma caused the eslint test to fail" }, { "prediction": "Please use `from.config import CFG_RELATIONSHIPS_NODE_ENGINE, CFG_RELATIONSHIPS_EDGE_ENGINE`", "reference": "I think you should use `app.config`. In the usual case, the config file is not overwritten, there is additional config file outside of the source of `Invenio`." }, { "prediction": "I don't think this constructor is needed.", "reference": "Will you please update the copyright message to now include `2021`?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "Potential subscript out of range." }, { "prediction": "why remove this?", "reference": "please undo this change. you didn't really meant to make it, right?" }, { "prediction": "I think this should be `config.js` instead of `config.js`.", "reference": "To check! are these millseconds or seconds :thinking: The docs aren't clear" }, { "prediction": "I think this should be `num++` instead of `num > int64(u.ctx.MaxUploadParts)`", "reference": "Why was this moved?" }, { "prediction": "I don't think we need this interface.", "reference": "What are these object with suffix Expansion?" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a flag for `rpc-allow-unprotected-txs` that is set to `true` by default. This way, the user won't have to set `rpc-allow-unprotected-txs` to `false` by default, and the user won't have to set `rpc-allow-unprotected-txs` to `true` by default.", "reference": "This breaks backwards compatibility, so it will have to wait for the next quarterly release of the default is to deny. I would recommend adding the flag with the default to allow and then at the next quarterly release rc cycle flip the flag to deny." }, { "prediction": "I don't think this is needed.", "reference": "I'm kind of surprised this doesn't require `typename`?" }, { "prediction": "I think this should be `!` instead of `!`.", "reference": "I think this will break the case (you can try even with /usr/bin/bison as value): `YACC=\"/path/to/bison -y\"./configure` I wonder if we should use AC_PROG_YACC at all or simply use AC_CHECK_PROGS since we want to use bison and not another yacc" }, { "prediction": "`EnodeKeyFile` -> `EnodeKeyFile` -> `EnodeKeyFile`", "reference": "can we explain to users in the docs what happens if they leave the field blank?" }, { "prediction": "I think this should be `security_group_ids=None` instead of `security_group_ids=None`", "reference": "We try not to change the function footprints unless absolutely necessary. Why is it necessary to have both secuirty_group_ids and security_groups?" }, { "prediction": "I think this should be `StringUtils.replaceAll(String, String, StringComparison)`", "reference": "Thanks! We're already replacing File.separatorChar with '/' in the call to FileUtil#toCanonicalPath above, so the correct fix here should be: `relativePath.replace('/', '.')` I'll make the change upstream." }, { "prediction": "Why not use `GoneHttpException`?", "reference": "It could be nice to be explicit about this change in upgrade notes, what do you think?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this, so I'm not sure if this is the right place to do this.", "reference": "spotted a bug." }, { "prediction": "I think it's better to use Math.random()*matchingRowsPerAnimal instead of Math.random()*rowsPerAnimal.", "reference": "We were always using 0000000 prefix" }, { "prediction": "I'm not sure this is the right place to do this.", "reference": "Here we also need to determine if gJobMgr has called the init function." }, { "prediction": "I think this should be `EqImpl.matches?(true, value, c, '$all')`", "reference": "Out of curiosity, why is `condition.any?` also necessary here?" }, { "prediction": "I don't think you need to do this. The `std::shared_ptr` is already a `std::unordered_map>` so you can just do `hostManagers_.emplace(space, hm);`", "reference": "Always use `std::make_shared` whenever possible, it will save you one memory allocation." }, { "prediction": "I'm not sure if this should be `router-expose` or `router-expose`", "reference": "Update to real tag before pull." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Is there any better string that only exposed by prometheus? We have changed the meter tags to contain method and service name. For example `scrape()` contains `method=getHealth` and `service=server.internal.health.ITzipkinHealth` which made this test failed." }, { "prediction": "I don't think we should be using the logger here.", "reference": "Adding ICoreLogger here lets us pull this into Core as a strategy" }, { "prediction": "I'm not sure if we should change this to `json:\"-d\"` or `json:\"-d\"`?", "reference": "why did you change this?" }, { "prediction": "This is a bit of a nitpick, but I think it would be nice to have a test that checks if the exception class name is a valid exception class name.", "reference": "This is invalid syntax on 1.8." }, { "prediction": "I'm not sure this is the right fix.", "reference": "This isn't part of the PR, but I can't find in the smarts definition that \"[C][C]\" == \"[C]-,:[C]\" There is a line saying essentially not to specify undefined items (but that's a bracket versus non bracket thing)." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "Is this required for tuple encoding? This is confusing." }, { "prediction": "I think this should be `FlowPreparer` instead of `FlowRunnerManager`.", "reference": "Does it need to be a member variable? It is currently only used in one method." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "@MrTimscampi doesn't this need an update to apiclient?.." }, { "prediction": "I don't think this change is needed.", "reference": "This is a nop: prob best for history to not change the line" }, { "prediction": "I don't think this is the right place to track this, but I don't think it's a good place to track it.", "reference": "Can you delete this whole file now?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "can you combine this passing test, code, solidity binary into existing ArrDelete? the function is much similar, pushing int value into an array, and delete one item in the array" }, { "prediction": "I'm not sure this is the right place to do this. I think it should be `RecyclerAdapter.setLocked(UserPreferences.isQueueLocked());` and `RecyclerAdapter.setKeepSorted(UserPreferences.isQueueKeepSorted());`", "reference": "I think that could lead to problems when setting it to not sorted again. In that case, it will not be reset. What about using one single method for the adapter (`setDragDropEnabled`)?" }, { "prediction": "I think this should be `platform.AppNotRunning` instead of `app.SiteStatus()!= \"running\"`", "reference": "I'd say the error should be an error, not instructions to the user. So error would be something like \"site should be running and is not\"" }, { "prediction": "Why did you remove these?", "reference": "Are you sure `v3EndpointIDToContainerName` and `v3EndpointIDToTask` are saved in the state file, can you verify that?" }, { "prediction": "I'm not sure if this is the right mutex for the cryptoSetupServer.", "reference": "This mutex is never used. Should it be, if users can now make calls into the crypto setup?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. If it's the right thing to do, I'm not sure if this is the right thing to do. If it's the right thing to do, I'm not sure if this is the right thing to do. If it's the right thing to do, I'm not sure if this is the right thing to do. If it's the right thing to do, I'm not sure if this is the right thing to do. If it's the right thing to do, I'm not sure if it's the right thing to do. If it's the right thing to do, I'm not sure.", "reference": "Check here for sles-, and i'd prefer a regex since I don't know what an 'include' is going to do exactly. :)" }, { "prediction": "I don't think this is the right place to put this code. If `amount` is `None`, then `self.amount = Decimal('0.0') / exch if currency else amount` is equivalent to `self.amount = Decimal(amount) / exch if currency else amount`.", "reference": "Should this be `None` instead?" }, { "prediction": "I'm not sure if this should be an error. It should be an error.", "reference": "Not sure if the warning message is enough for this time, if the configuration is wrong, java-chassis may need to stop working instead of sending out the warning message to let the admin know about it. BTW, we may need a default override policy here." }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if it's the right thing to do, but if it's the right thing to do, then I'd say it's the right thing to do, and if it's the right thing to do, then I'd say it's the right thing to do.", "reference": "I see this getting unwieldy as we add more commands with subcommands. Can we perhaps enhance it to handle subcommands properly? Perhaps something like `\"etcd-snapshot:1\"` which would indicate that the etcd-snapshot command may have 1 subcommand after it, and if the 1 next argument after it doesn't start with `--` then the args should be appended after that subcommand." }, { "prediction": "`getRunningFlows()` and `getUnfinishedFlows()` can be replaced with `getFlowsHelper()`.", "reference": "why returning a string instead of a list?" }, { "prediction": "I don't think this is needed. It's only used in the `AutoInstrumentation.AdoNet.Npgsql` namespace.", "reference": "Was there a reason for changing all these integration names? Are they actually used for anything besides information in logs?" }, { "prediction": "I think this method should be `synchronizedSet()` instead of `copyOf()`.", "reference": "we should not resurrect this method that we just removed" }, { "prediction": "I think this should be `:Args: filename: The full path you wish to save your screenshot to.`", "reference": "This needs to be just return self.get_screenshot_as_file(filename)" }, { "prediction": "I think this should be `xhr.readyState!== 4 && xhr.status === 0`", "reference": "Shouldn't this return false here?" }, { "prediction": "Should we use `uint32` instead of `uint32`?", "reference": "Should have json tag" }, { "prediction": "I'm not sure if this should be a `static` field.", "reference": "Is this needed after all? Looks like the struct was re-defined inside the test file." }, { "prediction": "I'm not sure this is the right place to put this method. I think it should be `RemoveReachableFiles removeFiles(String metadataLocation)` or `RemoveReachableFiles removeFiles(Table table, String metadataLocation)`", "reference": "I think the name of the method should match the name of the action: `removeReachableFiles`." }, { "prediction": "This should be `manage_consent_types.php` instead of `manage_consent_types.php`", "reference": "can you make the C in Consent lower case to match the other ones in this list?" }, { "prediction": "I'm not sure this import is needed.", "reference": "fix the group" }, { "prediction": "I'm not sure if this is the right place to put this method, but I think it would be better to move this method to `CapabilitiesUtils`.", "reference": "Prefer `Stream.anyMatch` instead of iterating over all slots." }, { "prediction": "why not logging.Base?", "reference": "we have `logging.TestingLog()` that should be used for that purpose." }, { "prediction": "I'm not sure if this is the right fix, but it seems to me that `isxdigit` checks for `'%'` and `'%'` and `'%'` and `'%'` and `'%'` and `'%'` don't seem to be the right fix.", "reference": "This is also a question of style. src[i] will always be valid because of check if 'for' statement" }, { "prediction": "I think this should be `&` instead of `>`.", "reference": "Why change it?" }, { "prediction": "I'm not sure if `index` is the right place for this.", "reference": "nb: this change is unnecessary" }, { "prediction": "This should be `publicLink` instead of `publicLink`.", "reference": "Is the publicLink mostly empty? I'm just wondering how much this will bloat memory usage as sometimes rclone has millions of Object~s in memory." }, { "prediction": "I'm not sure this is the right thing to do here. I think it should be an array of IPAddresses.", "reference": "I don't think the Internal API types need the json annotations. They are never serialised, right?" }, { "prediction": "I'm not sure if this is the right place for this interface.", "reference": "Maybe this was added incidentally. We don't need this function in the interface." }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Is this a safe/reliable way to split the URL?" }, { "prediction": "I think this should be `System.currentTimeMillis()` instead of `System.currentTimeMillis()`", "reference": "do we also need to profile the time to getConnection()?" }, { "prediction": "I'm not sure if this is the right approach, but I think it would be better to iterate over `client_conn` and `server_conn` and do `f[conn][\"alpn_proto_negotiated\"] = flow.alpn_proto_negotiated` here.", "reference": "Should we move the decode part directly to the actual first-use of this? Or how does this affect if the value gets decoded and we need to get the bytes back later?" }, { "prediction": "I think this should be `type` => 'Laminas\\Router\\Http\\Literal', `options' => [ 'route' => '/MyResearch/Holds', 'defaults' => [ ] ] ],", "reference": "How would you feel about continuing to point this at the MyResearchController's holdsAction, but instead changing that action to force a redirect to the new holds-list route? That way, people will get sent to the new URL instead of having two different URLs that do the same thing." }, { "prediction": "I'm not sure this is the right place to put this debug statement.", "reference": "I think if yo use %s then you do not need reason.String() and can just do reason." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Having \"wf\" prefix doesn't make sense anymore. Please remove." }, { "prediction": "I'm not sure if this is a good idea to use `sinon.spy` in this file. I'm not sure if it's a good idea to use it in this file, but it seems like it's a good idea to use it in this file.", "reference": "Removed this copy of the `spyAll` function and replaced it with the same function declared in `helpers.js`. Same for `sortAttributes` below" }, { "prediction": "I don't think this is the right default.", "reference": "Default max cpu should be 8 and memory 64GB" }, { "prediction": "I think this should be `bytes` instead of `nbytes`", "reference": "@itholic, can you remove `nbytes = unsupported_property('nbytes')` at `_MissingPandasLikeSeries`?" }, { "prediction": "Why are these changes removed?", "reference": "What happened to the assertion on `conf.TaskCPUMemLimit`?" }, { "prediction": "nit: `createElement` and `cloneElement` can be combined with `createRef`.", "reference": "Just curious: Is using `Object` faster than a literal `{}`?" }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do.", "reference": "How come we don't allow this to be configured with the ACME issuer? Happy to leave this as-is for now if there's a lot more consideration that needs to be made, but it seems like we could/should be able to allow this?" }, { "prediction": "I think we should remove the `TargetContainer` and `TargetPort` fields from the `NetworkLoadBalancerListener` struct.", "reference": "Should we remove the `Aliases` field as well?" }, { "prediction": "I'm not sure if this is the right place to store samples or translations. I'm not sure if this is the right place to store them.", "reference": "what's the effect of turning these two off? is there an issue on file for context?" }, { "prediction": "I'm not sure if this is the right test type for beta/aad?", "reference": "The format like gcloud-beta-prod is a bit hard to understand. Maybe find a a more clear way to describe it," }, { "prediction": "I don't think we should be using `DistributedContextEntry` here.", "reference": "Are we renaming this too in a follow up PR?" }, { "prediction": "This should be `system::lang.locale.be` instead of `system::lang.locale.ar`", "reference": "The indentation on this is off by one space to the left" }, { "prediction": "nit: `if (FormatIsColor(format) || FormatIsMultiplane(format) || isExternalFormatConversion)`", "reference": "I guess nothing is wrong with this approach, but more curious if you didn't just go `|| (format!= VK_FORMAT_UNDEFINED)) {` As if there ever was another external format system added in Vulkan it would need to be manually added here" }, { "prediction": "I think this import should be `static`.", "reference": "Is order really irrelevant here?" }, { "prediction": "Please remove unused imports.", "reference": "I think this import will be unused now. If it is unused remove it." }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it.", "reference": "Let's change to tx" }, { "prediction": "I think this should be `0.11` and not `0.12`.", "reference": "Looks like I was wrong about the sync cache size being 15% before. There seems to be some reporting bug related to my use of the sync cache, that makes the limit different from the working set cache limit. For now, I say we keep this at `0.10` (change the param default too), and we can change it later if needed." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure if this is the right thing to do. If it is the right thing to do, I'm not sure.", "reference": "I think it'd be a good idea to define the environment variable name as a constant in values.go because it's hard-coded in several places, but that's a small point." }, { "prediction": "I think this should be `:topic_id, :classifiable_type`.", "reference": "Style/SymbolArray: Use %i or %I for an array of symbols." }, { "prediction": "I'm not sure if this is the right test. I'm not sure if this is the right test.", "reference": "Our habit is to go ahead and put a description line (or more) in front of every function, not just non-test or exported functions." }, { "prediction": "I don't think we should add this header to the request.", "reference": "I'm slightly concerned about this because doesn't ORCID use XML instead of JSON?" }, { "prediction": "I think this should be `return datetime.now(timezone.utc) - db_stats.get_timestamp_for_last_user_stats_update() > timedelta(hours=TIME_TO_CONSIDER_STATS_AS_OLD)`", "reference": "brackets around if conditions isn't really pythonic." }, { "prediction": "I'm not sure why we need to close the gRPC listener here.", "reference": "It turn out that when we close server it closed underlying listener itself, so this line always generated and error." }, { "prediction": "I don't think we need to change anything here.", "reference": "Looks like this is for debugging? Maybe just remove." }, { "prediction": "I think this should be `!context.dup.criteria.only(:_id).limit(1).entries.first.nil?` instead of `!context.dup.criteria.only(:_id).limit(1).entries.first.nil?`", "reference": "Same here - this code is duplicated. I think we can just remove the `exists?` method completely from `Criteria` and it should delegate to the context." }, { "prediction": "Is this TODO intentional?", "reference": "I'm not quite sure that we preallocate memory. Do you have a good reason for that?" }, { "prediction": "I don't think we need to lock here.", "reference": "If we have added to s.clients, we could just do the following since if its a route will be ok I think. s.mu.Lock() defer s.mu.Unlock() return len(s.clients) <+ s.opts.MaxConn" }, { "prediction": "nit: `srcLived_` -> `singleReplica_`", "reference": "if the targetLeader is src_ itself, it is really need call transLeader function?" }, { "prediction": "I'm not sure this is the right place to put this method. It looks like it's only used in one place.", "reference": "Can we remove this featureConfig since you removed in L98 (assuming it is not used else where)" }, { "prediction": "I don't think this is needed.", "reference": "namespaces in this file need a sorting" }, { "prediction": "I'm not sure this is the right fix. The default MTU on Azure is 1500, but the underlying network stack will fragment packets at 1400 bytes.", "reference": "This line should actually be: `if c.KubernetesProvider == config.ProviderAKS && c.Wireguard.EncryptHostTraffic {` because we only need to tweak the MTU like this on AKS." }, { "prediction": "I don't think this is a good idea. It's not a big deal, but it's a good idea. It's not a big deal, but it's a good idea.", "reference": "`get` has an optional second parameter that is the default if the key isn't found." }, { "prediction": "This should be `` instead of `\\n`.", "reference": "Please also indent the new response line as was done to the existing line above." }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure it's the right place to do this.", "reference": "Shouldn't need this-> here." }, { "prediction": "I think this should be `MESSAGE_TRADE_NOT_ADVANCE` instead of `MESSAGE_TRADE`", "reference": "I believe this is incorrect, if I'm not wrong, MESSAGE_TRADE should be used when buying/selling items from NPC's" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if this is the best way to do it, but I think it would be better to have the `CreateGraphMassError` method return `CreateGraphDetections(type)` instead of `CreateGraphMassError(type)` and `CreateGraphDetections(type)`.", "reference": "Better if you give split[0], split[1], and split[2] descriptive names than using them this much through so many lines of code." }, { "prediction": "Why was this removed?", "reference": "I know we're deleting this soon but I thought I'd fix it anyway :smile:" }, { "prediction": "I'm not sure this is the right place to put this ternary operator.", "reference": "I like this, makes it clearer what scope the continuation is in" }, { "prediction": "Can we make this change to `A1` instead of `B1`?", "reference": "These test checks if the value of the merged cells is correct. Please revert the changes and set `autoWrapCol` and `autoWrapRow` to `false` to the Handsontable instance. This change applies to the entire mergeCells.e2e.js file." }, { "prediction": "I'm not sure if this is the right place to put this code, but I think it would be better to move it to the `BucketMigrator` class.", "reference": "Don't need to clear them - because nobody have data there, also can don't delete buckets - just leave them, new nodes will not have them if remove bucket from buckets.go" }, { "prediction": "I don't think this file is used.", "reference": "Similarly, this has only one implementing class" }, { "prediction": "Content-Type should be `application/x-www-form-urlencoded`", "reference": "Does it send requests with urlencoded bodies anywhere? I thought it sends only json. Maybe content-type should be `application/json` by default?" }, { "prediction": "I think this should be `?PhpParser\\NodeAbstract` instead of `?PhpParser\\NodeAbstract`", "reference": "I must have forgotten that one in previous PR" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "This test name doesn't really reflect what the test does any more... Then again I'm not really sure what it is testing now - is it actually just testing that FactoryGirl can create records? or does that itself funnel through the rails code so that we're testing rails can create records?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, so I'm not sure if this is the right place to put it.", "reference": "Can this be `BuilderForYAMLObject`" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "better use `with mp.Pool(...) as pool:` here" }, { "prediction": "I think this should be `error(Response.Status.BAD_REQUEST, ex.getLocalizedMessage());`", "reference": "Since this is a config problem, BAD_REQUEST is probably not the right response." }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure it's the right place to put this, but I'm not sure it's the right place to put it.", "reference": "We could probably do 1 sec if we have time, and hence exit early if we have small number of clients. So LB = 60 sec. Grace = 10secs. So 50Sec window, if NumClients < 50, Close 1 every second. Then exit when NumClients == 0." }, { "prediction": "I think this should be `if (this_column == that_col) and (this_name == that_name):`.", "reference": "can you rename `that_col` to `that_column`?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "This is not correct, it will override everything else that is currently in `Widgets`. This file shouldn't be modified at all, we should be adding `components.Widget` in `assets/js/googlesitekit/widgets/index.js`, where the rest of that object is defined. Oh, and there's a typo here :)" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to move the `update` call into the `balance_` function.", "reference": "Each task finished will result in the meta info updated?" }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if it's safe to do this in the `handleAPIKeyChange` method.", "reference": "Quick follow-up @aaemnnosttv, why this and not `.trim()`?" }, { "prediction": "I'm not sure if this should be disabled by default.", "reference": "I don't think we should have file-wide exceptions for this rule, let's annotate the individual instances." }, { "prediction": "I don't think this is the right place for this method.", "reference": "@raprasad you plan to take this \"if true\" out, right?" }, { "prediction": "I think this should be `list(flow.FlowReader(f).stream())` instead of `list(flow.FlowReader(f).stream())`", "reference": "Could you adjust this to `with open(path, \"rb\"):` here and below? We should make sure that we close all files." }, { "prediction": "This should be `kbfs/kbshash.go` or `kbfs/tlf.go`.", "reference": "Does this need its own import block or can it be combined with the imports below as in most other files?" }, { "prediction": "I don't think we need this, since `combine_frames` is only used in `_registered_options` and `_registered_options` are only used in `_registered_options` and not in `_registered_options`.", "reference": "It defaults to `false`." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to do this in the `applyPreflightCorsResponse` function, so that we don't have to do this in every `ServeHTTP` call.", "reference": "Why conditional check is done? As i understand, later both `applyPreflightCorsResponse()` and `allowAllCorsActions()` does the same" }, { "prediction": "I'm not sure this is the right message. I think it should be \"Node %v/%v has not yet exit, OnRegister failed\" or \"Node %v/%v has not yet exit, OnRegister failed\"", "reference": "has not yet exit?" }, { "prediction": "I'm not sure what this field is used for. It seems like it should be removed.", "reference": "I wonder if the version should be part of the deprecation API. It might ease our future selves while debugging issues =)" }, { "prediction": "I think this should be `info` or `warn`.", "reference": "We chose `info` in the test code for obvious reasons. Changing to `finest` makes debugging harder and noisier." }, { "prediction": "I'm not sure this is the right place to put this. It looks like we're passing in `stackLocations` and `codeFlowLocations` to `CaptureAnnotatedCodeLocations`. I'm not sure if that's the right place to put this.", "reference": "This is just a rename..." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Should probably panic here. I think hashers are contracted not to return errors (and returning \"\" doesn't handle the error)" }, { "prediction": "Why did you change the name of this interface?", "reference": "Aside: this is a confusing name for an interface that contains multiple addresses." }, { "prediction": "I'm not sure if this is the best way to do this. It seems like the `Bolt::Node::Success.new` method should only be called if `state == 'finished'` and the `result` variable is set to `Bolt::Node::ResultOutput.new`. I'm not sure what the best way to do this is.", "reference": "We expect to use Bolt::CommandResult for scripts as well?" }, { "prediction": "I think we should be able to just call `superclass.method(:next_runnable_index_for)` without having to pass `next_runnable_index_for` to `superclass.method`.", "reference": "same thing as above inre commas and args?" }, { "prediction": "I think it would be better to have a default value of 100 here.", "reference": "Should we validate that this is between 0 and 100?" }, { "prediction": "I'm not sure about this change, but I think it's a good idea to have `SoftKiller` and `HardKiller` in the same package. I'm not sure if it's a good idea to have them in the same package.", "reference": "`HardKiller` doing `os.Exit()` without proper shutting down other dependencies. I think there should be a better approach for this." }, { "prediction": "I'm not sure if this is the right place to put this function.", "reference": "Why isnt the return value checked?" }, { "prediction": "I think this should be `fmt.Println(\"obj\", obj, fields=fields)`", "reference": "remove this debug" }, { "prediction": "I think this should be `LBANN_ERROR(\"This layer has no children\")`", "reference": "This should change to a call to `Layer::find_layer_index`, which should be renamed to `find_child_layer_index` and it should return a `size_t` (technically the `difference_type` for whatever iterators are going to be used)." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "what is this change about?" }, { "prediction": "I'm not sure why this was removed.", "reference": "Why did we leave the `stderr` param in this case while we removed it from other bake methods?" }, { "prediction": "I think this should be `VerifySameTrustDomainMemberID` instead of `VerifySameTrustDomain`", "reference": "This seems to only be used by the server/ca package.... maybe this can live there instead of being lumped into these API implementation helpers?" }, { "prediction": "I'm not sure if we should be mocking this. I'm not sure if we should be mocking this in the future.", "reference": "hmm.. this is Hacky, the test will succeed in Windows even if you remove the calls to these, right?" }, { "prediction": "I'm not sure if this is the right way to set the ruby version, or if it's the right way to set it?", "reference": "should this block be in the file `05_install_ruby.rb`?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "To match outbounds, let's just call this `Unary: recorder`, `Oneway:...`." }, { "prediction": "I think this should be `encode('utf-8')`.", "reference": "`string.encode('utf-8')` is more common but I guess this is mostly cosmetic :)" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Consider logging `r.Url.Path`? Either way, ship it!" }, { "prediction": "Why not just compute the minTealVersion in the loop?", "reference": "this probably should be done lazely only if logic/app call txn in the group. Or even done in LogicSigSanityCheck?" }, { "prediction": "I don't think we need to set the initiator here.", "reference": "Please move this to `common/enums/defaults.go`." }, { "prediction": "I don't think we need to import `listenbrainz.db.user` here.", "reference": "In general, if you find unalphabetized imports, you should alphabetize them. Fine for now though." }, { "prediction": "Why do we need to pass `duration` here?", "reference": "we should probably deprecate (and display a warning) the misspelled keyword arg here rather than removing it... and then add the new one. This changes a public API and will break any code that is currently using the misspelled version." }, { "prediction": "I don't think this is the right place for this check.", "reference": "Is this if statement here necessary? It looks like this is the same logic that is taken care of in the setter for the property \"CompensationVoltage\"." }, { "prediction": "I'm not sure this is the right place to put this function, but I think it would be better to move it to the `index.py` file, since it's a part of the `index.py` file, and the `index.py` file is a part of the `index.py` file.", "reference": "Eliminate this function; handled by mappings and analyzer" }, { "prediction": "Why not use `$this->router->fromRoute($route, $params, $options);`?", "reference": "I wonder if this new logic would actually fit better as a support method, both for readability and overriding... e.g.
     protected function getRouteNameFromDataSource($route) { if ($route === 'collection') { return $this->getDataSource()->getCollectionRoute(); } elseif ($route ==='record') { return $this->getDataSource()->getRecordRoute(); } return $route; } 
    That's extremely nitpicky, and you can feel free to leave this as-is if you prefer... but that feels marginally better to me." }, { "prediction": "This should be `info` or `finest`.", "reference": "This is in test code: understanding what we're doing is important in this context." }, { "prediction": "I think this should be `llvm` instead of `tinygo.org/x/go-llvm`.", "reference": "This change (and a few similar ones below) are not related to rpi3 support, and should be removed." }, { "prediction": "I think this should be `kwargs = { }` instead of `kwargs.copy()`", "reference": "Hmm, why did we come to need the `,` at the end?" }, { "prediction": "`userProvidedFields` is an object, so we don't need to use `hasOwnProperty` here. `userProvidedFields` is an object, so `hasPath` is a boolean.", "reference": "I'm suspicious of this. For one thing, `query._fields[paths[i]]` may be `0`, `false`, etc. so checking for falsy will catch both cases where both the field isn't in the projection and if the field is explicitly excluded from the projection. For another, I'm not so sure that #6546 is a bug. Let's discuss that more." }, { "prediction": "I'm not sure this is the right place for this, but I think it would be better to have a `Statements` struct with a `map[string][]byte` and a `statement` struct with a `map[string][]byte` and a `statement` struct with a `map[string][]byte` and a `statement` struct with a `map[string][]byte` and a `statement` struct with a `map[string][]byte` and a `statement` struct with a `map[string][]byte` and a `statement` struct with a `map[string][]byte` and a `map[string][]byte` and a `statement` struct with a `map[string][]byte` and a `map[string][]byte` and a `statement` struct with a `map[string][]byte` and a `map[string][]byte` and a `statement` struct with a `map[string][]byte` and a `map[string][]byte` and a `statement` struct with a `map[string][]byte` and a `map[string][]byte` and a `map[string][]byte", "reference": "What is this? I'm a bit unclear why the parser would have a list of statements in it." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if it's a good idea to limit the number of scraped samples per scrape target. If it's a good idea to limit the number of scraped samples per scrape target, then I think it's a good idea to limit the number of scraped samples per scrape target. If it's a good idea to limit the number of scraped samples per scrape target, then I think it's a good idea to limit the number of scraped samples per scrape target.", "reference": "I believe this is Prometheus name, wonder if this is descriptive enough of a label name? @nrchakradhar @simonpasquier wdyt?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if it's the right thing to do.", "reference": "Are most of our other fields default-zero-value? Would `AllowVXLANPacketsFromWorkloads` be a better formulation of this? I think it would make it easier for golang users of the API (default value matches the type zero-value)" }, { "prediction": "I don't think this is the right place for this method.", "reference": "void RemoveTransactions(Address sander, long removeBelowThisNonce) and separate these two calls" }, { "prediction": "I'm not sure if this is a good idea, but I'm not sure if it's worth it. If it's worth it, it might be worth it to make sure we don't get things to work this way as well. If it's worth it, it's worth it to make sure we don't get things to work this way. If it's worth it, it's worth it to make sure we don't get things to work this way. If it's worth it, it's worth it to make sure we don't get things to work this way.", "reference": "Not sure which interest you are looking for to propagate here, but keep in mind that we have helpers (maybe not in /test package?) to check/wait for interest on a literal on a server for a given account." }, { "prediction": "I don't think we need to set it to `false` in `execProcess`.", "reference": "nit: should not need this." }, { "prediction": "I think we should rename this to `_project_dir_size_in_bytes_in_bytes_in_bytes`", "reference": "Since this constant is an implementation detail rather than a user-facing API, is it better to define it in a place where it is used?" }, { "prediction": "I'm not sure this is the right place to put this check. I think it should be `if isinstance(x, (list, tuple) or isinstance(x, dict)`", "reference": "It would be nice if we have some docs explaining this. Core luigi should avoid having hard to understand code." }, { "prediction": "Why not just use `Stemmer` here?", "reference": "extract a method to call from a test" }, { "prediction": "I think this should be a `AtomicInteger`", "reference": "nitpick: regular order is private than final." }, { "prediction": "I'm not sure if this should be a warning, or if it should be a warning, or if it should be a warning, it should be a warning.", "reference": "We could add an old names here, the ideal would be to not force to disable missing-any-param when the old one was already disabled. But they are not really equivalent so maybe you were right to not add it." }, { "prediction": "I think this should be `public const string LINQ = \"LINQ\";`", "reference": ">public const string LINQ = \"LINQ\"; [](start = 8, length = 34) Are there duplicated benchmarks here? #Closed" }, { "prediction": "I'm not sure if this is the right place for this method. I'm not sure if this is the right place for this method.", "reference": "Probably worth taking the opportunity to add yardocs to this method now. Esp. curious about what the options hash accepts." }, { "prediction": "I think this should be `if (surface &&!view)`.", "reference": "This is Very Meh. We want to get rid of `role_data`, and it's an internal field." }, { "prediction": "I'm not sure if `loadExtension` is the right thing to do here, but I'm not sure if `loadExtension` is the right thing to do here. If `loadExtension` is not the right thing to do, I'm not sure if `loadExtension` is the right thing to do. If `loadExtension` is not the right thing to do, I'm not sure if `loadExtension` is the right thing to do. If `loadExtension` is the right thing to do, I'm not sure if `loadExtension` is the right thing to do. If `loadExtension` is the wrong thing to do, I'm not sure.", "reference": "`await this.driver().loadExtension(path);` should work" }, { "prediction": "I think this is a bugfix. The `rescanDeps` function is called before `assertPendingBuilds` and now `assertPendingParses` is called after `assertPendingBuilds`.", "reference": "Is any of this needed anymore?" }, { "prediction": "I'm not sure this is the right size for this file.", "reference": "Can you add a mention here and in `ostree-repo.c` that the holes were found with `pahole`?" }, { "prediction": "Line is too long. [82/80]", "reference": "While we're changing this, I wonder if we can do away with `extra_controller_params`.. Maybe a new type of `solr_search_params_logic` that appends the attributes?" }, { "prediction": "I'm not sure this is the right place to rescue this, but I think it would be better to move this to the `PuppetAcceptance::DSL::Helpers.with_puppet_running_on` method, so that we don't have to duplicate the logic in `with_puppet_running_on`.", "reference": "I believe that you only need to rescue Beaker::DSL::Assertions, as they include Minitest::Assertions." }, { "prediction": "I think this should be `activity.ActivityTraceFlags &= ActivityTraceFlags.None;` instead of `activity.IsAllDataRequested = false;`", "reference": "Do we need `&=` or `=` is sufficient?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Let's keep both of these here. It should work on most any version of Drupal 8 then true?" }, { "prediction": "Is this change intentional? I don't see it in the PR description.", "reference": "@lmolkova This ok? I'm getting random failures from the build checks that don't happen locally from a few non-deterministic time related comparisons." }, { "prediction": "I don't think you need to change this file.", "reference": "Q: are we supposed to change this for files that already exist?" }, { "prediction": "I think this should be `selection_specs=[DynamicMap]` instead of `[DynamicMap]`", "reference": "I count only four times where `selection_specs` had to be specified as a keyword instead of by position! If that is how often it was used that positional argument in our own codebase, I am pretty certain users barely used it (if at all)." }, { "prediction": "I'm not sure how to test this, but I'm not sure how to test it.", "reference": "is this test for the case above? seems to cover a numeric rather than empty val?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "I like the general idea, but this will break: - JSON is not binary-safe, so anything binary will break this. - JSON is super slow for multiple-MB things - We want to have drag-and-drop upload - the easiest way to implement this is FormData upload, so we should have a multipart/formdata endpoint. Can we put to /flow/content?" }, { "prediction": "I think this should be `static bool dynamo_synched = false;`.", "reference": "_and_synched seems to be more consistent w/ exited_and_cleaned" }, { "prediction": "I don't think this is needed.", "reference": "nit: in case of whole file `ifdef` it may be helpful to have `_netcore31` suffix it in the name of the file as well." }, { "prediction": "I don't think you need to cast `long` to `ConnectionType` here.", "reference": "should use Number instead of Long" }, { "prediction": "I don't think we should be overriding the default scope here.", "reference": "Had no idea that method existed!" }, { "prediction": "I think this should be `monkeypatch.setattr(tabwidget.objects, 'backend', usertypes.Backend.QtWebKit)` instead of `monkeypatch.setattr(tabwidget.objects, 'backend', usertypes.Backend.QtWebKit)`", "reference": "I wonder if we shouldn't just do `w.show()` here, which causes Qt to correctly calculate the sizes." }, { "prediction": "I think this should be `'s3a://' + object_store.bucket + '/' + target_path`", "reference": "may be nice to have helper method to generate s3 paths rather than the minor code dup" }, { "prediction": "I'm not sure if this is the right way to do it, but I think it would be better to do `this.get('hasValidated').addObjects(['blogTitle','session']);` instead of `this.get('settings').fetchPrivate()`", "reference": "This isn't needed here, we still run `this._afterAuthentication` which loads settings & config - the reason the settings fetch is here is to make sure we have all the settings before saving the blog title rather than fetching everything once auth has completed. Probably moot anyway as the oauth code will be removed shortly" }, { "prediction": "I'm not sure this is the right way to check for `c1.ClientCAs` and `c2.ClientCAs` here.", "reference": "This line is getting a little long; let's move the conditions to at least two lines (maybe three)." }, { "prediction": "I'm not sure why this is needed.", "reference": "Don't use relative paths. src directory is already on the include search path" }, { "prediction": "Line is too long. [82/80]", "reference": "Line is too long. [86/80]" }, { "prediction": "I don't think you need to do this. You can just do `original_twitter_digits_path = File.expand_path('../../../../app/lib/twitter_digits.rb', __FILE__)`", "reference": "We have to navigate up four directories to come down three? I see it, but it's kinda icky. Is something like `load Rails.root + 'app/lib/twitter_digits.rb'` out of fashion nowadays?" }, { "prediction": "This should be `dma_h = FPGA_EXCEPTION;` instead of `dma_h = FPGA_EXCEPTION;`", "reference": "Empty space at end." }, { "prediction": "Align the parameters of a method call if they span more than one line.", "reference": "I think similar to line 176 here we'll want to call `detect_project_conflict` after overriding this." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's a good idea to put this in a separate PR.", "reference": "How about `const { promises: fs } = require('fs')` and then replacing `fs.promises.` with `fs.`?" }, { "prediction": "I think this is the only place where the defer is needed.", "reference": "This ignores errors closing the body. Not likely to happen, but no reason to take the risk either." }, { "prediction": "I'm not sure this is the right place to do this. The `args.length > 0? String.format(query, args) : query` is the right place to do this.", "reference": "Why was this change needed?" }, { "prediction": "I don't think we need this.", "reference": "Needs a description added to CommandArgsUsage.resx" }, { "prediction": "I think we should use `StringUtils.getQuantityString(context, R.plurals.download_report_content, successfulDownloads, successfulDownloads, failedDownloads);`", "reference": "The line is a bit too long. That's why the test currently fails. Please break it into two lines." }, { "prediction": "I'm not sure if this is the right place to put this method, but I think it would be better to move this method to `CapabilitiesUtils`.", "reference": "Prefer `Stream.anyMatch` instead of iterating over all slots." }, { "prediction": "I'm not sure if this is a good idea. I'm not sure if this is a good idea.", "reference": "Can this just be a feature flag to check if it's on? This will give us flexibility on launch date (which could be turned on July 1st) and allow us to easily revert back in case the policy is reverted." }, { "prediction": "I'm not sure if this is a good idea, but I'm not sure if it's a good idea to add a `Bus` field to the ADC struct, or if it's a good idea to add it to the ADC struct itself.", "reference": "Due to this change, src/examples/adc needs to be modified" }, { "prediction": "I'm not sure if `singlePtr` is the best name for this struct. It's not a pointer, it's a pointer.", "reference": "`s/singlePointer/singlePtr` or please rename the type to `singlePointer`." }, { "prediction": "I'm not sure about this change. The vote_generator_delay should be set to the current delay, not the current delay. The vote_generator_delay should be set to the current delay, and the current delay should be set to the current delay, not the current delay.", "reference": "Do we need it? If right now it's toml" }, { "prediction": "I don't think this is needed.", "reference": "You are never calling oldUnmount, this could lead to a plugin chain failing." }, { "prediction": "I'm not sure if this is the right fix.", "reference": "What does setting partitionInfo to null mean exactly?" }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to use `isinstance(data, dict)` instead of `isinstance(source.data, dict)`", "reference": "Not sure you need the initial ``not_updated`` as ``any([])`` evaluates to false." }, { "prediction": "I'm not sure if this is the right place to put this column. I think it should be `created_at` instead of `created_at`.", "reference": "Since this migration hasn't been merged to master yet, what do you think about just squashing these two into the migration you really want?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "This doesn't apply to all developers" }, { "prediction": "Why not just load the `api_form.xml` from the `$container->getParameter('kernel.bundles')`?", "reference": "I think `serializer.xml` can be moved into condition below too" }, { "prediction": "I don't think we need to run from command line.", "reference": "Probably put this in a simple README.md file?" }, { "prediction": "I don't think this is a valid enum, but I'm not sure if it's a valid enum.", "reference": "Super Cool bitwise Minor: Most likely you don't need `System.Collections.Generic`, `System.Linq` & `System.Threading.Tasks`" }, { "prediction": "I think this should be appId + \" + microserviceName + \" + version\"", "reference": "If we just return the TCC, maybe we need to update the method name for it." }, { "prediction": "This is a breaking change. The `CreateOperationDisplayString` method is only ever used in the `MethodGroup` constructor, so it should be removed.", "reference": "For consistency, shouldn't this use `SwaggerModeler.GetMethodNameFromOperationId(method.Name)` as above? I'd just reuse `\"Additional parameters for \" + SwaggerModeler.GetMethodNameFromOperationId(method.Name) + \" operation.\"` here, `string.Format` with `CultureInfo` is complete nonsense here anyways." }, { "prediction": "This change is unrelated to this PR.", "reference": "As this is just a backport, I guess it is fine to leave these timings, although they are not enough to make tests stable." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "Why this way?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Changing this because otherwise the second run of testExtractCompilationsEndToEndWithDatabase will try to overwrite a generated file and fail. Maybe there's a better way?" }, { "prediction": "I don't think this is the right place to do this, but I don't think this is the right place to do this.", "reference": "This modification is not correct. Suggections: 1. upgread guava to 30.0-jre will fix this issue" }, { "prediction": "I think this should be `error` instead of `bool`.", "reference": "All changes to signature code stem from here. The syscalls interfaces expects VerifySignature to return an error. I performed the change here and bubbled it up through the rest of the code - mostly mechanical." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to keep the `strictTraceId` and `searchEnabled` as `@Nullable`.", "reference": "This strategy seems good. Just wondering do you think this is a good time to move stuff out of core? For example, I guess storage, since it's for use by server and not client, doesn't need to be Java 6?" }, { "prediction": "I don't think this is the right place to do this. If `filterExpressions` is `null`, then `table.spec().fields().size() > 0` will always be true. If `filterExpression` is `alwaysTrue`, then `table.spec().fields().size() > 0` will always be true.", "reference": "We had a wrong predicate before: we compared a list to an expression." }, { "prediction": "I think this should be `user::rw-\\nuser:0:rwx\\nuser:65534:rwx\\ngroup::rwx\\nmask::rwx\\nother::r--\\n`", "reference": "Name copy-pasted from above. \"empty\"?" }, { "prediction": "why is this removed?", "reference": "May I ask why change this?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Does this mean we now always include the dictionaries even if they're empty? If so, we should make sure that this doesn't break the Agent (even older versions). It's possible that it doesn't handle empty dictionaries well." }, { "prediction": "I think this should be `FastSync` instead of `FastSyncCatchUpHeightDelta`.", "reference": "The description and name is unclear. Typo in 'which'." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if it's a good idea to put this in a bridge, but if it's a good idea to put it in a bridge, I think it's a good place to put it in a bridge.", "reference": "Files should have an extra line at the end of them." }, { "prediction": "This should be moved to proc_set_num_simd_saved()", "reference": "> i#1312 AVX-512 support: Add code cache to/from context switching. s|to/from|| (redundant and mildly confusing (called \"enter\" and \"return\" in code))." }, { "prediction": "I don't think dag_file_exists() is needed here.", "reference": "This stat may fail, right? I think dag_file_exists does not actually check the file is there." }, { "prediction": "I think this should be `{}` instead of `{}`.", "reference": "I think we can make a safe assumption that if only two values are passed in then you have `(optionsToValidate, optionsForValidation)`, if its three then you have `(optionsToValidate, overrideOptions, optionsForValidation)`" }, { "prediction": "I'm not sure if we need to do this here. I think we should just pass the shards as an argument to `WriteLevelDB` instead of passing it as an argument to `Run`.", "reference": "If there are more items to add to what's being written out here, please add a TODO." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "Can you add an `else:` case to handle an invalid length? That will prevent weird errors." }, { "prediction": "I don't think this constructor is used anymore.", "reference": "* We need to deprecate/internalize first on master. * We should directly make the AST node final now * The setter `setName()` can be package-private." }, { "prediction": "I think we can remove the `sampleParamConfigMap()` method from the `InitCodeTransformer` class.", "reference": "Where did this functionality move to?" }, { "prediction": "Can we use `String.format` instead of `String.format`?", "reference": "maybe should firstly check whether current tidb support `split table region`?" }, { "prediction": "I think this should be `./legacy-notifications/error-notification.js`", "reference": "Please use the same (plural) name for the new component since it renders multiple notifications." }, { "prediction": "I think this should be `%v` instead of `%v`", "reference": "Perhaps show attempt x of y in message ie: Failed to download block %d (attempt %d of %d). %v" }, { "prediction": "I think we should throw an exception here.", "reference": "why did you took `Exception` out? Is this method only throwing runtime exceptions?" }, { "prediction": "I don't think we should remove the BLUF here. The objective does logistic regression and generalizes to the case where labels are probabilistic (i.e. numbers between 0 and 1).", "reference": "please revert all of these unrelated whitespace changes" }, { "prediction": "I don't think we need this enum.", "reference": "PGP_INLINE is clearer IMHO" }, { "prediction": "I don't think this is needed.", "reference": "Please group imports" }, { "prediction": "I don't think this is the right default.", "reference": "Would it make sense to expose this as a config option in `TestHiveMetastore`? A small number of worker threads helped us to catch a few connection leaks early on." }, { "prediction": "I'm not sure if this is correct. The `dilation_h * (kernel_h - 1) + 1` and `dilation_w * (kernel_w - 1) + 1` are the same. The `dilation_h * (kernel_h - 1) + 1` and `dilation_w * (kernel_w - 1) + 1` are the same. The `dilation_h * (kernel_h - 1) + 1` and `dilation_w * (kernel_w - 1) + 1` are the same. The `dilation_h * (kernel_h - 1) + 1` is the same as the `dilation_w * (kernel_w - 1) + 1` is the same as the `dilation_h * (kernel_h - 1) + 1` and `dilation_w * (kernel_w - 1) + 1` is the same as the `dilation_h * (kernel_h - 1) + 1` is the same as the `dilation_h * (kernel_h - 1) + 1` is the same as the `dilation_w * (kernel_w - 1) + 1` is the same as the `", "reference": "Let's fix the extra spaces above." }, { "prediction": "`T extends WebElement` should be `T extends WebElement`.", "reference": "should a similar change be done for findElement?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "// Keys are stored in an in-memory map, where the key is the name of the // private key, and the value is the structure where the actual private key and the password are // stored." }, { "prediction": "I'm not sure if this is the right place to put this in, but I'm not sure if it's worth it.", "reference": "I think this needs a json inline tag here" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Hi @cjimison good point but doesn't this break the compatibility with Erlang/OTP prior to 17.0? I think this could be done over an conditional macro defined in the rebar.config: `{erl_opts, [ {platform_define, \"^R\", pre17} ]}` and some additions with `-ifdef(pre17).... -else.... -endif.`" }, { "prediction": "I think this should be `peer.ErrPeerListNotStarted(\"RoundRobinList\")` instead of `peer.ErrPeerListNotStarted(\"RoundRobinList\")`", "reference": "should we change/wrap the error?" }, { "prediction": "I'm not sure if this should be debug or trace. I'm not sure if it's worth it.", "reference": "Are we sure that passing this log in warning does not risk spamming the logs of a node running on the mainnet or on ropsten etc? Do we often receive invalid messages of this type?" }, { "prediction": "Line is too long. [82/80]", "reference": "I'd like to avoid a method call here atm since this is an extremely hot line in the code." }, { "prediction": "why did you change this?", "reference": "Is this a bugfix?" }, { "prediction": "I think we should keep this list as `FallbackSources` if we don't need it anymore.", "reference": "Is this a relevant change?" }, { "prediction": "I think this is a bug fix.", "reference": "@dansanduleac what do you think of this one? dots were aligned and no longer are" }, { "prediction": "I think we can remove the `if (fromAppDelete)` as well.", "reference": "Why we dont delete app specific notes when app is deleted?" }, { "prediction": "I think this should be `setPluginEnabled(plugin.getType(), false);`", "reference": "The _OverviewPlugin_ is forcefully enabled without the option to disable it, using _PluginDescription.alwaysEnabled_. That should also work for this plugin?" }, { "prediction": "I'm not sure if this is a good place to put it. I'm not sure if it's a good place to put it.", "reference": "Can you facet on this new externalStatus Solr field?" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to do `Array(filter(value)).select(&:any?)` instead of `.map { |f| filter(f) }.select(&:any?)`", "reference": "I wonder if it would it make sense to push the pivot facet handling down into `FilterField` (or maybe a subclass, `PivotFilterField`?)?" }, { "prediction": "I'm not sure if we should leak the implicit return value here.", "reference": "Ah I see what you were saying about making it harder to validate types. We'll have to catch the return for that." }, { "prediction": "I think this should be done in the `BaseActivity` class instead of in the `BaseActivity` class.", "reference": "Try using using `.setDismissOnTouch(true)` instead" }, { "prediction": "I don't think this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Zach, is `UpdateSpan` of concern too? I see that it is called from `ExecuteAsyncInternal`." }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have a `TypeDescription` class with a constructor that takes a `Type` and returns a `TypeDescription` object.", "reference": "Nit: its scope can be reduced to package default" }, { "prediction": "I think this should be an ApplicationScheduler instead of an ApplicationScheduler.", "reference": "Why is this get;set;?" }, { "prediction": "I think this should be `network_factory().ShrinkLocatorLists(wdata.endpoint.unicastLocatorList);`", "reference": "Should we also create sender resources for unicast locators? Should we make a similar change on StatelessReader?" }, { "prediction": "I don't think we need to change the docstrings here.", "reference": "Can we use `dotnet` instead of `net`?" }, { "prediction": "I don't think we need to do this. I think we should just call `FlushAsync()` in `StartSpanAsync()`.", "reference": "Should this be `ForceFlushAsync`? Given we have the `async` suffix elsewhere." }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Is this change intentional?" }, { "prediction": "Why did you remove the `Dictionary`?", "reference": "This could be an integer property if we supported explicitly setting non-string-valued properties." }, { "prediction": "Why is this needed? I don't see it being used anywhere.", "reference": "this is not consistent with the previous annotation - is it because of the usage in `Admin\\Content\\Category\\list.html.twig` twig template? Should not it be at least mentioned in the commit message? :slightly_smiling_face:" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put this, or if it's the right place to put this, or if it's the right place to put this, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it, or if it's the right place to put it.", "reference": "why add `return` here?" }, { "prediction": "I don't think this is the right place to check MDC correctness.", "reference": "put this hash in variable" }, { "prediction": "Why are we removing this?", "reference": "Why not use `kbfsblock.ZeroRefNonce`?" }, { "prediction": "I think this should be `LightGBMCallbackEnv` instead of `LightGBMCallbackEnv`", "reference": "what mypy warning does this address? I'm confused by this change." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "Note that `hasAttacked` that is called before this function already performs this check. You probably don't need to check `hasAttacked` then." }, { "prediction": "I don't think this is necessary. The `raw-loader!@salesforce/design-system-react/components/carousel/__examples__/default.jsx` file is only used in `src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-US/src/en-", "reference": "Unfortunately, the site example only has access to imports from `components/index.js` that means that you can't import the items file `carousel-items.js`. You can import that file in all the other storybook files though." }, { "prediction": "I don't think `privkey2electrum` is the right name for this script.", "reference": "Leave this out and move the script to the scripts folder." }, { "prediction": "I'm not sure this is the right thing to do here. The `switchTo()` method is supposed to switch to the window, not the handle.", "reference": "This should only be sent if the driver is speaking to a W3C conformant remote, so we need an if-condition check like we have in the Python bindings." }, { "prediction": "I don't think we should be using `IConnection` here.", "reference": "TransferFormat.Text in general purpose connection interface? :/" }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to have `@executable_path = binary_path(executable_path)` instead of `@executable_path = binary_path(executable_path)`", "reference": "Is this `@missing_text`?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do.", "reference": "This work for both sides?" }, { "prediction": "I think this import should be in `wp/components/dashboard/widgets/widgets.js`.", "reference": "`lodash` shouldn't be grouped under WordPress dependencies" }, { "prediction": "I think this test should be renamed to `test_get_global_operations_with_project_id_and_quota`", "reference": "Include the standard parameterized error tests as well." }, { "prediction": "I think this should be `m.Group(\"/forks\", func() { m.Get(\"/commits/:commitId\", middleware.RepoRef(), v1.ForkRepo) })`", "reference": "All lowercase in route rule." }, { "prediction": "I don't think we need to check for `response.properties.length == 1` here.", "reference": "I'd suggest we use `response.profiles[ 0 ].webPropertyId` here instead, to make sure it's based on the profiles retrieved. The value _should_ be the same, but I think it's a bit more accurate like that." }, { "prediction": "I think this should be `rangeToDisplay += 6;` instead of `rangeToDisplay = rangeToDisplay > 24? 6 : rangeToDisplay;`", "reference": "This doesn't change the default of 6h, but will increase the displayed timeframe by 3h for each long press, before wrapping around to 3h. This requires 7 long-presses - quiet a journey..." }, { "prediction": "I'm not sure if this is the right place to set the head.", "reference": "We still need to figure out a way to get rid of this write method. Is this still necessary?" }, { "prediction": "I don't think we need to check the full set of partition ids here. I think we should check that the full set of partition ids is what we expect.", "reference": "`assertItemsEqual` compares the sequences after sorting them, is that intended?" }, { "prediction": "Line is too long. [87/80]", "reference": "I don't think this one needs to be changed since the only previous path is already an absolute one." }, { "prediction": "I don't think we should be doing this for ARM. It's not a valid ARM service definition, it's just an ARM service definition.", "reference": "what's the goal of this?" }, { "prediction": "Why not use hamt.MessagePool?", "reference": "why is this here? We already have a message pool in the node." }, { "prediction": "I think we should be able to test that the workflow state is `RUNNING` or `COMPLETED` depending on the workflow state.", "reference": "Another mess after all renames and enum conversions. Doesn't break anything though." }, { "prediction": "I think this should be `storage_strict_json_enabled` instead of `storage_strict_json`.", "reference": "I don't think it's necessary to change this for the history plugin tests?" }, { "prediction": "Why is this change necessary?", "reference": "In general, I suggest using the `kind()` getter inhereted from `TransportInterface`" }, { "prediction": "Why are we removing the AppDomainFixedOutput attribute?", "reference": "Is the removal of `[AppDomainFixedOutput]` on purpose? (looks like a copy-paste...euh..remove error)" }, { "prediction": "Please remove the `//snippet-sourcedescription:[Code Sample] //snippet-service:[AWS IAM] //snippet-sourcedescription:[Code Sample] //snippet-service:[AWS Identity and Access Management (AWS IAM) users.] //snippet-sourcedescription:[Code Sample] //snippet-service:[AWS Identity and Access Management (AWS IAM) users.] //snippet-sourcedescription:[Code Sample] //snippet-service:[AWS Identity and Access Management (AWS IAM) users.] //snippet-sourcedescription:[ListUsers.java demonstrates how to list all AWS Identity and Access Management (AWS IAM) users.] //snippet-keyword:[Code Sample] //snippet-service:[AWS IAM] //snippet-sourcedescription:[ListUsers.java demonstrates how to list all AWS Identity and Access Management (AWS IAM) users.] //snippet-sourcedescription:[ListUsers.java demonstrates how to list all AWS Identity and Access Management (AWS IAM) users.] //snippet-sourcedescription:[ListUsers.java demonstrates how to list all AWS Identity and Access Management (AWS IAM) users.]", "reference": "AWS Identity and Access Management (IAM)" }, { "prediction": "I think this should be `crypto.PublicKey` instead of `public_key`", "reference": "gofmt everything pls" }, { "prediction": "I think this should be `type=PodIOChaosStatus struct { }` instead of `type=PodIOChaosStatus struct { }`", "reference": "ditto, We do not need add this feature for PodXXXChaos" }, { "prediction": "I'm not sure this is the right place to put this method.", "reference": "There is a simpler way to do this: 1. Don't bother with the whole lowerCamelApiTypeName in SampleConfig 2. Use this code: `return localVarName(Name.upperCamel(apiTypeName, \"Service\"));` Basically, each of the static creation methods of Name just need to have their arguments all be in the same casing, so you would just pass the upper camel string \"Service\" here." }, { "prediction": "IsCompatibleTo() needed here?", "reference": "Can you explain this change to me?" }, { "prediction": "I think this should be `storageclass-1r.yaml`", "reference": "let us rename the artifact to `storageclass-single-replica.yaml`" }, { "prediction": "Why is this class renamed to `Transport.Libuv.Internal.Networking`?", "reference": "Nit: I should have done this before, but rename the file to LibuvFunctions.cs. Make sure no other files are misnamed." }, { "prediction": "I think we should use `UUID.UUID_MAX` instead of `UUID.UUID_MAX`", "reference": "We should not add new types unless absolutely required. I'm not sure `UUID` is requires a new type" }, { "prediction": "I think this should be a class level class rather than a class level class level class.", "reference": "If only Gatling uses it, can we skip introducing new entity for now? Looks like overkill..." }, { "prediction": "I'm not sure if this is the right response type for this endpoint.", "reference": "rename -> info?" }, { "prediction": "This should be `config_path=None` instead of `config_path=dict(section='scheduler', name='upstream-status-when-all')`.", "reference": "Remove the `config_path=dict(...)`, that is automatic!" }, { "prediction": "I'm not sure if `getFlattenedTree` is the right thing to do here, but I'm not sure if `querySelectorAll` is the right thing to do here.", "reference": "I had to create a new flattened tree to support this functionality. The only other place in which a flattened tree is created is during the audit itself. Since `axe.cleanup` can be called at any arbitrary time, we can't reuse the same tree." }, { "prediction": "I think it would be better to move this method to ConfigUtil class. This way we don't have to create a new instance every time we create a new ConfigModel.", "reference": "As this method is just set the internal cofigModel, it's better to use setConfigs instead of addConfigs." }, { "prediction": "I'm not sure if it's worth it. I'm not sure if it's worth it, but I think it's worth it.", "reference": "Is this line needed?" }, { "prediction": "nit: remove empty line", "reference": "nit: import formatter" }, { "prediction": "I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it, so I'm not sure if this is the right way to do it.", "reference": "can you use LINQ's `All` instead? Should be a side-effects free one liner with that." }, { "prediction": "This should be `#ifndef __ANDROID__` instead of `#ifndef __ANDROID__`", "reference": "Could you please remove `#include ` as a whole and see what happens? I believe that this is no longer needed; it was necessary when we called `posix_spawnp` directly, but now we use `h2o_spawnp`." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do.", "reference": "`whether this resource is paused` to `whether this resource has been paused`? To keep same doc style." }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if it's a good place to put it.", "reference": "This method is validating permission for hp flow. Can you please rename this method to convey the same?" }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to use `!!` instead of `!!`.", "reference": "Just to confirm, do we actually want to explicitly set the `kBeforeHandshake` symbol on all network errors regardless of whether the options/property is passed in?" }, { "prediction": "I think this should be `r.logCxt.Info(\"Queueing a resync.\")` instead of `r.inSync = false`", "reference": "How soon after this will Apply() be called? It would be a shame if there was still a significant delay before a missing or superfluous route was corrected." }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix, but it seems to be the right fix.", "reference": "While this is commonly correct, the more reliable check is to get the package's identifier from the type checker and check those for equality. The information should be there, just another matter of plumbing it." }, { "prediction": "I think this should be `full_parent_name == 'composite_root/root/'.format(resource_type_name)`", "reference": "Just to clarify, should this be 'composite_root/root/' or 'composite_root/'?" }, { "prediction": "I think this should be `status.SubscriptionID = \"\"` instead of `status.SubscriptionID = \"\"`", "reference": "Any reason not to move it to after line 281? These are all pubsub related fields IIUC." }, { "prediction": "I'm not sure this is correct. Zero is not considered negative.", "reference": "Checks if value is a negative `Number` primitive or object. Zero is considered neither positive nor negative." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "Just a nit, but remove the empty line here. :)" }, { "prediction": "I don't think this is the right place to set vn.Path. I'm not sure if this is the right place to set vn.Path.", "reference": "A `GoPackageInfo` details message should be added to the `CompilationUnit_FileInput` to ensure the import path remains the same." }, { "prediction": "Please remove unused imports.", "reference": "Please don't create new fields with the `m` prefix. I'd rather mix than introduce more of these." }, { "prediction": "I think it would be better to use `getInteger(\"circuitBreaker/memoryCircuitBreakerThresholdPct\", 95);` instead of `getInt(\"circuitBreaker/cpuCircuitBreakerThreshold\", 95);`", "reference": "Can we please simplify these names? they are awfully verbose and repeating the parts that are already unique and obvious." }, { "prediction": "I think this should be `!singleBccRecipientFromAccount &&!alreadyVisible ||!singleBccRecipientFromAccount`.", "reference": "Flipped the logic here, was this actually wrong before?" }, { "prediction": "I think this should be `bool nat_lvl1_drop = 0;` instead of `int res = 0;`", "reference": "I think (a) should be initialized to `NAT_FE_LOOKUP_ALLOW` and (b) it should be probably the first thing in `calico_v4_nat_lookup2`" }, { "prediction": "I think this should be `./gradlew testClasses` instead of `./gradlew testClasses`.", "reference": "I'd look as to what this class actually does... seems weird. Classpath below (under \"run\") is wrong for gradle." }, { "prediction": "This import should go under `algorand/data/basics`", "reference": "Group w/ algorand imports" }, { "prediction": "Please revert this change.", "reference": "I don't think this import is being used." }, { "prediction": "Why is this needed? I don't see any usages of `Root` in this file.", "reference": "This is an interesting way to do this. I like it. An alternative way to implement a multiple kind pattern was to have this return `AnyKind` and then have match perform an actual check to see if it matches." }, { "prediction": "I think this should be `$config['cdn']['fallback']['master']?? $config['cdn']['fallback']['primary']`", "reference": "You did not check this code" }, { "prediction": "I think this should be `errors.New(\"expected %d parameters, but got %d\", len(types), len(data))`", "reference": "This was necessary due to a bug uncovered in testing. If an actor method which requires params is called without any params at all, not returning an error here causes a panic." }, { "prediction": "I think this should be `group-log` instead of `group`.", "reference": "Thanks for the pr. Would you be able to edit the file to use spaces rather than tabs? Normally we have prettier run on commit, but I guess file patches don't do that." }, { "prediction": "Why is this test removed?", "reference": "Is it intentional that we removed this annotation?" }, { "prediction": "I don't think this is the right place to put this.", "reference": "should be general?" }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "if lowest inserted header is non null non zero then pivot should be higher and a better best known on the left. maybe Head?.Number?? Math.Max(Pivot, LowestInsertedHeader))?" }, { "prediction": "I think we can remove the `AzkabanExecutorServer` and `AzkabanExecutorServer.initialize(new Props())` methods.", "reference": "Is a FakeApp class needed? Can test use a Mockito mock instance instead?" }, { "prediction": "I think this should be `IsConstantValueData` instead of `IsConstantValueData`.", "reference": "We should make this an enum." }, { "prediction": "I think this should be `@\"C:\\dir\\file\"` instead of `@\"C:\\dir\\file\"`.", "reference": "@lgolding, note I fixed the forward slashes that appeared in the VS output (which was certainly not by design)." }, { "prediction": "I think this should be `self.handles['y_range'] = plot.y_range`", "reference": "Minor unrelated fix that snuck in." }, { "prediction": "Please revert these changes.", "reference": "Took the opportunity to fix the import ordering." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "I think int and float can be handled in one if statement. The subsequent calculations don't really care whether it si a float or an int." }, { "prediction": "Why did you change this?", "reference": "Can we keep this at 10 to reduce the probability of a flake? Or are you afraid this would be too likely to give a false positive if delayed cancellation is every actually broken?" }, { "prediction": "nit: remove empty line", "reference": "nit: add a blank line under this." }, { "prediction": "I think this should be `action_chain_id` instead of `action_chain_id`.", "reference": "no need to add this flag query the endpoint set-up to determine the chainID" }, { "prediction": "I'm not sure if this is the right way to do this.", "reference": "Here is a few scenario - What if there is a submit button with in a form, but is always disabled?" }, { "prediction": "I'm not sure if we should use the same name for the `Wex` and `Vex` types. I'm not sure if we should use the same name for the `Wex` and `Vex` types.", "reference": "wrong code: should be `Wh_e`" }, { "prediction": "I'm not sure this is the right place to do this.", "reference": "This leads to a small \"leak\" (mostly theoretical only though), if we don't want it this could be created in `initialize()` and destroyed in `finalize()`." }, { "prediction": "Why is this needed?", "reference": "BuildIDOSEnvVarName or similar, otherwise it sounds it's actually holding actual value of env var" }, { "prediction": "I don't think this is the right place to put this message.", "reference": "I like this standard \"container has started\" message. Should we have a \"container exited because FOO\" message as well?" }, { "prediction": "I think this import should be removed.", "reference": "And again. The reason it's bad is that if someone uses a JDK not produced by Oracle they won't have this class." }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to move the `applyToWindow` logic into the `applyToWindow` function, so that we don't have to duplicate the logic in the `applyToWindow` function. This way we don't have to duplicate the logic in the `applyToWindow` function, and we don't have to duplicate the logic in the `applyToWindow` function.", "reference": "We have Vue application at our disposal, and have examples container implemented as component. Shouldn't helpers be imported instead being global? Not the best practice in Vue app I guess" }, { "prediction": "I'm not sure this is the right error type for this function. It seems like it should be `Error performing %s operation: the disk cache is closed.`", "reference": "No trailing punctuation in the error message." }, { "prediction": "I think this should be `clip.stop()`.", "reference": "tested? seems like it could break" }, { "prediction": "I'm not sure this is the right place to suppress this warning, but I'm not sure if it's a good idea to suppress it.", "reference": "This have to be public because the renamed o.a.l.backward_index.TestBackwardsCompatibility refers this." }, { "prediction": "Why is this change needed?", "reference": "unrelated to your change, but I don't think that this is correct anymore. We also seen to remove application support from `primaryNodeUnupgradedProtocol` for the test to be correct." }, { "prediction": "I don't think we need to do this here. If we are going to assume a role via OIDC token, then we need to copy the session name from `envCfg.IAMRoleSessionName` to `sharedCfg.AssumeRole.RoleSessionName`.", "reference": "Should this also validate that the RoleArn env var is provided, or just let the creds fail?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "fwiw, in tchannel-go I've implemented a similar method on TChannel that either returns a Tracer instance it was initialized with, or returns `opentracing.GlobalTracer()`, which by default happens to return a singleton instance of `NoopTracer`. In Go the use of global variables is not frowned upon as say in Java, so this pattern allows minimal work to enable tracing in a service, one just needs to store a real tracer in the global variable, e.g. via `opentracing.InitGlobalTracer(someTracerImpl)`, while the instances of TChannel do not need to be explicitly given any tracer since they will default to that global." }, { "prediction": "I think this should be `expected_error_message = \"Series.name must be a hashable type\"`.", "reference": "Shall we also add `ks.Series([1, 2, 3], name=[\"0\", \"1\"])`?" }, { "prediction": "I don't think this is the right place to put this. The `enodeList` is a `List`, so it should be `ImmutableList.of(enodeList)`.", "reference": "Can this be updated?" }, { "prediction": "I'm not sure if this is the right place to put this, but it seems to me that the `quality` parameter should be set to `null` if `quality` is `null` and the `format` parameter should be set to `null` if `quality` is `null` and the `format` parameter should be set to `null` if `quality` is `null`.", "reference": "this change is to avoid duplication on the defaults. They are already on the Configuration class. (Also I removed the false default, because the admin format does not have it). This is also produces the rest of the diff, changes from false to null." }, { "prediction": "I'm not sure if this is the right place to lock the container, but I'm not sure if this is the right place to unlock the container.", "reference": "What does it protect from? If it's subsequent CNI calls, won't containerID be different from the first one? or it's different in containerd? we use `getInfraContainer` to get the lock identity in CNIAdd. And this reminds me what if the first CNI call and the subquent ones run into connectInterfaceToOVSAsync, will duplicate ports being created or it has been handled?" }, { "prediction": "I think this should be a `Exception` instead of a `Exception`.", "reference": "In Exceptions' constructors, we always add a optional last parameter `Exception $previous = null`. In the past, this was (still is?) a part of the coding standards." }, { "prediction": "I don't think it's a good idea to put this in a constant, since it's not used anywhere else.", "reference": "I think more idiomatic (and consistent with elsewhere in our code base, and more natural to read as \"25 seconds\") is `25 * time.Second`" }, { "prediction": "I'm not sure if we should support YAML tags here.", "reference": "Enabling `YAML` by default would be a breaking change in behavior for some applications if the struct's used by that application already include YAML tags, but their application has been (un)marshaling DynamoDB Attributes based on the struct name." }, { "prediction": "I think this should be `shutdownNow()` instead of `shutdown()`.", "reference": "For the command executor, which in turn, uses the HTTP client to talk to the WebDriver, the client might have high-timeout values set, so the shutdown can take a long time if we wait for it to complete, especially if multiple-long running threads are there. I think it might be a good idea in general to couple the shutdown() with `awaitTermination()` with a timeout, if the ongoing tasks do not complete within that timeout then call `shutdownNow()`. What do you think?" }, { "prediction": "I think we should use `HiveMetastoreTest.class` instead of `HiveMetastoreTest.class`", "reference": "Is this change needed? `start()` is still defined and uses `HiveMetastoreTest.class`. The only difference is that this doesn't pass a `Configuration` and the parameterless `start` passes `new Configuration()`." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to move this to the staking command center.", "reference": "I think it is weird to store sr in protocol struct" }, { "prediction": "I don't think we need to reload cqd at runtime. I think we can just do `CmpCommon::getDefault(HIVE_DATA_MOD_CHECK) == DF_ON && (CmpCommon::getDefault(TRAF_RELOAD_NATABLE_CACHE) == DF_ON)`", "reference": "Will this cause a reload _all_ NATable information? It's too bad we don't have some way to limit the reload to just the tables that have a metadata mismatch." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "'fail unless X is a non-zero number' it will also fail if X is a byte string" }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "SyntaxError I think" }, { "prediction": "I don't think this is the right VUID.", "reference": "I've filed an internal spec issue to add these missing VUs." }, { "prediction": "Please revert this change.", "reference": "Can you please revert changes to files in the `thoughtworks` package? This is legacy code and we will eventually phase out RC." }, { "prediction": "Please avoid star imports.", "reference": "In iceberg, we usually don't use `*` to import package, it's more clear to import the specify package one by one." }, { "prediction": "I think this import should be removed.", "reference": "And again. The reason it's bad is that if someone uses a JDK not produced by Oracle they won't have this class." }, { "prediction": "I'm not sure this is the right place to call `BytesWritten`?", "reference": "Since we now keep track of all bytes written, and extend the write timeout as needed, it's tempting to no longer add 2 times the max buffer size to the bytes written accounting for the connection drain timeout. As we've discussed before, this add several minutes to the timeout with the default 240 bytes/sec rate limit. I'm thinking instead this line changes to `timeoutControl.BytesWritten(minDataRate, 1);` to add a grace period to the drain if necessary. What do you think @Tratcher?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Good call. Makes we wonder if we should do this with the ARIA props." }, { "prediction": "Please don't use star imports.", "reference": "Please do not use wildcard imports." }, { "prediction": "This should be `wlr_log(L_DEBUG, \"New wlr_surface %p (res %p)\", surface, res);`", "reference": "Not sure about these added logs, as said in the commit message it's probably not something we want all the time, but it helped me debug a bit." }, { "prediction": "I think we should keep this for loop.", "reference": "Should there be an equivalent check or is it ok to remove this comparison?" }, { "prediction": "I think this should be `zzzcomputing.org`.", "reference": "sorry, why this change?" }, { "prediction": "Why do we need to change this?", "reference": "I think best practice is to use `NamedList` as the return type, and `NamedList` as the argument type in methods, but I can't find a reference for it right now." }, { "prediction": "I think this should be `Model\\CouponCountryInterface` instead of `Model\\CouponCountry`.", "reference": "Be careful, the base model is imported here!" }, { "prediction": "I'm not sure if `tg` is the right term for this flag.", "reference": "Do we want to make this part of the default? Probably not. In fact, the default should probably be eth, web3 and net (which are the standard namespaces on other nodes)." }, { "prediction": "`path_from_code_set_id(code_set_id)` should be `slave.path_from_code_set_id(code_set_id)`", "reference": "What is the plan when we deploy the Crawler VM project and eliminate the Clump model?" }, { "prediction": "Why remove this?", "reference": "these two are customized config fields, if we don't need them any more, we probably can use default ControllerManagerConfiguration" }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "I don't think we should be pulling the runtime name from the Compiler. There are two compiler frontends, but both of them compile the same source to generate the \"go\" runtime. I think until there is a request from an alternative implementation (the embedded world **might** have a different runtime), it's fine to hardcode this as \"go\"" }, { "prediction": "Shouldn't this be `this.schema.options.discriminatorKey || fields +'' + this.schema.options.discriminatorKey;`?", "reference": "fields may be an object." }, { "prediction": "Why is this removed?", "reference": "i'm not confident these are the right defaults... anybody have input?" }, { "prediction": "I don't think we should change the type of the disk group here.", "reference": "DiskGroupList can be better name" }, { "prediction": "I think this should be `metricsHandler` instead of `metricsHandler`.", "reference": "nit: lets leave gateway options at the end of the func signature." }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "It will be better to use `commit()` on a separate thread, apart from the UI thread. The reason is `commit()` is synchronous while `apply()` is asynchronous. So in case it might not perform actions immediately as expected." }, { "prediction": "I'm not sure this is the right fix.", "reference": "Took me almost 4 hours to find this." }, { "prediction": "I think this should be `CustomDataset`, not `XMLDataset`.", "reference": "There should be only a single blank line between imports and `__all__`." }, { "prediction": "I'm not sure why this change is needed.", "reference": "Doc size increased by 1 since _root_ is also returned by queries." }, { "prediction": "I think this should be `idx = np.argmin(np.abs(np.array(levels)-clmin))` instead of `idx = np.argmin(np.abs(np.array(levels)-clmax))`", "reference": "Now the return value has changed (or at least now includes `clip`) it might be worth updating the docstring..." }, { "prediction": "Why is `nil` needed here?", "reference": "shadow: declaration of \"err\" shadows declaration at line 410 (from `govet`)" }, { "prediction": "I'm not sure if this is the best way to do this. The `data-` attribute should be a string, not a string.", "reference": "Should we be escaping $attr and/or $value here? Seems like htmlspecialchars() might be in order to be on the safe side." }, { "prediction": "Travis uses `--quiet_o` as the default, so we don't need to specify it here.", "reference": "why not remove the need for the `quiet_o` method and just add it similar to how the `--branch` is added? also, looks like the indenting is a little off" }, { "prediction": "I think we should rename this to `FLOW_EXECUTION_ID_SET`", "reference": "These variables are already created in constants. Please reuse those." }, { "prediction": "Shouldn't this be `query_args.append('versionId=%s' % self.version_id)`?", "reference": "query_args is a string, not a list. Therefore you cannot call append to it. Also, line 986-989 of key.py already have code that is appending the versionId query parameter." }, { "prediction": "I'm not sure if this is the right fix. I think we should be returning `nil` if `info` is `nil`, and if `metadata` is `nil`, we should return `nil`.", "reference": "I think this change and the one below will break the integration tests which expect a `nil` object if `NewObject` fails." }, { "prediction": "I don't think we need this.", "reference": "Looks like this isn't used in this file?" }, { "prediction": "I'm not sure this is the right place for this. I think it should be `level_0'` instead of `'index'`.", "reference": "why hidden name? How about `index_name`?" }, { "prediction": "I think this should be `HIVE_SCAN_SPECIAL_MODE_DEFAULT` instead of `HIVE_SCAN_SPECIAL_MODE`.", "reference": "Usually, CQDs are not accessed directly in executor operators directly. It should be passed as a flag in the TDB. It is possible that the query is compiled in a different process, then this CQD setting won't be available in the executor layer." }, { "prediction": "Can we rename this to `shard-context`?", "reference": "This tag was broken, the value write to log was the memory address. Please verify that this actually write out meaningful content in log." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Why do you have to disable all of these checks?" }, { "prediction": "I think `last_focused_window()` is a better name. `raise_current_window()`", "reference": "Just a note to myself: After merging this, I should edit the line after this one to use `message.error`, as raising a `CommandError` from here seems wrong!" }, { "prediction": "Why was this removed?", "reference": "In this test, we want xax to be dead, so that aflags are not spilled to a slot." }, { "prediction": "I'm not sure if Prometheus metrics should be enabled by default.", "reference": "I remember there were some misleading code about this but forgot to correct them. Although we initialize `config` here, it was discarded in `complete`, so I guess setting the default value here doesn't take effect. We should change L139-L140 as well to use the initialized `config`. So do antrea-controller." }, { "prediction": "I'm not sure if this is the best way to test this, but I'm not sure what the best way to test this is. I'm not sure what the best way to test this is.", "reference": "Stubbin a value object (like `RSpec.configuration`) is a bit of a code smell, I think. You can just set `color_enabled` and `success_color` through the configuration APIs provided by `RSpec::Configuration` -- no need to stub. The `sandboxed` thing in `spec_helper.rb` takes care of preventing changes to the configuration object in one example from leaking into other examples." }, { "prediction": "`coin == 'bch'? address.toLegacyAddress() : address.toString()`", "reference": "you can use `toString(true)` that will work for BTC and remove the prefix for BCH." }, { "prediction": "I think this should be `if not config.val.tabs.persist_mode_on_change:`.", "reference": "This line is too long now - please break it after the comma." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I find this addition to the interface a bit contentious. I think it would be cleaner to just return the response headers together with the new stream on `NewStream`. I.e. change the method signature for `NewStream` to be: `NewStream(ctx context.Context, overlay swarm.Address, headers p2p.Headers, protocolName, protocolVersion, streamName string) (p2p.Stream, p2p.Headers, error)`. I'd like to hear what other think. cc @zelig @janos" }, { "prediction": "I think this should be `if ($cart->isEmpty()) {`", "reference": "i hope there is some magic where isEmpty or some cron can strip all non listable products from cart, but since we have the situation tested it should be OK and also we'll see during tests" }, { "prediction": "I'm not sure about this change, but I think it would be better to keep `daysFromTimestamp` and `daysFromDate` in the same class.", "reference": "I think we should check the type returned by `getLiteral` and handle that here. Then we won't need separate code for different versions." }, { "prediction": "I think this is a bugfix. The `sendResponse` method is not sending the X509SVID response. It is sending the X509SVID response, which is not what we want.", "reference": "Tests for JWT handler functionality?" }, { "prediction": "Why did you remove this?", "reference": "It's weird to set a 101 response and complete without writing anything, but this is still a valid test case right?" }, { "prediction": "I'm not sure if this is the right test.", "reference": "Should we move that information in the capability itself?" }, { "prediction": "I don't think we need this.", "reference": "Is this needed?" }, { "prediction": "I'm not sure about this warning, but I think it's better to use `%v` instead of `%v`.", "reference": "This log should not be an error as it communicates that we need to retry till we get the cert information for remote ingress controller." }, { "prediction": "I think this should be `void Flush()` instead of `void Flush()`.", "reference": "BlockTree alredy has a polluted API, this one seems very internal" }, { "prediction": "I'm not sure if this is the right place to set features. I'm not sure if this is the right place to set it, or if it's the right place to set it. If it's the right place to set it, then I'd prefer it to be `with_tempfile_containing('manifest', \"notify { 'hello world': }\", '.pp')` or `with_tempfile_containing('manifest', \"notify { 'hello world': }\", '.pp')` or `with_tempfile_containing('manifest', \"notify { 'hello world': }\", '.pp')` or `with_tempfile_containing('manifest', \"notify { 'hello world': }\", '.pp')` or `with_tempfile_containing('manifest', \"notify { 'hello world': }\", '.pp')` or `with_tempfile_containing('manifest', \"notify { 'hello world': }\", '.pp')` or `with_tempfile_containing('manifest', \"notify { 'hello world': }\", '.pp')` or `with_tempfile_containing('manifest', \"notify { 'hello world': }\",", "reference": "Sorry, I realize my line numbers were probably off after you deleted your variables! I meant for this to go in the `before(:all) do` and `after(:all) do` blocks." }, { "prediction": "I'm not sure if this is the right place to put this TODO.", "reference": "This bit I wasn't really sure about." }, { "prediction": "I'm not sure if `parseChecks` is the right place to call it. I'm not sure if `parseChecks` is the right place to call it.", "reference": "From the code, a check's metatdata was only added to `axe._load` if a rule used it. Since `role-none` and `role-presentation` were no longer used in any rule, their metadata was never added. This caused any translation file that passed translations for those checks to fail `axe.configure` with > \"Locale provided for unknown check: \"role-none\"\" To fix I added this line to parse all checks regardless of if a rule uses it or not." }, { "prediction": "I'm not sure what this policy is for. I'm not sure if it's a good idea to change it, or if it's a good idea to change it.", "reference": "We should raise `ValueError` if `update_policy not in ['existing', 'incoming']`. (or `in Enum.__members__` or however we want to express legal values)" }, { "prediction": "I'm not sure if this is the right place to pass the window and presenter to the constructor.", "reference": "`_applicationDelegate` and `_window` are already set in the call for `: this (applicationDelegate, window)`, no need to assigning them again here" }, { "prediction": "I'm not sure if `selector` is the right thing to do here. I'm not sure if `props` is the right thing to do here, but I'm not sure if `props` is the right thing to do here.", "reference": "We might not have a selector prop in the consumer" }, { "prediction": "Why is this change needed?", "reference": "IMO == true is more readable than?? false" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "feel free when editing sections like this to introduce modern features like object destructuring." }, { "prediction": "Please remove this blank line.", "reference": "I think the correct pragma is `# -*- coding: utf-8 -*-" }, { "prediction": "I don't think this is needed.", "reference": "This fixes some import errors, due to the fact that this file has the same name than its module." }, { "prediction": "I'm not sure if this is the right name for the preferred folder.", "reference": "I think we need to clear this out on logout, and update it on login, right?" }, { "prediction": "This should be `glnx_throw (error, \"Invalid NULL filename\");`", "reference": "I think normally we'd make this a precondition (using e.g. `g_return_val_if_fail`), but meh, this works too!" }, { "prediction": "I think this should be `x-cse-dest-microservice` instead of `x-cse-target-microservice`", "reference": "Is this header used by other outside service?" }, { "prediction": "Why did you remove this?", "reference": "that's fine by me to have simple test for provisioning check" }, { "prediction": "I'm not sure if this is the right place to put cron expression.", "reference": "These two methods seem to be identical except the names. Any idea why two methods are needed?" }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to put this in the `influxdb_client.py` file.", "reference": "I don't see much difference between this and `create_db` module. How about having a function with a `database` argument?" }, { "prediction": "I'm not sure this is the best way to do this. I'm not sure if it's the best way to do it, but I'm not sure if it's the best way to do it.", "reference": "See above, no need to pass the module name." }, { "prediction": "`eval_set` -> `eval_names` -> `eval_sample_weight`", "reference": "LightGBM supports multiple validation sets, so please leave `sets`." }, { "prediction": "Please revert this change.", "reference": "you don't need to create a enum for this, java allows you to switch on a string ;) (since java 7?)" }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "What is this obscure syntax anyway? o.O" }, { "prediction": "I don't think this is needed.", "reference": "I think we should have one for the CLA Classifier, and KNNClassifier as well. And how about RecordSensor?" }, { "prediction": "I don't think this interface is used anywhere.", "reference": "Missing new line." }, { "prediction": "I think this should be `options.strictPopulate = model.schema.base.options.strictPopulate;`", "reference": "`model.schema.base.options.strictPopulate!= null`. Why hardcoding false? Also, `model.base.options` should work and be shorter. Finally, any way to move this up to the `populate()` function in `model.js` that calls `getModelsMapForPopulate()` and shallow clone the object before modifying? A bit random to modify this option here." }, { "prediction": "I'm not sure this is the right place for this test.", "reference": "We now have Prepare.A/Build.A/Builders.Build.A - what are the differences?" }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "Could you reduce this to one line and change the first argument to a single quoted backslash string? Perhaps we can add this as an option named `:preserve_backslash` to the manify method. That way, we don't need an extra method in the first two cases. Obviously, we still need it for the inline case." }, { "prediction": "I'm not sure if this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "`has(default)` i think is the preferred way of doing this" }, { "prediction": "I think we can remove the `DataFile` from `ManifestFiles.read()` since it's a `DataFile`.", "reference": "Does this mean we can only do rewrites if there are no `DeleteFile`'s?" }, { "prediction": "I'm not sure if this is the right way to test this, but I think it's better to have `self._mock_tag('foo/bar', 'latest', contents_hash, team='qux')` instead of `self._mock_package('foo/bar', 'latest', contents_hash, '', team='qux')`", "reference": "Actually, these are fine; we're using 110 as the max line length. (it's also set in the.pylintrc)" }, { "prediction": "This should be `github.com/projectcalico/felix/k8sfv/leastsquares`.", "reference": "No issue here, but what tool are you running to put these imports into the preferred organization? I have configuration to run `goimports` whenever I save a file, but it appears that that is not quite sufficient." }, { "prediction": "I don't think this is the right place to close the stream.", "reference": "guessing this method could/should close it but I didn't see where it was getting called." }, { "prediction": "Can we rename this to `EXECUTION_SOURCE_PARAM`?", "reference": "Could you please use `camelCase` in the property name to follow the naming convention used in the rest of the properties?" }, { "prediction": "I'm not sure if this should be `fmtErrPublicSubnetsFromEnv` or `fmtErrSecurityGroupsFromEnv`.", "reference": "Can we revert this change? looks like an extra space was added at the end" }, { "prediction": "This should be `new InterfaceView().getElementIterable(model).iterator().next()`.", "reference": "This just grabs any one of the proto services defined in the API, right? What happens when there are multiple (like with PubSub)?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Remove the pylint disable and remove the.format() from the string. The tablename is just 'violations'" }, { "prediction": "Trail is a subclass of `ActiveRecord::Base`, so we don't need this setter.", "reference": "Will this implementation allow you to add new exercises to the trail?" }, { "prediction": "I think this should be `eventHooks = oldEventHooks` instead of `eventHooks = eventHooks`.", "reference": "Actually there is race condition here, because pointer assignment isn't atomic on some platform. But this is a rare case we should hit, we can just let it go for now. Maybe this is one of the TODO list." }, { "prediction": "I think this needs to be revisited for cases with multiple cpus per model.", "reference": "We should check somewhere here and in the partitioned_io_buffer that the max_mini_batch_size is properly computed for each model and that it is not aggregate (sum) for all models. The global/max_mini_batch_size should be as specified by the user in the prototext/cmd line." }, { "prediction": "I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "you can change the string value, but not the code constant" }, { "prediction": "I'm not sure this is the right test.", "reference": "File is not `goimports`-ed" }, { "prediction": "Is this TODO still needed?", "reference": "Is this Todo necessary?" }, { "prediction": "I'm not sure this is the right place to do this, but I'm not sure if this is the right place to do this.", "reference": "I would recommend to leave out `None` because None is already the default." }, { "prediction": "I'm not sure if this is the right flag name. It seems like it should be something like `output-file-name` or something like that.", "reference": "I may have missed previous discussion on this; apologies if that's the case. What do you think about just `input-yaml`, without the `cli-`?" }, { "prediction": "Why is this `Exception` instead of `Exception`?", "reference": "Nit: rename to sendError." }, { "prediction": "I think this should be `warnings.filterwarnings(\"ignore\", message=\"numpy.dtype size changed\")` or `warnings.filterwarnings(\"ignore\", message=\"numpy.dtype size changed\")`", "reference": "`pylint` wants to know why this `import` isn't at the top of the file; and it's kinda right" }, { "prediction": "I'm not sure if this is the right place to put this exception, but I think it would be better to have it in the `FeedUrlNotFoundException` class.", "reference": "To me, using a `RuntimeException` for this feels a bit weird. I would just extend `Exception`, or maybe even `IoException`. Could you also please overwrite the `getMessage` function to return something like `\"Result does not specify a feed url\"`?" }, { "prediction": "I don't think we need to set `event.DataEncoded = true` here.", "reference": "what was the issue here? why did you have to directly set?" }, { "prediction": "Why do we need to set countryString to `nil` if len(country) == 0?", "reference": "I'm confusied - Isn't `countryString` left empty if `len(country)`!= 0?" }, { "prediction": "I don't think this is the right place for this, but I don't think it's necessary.", "reference": "Would you please update this by using `#if (QT_VERSION >= QT_VERSION_CHECK(5,15,0))` and `QSignalMapper::mappedInt` for Qt >= 5.15?" }, { "prediction": "I'm not sure if this is the right place to stop the GPG agent. I'm not sure if this is the right place to do this.", "reference": "This type of change opens a question on how we can cleanly shutdown or prevent all running agents so we do not run the risk of an agent holding kernel mountpoints, which can cause unsafe unmount/chroot exit. Will open a github issue to track this. This specific change itself is fine. It is a pointed change specifically for stopping the offending agent." }, { "prediction": "I don't think we need this anymore.", "reference": "this file is model generated by protobuf, just for compatible test it's better not change it." }, { "prediction": "I'm not sure this is the right place for this method. I think it should be `track_event_cancelled(reason: \"Cancelled\")`", "reference": "It turns out we can send the reason as the property to Segment on the event. Then we can do whatever we want with it. In this case, I think we'll fire a web hook to Zapier which will add a note or message on the user in Intercom." }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be called `send_missing_missing?`.", "reference": "This class is very similar to `Catalog`. Is there a way to have this class compose a `Catalog` instance or extract a common class which they can both compose?" }, { "prediction": "I'm not sure why this change is needed.", "reference": "Why did you decide to drop the `queue` from parameters of `wrap` function? The agreement was that all functions for DPC++ case that accept non-host-accessible memory shall accept the queue directly." }, { "prediction": "I'm not sure what this setting is used for. I'm not sure it's used anywhere else.", "reference": "I think this is a bad name, as its not clear what it does by name alone. If we merge this it should be something like `use_links_to_files_in_output` and should take either a custom scheme like `rspec` or default to `file`" }, { "prediction": "I think this should be `CheckSeverity.ON` instead of `CheckSeverity.OFF`.", "reference": "Arguably this is actually still valuable for perf, maybe it should just be a warning?" }, { "prediction": "I think this should be `debug api: topologyDriver.AddPeer %s: %v` instead of `debug api: topologyDriver.AddPeer`", "reference": "didn't way say that the topology driver will actually insert the entries to the address book?" }, { "prediction": "This is a compression of oldParentVNode!=null && oldParentVNode._children || EMPTY_ARR.", "reference": "This seems safe to me. My guess is the original checks were a combination of before + after `oldParentVNode` became reliably a `(vnode | null)`." }, { "prediction": "This should probably be `-generated` instead of `-generated`.", "reference": "also in the `.md` please." }, { "prediction": "I'm not sure if this is the right place to put this in, but I'm not sure if this is the right place to put this in.", "reference": "RHEL is an acronym and is usually all caps. Why are you adding a redhat regex matcher?" }, { "prediction": "This class is no longer used.", "reference": "Maybe I am daft but it looks like you removed fixed width readers but I don't see where you added any readers?" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a `website-index-document` and a `website-error-document` key.", "reference": "@acud The reason I moved these here is because I need them in the traversal tests. The traversal package doesn't need this. I don't see any particular reason why any package apart from api would need this. api package imports traversal, so I cannot import api in traversal pkg. Also if these change in future, the traversal tests need to change. So maybe enough reason to move these here? That way both packages can access these as they both depend on manifest" }, { "prediction": "I think this should be `self.pin = True` instead of `self.pin = False`.", "reference": "I'd prefer this to be called `pinned` - also it should probably be in the `TabData` class instead, which is accessible as the `.data` attribute of the `BrowserTab` object - otherwise, `BrowserTab` would have a lot of quite \"random\" attributes :wink:" }, { "prediction": "I think this should be `sendCommandForDownloadChromeHeadLess` instead of `sendCommandForDownloadChromeHeadLess`", "reference": "Nit: `Headless` is one word, not two, and so doesn't need camelcasing in this way." }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure if this is a good place to put this.", "reference": "Why not import audit as well?" }, { "prediction": "Why do we need to use `@var` here?", "reference": "OK, i think there will be more of those..." }, { "prediction": "I think this should be \"\u041f\u0440\u0435\u043c\u043d\u043e\u0433\u0443 \u043e\u0431\u0438\u0434\u0438 \u0437\u0430 \u043d\u0430\u0458\u0430\u0432\u0443\u0432\u0430\u045a\u0435. \u041e\u0431\u0438\u0434\u0435\u0442\u0435 \u0441\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u0437\u0430 :seconds \u0441\u0435\u043a\u0443\u043d\u0434\u0438.\",", "reference": "Can you add : 'password' => 'The provided password is incorrect.',?" }, { "prediction": "I think this should be `#ifdef win8`", "reference": "Extraneous blank line." }, { "prediction": "I'm not sure if this is the right fix, but I'm not sure if this is the right fix.", "reference": "nitpick: use `const virtualTree`, I know it was `let` earlier." }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if `mdcache.Delete(tlfID, ibrmd.RevisionNumber(), NullBranchID)` is the right thing to do here. I'm not sure if `mdcache.Delete(tlfID, ibrmd.RevisionNumber(), NullBranchID)` is the right thing to do here. If it is the right thing to do here, then I'm not sure if `mdcache.Delete(tlfID, ibrmd.RevisionNumber(), NullBranchID)` is the right thing to do here. If it is the right thing to do here, then I'm not sure if `mdcache.Delete(tlfID, ibrmd.RevisionNumber(), NullBranchID)` is the right thing to do here.", "reference": "Actually, I think it might be easier to do it here. Rough outline: 1. Save a list of the md cache keys and new brmd while looping. 2. After the loop, for each entry: 2a. Look up the old cache entry. If it doesn't exist, continue. 2b. Otherwise, make a deep copy of it, and replace its brmd with the newly-generated one. 2c. Delete the old cache entry, put the new cache entry. What do you think? The problem with the current approach is that the gap between dropping the old version and putting the new version is large enough that when we put the new version, we may be kicking out hotter cache entries. In this case, we'd be doing so to a lesser extent. Ideally, we'd be able to replace the entry in the MDCache LRU without changing the LRU info." }, { "prediction": "This should be `if (FileHelper.IsRootedPath(source)) {`", "reference": "We need tests for this" }, { "prediction": "I'm not sure if we should use `WithInsecure()` here.", "reference": "NewExporter takes in two arguments: a configuration for the metrics connection and one for the traces" }, { "prediction": "I don't think it's a good idea to use `ms` here. It's a bit of a nitpick, but it's a bit of a nitpick, so it's fine.", "reference": "Why not use currentPlayer instead of playbackManager.getCurrentPlayer()?" }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if this is the right place to put this method, but I'm not sure if it's the right place to put it.", "reference": "Avoid comma after the last parameter of a method call, unless each item is on its own line." }, { "prediction": "I don't think we should be storing this in the `ContainerInstance` struct, since it's only used in `DataDirOnHost` and `DataDir` is only used in `DataDir` and `DataDirOnHost` is only used in `DataDir` and `DataDir` is only used in `DataDirOnHost` and `DataDirOnHost` is only used in `DataDir` and `DataDir` is only used in `DataDir` and `DataDirOnHost` is only used in `DataDir` and `DataDir` is only used in `DataDir` and `DataDirOnHost` is only used in `DataDir` and `DataDirOnHost` is only used in `DataDir` and `DataDir` is only used in `DataDir` and `DataDirOnHost` is only used in `DataDir` and `DataDir` is only used in `DataDir` and `DataDirOnHost` is only used in `DataDir` and `DataDir` is only used in `DataDir` and `DataDirOnHost` is only used in `DataDir` and `DataDir` is only used in `DataDir", "reference": "You should remove the outdated sentence." }, { "prediction": "I'm not sure this is the right state for this. It's the same state as the one for the subject.", "reference": "Please restore the empty line after the group of `STATE_*` constants. This visual separation makes the code easier to read." }, { "prediction": "I don't think this is the right place to put this.", "reference": "Unsure why this is `RestoreFiles` now vs `GoldenRetriever`, thought we deprecated the first?" }, { "prediction": "I think this should be `SystemInformation.VerticalScrollBarWidth - 2`.", "reference": "Not sure what this is. Bad merge?" }, { "prediction": "I'm not sure this is the right fix. The `attach` function returns an error if `n.TempVethPeerName` doesn't exist, but if `n.TempVethPeerName` doesn't exist, then `v.attach(&n.Network)` will return `n.TempVethPeerName` and `v.attach(&n.Network)` will return `n.TempVethPeerName` and `v.attach(&n.Network)` will return `n.TempVethPeerName` and `v.attach(&n.Network)` will return `n.TempVethPeerName` and `v.attach(&n.Network)` will return `n.TempVethPeerName` and `v.attach(&n.Network)` will return `n.TempVethPeerName` and `v.attach(&n.Network)` will return `n.TempVethPeerName` and `v.attach(&n.Network)` will return `n.TempVethPeerName` and `v.attach(&n.Network)` will return `n.TempVethPeerName", "reference": "I'm confused, what did this actually fix? Is there a reason we are setting `err` in the parent scope to `nil` in this round-about way?" }, { "prediction": "I think we can remove this TODO now that it's in the next PR.", "reference": "Can we remove this?" }, { "prediction": "Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Put a comma after the last parameter of a multiline method call." }, { "prediction": "why did you change this?", "reference": "line is 195 characters (from `lll`)" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "could not import k8s.io/kubernetes/pkg/util/slice (invalid package name: \"\") (from `typecheck`)" }, { "prediction": "I think this should be `expect(component._state).to.equal('inDOM')`", "reference": "@disordinary would you be able to configure your editor to use the `.editorconfig` file so that we can avoid final newline changes?" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if `Object.getPrototypeOf(this)` is the right thing to do, but I'm not sure if `Object.getPrototypeOf(this)` is the right thing to do.", "reference": "I really think we should not use this style where unused arguments are named with underscore. While this eases the person writing the function it does it at an expense of readability and debugging. So next person who needs to actually use this argument will need to check the spec and rename this to `obj` and then use it or if he is debugging it he will is not able to watch for a meaningful variable name and will need to inspect `_` which is weird and uncomfortable. We have not used this style anywhere in the code while I agree its very tempting to use it :)" }, { "prediction": "I think this should be `const ExLobGlobals lobGlobals = new ExLobGlobals(NULL);`", "reference": "Thanks for avoiding the default value for the param. But, I think sending heap as NULL might make this program to fail. Have you tested this program? If you have tested this program already, then this PR is ready to be merged." }, { "prediction": "I don't think this is needed. The `MvxBasePresentationAttribute` is only used in the `MvvmCross.Presentation` assembly.", "reference": "Don't make it sealed" }, { "prediction": "I don't think this is needed.", "reference": "Did we miss that for jwt before?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if it's the right thing to do here.", "reference": "It appears that using SERCOM1 was a bug: the only SERCOM that is supported on the TX/RX pins is SERCOM0. Previous UART support wouldn't have worked on the Trinket M0 TX/RX pins anyway (`PA06`/`PA07`). This PR fixes that, and should thereby add support for UART on the Trinket M0." }, { "prediction": "This should be `system::lang.locale.be` instead of `system::lang.locale.ar`", "reference": "Spaces for indentation, not tabs" }, { "prediction": "Is this change intentional? I don't see it in the commit message.", "reference": "doing this as a binding map was insane, but with the ConstBindingIterator to hide the binding->index gunk and avoid the hashes during access it sticks out." }, { "prediction": "I think this should be `TEST_EVENT_PATTERN_0` instead of `TEST_EVENT_PATTERN_1`.", "reference": "nitpick: I'd rather move this into the test method directly (we should avoid variables at the root scope if they are not reused in multiple places). (not critical, though - shouldn't hold back the merge..)" }, { "prediction": "I think this should be `AssertEx.IsTrue(importPeptideSearchDlg.CurrentPage == ImportPeptideSearchDlg.Pages.match_modifications_page);`", "reference": "You should do: AssertEx.AreEqual(importPeptideSearchDlg.CurrentPage, ImportPeptideSearchDlg.Pages.match_modifications_page);" }, { "prediction": "`existsSchema` can be `null` if `existsSchema` is true.", "reference": "SC support batch register schemas we should swtich to new api be careful that maybe will send too big request, need to split to multi request by max size of limit." }, { "prediction": "I'm not sure about this change, but I'm not sure it's worth it.", "reference": "At this point, maybe it would make more sense to write this as a range rather than listing specific versions?" }, { "prediction": "I think this is a good place to put this TODO, but I don't think it's worth it.", "reference": "I guess we can start by putting the `const StatusContextCancelled = 499` at the bottom of this file" }, { "prediction": "Why is this needed? It seems to me that `t.GetPaymentChannelVoucher()` returns `nil` if `t.GetPaymentChannelVoucher()` returns `nil`, but `t.GetPaymentChannelVoucher()` returns `nil` if `t.GetPaymentChannelVoucher()` returns `nil` if `t.GetPaymentChannelVoucher()` returns `nil`.", "reference": "Blocking: populate a non-empty value and check it below." }, { "prediction": "I'm not sure this is the right permissions for image management APIs. I'm not sure if this is the right permissions for image management APIs.", "reference": "What is this number value for? How is it used?" }, { "prediction": "I think this should be `/.*BiocCheck.*/` instead of `/.*BiocCheck.*/`", "reference": "This needs an end keyword" }, { "prediction": "I don't think this is needed.", "reference": "I think this is the first record type in Datadog.Trace!" }, { "prediction": "Why is this no longer needed?", "reference": "Nit: missing newline above." }, { "prediction": "I don't think we need to call `StartKubeProxy` here.", "reference": "Since it's a one-off, worth putting an info log before and after." }, { "prediction": "I think this should be `CalendarService.getPublicCalendar(constants.publicSharingToken).then(calendar => calendar);`", "reference": "I'm sorry, but the indentation is still wrong. This should be indented by one tab." }, { "prediction": "I think this should be `pd.Series([self[col].dtype for col in self._metadata.column_fields], index=self._metadata.column_fields)`", "reference": "can we add an example?" }, { "prediction": "I'm not sure if this is a good idea. I think it would be better to have `getExtendedIdentify(ctx)` return `false` if `getExtendedIdentify(ctx)` returns `false`, and if `getExtendedIdentify(ctx)` returns `false`, then `getExtendedIdentify(ctx)` would return `true`.", "reference": "We usually avoid blank lines at the start of functions." }, { "prediction": "I don't think this is needed. The `ContainerConfigurator` is only used by the `Bundle\\FrameworkBundle\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator` class, not the `Bundle\\FrameworkBundle\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator` class.", "reference": "I dont think this line is needed" }, { "prediction": "I'm not sure if this is the right place to exit.", "reference": "We should not panic here!!! We return error i.e. 500 http code" }, { "prediction": "I don't think this warning is necessary.", "reference": "To avoid useless calls to `conf.l2types.get()` we could have a `set()` of types that are OK in this PCAP files. We could check if `p.__class__ not in self.l2_types_seen` first, only run this code block in that case, and add `self.l2_types_seen.add(p.__class__)`. I'm not sure if I'm clear here... let me know what you think." }, { "prediction": "This should be `EXECUTION_SOURCE_ADHOC`, `EXECUTION_SOURCE_SCHEDULED`, and `EXECUTION_SOURCE_FLOW_TRIGGER`.", "reference": "Shouldn't \"source\" be a noun? How about? -EXECUTION_SOURCE_USER -EXECUTION_SOURCE_SCHEDULE -EXECUTION_SOURCE_EVENT (because it's an event based trigger mechanism)" }, { "prediction": "I think this should be `coco_instance.py` instead of `lvis_v1_instance.py`", "reference": "Should not switch to `lvis_v1_instance` here because that base config uses ClassBalancedDataset to oversample the data." }, { "prediction": "I'm not sure if this is the right place to put this test.", "reference": "Last time I checked, this technique did not work on all major screen reader - browser combinations. What screen readers have you tested?" }, { "prediction": "I don't think this is the right place to put this, but I think it would be better to move this logic to the `Configuration` class, so that we don't have to duplicate the logic in the `Configuration` class.", "reference": "Most tracer settings can be set in several ways: environment variables, `app.config`/`web.config` file, or in a json file (`~/datadog.json` by default). Most exceptions to this rule are settings in native code (where we use env vars only). Currently, `DD_TRACE_ASPNET_ROUTE_TEMPLATE_RESOURCE_NAMES_ENABLED` will only work as an env var. Was this limitation intentional?" }, { "prediction": "I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "Would \"DisableIID\" be a better name? For example, we used DisableMetrics, ImageCleanupDisabled,... etc. for other similar fields." }, { "prediction": "I don't think this is the right fix. The `DYNAMO_OPTION(max_bb_instrs) - 1` will always be greater than `DYNAMO_OPTION(max_bb_instrs) - 1`.", "reference": "So this is a swing of 2: but I think we only need to reduce by 1? The artificial jump added on truncation is not passed to clients: it's like other mangling added later. So if `-max_bb_instrs 4` means 4 app instrs passed to clients, we'd want ==, not ==-1, right? Plus, if we did want -1 and to stop at 3 instead of 4, this is not sufficient: the inner loop above currently has `total_instrs <= cur_max_bb_instrs`." }, { "prediction": "I'm not sure this is correct. The only SQL types that do not need to be converted to/from C strings are INT, SMALLINT, LARGEINT, FLOAT, REAL, DOUBLE PRECISION. The only SQL types that do not need to be converted to C strings are INT, SMALLINT, LARGEINT, FLOAT, REAL, DOUBLE PRECISION, BOOLEAN, DOUBLE, FLOAT, REAL, DOUBLE PRECISION, DOUBLE, FLOAT, REAL, DOUBLE PRECISION, DOUBLE, FLOAT, REAL, DOUBLE PRECISION, DOUBLE, FLOAT, REAL, DOUBLE PRECISION, DOUBLE, FLOAT, REAL, DOUBLE PRECISION, BOOLEAN, DOUBLE, DOUBLE, FLOAT, DOUBLE, DOUBLE, FLOAT, DOUBLE, DOUBLE, FLOAT, DOUBLE, DOUBLE, DOUBLE, FLOAT, DOUBLE, DOUBLE, DOUBLE, FLOAT, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE,", "reference": "Does Tinyint belong to this set of types? I suppose the answer is No, but thought it safer to check." }, { "prediction": "I think this should be moved to `Blockly.utils.mouseToSvg` instead of `Blockly.utils.mouseToSvg`.", "reference": "I'm a bit leery of this implementation, because it assumes that the only \"outside\" is to the right side. Note that Blockly assumes that there's nothing useful to the \"outside\" of the toolbox, based on the configuration of the workspace, so it's not like we're doing the right thing either. I think this will break in RTL. If you keep the editor in the same place but inject with RTL, everything you're looking for will be in the delete area. If the editor and stage swap places, this will just be looking on the wrong side." }, { "prediction": "I think this should be `;port-list;portrange-list;local`", "reference": "Just spotted the `local` on here; that shouldn't be needed - no reason to limit this config to env vars only" }, { "prediction": "I'm not sure why this change is needed. The `wit` variable is only used in `DiscoveryDataBase::from_json()` and `DiscoveryDataBase::from_json()` is only used in `DiscoveryDataBase::from_json()` and `DiscoveryDataBase::from_json()` is only used in `DiscoveryDataBase::from_json()` and `DiscoveryDataBase::from_json()` is only used in `DiscoveryDataBase::from_json()` and `DiscoveryDataBase::from_json()` is only used in `DiscoveryDataBase::from_json()` and `DiscoveryDataBase::from_json()` is only used in `DiscoveryDataBase::from_json()` and `DiscoveryDataBase::from_json()` is only used in `DiscoveryDataBase::from_json()` and `DiscoveryDataBase::from_json()` is only used in `DiscoveryDataBase::from_json()` and `DiscoveryDataBase::from_json()` is only used in `DiscoveryDataBase::from_json()` and `DiscoveryDataBase::from_json()` is only used in `DiscoveryDataBase::from_json()`.", "reference": "That's a tricky one, as the variable is indeed used in line 2346, which is a `logInfo` message that is not compiled unless `INTERNAL_DEBUG` is set or `CMAKE_BUILD_TYPE` is set to `Debug`. Our CI builds with `INTERNAL_DEBUG` to verify that all `logInfo` are correct, and thus we don't get the warning. The best is probably to remove the iterator (as you did), as well as the part of the log that uses it." }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure if this is the right place to put this.", "reference": "I suspect L2Socket needs a similar change (line 502) for the case where `iface` is None (line 479)" }, { "prediction": "Layout/TrailingWhitespace: Trailing whitespace detected.
    Layout/SpaceInsideHashLiteralBraces: Space inside { missing.
    Layout/SpaceInsideHashLiteralBraces: Space inside } missing.
    Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument.", "reference": "Was this all that was needed to add CRUD operations for the LicensePermission model? :-)" }, { "prediction": "`bundle.name.lower()` is not supported in Python 3.", "reference": "Did you look for other locations that compare name? I expected there to be more." }, { "prediction": "I'm not sure if this is the right place to cache tasks, but I think it would be better to cache them in the `BaseTest` class.", "reference": "There were some requests internally to allow users to opt out of this behaviour. We could expose a property that allows people to toggle ti" }, { "prediction": "I think you can just use `new RandomIndexWriter(random(), dir, newIndexWriterConfig().setMergePolicy(new MockRandomMergePolicy(random())));`", "reference": "Nice -- this forced `merge-on-getReader/commit` to be used more often in this test?" }, { "prediction": "I'm not sure if we should add this to the consensus docs.", "reference": "Instead of a `bool`, can we just call this `MaxAssetDecimals` and have it be a `uint8`/`uint16`/`uint32` whose value is 0 before the upgrade and 19 after (2**64 - 1 is 20 decimal digits)? We'll need to set a maximum value anyway, and that way there's only one new proto variable instead of two." }, { "prediction": "I don't think we need to check if `$aliases` is an array.", "reference": "where `$aliases` is defined? @javiereguiluz" }, { "prediction": "I'm not sure why this was removed.", "reference": "what is the justification for the removal of the registered label? it doesn't seem to have high cardinality nor is it redundant. Seems useful to shed insight into understand situations where workloads aren't registered...." }, { "prediction": "I think this should be `status.Unimplemented` instead of `codes.Unimplemented`", "reference": "`ctx` is unused in ListEvents" }, { "prediction": "I don't think this test is needed.", "reference": "We've had that test on iOS for years." }, { "prediction": "I don't think this is the right place to put this in. It should be in BenchmarkDotNet.Extensions.", "reference": "This is for creating binlog file for building bdn generated template project. I feel that it's may be helpful in general for bdn diagnostic purpose." }, { "prediction": "I think this should be `self.send_cmd(':open -t'+ url)` instead of `self.send_cmd(':open -w'+ url)`", "reference": "Can you adjust `open_path` to simply call `path_to_url` and then `open_url` instead of duplicating the code?" }, { "prediction": "I'm not sure this is a good idea. If the request gets stuck for a period longer than 10 seconds, then the request will get stuck for a period longer than 10 seconds, which is not what we want.", "reference": "I'm curious -- do we have information on the upper bound of the delay we would expect with high probability from a peer with no network issues? My intuition is that we want to set this as low as we can reasonably get away with before we start killing productive connections. My uninformed intuition is also that 10 seconds is probably higher than we need and I'd love to know if this is wrong and 10 seconds is already pushing the limit." }, { "prediction": "I'm not sure this is the right fix. If the shift amount is negative, then the stack item will be pushed to the negative stack.", "reference": "what happens if it's == 0" }, { "prediction": "I'm not sure if we should keep this validation in this PR, but I think it's fine to keep it in this PR.", "reference": "We could potentially log a message here instead that indicates the transport does not support `run-as` on Windows and will be ignored, just in case users expect it to and are surprised. Since it would _always_ be logged when using `--run-as` on Windows, even when the transport isn't being used, it would probably want to be either at debug or trace level." }, { "prediction": "I think this should be `github.com/bonitoo-io/go-sql-bigquery`", "reference": "Did we need this alias? Or is it just a holdout from development?" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "This should have failed before." }, { "prediction": "I don't think we need to escape `_` here.", "reference": "Slower construction, faster matching. I wonder if this will be noticeable in the relenv?" }, { "prediction": "I'm not sure this is the right place to put this. I'm not sure it's the right place to put it. If it's the right place to put it, then I'm not sure it's the right place to put it. If it's the right place to put it, then I'm not sure it's the right place to put it. If it's the right place to put it, then I'm not sure it's the right place to put it. If it's the right place to put it, then I'm not sure it's the right place to put it. If it's the right place to put it, then I'm not sure it's the right place to put it.", "reference": "I think that if `data_discovery_count_ > static_cast(throughput_publisher_.subscribers_)`, then we should not proceed, since we have discovered some unexpected subscriber that can affect the test results. I'd change the comparison to `==` and have and `else if` contemplating the `>` case" }, { "prediction": "I don't think this is needed.", "reference": "Remove that include" }, { "prediction": "I think this should be `class=\"form-inline\"` instead of `class=\"form-inline\"`.", "reference": "IMO this should be defined in the form theme instead. This class should always be there. If the user configured additional css classes, it should be appended instead of replacing the `{view}-form` css class." }, { "prediction": "Please remove unused imports.", "reference": "These tests actually go to the server." }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "This test modification isn't correct. This task could run immediately and you wouldn't be able to tell if OnCompleted was called or not." }, { "prediction": "I'm not sure this is the right way to do this, but I think it would be better to do `component.componentWillReceiveProps(props, context)` instead of `component.componentWillReceiveProps(props, context)`", "reference": "I'd be open to loosening this check if it can help offset the size." }, { "prediction": "I don't think this is a good idea. It's not a good idea to have a function that takes a pandas DataFrame and outputs a pandas DataFrame. The pandas DataFrame given to the function is of a batch used internally. It's not a good idea to have a function that takes a pandas DataFrame and outputs a pandas DataFrame. It's not a good idea to have a function that takes a pandas DataFrame and outputs a pandas DataFrame. It's not a good idea to have a function that takes a pandas DataFrame and outputs a pandas DataFrame. It's not a good idea to have a function that takes a pandas DataFrame and outputs a pandas DataFrame. It's not a good idea to have a function that takes a pandas DataFrame and outputs a pandas DataFrame.", "reference": "I'm wondering which we should use, stable or latest?" }, { "prediction": "I think this should be `exclude_CMS` instead of `exclude_COMMIT_SEALS`", "reference": "possibly extending EncodingType enum?" }, { "prediction": "Use the new Ruby 1.9 hash syntax.", "reference": "I tested it only in Firefox (`./go //rb:firefox-test`)" }, { "prediction": "I don't think this is the right place to put this. I'm not sure if this is the right place to put it.", "reference": "can we do this in the baseexporter itself? So that exporters just access this.Provider.Resource, and baseexporters take care of populating Provider?" }, { "prediction": "I think this should be `countly.views.js` instead of `countly.events.models.js`", "reference": "what is the difference between `/core/events/javascripts/countly.views.js` and `/core/events/javascripts/countly.events.views.js`" }, { "prediction": "I don't think we need to do this. `iframes: true` should be enough.", "reference": "We should make sure this is also supported by `axe.run`. Perhaps moving it into run-rules would cover both API methods more easily?" }, { "prediction": "I'm not sure this is the right place to store the timestamp.", "reference": "If the `MemoryBasedStorage` relies on a `self._bump_and_store_timestamp()`, then every child class will have to implement it. So it should not be prefixed with `_`. And should raise `NotImplementedError` etc. :)" }, { "prediction": "I don't think we need to remove the benchmark category.", "reference": "why removed the MemoryDiagnoser attribute?" }, { "prediction": "`localFieldPath` can be `null` if `localFieldPath` is `null`.", "reference": "Why do this instead of `localFieldPath.applyGetters(doc[localField], doc)`?" }, { "prediction": "I'm not sure why this was removed.", "reference": "Just for a check. Do you really want to delete this?" }, { "prediction": "nit: remove empty line", "reference": "github.com/golang/protobuf/proto group in next group" }, { "prediction": "I think this should be `paychCmd` instead of `paymentChannelCmd`", "reference": "Nit: what about just `pay`? Is there some other subcommand that would conflict with?" }, { "prediction": "I think this should be `inputValue.startsWith(\"0x\")`", "reference": "Just for the sake of keeping things logically co-located, I'd like to see this functionality in `Quantity.java` which has a lot of utility methods related to this. Maybe a `static` method like `Quantity.isValid(String string)`?" }, { "prediction": "Why is this public?", "reference": "How about use `protected`?" }, { "prediction": "I don't think we should store Account.Root for long time.", "reference": "Should it not be `common.HashLength*2 + common.IncarnationLength`?" }, { "prediction": "nit: `.isKILLED` -> `.isKilledBySLA()`", "reference": "those change are done by save plugin." }, { "prediction": "I don't think this is the right place for this variable.", "reference": "There were problems with NullPointerException and with german Umlauts in message titles (I know they're not allowed in the specifiation but they caused my K-9-Inbox to not work at all) I don't know if this is related to PGP/Mime" }, { "prediction": "I don't think this is needed.", "reference": "This is an appsec concept right? Should it live in the Appsec namespace?" }, { "prediction": "Why is this needed? It seems like the `WriteTo` and `ReadFrom` methods are only called from `main` and not from `I2C0`.", "reference": "I'd personally recommend having the demo check for error, unless it's worthless." }, { "prediction": "I think this should be `LOG.debug`.", "reference": "Since this is in a test, I imagine that the choice of `info` level was deliberate." }, { "prediction": "I'm not sure this is the right place to put this, but it seems like it should be moved to `../../core/Utils`.", "reference": "good call swapping these names! makes more sense this way i think" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Maybe leaving this out will save some bytes as in let `let isHydrating = replaceNode === null`" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Let's manually create one extra whitespace line here (code_ += \"\")" }, { "prediction": "I think this should be `pool := BucketPool{}` and not `pool.total = &totalAmount{`", "reference": "nit: copy or clone" }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if this is the right place to put it.", "reference": "I think this can be called `HasField`, because that's what it's doing. It really is independent of revision." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Is this to avoid collisions?" }, { "prediction": "I don't think we need the `ProcessBlockStats` here. The `TxPoolExponentialIncreaseFactor` should be set to `cfg.TxPoolExponentialIncreaseFactor` and the `TxPoolMaxSize` should be set to `cfg.TxPoolSize`.", "reference": "nit: a better name for this variable would be enableLogStats, but it's beyond the scope of your change." }, { "prediction": "Why is this removed?", "reference": "Because linters don't handle reports now, this was breaking the setup for _all_ tests. I deleted it so I could run my tests, but I didn't check the impact on other tests as many tests are failing at the moment." }, { "prediction": "I think this should be `if context.GlobalBool(\"debug\") { logrus.SetLevel(logrus.DebugLevel) }` instead of `if context.GlobalBool(\"debug\") { logrus.SetLevel(logrus.DebugLevel) }`", "reference": "I'm not really a fan of this -- why not set up logging for `init` here (or setting a global flag) rather than doing it this way?" }, { "prediction": "`axios` and `css-selector-parser` are not used in this file.", "reference": "This is my favorite part of this PR. Being able to `import` 3rd party tools will hugely improve our workflows. :heart:" }, { "prediction": "This rule is not thread-safe. It should be a `UnsynchronizedStaticFormatterRule`.", "reference": "having this extend `UnsynchronizedStaticFormatterRule` seems semantically incorrect even if it works we should probably refactor `UnsynchronizedStaticFormatterRule` into a `UnsynchronizedStaticAccessRule` which can be configured through properties to track unsynchronized static access to any given types (with proper defaults to include `Formatter` and `MessageDigest`). This will also scale better as new types are suggested to have a thread-safe access enforced. The `UnsynchronizedStaticFormatterRule` can be marked as deprecated at the ruleset level, point to the new implementation, overriding the property defaults to keep just looking for `Formatter`. Moreover, the `THREAD_SAFE_FORMATTER` static should probably be replaced with a property of thread-safe classes to ignore, once again with proper defaults." }, { "prediction": "I'm not sure if this is the right place to put this?", "reference": "Keccak.Zero should not be used to mean null" }, { "prediction": "I think this should be a `IEnumerable` instead of `List`.", "reference": "perhaps add a couple more edge cases." }, { "prediction": "This is a bit_flag, not a bit_flag.", "reference": "Is this blank line needed, or typo?" }, { "prediction": "I think we can remove the checkDataVersion function entirely.", "reference": "This was a major PitA to find: it was causing some huge goroutine leaks and unfinished prefetches." }, { "prediction": "This is the only place where `inject` is used, so it's not needed anymore.", "reference": "you can use Enum#flat_map here." }, { "prediction": "I don't think we need to close the `PrintWriter` here.", "reference": "Same potential FP: The stream is provided from outside (here as a method parameter), so we should not be responsible here to close it, should we?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but it seems like it should be the right thing to do.", "reference": "Put a comma after the last parameter of a multiline method call." }, { "prediction": "I'm not sure this is the right place to invoke this method. It looks like the `invokeMember` method is only called from within the `try {... } catch (Exception ex) {... }` block. I'm not sure if this is the right place to invoke this method, but it looks like the `invokeMember` method is only called from within the `try {... } catch (Exception ex) {... }` block. I'm not sure if this is the right place to invoke this method.", "reference": "It seems like this is the only way to access javascript `static` methods from Java." }, { "prediction": "I don't think we should remove this.", "reference": "Why was this removed here?" }, { "prediction": "I'm not sure why this was removed, but I'm not sure if it's a good idea to remove it.", "reference": "i am aware that you did not add these, but might i ask why we need these one-liner funcs instead of just exporting the struct fields in the first place?" }, { "prediction": "I'm not sure this is the right place to put this change. I'm not sure if this is the right place to put this change, but I'm not sure if this is the right place to put this change.", "reference": "I agree with this because it is the opposite of `GetProjectedIds` used above." }, { "prediction": "I think this should be `'ebsOptimized'` instead of `'productCodes'`", "reference": "add'sriovNetSupport' also to this list" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to do `if (newAccount!= null && newAccount.getAccountNumber()!= -1) { accounts.put(newAccount.getUuid(), newAccount); } else { if (!accountsInOrder.contains(newAccount)) { accountsInOrder.add(newAccount); } newAccount = null; }`", "reference": "Code style issue: `if` body is not wrapped in braces." }, { "prediction": "I'm not sure if this is the right place to do this. The adapter should be a List instead of a List", "reference": "Call requires API level 11 (we are on 10)" }, { "prediction": "I'm not sure if this is the right place to put this as a ReadOnlyTxProcessingEnv, or if it's the right place to put it as a ReadOnlyTxProcessingEnv.", "reference": "do we need to pass the DB if it is the same" }, { "prediction": "I'm not sure this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "Might be a good idea to rename the variable so it doesn't shadow the type." }, { "prediction": "`parent_of` is not necessarily a child of `parent_of`, it's a child of `parent_of`.", "reference": "Again I'd prefer if this is done in JavaScript rather than in SQL." }, { "prediction": "I think this should be `@link./promise` instead of `@link./promise`", "reference": "there is still `2` spaces after `a` here.. :P" }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if this is the right place to put this function, but I'm not sure if this is the right place to put it.", "reference": "What we did in docker before, when working directly with libcontainer, is check if the source is `/dev` and the destination has a `/dev/` prefix. This implementation is probably ok. If someone is mounting their own `/dev` I would expect it to be pre-configured and not need the extra check for if it's the host's `/dev`. (that said, I've not tested yet, just reading through the code)" }, { "prediction": "I'm not sure if we should add this to the `Configuration` struct. I'm not sure if it's a good idea to add it to the `FeatureFlags` struct, but I think it's a good idea to add it to the `Configuration` struct.", "reference": "you should add some help on the struct too so that `plz halp featureflags` has a bit of explanation. Might be worth mentioning that these generally won't remain around very long relative to other config options (i.e. they're typically enabling \"preview\" features for the next major)." }, { "prediction": "I'm not sure why this change is needed.", "reference": "Maybe `consumerID, receiverID, issuerID`, at least it's a convension in overal repo" }, { "prediction": "I'm not sure if we should be using the `region` parameter here, since it's not used anywhere else in the package.", "reference": "Where does the auth go?" }, { "prediction": "I'm not sure if this is the right fix. I think it should be `if payloadGas == 0 || (payloadSize > maxUint64-baseIntrinsicGas)/payloadGas < payloadSize { return 0, ErrUnderpriced, ErrInsufficientFunds }`", "reference": "0 < minimum gas price, `ErrUnderpriced` is more proper" }, { "prediction": "I don't think we need to add `TOKEN_EXP_DEFAULT` here.", "reference": "these should be alphabetized" }, { "prediction": "I think it's better to pass `typeWidth` to `readBatchOfDictionaryEncodedLongs()` instead of passing `typeWidth` to `readBatchOfDictionaryEncodedLongs()`.", "reference": "These changes look concerning. It looks like the old offset (only index) must not have been correct. If so, there are places where `getDataBuffer().setLong(...)` and similar methods are called but aren't updated like these. Are those cases bugs as well?" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix or if it's the right fix.", "reference": "the CAS call here is now wrong since dirty will never be 3 anymore. it might be useful to sweep through the entire usage of this field to see that everything is correct" }, { "prediction": "I don't think we should use `Thelia\\Model\\CountryQuery` here.", "reference": "Base model is imported here" }, { "prediction": "This import is not needed.", "reference": "import but not used" }, { "prediction": "I think we need to pass `typeWidth` to `setNulls` here.", "reference": "What about the call in `case PACKED` just below? Does that also need to use the `typeWidth`?" }, { "prediction": "I'm not sure this is the right size for the struct.", "reference": "not sure i like this change. The encryption package does not need to know about references" }, { "prediction": "This should be `ifeq ($(llvm_version),7.0.0) else ifeq ($(llvm_version),7.0.0) else ifeq ($(llvm_version),7.0.0) else ifeq ($(llvm_version),7.0.0) else ifeq ($(llvm_version),7.0.0) else ifeq ($(llvm_version),7.0.0) else ifeq ($(llvm_version),7.0.0) else ifeq ($(llvm_version),7.0.0) # this is what is shipped with ubuntu bionic llvm-7 package right now else ifeq ($(llvm_version),7.0.1) else $(warning WARNING: Unsupported LLVM version: $(llvm_version))", "reference": "This shouldn't be added. It's not supported. It's not event the default. If we are going to support this, we need to have CI for it." }, { "prediction": "Why is this removed?", "reference": "omg only four left!!!!" }, { "prediction": "I'm not sure if this is the right error message. I'm not sure if this is the right error message, but I'm not sure if it's the right error message.", "reference": "I'm not really sure how this would happen. once the binary is already compiled, the config.Consensus should already have the entry for protocol.ConsensusCurrentVersion." }, { "prediction": "I think this should be `args = ['--local-scheduler', '--no-lock']` instead of `args + ['--local-scheduler', '--no-lock']`.", "reference": "Is there a reason for the order swap here?" }, { "prediction": "This should be a `FileNotFoundException` instead of a `FileNotFoundException`.", "reference": "Where will this exception get caught?" }, { "prediction": "I'm not sure if this is the right thing to do here.", "reference": "Why this field is made public?" }, { "prediction": "I don't think you need vmultiplier here. You can just use value * vmultiplier < -1000 or value == -88.88880f.", "reference": "Is the `vmultiplier` only used here for checking if a grid value is nodata?" }, { "prediction": "I'm not sure if this is the right thing to do here. The default organization is `cert-manager` and the default organization is `defaultOrganization`.", "reference": "Is this deliberate? If so, why?" }, { "prediction": "I'm not sure this is the right place to put this, but it seems like it should be moved to `openssl-rfc.mapping.html`", "reference": "both URL works. I corrected it anyway." }, { "prediction": "I think this should be `final`", "reference": "Rather than have another member and and if/else statement, if the user passes in `PreInvocationAuthorizationAdvice` it could be adapted to match `PreInvocationAuthorizationReactiveAdvice`" }, { "prediction": "I don't think we need this anymore.", "reference": "The callback get the log level as a number." }, { "prediction": "I think this should be `ldap2` instead of `ldap3`", "reference": "Is there any issue with 2.2.3? If not this should be `<2.3`." }, { "prediction": "I think this is a bug fix.", "reference": "Shall we keep this test?" }, { "prediction": "I think we should move this to the top of the file.", "reference": "When would this be the case? / When would SelectElement not be available? Is this change compatible with 6.2? (I'd like to roll a release that works with 6.2+ first, before moving on to 7.x)" }, { "prediction": "I'm not sure if this is the right way to do it, but I'm not sure if it's the right way to do it. I'm not sure if it's the right way to do it, but I'm not sure if it's the right way to do it.", "reference": "how about rename to shouldNarrowDataTypeTo?" }, { "prediction": "I don't think this is the right way to do this, but I think it would be better to do this in the `if store.current_backend == 'bokeh'` block. This way we don't have to do this in the `if store.current_backend == 'bokeh'` block, and we don't have to do this in the `if store.current_backend == 'bokeh'` block.", "reference": "Why not check that the one available renderer is 'bokeh'?" }, { "prediction": "I think this should be \"bundler reached buffered byte limit\" instead of \"bundler reached buffered byte limit\"", "reference": "Can you import `bundler.ErrOverflow` rather than redefine it here?" }, { "prediction": "I'm not sure this is the right place to put this. The resource type should be the resource type and the resource reference should be the resource reference.", "reference": "This is just a renaming of the function getResourceType() to getResourceReference()" }, { "prediction": "Line is too long. [82/80]", "reference": "Seems like this might need to allow for `\"`s to be used here?" }, { "prediction": "Why do we need a pointer here?", "reference": "here you assigning it to a local variable, in the original code it assigned to combat(CombatSpell member). Not sure if CombatSpell needs to use a shared_ptr since currently it does not and it works \"good\"." }, { "prediction": "I'm not sure if this is the best way to do this, but I'm not sure if it's the best way to do it, so I'm not sure if it's the best way to do it.", "reference": "Should we also remove this? This applies to subscriptions in general, but it seems sort of weird in the context of products now." }, { "prediction": "I'm not sure why this was removed.", "reference": "I think we should keep these, o.w. our examples will be wrong (where we're importing from `dagster.utils`). Also, we might break folks who've imported following our docs." }, { "prediction": "I'm not sure if this should be public, or if it should be internal.", "reference": "This is good and something that I think opens a lot of possibilities. I think what would be even better is to change up `TracerProviderSdk` to take factories for the processors just like it already does for the instrumentations. Should probably use use a factory for the sampler. If we made those 2 changes then we could actually split this all up into the config and the build phase and we could use the factory methods in the hosting version to call into the IServiceProvider to get those instances." }, { "prediction": "I think this should be `NewNull(flux.SemanticType(t.ColMeta[idx].Type))` instead of `NewNull(t.ColMeta[idx].Type)`", "reference": "Is there a way to make it so `values.New(nil)` works instead of adding a new function?" }, { "prediction": "Why not use the `getBlockPrefix` method instead of `getBlockPrefix`?", "reference": "> when requirement of Symfony **will be** >= 2.8 Same for others." }, { "prediction": "I think this should be `roles/iam.serviceAccountTokenCreator`", "reference": "I'd like to see if this can just be set on the service account instead of the project. Using the SVC_ACCT_ROLES (which should otherwise be deleted as I don't think anything else is using it.)" }, { "prediction": "Please revert this change.", "reference": "Please remove the unused imports :)" }, { "prediction": "I'm not sure why this was added, but I'm not sure why it was added.", "reference": "Were these local edits? There doesn't appear to be a change here. If so, let's remove this from the commit." }, { "prediction": "I don't think this is needed.", "reference": "nit: this should be further down w/ the rest of the github imports" }, { "prediction": "I don't think it's a good idea to divide by 100 here. If you want to be able to change the amount, you can use <%= number_to_currency(@subscription.next_payment_amount / 100) %>. If you want to make any changes, you can use <%= number_to_currency(@subscription.next_payment_amount / 100) %>. If you want to make any changes, you can use <%= number_to_currency(@subscription.next_payment_amount) %>. If you want to make any changes, you can do so by accessing your account page at <%= my_account_url %>", "reference": "I don't know if this is something we should address now, but we have a cents_to_dollars private method in both `SubscriptionCoupon` and `Invoice`." }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "Formatting here and all below: missing space before open bracket for the compound statement." }, { "prediction": "I think we can remove this.", "reference": "Avoid using old mortbay utilities for converting JSON. Uses existing Solr Utils to convert from JSON string." }, { "prediction": "I'm not sure if this is the right place to put this aspect. I'm not sure if this is the right place to put it.", "reference": "I actually think this wrapping is great, but let's call it `RunCommandOperation`?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "Maybe it is better to add checking for status code duplications? It can prevent some stupid copy-paste user errors." }, { "prediction": "Line is too long. [89/80]", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I'm not sure if we can support simple mangling cases in epilogue.", "reference": "This lea should match instr_check_xsp_mangling and be undone. I don't think i#3307 applies here." }, { "prediction": "Why do we need this interface?", "reference": "I like the idea of this being an interface as it makes the test setup a bit easier, thoughts?" }, { "prediction": "I think this should be `fromhex` instead of `bytes.fromhex`.", "reference": "Nit: I believe the electrum convention is to use `bfh` instead of `bytes.fromhex`. Great catch on this bug!" }, { "prediction": "I'm not sure this is the right error message. I think it should be `\"Predicted field '%s' does not exist in included fields.\" % predictedField`.", "reference": "Use a more granular error type. I would recommend `ValueError` in this case." }, { "prediction": "I'm not sure if this is the right place to put this check.", "reference": "A space after each argument, and an empty line above this if-statement." }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to just remove the `_forwarded` property from the `memo` object.", "reference": "Things like this make me wonder whether we should ship a \"development\" and a \"production\" version. I remember the discussions about making things more complex bundling wise but couldn't we omit this line in a \"production\" or \"minimal\" variant of our build? That would save us some bytes here and there. Or are we somehow able to move this line to debug? I though about monkey patching the exported function but that only works in CJS and not ESM AFAIK." }, { "prediction": "I think this should be `IScopeListener` instead of `IScopeListener`.", "reference": "Maybe rename to `RegisterListener` or `RegisterSubscriber`?" }, { "prediction": "I'm not sure this is the right thing to do here. I think it should be `EMPTY_ARR` instead of `EMPTY_OBJ`.", "reference": "My one concern here is that we are adding a new array allocation for each depth of the tree which could add some non-trivial GC churn. Perhaps this would be okay if we think that refs are used through a tree commonly enough such that they'll get allocated anyway but I'm not sure refs are *that* often used. Every app has a couple, but probably not at every level of their app :/ So maybe the extra bytes are worth it in this case? Though I have no data to back up my hypothesis so I could way off lol." }, { "prediction": "Line is too long. [87/80]", "reference": "We should get rid of this big array and think about a better way to check this." }, { "prediction": "I don't think this is the right place to cache the request.", "reference": "Should we cache the result of `Mvx.Resolve()` to avoid a lookup each time?" }, { "prediction": "I'm not sure this is the right place to catch ZeroDivisionError.", "reference": "If you get to this line avg_size_of_message is an undefined value, yet you use it below. You you should set this value to something in the exception block." }, { "prediction": "Why not just `httpMux.HandleFunc(\"/debug/pprof/\", pprof.Index)`?", "reference": "let's just fold this inline in mux.go, no need for the indirection to this new file" }, { "prediction": "I don't think we need this anymore.", "reference": "This bit confused me just now as I was reading through -- turns out this is due to the `{@link}` on line 316. Reading up on this, the alternative seems to be to state the fully qualified name instead. Happy to edit if requested as I don't have a strong view either way (perhaps a small leaning towards keeping the import)." }, { "prediction": "I think this test is not related to CPPTokenizerTest. Can you please move it to CPPTokenizerTest.java?", "reference": "There's a unnecessary System.out." }, { "prediction": "I'm not sure this is the right flow. If IPv6 and IPv4 are disabled, then the traffic from the tunnel port will be forwarded to the gateway. If IPv6 is enabled, then the traffic from the tunnel port will be forwarded to the gateway. If IPv4 is enabled, then the traffic from the tunnel port will be forwarded to the gateway.", "reference": "Should we add the flows only when NodePort is enabled?" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure it's the right thing to do here, but I'm not sure it's the right thing to do here.", "reference": "ITYM to flip this one..." }, { "prediction": "I don't think we need to add `@typescript-eslint/recommended` to the list of plugins. I think we can just remove the `@typescript-eslint/recommended` from the list.", "reference": "What's the difference between typescript-eslint/eslint-recommended and typescript-eslint/recommended? I really can't get it." }, { "prediction": "I'm not sure this is the right value for AttackTimeout. If it is set to 30 seconds, the default mitigation behavior will be used (currently off).", "reference": "Thinking: Maybe it would be more useful to define this in terms of RTTs. That would also make it easier to switch this to a bool, since we could then pick a reasonable default value. Unless of course an attacker could influence our RTT estimate. Is that the case?" }, { "prediction": "I don't think this file is used anymore.", "reference": "Why is this line deleted?" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it should be `if (node.pending_confirmation_height.size () < confirmed_frontiers_max_pending_cut_off && node.store.block_count (transaction).sum () >= node.ledger.bootstrap_weight_max_blocks) { confirm_frontiers (transaction); } else if (node.pending_confirmation_height.size () < confirmed_frontiers_max_pending_cut_off && node.store.block_count (transaction).sum () >= node.ledger.bootstrap_weight_max_blocks) { confirm_frontiers (transaction); } else if (node.pending_confirmation_height.size () < confirmed_frontiers_max_pending_cut_off && node.store.block_count (transaction).sum () >= node.ledger.bootstrap_weight_max_blocks) { confirm_frontiers (transaction); } else if (node.pending_confirmation_height.size () < confirmed_frontiers_max_pending_cut_off && node.store.block_count (transaction).sum () >= node.ledger.bootstrap_weight_", "reference": "minor type `boostrap`" }, { "prediction": "I think this class should be renamed to `FileScanTask`.", "reference": "Nit: please don't separate imports into groups." }, { "prediction": "I think this should be `control.setSelectedElement(null);`", "reference": "Thinking if it would be nice to have something like `setNothingSelected`." }, { "prediction": "I think this should be `f.V(logf.DebugLevel).V(\"key and certificate on disk has not changed\")`", "reference": "I think this is a useful InfoLevel message. In production, if webhook client connections suddenly start failing due to change of serving cert, you'd want to see this information in the logs." }, { "prediction": "I don't think we need the `std::string` anymore.", "reference": "Generally, if cast from int to char*, you could cast directly. Because no errors should happen." }, { "prediction": "I think this should be `MEMORY_CHECK_RETRY_INTERVAL_MS`", "reference": "Is 10 min too long? What do you think about 1 minute? Unless there are many jobs in this state, I don't expect the CPU overhead to be too high." }, { "prediction": "I'm not sure this is the right thing to do here, but I think it would be better to have `Logging` and `Sidecars` in the `BackendServiceConfig` instead of `Logging` and `Sidecars` in the `BackendServiceConfig` struct.", "reference": "can you remind me why we keep the pointer if it's a `map[string]`? are there other scenarios where the pointer is kept?" }, { "prediction": "I think this should be `public RewriteDataFilesAction maxParallelism(Parallelism parallelism)`.", "reference": "Would it make sense to also add `setMaxParallelism` in addition to this to match the Flink API?" }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do it. I'm not sure if this is the right place to do it.", "reference": "Not needed for actions. `_super(...arguments)` is only needed when you're extending from a base class and want to run the logic in the base class before your own logic" }, { "prediction": "I don't think this is correct. `c.setState({ _suspended:!wasHydrating});`", "reference": "I still need to run this code to verify my understanding, but my first reading through makes me think this may need to be `suspendingComponent._vnode` since we set `vnode._hydrating` on the vnode that threw the error (diff/index.js:275), not on `Suspense._vnode` (though we could in Suspense's `_catchError` implementation at the top of this file)." }, { "prediction": "I'm not sure if this is the best way to handle this. I think it would be better to catch `UnicodeEncodeError` instead of `EncodeError`. I'm not sure what the best way to handle this is.", "reference": "I think it's a good idea to log this as debug, the same way the other branch gets logged." }, { "prediction": "I'm not sure if there's a better way to do this, but I'm not sure if there's a better way to do this.", "reference": "1:D100: Docstring missing 35:D101: Docstring missing 37:D102: Docstring missing 42:D101: Docstring missing 44:D102: Docstring missing 57:D102: Docstring missing 66:D101: Docstring missing 69:D102: Docstring missing" }, { "prediction": "Should this be `system.guestRoleName`?", "reference": "keeping this as an unexported constant, as importing the role pkg creates a cyclic dependency." }, { "prediction": "I think this should be `var rev string if a.Doc.RevisionOn(c.RevisionField()) {`", "reference": "Why `c.RevisionField()` here but `c.opts.RevisionField` just below?" }, { "prediction": "Why is this removed?", "reference": "nit: this file diff seems unrelated and probably should have been a separate PR" }, { "prediction": "I don't think you need to add the `bool *` to the end of the parameter list.", "reference": "@sjplimp just checked this API in the latte repository master branch (which is what Install.py downloads) and this still does not provide the 18th argument. We cannot merge this pull request until this is available. i would also suggest to implement a second binding, a function called latte_abiversion() returning an int with an ABI version number (starting with 1). This way, it can be tested, whether the ABI expected by the LAMMPS interface and provided by the library is compatible *before* calling the `latte()` function and risking a segmentation fault." }, { "prediction": "I think this should be `Warn($\"{address} nonce is {nonce}\", account?.Nonce?? 0);`", "reference": "Is this from debugging?" }, { "prediction": "Why not just use `$this->createMock(Node::class)`?", "reference": "Its betet use MockedObject" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "\"including\"? Since it doesn't take any parameters, I'm not sure how it can update anything else..." }, { "prediction": "I don't think we should be changing this, but I'm not sure if we should be changing this.", "reference": "nit: I'm assuming you have verified this is what the error message should read like" }, { "prediction": "I think this should be `sys.exit(int(exit(main(sys.argv[1:])))` instead of `sys.exit(int(exit(main(sys.argv[1:])))`).", "reference": "Why do you need that? (real question)" }, { "prediction": "Why is this change necessary?", "reference": "If I understand the patch correctly the `else` is no longer required." }, { "prediction": "I don't think we should add this flag to the deal list API.", "reference": "Properly describe valid flag values here: `neither` should be replaced with `none` as they parsed below." }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to log the exception in the log message.", "reference": "Can we escalate this to `warn`. It is a major event." }, { "prediction": "This should be `stateOffICMPType` and `stateOffICMPCode` instead of `stateOffICMPType`, `stateOffICMPCode` and `stateOffICMPType` and `stateOffICMPCode`.", "reference": "Please move these up to line 86 so the numbers are in order." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to put it in `single_stage.py`.", "reference": "Add a docstring to contain the paper link." }, { "prediction": "I'm not sure if `targ` should be `\"\"` or `\"--target=\"+config.Target.Triple`?", "reference": "Instead of adding the `--target` flag here, the `Target` struct should be set up correctly. Assuming this is for the Raspberry Pi 3, adding it to the `cflags` key of the JSON file should be enough (if not, you can print `config.CFlags()` here to check whether `--target` is already included)." }, { "prediction": "I think this should be `if _, ok := rpccontext.AuditLog(ctx); ok {` instead of `if _, ok := rpccontext.AuditLog(ctx); ok {`", "reference": "The changes in this file look unnecessary since `rpccontext.AuditRPCWithTypesStatus()` already does this check. Was there a reason you needed to add them?" }, { "prediction": "I think this should be `batchstore` instead of `batchstore`.", "reference": "you could probably use `const` for both?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it. I'm not sure if this is the right way to do it.", "reference": "This looks like an \"ES Module\" to me. I do not understand this TODO." }, { "prediction": "I think we can remove the `final` keyword here.", "reference": "Iceberg doesn't use `final` because it is unlikely that this actually helps. In Java 8, final detection is quite good, which is why non-final variables can be used in closures and lambdas. And final doesn't produce different byte code so it can't do much to help at runtime." }, { "prediction": "`to_string()` returns a string, so you need to cast it to a number.", "reference": "There's `pushString` to use with C++ strings." }, { "prediction": "I'm not sure if this is the right way to test this. I'm not sure if this is the right way to test this.", "reference": "qq: Should this include the iptables6-save sim. to the inverse checks above?" }, { "prediction": "I'm not sure if this is the right place to put this code. It looks like the `wake_up` function is only called when `is_builtin` is true. I'm not sure if this is the right place to put this code.", "reference": "What about async user writers? We could be checking `param.mode == ASYNCHRONOUS_WRITER`" }, { "prediction": "I don't think this is the right way to do this.", "reference": "this double check for lombok annotation + specific lombok annotation seems pointless, just keep the second (specific) check. Moreover, since we have a property with ignored annotations... why don't we use it? a user may setup the property and it will be ignored here. Also, this class should probably not extend `AbstractLombokAwareRule` anymore. We have a configurable set of annotations that suppress the warning, defaulting to ALL lombok annotations, yet we only check for `lombok.NoArgsConstructor`... Maybe directly extending `AbstractIgnoredAnnotRule` and settig the default property to `lombok.NoArgsConstructor`? Or, to avoid a breaking API change, keep extending it, but override the default. For 7.0.0 we can change the class hierarchy." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "nit: the ordering may be misunderstood, as \"invoked in the same order\" could suggest the passed-in functions are called in-order, but the actual wrapping is LIFO. Some other ways to describe it (don't think any of these are ideal, but maybe it will help you come up with something better), * the handled returned by the first interceptor is executed first * interceptors are applied outside-in (don't like the terms outside/in though) * interceptors are applied in LIFO order, leading to an earlier interceptor's handler being executed before latter interceptor handlers" }, { "prediction": "I don't think this is needed.", "reference": "We should not use a static import to be consistent with other existing use of the QueryElevationParams." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do it, but if it is the right place to do it, then I'm not sure if it's the right place to do it.", "reference": "No need to check return value?" }, { "prediction": "I'm not sure this is the right place to put this, but I think it would be better to move this to the top of the file.", "reference": "~~Feel free to ignore that one, I'll fix things up when regenerating the `requirements.txt`.~~ As for the one below, this smells like a pylint bug..." }, { "prediction": "I think this should be `cpInput.NumExtraElements = len(antreaSourceStatsElementList) + len(antreaDestinationStatsElementList)` and not `cpInput.NumExtraElements = len(antreaLabelsElementList)`", "reference": "it's a bit strange that this doesn't match `aggregationElements` which is what I would expect. I guess I am not familiar enough with go-ipfix." }, { "prediction": "This should be `static int num_simd_saved_abs = MCXT_NUM_SIMD_SLOTS;`.", "reference": "Same thing: `num_simd_registers`. Ditto below." }, { "prediction": "I don't think we should add this to the `setup.py` file.", "reference": "Should be 2.1.1" }, { "prediction": "`required_subject` is not used anymore.", "reference": "nitpick: `required_subject` doesn't seem to be used here" }, { "prediction": "I think this import should be `org.openqa.selenium.grid.distributor.Distributor;`", "reference": "We can revert this to reduce the diff of the PR." }, { "prediction": "I'm not sure this is the right place for this method. I think it should be `self.presType_content` instead of `self.presType_layout`.", "reference": "Extraneous blank line." }, { "prediction": "I think this should be `result_handler_plist_to_db` instead of `result_handler_plist_to_stdout`", "reference": "Is this the same import as in the line 20?" }, { "prediction": "Line is too long. [87/80]", "reference": "why those additional checks after published? template.version should always be present and greater than zero" }, { "prediction": "I'm not sure this is the right place to put this in GroupMember. I think it should be in GroupMemberPod.", "reference": "I did not see this is used in the controlplane API? Is it for internal use only? Then no need to define it here?" }, { "prediction": "I'm not sure if this is the right way to print the gcnArchName. I'm not sure if it's the right way to print the gcnArchName, but if it's the right way to print the gcnArchName, I think it should be `gcnArchName: \" << props.gcnArchName << endl;`", "reference": "Should we also add a line to print gcnArch?" }, { "prediction": "I think this should be `/Automatically sends usage statistics and crash reports to Brave/g` instead of `/Automatically sends crash reports to Brave`", "reference": "I merged already so need another PR, but I think this needs to be at the bottom." }, { "prediction": "I'm not sure if this is a good place to put this in ConfigManager.h.", "reference": "space in key string?" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure if this is the right way to do it.", "reference": "The commends of this function should be updated" }, { "prediction": "Can you add this to AnchorHead.__init__.py?", "reference": "The docstring is outdated." }, { "prediction": "I think we should rename this to \"dd.service_id\" or \"dd.version_id\" or \"dd.env_id\"", "reference": "Could rename to `ServiceVersionKey` for consistency with the suggestion to rename the TracerSetting." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to put this in the `install()` method, so that we don't have to duplicate the logic in the `install()` method.", "reference": "I seem to recall a UI issue with this... @akarve I think you didn't like this for some reason..." }, { "prediction": "I think this should be `protected` instead of `protected`.", "reference": "The `MediaBlockService` commit must be remove" }, { "prediction": "I think this test should be `assertTrue(rre.SUPPORTED_RETENTION_RES_TYPES, len(rules_engine.rule_book.resource_rules_map))`", "reference": "Use a literal constant here, and use `assertEqual`, e.g. `self.assertEqual(2, len(...))` You should also check that the number of rules is correct, i.e. 1 rule for buckets, 0 rules for tables." }, { "prediction": "This is a breaking change, so it is no longer planned for Uppy v4.", "reference": "@Murderlon Should it just say `some future version`?" }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "change looks good.. but, better to make populateVersion to return same object in the case of error.. that avoids lot of complex logic and probable issues" }, { "prediction": "I think this should be `if exe, err := exp.getAddressDetails(hashStr); err == nil {`", "reference": "invalid operation: exp (variable of type *Service) has no field or method getAddressDetails (from `typecheck`)" }, { "prediction": "I think this should be `config.SetBGFlushPeriod(1 * time.Millisecond)`", "reference": "Probably overkill, but maybe we should be using a fake clock here. I won't push on whatever you decide though." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "If you feel like it, may as well apply all the suggestions below to this test too." }, { "prediction": "I'm not sure if this is the right place to put this method. I'm not sure if it's a good place to put it.", "reference": "do we really need a relation or can we just assume INTERSECTS?" }, { "prediction": "I don't think this is needed.", "reference": "Is this a `MetricKey`?" }, { "prediction": "This should be `DEFAULT_SCHEDULE_END_EPOCH_TIME`.", "reference": "what's your rationale to pick up this date?" }, { "prediction": "I'm not sure if this is the right place to put this import.", "reference": "NIT: I'd have preferred that the new package be called \"utils\", but that's not a big deal." }, { "prediction": "Line is too long. [87/80]", "reference": "Simple Storage **Service**" }, { "prediction": "I'm not sure if this is the right way to do it, but I'm not sure if it's the right way to do it, so I'm not sure if it's the right way to do it.", "reference": "I think, retrieving the setting could also be done outside the loop. What do you think?" }, { "prediction": "This is the only place where we would use the private state.", "reference": "This TODO isn't related to this change. We should remove it." }, { "prediction": "I think this should be `info` or `warn`.", "reference": "We chose `info` in the test code for obvious reasons. Changing to `finest` makes debugging harder and noisier." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I'm not really sure this is worth it. Keep in mind that every special case we add has the potential to introduce new errors and complicates the code further. For common cases that is acceptable, but in this instance I don't think it's beneficial." }, { "prediction": "I'm not sure we want to print selectors here. If we want to print the agent's selector, I think we should print the agent's selector, not the agent's selector.", "reference": "nit: this `if` isn't necessary since we immediately follow it up with a range over the slice, which works fine with a `nil` slice." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Remove this line please." }, { "prediction": "I don't think we need this map.", "reference": "why is this is class field? it should be something local within the auto apply template method since we only need this once to process templates and never use again." }, { "prediction": "I'm not sure if this is the correct way to do this, but I'm not sure if this is the right way to do it.", "reference": "I agree with Stephen it's better to invoke getStandards() only once." }, { "prediction": "`irregular_dims` is not used anymore.", "reference": "After discussing what ``irregular_dims`` really is, we agreed that we need a better name that makes it clearer that this is more of an xarray concept of irregular dimensions than a holoviews one." }, { "prediction": "I think this should be `LOG.info(\"Created container {0}\", id);`", "reference": "This code is new and not tested well. While we may drop the log level before we ship 4.0, right now this is extremely helpful to users." }, { "prediction": "I think this should be `white-space: nowrap; font-size: 14px;` instead of `white-space: nowrap;`", "reference": "this makes sure there is some padding space around the size column" }, { "prediction": "Why is this needed?", "reference": "Put these includes in alphabetical order" }, { "prediction": "I think this should be `isinstance(parent, JAB)`", "reference": "Can this just be an else?" }, { "prediction": "I think we should import `get_root_logger` from `nn.Module` instead of `get_root_logger`.", "reference": "Merge this line with Line7" }, { "prediction": "Align the elements of a hash literal if they span more than one line.
    Space inside } missing.", "reference": "`clearfix` is needed to stop the `float:right` content overflowing the list item container." }, { "prediction": "I'm not sure if this is the right thing to do here. It looks like we're using parameterized jobconfigs in benchmarks, but I'm not sure if that's the right thing to do.", "reference": "Can this be put on the assembly?" }, { "prediction": "I think it would be better to use `Boolean.parseBoolean(req.getParameter(\"alwaysOk\"));` instead of `Boolean.parseBoolean(req.getParameter(\"alwaysOk\"));`", "reference": "Could we rename the parameter to `overrideStatusCode`? The name `alwaysOk` implies that the health check result would be always healthy." }, { "prediction": "I don't think we need to expose the `schedpolicy` as a public API.", "reference": "\"/schedpolicy\" is repeated, i would make it a constant and use it here and cluster client.go" }, { "prediction": "I'm not sure this is the right place for this method, but I think it would be better to just call `Kernel.srand(configuration.seed)` instead of calling `Kernel.srand(configuration.seed)`", "reference": "Having a second `configuration` arg seems kinda odd to me as an interface. It looks like you're just using it as a form of dependency injection for the tests, right? Part of what makes it seem weird is that it's leaked into all the other orderers where they don't use `configuration` at all. Instead, what do you think about accepting the configuration in `initialize` (and having it default to `RSpec.configuration` in the same way)? To me, the config feels like a bit of state the instance should hold onto rather than being given each time `order` is called. It also means the other orderers wouldn't need to take the odd second argument. Thoughts?" }, { "prediction": "I'm not sure this is the right place for this. I think it should be `if not globalVars.appArgs.secure:` instead of `if not globalVars.appArgs.secure:`.", "reference": "This button should also be disabled when in secure mode since it opens a web browser from which you can easily do a lot of insecure stuff." }, { "prediction": "I think this should be `@Deprecated` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)` or `@Restricted(NoExternalUse.class)`", "reference": "Should this be done as part of `expireSnapshots`? I'd like to avoid adding a lot of operations to `Table` because it is already a large API." }, { "prediction": "I'm not sure if this is the right place to put this function. I'm not sure if this is the right place to put it.", "reference": "I do not think that this type (and its constructor) have to be exported." }, { "prediction": "I'm not sure if this is the right place to put this parameter.", "reference": "why add this? don't think it's correct? for instance, it returns ErrCandidateNotExist (not critical), in this case we should return a receipt with corresponding status" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "Instead of creating a new file, put this in tls.go, like right after or before DNSProviderConstructor is defined." }, { "prediction": "I don't think we need to pass ` OC.getLocale()` here.", "reference": "Instead of OC.getLocale() for the default value the default should be the value of the user value 'core' 'lang'. When loading the page this can be added to the parameters by retrieving $this->config->getUserValue($user->getUID(), 'core', 'lang'); in viewcontroller.php." }, { "prediction": "I think this should be interface1.", "reference": "Why interface1? It should be in inner so." }, { "prediction": "I'm not sure if this is the right thing to do here. I think it should be `dict(self.musicbrainz_id, self.auth_token, self.gdpr_agreed)`", "reference": "Ideally, I'd have converted dicts to object but this way was less changes so this way for now." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Why is that test different to line 4022 (allocate is not tested there)? Shouldn't that be consistent?" }, { "prediction": "I think we can move this to a separate `if (rc == -1)` block, so that we don't have to duplicate the `if (rc == -1)` block.", "reference": "Should we consider move this expression evaluation to SETUP_INSERT step since it evaluates from queue entry. Also, this expression is not evaluated in ExHbaseAccessVsbbUpsertTcb." }, { "prediction": "Is this TODO still needed?", "reference": "Don't see any more TODOs here.." }, { "prediction": "I'm not sure if this is the right approach, but I'm not sure if this is the right approach.", "reference": "Can you extract this out to a constant?" }, { "prediction": "I think this should be `LOG.debug(log_args)` instead of `log_module.main(log_args)`", "reference": "any testcase for saargs, and tidyargs argument processing?" }, { "prediction": "This should be `string.Empty`.", "reference": "@ericstj do you think it is worth combining these two? With the presence of the message meaning it is enabled?" }, { "prediction": "I'm not sure this is the right fix, but I'm not sure if this is the right fix. I'm not sure if this is the right fix, but I'm not sure if this is the right fix or if it's the right fix.", "reference": "why not use instance.RootDeviceName?" }, { "prediction": "Why is this needed?", "reference": "not needed, ADIOS2 also needs to check for subfiles. ADIOS2 tries to remove dependency on serial `fstream`." }, { "prediction": "nit: `No extension support for ${path}`", "reference": "no need to wrap in new Promise - you can simply throw the exception" }, { "prediction": "I think this should be `t.Fatalf(\"Got error reading certificates: %s\", err)`", "reference": "Isn't this testing an implicit config, not a manual config?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "I don't think this is used any more, please remove." }, { "prediction": "I'm not sure if this is the right place to put this function.", "reference": "shouldn't we name abbreviations up-cased? `myId` -> `myID`?" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to move the `applyRef` call into the `recollectNodeTree` function, so that we don't have to call `recollectNodeTree` twice.", "reference": "This just always calls refs. I think we need to either hoist ref invocation back out of `setProperty()` (it used to happen during rendering), or wait for component recycling to go away." }, { "prediction": "I think this should be `t.Errorf(\"Error registering the controller: %v\", err)` instead of `t.Errorf(\"Error registering the controller: %v\", err)`", "reference": "Oof. I may have missed this while reviewing #3805" }, { "prediction": "I don't think this is needed anymore.", "reference": "why the NOLINTs here? please just alphabetize the headers (should be easier than adding NOLINTs) unless there's a good reason not to..." }, { "prediction": "I'm not sure why this is needed.", "reference": "Should we maybe return `` instead?" }, { "prediction": "I'm not sure if this is the right place to put this. I'm not sure if it's a good place to put it, but if it's a good place to put it, it's a good place to put it.", "reference": "Please use camelCase in new code" }, { "prediction": "I think this should be `places-us` instead of `places`.", "reference": "Looks like the whitespace is off here. Not sure if there's a space or two too many or if there is an issue with tabs vs. spaces, but you probably want to fix this :)" }, { "prediction": "`bootstrap.js` bundle must be loaded after jQuery UI to avoid conflicts. You can use `noConflict()` if you need to access functions covered by jQuery UI covered by `bootstrap.js`.", "reference": "This was just my laziness and I didn't copy the first line. Just remove it together with one empty line. Thanks" }, { "prediction": "Why do we need to use Shopsys\\FrameworkBundle\\Model\\Product\\ProductDataFactoryInterface instead of Shopsys\\FrameworkBundle\\Model\\Product\\ProductDataFactoryInterface?", "reference": "Why did you decide to change CartItemTest but you didnt change QueryBuilderWithRowManipulatorDataSourceTest?" }, { "prediction": "I think we should be checking `pollForKID!= \"\"` instead of checking `k.GetCachedUserInfo(uid)` twice.", "reference": "This was sort of a pre-existing bug -- we should be busting our local cache if the key isn't present. However, `KBPKIClient.HasVerifyingKey` already took care of it on that path. This way is better though." }, { "prediction": "I think this should be `//go:build go1.15,integration`", "reference": "Should this tag addition for generated files be handled explicitly in `private/model/cli/gen-api/main.go`" }, { "prediction": "I'm not sure if this is the right place to put this check. I'm not sure if this is the right place to put this check, but I'm not sure if it's the right place to put it.", "reference": "You want to return if it's quiet time and notifications during quiet time are **not** enabled. So this is either a logic error or it's bad naming of the setting/field/method." }, { "prediction": "I'm not sure this is the right thing to do here. The `APP_DOMAIN` variable should be set to `development.env.APP_DOMAIN`, and the `HOST` variable should be set to `development.thoughtbot.com`.", "reference": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it would be better to put this in the `installation?` method, rather than in the `source_host` method, since it's only used in `installation` and `source_host` is only used in `force_private?`.", "reference": "cool, here (L146 && L148) maybe (repo_private? || force_private?) &&!installation? to prevent double call of installation?" }, { "prediction": "This should be `util.Failed(\"Failed to GetActiveApp err: %v\", err)`", "reference": "this error carries a bit more meaning for us, but less meaning for users. we also lose the context of what command produced the failure. I'd prefer to keep the original error message. If we need better identification of GetActiveApp errors, maybe we could address that in the error messages it returns?" }, { "prediction": "I'm not sure we should change this. I think we should change the way the user configures the cluster TLS insecure.", "reference": "Same: DO NOT USE IN PRODUCTION. Yes we should shout ;)" }, { "prediction": "I don't think we need to change this.", "reference": "This change may be hiding more errors, if we continue to see more." }, { "prediction": "Why is this change needed?", "reference": "Beware of exposing the underlying features directly. Any mutable fields should be reset per request." }, { "prediction": "I'm not sure this is the right fix, but it seems to me that `recollectNodeTree` is called before `baseParent.insertBefore(base, initialBase);` and `baseParent.insertBefore(base, initialBase);` is called after `baseParent.insertBefore(base, initialBase);`", "reference": "This is probably more nuanced than I can feasibly check in a PR review, haha. Was the issue here that `replaceChild()` removes `initialBase` from the DOM before `recollectNodeTree()` invokes `componentWillUnmount()` on the owning component?" }, { "prediction": "I think this should be `element_to_be_unclickable(By.ID, \"disabled-button\")`", "reference": "I believe it's misleading name for the condition. I prefer \"element_to_be_disable\" We can have a condition, when element is enabled but we can't click it, because another element overlays above it. So, If we use \"unclickable\" we might mislead people, who use that condition to verify if element can be clicked" }, { "prediction": "I think this should be a `FileAppender` instead of `Appender`.", "reference": "Do we need to expose it? It looks like it is only used in tests and only to obtain the final metrics. I think you can get the same by using `DataFile#lowerBounds` and `DataFile#upperBounds`. It seems `DataWriter` already exposes `toDataFile` that you can use." }, { "prediction": "This change is unrelated to this PR, but should be reverted.", "reference": "the test was failing likely due to locale issue. had to increment the date by 1 to make it pass" }, { "prediction": "I think this should be `scripted = false;` instead of `return true;`", "reference": "The changes below here can also be undone." }, { "prediction": "I don't think we need this anymore.", "reference": "Instead of importing context besides beehivecontext, I'd suggest include golang context functionalities into beehivecontext. To keep channelq only rely on beehive." }, { "prediction": "I think we should rename this method to `getCompleteEntryName(CustomValidatingEditTextView editText)`.", "reference": "I'm not sure about this one. Are you sure we don't need to initialize this fragment anywhere else?" }, { "prediction": "I think this should be done in `addToHistoryTreatment` instead of in `addToHistoryTreatment`", "reference": "You didn't set a source here, so it will probably fail." }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Might be easier to just do `handler{Handler: rpcHandler}` since zero-value of `Deps` is now valid." }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be `fetch('movie.quote')` and not `fetch('movie.title')`", "reference": "Could you please add docs for this method?" }, { "prediction": "Why not just use `getClass().getSimpleName()`?", "reference": "we should probably `@Deprecated` this implementation to be removed in PMD 7.0.0" }, { "prediction": "I'm not sure if this is the right way to do this, but I'm not sure what the best way to do this is. I'm not sure what the best way to do this is, so I'm not sure what the best way to do this is.", "reference": "I wonder if 'unix' makes more sense for this now? I was thinking of putting up a 'cleanup' PR - I think I missed a few \"remote\" var names in the first PR, and want to reassess unifying the transport classes that just define `with_connection`. Renaming this could be part of that." }, { "prediction": "I don't think this change is needed.", "reference": "Do something similar to what was done in JsonTests (can you derive from JsonTests?)" }, { "prediction": "I think this should be `# type: ignore`", "reference": "Yes, not much we can do here." }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "Why do we need this?" }, { "prediction": "I'm not sure if this is the right place to put this.", "reference": "Would prefer to see an actual script here." }, { "prediction": "I think this should be `\"of\" + from.toPath()` instead of `\"of\" + from.toPath()`", "reference": "seems reasonable to also want to include the 'to' location?" }, { "prediction": "I think this should be `['ExtraAugmentation']` instead of `['ExtraAugmentation']`", "reference": "This change is unnecessary." }, { "prediction": "`unselectAll()` and `select()` can be replaced with `setOnMouseClicked(event -> { unselectAll(); select(newElement); });`", "reference": "Just as a note: Is it possible that the select css class is the same as the hover one? If this is true we should choose a different style for the selection css class, to make it more clear to the user I think." }, { "prediction": "I don't think we need this, since it's an array of `CertificateRequest`s.", "reference": "What about Secrets, are we not also trying to cover those?" }, { "prediction": "I don't think this is needed, it's already included in `libkvs/jansson_dirent.h`.", "reference": "(commit messge): how about > update internal commit API for RFC 11" }, { "prediction": "I'm not sure if this is a good thing to do. I'm not sure if it's a good thing to do or if it's a good thing to do.", "reference": "This will now wait for 2.5 hours, not 90 minutes, if the waiter delay is 5s" }, { "prediction": "I'm not sure this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "See this error on console too so I don't think it's just test simulation. For some reason event doesn't show up sometimes" }, { "prediction": "I'm not sure about this change, but I think it's fine to leave it as is. I'm not sure if it's ok to leave it as is, but it's probably ok to leave it as is.", "reference": "We're passing the same thing twice?" }, { "prediction": "I think this should be `echo \"user-data\" | base64` instead of `echo \"dXNlci1kYXRhCg==\"`", "reference": "Shouldn't the value in Bootstrap.Data be just a plain string?" }, { "prediction": "I'm not sure this is the right place to set this. I think it should be `SamplingPriority.UserKeep` or `SamplingPriority.AutoReject`.", "reference": "@robertpi Isn't this changing the sampling priority when `KeepTraces==false`? The sampling priority could be `AutoReject` or `AutoKeep`, based on the sampling decision (or the user may have specified something else). Seems like we shouldn't be changing it in this case?" }, { "prediction": "I don't think we need this, we can just use `/ca.crt` instead of `/edge.crt` in the `CloudCoreReadyCheckURL`.", "reference": "The const can also be used in cloud/pkg/cloudhub/servers/httpserver/server.go L46-47?" }, { "prediction": "I think this should be `blocks[i].type === 'procedures_prototype'`.", "reference": "Use a constant for `procedures_prototype`." }, { "prediction": "`{arg!r}` should be `{arg!r}`", "reference": "This file should probably not be touched as the formatting of the string seems to be a test in itself?" }, { "prediction": "I don't think this PR will work on x64?", "reference": "style nit: missing leading '*'" }, { "prediction": "I'm not sure this is the right place for this.", "reference": "The operationTracer is passed into the processTransaction() method. We should probably pass the no tracing in one in from where it is called." }, { "prediction": "I'm not sure this is the right place for this.", "reference": "I believe this line was an error, it should have been `sercomRXPad1` to be consistent with the pin numbers. Resolving this ambiguity by following the pin numbers." }, { "prediction": "I'm not sure if this is the right place to put this, but I think it's better to put it in a partial, so that it's clear what's going on here.", "reference": "May be useful to have the reason here, though clearly not pressing." }, { "prediction": "why did you change this?", "reference": "These were inverted before" }, { "prediction": "I think this should be `Collections.emptyMap()`", "reference": "DB is implemented in PR 951" }, { "prediction": "I'm not sure this is a good idea, but I think it would be good to have a unit test for this.", "reference": "move all constants to `pkg/util/constants.go`, these constants had been used in `volume_stats.go` file too. So better to import them." }, { "prediction": "I don't think this file should be deleted.", "reference": "Could you revisit the full header and add appropriate spaces after the hashes?" }, { "prediction": "I don't think this is needed.", "reference": "This should either be `hint` that takes a string to render inside of the partial container or probably better you should just render a separate hint field above the code field in the same tab." }, { "prediction": "Why did you change this to 4*time.Second?", "reference": "this was flapping" }, { "prediction": "I don't think this is correct. `keyboardFrame.Height -= scrollView.SafeAreaInsets.Bottom;` should be `keyboardFrame.Height += scrollView.SafeAreaInsets.Bottom;`", "reference": "Please add a check to see if SafeAreaInsets is available. It isn't on all iOS versions." }, { "prediction": "Line is too long. [87/80]", "reference": "interpolation here was causing the translation to not get picked up" }, { "prediction": "I'm not sure this is the right place to do this. If the writer is unregistered from the AsyncWriterThread, then the `flow_controllers_.clear()` will be deleted.", "reference": "We don't need to disable the flow controller here as in `StatefulWriter`s destructor?" }, { "prediction": "I'm not sure if this should be passed to the constructor, but I think it would be better to pass `create_no_window=False` to the constructor.", "reference": "I would rather no have this as a `kwarg` as it encourages \"growth\" which lead to an unweildy constructor in other classes. Let's add a method or property to take care of this instead as I think it's usage is going to be quite low." }, { "prediction": "I'm not sure if this is the right way to do this. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain. If we are going to apply policy to workload ingress traffic, then we don't want to return at the end of the chain.", "reference": "I just noticed that we use Return here, when we have logically allowed a packet, whereas in the forward chain we use AcceptAction. Do you know why that is?" }, { "prediction": "I'm not sure if this is the right place to put this, but I'm not sure if this is the right place to put it.", "reference": "There's one for floats but not for ints. The float implementation is non-trivial though which I guess is the argument there." }, { "prediction": "I think this should be `DCRedirectionPolicyAllAPIsForwarding = \"all-apis-forwarding\"` instead of `DCRedirectionPolicyAllAPIsForwarding = \"all-apis-forwarding\"`", "reference": "If we have a redirection policy for Selected API forwarding, why isn't \"redirect all\" just a special case where they are all Selected?" }, { "prediction": "I'm not sure if this should be `custom` or `custom-framework`. I'm not sure if it's worth it.", "reference": "I wouldn't add this. Just completely ignore config if custom reporter is not `nil` in server options." }, { "prediction": "Should this be `LOG(INFO) << \"storaged misses clusterId\"`?", "reference": "What's the meaning about the code?" }, { "prediction": "`bridge.getServerUrl()` can be null.", "reference": "Would this incorrectly trigger if `loadingUrl.getHost() = \"something.app\"` and `bridge.getHost() = \"app\"`?" }, { "prediction": "This should be set to `True` when using `IoULoss`, `GIoULoss`, or `DIoULoss` in the bbox head.", "reference": "Note generally it -> It" }, { "prediction": "I'm not sure if this is the right place to do this, but I think it would be better to move this logic to the `ConfigSetService` class.", "reference": "Does this mean that every call to `configSet.getIndexSchema()` will create a new schema object (if shared schema is not enabled)?" }, { "prediction": "I don't think you need to change the license header.", "reference": "License header should use the Apache one." }, { "prediction": "I think this should be `err!= nil`.", "reference": "I think this makes more sense to be applied within the parser code where we evaluate the `glob` builtin? This function looks generic in the sense of where it can be used, and perhaps no matches is fine in other cases?" }, { "prediction": "I think this should be `errors.New(\"AWS_DEFAULT_REGION has to be set when running on-premises\")`", "reference": "should we validate that AWSRegion has also been set here so that we don't get into the if-block that relies on the ec2 metadata client below?" }, { "prediction": "I don't think we need to pass `version` as a parameter to `__queryReport`.", "reference": "maybe naming `version` to `package_version` or something similar can be more descriptive" }, { "prediction": "Why is this protected?", "reference": "Why was this changed?" }, { "prediction": "I think this should be `//go:build!arm64//go:build!arm64`", "reference": "Should not have snuck in here right? This is a golang 1.17 feature, wii definitely want to update these" }, { "prediction": "Pundit::NotAuthorizedError is not a valid Pundit::NotAuthorizedError", "reference": "Pundit is unaware of namespacing, however you can still create the class under policies/org_admin/plans_policy.rb. That means, the condition for the unless can be reused in other places too. You would call the policy as OrgAdmin::PlansPolicy.new(current_user).index? after that unless" }, { "prediction": "I don't think this is the right place to log this warning. I think we should log the warning only once, if not explicitly disabled.", "reference": "this warning shouldn't be produced if we configured a cache either" }, { "prediction": "I'm not sure if this is the right place for this test.", "reference": "what if the collection is already there?" }, { "prediction": "I don't think this is correct. `TakesScreenshot` is a `java.lang.String`, not a `java.lang.String`.", "reference": "instead of removing can you reference org.openqa.selenium.TakesScreenshot?" }, { "prediction": "Please remove this empty line.", "reference": "Please revert unrelated changes" }, { "prediction": "I don't think this is the right place for this.", "reference": "As far as I know, this will replace only first occurance of Countly, not others, if there are more than one Countly word in localized string" }, { "prediction": "I don't think this change is needed.", "reference": "I suggest, that we move the regex (`[^a-zA-Z0-9_]`) to a separate constant field, because we're using it in multiple places and I think it's quite prone to misspellings." }, { "prediction": "I'm not sure this is the right place to put this, but I think it's better to put it in `typing.py`.", "reference": "Feel free to disregard, but I've been trying to use `Mapping` and `Sequence` instead of `Dict` and `List` when possible, because they communicate that the type is immutable, and also are covariant." }, { "prediction": "nit: remove empty line", "reference": "No need for blank line here. This block will then be reordered alphabatically." }, { "prediction": "I'm not sure if this is a good place to put this const. I'm not sure if it's a good place to put this const, but I'm not sure if it's a good place to put it.", "reference": "let's call it `in-cluster` instead of `local`. less chance of confusion." }, { "prediction": "Why do we need to set the ref here?", "reference": "Please use camelCase instead of underscore_case" }, { "prediction": "I'm not sure if this is the best way to do it, but I think it would be better to use `trim_to_bytes(f\"{str(info)}\\n{body}\", ELASTIC_LIMIT_BYTES)` instead of `trim_to_bytes(f\"{str(info)}\\n{body}\", ELASTIC_LIMIT_BYTES)`", "reference": "Ideally, we'd fold the schema into an expanded system_meta, but this is a good first step." }, { "prediction": "I think this should be `fields` instead of `fields`.", "reference": "Is this used?" }, { "prediction": "I don't think this is needed.", "reference": "Should we use `#if NETFRAMEWORK` for consistency with the other projects?" }, { "prediction": "I'm not sure if this is the right place to put this TODO.", "reference": "If it parses failed, both of the `containerName` and `podId` should be the empty strings, it's non-sense to define this error, I suggest just return it." }, { "prediction": "Why are we removing this?", "reference": "line 26 can be removed i think > applicationId: or('config.unsplashAPI.applicationId','settings.unsplash.applicationId')," }, { "prediction": "Please use `std::string` instead of `std::string`.", "reference": "To generalize for possible future new enum options." }, { "prediction": "I don't think this is needed.", "reference": "Shall we remove this variable at the end of UTScapy execution?" }, { "prediction": "I think this should be `model.getServiceConfig().getApisList()`", "reference": "What is this checking for? Why is returning the list of interfaces the correct behaviour in this case?" }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure if this is the best way to do it, but I'm not sure if this is the best way to do it.", "reference": "Please name it correctly as Beam ;)" }, { "prediction": "I think this should be `googleapi.Error. Likely a transport error.`", "reference": "After chatting with Andrew, we think it's better to look for this particular error string that is causing issues (\"connection reset by peer\") instead of blindly retrying on any error we don't know about." }, { "prediction": "I think this should be `internal` instead of `abstract`.", "reference": "any reason to not have defaults here like you had before? (ARM)?" }, { "prediction": "Use the new Ruby 1.9 hash syntax.
    Use the new Ruby 1.9 hash syntax.
    Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "This is a change. The old code was just wrong before, but now here (and one other machine-readable place) we expose the start index as 0 for the first item." }, { "prediction": "Why is this change needed?", "reference": "This changes the behavior of the parser, right? Any particular reason to do this aside from the fact that you have to since the function takes a const?" }, { "prediction": "I don't think this is the right solution. We can't use keyed Fragments here because the Fragment collapses logic when toggling between two sibling portals if we use a shared keyed or the Fragment collapsing logic when trying to generate a new key on each call.", "reference": "Given how simple the Portal implementation is, I wonder if we should move it core... Though we'd have to export it which would be more bytes we can't crawl back..." }, { "prediction": "I think this should be `s.callQueue = this.callQueue.map(function(f) { return f; });`", "reference": "The more correct way of doing this is `this.s.hooks.clone()` but either way works. Thanks for finding this :+1:" }, { "prediction": "I'm not sure this is a good idea.", "reference": "Can we update bool to an enum instead of a string? This helps future extensibility" }, { "prediction": "I don't think we need to parse `2015-10-01` to `3500.0` since that's how it's done in the past.", "reference": "Should we share, since this is also being used with gsa18f?" }, { "prediction": "`crash-data-subrow` should be `crash-data-subrow`", "reference": "There can be multiple subrows, so it is not a good idea to use `id` there, as id should identify single unique element. Instead you could just add the id of whole table or of whole crash plugin view" }, { "prediction": "I think we should remove this line.", "reference": "Why was this assert removed? Shouldn't we check if the file is in the zip?" }, { "prediction": "I'm not sure if this is the right place for this.", "reference": "This logic should be handled at informer handle functions i.e. AddFunc, UpdateFunc, DeleteFunc" }, { "prediction": "I think this should be `return apisv1alpha1.PoolType(poolSpec.RaidGroups[0].Type) == apisv1alpha1.PoolStriped`", "reference": "S1008: should use'return ' instead of 'if { return }; return ' (from `gosimple`)" }, { "prediction": "I'm not sure this is the right place for this. I think it should be `defaultTitle`.", "reference": "Just to remove branching, use `defaultTitle` explicitly in the test cases. (Is this gofmt'd?)" }, { "prediction": "I think this should be `new SampleTransformer(SampleType.IN_CODE)`.", "reference": "I don't think you use this variable anywhere. (You call `SampleTransformer.newBuilder()` below)" }, { "prediction": "I'm not sure this is the right thing to do here. I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do.", "reference": "The digest is in binary and variable size (the digest size is result if > 0). So we can't use xxstrdup." }, { "prediction": "I'm not sure this is the right place for this method. I'm not sure if this is the right place for this method, but I'm not sure if it's the right place for this method.", "reference": "We don't need this additional method." }, { "prediction": "I'm not sure this is the right place to put this interface. I'm not sure if it's a good idea to put this interface in the client package.", "reference": "We can't do this. Adding a method to an interface is a breaking change. This was an oversight on our part when we converted ClientConfig from a struct to an interface. OutboundConfig was introduced to fix this, the idea being that we should use OutboundConfig everywhere instead of ClientConfig. In case of Dispatcher, we want to use the OutboundConfig and MustOutboundConfig methods instead of ClientConfig, and for streaming, the client needs to attempt to upcast a ClientConfig to OutboundConfig and error out if that's not possible." }, { "prediction": "I don't think this is correct. The default participant qos is the default participant qos for the domain participant. The default participant qos should be the default participant qos for the domain participant. The default participant qos should be the default participant qos for the domain participant. The default participant qos should be the default participant qos for the domain participant. The default participant qos should be the default participant qos for the domain participant. The default participant qos should be the default participant qos for the domain participant. The default participant qos should be the default participant qos for the domain participant.", "reference": "Why not using the constant `PARTICIPANT_QOS_DEFAULT` here?" }, { "prediction": "I'm not sure if it's a good idea to add a default implementation for this function.", "reference": "Shouldn't this be `tm_cpp` to match `temporalImp`? (There are multiple CPP implementations, so 'cpp' is ambiguous.)" }, { "prediction": "I'm not sure if this is the best way to test this.", "reference": "Need to remove this empty line for rubocop to be happy." }, { "prediction": "Why is this removed?", "reference": "just checking: do we need to remove this because otherwise the `List` operations may not return the entire set of Pods / Namespaces? do you know why we used `alwaysReady` in the first place, I can't remember?" }, { "prediction": "I'm not sure this is the right place to put this.", "reference": "maybe we can replace `mongoClient.s.options.autoEncryption.cryptdConnectionString` with `options.autoEncryption.cryptdConnectionString`?" }, { "prediction": "I'm not sure this is the right place to do this, but I think it would be better to do this in the dynamorio_clone() function, rather than in the dynamorio_create_client_thread() function.", "reference": "But we're already doing os_switch_lib_tls to app a few lines above, so there is now redundancy we should alleviate." }, { "prediction": "`SpanId` should be nullable.", "reference": "Under what circumstance would we have a span id already? Is this for testing purposes?" }, { "prediction": "I'm not sure this is the right fix.", "reference": "The original text can be read to say \"not waited on by queue...\" meaing that the second queue was supposed to have *waited* for the signal... which is especially confusing when it's the same queue that has signalled the semaphore *twice* without a wait." }, { "prediction": "I'm not sure if this is the right error message.", "reference": "just clarifying the error messages a bit." }, { "prediction": "I don't think we should expose these as public properties.", "reference": "Have those (and other data like conf...) shared across tracers?" }, { "prediction": "I don't think this is needed.", "reference": "could we add this file only when we need one?" }, { "prediction": "I'm not sure this is the right place for this. I think we should add it to the `Context` struct.", "reference": "This may not even be needed." }, { "prediction": "I'm not sure if we should add `Debug.tools` and `Debug.namedTools` to the `KnownFields`.", "reference": "Capitalisation seems inconsistent here?" }, { "prediction": "I'm not sure if this is the right place to put this interface. I'm not sure if this is the right place to put it.", "reference": "maybe better Error(string text) and Error(Exception ex) separately?" }, { "prediction": "This should be `langserver: path.Join(config.Please.Location, \"build_langserver\"),`", "reference": "can you leave the old one in too please? at least for now, otherwise anyone using it now will break." }, { "prediction": "I'm not sure if this is the right place to do this, but I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this, but if it is the right place to do this, I'm not sure if this is the right place to do this.", "reference": "Trailing tab, remove it in another PR." }, { "prediction": "I don't think this is the right place to signal the error. It should only happen if the taskQueueID is nil.", "reference": "what about merging the error checking logic to within `errShouldUnload`?" }, { "prediction": "I'm not sure this is the right place to put this method. I think it should be `Topic.find_by_slug(params[:slug])`", "reference": "Probably want Topic.find_by_slug! to handle bogus topics. The next line will try to load articles off of nil otherwise." }, { "prediction": "I'm not sure if this is the right place to put this check. I'm not sure if it's a good idea to put this check in the `get_policy().is_gpu()` method, or if it's a good idea to put it in the `get_policy().is_gpu()` method. If it's a good idea to put it in the `get_policy().is_gpu()` method, then I think it's better to put it in the `get_policy().is_gpu()` method.", "reference": "Should it really be done on test side?" }, { "prediction": "I think it would be good to have some context about execution credentials removed in cleanupTask.", "reference": "Can we elaborate on why? I'm guessing because we need the execution role to call FE stopTask during `cleanupTask`, but would be good if we make it clear here." }, { "prediction": "I think this should be `if opts.validateFlowExporterConfig() { klog.Fatalf(\"Failed to validate flow exporter config: %v\", err) }` instead of `if opts.validateFlowExporterConfig() { klog.Fatalf(\"Failed to validate flow exporter config: %v\", err) }`", "reference": "is there a reason why this is not called from inside `validate`?" }, { "prediction": "I'm not sure if this is the best way to do this, but I think it would be better to have a `wsclient.ClientServer` with a `rwTimeout` parameter that defaults to `time.Duration` and defaults to `time.Duration`.", "reference": ":+1: I much prefer this style for functions with more than a few arguments." }, { "prediction": "I think this should be `if (hasQualifiers) {... } else if (hasQualifiers) {... } else if (hasQualifiers) {... } else if (hasQualifiers) {... } else if (hasQualifiers) {... } else if (hasQualifiers) {... } else if (hasQualifiers) {... } else if (hasQualifiers) {... } else if (hasQualifiers) {... } else if (hasQualifiers) {... } else if (hasQualifiers) {... } else if (hasQualifiers) {... } else {... } else {... }", "reference": "Are these mutually exclusive options (parameters vs qualifiers)? If parameters aren't supported, may want to consider throwing an exception for \"hasParameters\". If parameters and qualifiers are both legit options, then maybe change this to `if (hasQualifiers) {... } if(!hasQualifiers &&!hasParameters)`" }, { "prediction": "Why was this removed?", "reference": "Why did you remove this line?" }, { "prediction": "I think this should be `invalid_indices` instead of `invalid_indices_in_range`.", "reference": "Very unclear error message. Remember that these are messages that your users see. Please be more specific" }, { "prediction": "Should we rename this to `linuxOS` or `windowsCoreOS` or `windowsFullOS`?", "reference": "Can we add these when we need them" }, { "prediction": "I think this should be `array_unique(array_filter($authors, function ($a) { return!empty($a); }));`", "reference": "I believe you can simplify this to simply `return array_unique(array_filter($authors));` -- the default behavior of array_filter is to filter out empty elements, so the callback should not be required in this situation. Do you mind giving it a try and updating the PR if it works?" }, { "prediction": "I think this should be `if not obj:`", "reference": "Would it make sense to log a debug warning here?" }, { "prediction": "Why was this removed?", "reference": "\"in the keystore\", but nevermind" }, { "prediction": "I don't think this change is needed.", "reference": "This should be done in a separate PR." }, { "prediction": "I think this should be `log.error(\"found running player %s\", player.getName());`", "reference": "Rather than this maybe `Text.sanitize` would be better here" }, { "prediction": "I don't think this is the right way to do this. I'm not sure if this is the right way to do it, but I'm not sure if this is the right way to do it.", "reference": "lot of places setting default 'false' to static value - noise in PR" }, { "prediction": "I think this should be done in the `getimagesize` method.", "reference": "I think you should use `$event->getOriginalFileUrl()` instead of `$sourceFilePath` here." }, { "prediction": "I don't think this is the right place for this.", "reference": "nit: It's a matter of taste, but it would be tighter if this is called `api_quota`." }, { "prediction": "I don't think we need this anymore.", "reference": "I noticed in all of these we now have to import the PrecompiledContract under testing. Could also rename the package these are in s/precompiles/precompile to keep them in the same package as they are elsewhere." }, { "prediction": "I'm not sure if this is the right thing to do here, but I'm not sure if this is the right thing to do here. I'm not sure if this is the right thing to do here.", "reference": "doubt this matters..." }, { "prediction": "I think this should be `from scapy.consts import *`, not `from scapy.layers.all import *`.", "reference": "Gets updated versions of `LOOPBACK_INTERFACE`, `LOOPBACK_NAME` when importing scapy." }, { "prediction": "I think this should be `Objects.equal(spec, targetTable)`.", "reference": "checking for ref. equality is probably fine here, but it takes a reader longer to navigate the code and figure out whether ref equality is really wanted here vs just using `equals()`" }, { "prediction": "I think we should move this to the `TransferQueueTaskExecutorBase` class.", "reference": "looks like it's not used? Do we plan to use it in the future?" }, { "prediction": "I'm not sure if this is the right thing to do, but I think it's better to keep the config and options separate. I think it's better to keep the config and options separate.", "reference": "I think this is an unrelated remark. I thought we had moved toward the practice of using \"Config\" as the structure name, and Option as a functional argument (`func(*Config)`), and Options as a `[]Option`. See api/trace `StartConfig` and `StartOption`, for example. That's why I prefer this struct be called Config." }, { "prediction": "I don't think we should import `errors` here.", "reference": "nitpick: superfluous parenthesis" }, { "prediction": "I don't think we should be measuring the metric here. We should be measuring the metric based on whether or not the span is measuring.", "reference": "If, for a given integration, the tag/measure is always set, it should be added to the strongly-typed tags (here for instance, in GraphQLTags). This way, the underlying dictionary is allocated only in the rare case where users add custom tags" }, { "prediction": "Why is this removed?", "reference": "The position change of this line may be a hard fork." }, { "prediction": "I'm not sure this is correct. The `id` is a `uint16_t` and the `id` is a `uint16_t`. The `id` is a `uint16_t` and the `id` is a `uint16_t`. The `id` is a `uint16_t` and the `id` is a `uint16_t`. The `id` is a `uint16_t` and the `id` is a `uint16_t`. The `id` is a `uint16_t` and the `id` is a `uint16_t`. The `id` is a `uint16_t` and the `id` is a `uint16_t` and the `id` is a `uint16_t`. The `id` is a `uint16_t` and the `id` is a `uint16_t` and the `id` is a `uint16_t`. The `id` is a `uint16_t` and the `id` is a `uint16_t`.", "reference": "id is unsigned" }, { "prediction": "Should this be `_env_vars` instead of `_env_vars`?", "reference": "It looks like Puppet doesn't provide type validation for options and we don't provide it ourselves as part of the function. Is that something we'd want to do at some point?" }, { "prediction": "I don't think this is the right place to put this method.", "reference": "Looks like this didn't need to change." }, { "prediction": "I think this should be `self.global_set_option('disable', value)` instead of `self.disable('python3')`", "reference": "I don't understand why this is here and what's the intention with it? Can you elaborate what's the reasoning behind this change?" }, { "prediction": "I think this should be `HistoryShard` instead of `HistoryShard`", "reference": "I think @sergeybykov converted (wanted to convert) all `shardID` to `int32` from `int64`. Please check with him." }, { "prediction": "I'm not sure this is the right place to do this. The `std::min` function is only used for integer division, and the `std::max` function is only used for integer division. The `std::min` function is only used for integer division, and the `std::max` function is only used for integer division. The `std::min` function is only used for integer division, and the `std::max` function is only used for integer division.", "reference": "This will only fix client side (so showing it in-game) server still gonna hold invalid values I guess?" }, { "prediction": "`repr_kwargs` is a `str` object, not a `str` object. You should use `repr_kwargs` here.", "reference": "Shouldn't this be `cls.param.warning`?" }, { "prediction": "This test is now failing because `caps['chrome.detach'].to be nil` doesn't match `caps['goog:chromeOptions'].clone()`", "reference": "This spec can be modified, giving you extra strength (Check this fetch key doesn't work and therefore returns `nil`)" }, { "prediction": "I'm not sure if this is the right way to do this, but I think it would be better to use `self.config.options.listen_port` instead of `self.config.options.listen_port`.", "reference": "Could we not just always include `self.config.options.listen_host`? If that is empty, the `address[0]` check should also never be true." }, { "prediction": "I think this should be `tableOps().current().propertyAsLong( TableProperties.METADATA_SPLIT_SIZE, TableProperties.METADATA_SPLIT_SIZE_DEFAULT);`", "reference": "Why not just access `ops` directly like before?" }, { "prediction": "This function is no longer used, please remove it.", "reference": "Is there even a need to keep the bool?" }, { "prediction": "Why is this change necessary?", "reference": "wrap to stay under 80 characters" }, { "prediction": "This should be `LOG(FATAL)`", "reference": "`return NULL` is more clear than `throw` at least in my reading, and consistent with #3362." }, { "prediction": "I think this should be `PYTHONPATH = os.path.join(get_full_path(__file__, step_up=2), \"resources\", \"locustio-taurus-wrapper.py\")`", "reference": "Both of these are important. Without it, locust won't find my libraries in the cloud." }, { "prediction": "I'm not sure if this is the right fix.", "reference": "This should remain as `ListServices`" }, { "prediction": "I'm not sure what this package is supposed to do.", "reference": "If no tests, remove this file." }, { "prediction": "I think this should be `GSUITE_SERVICE_ACCOUNT_KEY_FILE = context.properties[ 'groups-service-account-key-file' ]`", "reference": "This will require changes to the docs. I suggest searching the gh-pages branch for the previous variable name." }, { "prediction": "I'm not sure if this is the right place to do this.", "reference": "`RemoteHandler` is used in nvda_slave and slave does not have access to `globalVars` currently. Perhaps `globalVars.appDir` should be set to `None` in `globalVarrs by default and set to NVDA directory when they're imported for the first time." }, { "prediction": "I'm not sure if we should add this to the `MetricsConfig` struct. I'm not sure if it's a good idea to add it to the `PrometheusConfig` struct.", "reference": "In case there is more configuration to be added to the \"inmem\" metrics later (however unlikely that is), we may want to play it safe and create an `InMemConfig` struct and include the disabled flag there. This also gives the config symmetry across the plugins." }, { "prediction": "Line is too long. [82/80]", "reference": "I'll need to pull this out of here since we're sharing this in other tests. Same for `procurement_spec.rb`" }, { "prediction": "Metrics/LineLength: Line is too long. [83/80]", "reference": "what about `observer` as a var name here (and below) rather than `obs`? -- would be clearer, imo!" }, { "prediction": "I'm not sure if this is the right place to catch `KeyError`.", "reference": "could you change this to instead of being a `try.. except` be `message = message.get('message')`" }, { "prediction": "I don't think this file is needed.", "reference": "Add space between License and nameapace" }, { "prediction": "I'm not sure if this is the right place to put this method. I think it should be `show` instead of `update`.", "reference": "should we have a `before_filter` for auth here?" }, { "prediction": "I think this should be `errors.Wrapf(err,...)`", "reference": "@vincepri I know we discussed moving this up and only calling it once, but I didn't (quickly) see an easy way to generate the right event based on the appropriate action (attach vs detach). Happy to move it around if you have suggestions." }, { "prediction": "I'm not sure if this is the right place to do this. I'm not sure if this is the right place to do this.", "reference": "Can we use record.update here?" }, { "prediction": "I'm not sure we need to use `items()` here.", "reference": "Shouldn't the exact case option matter here?" }, { "prediction": "I think this should be `luigi.util.BaseTask` instead of `luigi.util.BaseTask`.", "reference": "Errr, why haven't we noticed this until now?" }, { "prediction": "I think this should be `equals()` instead of `equals()`", "reference": "It's a little spooky that this method throws exception if you try to set the attribute to a different value than it was set before, but then does leave the new value set in the attributes?" }, { "prediction": "I'm not sure this is the correct version.", "reference": "Please only increment by 1." }, { "prediction": "I think this should be `org.joda.time.Period`", "reference": "Sorry I might have missed some context, but what's the reason you choose `Period` over `Duration` or `Interval`? (Thumbs up for using `org.joda.time` instead!)" }, { "prediction": "I'm not sure if this is a good idea, but I think it would be better to have a default value for `preventWheel` and `preventOverflow` so that we don't have to worry about `preventWheel` and `preventOverflow` in the future.", "reference": "Please check if is it possible to mark it as private. What's more please add this to the TypeScript definition file." }, { "prediction": "I'm not sure this is the right place to put this, but I'm not sure it's worth it.", "reference": "Maybe move this to `util.h`?" }, { "prediction": "I'm not sure if we should include this in this PR, but I think it would be better to move it to the `example.go` file.", "reference": "oops. this won't work will it" }, { "prediction": "I'm not sure this is the best way to handle the TLF type. I'm not sure if this is the best way to handle the TLF type, but if it is the best way to handle the TLF type, I think it would be better to have the TLF type check in the `MakeInitialRootMetadataV3` function, rather than in the `MakeInitialRootMetadataV3` function.", "reference": "@strib I assumed this is what you meant; but let me know if I'm wrong!" }, { "prediction": "I don't think we should return the error here.", "reference": "I believe the error has changed" }, { "prediction": "Style/PredicateName: Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Lint/UnneededDisable: Unnecessary disabling of Naming/PredicateName." }, { "prediction": "Prefer single-quoted strings when you don't need string interpolation or special symbols.", "reference": "Should this be removed now?" }, { "prediction": "I think this should be `GrpcStreamingHandle` instead of `GrpcStreamingType`.", "reference": "streamHandle sounds vague to me. Can you be more specific?" }, { "prediction": "Why not just `server.command(cursor.ns, cursor.cmd, cursor.options, queryCallback);`?", "reference": "Does everything on cursorState belong in the command options?" }, { "prediction": "I'm not sure if this is the right fix. I'm not sure if this is the right fix.", "reference": "This is clever, but I do admit I think it's kinda weird. We can go with it for now and fix it later if people complain." }, { "prediction": "I think this should be `([a-z0-9][-_.a-z0-9]*)/(.+)$`", "reference": "the variable names are not entirely clear. \"bucket\" is essentially the regex that follows gcs naming pattern, right? if so, it should be changed to bucketregex. and then bucketregex, gsregex should be changed to something more specific to what pattern the regex is supposed to match." }, { "prediction": "I don't think this is the right thing to do. The ApiModel should be a subclass of JavaGapicPackageTransformer, and the JavaGapicPackageTransformer should be a subclass of JavaPackageTransformer. The JavaGapicPackageTransformer should be a subclass of JavaPackageTransformer, and the JavaPackageTransformer should be a subclass of JavaGapicPackageTransformer, and the JavaGapicPackageTransformer should be a subclass of JavaPackageTransformer. The JavaGapicPackageTransformer should be a subclass of JavaPackageTransformer, and the JavaPackageTransformer should be a subclass of JavaGapicPackageTransformer, and the JavaGapicPackageTransformer should be a subclass of JavaPackageTransformer, and the JavaGapicPackageTransformer should be a subclass of JavaPackageTransformer, and the JavaGapicPackageTransformer should be a subclass of JavaGapicPackageTransformer, and the JavaGapicPackageTransformer should be a subclass of JavaPackageTransformer.", "reference": "I think `ApiModelT` would be clearer than `T`" }, { "prediction": "Can you revert this file?", "reference": "Shouldn't this be 2019?" }, { "prediction": "I think this should be KILLING(65), KILLED(70), KILLING(80), KILLED(80), KILLING(90), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), FAILED(80), SKIPPED(80), FAILED_FINISHING(80), SKIPPED(80), FAILED_FINISHING(80), SKIPPED(80), FAILED_FINISHING(80), SKIPPED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80), KILLED(80", "reference": "We should consider giving this state a more generic name which could be used for flows in similar state in non-containerized Azkban. For instance in the event of a bare-metal executor crashing we could the switch any flows assigned to that executor to this state. Something like `EXECUTE_INFRA_FAILED`, better alternatives should be possible though." }, { "prediction": "I don't think this is the right place to do this, but I'm not sure if this is the right place to do it.", "reference": "This should allow `role=definition` and `role=term`, possibly also `role=list`?" }, { "prediction": "I think this should be `Boolean.parseBoolean(options.get(property));` instead of `Boolean.parseBoolean(options.get(property));`", "reference": "Should this use `boolean` instead of `Boolean`?" }, { "prediction": "Why did you remove this?", "reference": "Currently in our Zipkin tests, only one passed parameter would instantiate a Resource and checks for its tags populating. I left the If(UseTestResource) clause in the code in case we would like to return to the old resource tag checking, but if it makes more sense I can remove that parameter entirely." }, { "prediction": "I think this should be `public boolean isNodeLive(String node)`.", "reference": "While this is potentially convenient it seems off topic for the PR/Issue. Also if it is kept, in the realm of taste/style I tend to not use get/set/is for things that are not properties of the object. maybe hasLiveNode(String node) thus someone using it might write `if (zkReader.hasLiveNode(\"foo\"))...` which reads quite nicely." }, { "prediction": "I'm not sure this is the right place to put these certs in.", "reference": "What's the difference between blogSvid and the SVID above? Looks like the functions that use these aren't being called currently - can they be removed?" }, { "prediction": "I'm not sure this is the right fix. `reader.Value` can be `null` if `reader.Value` is `null` and `reader.Value` can be `null` if `reader.Value` is `null`.", "reference": "can you add numbers with this change? the CLI is a javascript engine and it can worh number - java adds strings vi concatenation" }, { "prediction": "I don't think this breaks postgresql jsonb compatibility.", "reference": "Shouldn't this `TEXT` also be dependent on the platform, then?" }, { "prediction": "I'm not sure this is the right thing to do here. I think it would be better to have a `ITableObject` interface that returns a `TableObject` object, and then have the `Value` interface return a `Value` object that returns a `TableObject` object. That way we wouldn't have to worry about cyclical imports.", "reference": "Can we name this `TableObject`? I'm not a big fan of the `I` prefix for interfaces and that's not really used in Go. Is it also possible to have the method be unexported? I don't know if that's possible. If it's not, this is good. If it is possible, I'd prefer this method to be unexported." }, { "prediction": "I don't think this is needed.", "reference": "If tbb.h is included, there is no big sense to include other TBB headers." }, { "prediction": "I think this should be `.s3[.\\-][a-z]{2}-[a-z]+-[0-9]{1,}.*` instead of `.s3[.\\-][a-z]{2}-[a-z]+-[0-9]{1,}.*`", "reference": "Let's use the same `S3_HOSTNAME_PATTERN` as above here." }, { "prediction": "I don't think this is the right place to log this.", "reference": "This shouldn't be here." }, { "prediction": "I'm not sure if this is the best way to do this. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is. I'm not sure what the best way to do this is. I'm just not sure what the best way to do this is.", "reference": "A `case` statement may be simpler here." }, { "prediction": "I'm not sure this is the correct error message.", "reference": "why are we adding the current tag count to new tag count?" }, { "prediction": "I'm not sure if this is the right thing to do, but I'm not sure if this is the right thing to do. I'm not sure if this is the right thing to do.", "reference": "Are you writing \"none\" to file content? no good" }, { "prediction": "I'm not sure this is the right place to set the name.", "reference": "Should we allow `string|string[]` here?" }, { "prediction": "I don't think this is the right place to put this, but I'm not sure it's the right place to put this, so I'm not sure if it's the right place to put it.", "reference": "Is there a reason for logging `error.message` specifically, maybe log the whole error object?" }, { "prediction": "I think this should be `Microsoft.AspNet.HttpReqIn` instead of `Microsoft.AspNet.HttpReqIn`", "reference": "Why is this needed?" }, { "prediction": "I think this should be `proxy.attach(ident)` instead of `proxy.notifyWaiters(ident, err)`", "reference": "Nothing. We only expect container-connected events when going via the plugin, not the proxy." }, { "prediction": "Why not just use `let rootId = 0`?", "reference": "We might want to introduce some randomness here in case there are multiple completely separate Preact installations running, i.e. 2 widgets as those will be two roots with a resetting `_domDepth`" }, { "prediction": "I think this should be `t.Fatalf(\"tags error\")`", "reference": "this seems a bit wrong no? why is this change needed?" }, { "prediction": "I think this should be `'Fee is'+ this._estimateFee() / Transaction.FEE_SECURITY_MARGIN +'times the suggested amount';`", "reference": "Still confusing. Why don't we return something like `'Fee too low: expected X but found Y'`?" }, { "prediction": "Why Ports []int is needed?", "reference": "Should be from lowercase `json:\"ports\"` the same is defined in MarshalJSON" }, { "prediction": "Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.", "reference": "Simple Notification **Service** (singular)" }, { "prediction": "nit: I think it would be better to use `String tr = Packages.org.phoenicis.configuration.localisation.Localisation.tr;` instead of `String tr = Packages.org.phoenicis.configuration.localisation.Localisation.tr;`", "reference": "This code should be executed in NashornEngineFactory" }, { "prediction": "Why not just use `rand.Seed(time.Now().UnixNano())`?", "reference": "this is not so great as it sets the global rand seed. in tests that invoke this method multiple times for whatever reason, the global seed would be overridden every time the constructor would be called and the instances would have a different seed after every constructor call. it would be better to just pass a new source here as a parameter and do the same within the test. it should simplify things and clean this up" }, { "prediction": "I'm not sure if this flag is a good idea. If it is, it should be set to `false` by default.", "reference": "This looks inverted to me: if `--rpc-require-chainid-in-txs=true`, then shouldn't `unprotectedTransactionsAllowed == false`? Suggest changing this variable to `requireTxReplayProtection` or similar. I think the flag name could be clearer as well, maybe: `--require-tx-replay-protection`." } ] }