MCPcopy Create free account

hub / github.com/alphadl/AdaRubrics / functions

Functions213 in github.com/alphadl/AdaRubrics

Methodgenerate_text
( self, messages: list[dict[str, str]], *, temperature: float = 0.0, m
adarubric/llm/openai_client.py:166
Methodgenerate_text
( self, messages: list[dict[str, str]], *, temperature: float = 0.0, m
tests/conftest.py:59
Methodis_reliable
Whether global alpha indicates good reliability (>= 0.80).
adarubric/analysis/reliability.py:117
Methodis_tentative
Whether global alpha is in the tentative range [0.67, 0.80).
adarubric/analysis/reliability.py:122
Methodmean_margin
(self)
adarubric/reward/scalers.py:204
Methodmean_score
(self)
adarubric/pipeline.py:83
Methodmean_score
(self)
adarubric/core/models.py:160
Functionmock_llm_client
(mock_rubric_response: str)
tests/conftest.py:291
Functionmock_rubric_response
(sample_rubric: DynamicRubric)
tests/conftest.py:286
Methodrun_sync
Synchronous wrapper for :meth:`run`. Creates a new event loop per call. Prefer :meth:`run` in async code to reuse an existing loop (e
adarubric/pipeline.py:405
Functionsample_evaluation
(sample_rubric: DynamicRubric)
tests/conftest.py:208
Functionsample_rubric
()
tests/conftest.py:95
Functionsample_task
()
tests/conftest.py:77
Functionsample_trajectory
()
tests/conftest.py:171
Methodscore_gap
(self)
adarubric/reward/scalers.py:189
Methodsummary
(self)
adarubric/analysis/reliability.py:126
Methodsurvival_rate
(self)
adarubric/pipeline.py:77
Methodtest_all_must_pass
(self)
tests/test_filter.py:148
Methodtest_all_same
(self)
tests/test_evaluator.py:156
Methodtest_basic_assignment
(self)
tests/test_reward.py:127
Methodtest_boundary_inclusive
(self)
tests/test_filter.py:55
Methodtest_clamping
(self)
tests/test_reward.py:88
Methodtest_confidence_weighting
(self)
tests/test_evaluator.py:99
Methodtest_custom_dimension_thresholds
(self)
tests/test_filter.py:117
Methodtest_custom_range
(self)
tests/test_reward.py:82
Methodtest_default_eval_max_tokens_resolution
(self)
tests/test_config.py:66
Methodtest_default_range
(self)
tests/test_reward.py:75
Methodtest_default_rubric_max_tokens_resolution
(self)
tests/test_config.py:59
Methodtest_default_token_helpers_without_config
(self)
tests/test_config.py:73
Methodtest_defaults
(self)
tests/test_config.py:52
Methodtest_dimension_names
(self, sample_rubric: DynamicRubric)
tests/test_models.py:121
Methodtest_duplicate_step_ids_rejected
(self)
tests/test_models.py:73
Methodtest_empty
(self)
tests/test_reward.py:122
Methodtest_empty_action_rejected
(self)
tests/test_models.py:49
Methodtest_empty_dimension_scores_fail
(self)
tests/test_filter.py:126
Methodtest_empty_filters_rejected
(self)
tests/test_filter.py:164
Methodtest_empty_input
(self)
tests/test_filter.py:82
Methodtest_empty_instruction_rejected
(self)
tests/test_models.py:24
Methodtest_empty_scores_mean
(self)
tests/test_models.py:149
Methodtest_empty_steps
(self)
tests/test_reward.py:147
Methodtest_empty_steps
(self)
tests/test_evaluator.py:110
Methodtest_empty_steps_rejected
(self)
tests/test_models.py:69
Methodtest_env_override
(self, tmp_path, monkeypatch)
tests/test_config.py:77
Methodtest_equal_scores
(self)
tests/test_evaluator.py:119
Methodtest_export
(self, tmp_dir)
tests/test_io.py:96
Methodtest_extra_criteria_key_rejected
(self)
tests/test_models.py:111
Methodtest_fails_on_low_dimension
(self)
tests/test_filter.py:106
Functiontest_fenced_json_block
()
tests/test_json_extract.py:8
Functiontest_few_shot_excluded
(mock_llm_client: MockLLMClient, sample_task: TaskDescription)
tests/test_generator.py:51
Functiontest_few_shot_included_in_prompt
( mock_llm_client: MockLLMClient, sample_task: TaskDescription )
tests/test_generator.py:41
Methodtest_filters_below_threshold
(self)
tests/test_filter.py:47
Methodtest_final_step_bonus
(self)
tests/test_reward.py:134
Methodtest_fixed_baseline
(self)
tests/test_reward.py:106
Methodtest_from_json
(self, tmp_path)
tests/test_config.py:12
Methodtest_full_creation
(self)
tests/test_models.py:28
Functiontest_full_pipeline
( mock_llm_client: MockLLMClient, sample_task: TaskDescription, sample_trajectory: Trajectory, )
tests/test_pipeline.py:18
Functiontest_generate_respects_max_tokens
( mock_llm_client: MockLLMClient, sample_task: TaskDescription, )
tests/test_generator.py:59
Functiontest_generate_rubric
(mock_llm_client: MockLLMClient, sample_task: TaskDescription)
tests/test_generator.py:15
Functiontest_generate_rubric_fixes_task_id
(mock_llm_client: MockLLMClient)
tests/test_generator.py:24
Functiontest_generate_rubric_llm_failure
()
tests/test_generator.py:32
Methodtest_generates_pairs
(self)
tests/test_reward.py:153
Methodtest_get_dimension
(self, sample_rubric: DynamicRubric)
tests/test_models.py:129
Methodtest_get_nonexistent_dimension
(self, sample_rubric: DynamicRubric)
tests/test_models.py:134
Methodtest_invalid_margin
(self)
tests/test_reward.py:186
Methodtest_invalid_range
(self)
tests/test_reward.py:93
Methodtest_invalid_threshold_rejected
(self)
tests/test_filter.py:60
Functiontest_llm_evaluator_max_tokens
( mock_llm_client: MockLLMClient, sample_trajectory, sample_rubric, )
tests/test_evaluator.py:169
Methodtest_margin_filtering
(self)
tests/test_reward.py:166
Methodtest_max_pairs_per_chosen
(self)
tests/test_reward.py:172
Methodtest_mean_baseline
(self)
tests/test_reward.py:99
Methodtest_mean_score
(self)
tests/test_models.py:139
Methodtest_median_baseline
(self)
tests/test_reward.py:112
Methodtest_min_survivors
(self)
tests/test_filter.py:77
Methodtest_minimal_creation
(self)
tests/test_models.py:19
Methodtest_missing_criteria_key_rejected
(self)
tests/test_models.py:103
Methodtest_multi_step_averaging
(self)
tests/test_evaluator.py:74
Functiontest_nested_braces
()
tests/test_json_extract.py:17
Methodtest_no_agreement
(self)
tests/test_analysis.py:23
Methodtest_non_monotonic_step_ids_rejected
(self)
tests/test_models.py:83
Methodtest_non_uniform_weights
(self)
tests/test_evaluator.py:63
Methodtest_normalize
(self)
tests/test_reward.py:140
Methodtest_partial_agreement
(self)
tests/test_analysis.py:29
Methodtest_penalizes_low_outlier
(self)
tests/test_evaluator.py:130
Methodtest_perfect_agreement
(self)
tests/test_analysis.py:12
Functiontest_pipeline_filtering
( mock_llm_client: MockLLMClient, sample_task: TaskDescription, sample_trajectory: Trajectory, )
tests/test_pipeline.py:54
Functiontest_pipeline_generate_rubric_uses_config_max_tokens
( mock_llm_client: MockLLMClient, sample_task: TaskDescription, )
tests/test_pipeline.py:85
Functiontest_pipeline_run_passes_eval_max_tokens
( mock_llm_client: MockLLMClient, sample_task: TaskDescription, sample_trajectory: Trajectory,
tests/test_pipeline.py:103
Functiontest_pipeline_with_prebuilt_rubric
( mock_llm_client: MockLLMClient, sample_task: TaskDescription, sample_trajectory: Trajectory,
tests/test_pipeline.py:36
Functiontest_plain_object
()
tests/test_json_extract.py:13
Methodtest_recency_decay
(self)
tests/test_evaluator.py:87
Methodtest_rejects_missing_rubric_dimension_score
(self)
tests/test_filter.py:137
Methodtest_reliability_thresholds
(self)
tests/test_analysis.py:63
Methodtest_roundtrip
(self, tmp_dir)
tests/test_io.py:65
Methodtest_roundtrip
(self, tmp_dir)
tests/test_io.py:86
Functiontest_run_requires_non_empty_trajectories
( mock_llm_client: MockLLMClient, sample_task: TaskDescription, )
tests/test_pipeline.py:71
Methodtest_score_for
(self)
tests/test_models.py:153
Methodtest_single_item_returns_nan
(self)
tests/test_analysis.py:40
Methodtest_single_rater_returns_nan
(self)
tests/test_analysis.py:45
Methodtest_skips_malformed_lines
(self, tmp_dir)
tests/test_io.py:74
Methodtest_takes_minimum
(self)
tests/test_evaluator.py:145
← previousnext →101–200 of 213, ranked by callers