MCPcopy Create free account

hub / github.com/microsoft/fara / functions

Functions650 in github.com/microsoft/fara

Functionrun_evaluate_benchmark
(args)
webeval/src/webeval/cli.py:33
Methodscore_single_screenshot
(screenshot_idx: int, screenshot: Image.Image)
webeval/src/webeval/rubric_agent/mm_rubric_agent.py:1465
Methodset_captcha_solved_callback
Set callback to be called when captcha status changes.
src/fara/browser/browser_bb.py:113
Methodsort_key
(fp: Dict)
webeval/src/webeval/rubric_agent/verifier_agent.py:641
Methodstart_run
(self, _)
webeval/scripts/dummy_workspace.py:5
Methodsum_recursive
(items)
webeval/src/webeval/rubric_agent/mm_rubric_agent.py:2954
Methodsupports_json
(self)
webeval/src/webeval/oai_clients/graceful_client.py:139
Methodsupports_json
(self)
webeval/src/webeval/oai_clients/wrapper.py:155
Methodsupports_json
(self)
webeval/tests/test_rubric_agent_imports.py:96
Functiontest_benchmark_loads_from_local_tsv_fixture
``load_dataset()`` should consume a TSV placed directly in ``data_dir`` without hitting Hugging Face.
webeval/tests/test_webtailbench_dataset.py:52
Functiontest_client_wrapper_from_config_returns_chat_client
Backwards-compat alias for callers that still use ``ClientWrapper.from_config``.
webeval/tests/test_oai_clients.py:272
Functiontest_create_completion_client_from_env_round_trip
The webeval.utils factory delegates to the new oai_clients module.
webeval/tests/test_oai_clients.py:286
Functiontest_create_datapoint_from_example_trajectory
End-to-end: load the checked-in example trajectory via ``Trajectory.from_folder`` and convert it with ``create_datapoint``. Intentionally pas
webeval/tests/test_shared_data_adapter.py:111
Functiontest_create_datapoint_handles_missing_init_url
Task_data without ``init_url`` should default to an empty string rather than crashing — WebTailBench TSV does not ship init_url.
webeval/tests/test_shared_data_adapter.py:98
Functiontest_create_datapoint_normalizes_screenshots_and_actions
(tmp_path)
webeval/tests/test_shared_data_adapter.py:70
Functiontest_error_taxonomy_loader_parses_categories
The error-taxonomy loader must produce a non-empty taxonomy block plus the summary table the failure-point prompt expects, and must be able to
webeval/tests/test_verify_trajectories.py:554
Functiontest_find_trajectory_dirs_picks_up_example
The example trajectory satisfies the discovery predicate (``web_surfer.log`` + ``*_final_answer.json``).
webeval/tests/test_verify_trajectories.py:68
Functiontest_from_folder_loads_example_trajectory
Real trajectory must load, parse events, and resolve screenshot paths relative to the trajectory directory.
webeval/tests/test_trajectory_loading.py:57
Functiontest_from_folder_returns_none_on_missing_log
``Trajectory.from_folder`` swallows exceptions and returns None; an empty dir has no web_surfer.log, so the call must not raise.
webeval/tests/test_trajectory_loading.py:49
Functiontest_graceful_retry_from_path_filters_by_eval_model
(tmp_path)
webeval/tests/test_oai_clients.py:78
Functiontest_graceful_retry_terminates_on_persistent_auth_error
Regression: a pool that only ever raises AuthenticationError must make create() *terminate* (raising the last error), not spin forever. Pre-f
webeval/tests/test_oai_clients.py:166
Functiontest_graceful_retry_terminates_when_all_endpoints_blocklisted
A pool that only raises NotFoundError must terminate once every endpoint is blocklisted (next_client() raises), never looping forever.
webeval/tests/test_oai_clients.py:206
Functiontest_hf_download_pulls_rubrics_file
Live HF download: must pull ``WebTailBench-v1-rubrics.tsv`` and every loaded example must carry a ``precomputed_rubric``.
webeval/tests/test_webtailbench_dataset.py:180
Functiontest_load_webtailbench_tasks_parses_rubric
The WebTailBench TSV loader must pull ``id``, ``task_summary``, ``init_url``, and JSON-decode ``precomputed_rubric``.
webeval/tests/test_verify_trajectories.py:83
Functiontest_loader_parses_precomputed_rubric
``WebTailBench-v1-rubrics.tsv`` carries a JSON ``precomputed_rubric`` column. The loader must parse it and stash it on each example so the Uni
webeval/tests/test_webtailbench_dataset.py:90
Functiontest_message_to_openai_format_multimodal
()
webeval/tests/test_oai_clients.py:53
Functiontest_message_to_openai_format_text_only
()
webeval/tests/test_oai_clients.py:40
Functiontest_mm_rubric_agent_accepts_client_instance
Passing a pre-built ChatCompletionClient should satisfy config validation.
webeval/tests/test_rubric_agent_imports.py:89
Functiontest_mm_rubric_agent_config_requires_clients
MMRubricAgentConfig needs at least one of the two clients or a config dict — construction should assert when both are missing.
webeval/tests/test_rubric_agent_imports.py:80
Functiontest_oai_clients_does_not_pull_autogen
()
webeval/tests/test_oai_clients.py:28
Functiontest_openai_wrapper_create_round_trip
Stub the OpenAI client and verify .create() returns a CreateResult with text content and updated usage.
webeval/tests/test_oai_clients.py:236
Functiontest_precomputed_rubric_threads_into_datapoint
End-to-end: rubric column → example dict → DataPoint.task.metadata. This is the contract the Universal Verifier relies on: ``MMRubricAgent._e
webeval/tests/test_webtailbench_dataset.py:139
Functiontest_repr_describes_screenshots_and_actions
``repr(Trajectory)`` reports the counts debugging scripts rely on.
webeval/tests/test_trajectory_loading.py:94
Functiontest_request_usage_addition
()
webeval/tests/test_oai_clients.py:67
Functiontest_required_trajectory_files_present
The fixture dir must contain the file set the current webeval pipeline produces — ``verify_trajectories.find_trajectory_dirs`` keys off ``web_
webeval/tests/test_trajectory_loading.py:29
Functiontest_rubric_agent_imports_are_self_contained
The ``webeval.rubric_agent`` package should import cleanly and every exported class should resolve to a module inside this package (i.e. no ac
webeval/tests/test_rubric_agent_imports.py:18
Functiontest_run_one_end_to_end_with_stubbed_agent
``_run_one`` against a copy of the example trajectory must: * Find the task in ``_GLOBAL_TASKS``. * Load the Trajectory + convert to DataPoin
webeval/tests/test_verify_trajectories.py:280
Functiontest_run_one_reports_no_task_data
If the trajectory id isn't in ``_GLOBAL_TASKS`` the runner must fail soft with ``status='no_task_data'``, not raise.
webeval/tests/test_verify_trajectories.py:395
Functiontest_should_include_model_exact_match
()
webeval/tests/test_oai_clients.py:126
Functiontest_verify_trajectories_live_llm
Actually call the real MMRubricAgent against the example trajectory. Skips unless env vars below are set: * ``FARA_VERIFY_LIVE_TEST=1`` (opt-
webeval/tests/test_verify_trajectories.py:466
Functiontest_wrapper_accepts_openai_dicts_without_conversion
The rubric agent emits raw OpenAI dicts. The wrappers' ``_to_oai_messages`` must pass dicts through unchanged so no adapter is needed.
webeval/tests/test_rubric_agent_imports.py:52
Methodtraj_path
(self)
webeval/scripts/analyze_eval_results/artifacts.py:78
Methodurl
(self)
webeval/scripts/analyze_eval_results/artifacts.py:33
Methodusage
(self)
webeval/src/webeval/rubric_agent/data_point.py:76
Methodvalue
(self)
src/fara/qwen_helpers/schema.py:121
Methodverify
( self, rubric_dict: Dict[str, Any], outcome_dict: Dict[str, Any], input_dict:
webeval/tests/test_verify_trajectories.py:226
Functionverify_conditional_totals
Verify that total_max_points and total_earned_points correctly account for conditional criteria. Rules: - Non-conditional criteria: Always co
webeval/src/webeval/rubric_agent/utils.py:87
Functionverify_mod
()
webeval/tests/test_verify_trajectories.py:49
Functionwrapper
(result)
webeval/src/webeval/core.py:661
Functionwrapper
(*args, **kwargs)
src/fara/browser/playwright_controller.py:59
← previous601–650 of 650, ranked by callers