PrimeIntellect/SWE-rebench-V2-Filtered-Easy-Verified huggingface dataset:
Repository: agnesoft/agdb (rust)
Issue: [query] Query builder related types should be public on crate level
Pull request description: [query] Query builder related types should be public on crate level #603
Resolves #603 

Patch:
diff --git a/src/agdb/lib.rs b/src/agdb/lib.rs
index 9ff34119..1eb9fd65 100644
--- a/src/agdb/lib.rs
+++ b/src/agdb/lib.rs
@@ -14,16 +14,34 @@ mod utilities;
 pub mod test_utilities;
 
 pub use db::db_element::DbElement;
+pub use db::db_error::DbError;
 pub use db::db_id::DbId;
 pub use db::db_key::DbKey;
 pub use db::db_key::DbKeyOrder;
 pub use db::db_key_value::DbKeyValue;
 pub use db::db_value::DbValue;
 pub use db::Db;
+pub use query::insert_aliases_query::InsertAliasesQuery;
+pub use query::insert_edges_query::InsertEdgesQuery;
+pub use query::insert_nodes_query::InsertNodesQuery;
+pub use query::insert_values_query::InsertValuesQuery;
 pub use query::query_condition::Comparison;
 pub use query::query_condition::CountComparison;
+pub use query::query_condition::QueryCondition;
 pub use query::query_error::QueryError;
+pub use query::query_id::QueryId;
+pub use query::query_ids::QueryIds;
 pub use query::query_result::QueryResult;
+pub use query::query_values::QueryValues;
+pub use query::remove_aliases_query::RemoveAliasesQuery;
+pub use query::remove_query::RemoveQuery;
+pub use query::remove_values_query::RemoveValuesQuery;
+pub use query::search_query::SearchQuery;
+pub use query::select_all_aliases_query::SelectAllAliases;
+pub use query::select_key_count_query::SelectKeyCountQuery;
+pub use query::select_keys_query::SelectKeysQuery;
+pub use query::select_query::SelectQuery;
+pub use query::select_values_query::SelectValuesQuery;
 pub use query::Query;
 pub use query::QueryMut;
 pub use query_builder::QueryBuilder;


Test patch:
diff --git a/tests/db_test.rs b/tests/db_test.rs
index 3d25a775..1bbba3b4 100644
--- a/tests/db_test.rs
+++ b/tests/db_test.rs
@@ -7,6 +7,45 @@ use agdb::DbId;
 use agdb::QueryBuilder;
 use test_db::test_file::TestFile;
 
+#[allow(unused_imports)]
+#[test]
+fn public_types() {
+    use agdb::Comparison;
+    use agdb::CountComparison;
+    use agdb::Db;
+    use agdb::DbElement;
+    use agdb::DbError;
+    use agdb::DbId;
+    use agdb::DbKey;
+    use agdb::DbKeyOrder;
+    use agdb::DbKeyValue;
+    use agdb::DbValue;
+    use agdb::InsertAliasesQuery;
+    use agdb::InsertEdgesQuery;
+    use agdb::InsertNodesQuery;
+    use agdb::InsertValuesQuery;
+    use agdb::Query;
+    use agdb::QueryBuilder;
+    use agdb::QueryCondition;
+    use agdb::QueryError;
+    use agdb::QueryId;
+    use agdb::QueryIds;
+    use agdb::QueryMut;
+    use agdb::QueryResult;
+    use agdb::QueryValues;
+    use agdb::RemoveAliasesQuery;
+    use agdb::RemoveQuery;
+    use agdb::RemoveValuesQuery;
+    use agdb::SearchQuery;
+    use agdb::SelectAllAliases;
+    use agdb::SelectKeyCountQuery;
+    use agdb::SelectKeysQuery;
+    use agdb::SelectQuery;
+    use agdb::SelectValuesQuery;
+    use agdb::Transaction;
+    use agdb::TransactionMut;
+}
+
 #[test]
 fn data_persistence() {
     let test_file = TestFile::new();