SalutefaceAAC's picture
Upload data/test.jsonl with huggingface_hub
519747b verified
Raw History Blame Contribute Delete
11.2 kB
{"id": "71d00efc55c2", "prompt": "Create an XML document for a project task. Include: task_id, project_id, title, description, status (todo/in_progress/done), priority (low/medium/high), assignee (id and name), created_at, due_date, and labels (list of label elements).", "format": "xml", "schema_description": "Project task XML record", "completion": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<task>\n <task_id>TASK-8821</task_id>\n <project_id>PROJ-441</project_id>\n <title>Implement OAuth2 PKCE flow</title>\n <description>Add PKCE support to the authorization code flow for public clients as per RFC 7636.</description>\n <status>in_progress</status>\n <priority>high</priority>\n <assignee>\n <id>EMP-001</id>\n <name>Alice Tran</name>\n </assignee>\n <created_at>2024-10-28T09:00:00Z</created_at>\n <due_date>2024-11-08</due_date>\n <labels>\n <label>auth</label>\n <label>security</label>\n <label>backend</label>\n </labels>\n</task>", "domain": "software", "difficulty": "medium", "num_fields": 9}
{"id": "6692a0605a3f", "prompt": "Produce a CSV of 5 academic papers with columns: paper_id, title, first_author, year, venue, citations, open_access.", "format": "csv", "schema_description": "Academic paper bibliography table, 5 rows", "completion": "paper_id,title,first_author,year,venue,citations,open_access\nP001,\"Attention Is All You Need\",Vaswani,2017,NeurIPS,80421,true\nP002,\"BERT: Pre-training of Deep Bidirectional Transformers\",Devlin,2018,NAACL,50832,true\nP003,\"Language Models are Few-Shot Learners\",Brown,2020,NeurIPS,38100,false\nP004,\"An Image is Worth 16x16 Words\",Dosovitskiy,2020,ICLR,34500,true\nP005,\"Training language models to follow instructions\",Ouyang,2022,NeurIPS,9210,false", "domain": "science", "difficulty": "medium", "num_fields": 7}
{"id": "eea7b69c2eaf", "prompt": "Write a YAML configuration for a Docker Compose service called 'api'. It should define the image, container name, environment variables (DATABASE_URL and REDIS_URL), ports (8080:8080), and depends_on (db, redis).", "format": "yaml", "schema_description": "Docker Compose service definition", "completion": "api:\n image: myorg/api-server:1.8.3\n container_name: api_server\n environment:\n DATABASE_URL: postgres://svc_api:secret@db:5432/appdb\n REDIS_URL: redis://redis:6379/0\n ports:\n - \"8080:8080\"\n depends_on:\n - db\n - redis", "domain": "software", "difficulty": "easy", "num_fields": 5}
{"id": "51e81998f2c4", "prompt": "Return a JSON object for a book review. Include: review_id, reviewer (name, rating_avg), book (title, author, isbn), rating_out_of_5, review_text, date_posted, helpful_votes, spoiler_warning.", "format": "json", "schema_description": "Book review object", "completion": "{\n \"review_id\": \"BREV-44821\",\n \"reviewer\": {\n \"name\": \"Chloe Beaumont\",\n \"rating_avg\": 4.1\n },\n \"book\": {\n \"title\": \"The Pragmatic Programmer\",\n \"author\": \"David Thomas & Andrew Hunt\",\n \"isbn\": \"978-0-13-468599-1\"\n },\n \"rating_out_of_5\": 5,\n \"review_text\": \"Essential reading for any software professional. The 20th anniversary edition updates the examples well, and the core principles are as relevant as ever. Chapters on decoupling and debugging alone are worth the price.\",\n \"date_posted\": \"2024-10-20\",\n \"helpful_votes\": 142,\n \"spoiler_warning\": false\n}", "domain": "media", "difficulty": "easy", "num_fields": 8}
{"id": "badb3167101c", "prompt": "Write a Markdown table summarizing 5 medical conditions, their primary symptoms, first-line treatment, and ICD-10 code.", "format": "markdown_table", "schema_description": "Medical condition reference table, 5 rows", "completion": "| Condition | Primary Symptoms | First-Line Treatment | ICD-10 Code |\n|---|---|---|---|\n| Type 2 Diabetes | Polyuria, polydipsia, fatigue, blurred vision | Metformin + lifestyle changes | E11 |\n| Hypertension | Often asymptomatic; headaches, dizziness in severe cases | ACE inhibitor or thiazide diuretic | I10 |\n| Community-Acquired Pneumonia | Fever, productive cough, dyspnea, chest pain | Amoxicillin (mild) or azithromycin | J18.9 |\n| Major Depressive Disorder | Persistent low mood, anhedonia, fatigue, sleep disturbance | SSRI + psychotherapy | F33.1 |\n| Osteoarthritis | Joint pain, stiffness, reduced range of motion | NSAIDs + physiotherapy | M19.90 |", "domain": "healthcare", "difficulty": "hard", "num_fields": 4}
{"id": "90b0507886e8", "prompt": "Generate a CSV log of HTTP API requests. Include columns: timestamp, method, endpoint, status_code, response_time_ms, user_id, ip_address, error_message. Include 6 rows with a mix of 200, 404, and 500 responses.", "format": "csv", "schema_description": "HTTP API access log, 6 rows with mixed status codes", "completion": "timestamp,method,endpoint,status_code,response_time_ms,user_id,ip_address,error_message\n2024-11-01T14:01:22Z,GET,/api/v1/users/42,200,45,42,192.168.1.101,\n2024-11-01T14:01:35Z,POST,/api/v1/orders,201,112,17,192.168.1.88,\n2024-11-01T14:02:10Z,GET,/api/v1/products/999,404,23,42,192.168.1.101,Product not found\n2024-11-01T14:02:58Z,PUT,/api/v1/users/88,200,67,88,10.0.0.15,\n2024-11-01T14:03:42Z,DELETE,/api/v1/cart/items/5,500,2341,22,10.0.0.22,Database connection timeout\n2024-11-01T14:04:15Z,GET,/api/v1/search?q=laptop,200,189,31,192.168.2.50,", "domain": "software", "difficulty": "hard", "num_fields": 8}
{"id": "3ee4cd11c798", "prompt": "Generate a YAML configuration for a Prometheus alerting rule that fires when the error rate of the HTTP service exceeds 5% for more than 2 minutes.", "format": "yaml", "schema_description": "Prometheus alerting rule", "completion": "groups:\n - name: http_alerts\n rules:\n - alert: HighErrorRate\n expr: |\n sum(rate(http_requests_total{status=~\"5..\"}[5m]))\n /\n sum(rate(http_requests_total[5m])) > 0.05\n for: 2m\n labels:\n severity: critical\n annotations:\n summary: \"High HTTP error rate detected\"\n description: \"Error rate is {{ printf \"%.2f\" $value | humanizePercentage }} over the last 5 minutes on {{ $labels.instance }}.\"", "domain": "software", "difficulty": "hard", "num_fields": 4}
{"id": "d752aad2eadf", "prompt": "Return a JSON object for a GraphQL error response. Include: errors array with at least two error objects (each with message, locations array with line/column, path array, and extensions object with code and timestamp), and data set to null.", "format": "json", "schema_description": "GraphQL error response envelope", "completion": "{\n \"errors\": [\n {\n \"message\": \"Argument 'id' of type 'ID!' was provided invalid value\",\n \"locations\": [{\"line\": 3, \"column\": 5}],\n \"path\": [\"user\"],\n \"extensions\": {\n \"code\": \"BAD_USER_INPUT\",\n \"timestamp\": \"2024-11-01T15:42:00Z\"\n }\n },\n {\n \"message\": \"Not authorized to access field 'email' on type 'User'\",\n \"locations\": [{\"line\": 5, \"column\": 7}],\n \"path\": [\"user\", \"email\"],\n \"extensions\": {\n \"code\": \"FORBIDDEN\",\n \"timestamp\": \"2024-11-01T15:42:00Z\"\n }\n }\n ],\n \"data\": null\n}", "domain": "software", "difficulty": "hard", "num_fields": 4}
{"id": "f7c612414d8b", "prompt": "Produce a Markdown table comparing five containerization tools: Docker, Podman, containerd, LXC, and Kata Containers. Columns: Tool, OCI Compliant, Daemon-free, Rootless Mode, Primary Use Case, Kubernetes Integration.", "format": "markdown_table", "schema_description": "Container runtime comparison table", "completion": "| Tool | OCI Compliant | Daemon-free | Rootless Mode | Primary Use Case | Kubernetes Integration |\n|---|---|---|---|---|---|\n| Docker | Yes | No (dockerd) | Partial (rootless mode) | Dev environments, CI | Via containerd/CRI-Docker |\n| Podman | Yes | Yes | Yes (native) | Rootless container management | Via CRI-O |\n| containerd | Yes | No (daemon) | Partial | Production container runtime | Native (CRI) |\n| LXC | Partial | No | Partial | OS-level virtualisation | Limited |\n| Kata Containers | Yes | No | Partial | Secure multi-tenant workloads | Via containerd shim |", "domain": "software", "difficulty": "hard", "num_fields": 6}
{"id": "ea487e1cd493", "prompt": "Create a YAML configuration for a GitHub Actions workflow that runs on push to main, checks out code, sets up Python 3.11, installs dependencies from requirements.txt, and runs pytest.", "format": "yaml", "schema_description": "GitHub Actions CI workflow", "completion": "name: CI\n\non:\n push:\n branches:\n - main\n\njobs:\n test:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Set up Python\n uses: actions/setup-python@v5\n with:\n python-version: \"3.11\"\n\n - name: Install dependencies\n run: pip install -r requirements.txt\n\n - name: Run tests\n run: pytest", "domain": "software", "difficulty": "medium", "num_fields": 5}
{"id": "b1582b2894cf", "prompt": "Produce a JSON analytics event for a mobile app. Include: event_name, user_id, session_id, timestamp, platform (ios/android/web), app_version, screen, properties (object with at least 3 key-value pairs relevant to a 'purchase_completed' event).", "format": "json", "schema_description": "Mobile analytics event with properties bag", "completion": "{\n \"event_name\": \"purchase_completed\",\n \"user_id\": \"usr_f8a2c341\",\n \"session_id\": \"sess_7d19e28b\",\n \"timestamp\": \"2024-11-01T15:47:22.334Z\",\n \"platform\": \"ios\",\n \"app_version\": \"4.12.0\",\n \"screen\": \"checkout_confirmation\",\n \"properties\": {\n \"order_id\": \"ORD-20241101-55213\",\n \"total_usd\": 87.50,\n \"item_count\": 3,\n \"payment_method\": \"apple_pay\",\n \"coupon_applied\": false\n }\n}", "domain": "ecommerce", "difficulty": "hard", "num_fields": 8}
{"id": "1d5ce4627288", "prompt": "Create a YAML file for a data pipeline DAG definition (Airflow-style). Include: dag_id, description, schedule_interval (daily), start_date, catchup (false), and tasks list with at least 3 tasks each having: task_id, operator, dependencies (list), and params.", "format": "yaml", "schema_description": "Airflow-style DAG definition", "completion": "dag_id: daily_sales_etl\ndescription: \"Extract, transform and load daily sales data to the warehouse\"\nschedule_interval: \"@daily\"\nstart_date: \"2024-01-01\"\ncatchup: false\n\ntasks:\n - task_id: extract_sales\n operator: PythonOperator\n dependencies: []\n params:\n python_callable: extract_from_crm\n op_kwargs:\n source: \"salesforce\"\n\n - task_id: transform_sales\n operator: PythonOperator\n dependencies:\n - extract_sales\n params:\n python_callable: normalize_and_enrich\n\n - task_id: load_to_warehouse\n operator: PostgresOperator\n dependencies:\n - transform_sales\n params:\n sql: \"CALL proc_load_daily_sales();\"\n postgres_conn_id: warehouse_prod", "domain": "software", "difficulty": "hard", "num_fields": 6}