Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
404 changes: 395 additions & 9 deletions src/skillspector/artifacts.py

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/skillspector/inspection_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class LedgerReason(StrEnum):
TOTAL_BYTES_LIMIT = "total_bytes_limit"
RUNTIME_LIMIT = "runtime_limit"
OUTPUT_LIMIT = "output_limit"
OBFUSCATED_INSTRUCTION_TEXT = "obfuscated_instruction_text"


REASON_MESSAGES: Final[dict[LedgerReason, str]] = {
Expand Down Expand Up @@ -176,6 +177,10 @@ class LedgerReason(StrEnum):
LedgerReason.TOTAL_BYTES_LIMIT: "Bundle caching reached its aggregate byte limit.",
LedgerReason.RUNTIME_LIMIT: "Inspection reached its configured runtime limit.",
LedgerReason.OUTPUT_LIMIT: "Inspection reached its configured output limit.",
LedgerReason.OBFUSCATED_INSTRUCTION_TEXT: (
"Instruction text obfuscated by inter-character spacing could not be fully evaluated "
"by the deterministic layer."
),
}


Expand Down
Loading