Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/defending-code-reference-harness
/ _user
Function
_user
tests/test_xml_parse.py:77–78 ·
view source on GitHub ↗
(text: str)
Source
from the content-addressed store, hash-verified
75
76
77
def
_user(text: str) -> dict:
78
return
{
"type"
:
"user"
,
"message"
: {
"content"
: text}}
79
80
81
def
test_find_tagged_message_tags_in_last():
Callers
5
test_find_tagged_message_tags_in_last
Function · 0.85
test_find_tagged_message_tags_not_in_last
Function · 0.85
test_find_tagged_message_fallback_to_last
Function · 0.85
test_find_tagged_message_skips_non_assistant
Function · 0.85
test_find_tagged_message_most_recent_wins
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected