Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Imbad0202/academic-research-skills
/ types & classes
Types & classes
397 in github.com/Imbad0202/academic-research-skills
⨍
Functions
4,061
◇
Types & classes
397
↳
Endpoints
3
↓ 100 callers
Class
LintError
One finding from a rule check. rule_id — stable handle from spec §3.7 (e.g., "A1", "B7", "F2"). message — human-readable finding; should na
scripts/check_audit_artifact_consistency.py:132
↓ 94 callers
Class
Finding
scripts/check_claim_audit_consistency.py:127
↓ 36 callers
Class
ParseError
Raised when the JSONL stream or verdict text cannot be parsed.
scripts/parse_audit_verdict.py:646
↓ 32 callers
Class
_Snapshot
Backs up a file's bytes; restores on context exit.
scripts/test_check_v3_6_8_pattern_protection.py:57
↓ 24 callers
Class
_Snapshot
Backs up a file's bytes; restores on context exit.
scripts/test_check_v3_6_8_audit_scope_block.py:74
↓ 23 callers
Class
CrossrefClient
Production lookup-by-(doi-with-cross-check-then-title) client for Crossref. Concurrency note: rate-limit pacing is per-instance.
scripts/crossref_client.py:86
↓ 22 callers
Class
ArxivClient
Production lookup-by-(arxiv-id-with-cross-check-then-title) client. Concurrency note: rate-limit pacing is per-instance.
scripts/arxiv_client.py:90
↓ 20 callers
Class
OpenAlexClient
Production lookup-by-(doi-with-cross-check-then-title) client. Concurrency note: rate-limit pacing is per-instance. Share a single instance a
scripts/openalex_client.py:64
↓ 20 callers
Class
PatternSpec
scripts/check_rq_framing_patterns.py:29
↓ 14 callers
Class
_FakeCache
Minimal in-memory stand-in for VerificationCache. Records get/put calls so tests can assert hit/skip behavior without SQLite.
scripts/test_contamination_signals.py:612
↓ 14 callers
Class
_Snapshot
Backs up a file's bytes; restores on context exit (exception-safe).
scripts/test_check_v3_6_8_cite_provenance_pipeline.py:42
↓ 11 callers
Class
BlockParseError
Raised on any document the parser refuses to classify (§3.1). ``kind`` is a stable machine-readable failure class; ``line_no`` is 1-based; ``
scripts/_block_parser.py:55
↓ 11 callers
Class
GoldSetValidationError
Raised when validate_gold_set rejects a tuple at ingestion time. The diagnostic always names the rule that failed (a / b / c / d per spec §7.
scripts/claim_audit_calibration.py:74
↓ 10 callers
Class
JudgeInvocationError
Raised by `_invoke_judge` when judge_fn fails or returns malformed output. Carries the INV-14 fault-class tag + detail so the caller can emit a
scripts/claim_audit_pipeline.py:228
↓ 10 callers
Class
VerificationCache
SQLite-backed (citation_key, resolver_name, query_form) → response cache. Single-process use. Each method opens a short-lived connection so the
scripts/verification_cache.py:60
↓ 9 callers
Class
Check
scripts/check_v3_6_7_pattern_protection.py:242
↓ 9 callers
Class
CrossrefUnavailable
Crossref API degraded -- caller MUST omit `crossref_unmatched`.
scripts/crossref_client.py:82
↓ 9 callers
Class
DisclosureDecision
Whole-disclosure decision returned by `decide_disclosure_output`.
scripts/policy_anchor_disclosure_referee.py:124
↓ 9 callers
Class
OpenAlexUnavailable
OpenAlex API degraded — caller MUST omit `openalex_unmatched`.
scripts/openalex_client.py:60
↓ 9 callers
Class
RetrievalInvocationError
Raised by `_invoke_retrieve` when retrieve_fn fails or returns malformed output. Mirrors JudgeInvocationError but tags faults with the INV-14 ret
scripts/claim_audit_pipeline.py:238
↓ 9 callers
Class
SemanticScholarUnavailable
SS API degraded (network failure / rate limit exhausted / 5xx). Per spec §3.2 emission rules, this triggers OMIT of the `semantic_scholar_unm
scripts/contamination_signals.py:86
↓ 7 callers
Class
ArxivUnavailable
arXiv API degraded -- caller MUST omit `arxiv_unmatched`.
scripts/arxiv_client.py:86
↓ 6 callers
Class
ApplyRejection
Phase 1 rejection carrying the structured failure list.
scripts/ars_apply_revision_patch.py:107
↓ 6 callers
Class
LintContext
Bundle of artifacts a check might want to read. Members are Optional because some modes don't need every artifact (e.g., jsonl-stream mode on
scripts/check_audit_artifact_consistency.py:154
↓ 4 callers
Class
Finding
scripts/check_pipeline_integrity.py:101
↓ 3 callers
Class
FrontmatterError
Raised when SKILL.md frontmatter cannot be parsed. Distinct from a missing fence (returns None) and an empty fence (returns {}). Callers shou
scripts/_skill_lint.py:30
↓ 2 callers
Class
PassportShapeError
The passport YAML is structurally unusable (not a mapping, or `terminal_policies` is a non-mapping value). Per codex Q3: surface a clear error
scripts/migrate_literature_corpus_to_v3_10.py:55
↓ 2 callers
Class
SemanticScholarClient
Production lookup-by-(doi-then-title) client for v3.7.3 backfill. Satisfies `contamination_signals.SemanticScholarClient` Protocol. Tests inj
scripts/semantic_scholar_client.py:71
↓ 2 callers
Class
TaskExecutionError
An IMPLEMENTED task (one with a native measurer) failed to run. Raised — never downgraded to ``pending`` — when a task that the harness knows
scripts/run_evals.py:48
↓ 1 callers
Class
AutoPromotionForbidden
G3/G10 invariant: a still-UNCERTAIN category must not be rendered as though USED in any anchor output.
scripts/policy_anchor_disclosure_referee.py:76
↓ 1 callers
Class
Block
One §3.1 block: marker (optional) + content lines, with char spans.
scripts/_block_parser.py:71
↓ 1 callers
Class
FakeCompleted
scripts/test_bootstrap_timeline_yaml.py:134
↓ 1 callers
Class
FakeResponse
scripts/test_bootstrap_timeline_yaml.py:84
↓ 1 callers
Class
InvalidCategoryState
Category state outside {USED, NOT USED, UNCERTAIN}.
scripts/policy_anchor_disclosure_referee.py:97
↓ 1 callers
Class
InvalidPolicyAnchor
policy_anchor outside CANONICAL_ANCHORS (closed enum).
scripts/policy_anchor_disclosure_referee.py:93
↓ 1 callers
Class
PairedMandateViolation
G8 invariant: IEEE render emits level_of_involvement and affected_sections together, or neither — emitting one without the other is non-confor
scripts/policy_anchor_disclosure_referee.py:81
↓ 1 callers
Class
ParsedDocument
scripts/_block_parser.py:88
↓ 1 callers
Class
ParsedMarker
Structured parse of a single <!--ref:...--> marker.
scripts/check_v3_10_policy.py:100
↓ 1 callers
Class
Report
scripts/check_pipeline_integrity.py:110
↓ 1 callers
Class
SelectorUnsupplied
Neither venue nor policy_anchor supplied — disclosure mode requires one selector. Default to None on both fields so a bare RendererInput() doe
scripts/policy_anchor_disclosure_referee.py:101
↓ 1 callers
Class
StructuralRefusal
Unacknowledged structural-shape flags (§3.3 / §3.6).
scripts/ars_apply_revision_patch.py:115
↓ 1 callers
Class
TrackGateError
G2 invariant: --policy-anchor=prisma-trAIce requires slr_lineage=true or mode=<slr> input.
scripts/policy_anchor_disclosure_referee.py:71
↓ 1 callers
Class
VenueAnchorConflict
§4.4 #7: --venue and --policy-anchor that map to incompatible placement / phrasing requirements must be rejected with explicit error; silent p
scripts/policy_anchor_disclosure_referee.py:87
↓ 1 callers
Class
_AuthorsResult
Structured return from extract_authors — avoids leaking a sentinel into the type system while still conveying why the result is empty.
scripts/adapters/zotero.py:82
↓ 1 callers
Class
_ExUsageParser
ArgumentParser subclass enforcing the EX_USAGE=64 contract. Codex round 4 P3 closure: stock argparse calls sys.exit(2) on any parser-level fa
scripts/check_audit_artifact_consistency.py:1922
Class
APIShapeTest
The shared module exposes load_passport + dump_passport as the public API. Both migration tools import from this module.
scripts/test_passport_yaml.py:92
Class
AnnotationPrefixHelperTest
scripts/test_check_v3_8_annotation_literal_sync.py:35
Class
ApiDownDegradationTest
#138 risk 2+3: when one resolver raises its Unavailable exception inside the thread pool, that exception must surface back on the orchestrator thr
scripts/test_migrate_literature_corpus_to_v3_9_0.py:366
Class
ApplyHarness
Shared helpers: write base+patch to a temp dir and run the apply.
scripts/test_ars_apply_revision_patch.py:70
Class
ArxivExactOrBustTest
scripts/test_431_exact_or_bust.py:145
Class
AutoPromotionForbiddanceTest
scripts/test_policy_anchor_disclosure.py:127
Class
BackfillTest
scripts/test_migrate_literature_corpus_to_v3_9_0.py:128
Class
BaselineTest
scripts/test_check_v3_6_7_pattern_protection.py:89
Class
BashBypassRegressionTest
Regression pins for the historical Bash fail-open shapes + the deep-path crash. Review surfaced a long list of Bash bypasses (quoted redirection,
scripts/test_ars_write_scope_guard.py:462
Class
BuildSignalsArxivExtensionTest
build_signals_object grows an optional arxiv_client keyword arg; when omitted, behavior is byte-equivalent to the v3.7.3 caller (no arxiv field).
scripts/test_contamination_signals.py:541
Class
CLIWiringTest
Codex R1-1 closure: CLI was unrunnable because NotImplementedError fired before reading the passport. Verify the production wiring path now ac
scripts/test_semantic_scholar_client.py:542
Class
CategoryStateEnumValidationTest
scripts/test_policy_anchor_disclosure.py:478
Class
CheckJudgePromptVersionTest
scripts/test_check_judge_prompt_version.py:48
Class
CheckPipelineIntegrityTests
scripts/test_check_pipeline_integrity.py:26
Class
CheckPolicyAnchorProtocolGoldenPathTest
scripts/test_check_policy_anchor_protocol.py:82
Class
CheckPolicyAnchorProtocolInvariantTest
scripts/test_check_policy_anchor_protocol.py:227
Class
CheckPolicyAnchorProtocolMutationTests
scripts/test_check_policy_anchor_protocol.py:88
Class
CheckPolicyAnchorTableGoldenPathTest
scripts/test_check_policy_anchor_table.py:123
Class
CheckPolicyAnchorTableInvariantTest
The table must reference 16 canonical disclosure fields per anchor and 4 canonical anchor slugs, matching the discovery doc §4.2 field list and
scripts/test_check_policy_anchor_table.py:278
Class
CheckPolicyAnchorTableMutationTests
scripts/test_check_policy_anchor_table.py:129
Class
CheckPolicyAnchorTableNatureSourceOfTruthTest
De-dup guard: Nature anchor verbatim quotes and the v3.2 venue policies file both cross-reference the canonical shared/policy_data/nature_poli
scripts/test_check_policy_anchor_table.py:222
Class
CheckV392PhaseBoundaryTests
scripts/test_check_v3_9_2_phase_boundary.py:16
Class
CleanRepoTest
scripts/test_check_v3_10_134_write_scope.py:20
Class
CodexR1MutationTests
Codex R1 (Phase 6.7 review) closures: 3 P2 findings against the initial INV-1/INV-2/INV-3 implementation. Each test re-introduces the bypass c
scripts/test_check_v3_6_7_pattern_protection.py:522
Class
CodexR2MutationTests
Codex R2 (Phase 6.7 review, after R1 fixes) closures: 2 P2 findings against the bullet-text exactness contract and INV-2's cross-bullet `.*` o
scripts/test_check_v3_6_7_pattern_protection.py:604
Class
CodexR3MutationTests
Codex R3 (Phase 6.7 review, after R2 fixes) closure: 1 P2 finding restoring INV-2 coverage of intro-paragraph prose, not just bullets.
scripts/test_check_v3_6_7_pattern_protection.py:688
Class
CodexR4MutationTests
Codex R4 (Phase 6.7 review, after R3 fixes) closure: 1 P2 finding restoring INV-2 coverage of post-bullet prose.
scripts/test_check_v3_6_7_pattern_protection.py:718
Class
CodexR5MutationTests
Codex R5 (Phase 6.7 review, after R4 fixes) closure: 1 P2 finding — C3 regex was not whitespace-tolerant inside sentences, causing CI to fail
scripts/test_check_v3_6_7_pattern_protection.py:745
Class
CodexR6MutationTests
Codex R6 (Phase 6.7 review, after R5 fixes) closure: 1 P2 finding — INV-1 only counted exact canonical matches and ignored weakened near-dupli
scripts/test_check_v3_6_7_pattern_protection.py:773
Class
CodexR7R9MutationTests
Codex R7 → R9 architectural rewind: R7 originally extended INV-3 with `_is_clause_1_like` to catch weakened variants outside the manifest. R9
scripts/test_check_v3_6_7_pattern_protection.py:823
Class
CodexR8MutationTests
Codex R8 (Phase 6.7 review, after R7 fixes) closures: 2 P2 findings — `_is_clause_1_like` was over-broad (rejected legitimate anti-fabrication
scripts/test_check_v3_6_7_pattern_protection.py:857
Class
CodexR9MutationTests
Codex R9 (Phase 6.7 review, after R8 fixes) architectural rewind: R7+R8 had over-extended INV-3 with the Clause 1-like heuristic (false-positi
scripts/test_check_v3_6_7_pattern_protection.py:911
Class
CommentPreservationTest
scripts/test_migrate_literature_corpus_to_v3_10.py:207
Class
Concern10Test
scripts/test_policy_anchor_disclosure.py:613
Class
Concern11Test
scripts/test_policy_anchor_disclosure.py:651
Class
Concern1Test
scripts/test_policy_anchor_disclosure.py:355
Class
Concern5Test
scripts/test_policy_anchor_disclosure.py:373
Class
Concern6Test
scripts/test_policy_anchor_disclosure.py:387
Class
Concern7Test
scripts/test_policy_anchor_disclosure.py:407
Class
ConfigurationTest
Lock the ruamel.yaml configuration that every passport round-trip has assumed since v3.6.4.
scripts/test_passport_yaml.py:31
Class
ConstantsTest
Lock the magic numbers — these are protocol-level invariants, not arbitrary tuning.
scripts/test_text_similarity.py:70
Class
CrossArrayInvariantTests
scripts/test_experiment_provenance.py:355
Class
CrossrefExactOrBustTest
scripts/test_431_exact_or_bust.py:74
Class
D4cCarveoutBoundaryTests
scripts/test_experiment_provenance.py:877
Class
DeepMergeTest
scripts/test_migrate_literature_corpus_to_v3_10.py:72
Class
DenyJSONShapeTest
The deny output JSON shape (spec §3.2 first-party-verified).
scripts/test_ars_write_scope_guard.py:367
Class
DirectoryScanTest
scripts/test_migrate_literature_corpus_to_v3_7_3.py:429
Class
DoiLookupTest
scripts/test_semantic_scholar_client.py:42
Class
DryRunTest
scripts/test_migrate_literature_corpus_to_v3_9_0.py:94
Class
DryRunTest
scripts/test_migrate_literature_corpus_to_v3_10.py:116
Class
E2EAdjacentClauseFilter
scripts/test_e2e_claim_audit.py:459
Class
E2EScenarioARefuses
scripts/test_e2e_claim_audit.py:328
Class
E2EScenarioBPasses
scripts/test_e2e_claim_audit.py:418
Class
EmissionRulesTest
Per spec §3.2 emission rules: emit object with both fields false when computed-and-clean; emit partial object when one signal can't be compute
scripts/test_contamination_signals.py:217
Class
EmitMonotonicOrTest
Codex round-1 [P2]: a `resume_from_passport=<hash>` session has an empty `state_tracker.stages` (reconstructed from ledger only); recomputing
scripts/test_slr_lineage_emission.py:197
next →
1–100 of 397, ranked by callers