Datasets:
prompt stringlengths 83 247k | response stringlengths 121 36.1k | metadata stringlengths 314 42.3k |
|---|---|---|
feat(connector): Added a new CaptureMethod SequentialAutomatic to Support CIT Mandates for Paybox
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
1) Add... | To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/router_response_types.rs`
**2. Core Business Logic**
- `crates/router/src/core/fraud_check/operation/fraud_check_post.rs`
- `crat... | {"pr_number": 6587, "pr_title": "feat(connector): Added a new CaptureMethod SequentialAutomatic to Support CIT Mandates for Paybox", "merged_at": "2024-12-05T14:03:43Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crate... |
fix(analytics): retry implementation for forex crate call
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in detail -->
Impl... | To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/currency.rs`
**2. Other**
- `crates/router/src/consts.rs`
**Code Patterns Applied:**
- Add conditional logic for feature flags or filtering (2 changes)
**Detaile... | {"pr_number": 7280, "pr_title": "fix(analytics): retry implementation for forex crate call", "merged_at": "2025-03-20T14:26:48Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user", "token"]}, "hierarchy": {"core_business": ["crates/router/src/core/currency.rs"], "other"... |
refactor(webhook): add jwt authenticated endpoint to list unique webhook events for a profile
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Descr... | To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Other**
- `api-reference-v2/openapi_spec.json`
- `api-reference/openapi_spec.json`
- `crates/openapi/src/openapi.rs`
- ... and 4 more files
**Code Patterns Applied:**
- Implement new functions (2 changes)
... | {"pr_number": 7325, "pr_title": "refactor(webhook): add jwt authenticated endpoint to list unique webhook events for a profile", "merged_at": "2025-03-24T12:00:35Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "refund"]}, "hierarchy": {"other": ["api-referenc... |
feat(connectors): [Worldpayvantiv] add NTI flow and refactor sync flows
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [x] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in de... | To implement this **payment** feature, you'll need to modify these architectural layers:
**1. Domain Models (Business Logic Types)**
- `crates/hyperswitch_domain_models/src/configs.rs`
**2. External Connector Integration**
- `crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs`
- `crates/hyperswi... | {"pr_number": 8528, "pr_title": "feat(connectors): [Worldpayvantiv] add NTI flow and refactor sync flows", "merged_at": "2025-07-02T10:16:30Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["customer", "payment", "merchant"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/... |
feat(router): add three_ds decision rule execute api
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in detail -->
add three... | To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. API Request/Response Models**
- `crates/api_models/src/lib.rs`
- `crates/api_models/src/three_ds_decision_rule.rs`
**2. Core Business Logic**
- `crates/router/src/core.rs`
- `crates/router/src/core/payment... | {"pr_number": 8148, "pr_title": "feat(router): add three_ds decision rule execute api", "merged_at": "2025-06-06T16:52:13Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["customer", "payment", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/lib.rs", "crates/api_models/... |
refactor(debit_routing): Handle missing merchant_business_country by defaulting to US
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Describe your... | To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/debit_routing.rs`
**Code Patterns Applied:**
- Add conditional logic for feature flags or filtering (2 changes)
**Detailed Identifier Changes:**
Commit b9636611:
F... | {"pr_number": 8162, "pr_title": "refactor(debit_routing): Handle missing merchant_business_country by defaulting to US", "merged_at": "2025-05-28T07:10:06Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["merchant", "transaction"]}, "hierarchy": {"core_business": ["crates/router/src/... |
ci(cypressV2): update cypress v2 framework to accommodate hyperswitch v2 changes
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [x] CI/CD
## Description
<!-- Describe your chan... | To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Utils**
- `cypress-tests-v2/cypress/utils/RequestBodyUtils.js`
**2. Tests**
- `cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js`
- `cypress-tests-v2/cypress/e2e/configs/Payment/_Reusable.js`
- `cypres... | {"pr_number": 6493, "pr_title": "ci(cypressV2): update cypress v2 framework to accommodate hyperswitch v2 changes", "merged_at": "2024-11-08T13:06:37Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "user"]}, "hierarchy": {"utils": ["cypress-tests-v2/cypress/utils/RequestB... |
docs: simplify README
Updated Readme, made it leaner
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [x] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in detail -->
Change... | To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Other**
- `README.md` | {"pr_number": 6306, "pr_title": "docs: simplify README", "merged_at": "2024-10-16T09:34:00Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"other": ["README.md"]}, "change_types": {}, "has_identifier_data": false, "commits_matched": 0, "match_method": "none"} |
fix(env): update env for network tokenization service
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in detail -->
update e... | To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payments/tokenization.rs`
**2. Type Definitions**
- `crates/common_types/src/callback_mapper.rs`
**3. Configuration Files**
- `config/config.example.toml`
-... | {"pr_number": 8472, "pr_title": "fix(env): update env for network tokenization service", "merged_at": "2025-06-27T10:30:48Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["webhook", "token"]}, "hierarchy": {"core_business": ["crates/router/src/core/payments/tokenization.rs"], "types... |
fix(webhooks): add idempotent_event_id generation using URL-safe Base64 (no padding) and SHA256 digest
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<... | To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/errors.rs`
- `crates/router/src/core/webhooks/outgoing.rs`
- `crates/router/src/core/webhooks/outgoing_v2.rs`
- ... and 2 more files
**2. Utils**
- `crate... | {"pr_number": 9405, "pr_title": "fix(webhooks): add idempotent_event_id generation using URL-safe Base64 (no padding) and SHA256 digest", "merged_at": "2025-09-22T08:30:21Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"core_business":... |
feat: add primary key not null query to generic filter function
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
<!-- Describe your changes in detail -->... | To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Database Layer (Queries & Schema)**
- `crates/diesel_models/src/query.rs`
- `crates/diesel_models/src/query/generics.rs`
- `crates/diesel_models/src/query/utils.rs`
**Code Patterns Applied:**
- Implement new ... | {"pr_number": 7785, "pr_title": "feat: add primary key not null query to generic filter function", "merged_at": "2025-04-17T05:38:08Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"database": ["crates/diesel_models/src/query.rs", "crat... |
fix(core): language consumption from locale in payment and payout links
## Type of Change
<!-- Put an `x` in the boxes that apply -->
- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
## Description
Hotfix for https://github.com/ju... | To implement this **search_filter** feature, you'll need to modify these architectural layers:
**1. Core Business Logic**
- `crates/router/src/core/payment_link/locale.js`
**2. Configuration Files**
- `crates/router/locales/en-GB.yml`
- `crates/router/locales/fr-BE.yml`
**3. Other**
- `crates/router/src... | {"pr_number": 8018, "pr_title": "fix(core): language consumption from locale in payment and payout links", "merged_at": "2025-05-13T11:44:37Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": []}, "hierarchy": {"core_business": ["crates/router/src/core/payment_link/locale.js"], "config"... |
End of preview. Expand in Data Studio
Rust Commit Dataset - Hyperswitch
Dataset Description
This dataset contains Rust commit messages paired with their corresponding code patches from the Hyperswitch repository.
Dataset Summary
- Total Examples: 1801
- Language: Rust
- Source: Hyperswitch GitHub repository
- Format: Prompt-response pairs for supervised fine-tuning (SFT)
Data Fields
prompt: The commit message describing the changeresponse: The git patch/diff showing the actual code changes
Example
{
"prompt": "fix: update payment status handling",
"response": "diff --git a/src/payment.rs b/src/payment.rs\n..."
}
Usage
from datasets import load_dataset
# Load dataset
dataset = load_dataset("archit11/hyperswitch-product-code-complete")
# Access train/test splits
train_data = dataset['train']
test_data = dataset['test']
# Example
print(train_data[0]['prompt'])
print(train_data[0]['response'])
Training
This dataset is designed for fine-tuning code generation models on Rust commit-to-patch generation tasks.
Example training command:
python train_sft.py \
--dataset archit11/hyperswitch-product-code-complete \
--model Qwen/Qwen3-4B \
--output_dir ./qwen-rust-sft \
--use_4bit \
--use_lora
Data Collection
The data was collected using PyDriller and tree-sitter for parsing Rust identifiers:
- Only commits with 20+ lines changed are included
- Rust-specific identifier tracking (functions, structs, enums, traits, impls, modules)
Citation
If you use this dataset, please cite the Hyperswitch repository:
@misc{hyperswitch2024,
title={Hyperswitch},
author={Juspay},
year={2024},
url={https://github.com/juspay/hyperswitch}
}
License
This dataset follows the same license as the Hyperswitch project.
- Downloads last month
- 22