db_id
stringclasses 69
values | question
stringlengths 24
325
| evidence
stringlengths 1
673
⌀ | SQL
stringlengths 23
804
| schema
stringclasses 69
values |
---|---|---|---|---|
codebase_comments | Please list the IDs of the solutions that contain files within the top 3 followed repositories. | more forks refers to more people follow this repository; | SELECT T2.Id FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId ORDER BY T1.Forks DESC LIMIT 3 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the average time needed for the solutions containing files within the repository whose url is "https://github.com/jeffdik/tachy.git" to be processd? | average time = avg(ProcessedTime); | SELECT CAST(SUM(T2.ProcessedTime) AS REAL) / COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Url = 'https://github.com/jeffdik/tachy.git' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many more followers in percentage are there for the repository used by solution ID 18 than solution ID19? | followers refers to Forks; percentage = divide(SUBTRACT(Forks(Solution.ID = 18), Forks(Solution.ID = 19)), Forks(Solution.ID = 19))*100% | SELECT CAST((SUM(CASE WHEN T2.Id = 18 THEN T1.Forks ELSE 0 END) - SUM(CASE WHEN T2.Id = 19 THEN T1.Forks ELSE 0 END)) AS REAL) * 100 / SUM(CASE WHEN T2.Id = 19 THEN T1.Forks ELSE 0 END) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the language of the method ''PixieTests.SqlConnectionLayerTests.TestSqlCreateGuidColumn"? | language refers to Lang; | SELECT Lang FROM Method WHERE Name = 'PixieTests.SqlConnectionLayerTests.TestSqlCreateGuidColumn' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Show the full Comment of the method "DE2_UE_Fahrradkurier.de2_uebung_fahrradkurierDataSet1TableAdapters.TableAdapterManager.UpdateInsertedRows". | null | SELECT FullComment FROM Method WHERE Name = 'DE2_UE_Fahrradkurier.de2_uebung_fahrradkurierDataSet1TableAdapters.TableAdapterManager.UpdateInsertedRows' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | List the summary of the method "Castle.MonoRail.Framework.Test.StubViewComponentContext.RenderSection". | null | SELECT DISTINCT Summary FROM Method WHERE Name = 'Castle.MonoRail.Framework.Test.StubViewComponentContext.RenderSection' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Give the tokenized name for the method "Supay.Irc.Messages.KnockMessage.GetTokens". | null | SELECT NameTokenized FROM Method WHERE Name = 'Supay.Irc.Messages.KnockMessage.GetTokens' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many stars does the repository of the solution No. 45997 have? | repository of solution no. refers to Id | SELECT T1.Stars FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Id = 45997 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | For the repository which got '8094' Stars, how many solutions does it contain? | repository refers to Repo.Id; | SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Stars = 8094 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the solution path for the method "IQ.Data.DbQueryProvider.CanBeEvaluatedLocally"? | solution path refers to Path; method refers to Name; Name = 'IQ.Data.DbQueryProvider.CanBeEvaluatedLocally' | SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'IQ.Data.DbQueryProvider.CanBeEvaluatedLocally' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | For the method which got the tokenized name as 'interp parser expr', what is the processed time for its solution? | tokenized name refers to NameTokenized; NameTokenized = 'interp parser expr'; processed time for its solution refers to ProcessedTime; | SELECT T1.ProcessedTime FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.NameTokenized = 'interp parser expr' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the repository number for the solution of method "SCore.Poisson.ngtIndex"? | repository number refers to RepoId; method refers to Name; Name = ‘SCore.Poisson.ngtIndex’ | SELECT T1.RepoId FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'SCore.Poisson.ngtIndex' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Tell the path of the solution for the method "ExportToRTF.RTFStyleSheet.H6Write". | path of the solution refers to Path; method refers to Name; Name = 'ExportToRTF.RTFStyleSheet.H6Write'; | SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'ExportToRTF.RTFStyleSheet.H6Write' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | For the repository with '8094' watchers , how many solutions does it contain? | repository refers to Repo.Id and RepoId; solutions a repository contains refers to Solution.Id; | SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Watchers = 8094 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Give the repository Url of the one with most solutions. | repository URL refers to Url; repository Url with most solutions refers to MAX(COUNT(Solution.Id)); | SELECT T1.Url FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId GROUP BY T2.RepoId ORDER BY COUNT(T2.RepoId) DESC LIMIT 1 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many solutions does the repository which has 1445 Forks contain? | solutions refers to Solution.Id; repository refers to Repository.Id; | SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Forks = 1445 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Among all the solution of the 'zh-cn' methods, which path is most often used? | solution refers to SolutionId; zh-cn refers to Lang = 'zh-cn'; path that is most often used refers to MAX(COUNT(Path)); | SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Lang = 'zh-cn' GROUP BY T1.Path ORDER BY COUNT(T1.Path) DESC LIMIT 1 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Give the number of watchers that the repository of the solution No. 338082 have. | number of watchers refers to Watchers; solution number refers to Solution.Id; | SELECT T1.Watchers FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Id = 338082 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | For the repository which got '189' Stars, how many solutions which needs to be compiled does it contain? | repository refers to Repository.Id; solution needs to be compiled refers to WasCompiled = 0; | SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Stars = 189 AND T2.WasCompiled = 0 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Show the solution path for the method "Mosa.Platform.x86.Instructions.IMul.EmitLegacy"? | solution path refers to Path; method refers to Name; Name = 'Mosa.Platform.x86.Instructions.IMul.EmitLegacy'; | SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'Mosa.Platform.x86.Instructions.IMul.EmitLegacy' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | For the method which got the tokenized name as 't jadwal entity get single mpic', what is the path time for its solution? | tokenized name refers to NameTokenized; NameTokenized = 't jadwal entity get single mpic'; path time for its solution refers to ProcessedTime; | SELECT DISTINCT T1.ProcessedTime FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.NameTokenized = 't jadwal entity get single mpic' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Give the repository ID for the solution of method "Kalibrasi.Data.EntityClasses.THistoryJadwalEntity.GetSingleTjadwal". | repository ID refers to RepoID; method refers to Name; Name = 'Kalibrasi.Data.EntityClasses.THistoryJadwalEntity.GetSingleTjadwal'; | SELECT DISTINCT T1.RepoId FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'Kalibrasi.Data.EntityClasses.THistoryJadwalEntity.GetSingleTjadwal' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | For the method has the summary of "Refetches the Entity from the persistent storage. Refetch is used to re-load an Entity which is marked "Out-of-sync", due to a save action. Refetching an empty Entity has no effect.", what is its solution path? | solution path refers to Path; | SELECT DISTINCT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Summary = 'Refetches the Entity FROM the persistent storage. Refetch is used to re-load an Entity which is marked "Out-of-sync", due to a save action. Refetching an empty Entity has no effect.' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Give the number of solutions that the repository which has 3060 Stars contains. | solutions refers to Solution.Id; repository refers to Repository.Id; | SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Stars = 3060 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | For the solution of the most 'sw' methods, what is its path? | solution refers to SolutionId; sw refers to Lang = 'sw'; solution with the most 'sw' methods refers to MAX(COUNT(Lang = 'sw')); | SELECT DISTINCT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Lang = 'sw' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many percent more of the watchers for the repository of solution No.83855 than No.1502? | solution No. refers to Solution.Id; percentage = DIVIDE(MULTIPLY(SUBTRACT(SUM(Solution.Id = 83855), SUM(Solution.Id = 1502)), 100)), SUM(Soltution.Id = 1502); | SELECT CAST(SUM(CASE WHEN T2.Id = 83855 THEN T1.Watchers ELSE 0 END) - SUM(CASE WHEN T2.Id = 1502 THEN T1.Watchers ELSE 0 END) AS REAL) * 100 / SUM(CASE WHEN T2.Id = 1502 THEN T1.Watchers ELSE 0 END) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many percent more of the stars for the repository of solution No.51424 than No.167053? | solution No. refers to Solution.Id; percentage = DIVIDE(MULTIPLY(SUBTRACT(SUM(Solution.Id = 51424), SUM(Solution.Id = 167053)), 100)), SUM(Solution.Id = 167053); | SELECT CAST(SUM(CASE WHEN T2.Id = 51424 THEN T1.Stars ELSE 0 END) - SUM(CASE WHEN T2.Id = 167053 THEN T1.Stars ELSE 0 END) AS REAL) * 100 / SUM(CASE WHEN T2.Id = 167053 THEN T1.Stars ELSE 0 END) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many percent more of the Forks for the repository of solution No.53546 than No.1502? | solution No. refers to Solution.Id; percentage = DIVIDE(MULTIPLY(SUBTRACT(SUM(Solution.Id = 53546), SUM(Solution.Id = 1502)), 100)), SUM(Solution.Id = 1502); | SELECT CAST(SUM(CASE WHEN T2.Id = 53546 THEN T1.Forks ELSE 0 END) - SUM(CASE WHEN T2.Id = 1502 THEN T1.Forks ELSE 0 END) AS REAL) * 100 / SUM(CASE WHEN T2.Id = 1502 THEN T1.Forks ELSE 0 END) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | List all the methods with a solution with a "636449700980488000" processed time. | methods refers to Name; solution refers to SolutionId; | SELECT DISTINCT T2.Name FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.ProcessedTime = 636449700980488000 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many solutions are in "https://github.com/derickbailey/presentations-and-training.git"? | solutions refers to Solution.Id; https://github.com/derickbailey/presentations-and-training.git refers to Url; Url; = 'https://github.com/derickbailey/presentations-and-training.git'; | SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Url = 'https://github.com/derickbailey/presentations-and-training.git' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the total processed time of all solutions from the repository with the most forks? | total processed time = AVG(ProcessedTime where MAX(COUNT(Forks))); repository with the most forks refers to MAX(COUNT(Forks)); | SELECT SUM(T2.ProcessedTime) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Forks = ( SELECT MAX(Forks) FROM Repo ) | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | List all the path of solution from all the "it" lang code method. | path of the solution refers to Path; solution refers to Solution.Id; | SELECT DISTINCT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Lang = 'it' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the path of solution of "spinachLexer.mT__55" method? | path of the solution refers to Path; solution refers to Solution.Id; method refers to Name; Name = 'spinachLexer.mT__55'; | SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'spinachLexer.mT__55' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What are the "en" methods with solutions from repository "1093" | en methods refers to lang = 'en'; solution refers to Solution.Id; repository refers to RepoId; RepoId = 1093; | SELECT DISTINCT T2.id FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.RepoId = 1093 AND T2.Lang = 'en' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What are the paths of solutions in repository "https://github.com/ecoffey/Bebop.git" | path of solutions refers to Path; https://github.com/ecoffey/Bebop.git refers to Url; Url = 'https://github.com/ecoffey/Bebop.git'; | SELECT DISTINCT T2.Path FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Url = 'https://github.com/ecoffey/Bebop.git' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | List all the ids of repositories for solutions with "ro" methods. | ids of repositories refers to RepoId; ro refers to lang = 'ro'; | SELECT DISTINCT T1.RepoId FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Lang = 'ro' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the repository id of the method with tokenized name "crc parameters get hash code"? | repository id refers to RepoId; tokenized name refers to NameTokenized; NameTokenized = 'crc parameters get hash code'; | SELECT T1.RepoId FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.NameTokenized = 'crc parameters get hash code' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many methods with solutions with path 'maravillas_linq-to-delicious\tasty.sln'? | solution refers to SolutionId; | SELECT COUNT(T2.SolutionId) FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.Path = 'maravillas_linq-to-delicious\tasty.sln' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | List all the solutions ids of the repository with "636430969128176000" processed time | solution ids refers to Solution.Id; | SELECT T2.Id FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.ProcessedTime = 636430969128176000 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the url for repository that has the longest processed time solution? | Url for repository refers to Url; longest processed toe trefers to MAX(ProcessedTime); | SELECT T1.Url FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.ProcessedTime = ( SELECT MAX(ProcessedTime) FROM Solution ) | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | List all the solutions of repositories with the Forks higher than half of the watchers. | solutions refers to Solution.Id; forks higher than half of the watchers refers tto Forks>(Watchers/2);; | SELECT DISTINCT T2.Id FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Forks > T1.Watchers / 2 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the percentage of Forks to Stars of repository for solution "104086"? | solution refers to Solution.Id; Solution.Id = 104086; percentage = MULTIPLY(DIVIDE(Forkk, Stars), 100); | SELECT CAST(T1.Forks AS REAL) * 100 / T1.Stars FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Id = 104086 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Please provide the id of the respository that the most people like. | repository that the most people like refers to MAX(Stars); | SELECT Id FROM Repo WHERE Stars = ( SELECT MAX(Stars) FROM Repo ) | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the solution's path of method "HtmlSharp.HtmlParser.Feed"? | solution's path refers to Path; method refers to Name; Name = 'HtmlSharp.HtmlParser.Feed'; | SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'HtmlSharp.HtmlParser.Feed' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Please provide the number of forks that the repository of the solution 35 have. | solution refers to Solution.Id; Solution.Id = 35; | SELECT T1.Forks FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Id = 35 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Please provide the id of the solution whose repository has the most watchers. | id of the solution refers to Solution.Id; repository has the most watchers refers to MAX(Watchers); | SELECT T2.Id FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Watchers = ( SELECT MAX(Watchers) FROM Repo ) | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Please provide the number of stars that the repository of the solution 20 have. | solution refers to Solution.ID; Solution.Id = 20; | SELECT T1.Stars FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Id = 20 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many methods does solution 1 have? And please tell me if solution 1 needs to be compiled. | method refers to Name; solution refers to Solution.Id; Solution.Id = 1; solution needs to be compiled refers to WasCompiled = 0; | SELECT COUNT(T2.SolutionId) , CASE WHEN T1.WasCompiled = 0 THEN 'Needs' ELSE 'NoNeeds' END needToCompile FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.SolutionId = 1 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the percentage of the methods' solutions that need to be compiled among the methods whose comments is XML format? | comment is XML format refers to CommentIsXml = 1; solution needs to be compiled refesr to WasCompiled = 0; percentage = MULTIPLY(DIVIDE(SUM(WasCompiled = 0), COUNT(Solution.Id)), 100); | SELECT CAST(SUM(CASE WHEN T1.WasCompiled = 0 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T2.SolutionId) FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.CommentIsXml = 1 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Please list the names of methods with the solution path "wallerdev_htmlsharp\HtmlSharp.sln". | name of the methods refers to Name; solution path refers to Path; Path = 'wallerdev_htmlsharp\HtmlSharp.sln'; | SELECT T2.Name FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.Path = 'wallerdev_htmlsharpHtmlSharp.sln' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the percentage of respositories that receive more than 2,000 stars? | stars>2000; percentage = DIVIDE(MULTIPLY(COUNT(Stars>2000), 100), COUNT(Id)); | SELECT CAST(SUM(CASE WHEN Stars > 2000 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(Stars) FROM Repo | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the url of solution 1? | solution refers to Solution.Id; Solution.Id = 1; | SELECT T1.Url FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Id = 1 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Please provide the id of the respository that received the most forks among the respositories that receive 21 stars. | repository that received the most forks refers to MAX(Forks); | SELECT Id FROM Repo WHERE Stars = 21 AND Forks = ( SELECT MAX(Forks) FROM Repo WHERE Stars = 21 ) | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What the percentage of the english methods among the methods whose comments is XML format? | english methods refers to lang = 'en'; comment is XML format refers to CommentIsXml = 1; | SELECT CAST(SUM(CASE WHEN Lang = 'en' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(Name) FROM Method WHERE CommentIsXml = 1 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Please provide the path of solution of method whose tokenized name is html parser feed. | path of solution refers to Path; method refers to Name; tokenized name refers to NameTokenized; Name = ''html parser feed'; | SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.NameTokenized = 'html parser feed' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Please provide the solution id of the respository among the respository that receive 238 forks. | solution id of the repository refers to solution.Id; | SELECT T2.Id FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Forks = 238 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Among the english methods,please list the tokenized names of methods whose solutions need to be compiled. | english methods refers to lang = 'en'; tokenized name refers to NameTokenized; methods refers to Name; solution needs to be compiled refers to WasCompiled = 0; | SELECT NameTokenized FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE Lang = 'en' AND WasCompiled = 0 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many solutions whose repository's stars are a third more than forks? | solutions refers to Solution.Id; repository stars are a third more than forks = (MULTIPLY(Stars, 1/3))>Forks; | SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Forks < T1.Stars * 1 / 3 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Please provide the path of solution of method whose full comment is Feeds data into the parser. | path of solution refers to Path; method refers to name; full comment = 'Feeds data into the parser'; | SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.FullComment = 'Feeds data into the parser' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Among the repository "3", how many methods whose comments is XML format? | repository refers to RepoId; RepoId = 3; method refers to Name; method whose comment is XML format refers to CommentIsXml = 1; | SELECT COUNT(T2.SolutionId) FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.RepoId = 3 AND T2.CommentIsXml = 1 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the percentage of solutions for the method that needs to be compiled in the English methods? | method that needs to be compiled refers to WasCompiled = 0; English method refers to Lang = 'en'; percentage of solutions = MULTIPLY(DIVIDE(SUM(WasCompiled = 0), COUNT(Solution.Id)), 100); | SELECT CAST(SUM(CASE WHEN T1.WasCompiled = 0 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(Lang) FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Lang = 'en' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many more stars in percentage are there for the repository of solution "1" than solution "2"? | solution refers to Solution.Id; Solution.Id = 1 OR 2; percentage = DIVIDE(MULTIPLY(SUBTRACT(SUM(Solution.Id = 1), SUM(Solution.Id = 2)), 100)), SUM(Solution.Id = 2); | SELECT CAST(SUM(CASE WHEN T2.Id = 1 THEN T1.Stars ELSE 0 END) - SUM(CASE WHEN T2.Id = 2 THEN T1.Stars ELSE 0 END) AS REAL) * 100 / SUM(CASE WHEN T2.Id = 2 THEN T1.Stars ELSE 0 END) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many solutions are there whose respositories received the number of stars more than one third of the number of forks? | number of solutions are there whose repositories received the number of stars more than one third of the number of forks refers to Stars>DIVIDE(Forks, 3); | SELECT COUNT(DISTINCT T1.Id) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Stars > CAST(T1.Forks AS REAL) / 3 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the task of method number 2? | task of the method refers to the second part of the Name after the "."; method number refers to Method_100k.Id; Method_100k.Id = 2; | SELECT SUBSTR(SUBSTR(Name, INSTR(Name, '.') + 1), 1, INSTR(SUBSTR(Name, INSTR(Name, '.') + 1), '.') - 1) task FROM Method WHERE Id = 2 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What format does the method number 8's comment have? | format refers CommentIsXml; method number refers to Method_100k.Id; Method_100k.Id = 8; | SELECT CASE WHEN CommentIsXml = 0 THEN 'isNotXMLFormat' WHEN CommentIsXml = 1 THEN 'isXMLFormat' END format FROM Method WHERE Id = 8 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Please provide a link to the most well-known repository's Github address. | link refers to Url; well-known repository refers to MAX(Watchers); | SELECT Url FROM Repo WHERE Watchers = ( SELECT MAX(Watchers) FROM Repo ) | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the task of the method that is in the Czech language? | method refers to Name; task of the method refers to the second part of the Name after the "."; Czech language refers to Lang = 'cs' | SELECT DISTINCT SUBSTR(SUBSTR(Name, INSTR(Name, '.') + 1), 1, INSTR(SUBSTR(Name, INSTR(Name, '.') + 1), '.') - 1) task FROM Method WHERE Lang = 'cs' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the solution path for method number 3? | solution path refers to Path; method number refers to Method_100k.Id; Method_100k.Id = 3; | SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Id = 3 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the language of method number 28 that can be found in the repository number 3? | language of method refers to Lang; method number refers to Method_100k.Id; Method_100k.Id = 28; repository number refers to RepoId; RepoID = 3; | SELECT T2.Lang FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Id = 28 AND T1.RepoId = 3 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is solution 1's processing time and how many methods have been using this solution? | solution refers to Solution.Id and SolutionId; Solution.Id = 1; SolutionId = 1; processing time refers to ProcessedTime; methods refers to Name; | SELECT T1.ProcessedTime, COUNT(T2.SolutionId) FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.SolutionId = 1 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many methods in the same repository share a tokenized name that begins with "query language..."? | methods refers to Name; tokenized name refers to NameTokenized; NameTokenized LIKE 'query language%'; | SELECT COUNT(T2.SolutionId) FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.NameTokenized LIKE 'query language%' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Please state the API calls for method number 10 and its intended course of action. | method number refers to Method_100k.Id; Method_100k.Id = 10; intended course of action refers to Path; | SELECT T2.ApiCalls, T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Id = 10 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many methods in repository 150 did not have a comment and a summary? | methods refers to Name; repository that did not have a comment and a summary refers to FullComment IS NULL AND Summary IS NULL; | SELECT COUNT(T2.SolutionId) FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.RepoId = 150 AND T2.FullComment IS NULL AND T2.Summary IS NULL | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the comment format of method number 50 with the solution path "managedfusion_managedfusion\ManagedFusion.sln"? | comment format refers to CommentIsXml; method number refers to Method_100k.Id; Method_100k.Id = 50; solution path refers to Path; Path = 'managedfusion_managedfusion\ManagedFusion.sln'; | SELECT CASE WHEN T2.CommentIsXml = 0 THEN 'isNotXMLFormat' WHEN T2.CommentIsXml = 1 THEN 'isXMLFormat' END format FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Id = 50 AND T1.Path = 'managedfusion_managedfusionManagedFusion.sln' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the task method of the tokenized name "string extensions to pascal case
"? | method refers to Name; task of the method refers to the second part of the Name after the "."; tokenized name refers to NameTokenized; NameTokenized = 'string extensions to pascal case'; | SELECT DISTINCT SUBSTR(SUBSTR(Name, INSTR(Name, '.') + 1), 1, INSTR(SUBSTR(Name, INSTR(Name, '.') + 1), '.') - 1) task FROM Method WHERE NameTokenized = 'string extensions to pascal case' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Provide the tokenized name of the method "Sky.Excel.ExcelBook.TypeConvert". | tokenized name refers to NameTokenized; NameTokenized = 'Sky.Excel.ExcelBook.TypeConvert'; | SELECT NameTokenized FROM Method WHERE Name = 'Sky.Excel.ExcelBook.TypeConvert' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many path does the github address "https://github.com/jeffdik/tachy.git" have? | github address refers to Url; Url = 'https://github.com/jeffdik/tachy.git'; | SELECT COUNT(DISTINCT T2.Path) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Url = 'https://github.com/jeffdik/tachy.git' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many watchers does the path "maff_se3ue7\US7.sln" have? | null | SELECT T1.Watchers FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Path = 'maff_se3ue7US7.sln' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | List 5 github address that the solutions can be implemented without the need of compilation. | github address refers to Url; solution can be implemented without the need of compliation refers to WasCompiled = 1; | SELECT T1.Url FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.WasCompiled = 1 LIMIT 5 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What are the solution path of the tokenized name "matrix multiply"? | solution path refers to Path; tokenized name refers to NameTokenized; NameTokenized = 'matrix multiply'; | SELECT DISTINCT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.NameTokenized = 'matrix multiply' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many XML format does the github address "https://github.com/dogeth/vss2git.git" have? | Xml format refers to CommentisXml, github address refers to Url; Url = 'https://github.com/dogeth/vss2git.git'; | SELECT COUNT(T3.CommentIsXml) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId INNER JOIN Method AS T3 ON T2.Id = T3.SolutionId WHERE T1.Url = 'https://github.com/dogeth/vss2git.git' AND T3.CommentIsXml = 1 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | List 5 solution path that has sampling time of 636431758961741000. | solution path refers to Path; sampling time refers to SampledAt; SampledAt = '636431758961741000'; | SELECT DISTINCT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.SampledAt = 636431758961741000 LIMIT 5 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the github address of the solution path "joeyrobert_bloomfilter\DataTypes.BloomFilter.sln"? | github address refers to Url; solution path refers to Path; Path = 'joeyrobert_bloomfilter\DataTypes.BloomFilter.sln'; | SELECT T1.Url FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Path = 'joeyrobert_bloomfilterDataTypes.BloomFilter.sln' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | List all the method name of the solution path "graffen_NLog.Targets.Syslog\src\NLog.Targets.Syslog.sln
". | method name refers to Name; solution path refers to Path; Path = 'graffen_NLog.Targets.Syslog\src\NLog.Targets.Syslog.sln'; | SELECT DISTINCT T2.Name FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.Path = 'graffen_NLog.Targets.SyslogsrcNLog.Targets.Syslog.sln' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | List all the tokenized name of the solution path "jurney_P4Backup\P4Backup\P4Backup.sln
". | tokenized name refers to NameTokenized; solution path refers to Path; Path = 'jurney_P4Backup\P4Backup\P4Backup.sln'; | SELECT DISTINCT T2.NameTokenized FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.Path = 'jurney_P4BackupP4BackupP4Backup.sln' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | Provide the github address with the summary of method "A test for Decompose
". | github address refers to Url; summary of method refers to Summary; Summary = 'A test for Decompose'; | SELECT T1.Url FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId INNER JOIN Method AS T3 ON T2.Id = T3.SolutionId WHERE T3.Summary = 'A test for Decompose' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many liked by people does the solution path "ninject_Ninject\Ninject.sln
" have? | how many liked by people refers to Stars; solution path refers to Path; Path = 'ninject_Ninject\Ninject.sln'; | SELECT DISTINCT T1.Stars FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Path = 'ninject_NinjectNinject.sln' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many solution path does the repository with 111 stars, 58 forks, and 111 watchers? | solution path refers to Path; | SELECT COUNT(T2.Path) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Stars = 111 AND T1.Forks = 58 AND T1.Watchers = 111 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | What is the average processed time of the solution with a repository of 254 likes, 88 followers, and 254 watchers? | average processed time = AVG(ProcessedTime); | SELECT CAST(SUM(T2.ProcessedTime) AS REAL) / COUNT(T2.ProcessedTime) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Stars = 254 AND T1.Forks = 88 AND T1.Watchers = 254 | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
codebase_comments | How many language code of method is used for the github address "https://github.com/managedfusion/managedfusion.git
"? | language code of method refers to Lang; github address refers to Url; Url = 'https://github.com/managedfusion/managedfusion.git'; | SELECT COUNT(DISTINCT T3.Lang) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId INNER JOIN Method AS T3 ON T2.Id = T3.SolutionId WHERE T1.Url = 'https://github.com/managedfusion/managedfusion.git' | database name:db_id codebase_comments
Method table Method Cols: Id dtype integer, Name dtype text, Full Comment dtype text, Summary dtype text, Api Calls dtype text, CommentIs Xml dtype integer, Sampled At dtype integer, Solution Id dtype integer, Language dtype text, Name Tokenized dtype text,
MethodParameter table MethodParameter Cols: Id dtype integer, Method Id dtype text, Type dtype text, Name dtype text,
Repo table Repo Cols: Id dtype integer, Url dtype text, Stars dtype integer, Forks dtype integer, Watchers dtype integer, Processed Time dtype integer,
Solution table Solution Cols: Id dtype integer, Repository Id dtype integer, Path dtype text, Processed Time dtype integer, Was Compiled dtype integer,
|
trains | How many trains are there that run in the east direction? | east is a direction | SELECT COUNT(id) FROM trains WHERE direction = 'east' | database name:db_id trains
cars table cars Cols: id dtype integer, train id dtype integer, position dtype integer, shape dtype text, length dtype text, sides dtype text, roof dtype text, wheels dtype integer, load_shape dtype text, load number dtype integer,
trains table trains Cols: id dtype integer, direction dtype text,
|
trains | How many cars are there on train no.1? | train no.1 refers to train_id = 1 | SELECT COUNT(id) FROM cars WHERE train_id = 1 | database name:db_id trains
cars table cars Cols: id dtype integer, train id dtype integer, position dtype integer, shape dtype text, length dtype text, sides dtype text, roof dtype text, wheels dtype integer, load_shape dtype text, load number dtype integer,
trains table trains Cols: id dtype integer, direction dtype text,
|
trains | What is the shape of the tail car on train no.1? | train no.1 refers to train_id = 1; tail car refers to position = 4 | SELECT shape FROM cars WHERE train_id = 1 AND position = 4 | database name:db_id trains
cars table cars Cols: id dtype integer, train id dtype integer, position dtype integer, shape dtype text, length dtype text, sides dtype text, roof dtype text, wheels dtype integer, load_shape dtype text, load number dtype integer,
trains table trains Cols: id dtype integer, direction dtype text,
|
trains | Please list the IDs of all the trains with at least one car in a non-regular shape. | non-regular shape refers to shape in ('elipse', 'bucket') | SELECT train_id FROM cars WHERE shape IN ('elipse', 'bucket') GROUP BY train_id | database name:db_id trains
cars table cars Cols: id dtype integer, train id dtype integer, position dtype integer, shape dtype text, length dtype text, sides dtype text, roof dtype text, wheels dtype integer, load_shape dtype text, load number dtype integer,
trains table trains Cols: id dtype integer, direction dtype text,
|
trains | How many cars on train no.1 have the roof open? | train no. 1 refers to train_id = 1; roof open refers to roof = 'none' | SELECT COUNT(id) FROM cars WHERE train_id = 1 AND roof = 'none' | database name:db_id trains
cars table cars Cols: id dtype integer, train id dtype integer, position dtype integer, shape dtype text, length dtype text, sides dtype text, roof dtype text, wheels dtype integer, load_shape dtype text, load number dtype integer,
trains table trains Cols: id dtype integer, direction dtype text,
|
trains | Please list the IDs of all the cars on train no.1 that have 2 wheels. | train no.1 refers to train_id = 1; 2 wheels refers to wheels = 2 | SELECT id FROM cars WHERE train_id = 1 AND wheels = 2 | database name:db_id trains
cars table cars Cols: id dtype integer, train id dtype integer, position dtype integer, shape dtype text, length dtype text, sides dtype text, roof dtype text, wheels dtype integer, load_shape dtype text, load number dtype integer,
trains table trains Cols: id dtype integer, direction dtype text,
|
trains | Among the trains that run in the east direction, how many of them have at least one car in a non-regular shape? | non-regular shape refers to shape in ('elipse', 'bucket') | SELECT SUM(CASE WHEN T1.shape IN ('bucket', 'elipse') THEN 1 ELSE 0 end)as count FROM cars AS T1 INNER JOIN trains AS T2 ON T1.train_id = T2.id WHERE T2.direction = 'east' | database name:db_id trains
cars table cars Cols: id dtype integer, train id dtype integer, position dtype integer, shape dtype text, length dtype text, sides dtype text, roof dtype text, wheels dtype integer, load_shape dtype text, load number dtype integer,
trains table trains Cols: id dtype integer, direction dtype text,
|
trains | Please list the IDs of all the trains that run in the east direction and have less than 4 cars. | less than 4 cars refers to carsNum < 4 | SELECT T1.id FROM trains AS T1 INNER JOIN ( SELECT train_id, MAX(position) AS carsNum FROM cars GROUP BY train_id ) AS T2 ON T1.id = T2.train_id WHERE T1.direction = 'east' AND T2.carsNum < 4 | database name:db_id trains
cars table cars Cols: id dtype integer, train id dtype integer, position dtype integer, shape dtype text, length dtype text, sides dtype text, roof dtype text, wheels dtype integer, load_shape dtype text, load number dtype integer,
trains table trains Cols: id dtype integer, direction dtype text,
|
trains | Please list the IDs of all the cars with double sides on trains that run in the west direction. | double sides on trains refers to sides = 'double' | SELECT T1.id FROM cars AS T1 INNER JOIN trains AS T2 ON T1.train_id = T2.id WHERE T2.direction = 'east' AND T1.sides = 'double' | database name:db_id trains
cars table cars Cols: id dtype integer, train id dtype integer, position dtype integer, shape dtype text, length dtype text, sides dtype text, roof dtype text, wheels dtype integer, load_shape dtype text, load number dtype integer,
trains table trains Cols: id dtype integer, direction dtype text,
|
trains | Among the trains that run in the east direction, how many of them have more than 2 long cars? | more than 2 long cars refers to longCarsNum > 2 | SELECT SUM(CASE WHEN T2.longCarsNum > 2 THEN 1 ELSE 0 END)as count FROM trains AS T1 INNER JOIN ( SELECT train_id, COUNT(id) AS longCarsNum FROM cars WHERE len = 'long' GROUP BY train_id ) AS T2 ON T1.id = T2.train_id WHERE T1.direction = 'west' | database name:db_id trains
cars table cars Cols: id dtype integer, train id dtype integer, position dtype integer, shape dtype text, length dtype text, sides dtype text, roof dtype text, wheels dtype integer, load_shape dtype text, load number dtype integer,
trains table trains Cols: id dtype integer, direction dtype text,
|