NecroMOnk/malicious-coding-intent-v6
0
1{2 "model_dir": "models\\v6_code_aware_50k_oss_clean_benign_code",3 "holdout": "data\\external\\hf_benign_code_codeparrot_clean_10k.jsonl",4 "overall": {5 "n": 10000,6 "threshold": 0.5,7 "false_positive_rate": 0.0722,8 "flagged": 722,9 "score_mean": 0.097787,10 "score_p50": 0.007817,11 "score_p90": 0.351692,12 "score_p95": 0.651972,13 "score_p99": 0.950412,14 "score_max": 0.9971815 },16 "by_source": {17 "hf_benign_code:codeparrot/codeparrot-clean-train:default:train": {18 "n": 10000,19 "threshold": 0.5,20 "false_positive_rate": 0.0722,21 "flagged": 722,22 "score_mean": 0.097787,23 "score_p50": 0.007817,24 "score_p90": 0.351692,25 "score_p95": 0.651972,26 "score_p99": 0.950412,27 "score_max": 0.9971828 }29 },30 "flagged_examples": [31 {32 "score": 0.696553,33 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",34 "path": "linux-devkit/sysroots/i686-arago-linux/usr/lib/python2.7/encodings/cp1250.py",35 "preview": "0e' # 0x0E -> SHIFT OUT u'\\x0f' # 0x0F -> SHIFT IN u'\\x10' # 0x10 -> DATA LINK ESCAPE u'\\x11' # 0x11 -> DEVICE CONTROL ONE u'\\x12' # 0x12 -> DEVICE CONTROL TWO u'\\x13' # 0x13 -> DEVICE CONTROL THREE u'\\x14' # 0x14 -> DEVICE CONTROL FOUR u'\\"36 },37 {38 "score": 0.922218,39 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",40 "path": "linux-devkit/sysroots/i686-arago-linux/usr/lib/python2.7/encodings/cp1250.py",41 "preview": "'a' # 0x61 -> LATIN SMALL LETTER A u'b' # 0x62 -> LATIN SMALL LETTER B u'c' # 0x63 -> LATIN SMALL LETTER C u'd' # 0x64 -> LATIN SMALL LETTER D u'e' # 0x65 -> LATIN SMALL LETTER E u'f' # 0x66 -> LATIN SMALL LETTER F u'g' # 0x67 -> LATIN SMAL"42 },43 {44 "score": 0.538765,45 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",46 "path": "linux-devkit/sysroots/i686-arago-linux/usr/lib/python2.7/encodings/cp1250.py",47 "preview": "# 0x88 -> UNDEFINED u'\\u2030' # 0x89 -> PER MILLE SIGN u'\\u0160' # 0x8A -> LATIN CAPITAL LETTER S WITH CARON u'\\u2039' # 0x8B -> SINGLE LEFT-POINTING ANGLE QUOTATION MARK u'\\u015a' # 0x8C -> LATIN CAPITAL LETTER S WITH ACUTE u'\\u0164' # 0x8"48 },49 {50 "score": 0.709877,51 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",52 "path": "libs_arm/wx/_controls.py",53 "preview": "------ BU_LEFT = _controls_.BU_LEFT BU_TOP = _controls_.BU_TOP BU_RIGHT = _controls_.BU_RIGHT BU_BOTTOM = _controls_.BU_BOTTOM BU_ALIGN_MASK = _controls_.BU_ALIGN_MASK BU_EXACTFIT = _controls_.BU_EXACTFIT BU_AUTODRAW = _controls_.BU_AUTODRA"54 },55 {56 "score": 0.546407,57 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",58 "path": "libs_arm/wx/_controls.py",59 "preview": "tCheckedStrings,SetCheckedStrings) _controls_.CheckListBox_swigregister(CheckListBox) def PreCheckListBox(*args, **kwargs): \"\"\"PreCheckListBox() -> CheckListBox\"\"\" val = _controls_.new_PreCheckListBox(*args, **kwargs) return val #----------"60 },61 {62 "score": 0.734946,63 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",64 "path": "libs_arm/wx/_controls.py",65 "preview": "tAttr_GetTabs(*args, **kwargs) def GetLeftIndent(*args, **kwargs): \"\"\"GetLeftIndent(self) -> long\"\"\" return _controls_.TextAttr_GetLeftIndent(*args, **kwargs) def GetLeftSubIndent(*args, **kwargs): \"\"\"GetLeftSubIndent(self) -> long\"\"\" retur"66 },67 {68 "score": 0.531309,69 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",70 "path": "libs_arm/wx/_controls.py",71 "preview": "ontrols_.TextAttr_GetFontFamily(*args, **kwargs) def GetFont(*args, **kwargs): \"\"\"GetFont(self) -> Font\"\"\" return _controls_.TextAttr_GetFont(*args, **kwargs) CreateFont = GetFont def GetCharacterStyleName(*args, **kwargs): \"\"\"GetCharacterS"72 },73 {74 "score": 0.840642,75 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",76 "path": "libs_arm/wx/_controls.py",77 "preview": "extAttr_GetBulletFont(*args, **kwargs) def GetBulletName(*args, **kwargs): \"\"\"GetBulletName(self) -> String\"\"\" return _controls_.TextAttr_GetBulletName(*args, **kwargs) def GetURL(*args, **kwargs): \"\"\"GetURL(self) -> String\"\"\" return _contr"78 },79 {80 "score": 0.950359,81 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",82 "path": "libs_arm/wx/_controls.py",83 "preview": "HasFontWeight(*args, **kwargs) def HasFontSize(*args, **kwargs): \"\"\"HasFontSize(self) -> bool\"\"\" return _controls_.TextAttr_HasFontSize(*args, **kwargs) def HasFontItalic(*args, **kwargs): \"\"\"HasFontItalic(self) -> bool\"\"\" return _controls_"84 },85 {86 "score": 0.900217,87 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",88 "path": "libs_arm/wx/_controls.py",89 "preview": "ial(*args, **kwargs) def TextAttr_SplitParaCharStyles(*args, **kwargs): \"\"\"TextAttr_SplitParaCharStyles(TextAttr style, TextAttr parStyle, TextAttr charStyle) -> bool\"\"\" return _controls_.TextAttr_SplitParaCharStyles(*args, **kwargs) class "90 },91 {92 "score": 0.739418,93 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",94 "path": "libs_arm/wx/_controls.py",95 "preview": "UrlEvent_swigregister(TextUrlEvent) EVT_TEXT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_UPDATED, 1) EVT_TEXT_ENTER = wx.PyEventBinder( wxEVT_COMMAND_TEXT_ENTER, 1) EVT_TEXT_URL = wx.PyEventBinder( wxEVT_COMMAND_TEXT_URL, 1) EVT_TEXT_MAXLEN = wx"96 },97 {98 "score": 0.679941,99 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",100 "path": "libs_arm/wx/_controls.py",101 "preview": "ameStr def PreScrollBar(*args, **kwargs): \"\"\"PreScrollBar() -> ScrollBar\"\"\" val = _controls_.new_PreScrollBar(*args, **kwargs) return val def ScrollBar_GetClassDefaultAttributes(*args, **kwargs): \"\"\" ScrollBar_GetClassDefaultAttributes(int "102 },103 {104 "score": 0.509311,105 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",106 "path": "libs_arm/wx/_controls.py",107 "preview": "_UPDATED = _controls_.wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED EVT_SPIN_UP = wx.PyEventBinder( wxEVT_SPIN_UP, 1) EVT_SPIN_DOWN = wx.PyEventBinder( wxEVT_SPIN_DOWN, 1) EVT_SPIN = wx.PyEventBinder( wxEVT_SPIN, 1) EVT_SPINCTRL = wx.PyEventBinder( "108 },109 {110 "score": 0.553781,111 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",112 "path": "libs_arm/wx/_controls.py",113 "preview": "(*args, **kwargs) def GetMax(*args, **kwargs): \"\"\"GetMax(self) -> double\"\"\" return _controls_.SpinCtrlDouble_GetMax(*args, **kwargs) def GetIncrement(*args, **kwargs): \"\"\"GetIncrement(self) -> double\"\"\" return _controls_.SpinCtrlDouble_GetI"114 },115 {116 "score": 0.716552,117 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",118 "path": "libs_arm/wx/_controls.py",119 "preview": "x, v: x.this.own(v), doc='The membership flag') __repr__ = _swig_repr def __init__(self, *args, **kwargs): \"\"\"__init__(self, EventType commandType=wxEVT_NULL, int winid=0, double value=0) -> SpinDoubleEvent\"\"\" _controls_.SpinDoubleEvent_swi"120 },121 {122 "score": 0.800785,123 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",124 "path": "libs_arm/wx/_controls.py",125 "preview": "label=EmptyString, Point pos=DefaultPosition, Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, int majorDimension=0, long style=RA_HORIZONTAL, Validator validator=DefaultValidator, String name=RadioBoxNameStr) -> bool \"\"\" "126 },127 {128 "score": 0.722281,129 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",130 "path": "libs_arm/wx/_controls.py",131 "preview": "ageOld, int nPageNew=-1)\"\"\" return _controls_.Notebook_SendPageChangedEvent(*args, **kwargs) RowCount = property(GetRowCount,doc=\"See `GetRowCount`\") ThemeBackgroundColour = property(GetThemeBackgroundColour,doc=\"See `GetThemeBackgroundColo"132 },133 {134 "score": 0.829889,135 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",136 "path": "libs_arm/wx/_controls.py",137 "preview": "tchableSpace(*args, **kwargs): \"\"\"InsertStretchableSpace(self, size_t pos) -> ToolBarToolBase\"\"\" return _controls_.ToolBarBase_InsertStretchableSpace(*args, **kwargs) def RemoveTool(*args, **kwargs): \"\"\"RemoveTool(self, int id) -> ToolBarTo"138 },139 {140 "score": 0.523815,141 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",142 "path": "libs_arm/wx/_controls.py",143 "preview": "E_SEL LC_SORT_ASCENDING = _controls_.LC_SORT_ASCENDING LC_SORT_DESCENDING = _controls_.LC_SORT_DESCENDING LC_MASK_TYPE = _controls_.LC_MASK_TYPE LC_MASK_ALIGN = _controls_.LC_MASK_ALIGN LC_MASK_SORT = _controls_.LC_MASK_SORT LIST_MASK_STATE"144 },145 {146 "score": 0.872435,147 "source": "hf_benign_code:codeparrot/codeparrot-clean-train:default:train",148 "path": "libs_arm/wx/_controls.py",149 "preview": "DELETE_ALL_ITEMS = _controls_.wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS wxEVT_COMMAND_LIST_ITEM_SELECTED = _controls_.wxEVT_COMMAND_LIST_ITEM_SELECTED wxEVT_COMMAND_LIST_ITEM_DESELECTED = _controls_.wxEVT_COMMAND_LIST_ITEM_DESELECTED wxEVT_COMMAN"150 }151 ]152}