├── .gitignore ├── DataExtraction ├── ExpressionDataExtractor │ ├── CSharpCorpusBuilder.cs │ ├── ExpressionDataExtractor.csproj │ └── Program.cs ├── ExpressionExtraction.sln ├── SourceGraphExtractionUtils │ ├── AstVisitor.cs │ ├── ExtractionLimits.cs │ ├── GraphDataExtractor.cs │ ├── PhogExtractor.cs │ ├── SourceGraphExtractionUtils.csproj │ ├── TypeHierarchy.cs │ └── Utils │ │ ├── BidirectionalMap.cs │ │ ├── ChunkedJsonWriter.cs │ │ ├── DataFlowGraph.cs │ │ ├── DirectedGraph.cs │ │ ├── ExecutionPathGraph.cs │ │ ├── ExtensionUtils.cs │ │ ├── GuardAnnotationGraphExtractor.cs │ │ ├── IntVocabulary.cs │ │ ├── Multimap.cs │ │ ├── PersistentResumeList.cs │ │ ├── RoslynUtils.cs │ │ ├── SourceGraph.cs │ │ ├── ThreadSafeTextLog.cs │ │ ├── Utils.cs │ │ └── VariableUseGraph.cs └── TestProject │ ├── Program.cs │ ├── TinyTest.csproj │ └── TinyTest.sln ├── LICENSE ├── Models ├── exprsynth │ ├── __init__.py │ ├── contextgraphmodel.py │ ├── contexttokenmodel.py │ ├── graph2seqmodel.py │ ├── metadata │ │ ├── CSharpReservedNames.txt │ │ ├── __init__.py │ │ └── loader.py │ ├── model.py │ ├── model_restore_helper.py │ ├── nagdecoder.py │ ├── nagmodel.py │ ├── seq2graphmodel.py │ ├── seq2seqmodel.py │ ├── seqdecoder.py │ └── utils.py ├── requirements.txt ├── test_data │ ├── exprs-types.json.gz │ └── graphs │ │ └── exprs-graph.0.jsonl.gz └── utils │ ├── dataset_split.py │ ├── latticejoin.py │ ├── tensorise.py │ ├── test.py │ └── train.py ├── README.md └── SECURITY.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/.gitignore -------------------------------------------------------------------------------- /DataExtraction/ExpressionDataExtractor/CSharpCorpusBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/ExpressionDataExtractor/CSharpCorpusBuilder.cs -------------------------------------------------------------------------------- /DataExtraction/ExpressionDataExtractor/ExpressionDataExtractor.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/ExpressionDataExtractor/ExpressionDataExtractor.csproj -------------------------------------------------------------------------------- /DataExtraction/ExpressionDataExtractor/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/ExpressionDataExtractor/Program.cs -------------------------------------------------------------------------------- /DataExtraction/ExpressionExtraction.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/ExpressionExtraction.sln -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/AstVisitor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/AstVisitor.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/ExtractionLimits.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/ExtractionLimits.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/GraphDataExtractor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/GraphDataExtractor.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/PhogExtractor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/PhogExtractor.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/SourceGraphExtractionUtils.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/SourceGraphExtractionUtils.csproj -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/TypeHierarchy.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/TypeHierarchy.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/BidirectionalMap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/BidirectionalMap.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/ChunkedJsonWriter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/ChunkedJsonWriter.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/DataFlowGraph.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/DataFlowGraph.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/DirectedGraph.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/DirectedGraph.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/ExecutionPathGraph.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/ExecutionPathGraph.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/ExtensionUtils.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/ExtensionUtils.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/GuardAnnotationGraphExtractor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/GuardAnnotationGraphExtractor.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/IntVocabulary.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/IntVocabulary.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/Multimap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/Multimap.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/PersistentResumeList.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/PersistentResumeList.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/RoslynUtils.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/RoslynUtils.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/SourceGraph.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/SourceGraph.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/ThreadSafeTextLog.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/ThreadSafeTextLog.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/Utils.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/Utils.cs -------------------------------------------------------------------------------- /DataExtraction/SourceGraphExtractionUtils/Utils/VariableUseGraph.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/SourceGraphExtractionUtils/Utils/VariableUseGraph.cs -------------------------------------------------------------------------------- /DataExtraction/TestProject/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/TestProject/Program.cs -------------------------------------------------------------------------------- /DataExtraction/TestProject/TinyTest.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/TestProject/TinyTest.csproj -------------------------------------------------------------------------------- /DataExtraction/TestProject/TinyTest.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/DataExtraction/TestProject/TinyTest.sln -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/LICENSE -------------------------------------------------------------------------------- /Models/exprsynth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Models/exprsynth/contextgraphmodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/contextgraphmodel.py -------------------------------------------------------------------------------- /Models/exprsynth/contexttokenmodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/contexttokenmodel.py -------------------------------------------------------------------------------- /Models/exprsynth/graph2seqmodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/graph2seqmodel.py -------------------------------------------------------------------------------- /Models/exprsynth/metadata/CSharpReservedNames.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/metadata/CSharpReservedNames.txt -------------------------------------------------------------------------------- /Models/exprsynth/metadata/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Models/exprsynth/metadata/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/metadata/loader.py -------------------------------------------------------------------------------- /Models/exprsynth/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/model.py -------------------------------------------------------------------------------- /Models/exprsynth/model_restore_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/model_restore_helper.py -------------------------------------------------------------------------------- /Models/exprsynth/nagdecoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/nagdecoder.py -------------------------------------------------------------------------------- /Models/exprsynth/nagmodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/nagmodel.py -------------------------------------------------------------------------------- /Models/exprsynth/seq2graphmodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/seq2graphmodel.py -------------------------------------------------------------------------------- /Models/exprsynth/seq2seqmodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/seq2seqmodel.py -------------------------------------------------------------------------------- /Models/exprsynth/seqdecoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/seqdecoder.py -------------------------------------------------------------------------------- /Models/exprsynth/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/exprsynth/utils.py -------------------------------------------------------------------------------- /Models/requirements.txt: -------------------------------------------------------------------------------- 1 | docopt 2 | dpu_utils>=0.1.9,<1.0 3 | tensorflow-gpu>=1.6,<2.0 4 | numpy 5 | -------------------------------------------------------------------------------- /Models/test_data/exprs-types.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/test_data/exprs-types.json.gz -------------------------------------------------------------------------------- /Models/test_data/graphs/exprs-graph.0.jsonl.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/test_data/graphs/exprs-graph.0.jsonl.gz -------------------------------------------------------------------------------- /Models/utils/dataset_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/utils/dataset_split.py -------------------------------------------------------------------------------- /Models/utils/latticejoin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/utils/latticejoin.py -------------------------------------------------------------------------------- /Models/utils/tensorise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/utils/tensorise.py -------------------------------------------------------------------------------- /Models/utils/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/utils/test.py -------------------------------------------------------------------------------- /Models/utils/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/Models/utils/train.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/graph-based-code-modelling/HEAD/SECURITY.md --------------------------------------------------------------------------------