hash stringlengths 16 16 | value dict | prompt listlengths 12 12 |
|---|---|---|
033b0baff52bb483 | {
"callgraph": "[FindFiles->[Builder->[asOfTime->[inSnapshot],inPartitions->[inPartitions]]]]",
"msg": "If there are no manifests, then entries should be `CloseableIterable.empty()`, not the manifest iterable. That doesn't need to be closeable.",
"patch": "@@ -191,7 +191,10 @@ public class FindFiles {\n Sna... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
c1752542d5b833d3 | {
"callgraph": "[OpenTelemetryProtocolExporterEventSource->[FailedToReachCollector->[FailedToReachCollector],ExportMethodException->[ExportMethodException]]]",
"msg": "Didn't went with backwards compatibility since it's still in beta",
"patch": "@@ -26,11 +26,12 @@ namespace OpenTelemetry.Exporter.OpenTelemetryPr... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
7dc3d2474c83cca7 | {
"callgraph": "[replace,fieldRow,dispose,isShadow,utils,outputConnection,setAttribute,substring,name,Colours,stringify,map,require,WidgetDiv,DUMMY_INPUT,FieldTextInputRemovable,setCheck,provide,setShadow,Blocks,render,dom,setFieldValue,initSvg,appendChild,ScratchBlocks,parse,connection,INPUT_VALUE,Events,trim,type,g... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
973d5f8f3c42730f | {
"callgraph": "[RefactoringChecker->[_check_superfluous_else_raise->[_check_superfluous_else],process_tokens->[_is_trailing_comma],_check_nested_blocks->[_is_actual_elif],_check_chained_comparison->[_find_lower_upper_bounds],visit_with->[_check_redefined_argument_from_local],_check_consider_merging_isinstance->[_dup... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
9ef6bf7111827712 | {
"callgraph": "[cleanExpiredHosts->[val,asyncMultiPut,begin,emplace_back,valid,find,size,CHECK_EQ,LOG,end,erase,empty,key,prefix,next],getActiveHosts->[begin,end,size,resize],loadHostMap->[val,valid,LOG,updateHostInfo,key,prefix,next],intervalSeconds_->[CHECK_GT,CHECK_GE,addTimerTask,CHECK,start],updateHostInfo->[wa... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
227dc48253ec11e5 | {
"callgraph": "[Error->[Error],Shutdown->[Wait,add,recoveryHandleCleanup,Close,hasErrors,Errorf,Shutdown,Go,p2pCancel],NewTracer,Start,Sleep,SetAddPeersHandler,Init,Int64,WithConnectionConfigs,Join,NewFixedPricer,SetPaymentThresholdObserver,EthereumAddress,WriterLevel,Background,NewChequeStore,NewStateStore,HexToAdd... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
24d018dc07d55e7c | {
"callgraph": "[EthGetCode->[getName->[getMethodName],blockParameterOrBlockHash->[getRequiredParameter],resultByBlockHash->[toHexString,isPresent,getPrivateWorldStateAtBlock,getRequiredParameter,orElse,get,getBlockHeaderByHash,getGoQuorumPrivacyParameters]]]",
"msg": "Same here, can we presume if `privacyParameter... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
bdc84bf1acc175a6 | {
"callgraph": "[MethodNameDeclaration->[getParameterDisplaySignature->[getParameterCount,isVarargs],isVarargs->[isVarargs],toString->[getParameterCount],equals->[getParameterCount,isVarargs,equals],hashCode->[getParameterCount,hashCode],getParameterCount->[getParameterCount]]]",
"msg": "In case the method is `void... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
428337f896113abb | {
"callgraph": "[RefactoringChecker->[leave_module->[_init],_check_consider_merging_isinstance->[_duplicated_isinstance_types],__init__->[__init__],visit_augassign->[_check_consider_using_join],visit_if->[_check_superfluous_else_return,_check_simplifiable_if,_check_consider_get],_check_swap_variables->[_is_simple_ass... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
03d2d664448693b3 | {
"callgraph": "[No CFG could be retrieved]",
"msg": "can you replace the tabs with 2 spaces please to match the rest of the project?",
"patch": "@@ -14,3 +14,17 @@ function roots_get_search_form($form) {\n return $form;\n }\n add_filter('get_search_form', 'roots_get_search_form');\n+\n+/**\n+ * Add page slug t... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
567e3ca0398070bd | {
"callgraph": "[No CFG could be retrieved]",
"msg": "Please explain why a user would enable this (space savings), and the requirements for this option to be safe.",
"patch": "@@ -67,6 +67,10 @@ type Config struct {\n \t// If not set, it uses all versions available.\n \t// Warning: This API should not be consider... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
816a4a84590c61b2 | {
"callgraph": "[testCanClickOnALinkThatOverflowsAndFollowIt->[title_is,WebDriverWait,find_element],loadPage->[load],testClickingALinkMadeUpOfNumbersIsHandledCorrectly->[title_is,WebDriverWait,find_element],fixture]",
"msg": "I believe it's misleading name for the condition. I prefer \"element_to_be_disable\" We ca... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
4757eb9940585aa7 | {
"callgraph": "[PathTemplateCheckView->[newBuilder->[Builder]]]",
"msg": "Should this be called something that indicates its function, rather than its content? validationMessagePrefix, or similar?",
"patch": "@@ -23,6 +23,8 @@ public abstract class PathTemplateCheckView {\n \n public abstract String paramName(... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
de9b46b4341d6597 | {
"callgraph": "[remove_pe_defaults_on->[remove_platform_pe_defaults],add_pe_defaults_on->[add_platform_pe_defaults]]",
"msg": "This winds up flipping the desired values. Looks like I gave you a bum steer @kevpl",
"patch": "@@ -32,7 +32,7 @@ module Beaker\n 'puppetbin' => '/opt/puppet/bin/puppe... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
c2e04cd8e85c8f1f | {
"callgraph": "[Const->[REGISTRY_API->[getRegistryApiVersion,format,equals,getDomainName]]]",
"msg": "are you sure you can read version by this artifactid?",
"patch": "@@ -148,6 +148,10 @@ public final class Const {\n public static final String PATH_CHECKSESSION = \"checksession\";\n \n public static final S... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
d6877a096949d92e | {
"callgraph": "[Start->[Start,Lock,Wait,Debug,Info,Submit,Combine,Unlock,SetRouter],Register->[Type,ApplyUnaryInbound,Unary,Info,NewUnaryHandlerSpec,ApplyOnewayInbound,Oneway,Sprintf,Register,NewOnewayHandlerSpec,Object],Stop->[Debug,Wait,Info,Submit,Combine],ClientConfig->[MultiOutbound],With,UnaryChain,ApplyUnaryO... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
cd49283116e9b05a | {
"callgraph": "[PlansController->[rollup->[new],destroy->[destroy],create->[new],new->[new],visibility->[visibility],status->[status],get_most_recent->[new]]]",
"msg": "Since the IdentifierScheme's don't change without us making additional code changes, perhaps this should be added as a constant as we previously d... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
f60d879bbc59089b | {
"callgraph": "[CommandDispatcher->[move_to_next_line->[_current_widget],view_source->[show_source_cb->[_current_url],_current_widget],search_prev->[_current_widget,search],back->[_back_forward],move_to_prev_line->[_current_widget],_parse_url_input->[_parse_url],paste->[_open],scroll_perc->[_current_widget],move_to_... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
5adca273356e738b | {
"callgraph": "[StringConfigurationSource->[GetDouble->[GetString],GetInt32->[GetString],GetBool->[GetString],GetDictionary->[ParseCustomKeyValues,GetString]]]",
"msg": "I looks like we can make `allowOptionalMappings` non-optional since we have another overload without it. (I thought this generated a compiler war... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
7a9e0d491239446f | {
"callgraph": "[ConfigUtil->[installDynamicConfig->[createDynamicConfig],createDynamicConfig->[duplicateServiceCombConfigToCse,createConfigFromConfigCenter,createLocalConfig],getMicroserviceConfigLoader->[getProperty],convertEnvVariable->[getProperty],duplicateServiceCombConfigToCse->[duplicateServiceCombConfigToCse... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
9833722d3af985a8 | {
"callgraph": "[createInfoStore,registerStore,addQueryArgs,dispatch,it,describe,createTestRegistry,select,unsubscribeFromAll,beforeEach,expect,afterEach]",
"msg": "Minor detail, but let's use the interpolated template string syntax instead.",
"patch": "@@ -30,6 +30,7 @@ import { STORE_NAME as CORE_SITE } from '.... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
68f36e4be46f4cce | {
"callgraph": "[AllDataFilesTable->[AllDataFilesTableScan->[newRefinedScan->[AllDataFilesTableScan],planFiles->[schema]]]]",
"msg": "I think these can all be .name() to get the value we are looking for",
"patch": "@@ -84,6 +84,11 @@ public class AllDataFilesTable extends BaseMetadataTable {\n this.fileSche... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
c733dad0abcbf8f4 | {
"callgraph": "[applyProgramsToDirtyDataInterfaces->[setAcceptLocal]]",
"msg": "nit: a switch perhaps?",
"patch": "@@ -614,6 +614,8 @@ func (m *bpfEndpointManager) attachDataIfaceProgram(ifaceName string, polDirecti\n \tepType := tc.EpTypeHost\n \tif ifaceName == \"tunl0\" {\n \t\tepType = tc.EpTypeTunnel\n+\t} ... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
edabcef092cf4db9 | {
"callgraph": "[No CFG could be retrieved]",
"msg": "can we remove this since `getDocValues` already returns an iterator? (we might need to do `T extends DocIdSetIterator` above)",
"patch": "@@ -21,12 +21,10 @@ import java.io.IOException;\n \n import org.apache.lucene.codecs.DocValuesConsumer;\n import org.apach... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
6cbe5b01a8dd4552 | {
"callgraph": "[SendWindowSize->[sendWindowSize],EnsureMinimumWindowSize->[Lock,MinByteCount,startNewAutoTuningEpoch,Unlock],IsNewlyBlocked->[sendWindowSize],GetWindowUpdate->[Lock,Debugf,getWindowUpdate,Unlock],IncrementHighestReceived->[Lock,checkFlowControlViolation,Unlock,Error,Sprintf]]",
"msg": "How often do... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
9665b5089c93d445 | {
"callgraph": "[HttpAccess->[init->[HttpAccess],getOkHttpClient->[build],getOkHttpClientBuilder->[UserAgentInterceptor,build,addNetworkInterceptor],hasNetwork->[getActiveNetworkInfo,isConnected],UserAgentInterceptor->[intercept->[request,proceed,build]],getSystemService]]",
"msg": "This now throws when running tes... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
9073a4fd6c2c8180 | {
"callgraph": "[BatchActionTransport->[reject->[commit],ack->[getMessage,commit,getResourceId,getResult,getId,markEntry,last],get->[commit,beginTransaction,fetchAssociative]]]",
"msg": "As far as I can see you're not rollbacking transaction anywhere. This could potentially cause further issues(and very hard to deb... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
fdb5f91c27e6b65b | {
"callgraph": "[WebEngineTab->[icon->[icon],title->[title],_error_page_workaround->[_show_error_page,url,search],__init__->[WebEngineElements,WebEngineScroller,WebEngineCaret,WebEngineAction,WebEngineSearch,WebEngineHistory,WebEngineZoom,WebEnginePrinting],stop->[stop],_on_history_trigger->[url,title],url->[url],_on... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
44278f389b1cbc57 | {
"callgraph": "[setupDifferentNamedPorts->[JoinHostPort,Sleep,createNetworkPolicy,Sprint,deleteNetworkpolicy,createServerPod,String,runNetcatCommandFromTestPod,Fatalf],StatsV1alpha1,Sleep,JoinHostPort,Sprint,Sprintf,CoreV1,podWaitForIPs,Fatalf,GetScale,TODO,Create,deleteNetworkpolicy,Deployments,runCommandFromPod,Ge... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
cc0167f27e24098c | {
"callgraph": "[IsLordHowe,SetState,PathOfTempFile,CleanupPath,GetState,Bytes,NewMockStateManager,DoAndReturn,GetCodeHash,Get,BytesToHash160,IsAleutian,Any,Hash256b,NewInt,NewCachedBatch,String,EXPECT,IsKamchatka,IsGreenland,Snapshot,NotEqual,Hash160b,CommitContracts,Run,State,clear,Put,Commit,Nil,SelfState,BytesToH... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
f1b43da82793436e | {
"callgraph": "[Codebase->[reloadFiles->[loadAnalyzer],getSymbolLocation->[getDeclaringMethodId,getFileContents],getCasedMethodId->[getCasedMethodId],getOverriddenMethodIds->[getOverriddenMethodIds],getCompletionDataAtPosition->[getFileContents],classImplements->[classImplements],classHasCorrectCasing->[classHasCorr... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
789077752986ed2e | {
"callgraph": "[DeepCopyAsyncCuda->[get_deep_copy_stream,CUDA_SAFE_CALL],attach_texture_object->[CUDA_SAFE_CALL],CUDA_SAFE_CALL->[CUDA_SAFE_CALL],deallocate->[CUDA_SAFE_CALL],reallocate_tracked->[allocate,get_label],allocate_tracked->[allocate],defined->[deallocate]]",
"msg": "Should this be using the `CUDA_SAFE_C... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
7b4044a772372471 | {
"callgraph": "[No CFG could be retrieved]",
"msg": "Type is redundant since it is inherited.",
"patch": "@@ -0,0 +1,10 @@\n+_base_ = [\n+ 'retinanet_pvt_t_fpn_1x_coco.py',\n+]\n+model = dict(\n+ backbone=dict(\n+ num_layers=[3, 4, 6, 3],\n+ init_cfg=dict(\n+ type='Pretrained',\n+ ... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
9dabc69026170d1b | {
"callgraph": "[Merge->[DeepCopy],Duration,Open,IsNotExist,Join,Decode,Marshal,Getenv,ParseInt,Close,NewDecoder,Merge,WriteFile]",
"msg": "Add explanations around these variables - what do they mean, how they should be configured, etc.",
"patch": "@@ -137,8 +137,8 @@ type ConsensusParams struct {\n \tDownCommitt... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
ce3dff8a217c5826 | {
"callgraph": "[No CFG could be retrieved]",
"msg": "1 trailing blank lines detected.",
"patch": "@@ -0,0 +1,3 @@\n+resources :quizzes, only: [:show] do\n+ resources :questions, only: [:show]\n+end",
"summary": "No Summary Found."
} | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
d2e29fea26c58d60 | {
"callgraph": "[LifecycleSuspender->[componentDidUpdate->[componentDidUpdate],componentWillMount->[componentWillMount],componentWillUnmount->[componentWillUnmount],componentDidMount->[componentDidMount]],LifecycleLogger->[componentWillMount->[componentWillMount],componentWillUnmount->[componentWillUnmount],component... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
0e40ed66ebf9427e | {
"callgraph": "[done,text,helper,handsontable,find,createSpy,afterEach,getCell,describe,$,simulate,destroy,it,deselectCell,expect,getCellMeta,contextMenu,selectCell,beforeEach,setTimeout]",
"msg": "Maybe a single quote would be compatible with airbnb style.",
"patch": "@@ -2,7 +2,7 @@ describe('ContextMenu', fun... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
ec5c548077c430ea | {
"callgraph": "[MaxRequestBufferSizeTests->[Socket->[Connect,InterNetwork,Tcp,Loopback,Stream,ReceiveTimeout,SendTimeout],IWebHost->[Start,Build],Task->[Now,FromMilliseconds,sendFunc,GetPort,TrySetResult,WritePostRequestHeaders,InRange,Value,Contains,StartWebHost,ConfigureAwait,Dispose,Equal,CreateSocket,Delay,nameo... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
4614eb3dee60dbd3 | {
"callgraph": "[BasicTests->[WaitForProcessorInvocations->[Sleep,FromSeconds,True,Count,SpinUntil],Task->[GetAsync,CreateServiceResource,CreateRandom,Count,Duration,DisplayName,Build,WithWebHostBuilder,TraceId,Returns,Recorded,Zero,EventId,openTelemetrySdk,ConfigureTestServices,Get,Add,GetTagValue,CreateClient,WaitF... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
0f4fa79f7337f916 | {
"callgraph": "[runningOnOpenShift->[Debug,InNamespace,List,WithError,Background],includeAdditionalCAs->[Sum,TODO,Delete,Bytes,Len,Fprintf,Warning,Infof,Error,Sprintf,WithField,ApplyRuntimeObject,Get,Errorf,WithError],deployHive->[Itoa,Background,runningOnOpenShift,Delete,includeAdditionalCAs,ApplyRuntimeObject,With... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
df256fccd16c9010 | {
"callgraph": "[Buckets->[Buckets],Get->[Get],WriteToGCS->[GetBucket],DeleteGcsPath->[GetObjects,DeleteObject],Close->[Close],FindGcsFile->[GetObjects,GetBucket],DeleteObject->[GetBucket,DeleteObject]]",
"msg": "the variable names are not entirely clear. \"bucket\" is essentially the regex that follows gcs naming ... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
62e819505d8b3a8e | {
"callgraph": "[Parser->[normalize_args->[resolve_symlinks!,file_list,parse_git_repos,set_default_host!,split_arg],usage->[usage]]]",
"msg": "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?",
"patch": "@@ -90,7 +90,9 @@ module Beaker\n ... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
4ee36652babd26bc | {
"callgraph": "[PartitionSpec->[toString->[toString],equals->[equals],hashCode->[hashCode],partitionToPath->[escape,javaClasses,get],identitySourceIds->[fields,equals],Builder->[month->[month,checkForRedundantPartitions,findSourceColumn,checkAndAddPartitionName,nextFieldId],year->[year,checkForRedundantPartitions,fi... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
de130211cccf72a1 | {
"callgraph": "[No CFG could be retrieved]",
"msg": "I feel like we do this in a lot of places should we move that out into its own PR?",
"patch": "@@ -0,0 +1,14 @@\n+module Beaker\n+ module Shared\n+ module Timed\n+\n+ def run_and_report_duration &block\n+ start = Time.now\n+ block.call\n... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
d82c71153ec8c6fa | {
"callgraph": "[PAL->[YamlPlan->[Step->[Upload->[transpile->[function_call,new]]]]]]",
"msg": "Does this fail validation if you now use the `upload` key instead of `source`?",
"patch": "@@ -6,16 +6,16 @@ module Bolt\n class Step\n class Upload < Step\n def self.allowed_keys\n- ... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
66ab8eee5af36c12 | {
"callgraph": "[treeContainsEspExchange->[getArity],synthEstLogProp->[getGroupAttr],doDopReduction->[getArity],computeBufferLength->[,getGroupAttr],getTableDescForExpr->[,getGroupAttr],getLogExpr->[],childNodeContainMultiColumnSkew->[,isLeftJoin],getFirstLogExpr->[],updateableIndex->[,getGroupAttr],setCascadesTraceI... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
35a7e8052294569e | {
"callgraph": "[define,association,sentence,now,body,factory,sequence]",
"msg": "This shouldn't be required. What was going on here?",
"patch": "@@ -1,6 +1,6 @@\n FactoryGirl.define do\n factory :post do\n- association :account\n+ association :account, factory: :account\n association :topic\n bod... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
169691db26209ee9 | {
"callgraph": "[cStorPoolDestroyEventHandler->[DeletePool,LabelClear,Event,Infof,removeFinalizer,Error,GetUID,Errorf],syncHandler->[CStorPools,Event,Infof,Warning,syncCsp,cStorPoolEventHandler,Error,Hold,Update,GetUID,Errorf,getPoolResource,OpenebsV1alpha1,CStorPoolPhase],getPoolResource->[IsNotFound,CStorPools,Spli... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
bdf4d8f0044258cf | {
"callgraph": "[fromJson->[values,equals]]",
"msg": "Is the plan to rename this later?",
"patch": "@@ -100,7 +100,7 @@ public enum JsonRpcError {\n \"The permissioning whitelist configuration file is out of sync. The changes have been applied, but not persisted to disk\"),\n WHITELIST_RELOAD_ERROR(\n ... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
64b76be41f0612ef | {
"callgraph": "[validate->[checkMissingAndDepreciated],complete,Merge,trimWhitespace]",
"msg": "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'l... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
10ebb051b4c7c6c7 | {
"callgraph": "[getStatusBar->[getDesktopObject,getForegroundObject],isTypingProtected->[getFocusObject],getCaretObject->[getFocusObject]]",
"msg": "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.",
"patch": ... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
5c56c893fb1e8484 | {
"callgraph": "[main->[testGetSetBondLength,testGetSetAngle,testGetSetDihedral,test1Canonicalization,testGithub1262,testGetSetDihedralThroughTripleBond,testGithub1908],testGithub1262->[_calcAxesAndMoments],test1Canonicalization->[comparePts]]",
"msg": "Why is this needed here?",
"patch": "@@ -16,7 +16,7 @@\n #in... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
b4b06c519e8abd0f | {
"callgraph": "[updateData->[update_interval_millisec,restart_timer,cancel_timer,milliseconds>],set_persistence_guid->[begin,end,str,push_back],clear->[Duration_t,PermissionsToken,GUID_t,IdentityToken,clear,InstanceHandle_t,ProtocolVersion_t],readFromCDRMessage->[getName,data_vec,logWarning,clear,assert,add_multicas... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
c5dcb9f8c1cd347a | {
"callgraph": "[Dictionary->[parseBreaks->[singleArgument,parseNum],parseConversions->[splitBySpace],addPhoneticRepEntries->[toTitleCase,hasLanguage,toLowerCase],hasFlag->[formStep,hasFlag],splitBySpace->[splitBySpace],parseAffix->[size,splitBySpace],parseCompoundRules->[singleArgument],lookupEntries->[getMorphologi... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
3f75be7ae7b3b39b | {
"callgraph": "[collectionName,done,dropCollection,save,message,skip,writeConcernMax,connect,map,setupDatabase,require,collection,notEqual,listCollections,describe,dropDatabase,db,indexOf,a_1_b_1,newClient,before,indexInformation,it,_id,length,expect,createCollection,nextTick,ok,findOne,collections,equal,close,ensur... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
c13ffe5da34d7af5 | {
"callgraph": "[Set,Now,NewSource,ValueOf,MustCompile,Sprintf,FindStringSubmatch,Int63,CanSet,Contains,Elem,String,Interface,Field,Kind,NumField,Type,New,Len,Index,SetString,Replace,UnixNano,Errorf,IsNil]",
"msg": "Didn't we have specific logic for handling slices vs structs?",
"patch": "@@ -162,6 +162,18 @@ fun... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
60baf39a35163eed | {
"callgraph": "[ToNode->[WrapObject],Marshal->[Encode],Equals->[Equal],Cost->[NewTokenAmount,Mul],Unmarshal->[Decode],Cid->[ToNode,Cid,Wrap],String->[Cid,String,Sprintf,MarshalIndent],New,NewBlockstore,FromArray,NewCid,Put,NewIpldStore,NewInt,NewMapDatastore,Background]",
"msg": "Is this required for tuple encodin... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
b5b4e98e543240f3 | {
"callgraph": "[Sleep,WriteSkipped,NewReader,Sprintf,Printf,BuildInstanceMetadataItem,Duration,Copy,Bytes,Base,WaitForSerialOutput,Add,Unmarshal,WriteFailure,DecodeString,RandString,Wait,Done,GetGuestAttributes,NewTestSuite,Close,FilterTestCase,Finish,NewTestCase,Logf,NewClient,CreateComputeInstance,Error,MatchStrin... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
fa6f5a7c56c735d1 | {
"callgraph": "[readResponse->[New,StreamID,RUnlock,RLock,Error,HeaderBlockFragment,DecodeFull,ReadFrame,Errorf],writeRequestBody->[Close,Copy],CloseWithError->[Close],Close->[CloseWithError],dial->[OpenStream,handleHeaderStream],RoundTrip->[Lock,New,StreamID,WriteRequest,Del,CloseWithError,Unlock,OpenStreamSync,Do,... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
200dff549fe6a542 | {
"callgraph": "[ChoiceAuth->[proxyAuthMethod->[setConfig],validateCredentials->[proxyAuthMethod],proxyUserLoad->[proxyAuthMethod]]]",
"msg": "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?",... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
599969f09828ca2e | {
"callgraph": "[Validate->[New,GetApplication,Int64,Errorf],Ask->[askApp],askApp->[Application,Errorf],Flags,New,StringVarP,NewProvider,BoolVar,Ask,NewDeploySelect,StringVar,GetEnvironment,DurationVar,StringSliceVar,IntVar,Errorf,FromRole,Validate,NewStore,NewServiceClient,Execute]",
"msg": "Do we also need to val... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
7f88258a94c0da29 | {
"callgraph": "[PlainDir->[hdfs_writer->[HdfsAtomicWriteDirPipe],hdfs_reader->[HdfsReadPipe]],HdfsAtomicWritePipe->[close->[rename],abort->[remove],__init__->[get_hdfs_syntax,load_hadoop_cmd,tmppath,exists]],Plain->[hdfs_reader->[HdfsReadPipe]],HdfsClient->[listdir->[load_hadoop_cmd],chmod->[call_check,load_hadoop_c... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
814cc842a2049ccf | {
"callgraph": "[Sum,Now,Int,Floor,MustCompile,Sprintf,Matching,Duration,Reset,MustInt64,UGCPolicy,ParseInLocation,Tr,Add,DecodeString,Unix,Pow,Read,Write,After,DetectBest,EncodeToString,StrTo,NewTextDetector,AllowAttrs,HashEmail,OnElements,New,Debug,Format,Size,Valid,ToStr,TrimPrefix,Log,SplitN,HTML]",
"msg": "Why... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
2a7cd25e60e122a0 | {
"callgraph": "[__,getWidgetComponentProps,removeAllFilters,doAction,parse,createAddToFilter,storiesOf,dispatch,addFilter,stringify,setTimeout,provideSiteInfo,_googlesitekitLegacyData]",
"msg": "Dashboard stories also need to have the default padding.",
"patch": "@@ -68,6 +68,8 @@ storiesOf( 'Dashboard', module ... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
5610fe99521fa810 | {
"callgraph": "[Text,PrivateKey,NotNil,GasLimit,Candidate,Duration,Build,Hash,IntrinsicGas,NewInt,GasPrice,Amount,Proto,SetAction,Marshal,EncodeToString,True,Cost,Payload,NoError,New,Serialize,Equal,SetGasLimit,Nonce,SetGasPrice,LoadProto,AutoStake,HexString]",
"msg": "again: it is a bad practice to have some glob... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
8b42772a796461cb | {
"callgraph": "[roots_cursor_handle_tool_axis->[wlr_cursor_warp_absolute,roots_cursor_update_position],roots_cursor_handle_button->[roots_cursor_press_button],roots_cursor_handle_motion->[roots_cursor_update_position,wlr_cursor_move],roots_cursor_create->[calloc,free,wlr_cursor_create],roots_cursor_handle_tool_tip->... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
7288a6a1f5388fa0 | {
"callgraph": "[AnalysisResult->[addViolation->[add],computeFileChecksum->[BufferedInputStream,skipFully,Adler32,CheckedInputStream,length,getValue,newInputStream,toPath],addViolations->[addAll],computeFileChecksum]]",
"msg": "this seems unrelated to the rest of the PR, although related to the original report",
... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
05b6b6b59ec8b6cb | {
"callgraph": "[No CFG could be retrieved]",
"msg": "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.",
"patch": "@@ -1,... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
26ecb65d2e7bb4b0 | {
"callgraph": "[NoError,Now,Duration,Sleep,Len,SetSentStatus,Add,True,ENIByMac,NewNoopStateManager,Finish,NewTaskEngineState,NewController,AllENIAttachments]",
"msg": "unrelated but just changing for consistency with code below it",
"patch": "@@ -46,7 +46,7 @@ func testENIAckTimeout(t *testing.T, attachmentType ... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
dc7eb5548ee3cf23 | {
"callgraph": "[TwoPhaseCommitter->[doPrewritePrimaryKeyWithRetry->[doPrewritePrimaryKeyWithRetry],ByteWrapper->[equals->[equals],hashCode->[hashCode]],doCommitSecondaryKeys->[next,doCommitSecondaryKeys,appendBatchBySize,hasNext],commitSecondaryKeys->[next->[next],hasNext->[hasNext]],doCommitPrimaryKeyWithRetry->[do... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
65ff3b8e34a07118 | {
"callgraph": "[on_context_dispose->[duration_stats_free,h2o_context_get_logger_context],void->[gkc_summary_alloc,pthread_mutex_unlock,pthread_mutex_init,gkc_summary_free,h2o_mem_alloc,h2o_context_get_logger_context,duration_stats_init,ADD_OBSERVATION,h2o_timeval_is_null,ADD_DURATION,pthread_mutex_lock],h2o_duration... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
d24a629978625bb5 | {
"callgraph": "[tableExists->[loadTable],createTable->[unpartitioned,createTable]]",
"msg": "Maybe, `import` would be a better name.",
"patch": "@@ -137,4 +137,13 @@ public interface Catalog {\n * @throws NoSuchTableException if the table does not exist\n */\n Table loadTable(TableIdentifier identifier);... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
2703b8e4610073ac | {
"callgraph": "[make_expect_continue_response->[make],make_connect_request->[encode,HTTPRequest,time,Headers],make_error_response->[len,make,strip,Headers,str],make_connect_response->[HTTPResponse,time,Headers],HTTPFlow->[__init__->[super],copy->[super,copy],__repr__->[format,getattr],dict,copy,update]]",
"msg": "... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
bdcb39e45dc47fa2 | {
"callgraph": "[AcceptanceTestBase->[tearDownAcceptanceTestBase->[close],MinerTransactions,CliqueConditions,Web3Transactions,EthConditions,NetTransactions,AccountTransactions,PrivConditions,PrivacyTransactions,Accounts,ContractVerifier,PermissioningConditions,Ibft2Transactions,ContractTransactions,Blockchain,getPrim... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
7a5aa5ea9abc8440 | {
"callgraph": "[DownloadFromAzure->[ExecuteAsync->[GetResult,LogMessage,Empty,AddRange,StorageApiVersion,Combine,LogErrorFromException,ReadAsStreamAsync,Low,Count,GetElementsByTagName,RequestWithRetry,ReadAsStringAsync,Create,Normal,IsNullOrEmpty,ParseConnectionString,Exists,AuthorizationHeaderString,Substring,HasLo... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
24569f468becfd77 | {
"callgraph": "[_,title]",
"msg": "Does this still need to be a partial? is the intention down the line to move back towards a conditionally different title?",
"patch": "@@ -1,8 +1 @@\n-<h1><%= plan.title %></h1> \n-\n-<% if plan.visibility == 'is_test' %>\n- <div class=\"roadmap-info-box\">\n- <i class=\"fa... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
4ecee0b95a156c02 | {
"callgraph": "[getAvailablePort->[getPortsInUse,getDynamicPortRange],ipFromHostAddr->[intToIPv4],toHostAddr->[ipv4ToInt,toHostAddr]]",
"msg": "concatHosts may be a better func name to explain this?",
"patch": "@@ -306,6 +306,19 @@ StatusOr<std::vector<HostAddr>> NetworkUtils::toHosts(const std::string& peersSt\... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
f8a99655066a46c1 | {
"callgraph": "[Forward_cpu->[bottom,size,forward_cpu_bias,blobs_,top,forward_cpu_gemm],Backward_cpu->[bottom,size,blobs_,top,weight_cpu_gemm,backward_cpu_bias,backward_cpu_gemm],compute_output_shape->[input_shape,push_back,clear,cpu_data],STUB_GPU,INSTANTIATE_CLASS]",
"msg": "Should this be `const`?",
"patch": ... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
bd9072792764c3e4 | {
"callgraph": "[Frame->[Flush->[Flush],Start->[Reset],ProduceContinue->[Write],Abort->[Abort],TakeStartLine->[Start],WriteChunked->[Write],TakeMessageHeaders->[Start],SetBadRequestState->[SetErrorResponseHeaders,SetBadRequestState],Write->[Flush,Write],SetErrorResponseHeaders->[Reset,InitializeHeaders],Task->[Initia... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
aeefaa8c30d43ca2 | {
"callgraph": "[GetClient->[getClient]]",
"msg": "Please revert this file.",
"patch": "@@ -51,7 +51,7 @@ func getAgentVersions() []DockerVersion {\n \treturn append(getWindowsReplaceableVersions(), MinDockerAPIWindows)\n }\n \n-// getDefaultVersion returns agent's default version of the Docker API\n+// GetDefaul... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
cef91402635c5488 | {
"callgraph": "[No CFG could be retrieved]",
"msg": "> 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.",
"patch": "@@ -5494,10 +5494,12 @... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
5c17d01eda171c3e | {
"callgraph": "[DTAFileReaderSpi->[createReaderInstance->[DTAFileReader],canDecodeInput->[containsKey,read,markSupported,IllegalArgumentException,getChannel,rewind,reset,String,get,map,encodeHex,canRead,IIOException,mark,fine,info,IOException],getLogger,getName,put,fine]]",
"msg": "guessing this method could/shoul... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
6e0e1e7b008aa4b7 | {
"callgraph": "[onSaveComplete,parseFloat,map,parseInt,Name,require,define,show,toast,getUser,Items,navigate,getUrl,$,Policy,EnableRemoteAccess,updateUserPolicy,hide,loadDeleteFolders,getParameterByName,loadUser,loadAuthProviders,loadData,length,ConnectLinkType,translate,checked,getJSON,setTitle,getServerConfigurati... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
edcaadb72dbf45a7 | {
"callgraph": "[ponyint_sched_unmute_senders->[ponyint_sched_start_global_unmute,ponyint_sched_add]]",
"msg": "Should we remove this entirely now then?",
"patch": "@@ -1076,7 +1076,7 @@ pony_ctx_t* ponyint_sched_init(uint32_t threads, bool noyield, bool nopin,\n \n // If minimum thread count is > thread count,... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
fadc91706c0c4542 | {
"callgraph": "[roots_nice_search_redirect->[using_permalinks],roots_rel_canonical->[get_queried_object_id]]",
"msg": "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 wid... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
1645c78dae1584ab | {
"callgraph": "[No CFG could be retrieved]",
"msg": "Having to write this util makes me think that maybe we should have kept the csv_input stuff. I don't know.",
"patch": "@@ -0,0 +1,5 @@\n+import dagster.pandas_kernel as dagster_pd\n+\n+\n+def simple_csv_input(name):\n+ return dagster_pd.dataframe_input(name... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
d452906188cf5dfc | {
"callgraph": "[NewApp]",
"msg": "same nit here: maybe word as - \"disables validation of the temporal cluster's server certificate\"",
"patch": "@@ -84,9 +84,9 @@ func NewCliApp() *cli.App {\n \t\t\tEnvVar: \"TEMPORAL_CLI_TLS_CA\",\n \t\t},\n \t\tcli.BoolFlag{\n-\t\t\tName: FlagTLSEnableHostVerification,\n-\t... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
d3296d2a448e11ad | {
"callgraph": "[BftValidatorsValidationRule->[validate->[getValidatorsAfterBlock,getExtraData,getValidators,elementsEqual,getConsensusState,info],getLogger]]",
"msg": "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 anythi... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
392bf3ee70198b3c | {
"callgraph": "[Println,Sub,Now,Lock,Stop,Before,RUnlock,IsZero,After,RLock,UTC,NewTicker,Unlock,Printf,Add,RenewCert]",
"msg": "@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 ha... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
92c1d376fb572928 | {
"callgraph": "[getCacheDirectory,reportUnusedCode,setServerMode,disableExtension,server,visitComposerAutoloadFiles,check]",
"msg": "Would it make sense to include this file via composer files-autoloading instead?",
"patch": "@@ -9,6 +9,8 @@ gc_disable();\n // show all errors\n error_reporting(-1);\n \n+require_... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
4a3a60a95a3b579e | {
"callgraph": "[SettingValueDataFixture->[load->[getId,getReference,setForDomain]]]",
"msg": "Annotations in this hunk should follow PhpDoc style (above the occurrence, type first)",
"patch": "@@ -32,9 +32,9 @@ class SettingValueDataFixture extends AbstractReferenceFixture implements Depend\n {\n $te... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
a6a808f49e2bf6af | {
"callgraph": "[include_context,expect_with,include,include_chain_clauses_in_custom_matcher_descriptions,instance_exec,shared_context_metadata_behavior,require,configure,verify_partial_doubles,before,after,capture_log_messages,filter_run_excluding,mock_with,example_status_persistence_file_path,initialize_logging,uns... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
e2b595f0eef5b8a6 | {
"callgraph": "[Connect->[Load,NewNamedRateLimitingQueue,Infof,DefaultControllerRateLimiter,NewStore,Store],GetNodeStore->[Warningf,NewStore,Store,Load],addListMessageToQueue->[Add,GetNodeListQueue,GetNodeListStore,Errorf],DispatchMessage->[addListMessageToQueue,Done,Receive,Info,Warning,addMessageToQueue],Publish->... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
2536ea81fb949545 | {
"callgraph": "[IsDone->[Load],reportDeploymentCancelled->[WaitNext,Error,Notify,Errorf,NewRetry,ReportDeploymentCompleted,Unix,nowFunc],Run->[reportDeploymentCancelled,Join,Info,Plan,DefaultPool,Sprintf,reportDeploymentPlanned,GetGenericDeployment,Errorf,Report,GetPath,reportDeploymentFailed,Store,nowFunc,Planner],... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
2fcc33c67b330ecc | {
"callgraph": "[ProcessItem->[SetCertificateCondition,IsNotFound,NewContext,WithValues,SplitMetaNamespaceKey,FromContext,Certificates,NewTime,CertmanagerV1,Error,RenewBeforeExpiryDuration,UpdateStatus,Get,DataForCertificate,Add,DecodeX509CertificateBytes,DeepCopy],Register->[FromContext],Everything,For,Evaluate,Cert... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
c2b109dd8cc41578 | {
"callgraph": "[mediaSession,IsPaused,updatePlayerState,ParentThumbImageTag,isLocalPlayer,PlayState,parseInt,maxHeight,define,pushImageUrl,getApiClient,AlbumPrimaryImageTag,ParentThumbItemId,getCurrentPlayer,getPlayerState,RunTimeTicks,hideMediaControls,NowPlayingItem,ServerId,on,getImageUrls,PositionTicks,push,leng... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
9b769fa69fa70422 | {
"callgraph": "[addConjunctiveMatchFlow->[generateGlobalMapKey,addAction],applyConjunctiveMatchFlows->[updateContextStatus],calculateChangesForRuleCreation->[addAddrFlows,addServiceFlows],GetPolicyInfoFromConjunction->[ActionFlowPriorities,getPolicyRuleConjunction],ReassignFlowPriorities->[calculateFlowUpdates,proce... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
812f1832793d6be1 | {
"callgraph": "[No CFG could be retrieved]",
"msg": "please update the year. it can be setup in intellij template.",
"patch": "@@ -1,3 +1,19 @@\n+/*\n+ * Copyright 2012 LinkedIn Corp.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n+ * use this file except in compliance w... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
04b5d4da15f8d99f | {
"callgraph": "[Unmarshal,RegisterServiceDefinitionUnserializer,RegisterPaymentMethodUnserializer]",
"msg": "Why should we move it into `bootstrap.go` file?",
"patch": "@@ -23,6 +23,9 @@ import (\n \t\"github.com/mysteriumnetwork/node/market\"\n )\n \n+// ServiceType indicates \"wireguard\" service type\n+const ... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
5375c333affbf495 | {
"callgraph": "[src,reject,now,addScript,addEventListener,setAttribute,random,getElementsByTagName,message,split,data,readyState,debug,docReady,scripts,resolve,id,innerHTML,response,responseId,href,appendChild,length,warn,hash,error,html,rel,fileExtension,getElementById,requestAnimationFrame,setTimeout,createElement... | [
{
"content": "Please Give FORMAL Codereview for software developers in one sentence from the given diff hunk. Don’t start with Codereview/review. Just give the answer. Five examples are given before with code and code review and the code to work on is given after.",
"role": "user"
},
{
"content": "C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.