instruction stringlengths 204 600 | output stringlengths 1.43k 3.51k | ground_truth stringlengths 895 2.65k |
|---|---|---|
Translate the following requirement into a formal AST XML:
If the primary temperature sensor indicates a temperature below 36.0°C, the secondary temperature sensor indicates a temperature above 37.0°C, and the tertiary temperature sensor is not available, or if the primary temperature sensor is not available, the secon... | <think>
Step 1: Extract Conditions.
- Cond 1 (Numerical): primary temperature < 36.0°C -> Signal: primary_temperature, Operator: <, Value: 36.0, Unit: °C.
- Cond 2 (Numerical): secondary temperature > 37.0°C -> Signal: secondary_temperature, Operator: >, Value: 37.0, Unit: °C.
- Cond 3 (Boolean): tertiary temperature s... | <reqtable>
<requirement>
<Summary>Set diagnostic mode on conflicting temperature readings or specific unavailability and temperature conditions</Summary>
<Precondition>
<Logic operator="OR">
<Logic operator="AND">
<Condition>
<S... |
Translate the following requirement into a formal AST XML:
If the deployment is in a staging environment, the number of failed tests exceeds 10, and either the network latency is above 500ms or the response time is above 2 seconds, and the deployment has been running for more than 10 minutes, then trigger a rollback. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): staging environment -> Signal: environment, Operator: ==, Value: "staging".
- Cond 2 (Numerical): failed tests > 10 -> Signal: failed_tests_count, Operator: >, Value: 10.
- Cond 3 (Numerical): network latency > 500ms -> Signal: network_latency, Operator: >, Value:... | <reqtable>
<requirement>
<Summary>Trigger rollback on high network latency or response time in staging</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>environment</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the pressure sensor 1 reports a pressure above 160 psi, and the pressure sensor 2 reports a pressure below 140 psi, and the valve is currently closed, and the system is in automatic mode, then open the valve. However, if the maintenance mode is enabled, the ... | <think>
Step 1: Extract Conditions.
- Cond 1 (Numerical): pressure sensor 1 > 160 psi -> Signal: pressure_sensor_1, Operator: >, Value: 160, Unit: psi.
- Cond 2 (Numerical): pressure sensor 2 < 140 psi -> Signal: pressure_sensor_2, Operator: <, Value: 140, Unit: psi.
- Cond 3 (Boolean): valve is closed -> Signal: valve... | <reqtable>
<requirement>
<Summary>Open valve under specific pressure conditions, unless maintenance mode is enabled</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>pressure_sensor_1</Signal>
<Operator>></Operator... |
Translate the following requirement into a formal AST XML:
If the primary submarine cable's signal strength drops below 50% and the backup cable is not active, and if the system detects a fault in the primary cable's repeater and the fault persists for more than 10 seconds, and if the backup cable is also faulty, then ... | <think>
Step 1: Extract Conditions.
- Cond 1 (Numerical): primary cable signal strength < 50% -> Signal: primary_cable_signal_strength, Operator: <, Value: 50, Unit: %.
- Cond 2 (Boolean): backup cable is not active -> Signal: backup_cable_active, Operator: ==, Value: false.
- Cond 3 (Boolean): fault detected in primar... | <reqtable>
<requirement>
<Summary>Initiate full system shutdown on multiple cable faults</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>primary_cable_signal_strength</Signal>
<Operator><</Operator>
... |
Translate the following requirement into a formal AST XML:
If the vibration sensor on Machine X detects a frequency above 100 Hz, and the current draw on the machine exceeds 150 A, and either the oil pressure drops below 50 psi or the coolant temperature rises above 100°C, then initiate a maintenance alert. | <think>
Step 1: Extract Conditions.
- Cond 1 (Numerical): vibration > 100 Hz -> Signal: machine_x_vibration, Operator: >, Value: 100, Unit: Hz.
- Cond 2 (Numerical): current > 150 A -> Signal: machine_x_current, Operator: >, Value: 150, Unit: A.
- Cond 3 (Logical OR):
- Sub-Cond 3a (Numerical): oil pressure < 50 psi ... | <reqtable>
<requirement>
<Summary>Initiate maintenance alert for multiple faults</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>machine_x_vibration</Signal>
<Operator>></Operator>
<Value type... |
Translate the following requirement into a formal AST XML:
If the rover is in maintenance mode, the solar array is retracted, and the temperature sensor indicates a temperature above 80°C or the power generation is below 10%, then issue a command to deploy the solar array. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): maintenance mode -> Signal: maintenance_mode, Operator: ==, Value: true.
- Cond 2 (Boolean): retracted -> Signal: solar_array_retracted, Operator: ==, Value: true.
- Cond 3 (Numerical): temperature > 80°C -> Signal: solar_array_temperature, Operator: >, Value: 80,... | <reqtable>
<requirement>
<Summary>Deploy solar array if retracted and either temperature is too high or power generation is too low</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>maintenance_mode</Signal>
<Opera... |
Translate the following requirement into a formal AST XML:
If the primary temperature sensor in the cold storage area detects a temperature above 4°C, and the secondary temperature sensor also detects a temperature above 4°C, and the backup cooling system is operational but the temperature does not drop below 4°C withi... | <think>
Step 1: Extract Conditions.
- Cond 1 (Numerical): primary temperature > 4°C -> Signal: primary_temperature, Operator: >, Value: 4, Unit: °C.
- Cond 2 (Numerical): secondary temperature > 4°C -> Signal: secondary_temperature, Operator: >, Value: 4, Unit: °C.
- Cond 3 (Boolean): backup cooling system status -> Si... | <reqtable>
<requirement>
<Summary>Trigger maintenance alert for high temperature in cold storage with backup system inefficiency and WMS offline</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>primary_temperature</Signal>
... |
Translate the following requirement into a formal AST XML:
If the harvesting robot is in autonomous mode, the camera detects a crop row, the distance to the next crop is less than 50 cm, and the crop is identified as ripe, and the robot's speed is less than 1 m/s, and the robot has not yet reached the end of the row, t... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): autonomous mode -> Signal: autonomous_mode, Operator: ==, Value: true.
- Cond 2 (Boolean): camera detects a crop row -> Signal: crop_row_detected, Operator: ==, Value: true.
- Cond 3 (Numerical): distance to the next crop < 50 cm -> Signal: distance_to_next_crop, ... | <reqtable>
<requirement>
<Summary>Initiate cutting mechanism if all conditions are met and robot speed is low</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>autonomous_mode</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the primary server is down, and the secondary server is not operational, and the tertiary server has less than 50% of its resources available, and the system is currently processing a high-priority case, and the backup power supply is below 20% for more than... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): primary server down -> Signal: primary_server_status, Operator: ==, Value: false.
- Cond 2 (Boolean): secondary server not operational -> Signal: secondary_server_status, Operator: ==, Value: false.
- Cond 3 (Numerical): tertiary server resource availability < 50%... | <reqtable>
<requirement>
<Summary>Initiate emergency shutdown if critical servers are down and a high-priority case is being processed with low backup power for more than 10 seconds</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>pr... |
Translate the following requirement into a formal AST XML:
If the city surveillance system detects a person lingering in a restricted area for more than 10 minutes, and the person is not an authorized personnel, and the system has detected multiple failed attempts to access the area, then trigger an alert. | <think>
Step 1: Extract Conditions.
- Cond 1 (Numerical): person lingering > 10 minutes -> Signal: person_linger_duration, Operator: >, Value: 10, Unit: min.
- Cond 2 (Boolean): not an authorized personnel -> Signal: is_authorized_personnel, Operator: ==, Value: false.
- Cond 3 (Numerical): multiple failed access attem... | <reqtable>
<requirement>
<Summary>Trigger alert for unauthorized lingering with multiple failed access attempts</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>person_linger_duration</Signal>
<Operator>></Operato... |
Translate the following requirement into a formal AST XML:
If the Kubernetes cluster is in a critical state, the number of failed pods exceeds 5, and either the CPU utilization is above 95% or the memory usage is above 90% for more than 15 seconds, then trigger a cluster health check. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): cluster in critical state -> Signal: cluster_critical_state, Operator: ==, Value: true.
- Cond 2 (Numerical): failed pods > 5 -> Signal: failed_pods_count, Operator: >, Value: 5.
- Cond 3 (Numerical): CPU utilization > 95% -> Signal: cpu_utilization, Operator: >, ... | <reqtable>
<requirement>
<Summary>Trigger cluster health check under critical conditions</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>cluster_critical_state</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the vehicle is in cruise control mode, the throttle position sensor reports an error, and either the engine RPM is above 5000 or the transmission is not in the correct gear, and the vehicle speed is greater than 80 km/h, then disengage the cruise control. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): cruise control mode -> Signal: cruise_control_mode, Operator: ==, Value: true.
- Cond 2 (Boolean): throttle position sensor error -> Signal: throttle_position_sensor_error, Operator: ==, Value: true.
- Cond 3 (Numerical): engine RPM > 5000 -> Signal: engine_rpm, O... | <reqtable>
<requirement>
<Summary>Disengage cruise control if throttle sensor and transmission fail</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>cruise_control_mode</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the mobile device is in an area with low signal strength, the user initiates an E911 call, and the microphone detects ambient noise above 80 dB, but the user does not respond to the verbal confirmation prompt within 5 seconds, then the system should automati... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): E911 call initiated -> Signal: e911_call_initiated, Operator: ==, Value: true.
- Cond 2 (Numerical): signal strength < 30 dBm -> Signal: signal_strength, Operator: <, Value: 30, Unit: dBm.
- Cond 3 (Numerical): ambient noise > 80 dB -> Signal: ambient_noise, Opera... | <reqtable>
<requirement>
<Summary>Initiate silent E911 call if no response to verbal confirmation within 5 seconds</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>e911_call_initiated</Signal>
<Operator>==</Operat... |
Translate the following requirement into a formal AST XML:
If the IDS detects a low severity alert, and the alert is from a non-critical system, and the alert has been acknowledged, and there are no other active alerts, then log the alert without further action. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): low severity alert -> Signal: alert_severity, Operator: ==, Value: low.
- Cond 2 (Boolean): non-critical system -> Signal: system_criticality, Operator: ==, Value: false.
- Cond 3 (Boolean): alert acknowledged -> Signal: alert_acknowledged, Operator: ==, Value: tr... | <reqtable>
<requirement>
<Summary>Log low severity alerts from non-critical systems if acknowledged and no other active alerts</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>alert_severity</Signal>
<Operator>==<... |
Translate the following requirement into a formal AST XML:
If the primary database server is in a critical state, the secondary server is not available, and the network latency exceeds 150ms or the disk I/O on the primary server is below 30MB/s for more than 2 seconds, then initiate a failover to the quaternary server. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): primary database server in critical state -> Signal: primary_db_critical_state, Operator: ==, Value: true.
- Cond 2 (Boolean): secondary server not available -> Signal: secondary_server_available, Operator: ==, Value: false.
- Cond 3 (Numerical): network latency >... | <reqtable>
<requirement>
<Summary>Initiate failover to quaternary server if primary is critical and secondary is unavailable</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>primary_db_critical_state</Signal>
<Ope... |
Translate the following requirement into a formal AST XML:
If the system detects a new court case filing, and the case is marked as low priority, and the system has not received a confirmation from the legal team, and the system has not received a confirmation from the compliance team, and the system has not received a... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): new court case filing -> Signal: new_case_filing, Operator: ==, Value: true.
- Cond 2 (Boolean): case is marked as low priority -> Signal: case_low_priority, Operator: ==, Value: true.
- Cond 3 (Boolean): no confirmation from the legal team -> Signal: legal_team_c... | <reqtable>
<requirement>
<Summary>Send alert to legal coordinator if no confirmation for low priority case</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>new_case_filing</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the radar system is in active tracking mode, and the target is within the primary detection range, but the secondary sensor reports no target, and the primary sensor's confidence level is above 90%, and the target's speed is consistent with the expected spee... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): radar system in active tracking mode -> Signal: radar_tracking_mode, Operator: ==, Value: true.
- Cond 2 (Boolean): target within primary detection range -> Signal: target_in_primary_range, Operator: ==, Value: true.
- Cond 3 (Boolean): secondary sensor reports no... | <reqtable>
<requirement>
<Summary>Continue using primary sensor if secondary sensor fails and primary sensor is highly confident</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>radar_tracking_mode</Signal>
<Opera... |
Translate the following requirement into a formal AST XML:
If the flight is overbooked, and there are more than 5 passengers without confirmed seats, and at least 3 of those passengers have a frequent flyer status, and the next available flight to the same destination departs within 2 hours, and the current flight has ... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): flight overbooked -> Signal: flight_overbooked, Operator: ==, Value: true.
- Cond 2 (Numerical): more than 5 passengers without confirmed seats -> Signal: unconfirmed_passengers, Operator: >, Value: 5.
- Cond 3 (Numerical): at least 3 frequent flyers -> Signal: fr... | <reqtable>
<requirement>
<Summary>Reassign frequent flyers to next available flight with higher priority</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>flight_overbooked</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the inventory level of a product is below the safety stock threshold, and the product is marked as critical, and either the supplier has not confirmed the last order or the last order was placed more than 7 days ago, then trigger an automated reordering proc... | <think>
Step 1: Extract Conditions.
- Cond 1 (Numerical): inventory level < safety stock threshold -> Signal: inventory_level, Operator: <, Value: safety_stock_threshold.
- Cond 2 (Boolean): product is critical -> Signal: product_critical, Operator: ==, Value: true.
- Cond 3 (Boolean): supplier has not confirmed the la... | <reqtable>
<requirement>
<Summary>Trigger automated reordering if inventory is low and conditions are met</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>inventory_level</Signal>
<Operator><</Operator>
... |
Translate the following requirement into a formal AST XML:
If the anesthesia machine is in semi-automatic control mode, the total gas flow rate is below 5 L/min, and either the oxygen sensor fails or the nitrous oxide sensor fails, then switch to manual control mode. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): semi-automatic control mode -> Signal: semi_auto_control_mode, Operator: ==, Value: true.
- Cond 2 (Numerical): total gas flow rate < 5 L/min -> Signal: total_gas_flow_rate, Operator: <, Value: 5, Unit: L/min.
- Cond 3 (Boolean): oxygen sensor fails -> Signal: oxy... | <reqtable>
<requirement>
<Summary>Switch to manual control mode if gas flow rate is low and a sensor fails</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>semi_auto_control_mode</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the train is in manual mode, the primary braking system fails, and the secondary braking system also fails, and the train is within 100 meters of a station, then trigger an emergency stop. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): train in manual mode -> Signal: train_mode, Operator: ==, Value: false.
- Cond 2 (Boolean): primary braking system failure -> Signal: primary_braking_system, Operator: ==, Value: false.
- Cond 3 (Boolean): secondary braking system failure -> Signal: secondary_brak... | <reqtable>
<requirement>
<Summary>Trigger emergency stop on dual braking system failure near station</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>train_mode</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the baggage handling system is in normal operation mode, and the conveyor belt speed is less than 1.5 m/s, and if the weight of the baggage is greater than 25 kg, and if the destination airport code matches the current sorting zone, and if the system has not... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): normal operation mode -> Signal: normal_operation_mode, Operator: ==, Value: true.
- Cond 2 (Numerical): conveyor belt speed < 1.5 m/s -> Signal: conveyor_belt_speed, Operator: <, Value: 1.5, Unit: m/s.
- Cond 3 (Numerical): weight of the baggage > 25 kg -> Signal... | <reqtable>
<requirement>
<Summary>Increase conveyor belt speed under specific conditions in normal operation mode</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>normal_operation_mode</Signal>
<Operator>==</Opera... |
Translate the following requirement into a formal AST XML:
If the MRI superconducting magnet cooling system is in active mode, the primary temperature sensor indicates a temperature above 4.2 K, and the secondary temperature sensor indicates a temperature below 4.2 K, and the tertiary temperature sensor is not providin... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): cooling system in active mode -> Signal: cooling_system_mode, Operator: ==, Value: true.
- Cond 2 (Numerical): primary temperature > 4.2 K -> Signal: primary_temperature, Operator: >, Value: 4.2, Unit: K.
- Cond 3 (Numerical): secondary temperature < 4.2 K -> Sign... | <reqtable>
<requirement>
<Summary>Switch to backup cooling system on conflicting temperature readings</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>cooling_system_mode</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the 5G network slice is configured for low-priority traffic, and the current bandwidth allocation is above 70% of the maximum, and either the number of active sensors is less than 3 or the average sensor data rate is below 0.3 Mbps, and the network load is b... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): low-priority traffic -> Signal: priority_traffic, Operator: ==, Value: false.
- Cond 2 (Numerical): bandwidth allocation > 70% of max -> Signal: current_bandwidth_allocation, Operator: >, Value: 70, Unit: %.
- Cond 3 (Numerical): number of active sensors < 3 -> Si... | <reqtable>
<requirement>
<Summary>Decrease bandwidth allocation for low-priority traffic with low network load</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>priority_traffic</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the emergency vehicle is in preemption mode, the traffic light is red, and the pedestrian crossing is active, and the number of pedestrians detected is greater than 5, and the emergency vehicle has been waiting for more than 10 seconds, then activate the pre... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): emergency vehicle in preemption mode -> Signal: ev_preemption_mode, Operator: ==, Value: true.
- Cond 2 (Boolean): traffic light is red -> Signal: traffic_light_status, Operator: ==, Value: "red".
- Cond 3 (Boolean): pedestrian crossing is active -> Signal: pedest... | <reqtable>
<requirement>
<Summary>Activate preemption signal after waiting with active pedestrian crossing</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>ev_preemption_mode</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the thrust reverser is in deployment mode, the aircraft speed is less than 60 knots, and the left or right engine N1 speed is below 70%, and the N1 speed has been low for more than 2 seconds, then issue a command to halt the thrust reverser deployment. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): thrust reverser in deployment mode -> Signal: thrust_reverser_mode, Operator: ==, Value: true.
- Cond 2 (Numerical): aircraft speed < 60 knots -> Signal: aircraft_speed, Operator: <, Value: 60, Unit: knots.
- Cond 3 (Numerical): left engine N1 speed < 70% -> Signa... | <reqtable>
<requirement>
<Summary>Halt thrust reverser deployment if engine N1 speed is low</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>thrust_reverser_mode</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the 5G network is operational, the latency is above 10 ms, and the number of connected devices is greater than 100, and the uplink speed is below 50 Mbps, and the satellite link is not active, then decrease the bandwidth allocation. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): 5G network is operational -> Signal: 5g_network_operational, Operator: ==, Value: true.
- Cond 2 (Numerical): latency > 10 ms -> Signal: network_latency, Operator: >, Value: 10, Unit: ms.
- Cond 3 (Numerical): number of connected devices > 100 -> Signal: connected... | <reqtable>
<requirement>
<Summary>Decrease bandwidth allocation if 5G network latency is high and uplink speed is low with many connected devices and no active satellite link</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>5g_networ... |
Translate the following requirement into a formal AST XML:
If the drone is in autonomous mode, the altitude sensor reports an altitude greater than 100 meters, and either the wind speed exceeds 20 km/h or the battery level is below 30%, then initiate a controlled descent. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): autonomous mode -> Signal: autonomous_mode, Operator: ==, Value: true.
- Cond 2 (Numerical): altitude > 100m -> Signal: altitude, Operator: >, Value: 100, Unit: m.
- Cond 3 (Numerical): wind speed > 20 km/h -> Signal: wind_speed, Operator: >, Value: 20, Unit: km/h... | <reqtable>
<requirement>
<Summary>Initiate controlled descent if conditions are met</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>autonomous_mode</Signal>
<Operator>==</Operator>
<Value type... |
Translate the following requirement into a formal AST XML:
If the vehicle is in manual driving mode, and the battery temperature sensor indicates a temperature above 60°C, and the backup sensor also indicates a temperature above 60°C, or if the vehicle speed is greater than 100 km/h, and the battery cooling system is n... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): manual driving mode -> Signal: manual_mode, Operator: ==, Value: true.
- Cond 2 (Numerical): primary battery temperature > 60°C -> Signal: battery_temp_primary, Operator: >, Value: 60, Unit: °C.
- Cond 3 (Numerical): backup battery temperature > 60°C -> Signal: ba... | <reqtable>
<requirement>
<Summary>Reduce power output on high temperature or high speed with non-operational cooling</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>manual_mode</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the robo-advisor is in liquidity management mode, the portfolio's cash balance is below 5% of the total value, and the number of open positions is greater than 10, or if the portfolio's turnover rate is above 50% in the last month, then increase the cash res... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): robo-advisor in liquidity management mode -> Signal: liquidity_management_mode, Operator: ==, Value: true.
- Cond 2 (Numerical): portfolio's cash balance is below 5% of the total value -> Signal: cash_balance_percentage, Operator: <, Value: 5, Unit: %.
- Cond 3 (N... | <reqtable>
<requirement>
<Summary>Increase cash reserve under specific liquidity and position conditions</Summary>
<Precondition>
<Logic operator="OR">
<Logic operator="AND">
<Condition>
<Signal>liquidity_management_mode</Signal... |
Translate the following requirement into a formal AST XML:
If the system detects that the metadata of a document is inconsistent, and the document is not marked as inconsistent, and the user has not been notified of the inconsistency, and the document is not in a draft state, then mark the document as inconsistent and ... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): metadata inconsistency detected -> Signal: metadata_inconsistency, Operator: ==, Value: true.
- Cond 2 (Boolean): document not marked as inconsistent -> Signal: document_inconsistent, Operator: ==, Value: false.
- Cond 3 (Boolean): user not notified of inconsisten... | <reqtable>
<requirement>
<Summary>Mark document as inconsistent and notify user on metadata inconsistency</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>metadata_inconsistency</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the VoIP system is in high traffic mode, the packet loss rate exceeds 7%, and the network latency is greater than 150 milliseconds, and the number of active calls is more than 50, then increase the buffer size. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): high traffic mode -> Signal: high_traffic_mode, Operator: ==, Value: true.
- Cond 2 (Numerical): packet loss rate > 7% -> Signal: packet_loss_rate, Operator: >, Value: 7, Unit: %.
- Cond 3 (Numerical): network latency > 150ms -> Signal: network_latency, Operator: ... | <reqtable>
<requirement>
<Summary>Increase buffer size under high traffic and poor network conditions</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>high_traffic_mode</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the trading algorithm detects a pattern of large trades in a specific stock, the stock price has increased by more than 10% in the last 30 minutes, the trader's account has a history of similar trades, and the trader's account is not flagged for suspicious a... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): Large trades -> Signal: large_trades_detected, Operator: ==, Value: true.
- Cond 2 (Numerical): Stock price increase > 10% -> Signal: stock_price_increase, Operator: >, Value: 10, Unit: %.
- Cond 3 (Boolean): History of similar trades -> Signal: history_of_similar... | <reqtable>
<requirement>
<Summary>Flag trades for potential insider trading if large trades are detected with a significant price increase, a history of similar trades, and no suspicious activity flag</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
... |
Translate the following requirement into a formal AST XML:
If the transaction amount is greater than $10,000, the transaction type is a wire transfer, and the recipient's country is a high-risk jurisdiction, and the sender has more than 5 transactions in the last 24 hours, then generate a suspicious activity alert. | <think>
Step 1: Extract Conditions.
- Cond 1 (Numerical): transaction amount > $10,000 -> Signal: transaction_amount, Operator: >, Value: 10000, Unit: USD.
- Cond 2 (Boolean): transaction type is wire transfer -> Signal: transaction_type, Operator: ==, Value: "wire_transfer".
- Cond 3 (Boolean): recipient's country is ... | <reqtable>
<requirement>
<Summary>Generate suspicious activity alert for high-risk wire transfers</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>transaction_amount</Signal>
<Operator>></Operator>
... |
Translate the following requirement into a formal AST XML:
If the vehicle is in autonomous mode, the LKA system detects a lane departure, and the primary steering torque sensor fails, and the secondary steering torque sensor fails, and the vehicle speed is less than 30 km/h, then stop the vehicle. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): autonomous mode -> Signal: autonomous_mode, Operator: ==, Value: true.
- Cond 2 (Boolean): lane departure detected -> Signal: lane_departure_detected, Operator: ==, Value: true.
- Cond 3 (Boolean): primary steering torque sensor failure -> Signal: primary_steering... | <reqtable>
<requirement>
<Summary>Stop the vehicle if LKA fails with sensor failures at low speed</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>autonomous_mode</Signal>
<Operator>==</Operator>
... |
Translate the following requirement into a formal AST XML:
If the thrust reverser system is in the stowage phase, the engine speed is below 5% of maximum, and the hydraulic pressure is above 3000 psi, or if the position sensor indicates the reverser is not fully stowed and the time since stowage initiation is more than... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): thrust reverser system in stowage phase -> Signal: thrust_reverser_phase, Operator: ==, Value: "stowage".
- Cond 2 (Numerical): engine speed < 5% of max -> Signal: engine_speed, Operator: <, Value: 0.05, Unit: max.
- Cond 3 (Numerical): hydraulic pressure > 3000 p... | <reqtable>
<requirement>
<Summary>Initiate manual override sequence for thrust reverser under specific conditions</Summary>
<Precondition>
<Logic operator="OR">
<Logic operator="AND">
<Condition>
<Signal>thrust_reverser_phase</S... |
Translate the following requirement into a formal AST XML:
If the aircraft is in flight, the ambient temperature is below -18°C, and the left wing sensor indicates no ice, the right wing sensor indicates ice, and the pitot tube sensor indicates no ice, then activate the de-icing system. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): aircraft in flight -> Signal: aircraft_in_flight, Operator: ==, Value: true.
- Cond 2 (Numerical): ambient temperature < -18°C -> Signal: ambient_temperature, Operator: <, Value: -18, Unit: °C.
- Cond 3 (Boolean): left wing sensor indicates no ice -> Signal: left_... | <reqtable>
<requirement>
<Summary>Activate de-icing system if right wing ice is detected while left wing and pitot tube are clear</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>aircraft_in_flight</Signal>
<Opera... |
Translate the following requirement into a formal AST XML:
If the geothermal plant is in operational mode, the steam pressure is below 120 psi, and either the condenser vacuum level is greater than -5 inches of mercury or the condensate pump is not running, then decrease the steam flow rate. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): operational mode -> Signal: operational_mode, Operator: ==, Value: true.
- Cond 2 (Numerical): steam pressure < 120 psi -> Signal: steam_pressure, Operator: <, Value: 120, Unit: psi.
- Cond 3 (Numerical): condenser vacuum level > -5 inHg -> Signal: condenser_vacuu... | <reqtable>
<requirement>
<Summary>Decrease steam flow rate if steam pressure is low and condenser vacuum level or pump status meet criteria</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>operational_mode</Signal>
... |
Translate the following requirement into a formal AST XML:
If the Kubernetes cluster is in a high load state, the number of active pods exceeds 100, and the average CPU usage of the pods is greater than 80% for more than 10 seconds, and the memory usage of the most critical pod is above 90%, then trigger an auto-scalin... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): high load state -> Signal: cluster_load_state, Operator: ==, Value: true.
- Cond 2 (Numerical): active pods > 100 -> Signal: active_pod_count, Operator: >, Value: 100.
- Cond 3 (Numerical): average CPU usage > 80% -> Signal: average_cpu_usage, Operator: >, Value: ... | <reqtable>
<requirement>
<Summary>Trigger auto-scaling if cluster is overloaded</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>cluster_load_state</Signal>
<Operator>==</Operator>
<Value type=... |
Translate the following requirement into a formal AST XML:
If a package is left unattended in a public area for more than 10 minutes, and the package is not identified as a known delivery, and there are no people within a 5-meter radius, and the system's confidence level for the package detection is above 90%, then tri... | <think>
Step 1: Extract Conditions.
- Cond 1 (Numerical): package unattended > 10 minutes -> Signal: package_unattended_time, Operator: >, Value: 10, Unit: min.
- Cond 2 (Boolean): not a known delivery -> Signal: is_known_delivery, Operator: ==, Value: false.
- Cond 3 (Numerical): no people within 5m -> Signal: nearby_... | <reqtable>
<requirement>
<Summary>Trigger alert for suspicious unattended package</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>package_unattended_time</Signal>
<Operator>></Operator>
<Value... |
Translate the following requirement into a formal AST XML:
If the baggage handling system is in operation, and the primary sorting conveyor belt is detected to have a malfunction, and the secondary sorting conveyor belt is operational, and the number of bags on the secondary sorting conveyor exceeds 50 for more than 10... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): system in operation -> Signal: system_operation_status, Operator: ==, Value: true.
- Cond 2 (Boolean): primary sorting conveyor belt malfunction -> Signal: primary_sorting_conveyor_malfunction, Operator: ==, Value: true.
- Cond 3 (Boolean): secondary sorting conve... | <reqtable>
<requirement>
<Summary>Reduce speed of secondary sorting conveyor if it has too many bags and primary conveyor fails</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>system_operation_status</Signal>
<Op... |
Translate the following requirement into a formal AST XML:
If the train is in motion, the speed is greater than 20 km/h, and the door interlock system is not engaged, and the train has been in motion for more than 5 seconds, then trigger the emergency brake. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): train in motion -> Signal: train_in_motion, Operator: ==, Value: true.
- Cond 2 (Numerical): speed > 20 km/h -> Signal: train_speed, Operator: >, Value: 20, Unit: km/h.
- Cond 3 (Boolean): door interlock not engaged -> Signal: door_interlock_engaged, Operator: ==,... | <reqtable>
<requirement>
<Summary>Trigger emergency brake if doors are not locked and train has been in motion for more than 5 seconds</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>train_in_motion</Signal>
<Ope... |
Translate the following requirement into a formal AST XML:
If the 5G network is in normal operation, the number of active users exceeds 10,000, the bandwidth usage is more than 80%, and the error rate is less than 0.1% or the jitter is less than 10 milliseconds, and the network stability index is greater than 95, then ... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): normal operation mode -> Signal: normal_operation_mode, Operator: ==, Value: true.
- Cond 2 (Numerical): active users > 10,000 -> Signal: active_users, Operator: >, Value: 10000.
- Cond 3 (Numerical): bandwidth usage > 80% -> Signal: bandwidth_usage, Operator: >, ... | <reqtable>
<requirement>
<Summary>Activate network optimization protocols under high load and low error rate or low jitter and high stability</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>normal_operation_mode</Signal>
... |
Translate the following requirement into a formal AST XML:
If the primary leader node fails, and the secondary leader node is not available, and the system detects a network partition, or if the number of nodes in the cluster is less than 3 for more than 5 seconds, then initiate a new leader election process. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): primary leader node fails -> Signal: primary_leader_status, Operator: ==, Value: false.
- Cond 2 (Boolean): secondary leader node is not available -> Signal: secondary_leader_status, Operator: ==, Value: false.
- Cond 3 (Boolean): network partition detected -> Sig... | <reqtable>
<requirement>
<Summary>Initiate leader election on primary and secondary leader failure, network partition, or low node count</Summary>
<Precondition>
<Logic operator="OR">
<Logic operator="AND">
<Condition>
<Signal>p... |
Translate the following requirement into a formal AST XML:
If the primary server fails, and the secondary server fails within 5 seconds, or the tertiary server is not available, and the number of active deployments is more than 10, then initiate a rollback to the last stable version. | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): primary server failure -> Signal: primary_server_status, Operator: ==, Value: false.
- Cond 2 (Boolean): secondary server failure -> Signal: secondary_server_status, Operator: ==, Value: false.
- Cond 3 (Boolean): tertiary server not available -> Signal: tertiary_... | <reqtable>
<requirement>
<Summary>Initiate rollback if multiple server failures occur or tertiary server is unavailable with high deployment activity</Summary>
<Precondition>
<Logic operator="OR">
<Logic operator="AND">
<Condition>
... |
Translate the following requirement into a formal AST XML:
If the surgical robot is in an active operation, the force feedback sensor detects a force greater than 10 N, and either the secondary force sensor is not providing data or the primary force sensor is malfunctioning, then the system should disable the force fee... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): active operation -> Signal: operation_mode, Operator: ==, Value: true.
- Cond 2 (Numerical): force > 10 N -> Signal: primary_force_sensor, Operator: >, Value: 10, Unit: N.
- Cond 3 (Boolean): secondary force sensor not providing data -> Signal: secondary_force_sen... | <reqtable>
<requirement>
<Summary>Disable force feedback if primary force exceeds limit and secondary or primary sensors are faulty</Summary>
<Precondition>
<Logic operator="AND">
<Condition>
<Signal>operation_mode</Signal>
<Operato... |
Translate the following requirement into a formal AST XML:
If the virtual machine is running, the memory usage is above 90%, and the ballooning process is active, and the number of active processes is greater than 50, or if the memory usage is between 80% and 90% and the ballooning process has been active for more than... | <think>
Step 1: Extract Conditions.
- Cond 1 (Boolean): VM is running -> Signal: vm_running, Operator: ==, Value: true.
- Cond 2 (Numerical): memory usage > 90% -> Signal: memory_usage, Operator: >, Value: 90, Unit: %.
- Cond 3 (Boolean): ballooning process is active -> Signal: ballooning_active, Operator: ==, Value: t... | <reqtable>
<requirement>
<Summary>Trigger memory deflation based on high memory usage, active processes, and ballooning activity</Summary>
<Precondition>
<Logic operator="OR">
<Logic operator="AND">
<Condition>
<Signal>vm_runnin... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 7