repo stringclasses 39
values | buggy_commit stringlengths 40 40 | bug_issue int64 846 144k | solve_pr int64 1.05k 144k | call_graph dict | graph_spec stringlengths 177 4.65k |
|---|---|---|---|---|---|
duckdb/duckdb | e3946f2327a3cc622e1ec7fe71d51de49f93e61d | 25,401 | 25,411 | {
"nodes": [
{
"id": "src/parser/peg/transformer/transform_alter.cpp::PEGTransformerFactory::TransformAddColumn"
},
{
"id": "src/parser/peg/transformer/transform_alter.cpp::PEGTransformerFactory::TransformAddColumnEntry"
},
{
"id": "src/parser/peg/transformer/transform_alter.cpp:... | This scope covers the PEG-transformer obligations for parsing `ALTER TABLE ... ADD COLUMN` into a bound AST. `TransformAddColumnEntry` is the entry normalizer: it converts the dotted identifier into a column path, records the optional type, requires either a type or a generated-expression target (otherwise a ParserExce... |
duckdb/duckdb | 3579aad362c37d38b649f8e8b0174514207e8f99 | 25,403 | 25,543 | {
"nodes": [
{
"id": "src/parser/peg/transformer/transform_alter.cpp::PEGTransformerFactory::TransformAddColumn"
},
{
"id": "src/parser/peg/transformer/transform_alter.cpp::PEGTransformerFactory::TransformAddColumnEntry"
},
{
"id": "src/parser/peg/transformer/transform_alter.cpp:... | Scope: transforming `ALTER TABLE ... ADD COLUMN` grammar into parse metadata. The generated `TransformAddColumnEntryInternal` step must consume the `AddColumnEntry` grammar children — dotted identifier, optional type, optional generated column, and the repeated column constraints in source order — and forward them unch... |
duckdb/duckdb | 6d7abb1090e1079f252b15ba0366310bb87d8582 | 25,414 | 25,413 | {
"nodes": [
{
"id": "src/catalog/catalog_entry/duck_table_entry.cpp::DuckTableEntry::AlterEntry"
},
{
"id": "src/catalog/catalog_entry/duck_table_entry.cpp::DuckTableEntry::ChangeColumnType"
},
{
"id": "src/storage/data_table.cpp::DataTable::DataTable"
}
],
"edges": [
... | This scope covers ALTER TABLE type changes on a DuckDB base-table catalog entry. DuckTableEntry::AlterEntry is the entry point: it accepts only ALTER TABLE alters (column comments are handled separately) and dispatches ALTER_COLUMN_TYPE, plus the internal ADD_FIELD/REMOVE_FIELD/RENAME_FIELD variants, to ChangeColumnTyp... |
duckdb/duckdb | 10de9573794001c649621013bdd93553b54e00c9 | 25,415 | 25,722 | {
"nodes": [
{
"id": "extension/json/json_functions/json_create.cpp::CreateValuesStruct"
},
{
"id": "extension/json/json_functions/json_create.cpp::CreateValuesUnion"
},
{
"id": "extension/json/json_functions/json_create.cpp::JSONCopyToGeoJSONFunction"
},
{
"id": "e... | This scope converts bound SQL values into JSON text via the json extension. The dispatcher CreateValues must choose a JSON representation that matches the runtime LogicalTypeId of the input vector: integer/float/boolean/string-like scalars are emitted as native JSON scalars; LIST and ARRAY become JSON arrays (recursive... |
duckdb/duckdb | 8065a54e5cea3cda21c8c6a4ef921bcdbc16dd9c | 25,428 | 25,524 | {
"nodes": [
{
"id": "src/optimizer/late_materialization.cpp::LateMaterialization::Optimize"
},
{
"id": "src/optimizer/late_materialization.cpp::LateMaterialization::TryLateMaterialization"
},
{
"id": "src/optimizer/remove_unused_columns.cpp::RemoveUnusedColumns::RemoveColumnsFro... | This scope covers logical-plan rewrites that prune columns while preserving query semantics: LateMaterialization, RemoveUnusedColumns, and TopNWindowElimination. LateMaterialization::Optimize recursively descends the plan and attempts a rewrite only at LIMIT (when an offset exists, or when the limit is large yet only p... |
duckdb/duckdb | 70e7a857595b5872842b6ec242ac79c182e58dde | 25,430 | 25,634 | {
"nodes": [
{
"id": "extension/json/json_functions/json_serialize_plan.cpp::duckdb::JsonSerializePlanFunction"
},
{
"id": "src/main/client_context.cpp::ClientContext::CreatePreparedStatement"
},
{
"id": "src/main/client_context.cpp::ClientContext::CreatePreparedStatementInternal... | This scope governs how a bound SQL statement becomes an optimized logical plan and how that plan is consumed by query execution, prepared-query flows, plan extraction, and json_serialize_plan. Entry points (Connection::ExtractPlan, ClientContext::Query/PendingQuery/PendingStatement, ClientContext::Prepare, PreparedStat... |
duckdb/duckdb | 6d7abb1090e1079f252b15ba0366310bb87d8582 | 25,452 | 25,453 | {
"nodes": [
{
"id": "src/storage/table/row_group_collection.cpp::RowGroupCollection::VerifyNewConstraint"
}
],
"edges": []
} | `RowGroupCollection::VerifyNewConstraint` is a read-only validation that runs while adding a NOT NULL constraint to an existing table, and it must fail that schema change exactly when the table's already-stored rows would violate the new constraint. Obligations: (1) A NOT NULL constraint is the only kind this entry poi... |
duckdb/duckdb | 070ce1f695bb17ef68f1fdd5ba20cad4a3ac6646 | 25,454 | 25,455 | {
"nodes": [
{
"id": "src/storage/wal_replay.cpp::WriteAheadLogDeserializer::ReplayAlter"
},
{
"id": "src/storage/wal_replay.cpp::WriteAheadLogDeserializer::ReplayEntry"
}
],
"edges": [
{
"source": "src/storage/wal_replay.cpp::WriteAheadLogDeserializer::ReplayEntry",
"t... | `WriteAheadLogDeserializer::ReplayEntry` consumes exactly one WAL frame, reads its `WALType`, and is the sole replay dispatcher: a `WAL_FLUSH` type is consumed without invoking any handler and reports a commit boundary (true), while every other type reports false and either dispatches on its type or, in framed (v2/v3) ... |
duckdb/duckdb | 070ce1f695bb17ef68f1fdd5ba20cad4a3ac6646 | 25,467 | 25,468 | {
"nodes": [
{
"id": "src/execution/operator/schema/physical_create_index.cpp::PhysicalCreateIndex::Finalize"
}
],
"edges": []
} | `PhysicalCreateIndex::Finalize` concludes a CREATE INDEX (or index-adding ALTER TABLE) pipeline: it consumes the operator's global sink state, produces the finished bound index from the index-type build, and makes it durable/queryable by adding it to the table's storage. It must first validate the built index (vacuum, ... |
duckdb/duckdb | 668f94740b280bf44c7c081df664ae1eb310c090 | 25,480 | 25,552 | {
"nodes": [
{
"id": "src/function/cast/variant/from_variant.cpp::CastVariantToJSON"
},
{
"id": "src/function/cast/variant/from_variant.cpp::ConvertVariantToList"
},
{
"id": "src/function/cast/variant/from_variant.cpp::duckdb::CastFromVARIANT"
},
{
"id": "src/functi... | Scope: converting a duckdb VARIANT column into a requested typed column, defined by CastFromVARIANT, its recursive dispatcher CastVariant, and the nested converters ConvertVariantToList, ConvertVariantToArray, ConvertVariantToStruct, ConvertVariantToTuple plus CastVariantToJSON.
Obligations:
- CastFromVARIANT is the p... |
duckdb/duckdb | bade309c1c5ded881fec74cbc94ac14048ad0107 | 25,497 | 25,498 | {
"nodes": [
{
"id": "src/planner/binder/statement/bind_copy.cpp::Binder::Bind"
},
{
"id": "src/planner/binder/statement/bind_copy.cpp::Binder::BindCopyTo"
},
{
"id": "src/planner/binder/statement/bind_copy.cpp::Binder::BindNode"
},
{
"id": "src/planner/binder/state... | Within the COPY statement binder in `src/planner/binder/statement/bind_copy.cpp`, the graph must preserve these behaviors. `Binder::BindNode(CopyQueryNode&)` transfers the query node's info into a `CopyStatement` and routes it to `Binder::Bind` as a COPY-TO-FILE request. `Binder::Bind` must bind all copy options, synth... |
duckdb/duckdb | 43f897e5f3446bde2b36cef5dc137eea14211fd9 | 25,510 | 25,511 | {
"nodes": [
{
"id": "src/storage/wal_replay.cpp::WriteAheadLogDeserializer::ReplayAlter"
},
{
"id": "src/storage/wal_replay.cpp::WriteAheadLogDeserializer::ReplayCreateIndex"
},
{
"id": "src/storage/wal_replay.cpp::WriteAheadLogDeserializer::ReplayDropIndex"
},
{
"... | The scope covers WAL replay dispatch plus the handlers for ALTER, CREATE INDEX, DROP INDEX, and DROP TABLE. `ReplayEntry` must read the leading WAL record type and route it to exactly the matching handler, fully consuming that record's payload; in deserialize-only mode every handler must still consume the payload while... |
duckdb/duckdb | 6ee2305dc786e2429c85eb971f8854f5a9807149 | 25,548 | 25,549 | {
"nodes": [
{
"id": "src/catalog/catalog_entry/duck_table_entry.cpp::DuckTableEntry::AlterEntry"
},
{
"id": "src/catalog/catalog_set.cpp::CatalogSet::AlterEntry"
}
],
"edges": [
{
"source": "src/catalog/catalog_entry/duck_table_entry.cpp::DuckTableEntry::AlterEntry",
"... | The scope covers DuckTableEntry::AlterEntry and CatalogSet::AlterEntry, the catalog path through which ALTER TABLE and column/table metadata changes are applied to a persistent DuckDB table. The obligation of CatalogSet::AlterEntry is to treat an alter as an atomic, transactional replacement of a named entry: resolve t... |
duckdb/duckdb | 668f94740b280bf44c7c081df664ae1eb310c090 | 25,553 | 25,555 | {
"nodes": [
{
"id": "src/function/table/table_scan.cpp::DuckTableScanState::ClaimAssignment"
},
{
"id": "src/function/table/table_scan.cpp::DuckTableScanState::InitLocalState"
},
{
"id": "src/function/table/table_scan.cpp::DuckTableScanState::ProduceJob"
},
{
"id":... | The seq_scan table function divides one table scan into disjoint, non-overlapping row-group assignments claimed cooperatively by worker threads. Obligation: every scanned row must be produced exactly once, with assignments covering the full row-group sequence and no row assigned to two consumers. RowGroupCollection::Ne... |
duckdb/duckdb | 668f94740b280bf44c7c081df664ae1eb310c090 | 25,554 | 25,558 | {
"nodes": [
{
"id": "src/planner/subquery/flatten_dependent_join.cpp::FlattenDependentJoins::AddCTERefJoinConditions"
},
{
"id": "src/planner/subquery/flatten_dependent_join.cpp::FlattenDependentJoins::PushDownCTE"
},
{
"id": "src/planner/subquery/flatten_dependent_join.cpp::Fla... | FlattenDependentJoins flattens a dependent join by pushing the active correlation domain (one state binding per correlated column, in `correlated_columns` order) through the correlated subtree and returning an `UnnestingState`. `PushDownCorrelatedNode` is the sole entry point: it must return exactly one distinct state ... |
duckdb/duckdb | 4e94455c4f5eb6c9a9b7ed800d88ad2515d72eb8 | 25,556 | 25,561 | {
"nodes": [
{
"id": "src/optimizer/remove_unused_columns.cpp::RemoveUnusedColumns::VisitOperator"
},
{
"id": "src/optimizer/remove_unused_columns.cpp::RemoveUnusedColumns::VisitPrunableChildren"
},
{
"id": "src/optimizer/topn_window_elimination.cpp::TopNWindowElimination::Optimi... | This scope covers DuckDB's unused-column pruning (RemoveUnusedColumns) and the grouped-top-n window elimination pass (TopNWindowElimination). RemoveUnusedColumns::VisitOperator is the workhorse: given the column bindings currently referenced by ancestors, it must drop expressions/columns of the visited operator that ar... |
duckdb/duckdb | 376bc5b58d837e862dd7abfe9b296c391faca0bb | 25,565 | 25,676 | {
"nodes": [
{
"id": "src/planner/subquery/delim_join_cte_rewriter.cpp::DelimJoinCTERewriter::Rewrite"
},
{
"id": "src/planner/subquery/delim_join_cte_rewriter.cpp::duckdb::PushEligibleFilterExpressionsIntoDelimJoinInputs"
},
{
"id": "src/planner/subquery/delim_join_cte_rewriter.... | The scope covers the delimiter-elimination driver and its filter-pushdown phase. `DelimJoinCTERewriter::Rewrite` is the entry point that, after collecting delimiter/marker indexes, must drive the plan to a delimiter-free result: it repeatedly invokes `PushEligibleFiltersIntoDelimJoinInputs` until a fixpoint, rewrites r... |
duckdb/duckdb | 2931a9165ce626cf4d7b824d9cbe7ce32c5f09af | 25,575 | 26,029 | {
"nodes": [
{
"id": "extension/core_functions/aggregate/holistic/approx_top_k.cpp::ApproxTopKOperation::Combine"
},
{
"id": "extension/core_functions/aggregate/holistic/approx_top_k.cpp::InternalApproxTopKState::CopyValue"
},
{
"id": "extension/core_functions/aggregate/holistic/... | These four functions jointly maintain a per-group approximate top-k aggregate: a bounded, count-ordered set of monitored string values plus per-hash Filtered Space-Saving counters, all owned by one InternalApproxTopKState. ApproxTopKOperation::Combine must merge a source state into a target without mutating the source:... |
duckdb/duckdb | ed8592347a1bdf90c7074c810d8dc6e052171a3e | 25,588 | 25,589 | {
"nodes": [
{
"id": "src/execution/operator/persistent/physical_batch_insert.cpp::PhysicalBatchInsert::Finalize"
},
{
"id": "src/execution/operator/persistent/physical_batch_insert.cpp::PhysicalBatchInsert::Sink"
},
{
"id": "src/execution/operator/persistent/physical_insert.cpp:... | This scope covers the integrity obligations of row insertion and update paths for DuckDB tables: `PhysicalInsert` (Sink/OnConflictHandling/HandleInsertConflicts/PerformOnConflictAction/Finalize), `PhysicalBatchInsert` (Sink/Finalize), `PhysicalUpdate::Sink`, and `DataTable` append/constraint verification. Required beha... |
duckdb/duckdb | 5e9508026e1bbbd28f25863c33cfb03500063f81 | 25,611 | 25,619 | {
"nodes": [
{
"id": "src/function/table/arrow.cpp::ArrowTableFunction::ArrowScanFunction"
},
{
"id": "src/function/table/arrow_conversion.cpp::ArrowTableFunction::ArrowToDuckDB"
},
{
"id": "src/function/table/arrow_conversion.cpp::ArrowToDuckDBConversion::ColumnArrowToDuckDB"
... | The scope converts Arrow arrays into DuckDB DataChunks and must preserve Arrow's row semantics exactly across the engine scan path and the C-API-v2 importer. Every conversion must honor array.offset together with parent/nested offsets and the chunk offset so a produced vector holds exactly the requested rows starting a... |
duckdb/duckdb | 10de9573794001c649621013bdd93553b54e00c9 | 25,629 | 25,690 | {
"nodes": [
{
"id": "extension/parquet/parquet_reader.cpp::ParquetPartitionRowGroup::GetColumnStatistics"
},
{
"id": "extension/parquet/parquet_reader.cpp::ParquetPartitionRowGroup::MinMaxIsExact"
}
],
"edges": []
} | Scope: the two `ParquetPartitionRowGroup` accessors that expose per-row-group column statistics from parquet file metadata to callers of `PartitionRowGroup`.
`GetColumnStatistics(storage_index)` must return statistics describing only the row group identified by `row_group_idx`, derived from that row group's column met... |
duckdb/duckdb | 88902aaa3972216c928c8e79a89217a413be414c | 25,636 | 25,637 | {
"nodes": [
{
"id": "src/include/duckdb/storage/compression/chimp/chimp_fetch.hpp::duckdb::ChimpFetchRow"
}
],
"edges": []
} | `ChimpFetchRow<T>` performs a random-access (point) fetch of the single segment row at absolute `row_id`, writing exactly that one decoded value into `result[result_idx]` and leaving other result slots untouched; `result_idx` need not be 0. For every `row_id` in `[0, segment_count)` and for each supported Chimp type (f... |
duckdb/duckdb | a836ab3860d1010f4727365cfe92bcce9931b272 | 25,648 | 25,790 | {
"nodes": [
{
"id": "src/main/capi/v2/capi_v2_arrow.cpp::CV2ConvertArrowSlice"
},
{
"id": "src/main/capi/v2/capi_v2_arrow.cpp::CV2ValidateArrowArray"
},
{
"id": "src/main/capi/v2/capi_v2_arrow.cpp::duckdb_v2_arrow_importer_append"
},
{
"id": "src/main/capi/v2/capi_... | The arrow-importer scope governs how a caller-supplied Arrow array is validated, adopted, and lazily sliced into DuckDB chunk(s) that must match a schema resolved at importer creation. `duckdb_v2_arrow_importer_append` accepts one array at a time: it must first confirm no rows from a previous array remain undrained, th... |
duckdb/duckdb | 88902aaa3972216c928c8e79a89217a413be414c | 25,658 | 25,659 | {
"nodes": [
{
"id": "extension/core_functions/scalar/array/array_value.cpp::duckdb::ArrayValueStats"
},
{
"id": "extension/core_functions/scalar/list/list_value.cpp::duckdb::ListValueStats"
},
{
"id": "src/storage/statistics/array_stats.cpp::ArrayStats::Merge"
},
{
... | Statistics merging in this scope is a conservative, order-insensitive union. `BaseStatistics::Merge` first ORs `has_null`/`has_no_null` (merged nullability is set iff either input could produce a NULL, resp. a non-NULL) and then dispatches to the payload merge, so the result must remain a sound bound for the union of b... |
duckdb/duckdb | 3a604ab6d4d66910ad91bf7669c0b5f648a00190 | 25,698 | 25,949 | {
"nodes": [
{
"id": "src/function/window/window_value_function.cpp::WindowFirstValueExecutor::StreamData"
},
{
"id": "src/function/window/window_value_function.cpp::WindowLastValueExecutor::StreamData"
},
{
"id": "src/function/window/window_value_function.cpp::WindowNthValueStre... | This scope covers the streaming evaluation of the value window functions `first_value`, `last_value` and `nth_value` over a running frame (partition start through the current row). `WindowValueStreamingState` is constructed once from the first input chunk: it captures the argument expression, evaluates it once to seed ... |
duckdb/duckdb | 3a604ab6d4d66910ad91bf7669c0b5f648a00190 | 25,700 | 25,953 | {
"nodes": [
{
"id": "src/function/window/window_value_function.cpp::WindowFirstValueExecutor::CanStream"
},
{
"id": "src/function/window/window_value_function.cpp::WindowLastValueExecutor::CanStream"
},
{
"id": "src/function/window/window_value_function.cpp::WindowLeadLagExecuto... | All four nodes are streaming-eligibility predicates for the value window functions: each must answer true only when the streaming window operator can reproduce blocking evaluation row-for-row, and each may always answer false to fall back. They are consulted only after the operator has already established an empty OVER... |
duckdb/duckdb | 3a604ab6d4d66910ad91bf7669c0b5f648a00190 | 25,774 | 25,960 | {
"nodes": [
{
"id": "src/function/cast/variant/to_json.cpp::JSONConverter::VisitObject"
},
{
"id": "src/function/scalar/variant/variant_typeof.cpp::VariantTypeofFunction"
},
{
"id": "src/include/duckdb/common/types/variant_visitor.hpp::VariantVisitor::VisitObjectItems"
},
... | Scope: VARIANT OBJECT traversal and its two consumers, plus variant_typeof. Given a decoded object (child_count and children_idx), VariantVisitor::VisitObjectItems must contribute exactly one (key, value) entry per child: for child index i it pairs the key resolved at GetKeysIndex(row, children_idx+i) with the value re... |
duckdb/duckdb | 37d658d3878004e1ada191c258b046d102281bf4 | 25,776 | 25,792 | {
"nodes": [
{
"id": "src/function/cast/variant/from_variant.cpp::TryFromShreddedCast"
},
{
"id": "src/function/cast/variant/from_variant.cpp::duckdb::CastFromVARIANT"
}
],
"edges": [
{
"source": "src/function/cast/variant/from_variant.cpp::duckdb::CastFromVARIANT",
"ta... | Scope covers the VARIANT-to-target cast entry point `CastFromVARIANT` and the shredded short-circuit `TryFromShreddedCast` it invokes. For a batch of `count` rows, `CastFromVARIANT` must yield exactly `count` values of the requested target type whose values, nulls, and ordering match what the general per-row VARIANT co... |
duckdb/duckdb | 8aae2b52b605292ec77489e320b7b0ded1c64b19 | 25,778 | 25,838 | {
"nodes": [
{
"id": "extension/json/json_functions/json_serialize_plan.cpp::duckdb::JsonSerializePlanFunction"
},
{
"id": "src/main/capi/v2/capi_v2_prepared_statement.cpp::duckdb_v2_prepared_statement_create"
},
{
"id": "src/main/client_context.cpp::ClientContext::CreatePrepared... | This scope covers the statement-preparation/execution lifecycle and the plan rewrites that keep materialized-CTE consumers equivalent. ClientContext Prepare/Submit/Query/RunInternal/SubmitInternalStatement accept exactly one statement, verify named parameters, and funnel through SubmitInternal → StatementVerification (... |
duckdb/duckdb | 8aae2b52b605292ec77489e320b7b0ded1c64b19 | 25,804 | 25,839 | {
"nodes": [
{
"id": "src/optimizer/grouping_sets_optimizer.cpp::GroupingSetsOptimizer::TryExpandGroupingSets"
},
{
"id": "src/optimizer/multi_stage_aggregate_rewriter.cpp::CreateRewriteBranch"
},
{
"id": "src/optimizer/multi_stage_aggregate_rewriter.cpp::MultiStageAggregateRewri... | The scope covers a logical-plan rewrite that lowers a single LOGICAL_AGGREGATE_AND_GROUP_BY into an equivalent, multi-branch plan while keeping consumer-visible bindings, types, and semantics unchanged. TryExpandGroupingSets applies to an aggregate with at least two grouping sets and non-empty aggregate expressions, an... |
duckdb/duckdb | ae9f5159992765b1107b908eaaee139c8a3a175a | 25,872 | 25,904 | {
"nodes": [
{
"id": "extension/parquet/reader/variant_column_reader.cpp::VariantColumnReader::Read"
},
{
"id": "src/function/scalar/variant/variant_extract.cpp::TryShreddedExtractRecursive"
},
{
"id": "src/function/scalar/variant/variant_extract.cpp::VariantUtils::VariantExtract... | This scope covers extracting a single path component from a VARIANT value and must preserve these obligations across all six entry points. Semantics: `VariantExtractFunction` exposes `variant_extract(variant, path)` where the path argument is constant VARCHAR or integral; integral indexes are 1-based (index 0 is reject... |
duckdb/duckdb | bdd42afc245c278198fa94cddec7087e77acf7c0 | 25,873 | 25,954 | {
"nodes": [
{
"id": "src/function/cast/variant/from_variant.cpp::CastVariantToJSON"
},
{
"id": "src/function/cast/variant/from_variant.cpp::duckdb::CastFromVARIANT"
},
{
"id": "src/function/cast/variant/from_variant.cpp::duckdb::CastVariant"
},
{
"id": "src/functio... | This scope implements the VARIANT-to-target cast (`CastFromVARIANT`) and its recursive conversion dispatch (`CastVariant`), including the special-case conversions `ConvertVariantToStruct`, `ConvertVariantToTuple`, and `CastVariantToJSON`. Correctness obligations: (1) `CastFromVARIANT` must accept a VARIANT input vector... |
duckdb/duckdb | 4600457765b19bf1e91d3a86df82f3fc86038d97 | 25,882 | 25,893 | {
"nodes": [
{
"id": "src/function/table/direct_file_reader.cpp::DirectFileReader::Scan"
}
],
"edges": []
} | DirectFileReader::Scan is the single-row-per-file scan routine backing read_blob/read_text. It runs only for the file currently claimed by the multi-file harness (file_list_idx), and each call that has a file to produce must materialize exactly one output row (output cardinality one) for that file and then move into a ... |
duckdb/duckdb | 6889e6a57017bddb7633b8b5c5a85e683ba972d6 | 26,001 | 26,033 | {
"nodes": [
{
"id": "src/execution/operator/scan/physical_table_scan.cpp::TableScanGlobalSourceState::TableScanGlobalSourceState"
}
],
"edges": []
} | Constructing `TableScanGlobalSourceState` must fully prepare a table scan's shared, per-operator execution state. It must record the configured table-scan execution strategy taken from the client session so the scan is driven with the requested strategy. It must establish the effective filter set the scan will use: whe... |
duckdb/duckdb | feab3c8e2bfe35fce1f08aa2289f0ab3df9898ef | 26,048 | 26,131 | {
"nodes": [
{
"id": "src/execution/operator/csv_scanner/table_function/read_single_csv_file.cpp::duckdb::ReadSingleCSVFileBind"
},
{
"id": "src/execution/operator/csv_scanner/util/csv_reader_options.cpp::CSVReaderOptions::Verify"
}
],
"edges": [
{
"source": "src/execution/op... | The scope binds a single-file CSV scan and validates the resulting reader options. `ReadSingleCSVFileBind` must reject a NULL file-name argument, resolve exactly one target file (no globbing/expansion), parse every named parameter into `CSVReaderOptions` using the CSV option vocabulary, aliases, and user-set flags, and... |
duckdb/duckdb | eb620c77f811ba00b7ff4febc4ac8dc9bef9b451 | 26,049 | 26,100 | {
"nodes": [
{
"id": "src/execution/operator/csv_scanner/scanner/string_value_scanner.cpp::StringValueResult::AddPossiblyEscapedValue"
},
{
"id": "src/execution/operator/csv_scanner/scanner/string_value_scanner.cpp::StringValueResult::AddQuotedValue"
},
{
"id": "src/execution/ope... | This scope realizes DuckDB's string-typed CSV scanning of a single (possibly boundary-limited) buffer region and the ordered handoff of parsed fields into the result vectors. StringValueResult::AddValue terminates the field at a delimiter and dispatches by scanning mode: a quoted field goes to AddQuotedValue, an escape... |
duckdb/duckdb | 795e1c1090a52bbac5d2d3b298bd26670d85122b | 26,052 | 26,074 | {
"nodes": [
{
"id": "src/function/scalar/string/like.cpp::ILikeOperatorASCII::Operation"
},
{
"id": "src/function/scalar/string/like.cpp::NotILikeOperatorASCII::Operation"
},
{
"id": "src/function/scalar/string/like.cpp::duckdb::LikeOperatorFunction"
},
{
"id": "sr... | Scope: the SQL LIKE/ILIKE core matcher in src/function/scalar/string/like.cpp. Obligations: (1) `LikeOperatorFunction` is the entry for LIKE/`~~`; each overload must delegate to `TemplatedLikeOperator` instantiated with `%`/`_`, enabling escape handling only for the escape overload and disabling it otherwise (escape ch... |
duckdb/duckdb | feab3c8e2bfe35fce1f08aa2289f0ab3df9898ef | 26,065 | 26,130 | {
"nodes": [
{
"id": "extension/parquet/writer/variant/convert_variant.cpp::duckdb::ToParquetVariantFunction"
},
{
"id": "src/common/arrow/arrow_type_extension.cpp::ArrowVariant::DuckToArrow"
},
{
"id": "src/common/types/variant/parquet_variant_encoding.cpp::ParquetVariantConvers... | The scope converts DuckDB VARIANT values into the Parquet/Arrow VARIANT encoding and into shredded column storage, and every path must be lossless and byte-consistent. ToParquetVariant splits each row into a metadata blob (a version-1 dictionary of the row's key strings, with offsets sized to the largest value, total d... |
duckdb/duckdb | 209e98f4f2e3142b73f574d01b4440606d9bf5d8 | 26,069 | 26,168 | {
"nodes": [
{
"id": "src/catalog/catalog_entry/sequence_catalog_entry.cpp::SequenceCatalogEntry::NextValue"
},
{
"id": "src/catalog/catalog_entry/sequence_catalog_entry.cpp::SequenceCatalogEntry::SetValue"
},
{
"id": "src/function/scalar/sequence/nextval.cpp::NextSequenceValueOp... | Within this scope, sequence state (counter, last_value, usage_count) is mutated only while holding the entry's mutex, so concurrent nextval/setval calls observe a serialized, gap-free progression. SequenceCatalogEntry::NextValue returns the entry's current counter as the produced value and then advances the counter by ... |
duckdb/duckdb | d8a1bd4f4fbccdf3d22d8f1fe27a94c11c805d0a | 26,207 | 26,208 | {
"nodes": [
{
"id": "src/common/types/value.cpp::Value::operator<"
},
{
"id": "src/common/types/value.cpp::Value::operator<="
},
{
"id": "src/common/types/value.cpp::Value::operator>"
},
{
"id": "src/common/types/value.cpp::Value::operator>="
},
{
"id... | This scope fixes the semantics of Value comparison and the callers that rely on it. Value::operator<, <=, >, >= must delegate to the matching ValueOperations predicate, and the non-distinct predicates must be derived consistently from one strict primitive: GreaterThan is the only operation routed through TemplatedBoole... |
duckdb/duckdb | 09eb7f7004cb682d877c4e50ac0f296f4a0fc8e4 | 26,216 | 26,223 | {
"nodes": [
{
"id": "src/function/cast/string_cast.cpp::VectorStringToMap::StringToNestedTypeCastLoop"
}
],
"edges": []
} | `VectorStringToMap::StringToNestedTypeCastLoop` is the vectorized VARCHAR-to-MAP cast kernel: over `count` output rows it parses each source string into a `{key=value, ...}` map, reading values through the optional selection vector while writing list entries/validity at the positional output index. It runs two passes: ... |
duckdb/duckdb | d8a1bd4f4fbccdf3d22d8f1fe27a94c11c805d0a | 26,217 | 26,222 | {
"nodes": [
{
"id": "extension/icu/icu-strptime.cpp::ICUStrptime::Parse"
},
{
"id": "extension/icu/icu-strptime.cpp::ICUStrptime::ParseOne"
},
{
"id": "extension/icu/icu-strptime.cpp::ICUStrptime::TryParse"
},
{
"id": "extension/icu/icu-strptime.cpp::ICUStrptime::T... | This scope couples CSV auto-detection with the strptime parsers it relies on. Entry points (ReadSingleCSVFileBind/SniffCSVFile, both CSVFileScan constructors, CSVSchemaDiscovery::SchemaDiscovery, CSVSniffFunction, ReadCSVRelationBind) must drive the sniffer to settle on a dialect (delimiter, quote, escape, newline, ski... |
duckdb/duckdb | 09eb7f7004cb682d877c4e50ac0f296f4a0fc8e4 | 26,221 | 26,224 | {
"nodes": [
{
"id": "src/execution/operator/csv_scanner/table_function/global_csv_state.cpp::CSVGlobalState::FillRejectsTable"
},
{
"id": "src/execution/operator/csv_scanner/table_function/global_csv_state.cpp::CSVGlobalState::FinishFile"
},
{
"id": "src/execution/operator/csv_s... | This scope covers how CSV reject reporting is created and populated. `CSVRejectsTable::GetOrCreate` must produce a single shared, cached rejects-table object for a given (scan-name, error-name) pair: the two names must differ, lookups must be case-insensitive and keyed so distinct name pairs cannot alias each other, an... |
duckdb/duckdb | 71f47d410f6acceabd4c0d1329ed0f7b2f315f93 | 28,158 | 28,171 | {
"nodes": [
{
"id": "src/storage/table/row_group_collection.cpp::RowGroupCollection::FinalizeAppend"
},
{
"id": "src/storage/table/row_group_collection.cpp::RowGroupCollection::NextParallelScan"
}
],
"edges": []
} | These functions support writing and parallel reading of table data organized into row groups, which are storage units containing groups of table rows. FinalizeAppend completes and flushes an append using transaction and append state, while NextParallelScan assigns scan work using collection scan state and returns the a... |
duckdb/duckdb | fd4d42e4604a08dcfc7a481ee1bfb734e6d6c1f7 | 28,160 | 28,346 | {
"nodes": [
{
"id": "extension/core_functions/aggregate/algebraic/avg.cpp::duckdb::KahanAverageOperation::Finalize"
},
{
"id": "extension/core_functions/aggregate/algebraic/avg.cpp::duckdb::KahanAvgState::Combine"
},
{
"id": "extension/core_functions/include/core_functions/aggre... | These functions support numerically accurate floating-point averaging through compensated summation, which reduces accumulated rounding error. KahanAdd::AddNumber, KahanAdd::AddConstant, and KahanAddInternal provide numeric accumulation support; KahanAvgState::Combine merges partial average states, and KahanAverageOper... |
duckdb/duckdb | 15ee9801d5935e00bb1fa0b1c20d98c728d94cf2 | 28,211 | 28,333 | {
"nodes": [
{
"id": "src/storage/standard_buffer_manager.cpp::StandardBufferManager::StandardBufferManager"
}
],
"edges": []
} | StandardBufferManager::StandardBufferManager constructs a database’s buffer manager from a database instance and a temporary-directory path. The manager provides memory buffers for internal database use, cooperates with other databases through a shared buffer pool, and supports database-specific management of temporary... |
duckdb/duckdb | a5e99a4fbdedea6b96d8d4a9d5395f39d1d9bd8a | 28,284 | 28,293 | {
"nodes": [
{
"id": "src/function/scalar/list/list_select.cpp::duckdb::ListSelectFunction"
}
],
"edges": []
} | ListSelectFunction supports list selection and filtering, producing lists of selected elements from input lists using index lists or Boolean masks. These operations express selection within list-valued data through the public list_select and list_where interfaces. |
duckdb/duckdb | ad2d8e9acc9e570855c1a5a3143a6d843160a795 | 28,308 | 28,331 | {
"nodes": [
{
"id": "src/planner/expression/bound_constant_expression.cpp::BoundConstantExpression::Equals"
},
{
"id": "src/planner/expression/bound_constant_expression.cpp::BoundConstantExpression::Hash"
}
],
"edges": []
} | BoundConstantExpression represents a constant value as a bound, typed SQL expression in DuckDB’s planner. Equals compares it with another expression for equality, while Hash produces an expression hash; together they support expression comparison and hashing within planning. |
duckdb/duckdb | 3588b975298a10db11ecd61c54e9361485873378 | 28,357 | 28,407 | {
"nodes": [
{
"id": "extension/parquet/writer/enum_column_writer.cpp::EnumColumnWriter::DictionarySize"
},
{
"id": "extension/parquet/writer/enum_column_writer.cpp::EnumColumnWriter::EnumColumnWriter"
},
{
"id": "extension/parquet/writer/enum_column_writer.cpp::EnumColumnWriter:... | These functions support writing enum columns to Parquet by constructing the column writer, creating page-specific writing state, and serializing vector data through enum-specific writing support. They also report dictionary entry counts and write dictionary contents, supporting Parquet’s dictionary encoding, which repr... |
duckdb/duckdb | 5632eb730e9c15914517fe027d6f0e9761caa89d | 28,370 | 28,390 | {
"nodes": [
{
"id": "src/parser/peg/transformer/transform_select.cpp::PEGTransformerFactory::FinalizeWithClauseTrampoline"
},
{
"id": "src/parser/peg/transformer/transform_select.cpp::PEGTransformerFactory::InitializeWithClauseTrampoline"
}
],
"edges": []
} | InitializeWithClauseTrampoline and FinalizeWithClauseTrampoline provide the initialization and completion phases of transforming a parsed SQL WITH clause into DuckDB’s query representation. A WITH clause defines named common table expressions for use within a statement; these functions support representing those defini... |
duckdb/duckdb | c3dc01af116ce439464d582448b9c4d8dc412aec | 28,452 | 28,455 | {
"nodes": [
{
"id": "src/planner/binder/expression/bind_aggregate_expression.cpp::BaseSelectBinder::BindAggregate"
}
],
"edges": []
} | BaseSelectBinder::BindAggregate binds a parsed aggregate-function expression against its catalog entry, returning a binding result for query planning within the SELECT, HAVING, and QUALIFY binder context. Aggregate functions summarize rows into group-level values; this function connects those SQL expressions to the pla... |
element-hq/element-web | 0997e0a747f7cb957eaf4dda6277d35763a024d9 | 29,192 | 29,388 | {
"nodes": [
{
"id": "src/components/structures/MatrixChat.tsx::MatrixChat::onAction"
},
{
"id": "src/components/views/dialogs/UserSettingsDialog.tsx::UserSettingsDialog"
},
{
"id": "src/components/views/settings/encryption/ResetIdentityPanel.tsx::ResetIdentityPanel"
},
{... | MatrixChat.onAction handles application action payloads, providing access to the user settings interface represented by UserSettingsDialog. Within that interface, EncryptionUserSettingsTab presents controls for encryption setup, key storage, and recovery, while ResetIdentityPanel provides the interface for resetting th... |
etcd-io/etcd | 1fa2b222386bd0b7840bb6006cd5452fb2d539e1 | 22,564 | 22,565 | {
"nodes": [
{
"id": "tests/framework/e2e/cluster.go::EtcdProcessClusterConfig::EtcdServerProcessConfig"
}
],
"edges": []
} | EtcdProcessClusterConfig.EtcdServerProcessConfig produces a server-process configuration for an individual etcd member from cluster-level settings, a testing context, and a member index. In the end-to-end testing framework, it connects configuration of an etcd cluster—a group of members providing a distributed key-valu... |
etcd-io/etcd | b25719d10cdc41fb707b0d9f819c2529dec5d590 | 22,608 | 22,609 | {
"nodes": [
{
"id": "server/storage/mvcc/kvstore.go::store::hash"
}
],
"edges": []
} | The store’s hash method provides a testing-oriented hash of the whole backend keyspace, encompassing key-value data, leases, and other stored metadata. In this multi-version concurrency control (MVCC) storage context, the hash serves as a compact fingerprint of stored contents, returned alongside a storage revision and... |
etcd-io/etcd | f3221acd10232a9f6ef0c36438517bdbc918ea26 | 22,646 | 22,655 | {
"nodes": [
{
"id": "server/etcdserver/bootstrap.go::bootstrap"
},
{
"id": "server/etcdserver/bootstrap.go::bootstrapWALFromSnapshot"
},
{
"id": "server/etcdserver/server.go::NewServer"
}
],
"edges": [
{
"source": "server/etcdserver/bootstrap.go::bootstrap",
... | NewServer creates an etcd server from its configuration, with bootstrap preparing the server’s startup foundation and bootstrapWALFromSnapshot preparing write-ahead-log recovery in relation to a Raft snapshot. These responsibilities connect server initialization to etcd’s durable consensus state: Raft manages the repli... |
etcd-io/etcd | 4b0b745025716b893c64dbee443e3f969931a16b | 22,653 | 22,699 | {
"nodes": [
{
"id": "server/etcdserver/server.go::EtcdServer::Alarms"
},
{
"id": "server/etcdserver/server.go::EtcdServer::Start"
},
{
"id": "server/etcdserver/server.go::EtcdServer::applyAll"
},
{
"id": "server/etcdserver/server.go::EtcdServer::applySnapshot"
... | Start and start prepare and launch EtcdServer, while run supports its ongoing operation and applyAll applies committed Raft updates to the server’s replicated state. applySnapshot restores server state from a snapshot, a captured representation of that state. restoreAlarms restores alarm state, and Alarms exposes membe... |
flipt-io/flipt | 43fef2a22ff316cda74f92e527cb56fe3a57d802 | 1,155 | 1,156 | {
"nodes": [
{
"id": "cmd/flipt/main.go::main"
},
{
"id": "cmd/flipt/main.go::run"
},
{
"id": "internal/telemetry/telemetry.go::Reporter::Report"
}
],
"edges": [
{
"source": "cmd/flipt/main.go::main",
"target": "cmd/flipt/main.go::run"
},
{
"... | Flipt is a self-hosted feature flag service, where flags control application functionality; `main` provides its command-line entry point, and `run` represents service execution with a context, logger, and error result. The scoped telemetry responsibility is to send a ping event to an analytics service, although the rep... |
flipt-io/flipt | b61e9858257eb37f1a1b34f60e914675f45d279e | 1,801 | 1,803 | {
"nodes": [
{
"id": "internal/cmd/auth.go::authenticationGRPC"
},
{
"id": "internal/server/auth/middleware.go::UnaryInterceptor"
},
{
"id": "internal/server/middleware/grpc/middleware.go::ErrorUnaryInterceptor"
}
],
"edges": [
{
"source": "internal/cmd/auth.go:... | authenticationGRPC prepares Flipt’s gRPC authentication services and middleware from server configuration, returning service registrations, interceptors, and lifecycle cleanup support. UnaryInterceptor provides request authentication middleware using client credentials from request metadata and an authentication-provid... |
flipt-io/flipt | 9c3299ef96451cc7a9708943dcabd7e1cafc9289 | 2,126 | 2,144 | {
"nodes": [
{
"id": "cmd/flipt/main.go::buildConfig"
},
{
"id": "cmd/flipt/main.go::main"
},
{
"id": "internal/config/config.go::Load"
}
],
"edges": [
{
"source": "cmd/flipt/main.go::main",
"target": "cmd/flipt/main.go::buildConfig"
}
]
} | These functions support startup and configuration of Flipt, a self-hosted feature flag application used to control feature availability and run experiments across services. `main` provides the command-line entry point and uses `buildConfig` to obtain application configuration and a logger; `Load` accepts a configuratio... |
flipt-io/flipt | b6edc5e46af598a3c187d917ad42b2d013e4dfee | 2,294 | 2,295 | {
"nodes": [
{
"id": "cmd/flipt/main.go::exec"
},
{
"id": "cmd/flipt/main.go::run"
},
{
"id": "internal/cmd/grpc.go::NewGRPCServer"
},
{
"id": "internal/server/audit/logfile/logfile.go::NewSink"
}
],
"edges": [
{
"source": "cmd/flipt/main.go::exec"... | These functions support launching Flipt, a self-hosted feature flag service for controlling feature availability: exec provides the command-line entry point, and run coordinates the configured service runtime. NewGRPCServer constructs the core gRPC service and its dependencies, while logfile.NewSink creates a file-back... |
flipt-io/flipt | dbe263961b187e1c5d7fe34c65b000985a2da5a0 | 2,532 | 2,579 | {
"nodes": [
{
"id": "internal/config/authentication.go::AuthenticationMethodGithubConfig::validate"
},
{
"id": "internal/config/authentication.go::AuthenticationMethodOIDCConfig::validate"
}
],
"edges": []
} | These methods validate authentication configuration for GitHub OAuth 2.0 and OpenID Connect (OIDC), returning an error as part of the configuration validation contract. GitHub configuration supports authentication with GitHub as the provider, while OIDC configuration supports provider-based authentication for establish... |
flipt-io/flipt | c2c0f7761620a8348be46e2f1a3cedca84577eeb | 2,907 | 2,908 | {
"nodes": [
{
"id": "cmd/flipt/bundle.go::bundleCommand::build"
},
{
"id": "internal/oci/file.go::Store::Build"
}
],
"edges": [
{
"source": "cmd/flipt/bundle.go::bundleCommand::build",
"target": "internal/oci/file.go::Store::Build"
}
]
} | These functions support building Flipt feature bundles, which package declarative feature-flag state as OCI artifacts for repository storage. `bundleCommand.build` provides the command-line entry point for bundle creation, delegating to `Store.Build`, which accepts a source filesystem and repository reference, packages... |
flipt-io/flipt | ffd5a7c26bf69564d81cbea14295c1f296333899 | 2,972 | 2,973 | {
"nodes": [
{
"id": "cmd/flipt/main.go::exec"
},
{
"id": "cmd/flipt/main.go::run"
},
{
"id": "internal/cmd/authn.go::authenticationGRPC"
},
{
"id": "internal/cmd/grpc.go::NewGRPCServer"
},
{
"id": "internal/config/authentication.go::AuthenticationMeth... | The CLI entrypoint must execute the root command with a cancellable context that is cancelled on interrupt or termination, build the configured runtime, and propagate startup errors; normal execution must construct the gRPC service before starting dependent serving work and, after cancellation, shut services down using... |
flipt-io/flipt | 8d72418bf67cec833da7f59beeecb5abfd48cb05 | 3,412 | 3,556 | {
"nodes": [
{
"id": "internal/server/ofrep/errors.go::newFlagsMissingError"
},
{
"id": "internal/server/ofrep/evaluation.go::Server::EvaluateBulk"
},
{
"id": "rpc/flipt/ofrep/ofrep.pb.gw.go::RegisterOFREPServiceHandlerClient"
},
{
"id": "rpc/flipt/ofrep/ofrep.pb.gw... | The scoped gateway registration, request adapter, client method, and server method expose OFREP bulk feature-flag evaluation across HTTP/JSON and gRPC, accepting evaluation context and returning a collection of flag values with evaluation reasons and metadata. The supplied newFlagsMissingError node has no declaration i... |
flipt-io/flipt | 1f6255dda6648ecafd94826cda3fac2486af4b0f | 3,635 | 3,639 | {
"nodes": [
{
"id": "internal/ext/encoding.go::Encoding::NewDecoder"
}
],
"edges": []
} | Encoding.NewDecoder provides a decoder for reading serialized data from an input stream in the format represented by Encoding. The API covers JSON and YAML serialization and exposes a common Decoder interface for decoding data into application values. |
flipt-io/flipt | 1f6255dda6648ecafd94826cda3fac2486af4b0f | 3,636 | 3,639 | {
"nodes": [
{
"id": "internal/ext/importer.go::Importer::Import"
}
],
"edges": []
} | Importer.Import brings serialized feature-flag configuration from an input stream into Flipt’s backing service, supporting configuration managed as code and returning an error status. Its scope covers namespaces, feature flags and their variants, and segments and targeting rules—the configuration concepts used to organ... |
flipt-io/flipt | 866ba43dd49c238c97831362cdab50630b0b9aa7 | 3,688 | 3,692 | {
"nodes": [
{
"id": "cmd/flipt/main.go::exec"
},
{
"id": "cmd/flipt/main.go::main"
},
{
"id": "cmd/flipt/main.go::run"
},
{
"id": "internal/cmd/grpc.go::NewGRPCServer"
},
{
"id": "internal/cmd/grpc.go::getAuthz"
},
{
"id": "internal/serv... | The scoped functions provide Flipt’s command-line entry and service startup, construct its gRPC service and authorization verifier, and create and refresh a local Rego policy engine. The authorization interceptor applies policy-based access control to gRPC requests, while ListNamespaces provides namespace listings; nam... |
flipt-io/flipt | 1d550f0c0d693844b6f4b44fd7859254ef3569c0 | 4,179 | 4,184 | {
"nodes": [
{
"id": "internal/storage/fs/git/store.go::SnapshotStore::View"
},
{
"id": "internal/storage/fs/git/store.go::SnapshotStore::fetch"
},
{
"id": "internal/storage/fs/git/store.go::SnapshotStore::update"
}
],
"edges": [
{
"source": "internal/storage/fs... | These functions support Git-backed snapshots of Flipt feature flag state, where a snapshot provides a read-only view and a reference identifies a repository revision. View supplies a reference-associated snapshot to a caller-provided function, while fetch retrieves upstream repository updates for references used by the... |
flipt-io/flipt | 358e13bf5748bba4418ffdcdd913bcbfdedc9d3f | 4,342 | 4,343 | {
"nodes": [
{
"id": "cmd/flipt/main.go::buildConfig"
},
{
"id": "cmd/flipt/main.go::run"
},
{
"id": "internal/cmd/http.go::NewHTTPServer"
},
{
"id": "internal/config/authentication.go::AuthenticationConfig::setDefaults"
},
{
"id": "internal/config/con... | The startup path must resolve an explicit, user, or built-in configuration source, load it with environment substitution and format handling, apply complete baseline defaults (including authentication session values and per-enabled-method cleanup settings), then unmarshal and validate the resulting configuration before... |
future-architect/vuls | 8a8ab8cb18161244ee6f078b43a89b3588d99a4d | 1,042 | 1,051 | {
"nodes": [
{
"id": "scan/freebsd.go::bsd::scanInstalledPackages"
}
],
"edges": []
} | The bsd.scanInstalledPackages method gathers an inventory of installed software packages on a FreeBSD host and returns package information with an error status. This inventory describes installed software and its versions, providing context for Vuls’ assessment of package vulnerabilities. |
future-architect/vuls | bfe0db77b4e16e3099a1e58b8db8f18120a11117 | 1,559 | 1,591 | {
"nodes": [
{
"id": "gost/ubuntu.go::Ubuntu::DetectCVEs"
}
],
"edges": []
} | Ubuntu.DetectCVEs enriches an Ubuntu scan result with CVE vulnerability information available through Gost, returning a CVE count and an error status. Within the repository’s vulnerability-scanning domain, CVEs identify known security vulnerabilities, and this function connects Ubuntu scan results with that vulnerabili... |
future-architect/vuls | 827f2cb8d86509c4455b2df2fe79b9d59533d3b0 | 1,906 | 1,907 | {
"nodes": [
{
"id": "detector/detector.go::Detect"
},
{
"id": "detector/detector.go::DetectPkgCves"
},
{
"id": "detector/detector.go::detectPkgsCvesWithGost"
},
{
"id": "gost/gost.go::NewGostClient"
},
{
"id": "gost/redhat.go::RedHat::DetectCVEs"
... | The scoped functions support vulnerability detection and reporting by associating software packages with CVEs and enriching scan results with vulnerability details. They provide operating-system-family Gost clients and HTTP, report-command, and terminal-view entry points for vulnerability analysis and reporting. |
future-architect/vuls | 61c39637f2f3809e1b5dad05f0c57c799dce1587 | 1,913 | 1,914 | {
"nodes": [
{
"id": "gost/debian.go::Debian::ConvertToModel"
},
{
"id": "gost/debian.go::Debian::DetectCVEs"
},
{
"id": "gost/debian.go::Debian::detect"
},
{
"id": "gost/debian.go::Debian::detectCVEsWithFixState"
}
],
"edges": [
{
"source": "gost/... | These functions support Debian vulnerability detection using Gost, relating CVE records—identifiers and information for known vulnerabilities—to package and kernel information in Vuls scan results. DetectCVEs enriches scan results with vulnerability information, detectCVEsWithFixState supports detection by remediation ... |
future-architect/vuls | ef2be3d6ea4c0a13674aaab08b182eca4e2b9a17 | 1,915 | 1,381 | {
"nodes": [
{
"id": "oval/alpine.go::Alpine::FillWithOval"
},
{
"id": "oval/redhat.go::RedHatBase::FillWithOval"
},
{
"id": "oval/suse.go::SUSE::FillWithOval"
},
{
"id": "oval/util.go::getDefsByPackNameFromOvalDB"
},
{
"id": "oval/util.go::getDefsByPa... | The scope must preserve consistent OVAL enrichment across Alpine, Red Hat-family, and SUSE scans regardless of DB or HTTP source: normalize family/release (including CentOS Stream and Amazon variants), query both binary and source packages, and retain only definitions whose package name, architecture, repository, modul... |
future-architect/vuls | 053306944695e6616f320393f865f667e984481d | 1,916 | 1,950 | {
"nodes": [
{
"id": "scanner/redhatbase.go::redhatBase::parseInstalledPackages"
},
{
"id": "scanner/utils.go::isRunningKernel"
}
],
"edges": [
{
"source": "scanner/redhatbase.go::redhatBase::parseInstalledPackages",
"target": "scanner/utils.go::isRunningKernel"
}
... | These functions support installed-package inventory for Red Hat-family vulnerability scanning: `parseInstalledPackages` translates package-listing text into package records, with source-package records and an error result in its interface. Within that scope, `isRunningKernel` uses package, distribution, and kernel info... |
future-architect/vuls | 878c25bf5a9c9fd88ac32eb843f5636834d5712d | 1,924 | 1,929 | {
"nodes": [
{
"id": "contrib/trivy/parser/parser.go::Parser::Parse"
},
{
"id": "contrib/trivy/parser/v2/parser.go::ParserV2::Parse"
},
{
"id": "contrib/trivy/pkg/converter.go::Convert"
}
],
"edges": [
{
"source": "contrib/trivy/parser/parser.go::Parser::Parse",... | The scope is one conversion pipeline that turns a Trivy JSON report into a single fully-populated Vuls `*models.ScanResult`: the exported `Parser` interface's `Parse([]byte) (*models.ScanResult, error)` is the sole entry point, the schema-v2 parser is its concrete implementation, and it delegates the report's vulnerabi... |
future-architect/vuls | 98cbe6ed837ce5983ddcb138f5c1577b9b7cf2bf | 2,034 | 2,037 | {
"nodes": [
{
"id": "scanner/alpine.go::alpine::parseApkInfo"
},
{
"id": "scanner/alpine.go::alpine::parseInstalledPackages"
},
{
"id": "scanner/alpine.go::alpine::scanInstalledPackages"
},
{
"id": "scanner/alpine.go::alpine::scanPackages"
}
],
"edges": [
... | These functions support Alpine Linux package inventory for vulnerability scanning by collecting and parsing installed-package information. The inventory describes installed software and source-package metadata used in vulnerability assessment. |
future-architect/vuls | 6fca8d97c145fbe50a247dd222947a240639fd50 | 2,217 | 2,218 | {
"nodes": [
{
"id": "scanner/redhatbase.go::redhatBase::parseUpdatablePacksLine"
},
{
"id": "scanner/redhatbase.go::redhatBase::parseUpdatablePacksLines"
},
{
"id": "scanner/redhatbase.go::redhatBase::scanUpdatablePackages"
}
],
"edges": [
{
"source": "scanner/... | These functions collect available package-update information for Red Hat–family systems and represent it as package records. scanUpdatablePackages provides the scanning entry point, while parseUpdatablePacksLines and parseUpdatablePacksLine interpret repoquery text at whole-output and individual-line levels to identify... |
future-architect/vuls | 2923cbc645fbc7a37d50398eb2ab8febda8c3264 | 846 | 1,382 | {
"nodes": [
{
"id": "gost/debian.go::Debian::DetectCVEs"
},
{
"id": "oval/debian.go::Debian::FillWithOval"
},
{
"id": "scanner/alpine.go::alpine::scanPackages"
},
{
"id": "scanner/base.go::base::runningKernel"
},
{
"id": "scanner/debian.go::debian::sc... | The scoped package scanners collect operating-system package information for Alpine, Debian, FreeBSD, and Red Hat–based systems, supported by a shared function that identifies the running kernel’s release and version. The Debian Gost and OVAL functions enrich scan results with CVE information, connecting software inven... |
grafana/loki | 97d51f39cc86a2961944839438d12b0005c63f24 | 25,407 | 25,413 | {
"nodes": [
{
"id": "pkg/engine/internal/planner/logical/logical_optimize.go::simplifyRegexPass::simplifyRegex"
},
{
"id": "pkg/engine/internal/planner/logical/logical_optimize.go::simplifyRegexPass::simplifyRegexConcat"
},
{
"id": "pkg/engine/internal/planner/logical/logical_op... | These functions support LogQL filtering by constructing log-line filters from match expressions and simplifying regular expressions into literal-based filters or logical-plan expressions. Their simplification responsibilities cover alternation (pattern choices), concatenation (joined pattern components), and combinatio... |
gravitational/teleport | ca81b4a0c11f2a7412b8b5d086a9f8eb6e61d287 | 10,589 | 10,719 | {
"nodes": [
{
"id": "lib/sshutils/x11/display.go::Display::Dial"
},
{
"id": "lib/sshutils/x11/display.go::Display::Listen"
},
{
"id": "lib/sshutils/x11/display.go::Display::unixSocket"
}
],
"edges": [
{
"source": "lib/sshutils/x11/display.go::Display::Dial",
... | An X server manages graphical displays and input, while X11 forwarding connects remote graphical applications to a local display. Within this scope, Display.Dial opens a connection to an X server display, Display.Listen opens a listener for display connections, and Display.unixSocket supplies the display’s associated U... |
gravitational/teleport | e2b1e9f54803484660644237a5f784aa68b7190c | 11,779 | 11,878 | {
"nodes": [
{
"id": "integration/helpers.go::TeleInstance::Create"
},
{
"id": "integration/helpers.go::TeleInstance::CreateEx"
},
{
"id": "integration/helpers.go::TeleInstance::Reset"
},
{
"id": "lib/auth/init.go::Init"
},
{
"id": "lib/auth/init.go::m... | The scope must preserve Teleport lifecycle and auth initialization semantics: `TeleInstance.Create` delegates to `CreateEx`, which builds a complete isolated configuration (data directory, cluster identity, authorities, trusted clusters, addresses, storage, and optional services), creates the process through `NewTelepo... |
gravitational/teleport | 8bca6e20c6c7374080180f7a5b5ea62bb15c136c | 13,898 | 13,918 | {
"nodes": [
{
"id": "api/client/inventory.go::NewUpstreamInventoryControlStream"
},
{
"id": "lib/auth/auth.go::Server::RegisterInventoryControlStream"
},
{
"id": "lib/auth/auth_with_roles.go::ServerWithRoles::RegisterInventoryControlStream"
},
{
"id": "lib/auth/grp... | These functions provide the auth-server side of Teleport’s inventory control streams: bidirectional connections through which instances advertise their presence, version, and active services. They wrap the gRPC stream, support registration through authorization and auth-service layers, and manage incoming messages and ... |
gravitational/teleport | adc37b4ba31b1217a36a8aadbf72655a99a6eb95 | 14,359 | 14,867 | {
"nodes": [
{
"id": "lib/utils/ec2.go::InstanceMetadataClient::IsAvailable"
}
],
"edges": []
} | InstanceMetadataClient.IsAvailable checks the availability of Amazon EC2 instance metadata, accepting a context and returning a boolean availability indication. Instance metadata provides information about the running EC2 instance; this method lets callers assess access to that information through the metadata client. |
gravitational/teleport | b3822abafa5e2254886eaf320711cd1ef9eb2830 | 31,816 | 32,694 | {
"nodes": [
{
"id": "lib/devicetrust/enroll/enroll.go::Ceremony::RunAdmin"
},
{
"id": "tool/tsh/common/device.go::deviceEnrollCommand::run"
},
{
"id": "tool/tsh/common/device.go::printEnrollOutcome"
}
],
"edges": [
{
"source": "tool/tsh/common/device.go::device... | These functions support enrolling the current device into Teleport Device Trust, where registration records a device in the inventory and enrollment establishes its credentials for trusted access. `deviceEnrollCommand.run` provides the command-line enrollment entry point, `Ceremony.RunAdmin` supports administrator-driv... |
gravitational/teleport | 88152574bf3da2236df960af5fe7cf98a236d0a0 | 36,838 | 36,899 | {
"nodes": [
{
"id": "lib/auth/keystore/pkcs11.go::pkcs11KeyStore::findUnusedID"
},
{
"id": "lib/auth/keystore/pkcs11.go::pkcs11KeyStore::generateRSA"
}
],
"edges": [
{
"source": "lib/auth/keystore/pkcs11.go::pkcs11KeyStore::generateRSA",
"target": "lib/auth/keystore/pk... | PKCS#11 RSA generation must serialize the combined identifier-selection and key-creation operation so concurrent requests cannot select the same HSM identifier. It must select an identifier bound to the local host: ordinary HSMs use a newly generated UUID, while YubiHSM uses the first unoccupied two-byte CKA_ID in the ... |
gravitational/teleport | 1d63421c48e300bb10efc7ab7aa759e61ce8db3a | 3,869 | 4,234 | {
"nodes": [
{
"id": "lib/auth/apiserver.go::APIServer::getRemoteCluster"
},
{
"id": "lib/auth/auth_with_roles.go::AuthWithRoles::GetRemoteCluster"
},
{
"id": "lib/auth/trustedcluster.go::AuthServer::GetRemoteCluster"
},
{
"id": "lib/auth/trustedcluster.go::AuthServ... | Remote-cluster reads must enforce the caller’s read permission for a named resource (or list permission for collection reads), retrieve the requested existing cluster, and serialize it in the requested API version while preserving its resource identity. Before returning individual or collection results, each cluster’s ... |
gravitational/teleport | cdcb24f178e73c734eab5b6cb2c25023c6cf300f | 4,083 | 4,282 | {
"nodes": [
{
"id": "integration/helpers.go::TeleInstance::CreateEx"
},
{
"id": "integration/helpers.go::TeleInstance::Reset"
},
{
"id": "lib/backend/report.go::Reporter::CompareAndSwap"
},
{
"id": "lib/backend/report.go::Reporter::Create"
},
{
"id": ... | The CLI start path must merge configuration and run a service process; `Run` must create a non-nil process, start it, and on reload preserve exported listener descriptors, start and confirm the replacement before gracefully retiring the predecessor (or report a bounded shutdown failure). Process construction must valid... |
gravitational/teleport | 762836a22f5540024f14f51f127c2e36721aa1bc | 4,145 | 4,160 | {
"nodes": [
{
"id": "lib/backend/firestore/firestorebk.go::FirestoreBackend::Put"
}
],
"edges": []
} | `Put` must atomically upsert a complete record in the configured Firestore collection, using a deterministic Firestore-safe document ID derived from the byte key while retaining that original key and exact binary value. Each write records fresh backend-clock timestamp/ID metadata and stores the requested expiration in ... |
gravitational/teleport | 148d02a43019be9e8b5acaf4769da3cdcd53c642 | 4,408 | 4,419 | {
"nodes": [
{
"id": "tool/tctl/common/auth_command.go::AuthCommand::GenerateAndSignKeys"
},
{
"id": "tool/tctl/common/auth_command.go::AuthCommand::TryRun"
},
{
"id": "tool/tctl/common/auth_command.go::AuthCommand::checkProxyAddr"
},
{
"id": "tool/tctl/common/auth_... | These functions support Teleport’s administrative identity issuance workflow: TryRun dispatches authentication commands, GenerateAndSignKeys provides key-pair generation and signing, generateUserKeys handles user identity credentials, and checkProxyAddr validates the associated proxy address. These responsibilities con... |
gravitational/teleport | 02dbf6a72eb851138dfa0d0e2fdde5271209e681 | 5,096 | 5,166 | {
"nodes": [
{
"id": "lib/httplib/httplib.go::MakeHandler"
},
{
"id": "lib/httplib/httplib.go::MakeStdHandler"
},
{
"id": "lib/kube/proxy/forwarder.go::Forwarder::authenticate"
},
{
"id": "lib/kube/proxy/forwarder.go::Forwarder::newClusterSessionDirect"
},
{... | MakeHandler and MakeStdHandler adapt application handlers that return results and errors to httprouter and standard HTTP handler interfaces. Within the Kubernetes API proxy, authenticate establishes user and target-cluster authentication context, while withAuth and withAuthStd provide that context to HTTP handlers. new... |
gravitational/teleport | 472df28f2aa78c2995ef4ca5790cf7bd27f358f3 | 5,695 | 5,729 | {
"nodes": [
{
"id": "lib/sshutils/scp/scp.go::command::Execute"
},
{
"id": "lib/sshutils/scp/scp.go::command::processCommand"
},
{
"id": "lib/sshutils/scp/scp.go::command::receiveFile"
},
{
"id": "lib/sshutils/scp/scp.go::command::serveSink"
}
],
"edges": [... | The scoped SCP command must dispatch non-source execution to sink mode and propagate protocol or I/O errors. Sink handling validates directory-target constraints, establishes the destination root, sends the initial success byte, then consumes the sender’s byte-oriented commands until clean EOF, rejecting malformed, war... |
gravitational/teleport | 103f3de22f3986d4f73d931b1e433e011b26a488 | 5,708 | 5,710 | {
"nodes": [
{
"id": "integration/helpers.go::TeleInstance::CreateEx"
},
{
"id": "integration/helpers.go::TeleInstance::Reset"
},
{
"id": "lib/auth/auth_with_roles.go::ServerWithRoles::DeleteRole"
},
{
"id": "lib/auth/init.go::Init"
},
{
"id": "lib/aut... | The scope must initialize Teleport only from a validated configuration, establish/persist a host identity and required service defaults, construct the auth service, and run legacy-resource migration safely and idempotently: OSS migration installs the restricted built-in admin role, assigns previously implicit users and... |
gravitational/teleport | 9c25440e8d6de54447215934d4c4fae81067eb97 | 5,804 | 6,542 | {
"nodes": [
{
"id": "lib/client/mfa.go::PromptMFAChallenge"
},
{
"id": "lib/client/weblogin.go::SSHAgentMFALogin"
},
{
"id": "lib/utils/prompt/confirmation.go::Input"
},
{
"id": "tool/tsh/mfa.go::mfaRemoveCommand::run"
}
],
"edges": [
{
"source": ... | MFA authentication must translate the server’s offered factors into an appropriate response: return an empty response when none is required; collect and preserve the entered OTP text for an OTP-only challenge; perform U2F authentication against an HTTPS proxy facet and return its signed response for U2F-only challenges... |
gravitational/teleport | 42beccb27e0e5797a10db05bf126e529273d2d95 | 5,808 | 7,293 | {
"nodes": [
{
"id": "integration/helpers.go::TeleInstance::Create"
},
{
"id": "integration/helpers.go::TeleInstance::CreateEx"
},
{
"id": "integration/helpers.go::TeleInstance::Reset"
},
{
"id": "integration/helpers.go::TeleInstance::StartProxy"
},
{
... | These functions create, recreate, and run configured Teleport processes and proxy services, supporting both integration instances with cluster trust relationships and daemon startup with lifecycle management. The database proxy functions configure the proxy, authorize client identities, select database services, and es... |
gravitational/teleport | 8886f8d708f7d664027e444c1e9463302e077841 | 6,045 | 6,721 | {
"nodes": [
{
"id": "lib/kube/kubeconfig/kubeconfig.go::UpdateWithClient"
},
{
"id": "tool/tsh/tsh.go::Run"
},
{
"id": "tool/tsh/tsh.go::main"
},
{
"id": "tool/tsh/tsh.go::onLogin"
},
{
"id": "tool/tsh/tsh.go::reissueWithRequests"
}
],
"edges"... | The CLI entrypoint must normalize invocation aliases, parse flags and environment into a coherent context, dispatch the selected command through Run, and propagate command errors. Login must validate identity-format and input constraints, reuse or establish the requested proxy/cluster session, persist the resulting cre... |
gravitational/teleport | c12ce90636425daef82da2a7fe2a495e9064d1f8 | 6,474 | 7,414 | {
"nodes": [
{
"id": "lib/backend/etcdbk/etcd.go::EtcdBackend::asyncWatch"
},
{
"id": "lib/backend/etcdbk/etcd.go::EtcdBackend::watchEvents"
},
{
"id": "lib/backend/etcdbk/etcd.go::New"
}
],
"edges": [
{
"source": "lib/backend/etcdbk/etcd.go::EtcdBackend::asyncW... | `New` must produce a usable etcd-backed Backend that owns a live event pipeline, or fail without leaving side effects: it validates and defaults the config (non-empty prefix normalized to a leading '/', at least one peer, TLS material unless insecure, buffer-size and dial-timeout defaults), allocates the shared circula... |
gravitational/teleport | c8670cdbfbe094c03cf7fd645a4b4159aaed6478 | 7,827 | 7,955 | {
"nodes": [
{
"id": "lib/auth/auth.go::Server::RegisterUsingToken"
},
{
"id": "lib/auth/auth_with_roles.go::ServerWithRoles::RegisterUsingToken"
},
{
"id": "lib/auth/clt.go::ProvisioningService::RegisterUsingToken"
}
],
"edges": [
{
"source": "lib/auth/auth_wit... | The scope implements the provisioning-token registration path, delegating from the client transport (ProvisioningService::RegisterUsingToken) through the role-scoped facade (ServerWithRoles::RegisterUsingToken) to the authoritative auth server (Server::RegisterUsingToken), with each layer preserving the same (*PackedKe... |
gravitational/teleport | 885c893f2a45b8821ddcae1b4f372ee98f8065d5 | 7,924 | 14,712 | {
"nodes": [
{
"id": "integration/helpers/fixture.go::Fixture::NewTeleportWithConfig"
},
{
"id": "integration/helpers/instance.go::TeleInstance::CreateEx"
},
{
"id": "integration/helpers/instance.go::TeleInstance::Reset"
},
{
"id": "lib/service/service.go::NewTelepo... | These functions support configuring, creating, and running Teleport daemons through the command-line entry point and service lifecycle APIs, including supervision, signal handling, and reloads. Teleport provides identity-aware access to infrastructure; the scoped proxy functions initialize its access endpoints and netw... |
internetarchive/openlibrary | 58f4be9dde4e59b03c93b836c08ac606e1f94f1e | 10,390 | 10,405 | {
"nodes": [
{
"id": "openlibrary/plugins/worksearch/schemes/works.py::WorkSearchScheme::q_to_solr_params"
}
],
"edges": []
} | `WorkSearchScheme.q_to_solr_params` must parse the user query with Open Library’s query rules and return Solr parameters that preserve both work-level relevance and edition constraints: publish a `userWorkQuery` with `work.` qualifiers normalized away and `edition.` clauses excluded (falling back to `*:*` if nothing re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.