MCPcopy Create free account

hub / github.com/elder-plinius/OBLITERATUS / functions

Functions1,841 in github.com/elder-plinius/OBLITERATUS

Methodsimple_models
Create two tiny 'models' with controllable logit distributions.
tests/test_heretic_eval.py:122
Methodssh_target
(self)
obliteratus/remote.py:51
Functionstrength_sweep
Sweep regularization from 0.0→1.0 and measure refusal rate + perplexity. Produces a dose-response curve: the fundamental plot for abliteration re
app.py:3039
Functionsupports_bfloat16
Whether *bfloat16* is natively supported on the target device.
obliteratus/device.py:236
Functionsupports_bitsandbytes
BitsAndBytes requires NVIDIA CUDA — check that.
obliteratus/device.py:286
Functionsupports_device_map_auto
Accelerate's device_map='auto' is only reliable on CUDA.
obliteratus/device.py:292
Functionsupports_float64
Whether *float64* is supported (MPS does NOT support it).
obliteratus/device.py:252
Methodtest_2d_direction_input
Should handle 2D direction input (unsqueezed).
tests/test_logit_lens.py:164
Methodtest_3d_activations_handled
Should handle (1, seq_len, hidden_dim) inputs.
tests/test_novel_analysis.py:464
Methodtest_abliterate_parser_with_method
Test that the abliterate subcommand parses method correctly.
tests/test_abliterate.py:1913
Methodtest_abliterator_creation
(self)
tests/test_breakthrough_modules.py:309
Methodtest_accumulation_profile
(self)
tests/test_causal_and_transfer.py:206
Methodtest_activation_steering_hook
Steering hooks should subtract refusal direction from hidden states.
tests/test_abliterate.py:1505
Methodtest_adaptive_weights
(self)
tests/test_telemetry.py:278
Methodtest_advanced_has_new_params
(self)
tests/test_abliterate_extended.py:85
Methodtest_advanced_multi_direction
(self)
tests/test_abliterate.py:141
Methodtest_aggregate_command_accepted
Verify the aggregate command parses without error.
tests/test_community.py:496
Methodtest_aggregate_command_missing_dir
Calling main(['aggregate']) with nonexistent dir should handle gracefully.
tests/test_cli.py:94
Methodtest_aggregate_results_importable
(self)
tests/test_community.py:516
Methodtest_aggressive_full_gabliteration
(self)
tests/test_abliterate.py:148
Methodtest_aggressive_has_new_params
(self)
tests/test_abliterate_extended.py:92
Methodtest_aggressive_method_new_params
(self)
tests/test_abliterate_extended.py:120
Methodtest_aligned_activations
Activations aligned with direction should have high projection.
tests/test_advanced_metrics.py:288
Methodtest_alignment_imprint_single_layer
Single layer should still return a result.
tests/test_edge_cases.py:154
Methodtest_alignment_type_estimate
(self)
tests/test_defense_robustness.py:68
Methodtest_all_equal_norms
When all norms are equal, should select all (or most).
tests/test_abliterate.py:1694
Methodtest_all_kl_values_non_negative
(self, models_and_tokenizer)
tests/test_heretic_eval.py:472
Methodtest_all_layers_entangled_keeps_some
If all cluster layers are entangled, don't skip all of them.
tests/test_informed_pipeline.py:356
Methodtest_all_new_modules_importable
(self)
tests/test_causal_and_transfer.py:525
Methodtest_all_new_modules_importable
(self)
tests/test_new_analysis_modules.py:650
Methodtest_all_new_modules_importable
(self)
tests/test_novel_analysis.py:659
Methodtest_all_non_empty
(self)
tests/test_heretic_eval.py:434
Methodtest_all_presets_registered
(self)
tests/test_study_presets.py:16
Methodtest_all_refusals
(self)
tests/test_heretic_eval.py:68
Methodtest_all_refusals
(self)
tests/test_advanced_metrics.py:31
Methodtest_all_refuse
(self)
tests/test_refusal_detection.py:86
Methodtest_all_refuse_tight_ci
(self)
tests/test_refusal_detection.py:124
Methodtest_all_strategies_registered
(self)
tests/test_strategies.py:59
Methodtest_all_zeros
(self)
tests/test_analysis_utils.py:28
Methodtest_allcaps_model_name
Case-insensitive matching should work for all-caps names.
tests/test_architecture_profiles.py:581
Methodtest_allows_all_valid_config_keys
Every key in the allowlist should pass through.
tests/test_telemetry.py:132
Methodtest_analysis_insights_filter_unknown_keys
(self)
tests/test_telemetry.py:561
Methodtest_analysis_insights_filtered
Only allowlisted analysis keys should pass through.
tests/test_telemetry.py:178
Methodtest_analyze_all_layers
(self)
tests/test_new_analysis_modules.py:215
Methodtest_analyze_basic
(self)
tests/test_breakthrough_modules.py:120
Methodtest_analyze_basic
(self)
tests/test_breakthrough_modules.py:313
Methodtest_analyze_direction
(self)
tests/test_new_analysis_modules.py:190
Methodtest_analyzer_creation
(self)
tests/test_breakthrough_modules.py:115
Methodtest_angular_drift_monotonic
Angular drift should be monotonically non-decreasing.
tests/test_analysis.py:232
Methodtest_anisotropic_correction
Non-isotropic BBP extension should increase the threshold.
tests/test_breakthrough_modules.py:596
Methodtest_apply_sparse_projection
Sparse projection should reduce refusal signal.
tests/test_novel_analysis.py:540
Methodtest_apply_zeros_dims
(self, handle)
tests/test_strategies.py:167
Methodtest_apply_zeros_ffn
(self, handle)
tests/test_strategies.py:146
Methodtest_apply_zeros_head
(self, handle)
tests/test_strategies.py:117
Methodtest_apply_zeros_layer
(self, handle)
tests/test_strategies.py:83
Methodtest_attention_fraction_bounded
(self)
tests/test_causal_and_transfer.py:182
Methodtest_auroc_bounded
(self)
tests/test_causal_and_transfer.py:314
Methodtest_auto_detects_unknown_router
Should auto-detect a router with unusual name via heuristic.
tests/test_abliterate.py:1986
Methodtest_auto_sparsity
(self)
tests/test_novel_analysis.py:605
Methodtest_auto_sparsity_apply
(self)
tests/test_novel_analysis.py:612
Methodtest_baselines
(self)
tests/test_module_imports.py:75
Methodtest_basic_analysis
Should produce a LogitLensResult with expected fields.
tests/test_logit_lens.py:59
Methodtest_basic_analysis
(self)
tests/test_novel_analysis.py:117
Methodtest_basic_analysis
(self)
tests/test_novel_analysis.py:354
Methodtest_basic_analysis
(self)
tests/test_novel_analysis.py:502
Methodtest_basic_counts
(self)
tests/test_telemetry.py:302
Methodtest_basic_decomposition
(self)
tests/test_causal_and_transfer.py:171
Methodtest_basic_detection
(self)
tests/test_novel_analysis.py:223
Methodtest_basic_disables_all_sota
Basic method should not enable SOTA techniques (no keys or False).
tests/test_abliterate.py:1157
Methodtest_basic_excise_details
(self)
tests/test_telemetry.py:258
Methodtest_basic_extraction
Whitened SVD should extract directions from activation differences.
tests/test_analysis.py:18
Methodtest_basic_extraction
(self)
tests/test_new_analysis_modules.py:433
Methodtest_basic_fields
(self)
tests/test_telemetry.py:115
Methodtest_basic_has_new_params
(self)
tests/test_abliterate_extended.py:76
Methodtest_basic_method_disables_ega
Basic method should not enable per_expert_directions.
tests/test_abliterate.py:2568
Methodtest_basic_method_new_params
(self)
tests/test_abliterate_extended.py:113
Methodtest_basic_optimization
(self)
tests/test_new_analysis_modules.py:541
Methodtest_basic_pipeline
(self)
tests/test_new_analysis_modules.py:373
Methodtest_basic_single_direction
(self)
tests/test_abliterate.py:134
Methodtest_basic_tracing
(self)
tests/test_causal_and_transfer.py:84
Methodtest_batch_analysis
(self)
tests/test_novel_analysis.py:409
Methodtest_bbp_threshold
(self)
tests/test_breakthrough_modules.py:584
Methodtest_best_config_structure
(self)
tests/test_new_analysis_modules.py:558
Methodtest_boosted_reflection_math
2.5x reflection should produce stronger negation than 2x.
tests/test_abliterate.py:1470
Methodtest_build_asrg_from_strengths
(self)
tests/test_breakthrough_modules.py:219
Functiontest_build_weighted_prompt_pairs_reconstructs_by_index
(monkeypatch, tmp_path)
tests/test_hard_negative.py:40
Methodtest_builtin_all_non_empty
(self)
tests/test_heretic_eval.py:34
Methodtest_builtin_has_100_prompts
(self)
tests/test_heretic_eval.py:31
Methodtest_builtin_no_duplicates
(self)
tests/test_heretic_eval.py:38
Methodtest_cai_regularization
(self)
tests/test_informed_pipeline.py:193
Methodtest_callbacks
(self)
tests/test_abliterate.py:217
Methodtest_canonical_substring_count
Arditi/Zou list has exactly 29 substrings.
tests/test_heretic_eval.py:64
Methodtest_capability_sensitivity_keys
(self)
tests/test_defense_robustness.py:146
Methodtest_caps_length
(self)
tests/test_community.py:101
Methodtest_case_insensitive
(self)
tests/test_heretic_eval.py:92
Methodtest_case_insensitivity
(self)
tests/test_edge_cases.py:310
Methodtest_category_directions_populated
(self)
tests/test_novel_analysis.py:148
Methodtest_category_projectors
(self)
tests/test_breakthrough_modules.py:323
Methodtest_causal_components_identified
(self)
tests/test_causal_and_transfer.py:94
Methodtest_causal_tracing_single_layer
(self)
tests/test_edge_cases.py:185
← previousnext →1,001–1,100 of 1,841, ranked by callers