update dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
pretty_name: Type-Constrained Function Code Completion Snippets
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Type-Constrained Function Code Completion Snippets
|
| 11 |
+
|
| 12 |
+
This collection pairs incomplete function snippets with continuation code, using type declarations, function signatures, or generic constraints as context. The examples form supervised context-to-implementation pairs that emphasize consistency between generated code and the provided type information. They can support code completion fine-tuning, function implementation generation, and evaluation of type-constraint adherence.
|
| 13 |
+
|
| 14 |
+
## Technical Specifications
|
| 15 |
+
|
| 16 |
+
| Field | Type | Description |
|
| 17 |
+
| :--- | :--- | :--- |
|
| 18 |
+
| completion_code | string | Function body continuation code generated from the incomplete function context and intended to satisfy its type constraints. |
|
| 19 |
+
| incomplete_function_context | string | A code snippet containing type declarations, a function signature, or generic constraints, together with an incomplete function body. |
|
| 20 |
+
|
| 21 |
+
## Compliance Statement
|
| 22 |
+
|
| 23 |
+
<table>
|
| 24 |
+
<tr><td>Authorization Type</td><td>CC-BY-NC-SA 4.0 (Attribution–NonCommercial–ShareAlike)</td></tr>
|
| 25 |
+
<tr><td>Commercial Use</td><td>Requires exclusive subscription or authorization contract (monthly or per-invocation charging)</td></tr>
|
| 26 |
+
<tr><td>Privacy and Anonymization</td><td>No PII, no real company names, simulated scenarios follow industry standards</td></tr>
|
| 27 |
+
<tr><td>Compliance System</td><td>Compliant with China's Data Security Law / EU GDPR / supports enterprise data access logs</td></tr>
|
| 28 |
+
</table>
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
## Source & Contact
|
| 32 |
+
|
| 33 |
+
contact@mobiusi.com
|
| 34 |
+
|