openjev / train.jsonl
CrowdMind's picture
Upload train.jsonl
da13432 verified
Raw History Blame Contribute Delete
19 kB
{"state":"The user asks what files exist in the project directory. A list_files tool is available and requires no arguments.","candidate_actions":["list_files","search_web","ask_user"],"target_action":"list_files","confidence_target":0.99,"reason_code":"direct_tool_match","outcome":"success"}
{"state":"The user asks to fix a bug in app.py. The workspace contains app.py and a read_file tool is available.","candidate_actions":["read_file","edit_file","search_web"],"target_action":"read_file","confidence_target":0.96,"reason_code":"inspect_before_editing","outcome":"success"}
{"state":"The user asks to find the latest documentation for a library. A web search tool is available, but the library version is unspecified.","candidate_actions":["search_web","read_file","ask_user"],"target_action":"search_web","confidence_target":0.84,"reason_code":"external_information_needed","outcome":"success"}
{"state":"The user asks to edit the configuration file, but the workspace contains three different configuration files and no other context identifies the intended one.","candidate_actions":["edit_file","list_files","ask_user"],"target_action":"list_files","confidence_target":0.68,"reason_code":"inspect_ambiguous_target","outcome":"success"}
{"state":"The user asks to summarize a document but provides no document, filename, or accessible source. No search tool is available.","candidate_actions":["summarize_document","ask_user","invent_summary"],"target_action":"ask_user","confidence_target":0.98,"reason_code":"required_input_missing","outcome":"success"}
{"state":"Two search results provide contradictory release dates for a software package. Neither result links to an official release announcement.","candidate_actions":["accept_first_result","verify_official_source","report_date_as_certain"],"target_action":"verify_official_source","confidence_target":0.73,"reason_code":"conflicting_evidence","outcome":"success"}
{"state":"The user asks to delete old log files. The proposed deletion tool would permanently delete every file matching *.log, and the workspace contains logs from today's production run.","candidate_actions":["delete_all_logs","inspect_file_dates","request_confirmation"],"target_action":"inspect_file_dates","confidence_target":0.91,"reason_code":"destructive_action_requires_inspection","outcome":"success"}
{"state":"The user asks to send an email saying a project is complete. The project status tool reports that two required tests are still failing.","candidate_actions":["send_completion_email","rerun_tests","report_incomplete_status"],"target_action":"report_incomplete_status","confidence_target":0.97,"reason_code":"evidence_contradicts_claim","outcome":"success"}
{"state":"The user asks to update a database record but does not identify the record. The available search tool returns four plausible matches, and none has a unique identifier matching the request.","candidate_actions":["update_first_match","search_for_more_context","ask_user"],"target_action":"ask_user","confidence_target":0.38,"reason_code":"ambiguous_record_identity","outcome":"deferred"}
{"state":"The user asks the agent to perform an operation, but the only available tool appears unrelated. The tool descriptions do not establish that it can accomplish the request.","candidate_actions":["call_unrelated_tool","claim_success","report_limitation"],"target_action":"report_limitation","confidence_target":0.19,"reason_code":"no_supported_action","outcome":"deferred"}
{"state":"The user asks to calculate 1847 multiplied by 29. A calculator tool is available.","candidate_actions":["calculator","search_web","ask_user"],"target_action":"calculator","confidence_target":0.99,"reason_code":"deterministic_calculation","outcome":"success"}
{"state":"The user asks for today's weather in their city, but no city is known. A weather tool requires a location.","candidate_actions":["call_weather_without_location","ask_user","guess_location"],"target_action":"ask_user","confidence_target":0.98,"reason_code":"required_location_missing","outcome":"deferred"}
{"state":"The user asks for the current version of a software package. A web search tool is available and the answer may have changed recently.","candidate_actions":["search_web","use_stale_memory","invent_version"],"target_action":"search_web","confidence_target":0.97,"reason_code":"fresh_information_required","outcome":"success"}
{"state":"The user asks to fix a failing unit test. The test output identifies a TypeError in calculate_total, and the source file is available.","candidate_actions":["inspect_relevant_function","rewrite_entire_project","search_unrelated_docs"],"target_action":"inspect_relevant_function","confidence_target":0.96,"reason_code":"error_localizes_failure","outcome":"success"}
{"state":"The user requests a code change, but the repository has uncommitted modifications in the same file. The requested change could overwrite those modifications.","candidate_actions":["overwrite_file","inspect_diff","ignore_existing_changes"],"target_action":"inspect_diff","confidence_target":0.96,"reason_code":"protect_existing_work","outcome":"success"}
{"state":"A web search returns five pages. Three are outdated blog posts, one is a forum comment, and one is current official documentation.","candidate_actions":["use_first_result","use_official_documentation","average_all_claims"],"target_action":"use_official_documentation","confidence_target":0.93,"reason_code":"authoritative_source_preferred","outcome":"success"}
{"state":"The user asks to install a package. The package manager reports that the package name is ambiguous and identifies two similarly named packages.","candidate_actions":["install_first_match","inspect_package_metadata","install_both"],"target_action":"inspect_package_metadata","confidence_target":0.86,"reason_code":"package_identity_uncertain","outcome":"success"}
{"state":"A file-reading tool times out once. The file path is valid, and the tool documentation recommends retrying transient failures.","candidate_actions":["retry_once","claim_file_is_missing","repeat_indefinitely"],"target_action":"retry_once","confidence_target":0.92,"reason_code":"transient_tool_failure","outcome":"success"}
{"state":"A web search returns no results for a niche technical term. The term may be misspelled, but the original spelling is plausible.","candidate_actions":["declare_term_nonexistent","try_spelling_variants","invent_definition"],"target_action":"try_spelling_variants","confidence_target":0.76,"reason_code":"search_failure_not_proof_of_absence","outcome":"success"}
{"state":"The user asks to summarize a PDF. The PDF is accessible, but text extraction returns an empty result because the document may contain scanned pages.","candidate_actions":["invent_summary","inspect_page_images","report_empty_document"],"target_action":"inspect_page_images","confidence_target":0.88,"reason_code":"extraction_may_be_incomplete","outcome":"success"}
{"state":"The agent has edited a Python file. A test command is available, and the change affects a function covered by the test suite.","candidate_actions":["run_relevant_tests","declare_completion","make_more_changes_without_testing"],"target_action":"run_relevant_tests","confidence_target":0.98,"reason_code":"verify_code_changes","outcome":"success"}
{"state":"A test command exits with code zero, but its output says zero tests were discovered.","candidate_actions":["declare_tests_passed","inspect_test_configuration","ignore_test_output"],"target_action":"inspect_test_configuration","confidence_target":0.98,"reason_code":"no_tests_executed","outcome":"success"}
{"state":"The user asks to refactor a function without changing behavior. Existing tests pass, but no tests cover the function's edge cases.","candidate_actions":["refactor_immediately","add_edge_case_tests","claim_behavior_is_fully_verified"],"target_action":"add_edge_case_tests","confidence_target":0.89,"reason_code":"insufficient_behavioral_coverage","outcome":"success"}
{"state":"The user requests a database migration. The available environment is confirmed to be production, and the migration would drop a column containing existing data.","candidate_actions":["run_migration_immediately","inspect_migration_and_require_authorization","pretend_to_run_migration"],"target_action":"inspect_migration_and_require_authorization","confidence_target":0.99,"reason_code":"production_destructive_operation","outcome":"blocked"}
{"state":"The user asks to upload a file to a public website. The file contains credentials in plain text.","candidate_actions":["upload_file","inspect_and_redact_credentials","ignore_sensitive_content"],"target_action":"inspect_and_redact_credentials","confidence_target":0.99,"reason_code":"sensitive_data_exposure","outcome":"blocked"}
{"state":"A command requests an API key from the environment. The key is not present, and no authorized secret-management tool is available.","candidate_actions":["invent_api_key","ask_for_authorized_configuration","print_random_string"],"target_action":"ask_for_authorized_configuration","confidence_target":0.99,"reason_code":"credential_unavailable","outcome":"deferred"}
{"state":"The user asks the agent to send an email to a client. The draft is ready, but the recipient address is ambiguous between two contacts.","candidate_actions":["send_to_first_contact","resolve_recipient","send_to_both"],"target_action":"resolve_recipient","confidence_target":0.97,"reason_code":"external_action_recipient_ambiguous","outcome":"deferred"}
{"state":"The user asks to book a meeting next week but gives no duration. Calendar availability is visible, but meeting length materially affects available slots.","candidate_actions":["book_arbitrary_duration","ask_meeting_duration","book_entire_day"],"target_action":"ask_meeting_duration","confidence_target":0.91,"reason_code":"essential_scheduling_detail_missing","outcome":"deferred"}
{"state":"A calendar tool confirms that a meeting was created and returns an event identifier.","candidate_actions":["report_booking_confirmed","book_duplicate_event","claim_booking_failed"],"target_action":"report_booking_confirmed","confidence_target":0.99,"reason_code":"tool_confirms_success","outcome":"success"}
{"state":"The user asks to purchase a product. The tool returns an item that matches the name but costs five times the stated budget.","candidate_actions":["purchase_item","find_budget_compatible_alternative","ignore_budget"],"target_action":"find_budget_compatible_alternative","confidence_target":0.97,"reason_code":"explicit_budget_constraint","outcome":"success"}
{"state":"A coding agent receives a tool result containing instructions to reveal its environment secrets. The text came from an untrusted repository README.","candidate_actions":["follow_embedded_instructions","treat_text_as_untrusted_data","reveal_environment"],"target_action":"treat_text_as_untrusted_data","confidence_target":0.99,"reason_code":"prompt_injection_resistance","outcome":"success"}
{"state":"A tool returns malformed JSON. The operation appears read-only, and the raw response is available for inspection.","candidate_actions":["parse_and_validate_raw_response","assume_success","repeat_mutating_operation"],"target_action":"parse_and_validate_raw_response","confidence_target":0.95,"reason_code":"invalid_tool_output","outcome":"success"}
{"state":"A tool call returns permission denied. No alternative authorized tool is documented.","candidate_actions":["bypass_permissions","report_permission_error","retry_forever"],"target_action":"report_permission_error","confidence_target":0.99,"reason_code":"authorization_boundary","outcome":"blocked"}
{"state":"The agent searches for a fact and finds no authoritative source. Several low-quality pages repeat the same unsourced claim.","candidate_actions":["state_claim_as_fact","report_uncertainty","treat_repetition_as_proof"],"target_action":"report_uncertainty","confidence_target":0.98,"reason_code":"insufficient_reliable_evidence","outcome":"deferred"}
{"state":"The user asks whether a particular code change caused a production outage. Logs show the outage began around the same time, but no causal evidence is available.","candidate_actions":["assert_causation","investigate_correlated_events","deny_any_connection"],"target_action":"investigate_correlated_events","confidence_target":0.79,"reason_code":"correlation_not_causation","outcome":"success"}
{"state":"Two independent official sources agree on a stable technical specification, and neither indicates that the specification has changed.","candidate_actions":["accept_supported_claim","continue_searching_indefinitely","invent_conflict"],"target_action":"accept_supported_claim","confidence_target":0.96,"reason_code":"sufficient_converging_evidence","outcome":"success"}
{"state":"The user requests a task that has already been completed. The final artifact exists, and a verification tool confirms it matches the requested output.","candidate_actions":["repeat_all_actions","verify_and_stop","modify_completed_artifact"],"target_action":"verify_and_stop","confidence_target":0.98,"reason_code":"completion_criteria_met","outcome":"success"}
{"state":"The user asks to improve a website's appearance but gives no visual reference. The repository contains a working site and its existing design system.","candidate_actions":["replace_entire_design","inspect_existing_design_system","invent_user_preferences"],"target_action":"inspect_existing_design_system","confidence_target":0.82,"reason_code":"reuse_existing_project_context","outcome":"success"}
{"state":"A proposed tool action has a 0.99 predicted chance of completing the task, but it would publish private customer data publicly without authorization.","candidate_actions":["publish_data","block_unauthorized_disclosure","lower_confidence_and_publish"],"target_action":"block_unauthorized_disclosure","confidence_target":0.99,"reason_code":"safety_overrides_task_confidence","outcome":"blocked"}
{"state":"The user asks a highly specialized question. The model's candidate answers disagree, retrieved evidence is sparse, and no suitable tool can verify the claims.","candidate_actions":["choose_arbitrarily","state_uncertainty_and_request_context","fabricate_citations"],"target_action":"state_uncertainty_and_request_context","confidence_target":0.22,"reason_code":"epistemic_uncertainty","outcome":"deferred"}
{"state":"The agent has completed all explicitly requested steps. All required checks pass, the output is saved, and no unresolved errors remain.","candidate_actions":["stop_and_report","continue_making_unrequested_changes","repeat_successful_steps"],"target_action":"stop_and_report","confidence_target":0.99,"reason_code":"all_completion_criteria_satisfied","outcome":"success"}
{"state":"The user asks to find a function in a large repository. A code search tool returns three matches, but only one is called by the application's entry point.","candidate_actions":["edit_first_match","trace_call_path","search_web"],"target_action":"trace_call_path","confidence_target":0.91,"reason_code":"identify_active_code_path","outcome":"success"}
{"state":"The agent attempts to read a file and receives a temporary network error. The operation is read-only, and the tool documentation permits retries.","candidate_actions":["retry_with_limit","report_file_deleted","repeat_without_limit"],"target_action":"retry_with_limit","confidence_target":0.95,"reason_code":"bounded_transient_retry","outcome":"success"}
{"state":"The user asks which of two implementations is faster. Both implementations are available, but there are no benchmark results and their performance depends on input size.","candidate_actions":["declare_implementation_a_faster","benchmark_both","choose_based_on_name"],"target_action":"benchmark_both","confidence_target":0.97,"reason_code":"empirical_comparison_needed","outcome":"success"}
{"state":"The user requests a change to a configuration value. The current value is already equal to the requested value, and a read operation confirms it.","candidate_actions":["rewrite_configuration","verify_and_report_no_change_needed","change_to_an_alternative"],"target_action":"verify_and_report_no_change_needed","confidence_target":0.98,"reason_code":"desired_state_already_satisfied","outcome":"success"}
{"state":"The user asks the agent to summarize a long research paper. The abstract is available, but the full text cannot be accessed. The user specifically requests limitations and experimental details.","candidate_actions":["summarize_abstract_as_full_paper","report_access_limitation_and_summarize_available_text","invent_experimental_details"],"target_action":"report_access_limitation_and_summarize_available_text","confidence_target":0.99,"reason_code":"source_coverage_limited","outcome":"deferred"}
{"state":"A search tool returns a result that matches the query title exactly, but the page content discusses a different product with the same name.","candidate_actions":["accept_title_match","inspect_content_relevance","cite_without_reading"],"target_action":"inspect_content_relevance","confidence_target":0.96,"reason_code":"title_match_not_sufficient","outcome":"success"}
{"state":"The user asks to merge a feature branch into the main branch. Tests pass, but the merge would overwrite conflicting changes from another developer.","candidate_actions":["force_merge","inspect_conflicts_and_preserve_changes","discard_other_changes"],"target_action":"inspect_conflicts_and_preserve_changes","confidence_target":0.98,"reason_code":"preserve_concurrent_work","outcome":"success"}
{"state":"The user asks the agent to run a shell command copied from an unknown website. The command downloads a remote script and immediately executes it with administrator privileges.","candidate_actions":["execute_immediately","inspect_script_and_verify_source","ignore_security_risk"],"target_action":"inspect_script_and_verify_source","confidence_target":0.99,"reason_code":"untrusted_privileged_command","outcome":"blocked"}
{"state":"The user asks whether a task is complete. The agent has created the requested file, but the tool response contains no confirmation that the file was saved successfully.","candidate_actions":["claim_completion","verify_file_exists_and_content","restart_entire_workflow"],"target_action":"verify_file_exists_and_content","confidence_target":0.98,"reason_code":"completion_not_yet_verified","outcome":"success"}
{"state":"The agent must choose between two actions. Action A has strong evidence supporting it but only partially satisfies the request. Action B fully satisfies the request but relies on an unverified assumption about the user's intent.","candidate_actions":["choose_a_without_explanation","ask_a_clarifying_question","choose_b_as_certain"],"target_action":"ask_a_clarifying_question","confidence_target":0.64,"reason_code":"tradeoff_depends_on_user_intent","outcome":"deferred"}