conversations listlengths 2 2 |
|---|
[
{
"from": "human",
"value": "Your task is to implement a function that processes a GraphQL API request, retrieves XML data, and converts this XML data to JSON format while preserving the XML attributes. The XML data will be provided as a string, and the function should return the corresponding JSON object. ... |
[
{
"from": "human",
"value": "Design an interface-based system for managing transactions in a distributed online marketplace, ensuring unique transaction IDs and efficient database sharding. The detailed requirements are as follows: Implement a Python class-based interface for handling transactions in a dist... |
[
{
"from": "human",
"value": "Implement a function that extracts, processes, and ranks job applicants based on the key skills and experiences from their resumes, displaying the results in a FormLayout. The detailed requirements are as follows: Develop a Python function that processes the submitted resumes to... |
[
{
"from": "human",
"value": "Implement a check-in system that logs employee check-ins to a file and selects a random employee who has checked in for a special task. The detailed requirements are as follows: Create a Python function `check_in_employee(employee_id, log_file_path)` that logs the check-in time ... |
[
{
"from": "human",
"value": "Develop a function to reduce the dimensionality of a batch of images using Incremental PCA after applying an image transformation. The detailed requirements are as follows: Implement a Python function that performs Incremental PCA on a batch of images. The function should take a... |
[
{
"from": "human",
"value": "Create a class-based library management system in Python that uses type annotations checked by mypy to ensure type safety. The detailed requirements are as follows: Implement a Python class `Library` that manages a collection of books. Each book should be represented as an insta... |
[
{
"from": "human",
"value": "Implement a function in Python to optimize delivery routes by categorizing delivery points and computing the shortest paths using Dijkstra's algorithm. The detailed requirements are as follows: Develop a Python function that takes in a graph representation of the logistics netwo... |
[
{
"from": "human",
"value": "Develop a function that validates user-input dates and transmits the validated data to a server using an HTTP POST request. The detailed requirements are as follows: Create a Python function that takes user input for a reservation date, validates the date format to ensure it is ... |
[
{
"from": "human",
"value": "Process and format log entries from binary log files and map them to their respective server identifiers. The detailed requirements are as follows: Implement a Python function that reads a list of log files in binary mode, extracts timestamped log entries, formats these timestam... |
[
{
"from": "human",
"value": "Build a web application that reads coding problems from JSON files, cleans the data, and incorporates smooth page transitions between different problems. The detailed requirements are as follows: Develop a Python script that reads coding problem data from JSON files, cleans the ... |
[
{
"from": "human",
"value": "Create a function that recognizes and processes voice commands for a smart home system, executing the corresponding actions and providing console feedback. The detailed requirements are as follows: Develop a function in Python that uses speech-to-text to recognize voice commands... |
[
{
"from": "human",
"value": "Develop a function that deduplicates customer records using fuzzy matching, supports batch processing for efficiency, includes an undo feature via a keyboard shortcut, and logs performance metrics. The detailed requirements are as follows: Implement a Python function `deduplicat... |
[
{
"from": "human",
"value": "Develop a function to process and store user feedback and compute its ASCII sum for further processing. The detailed requirements are as follows: Create a Python function that receives a feedback string as input. The function should first validate the input to ensure it is a non... |
[
{
"from": "human",
"value": "Build a Python service that processes real-time stock market data, maintains an LRU cache of the latest stock prices, and publishes updates to RabbitMQ. The detailed requirements are as follows: You need to develop a Python service for a financial trading platform that processes... |
[
{
"from": "human",
"value": "Develop a search functionality for a library application that uses an RNN with Dropout to suggest book titles based on user input, and logs click events for analytics. The detailed requirements are as follows: Implement a function in Python that initializes and configures an RNN... |
[
{
"from": "human",
"value": "Implement a Python function to convert delivery timestamps and calculate the shortest delivery route using Dijkstra's algorithm. The detailed requirements are as follows: You are tasked with developing a Python function that processes a list of delivery points, each associated w... |
[
{
"from": "human",
"value": "Write a Python function to process a file of book rental transactions, validate the data using regular expressions, and compute the rental duration for each transaction. The detailed requirements are as follows: Create a Python function that reads a data file containing book ren... |
[
{
"from": "human",
"value": "Develop a function to parse JSON data from IoT sensors, compute the median temperature, and log the results to a file while handling any malformed JSON data. The detailed requirements are as follows: Implement a function in Python that takes a list of JSON strings, each represen... |
[
{
"from": "human",
"value": "### Problem Description:\nYou are given a list of integers `nums` and an integer `target`. Your task is to implement a function that finds all unique pairs of numbers in `nums` that add up to `target`. Each pair should be sorted in ascending order and the list of pairs should be... |
[
{
"from": "human",
"value": "You are tasked with implementing a function that finds the intersection of two sets of floating-point numbers and returns the product of the intersection elements. The function should be part of a class that inherits from an abstract base class. The abstract base class should de... |
[
{
"from": "human",
"value": "Create a Python function to calculate the number of weeks between two dates, validate the input dates, and fetch relevant travel information from an API based on the trip duration. The detailed requirements are as follows: Write a Python function that takes two dates as input an... |
[
{
"from": "human",
"value": "Implement a secure login system using OAuth and display personalized book recommendations, and ensure the functionalities are thoroughly tested. The detailed requirements are as follows: Create a Python function that integrates OAuth authentication allowing users to log in with ... |
[
{
"from": "human",
"value": "Develop a function in Python that processes voice commands to manage workout data, including adding new entries and querying progress, while displaying the results in a tabular format. The detailed requirements are as follows: Create a Python function that processes voice comman... |
[
{
"from": "human",
"value": "Create a function to validate user search input, filter and display product search results in a filterable grid, and maintain a sorted product list with real-time updates. The detailed requirements are as follows: Develop a Python function that takes a list of product names and ... |
[
{
"from": "human",
"value": "Implement a function in Python that filters sales figures below a given threshold and calculates the median of the remaining figures. The detailed requirements are as follows: Given a dataset containing the monthly sales figures of employees, write a Python function that filters... |
[
{
"from": "human",
"value": "Write a Python function to analyze delivery data from a CSV file and generate a summary report with the count of deliveries, successful deliveries, and average delivery time per region. The detailed requirements are as follows: Create a Python function that reads a CSV file cont... |
[
{
"from": "human",
"value": "Develop a function that sanitizes user input, generates secure random digits, and uses strategic cognition to make a chess move. The detailed requirements are as follows: Implement a Python function `secure_chess_move(board_state, user_input)` that performs the following tasks: ... |
[
{
"from": "human",
"value": "Develop a function to analyze user comments on videos by computing sentiment scores and their standard errors. The detailed requirements are as follows: Create a Python function that processes user comments for a given set of videos. The function should take as input a dictionar... |
[
{
"from": "human",
"value": "Develop a Python function that reads an encrypted file, decrypts it using AES with inverse shiftRows, validates the decrypted data, and writes the validated data to a new file, ensuring proper file handling throughout. The detailed requirements are as follows: Create a function ... |
[
{
"from": "human",
"value": "Write a Python function to convert transaction timestamps from various time zones to UTC and store the transactions in a PostgreSQL database. The detailed requirements are as follows: You are tasked with writing a Python function that processes a list of transaction records, con... |
[
{
"from": "human",
"value": "### Problem Description:\nYou are given a list of integers representing a sequence of operations. Each element in the list is either an integer (representing a value to be pushed onto a stack) or a string \"pop\" (representing the operation to pop the top value from the stack). ... |
[
{
"from": "human",
"value": "Implement a financial application in Python that retrieves and caches stock price data, then calculates the sample median of the stock prices for a specified period. The detailed requirements are as follows: Develop a Python program for a financial application that retrieves sto... |
[
{
"from": "human",
"value": "Create a Python function to generate a CSR file and perform a competitive analysis of SSL certificate expiry dates from a list of competitor URLs. The detailed requirements are as follows: Develop a Python function that automates the generation of a certificate signing request (... |
[
{
"from": "human",
"value": "Implement a function to process and validate financial transactions from JSON data, ensuring synchronization and proper handling of insolvency conditions. The detailed requirements are as follows: Develop a Python function that processes a list of transaction records in JSON for... |
[
{
"from": "human",
"value": "Develop a Python function that generates a synthetic dataset of user-item interactions using random sampling, ensuring the dataset is suitable for use with a genetic algorithm for optimizing recommendations. The detailed requirements are as follows: Your task is to implement a P... |
[
{
"from": "human",
"value": "Create a function to predict future temperature trends from historical data using pspline, log the prediction time in a specific timezone, and save the results to a MemoryStream. The detailed requirements are as follows: Develop a function that takes historical weather data (tem... |
[
{
"from": "human",
"value": "Implement a function that reshapes an image into a tensor and encrypts it using Shor's algorithm. The detailed requirements are as follows: You are tasked with implementing a function in Python that takes an image file as input, reshapes the image into a tensor of a specified sh... |
[
{
"from": "human",
"value": "Develop a Python API endpoint that validates health metrics data types, checks their values, and calculates the sample variance for these metrics over a specified period. The detailed requirements are as follows: Create a Python API endpoint that processes GET requests to retrie... |
[
{
"from": "human",
"value": "Develop a function to manage and prioritize customer service requests using a queue data structure, based on urgency and arrival time. The detailed requirements are as follows: Create a Python function named `manage_customer_support_queue` that processes customer service request... |
[
{
"from": "human",
"value": "Create a function to generate an optimal itinerary for visiting tourist attractions using the requests library, time zone conversion, and the BFS algorithm. The detailed requirements are as follows: Develop a function that fetches the opening and closing times of tourist attract... |
[
{
"from": "human",
"value": "**Problem Statement:**\n\nYou are given a square matrix `A` of size `n x n` containing integer values. Your task is to implement a function that performs a series of transformations on this matrix and then returns the final matrix. The transformations include rotating the matrix... |
[
{
"from": "human",
"value": "Create a function to handle student course registration with password validation and duplicate course checks. The detailed requirements are as follows: Implement a Python function `register_student` that takes a student's ID, a list of courses the student wishes to register for,... |
[
{
"from": "human",
"value": "Implement a function to authenticate a user with Firebase Auth and calculate the average daily exercise duration based on their logged exercise data. The detailed requirements are as follows: Create a Python function that first authenticates a user using Firebase Auth. Once auth... |
[
{
"from": "human",
"value": "Create a Python function that reactively calculates and outputs the potential profit margins for tracked stocks based on real-time price updates. The detailed requirements are as follows: Implement a reactive function in Python that monitors real-time stock price updates for a l... |
[
{
"from": "human",
"value": "Optimize delivery routes using Dijkstra's algorithm and calculate the median delivery time for each route. The detailed requirements are as follows: As a software developer, your task is to create a Python program that:\n1. Uses Dijkstra's algorithm to find the shortest path bet... |
[
{
"from": "human",
"value": "Create a Python function that reads an XML file, determines the relative primality of number pairs, and updates the XML file with the results. The detailed requirements are as follows: Implement a function that reads an XML file containing multiple pairs of integers, determines ... |
[
{
"from": "human",
"value": "Create a Python application to classify patient health status using Non-linear SVM based on data received via HTTP and display the results in a formatted report with a health metrics chart. The detailed requirements are as follows: Develop a Python application that receives pati... |
[
{
"from": "human",
"value": "Write a Python function to compress a VCF file using gzip and securely upload it to a remote server using SSL/TLS. The detailed requirements are as follows: Develop a Python function that compresses a given VCF file using gzip compression and then securely uploads the compressed... |
[
{
"from": "human",
"value": "Develop a Python function to perform a case-insensitive, trimmed search for book titles within a list, using a linear search algorithm. The detailed requirements are as follows: Implement a Python function named `search_books` that takes two arguments: a list of book titles and ... |
[
{
"from": "human",
"value": "Implement a function that processes sales records from AWS S3 to calculate total sales and update the inventory quantities accordingly. The detailed requirements are as follows: Write a Python function that deserializes JSON data from an AWS S3 bucket containing sales records. E... |
[
{
"from": "human",
"value": "Create a Django application that handles user-submitted product reviews and displays aggregated reviews on product pages by integrating MongoDB for data storage. The detailed requirements are as follows: Develop a Django application that allows users to submit product reviews th... |
[
{
"from": "human",
"value": "Create a function to visualize sales data for multiple products using Plotly, incorporating error handling for any missing or malformed data entries. The detailed requirements are as follows: Implement a Python function that takes a dictionary of sales data and generates a line ... |
[
{
"from": "human",
"value": "Develop a web application in Python for managing user profiles and handling CSV workout data uploads with missing values. The detailed requirements are as follows: Create a Python-based web application that allows fitness club members to manage their profiles and upload their wo... |
[
{
"from": "human",
"value": "Develop a Python function to securely transfer and verify product data using encoding, FTP, and checksum verification. The detailed requirements are as follows: Create a Python function that takes product data as input, encodes the data using a specified encoding method, uploads... |
[
{
"from": "human",
"value": "Create a Python function to consolidate, validate, and export datasets, ensuring referential integrity and performing necessary post-processing. The detailed requirements are as follows: You are tasked with creating a Python function that takes in multiple datasets, performs a r... |
[
{
"from": "human",
"value": "Implement a Python function that interacts with UnityEngine.EventSystems to manage and export resource bundles within a game environment. The detailed requirements are as follows: Develop a Python function that interacts with Unity's EventSystem to manage resource bundles. The f... |
[
{
"from": "human",
"value": "Build a Python application to enhance user interaction and optimize promotional offers for an e-commerce platform using specified features. The detailed requirements are as follows: Develop a Python application for an e-commerce website that achieves the following: \n1. Implemen... |
[
{
"from": "human",
"value": "Create a function to fetch and process customer feedback from social media, ensuring the tweets are relevant, phone numbers are validated, and the data is transformed into a JSON format for analysis. The detailed requirements are as follows: Write a Python function that fetches ... |
[
{
"from": "human",
"value": "Write a Python function to generate secure random passwords, handling interruptions and ensuring the inclusion of various character types. The detailed requirements are as follows: Develop a function in Python that generates secure random passwords. The function should take an i... |
[
{
"from": "human",
"value": "Create a Flask web application that displays a sorted list of products with their discounted prices using shell sort. The detailed requirements are as follows: Implement a Flask application that renders a webpage displaying a list of products with their original and discounted p... |
[
{
"from": "human",
"value": "Build an adjacency list from a list of user connections and display the direct and second-degree friends for a given user. The detailed requirements are as follows: Create a function in Python that takes a list of user connections as input and builds an adjacency list to represe... |
[
{
"from": "human",
"value": "Write a Python function that parses a nested YAML file containing financial metrics and normalizes the metrics using min-max scaling. The detailed requirements are as follows: Implement a function in Python that takes the path to a YAML file as input, parses the file to extract ... |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 5