Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/elder-plinius/OBLITERATUS
/ functions
Functions
1,841 in github.com/elder-plinius/OBLITERATUS
⨍
Functions
1,841
◇
Types & classes
359
Method
test_probing_minimal_data
Probing with very few samples.
tests/test_edge_cases.py:170
Method
test_probing_varying_dimensions
Probing classifier across different hidden dims (min 2 for SGD).
tests/test_edge_cases.py:273
Method
test_produces_valid_latex
(self)
tests/test_community.py:414
Method
test_profile_generates
(self)
tests/test_defense_robustness.py:56
Function
test_profile_model_counts_local_safetensors_exactly
(tmp_path)
tests/test_model_profile.py:29
Method
test_programmatic_overrides_env
(self)
tests/test_telemetry.py:85
Method
test_project_all_does_not_early_return
_project_out_advanced should project ALL matching weights, not just first.
tests/test_abliterate.py:378
Method
test_project_bias_no_bias
Should handle modules without bias gracefully.
tests/test_abliterate_extended.py:173
Method
test_project_bias_no_matching_module
Should return 0 when no candidate names match.
tests/test_abliterate_extended.py:185
Method
test_project_bias_removes_component
Bias projection should remove refusal direction component from bias.
tests/test_abliterate_extended.py:147
Method
test_projection_preserves_orthogonal_components
Projection should NOT change components orthogonal to d.
tests/test_abliteration_math.py:42
Method
test_promoted_suppressed_ordering
Top promoted should have higher logit boost than top suppressed.
tests/test_logit_lens.py:76
Method
test_prompt_count_512
512 prompts across 7 severity tiers.
tests/test_abliterate.py:94
Method
test_prompt_counts
(self)
tests/test_telemetry.py:167
Method
test_prompt_lists_same_length
(self)
tests/test_abliterate.py:91
Method
test_prompt_volume_slicing
Slicing at standard volumes gives correct counts.
tests/test_abliterate.py:99
Method
test_qkv_all_projected
q_proj, k_proj, v_proj should all be projected alongside o_proj.
tests/test_abliterate.py:342
Method
test_qwen3_235b_is_moe
(self)
tests/test_architecture_profiles.py:90
Method
test_qwen3_30b_is_small_moe
(self)
tests/test_architecture_profiles.py:78
Method
test_qwen_dense_is_dense
(self)
tests/test_architecture_profiles.py:34
Method
test_r1_distill_is_dense_reasoning
R1 distills are dense (distilled from MoE into dense).
tests/test_architecture_profiles.py:150
Method
test_r1_distill_llama_is_reasoning
(self)
tests/test_architecture_profiles.py:146
Method
test_r1_distill_qwen_is_reasoning
(self)
tests/test_architecture_profiles.py:142
Method
test_random_direction_ablation
(self)
tests/test_module_imports.py:46
Method
test_random_direction_has_lower_projection
Random directions should project much less on harmful activations than the true refusal direction.
tests/test_abliteration_math.py:204
Method
test_random_full_rank
Random matrix should have high effective rank.
tests/test_advanced_metrics.py:167
Method
test_random_prediction_higher
(self)
tests/test_metrics.py:27
Method
test_random_representations
CKA of random representations should be low.
tests/test_advanced_metrics.py:251
Method
test_rank_one_matrix
Rank-1 matrix should have effective rank close to 1.
tests/test_advanced_metrics.py:152
Method
test_reasoning_dense_jailbreak_contrast
Reasoning Dense: Jailbreak contrast ON for thinking-chain refusal.
tests/test_architecture_profiles.py:331
Method
test_reasoning_dense_more_directions
Dense reasoning models need more directions (>=12) to span refusal.
tests/test_architecture_profiles.py:177
Method
test_reasoning_dense_more_passes
Dense reasoning models need more refinement passes (>=4).
tests/test_architecture_profiles.py:183
Method
test_reasoning_moe_gentle_transplant
Reasoning MoE: transplant_blend very low (preserve reasoning).
tests/test_architecture_profiles.py:336
Method
test_rebirth_includes_new_config
Metadata should include all new configuration parameters.
tests/test_abliterate_extended.py:266
Method
test_rebirth_saves_metadata
Rebirth should save model and comprehensive metadata JSON.
tests/test_abliterate.py:1873
Method
test_recommendation_generated
(self)
tests/test_breakthrough_modules.py:524
Method
test_recommendation_text
(self)
tests/test_breakthrough_modules.py:657
Method
test_redacts_hf_tokens
(self)
tests/test_visualization.py:149
Method
test_redacts_long_hex_strings
(self)
tests/test_visualization.py:154
Method
test_redirect
(self)
tests/test_refusal_detection.py:41
Method
test_reflection_math
2x projection (reflection) should negate the refusal component.
tests/test_abliterate.py:1220
Method
test_reflection_preserves_orthogonal_component
Reflection should not change the component perpendicular to d.
tests/test_abliterate.py:1252
Method
test_reflection_strength_configurable
reflection_strength should be explicitly overridable.
tests/test_abliterate.py:1458
Method
test_refusal_feature_identification
SAE should identify features that differ between harmful/harmless.
tests/test_abliterate.py:1091
Method
test_refusal_prefixes_nonempty
(self)
tests/test_advanced_metrics.py:88
Method
test_refusal_rate_empty_list
(self)
tests/test_edge_cases.py:200
Method
test_refusal_rate_single_response
(self)
tests/test_edge_cases.py:204
Method
test_refusal_rate_with_ci
(self)
tests/test_module_imports.py:40
Method
test_refusal_sparsity_index
With sparse refusal, RSI should be high.
tests/test_novel_analysis.py:514
Method
test_refusal_substrings_nonempty
(self)
tests/test_advanced_metrics.py:91
Method
test_regularization_capped
(self)
tests/test_informed_pipeline.py:345
Method
test_regularization_partial_removal
Regularization should preserve some of the refusal component.
tests/test_abliterate.py:267
Method
test_rejects_commas
(self)
tests/test_heretic_eval.py:408
Method
test_rejects_non_2d
Should raise ValueError for non-2D tensors.
tests/test_advanced_metrics.py:196
Method
test_repair_hubs_identified
(self)
tests/test_breakthrough_modules.py:231
Method
test_repair_locality
(self)
tests/test_breakthrough_modules.py:295
Method
test_repair_ratio_high_for_distributed
Distributed refusal should have high repair ratio.
tests/test_defense_robustness.py:117
Method
test_reproducibility
(self)
tests/test_module_imports.py:66
Method
test_required_keys
(self)
tests/test_heretic_eval.py:299
Method
test_res_score_range
RES should always be between 0 and 1.
tests/test_analysis.py:314
Method
test_residual_detection
Should detect residual refusal signal when direction wasn't removed.
tests/test_analysis.py:274
Method
test_residual_stream_single_layer
(self)
tests/test_edge_cases.py:178
Method
test_responsibility_deflection
(self)
tests/test_refusal_detection.py:53
Method
test_restore_after_ablation
(self, handle)
tests/test_strategies.py:93
Method
test_restore_deduplicates
Records already in local JSONL should not be re-added.
tests/test_telemetry.py:656
Method
test_restore_only_runs_once
Calling restore_from_hub() twice should be a no-op the second time.
tests/test_telemetry.py:687
Method
test_restore_skips_when_no_repo
(self)
tests/test_telemetry.py:652
Method
test_result_in_valid_range
Gini is always in [0, 1].
tests/test_analysis_utils.py:44
Method
test_result_keys
Should return all expected keys.
tests/test_advanced_metrics.py:311
Method
test_returns_8_char_hex
(self)
tests/test_community.py:132
Method
test_returns_all_fields
(self)
tests/test_refusal_detection.py:110
Method
test_returns_empty_for_missing_dir
(self, tmp_path)
tests/test_community.py:283
Method
test_returns_none_no_router
Should return None when no router is found.
tests/test_abliterate.py:2000
Method
test_returns_per_prompt_kl
(self, simple_models)
tests/test_heretic_eval.py:177
Method
test_rlhf_moderate_regularization
(self)
tests/test_informed_pipeline.py:185
Method
test_roundtrip
(self)
tests/test_config.py:53
Method
test_router_auto_detection_fallback
Unknown router name should be auto-detected and projected.
tests/test_abliterate.py:663
Method
test_router_bias_projected
Router bias should be projected when project_biases=True.
tests/test_abliterate.py:629
Method
test_router_gate_projected
Router/gate weight should have refusal direction removed.
tests/test_abliterate.py:456
Method
test_router_uses_shared_direction
Router should always use the shared direction, not per-expert.
tests/test_abliterate.py:2334
Method
test_run_all
(self)
tests/test_benchmarks.py:148
Method
test_run_benchmarks
(self)
tests/test_module_imports.py:54
Method
test_run_requires_config
Calling main(['run']) without a config path should error.
tests/test_cli.py:88
Method
test_run_sweep
(self)
tests/test_module_imports.py:13
Method
test_running_status_does_not_record
Only 'done' status should record durations.
tests/test_telemetry.py:595
Method
test_sae_directions_unit_norm
SAE-derived directions should be unit normalized.
tests/test_abliterate.py:1123
Method
test_sae_train_and_reconstruct
SAE should train and reconstruct activations.
tests/test_abliterate.py:1071
Method
test_sample_sufficiency
(self)
tests/test_breakthrough_modules.py:609
Method
test_sanitizes_special_chars
(self)
tests/test_community.py:98
Method
test_save_contribution_importable
(self)
tests/test_community.py:508
Method
test_save_csv
(self, tmp_path)
tests/test_report.py:50
Method
test_save_json
(self, tmp_path)
tests/test_report.py:41
Method
test_save_load_aggregate_roundtrip
Full roundtrip: save contributions, load them, aggregate.
tests/test_community.py:525
Method
test_save_load_aggregate_to_latex
Full roundtrip ending in LaTeX output.
tests/test_community.py:554
Method
test_saves_json_file
(self, tmp_path)
tests/test_community.py:142
Method
test_scaled_representations
CKA should be invariant to isotropic scaling.
tests/test_advanced_metrics.py:244
Method
test_schema_version_2
(self)
tests/test_telemetry.py:111
Method
test_selectivity
Categories with distinct directions should have high selectivity.
tests/test_breakthrough_modules.py:335
Method
test_self_repair_bounded
(self)
tests/test_defense_robustness.py:89
Method
test_self_repair_measurement
(self)
tests/test_defense_robustness.py:105
← previous
next →
1,601–1,700 of 1,841, ranked by callers